Re: Error on startup any ideas???
Hi, Yes, some other process is using port 80 (or whatever port you have Tomcat configured to listen on). Jeff aras wrote: > I think I have everything setup correctly (probably not). Here's the error: > FATAL:java.net.BindException: Address already in use > > Here's the complete output > > in tomcat.sh > Using classpath: > >/usr/local/jakarta-tomcat-3.2.1/lib/ant.jar:/usr/local/jakarta-tomcat-3.2.1/lib/jasper.jar:/usr/local/jakarta-tomcat-3.2.1/lib/jaxp.jar:/usr/local/jakarta-tomcat-3.2.1/lib/parser.jar:/usr/local/jakarta-tomcat-3.2.1/lib/servlet.jar:/usr/local/jakarta-tomcat-3.2.1/lib/test:/usr/local/jakarta-tomcat-3.2.1/lib/webserver.jar:/usr/local/jdk/j2sdk1.3/lib/tools.jar:.:/usr/local/jdk/j2sdk1.3/lib/classes.zip:/usr/lib/pgsql/jdbc7.0-1.2.jar:/usr/local/jdk/j2sdk1.3/lib/tools.jar > > [root@localhost bin]# 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( > /examples ) > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( /admin ) > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( 127.0.0.1: ) > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( 127.0.0.1:/examples ) > Starting tomcat. Check logs/tomcat.log for error messages > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( ) > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( /test ) > FATAL:java.net.BindException: Address already in use > java.net.BindException: Address already in use > at java.net.PlainSocketImpl.socketBind(Native Method) > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397) > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Client authentication with Tomcat + SSL
Hi, I am trying to set up client authentication for IE5 https client to Tomcat. I followed the steps in the documentation and arrived at the situation where IE5 shows an empty list of certs in its Client Authentication dialog. Since then I have set up OpenSSL and have tried their test for this: openssl -s_client -connect :443 -prexit and I see that under "acceptable client certificate CA names" Tomcat has given the info of the certificate which I created when following the steps in the documentation. So it seems that IE5 doesn't know about any certs which are acceptable to Tomcat, so it doesn't show any in the dialog. Does anyone know what the process is for giving IE such a certificate? Thanks, Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Syntax of web.xml
Hi, Try /conf/web.dtd Jeff Jefferson Oliveira Andrade wrote: > Where can I find a reference of the web.xml file for Tomcat > 3.2.1?Thanks,Jefferson. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: JDK support....
Hi, Let's see what I recall. (1) war files not supported. (2) web.xml not used. (3) WEB-INF meaningless. (path has to point directly to classes) (4) ServletContext.getRealPath(domain) only points into the main /docs directory even if domain has been defined elsewhere. There may have been other things Jeff "Grobe, Gary" wrote: > I'm very interested in this one. What do you mean they don't "really" > support it. I'm working on a project that will require 2.3 servlets for > several platforms and was hoping iPlanet would have this done by 2002. > > It says on their website they do 2.2, so what the "almost"? I guess my basic > 2.2 servlet test may not be enough to test with then. > > -Original Message- > From: Jeff Lansing [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 13, 2001 8:03 AM > To: [EMAIL PROTECTED] > Subject: Re: JDK support > > Hi, > I found out the hard way that iPlanet doesn't really support Servlet 2.2, > although they say things about "almost" doing it. > Jeff > > "Pathiakis, Paul" wrote: > > > Hi, > > > > I'm totally clueless about this right now, but if someone could > > answer the following: > > > > How does Tomcat compare to the servlet engine in iPlanet Netscape > > server? > > Do they perform the same function? > > > > If I'm using the java servlet engine only in iPlanet, what do I > > substitue with? Jakarta with Tomcat? > > Apache with Tomcat? How do I integrate these two? > shareable > > module? > > > > Do any of Jakarta, Apache, Tomcat, etc, support JDK 1.3? > > > > (Please, if you can see where I'm coming from, feel free to give a > > verbose answer and extrapolate as > > you see fit.) > > > > Thank you, > > > > Paul P. > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: JDK support....
Hi, I found out the hard way that iPlanet doesn't really support Servlet 2.2, although they say things about "almost" doing it. Jeff "Pathiakis, Paul" wrote: > Hi, > > I'm totally clueless about this right now, but if someone could > answer the following: > > How does Tomcat compare to the servlet engine in iPlanet Netscape > server? > Do they perform the same function? > > If I'm using the java servlet engine only in iPlanet, what do I > substitue with? Jakarta with Tomcat? > Apache with Tomcat? How do I integrate these two? shareable > module? > > Do any of Jakarta, Apache, Tomcat, etc, support JDK 1.3? > > (Please, if you can see where I'm coming from, feel free to give a > verbose answer and extrapolate as > you see fit.) > > Thank you, > > Paul P. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: client authentication with tomcat ssl direct, how to?
Hi, http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-ssl-howto.html Jeff Lifeng Xu wrote: > Where do you find this tomcat-ssl-howto document? > > Thanks > > Lifeng > > -Original Message- > From: Jeff Lansing [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 12, 2001 11:39 AM > To: [EMAIL PROTECTED] > Subject: client authentication with tomcat ssl direct, how to? > > Hi, > > The tomcat-ssl-howto document is clear on how to set up a server > certificate sufficient for server authentication, and evidently a number > of people on this list have been able to get far enough with client > authentication to see Internet Explorer show the empty Client > Authentication dialog. My problem is how to get farther than that. How > do I get the Client Authentication dialog to actually give me one or > more usable certificates to choose from? > > I have tried getting a client authentication certificate and installing > it on IE. (Go to http://sectestca1.rte.microsoft.com. Click on "Local > Standalone CA". Then (1) download a certificate. (2) request a CA > certificate.) However, this has no effect on the problem. > > I have tried extracting the tomcat-ssl-howto server certificate with > keytool -export -alias tomcat -file tomcat.cer -keystore > /conf/keystore, and importing that certificate into IE. > This works, but it has no effect on the problem. > > I have tried exporting the CA certificate from step(2) above out of IE > and importing it into /conf/keystore. This also has no > effect on the problem. > > Could someone please say how to do this correctly? > > Jeff > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: getInitParameter Error
Hi, It looks like you might have a version of servlet.jar that doesn's corrsepond to the documentation you're using. Jeff RK wrote: > Hi: I am trying to get the following entries from > web.xml. > DriverName > org.gjt.mm.mysql.Driver > I am using the following apis to get the > DriverName. public void init(ServletConfig scon){ > super.init(scon);DriverName = > getServletContext().getInitParameter("DriverName");... When > I compile this code, I get the following error: Method > getInitParameter(java.lang.String) not found in interface > javax.servlet.ServletContext. > DriverName = > getServletContext().getInitParameter("DriverName"); javax.servlet.ServletContext > api swears that getInitParameter exists. Obviously I am missing > something here. Please help. Thanks, > rk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
client authentication with tomcat ssl direct, how to?
Hi, The tomcat-ssl-howto document is clear on how to set up a server certificate sufficient for server authentication, and evidently a number of people on this list have been able to get far enough with client authentication to see Internet Explorer show the empty Client Authentication dialog. My problem is how to get farther than that. How do I get the Client Authentication dialog to actually give me one or more usable certificates to choose from? I have tried getting a client authentication certificate and installing it on IE. (Go to http://sectestca1.rte.microsoft.com. Click on "Local Standalone CA". Then (1) download a certificate. (2) request a CA certificate.) However, this has no effect on the problem. I have tried extracting the tomcat-ssl-howto server certificate with keytool -export -alias tomcat -file tomcat.cer -keystore /conf/keystore, and importing that certificate into IE. This works, but it has no effect on the problem. I have tried exporting the CA certificate from step(2) above out of IE and importing it into /conf/keystore. This also has no effect on the problem. Could someone please say how to do this correctly? Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]