Re: Conditional Branch from Servlet to URL - Continued

2011-08-26 Thread Donald Jolley
> JSPs should be used for output with all processing (and, hopefully, > anything that can fail) having already been completed by the time the > JSP runs. That's a REALLY good point. The JSP can be thought of as simply bieing a view with all (or most) of the heavy lifting done elsewhere. Within t

Re: SSL issue

2011-08-26 Thread Crypto Sal
On 08/26/2011 11:24 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Savitha, On 8/25/2011 7:01 PM, Savitha Akella wrote: Okay. keystoreFile="d:/users/apache-tomcat-7.0.11/keystore/key.keystore" keyAlias="keyalias" keyPass="changeit" Okay. clientAuth="true" tru

Re: Error starting Tomcat

2011-08-26 Thread Pratibha S
Hi Konstantin Kolinko, I had copied servlet-api.jar into the tomcat/lib directory while adding external jars. Now I have removed that jar file and any other jar files I have added extra from the tomcat/lib folder. Now, the server is starting. Thank you for the help. Regards, Pratibha On Fri, Au

Re: IPv6 support dropped in Tomcat Native 1.1.22 (on Windows)?

2011-08-26 Thread Konstantin Kolinko
2011/8/23 Konstantin Preißer : > Hi all, > > while reading the thread "Tomcat 5.5.28 on 64 bit windows server 2008.", I > was experimenting with various Tomcat versions and noticed that IPv6 support > seems to have been dropped in the Windows version (32 bit as well as 64 bit) > of TC Native 1.1

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
> The documentation has to be updated. Please file an issue. https://issues.apache.org/bugzilla/show_bug.cgi?id=51727 Personally I feel the documentation is correct and the code is wrong. What point is there to have a path parameter in context.xml if it has to be specified (redundantly) as a UR

Re: Need help regarding removing port number from URL

2011-08-26 Thread Pid
On 26/08/2011 17:02, Shanmukha Venkata Sri ChandraSekhar Nallapati wrote: > Hi, > > I need a help regarding removing port number from URL. > > For example: > Supposing my URL is, http://abcd.com:4040/context-path/gui/. > I wish Apache Tomcat to handle the request on same tomcat process, when > us

Re: SSL issue

2011-08-26 Thread Marvin Addison
If you've got the container to request and accept a client cert, the connector configuration is likely correct and it's an SSL trust problem. Please post the output of the following command: keytool -list -keystore D:/users/apache-tomcat-7.0.11/keystore/trust.keystore -storePass changeit Also, p

Need help regarding removing port number from URL

2011-08-26 Thread Shanmukha Venkata Sri ChandraSekhar Nallapati
Hi, I need a help regarding removing port number from URL. For example: Supposing my URL is, http://abcd.com:4040/context-path/gui/. I wish Apache Tomcat to handle the request on same tomcat process, when using the url: http://abcd.com/context-path/gui/. Please help me how i can achieve this and

Re: Cannot build mod_jk.1.2.32

2011-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casper, On 8/26/2011 2:50 AM, Casper Wandahl Schmidt wrote: > Well as I said in my first post configure complained about a > missing WebServer - maybe because I installed apache from apt-get > and not from source? Hmm... I've never had to install the

Re: Conditional Branch from Servlet to URL - Continued

2011-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Donald, Glad you got things working. On 8/25/2011 8:57 PM, Donald Jolley wrote: > Having gotten this far, my next question is this: Is there any way > that I can get this to work within the context of a jsp? Yes, but I would recommend against it.

Re: SSL issue

2011-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Savitha, I sent prematurely. On 8/26/2011 11:24 AM, Christopher Schultz wrote: > SSLVerifyDepth="4" /> How long are your certificate chains? If they are longer than 4, then you might not be checking up the chain far enough to get to your trusted cer

Re: manager / deploy context file

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Johannes Ernst : > > On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > >> 2011/8/26 Johannes Ernst : >>> I'd like to do this in Tomcat 6: >> >> Which exactly version of Tomcat 6.0.x you are using? >> >>> >>> Is there some way I can debug this? >>> >> >> Yes. Debugging is described in

Re: SSL issue

2011-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Savitha, On 8/25/2011 7:01 PM, Savitha Akella wrote: > port="443" maxThreads="150" scheme="https" secure="true" > SSLEnabled="true" Okay. > keystoreFile="d:/users/apache-tomcat-7.0.11/keystore/key.keystore" > keyAlias="keyalias" keyPass="changeit"

Re: TC on Windows Server Core

2011-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/25/2011 6:02 PM, André Warnier wrote: > Just in case, my question was not purely academical, and not trying > to start a flame. Belgians don't start flame wars, do they? > We build small systems for specialised applications, running on

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > 2011/8/26 Johannes Ernst : >> I'd like to do this in Tomcat 6: > > Which exactly version of Tomcat 6.0.x you are using? > >> >> Is there some way I can debug this? >> > > Yes. Debugging is described in FAQ. > Also see WEB-INF/web.xml for

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > 2011/8/26 Johannes Ernst : >> I'd like to do this in Tomcat 6: > > Which exactly version of Tomcat 6.0.x you are using? Standard issue Ubuntu Lucid which apparently is 6.0.24. http://packages.ubuntu.com/lucid/tomcat6 >> Is there some way I

Re: Re: Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Oliver Wulff : > > I'm asking whether this would be an intrusive way thus I would raise a > request. > Try to write a patch and you'll find that it is easier to rename your war. The feature you are asking will seriously confuse auto-deployment. Best regards, Konstantin Kolinko ---

Antwort: Re: Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Oliver Wulff
http://zdownload.zurich.com/mailimages/ZHP_MailHeader.gif"; /> I know I can't configure it right now :-( I'm asking whether this would be an intrusive way thus I would raise a request. Thanks Oliver Konst

Re: Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Oliver Wulff : > I'd very much like to be able to deploy my war in webapps and configure > either the path in META-INF/context.xml to "/" You cannot configure those attributes in META-INF/context.xml at all. > or define docBase in > conf/Catalina/localhost/ROOT.xml. It is possible but

Antwort: Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Oliver Wulff
http://zdownload.zurich.com/mailimages/ZHP_MailHeader.gif"; /> I'm aware of the context container reference doc and the following wiki page: http://wiki.apache.org/tomcat/HowTo#How_do_I_make_my_web_application_be_the_Tomcat_default_application.3F I raised this request because whatever approach I

Re: manager / deploy context file

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Johannes Ernst : > I'd like to do this in Tomcat 6: Which exactly version of Tomcat 6.0.x you are using? > > Is there some way I can debug this? > Yes. Debugging is described in FAQ. Also see WEB-INF/web.xml for the name of the servlet that performs processing of this URL + read the so

Re: Error starting Tomcat

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Pratibha S : > Hi Konstantin Kolinko, > > thank you for the reply. > Did you mean tomcat/webapps/examples/WEB-INF/lib? No. Do not touch Tomcat installation and return it to its original state. > There is no servlet-api.jar there. Please correct me if I got it wrong. You have to start

Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Oliver Wulff : > > I've tried to add a context.xml in META-INF/context.xml which is part of > myweb.war: > docBase and path attributes are invalid here > Have I missed anything? 1) FAQ 2) search mailing list archives 3) See docs for Context element in Configuration reference. Best re

Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Oliver Wulff
http://zdownload.zurich.com/mailimages/ZHP_MailHeader.gif"; /> Hi there I'm trying to run my web application (myweb.war) in Tomcat 6.0.32 under the root context. I've tried to add a context.xml in META-INF/context.xml which is part of myweb.war: But the application isn't accessible using /ind