Tomcat Install from Source File.zip is bad
I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Install from Source File.zip is bad
More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Install from Source File.zip is bad
I believe the problem is that the mirror the ant script defaults to does not have all the correct files for some reason. This is just my assumption. I solved this problem by changing the Sourceforge location in jakarta-tomcat-5.5.9-src/Jakarta-tomcat-5/build.properties.default Look for the section: # - Sourceforge files base location - base-sf.loc=http://unc.dl.sourceforge.net/sourceforge We changed to use the EasyNews mirror: base-sf.loc=http://easynews.dl.sourceforge.net/sourceforge Good luck. Jeff Spors Winona State University -Original Message- From: Mark Leone [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 10:19 AM To: Tomcat Users List Subject: Re: Tomcat Install from Source File.zip is bad More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Install from Source File.zip is bad
Okay, I faked it out by getting my own copy of JUnit and putting it in the \usr\java\share directory. But now it's choking on jaxen, saying the file is not in gzip format. I downloaded a copy of jaxen and placed it in teh directory, but this time it didn't work. Am I missing something here, or is it just hit or miss whether the files in the cvs repository are actually what the ant script is expecting? -Mark Mark Leone wrote: More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Install from Source File.zip is bad
Thanks, that solved it. -Mark Spors, Jeffrey R wrote: I believe the problem is that the mirror the ant script defaults to does not have all the correct files for some reason. This is just my assumption. I solved this problem by changing the Sourceforge location in jakarta-tomcat-5.5.9-src/Jakarta-tomcat-5/build.properties.default Look for the section: # - Sourceforge files base location - base-sf.loc=http://unc.dl.sourceforge.net/sourceforge We changed to use the EasyNews mirror: base-sf.loc=http://easynews.dl.sourceforge.net/sourceforge Good luck. Jeff Spors Winona State University -Original Message- From: Mark Leone [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 10:19 AM To: Tomcat Users List Subject: Re: Tomcat Install from Source File.zip is bad More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RMIClassLoader causes MalformedURLException when Tomcat install d irectory contains spaces
Hi. We're having an issue with a Tomcat servlet making RMI calls. Background: We have a Java based client-server product. For web deployment, the client converts its RMI calls into http posts encoded in XML and we have a servlet that processes the posts, converts them back into the RMI calls and calls out to the server. We have a problem with Tomcat (4.x and 5.x versions) when it is installed in a directory path that contains spaces (the default install), and it results in a MalformedURLException indicating no protocol. Some details: Platform - various, mostly Windows XP Tomcat Version - various, currently 5.0.30 Component - Catalina (I think) To function, we install a .jar file into the Tomcat shared\lib directory that contains the classes of our Java server. Our servlet uses the RMIClassLoader to load the required classes from the .jar file we have in shared\lib. I have been unable to find an answer, but the nature of our problem is described very well by the comments of Greg Trasuk (comment #6) in the following bug. http://issues.apache.org/bugzilla/show_bug.cgi?id=7082 And our specific exception details are as follows. java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.net.MalformedURLException: no protocol: 5.0/shared/classes/ at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at com.spicer.jdl.bosInterfaceImpl_Stub.allocClientWrapperServer(Unknown Source) at com.spicer.jdl.MatrixXMLDispatch.dispatch(MatrixXMLDispatch.java:60) at com.spicer.servlet.MatrixXMLServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
Re: Tomcat install errors
I'm iafraind I don't understand. Where should the line be? I've done the following mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ include name=**/*.java / /fileset /move But this is the result: BUILD FAILED /home/tomcat/build.xml:49: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:1901: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:670: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:682: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:718: Cannot replace directory /usr/share/java/tomcat-deps/src/java/org/apache/tomcat/dbcp with directory /usr/share/java/tomcat-deps/src/java/org/apache/commons Total time: 8 seconds [EMAIL PROTECTED]:/home/tomcat# On 5/8/05, Kent R. Spillner [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, FL- I just encountered the same problem building tomcat that you reported on tomcat-user@ last week. In my case, I'm trying to install tomcat 5.5.9 on Mac OS X 10.4, using darwinports. Personally, I think removing both the mkdir move tasks is risky; tomcat-dbcp obviously wants the commons source code to be relocated to an org.apache.tomcat.dbcp subpackage. I would be worried that while this might allow tomcat to build, it will cause breakage during normal use. Instead, add an explicit include to the fileset inside the problematic move task, i.e.: fileset dir=${tomcat-dbcp.home}/src/java/org/ apache/commons/ include name=**/*.java / /fileset HTH, Kent socrates:~ sl4mmy$ uname -a Darwin socrates.local 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc socrates:~ sl4mmy$ java -version java version 1.5.0_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56) Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing) socrates:~ sl4mmy$ ant -version Apache Ant version 1.6.3 compiled on April 28 2005 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFCfn/R2DzcNcFR0iwRAk01AJ9S+f02D10AVeAdB6dCox69ACj+RACgjJhr gCS3ihcRGhEXhDaZ47dvoBw= =/WEP -END PGP SIGNATURE-
Re: Tomcat install errors
Attempting to put the include inside the move element, one has the following error: BUILD FAILED /home/tomcat/build.xml:49: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:1896: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:670: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:682: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:718: The move type doesn't support the nested include element. On 5/8/05, FL [EMAIL PROTECTED] wrote: I'm iafraind I don't understand. Where should the line be? I've done the following mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ include name=**/*.java / /fileset /move But this is the result: BUILD FAILED /home/tomcat/build.xml:49: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:1901: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:670: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:682: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:718: Cannot replace directory /usr/share/java/tomcat-deps/src/java/org/apache/tomcat/dbcp with directory /usr/share/java/tomcat-deps/src/java/org/apache/commons Total time: 8 seconds [EMAIL PROTECTED]:/home/tomcat# On 5/8/05, Kent R. Spillner [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, FL- I just encountered the same problem building tomcat that you reported on tomcat-user@ last week. In my case, I'm trying to install tomcat 5.5.9 on Mac OS X 10.4, using darwinports. Personally, I think removing both the mkdir move tasks is risky; tomcat-dbcp obviously wants the commons source code to be relocated to an org.apache.tomcat.dbcp subpackage. I would be worried that while this might allow tomcat to build, it will cause breakage during normal use. Instead, add an explicit include to the fileset inside the problematic move task, i.e.: fileset dir=${tomcat-dbcp.home}/src/java/org/ apache/commons/ include name=**/*.java / /fileset HTH, Kent socrates:~ sl4mmy$ uname -a Darwin socrates.local 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc socrates:~ sl4mmy$ java -version java version 1.5.0_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56) Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing) socrates:~ sl4mmy$ ant -version Apache Ant version 1.6.3 compiled on April 28 2005 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFCfn/R2DzcNcFR0iwRAk01AJ9S+f02D10AVeAdB6dCox69ACj+RACgjJhr gCS3ihcRGhEXhDaZ47dvoBw= =/WEP -END PGP SIGNATURE-
Re: Tomcat install errors
Problem solved: On 5/8/05, Kent R. Spillner [EMAIL PROTECTED] wrote: - - - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, FL- On May 8, 2005, at 5:09 PM, FL wrote: I'm afraid I don't understand. Where should the line be? Doh; sorry. I should have been more clear. I've done the following mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/ dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/ dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/ apache/commons/ fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ include name=**/*.java / /fileset /move You're on the right track, but you don't want to keep the first fileset. An oversight... So, this: mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons / /move Becomes this: mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons include name=**/*.java / /fileset /move It's that first, empty fileset that is causing the problems; could be a bug in ant? Aha: that works. I did try it that way (without the /fileset) and the empty fileset did cause trouble. Thank you! Let me know if you need any more help with this! Best, Kent - - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFCfpY62DzcNcFR0iwRAiqyAKCqT6Z0YsQ4Vpi5S8dIwey0VG+2FACdGjoA ZjKLrS+tDz/dNuK7AuKBdLA= =j1ji - - - -END PGP SIGNATURE-
Re: Tomcat Install error: cannot replace directory
On 5/6/05, George Gunson [EMAIL PROTECTED] wrote: Actually, just fixed it: changed /opt/jakarta-tomcat-5.5.9-src/jakarta-tomcat-5/build.xml and removed the line: 691 about mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp/ good luck Question: I was concerned about removing that line. Is it a fix, or does it eliminate an error during the build that causes problems later? (I'm guessing the former). FL
Re: Tomcat Install error: cannot replace directory
Actually, it still didn't work for me until I removed the move statement. On 5/6/05, George Gunson [EMAIL PROTECTED] wrote: FL Hey mate, I'm no expert - just trying to learn this stuff from a book - but it made it install and tomcat works fine The build seemed to continue as normal - just deduction really - no other mkdirs in there. regards George -Original Message- *From:* FL [mailto:[EMAIL PROTECTED] *Sent:* 06 May 2005 15:25 *To:* George Gunson *Cc:* tomcat-user@jakarta.apache.org *Subject:* Re: Tomcat Install error: cannot replace directory On 5/6/05, George Gunson [EMAIL PROTECTED] wrote: Actually, just fixed it: changed /opt/jakarta-tomcat-5.5.9-src/jakarta-tomcat-5/build.xml and removed the line: 691 about mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp/ good luck Question: I was concerned about removing that line. Is it a fix, or does it eliminate an error during the build that causes problems later? (I'm guessing the former). FL
Tomcat Install error: cannot replace directory
I have a tomcat 5.5 build error on a debian linux system with the following kernel: [EMAIL PROTECTED]:/home/jakarta# uname -a Linux creature 2.6.9 #2 SMP Tue Oct 19 23:51:10 CEST 2004 i686 GNU/Linux The main build.xml came from the online repository [obvtained with wget -c http://jakarta.apache.org/tomcat/tomcat-5.5-doc/build.xml]: 8 -rw-r--r-- 1 root root 4597 Mar 26 14:24 build.xml Invocation of ant is uneventful up to the following jakarta-tomcat-5 section -build-tomcat-dbcp: BUILD FAILED /home/jakarta/build.xml:49: The following error occurred while executing this line: /home/jakarta/jakarta-tomcat-5/build.xml:1894: The following error occurred while executing this line: /home/jakarta/jakarta-tomcat-5/build.xml:670: The following error occurred while executing this line: /home/jakarta/jakarta-tomcat-5/build.xml:682: The following error occurred while executing this line: /home/jakarta/jakarta-tomcat-5/build.xml:717: Cannot replace directory /usr/share/java/tomcat-deps/src/java/org/apache/tomcat/dbcp with directory /usr/share/java/tomcat-deps/src/java/org/apache/commons Total time: 14 seconds [EMAIL PROTECTED]:/home/jakarta# What have I done wrong? Thanks.
RE: Problem rendering JSP 2.0 examples on Tomcat install
Hi, It's not his code, it's the examples ;) They should work out of the box (and they do for me). Is this on a clean Tomcat installation or an overwrite of an older installation? If the latter, you probably have the older JSP API jar on the classpath, and that's what's causing this error. Yoav Shapira Millennium Research Informatics -Original Message- From: Fred Blaise [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 9:38 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Problem rendering JSP 2.0 examples on Tomcat install it seems like you're passing the wrong argument to the function... method: _jspx_meth_mytag_helloWorld_0 signature: (Ljavax/servlet/jsp/PageContext;)Z) Incompatible argument to function code? fb. On Wed, 2004-09-15 at 17:22 -0600, Luke FERNANDEZ wrote: Incompatible argument to function - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem rendering JSP 2.0 examples on Tomcat install
Has anybody else had difficulty running the JSP 2.0 examples after Tomcat 5.0 install? The JSP 1.2 Examples work correctly but 2.0 do not.what am I doing wrong? Here's a typical exception when running the HelloWorld Tab example: javax.servlet.ServletException: Error instantiating servlet class org.apache.jsp.jsp2.simpletag.hello_jsp org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) root cause java.lang.VerifyError: (class: org/apache/jsp/jsp2/simpletag/hello_jsp, method: _jspx_meth_mytag_helloWorld_0 signature: (Ljavax/servlet/jsp/PageContext;)Z) Incompatible argument to function java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:1618) java.lang.Class.getConstructor0(Class.java:1930) java.lang.Class.newInstance0(Class.java:278) java.lang.Class.newInstance(Class.java:261) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) [EMAIL PROTECTED] 9/15/2004 2:44:20 PM Yep, I have. its port 8015 now. Patricia -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 2:32 PM To: Tomcat Users List Subject: RE: problem configuring 2 tomcat instances apache 2.0.48 tomcat 5.0.19 Hi, Have you modified the shutdown port for the 2nd instance so it doesn't clash with the 1st instance (default port 8005)? Yoav Shapira Millennium Research Informatics -Original Message- From: Patricia Swarbrick [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 4:05 PM To: Tomcat Users List Subject: problem configuring 2 tomcat instances apache 2.0.48 tomcat 5.0.19 I'm attempting to configure two tomcat instances, one set up on the normal ports and the other is connected to server port 8015, connector port 8088 and 8019 the problem is I can't load any .jsp pages for the second port. I get an http 400 error. I've checked the directory permissions, checked and rechecked the workers2.properties file and the vhosts.conf in apache. I'm not sure whats going on here. any help would be apreciated. workers2.properties file (there's prolly a lot of useless stuff in here): [shm] file=/usr/local/apache/current/logs/mod_jk2.shm size=1048576 [channel.socket:localhost:8009] port=8009 host=127.0.0.1 tomcatid=localhost:8009 channel=channel.socket:localhost:8009 [ajp13:localhost:8009] [channel.socket:thesite:8009] port=8009 host=127.0.0.1 channel=channel.socket:thesite:8009 [ajp13:thesite:8009] [channel.socket:localhost:8019] port=8019 host=127.0.0.1 tomcatid=localhost:8019 channel=channel.socket:localhost:8019 [channel.socket:theothersite:8019] port=8019 host=127.0.0.1 channel=channel.socket:theothersite:8019 [ajp13:theothersite:8019] # status'' worker - shows status of jk2 module [status:status] [uri:10.99.1.75:80/status/*] worker=status:status section of the vhosts.conf: VirtualHost blah:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/html/thesite_com ServerName thesite ServerAlias thesite.com ErrorLog logs/thesite_com-error_log CustomLog logs/thesite_com-access_log combined Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location Location /*.do JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost VirtualHost blah:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/html/theothersite_com ServerName theothersite ServerAlias theothersite.com ErrorLog logs/theothersite_com-error_log CustomLog logs/theothersite_com-access_log combined Location /*.jsp JkUriSet worker ajp13:localhost:8019 /Location Location /*.do JkUriSet worker ajp13:localhost:8019 /Location /VirtualHost This e-mail, including any attachments, is a confidential
Re: Problem rendering JSP 2.0 examples on Tomcat install
it seems like you're passing the wrong argument to the function... method: _jspx_meth_mytag_helloWorld_0 signature: (Ljavax/servlet/jsp/PageContext;)Z) Incompatible argument to function code? fb. On Wed, 2004-09-15 at 17:22 -0600, Luke FERNANDEZ wrote: Incompatible argument to function - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help with Tomcat Install?
Hi I am trying to figure out why my tomcat install is not working. System: Apache 1.3.29 Server: Solaris 8 Tomcat: 4.1.18 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? Enclosed is the 'page' I receive: Thanks dave l HTTP Status 404 - / -- type Status report message / description The requested resource (/) is not available. -- Apache Tomcat/4.1.18 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help with Tomcat Install?
On Wed, Sep 08, 2004 at 10:49:41AM -0500, Lash, David A (David) wrote: : When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? Step 1 of Apache/jk(2)/Tomcat debugging: take Apache and JK out of the picture. Enable an HTTP connector on Tomcat and access it directly. If that works, check the Apache setup. Try to think of the Apache as a mask or a pass-through for Tomcat. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help with Tomcat Install?
Well, certainly your Tomcat setup works fine, look at the end of your response page it could be, however, that the default webapp hasn't been installed, check webapps/ROOT and see if it is there, its a default response servlet in the WEB-INF/web.xml file Lash, David A (David) escribió: Hi I am trying to figure out why my tomcat install is not working. System: Apache 1.3.29 Server: Solaris 8 Tomcat: 4.1.18 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? Enclosed is the 'page' I receive: Thanks dave l HTTP Status 404 - / -- type Status report message / description The requested resource (/) is not available. -- Apache Tomcat/4.1.18 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help with Tomcat Install?
Ok, you installed Tomcat, but is it running? Something like: $CATALINA_HOME/bin/start.sh should have happened before pointing at http://localhost:8080. It's a common mistake. Gerardo On Wed, 8 Sep 2004, Lash, David A (David) wrote: Hi I am trying to figure out why my tomcat install is not working. System: Apache 1.3.29 Server: Solaris 8 Tomcat: 4.1.18 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? Enclosed is the 'page' I receive: Thanks dave l - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help with Tomcat Install?
Thanks for the response. I do appear to have a ROOT/WEB-INF/web.xml file. It looks like the enclosed page. So that seems fine. Please let me know if you have any other ideas. Thanks Dave lash ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description /web-app -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:03 AM To: Tomcat Users List Subject: Re: Help with Tomcat Install? Well, certainly your Tomcat setup works fine, look at the end of your response page it could be, however, that the default webapp hasn't been installed, check webapps/ROOT and see if it is there, its a default response servlet in the WEB-INF/web.xml file Lash, David A (David) escribió: Hi I am trying to figure out why my tomcat install is not working. System: Apache 1.3.29 Server: Solaris 8 Tomcat: 4.1.18 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? Enclosed is the 'page' I receive: Thanks dave l HTTP Status 404 - / -- type Status report message / description The requested resource (/) is not available. -- Apache Tomcat/4.1.18 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help with Tomcat Install?
Thanks for the help, though I did startup.sh. It appears to start (I have a tomcat deamon running). The file logs/Catalina.out was not clean during the startup (don't know if that is normal). It looks like the enclosed Thanks Dave lash Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1034) at org.apache.catalina.core.StandardService.initialize(StandardService.java:579) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2245) at org.apache.catalina.startup.Catalina.start(Catalina.java:511) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2212) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) -Original Message- From: Gerardo Juarez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:05 AM To: Tomcat Users List Subject: Re: Help with Tomcat Install? Ok, you installed Tomcat, but is it running? Something like: $CATALINA_HOME/bin/start.sh should have happened before pointing at http://localhost:8080. It's a common mistake. Gerardo On Wed, 8 Sep 2004, Lash, David A (David) wrote: Hi I am trying to figure out why my tomcat install is not working. System: Apache 1.3.29 Server: Solaris 8 Tomcat: 4.1.18 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? Enclosed is the 'page' I receive: Thanks dave l - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help with Tomcat Install?
Yep, there isn't any default servlet definition, that's why you aren't seeing the tomcat default page. Web.xml should have some servlet and servlet-mapping definitions on it anyhow, you should add something to ROOT/ and see if you can touch that file via http://localhost:8080/somefile.someextension Lash, David A (David) escribió: Thanks for the response. I do appear to have a ROOT/WEB-INF/web.xml file. It looks like the enclosed page. So that seems fine. Please let me know if you have any other ideas. Thanks Dave lash ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description /web-app -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:03 AM To: Tomcat Users List Subject: Re: Help with Tomcat Install? Well, certainly your Tomcat setup works fine, look at the end of your response page it could be, however, that the default webapp hasn't been installed, check webapps/ROOT and see if it is there, its a default response servlet in the WEB-INF/web.xml file Lash, David A (David) escribió: Hi I am trying to figure out why my tomcat install is not working. System: Apache 1.3.29 Server: Solaris 8 Tomcat: 4.1.18 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? Enclosed is the 'page' I receive: Thanks dave l HTTP Status 404 - / -- type Status report message / description The requested resource (/) is not available. -- Apache Tomcat/4.1.18 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help with Tomcat Install?
Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help with Tomcat Install?
It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help with Tomcat Install?
Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help with Tomcat Install?
I think that's not the case, look that he gets a 404 status from tomcat with a Apache Tomcat/4.1.18 signature at the end the problem he's having is that the default servlet for tomcat root isn't insatalled very rare indeed, but that's the case Shapira, Yoav escribió: Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help with Tomcat Install?
Hi, I don't think so ;) You're confusing two threads here. This guy doesn't get a 404, he gets a bind exception. There's no way to rule out the option I suggested from the information he's posted so far. Your suggestion to the other guy who's getting the 404 is also likely wrong: the default servlet is included automatically from $CATALINA_HOME/conf/web.xml. A webapp's web.xml file can contain just the root element with nothing in it, as his does: that's both valid and supported by Tomcat. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:39 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? I think that's not the case, look that he gets a 404 status from tomcat with a Apache Tomcat/4.1.18 signature at the end the problem he's having is that the default servlet for tomcat root isn't insatalled very rare indeed, but that's the case Shapira, Yoav escribió: Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary
Re: Help with Tomcat Install?
John, Root App does not have a servlet. The page accessed is a static html page ROOT/index.html. Then verify whether index.html file along with 3 image files is available at location ROOT app. Best Regards, Avinash R S - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 10:08 PM Subject: Re: Help with Tomcat Install? I think that's not the case, look that he gets a 404 status from tomcat with a Apache Tomcat/4.1.18 signature at the end the problem he's having is that the default servlet for tomcat root isn't insatalled very rare indeed, but that's the case Shapira, Yoav escribió: Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message
RE: Help with Tomcat Install?
Hi all Here is the contents of webapps/ROOT WEB-INF/ index.jspjakarta-banner.gif tomcat-power.gif tomcat.gif I also tried http://localserver:8080/index.jsp And got the same 404 error. So its like tomcat is looking in a different directory. Is there a config file that defines where tomcat looks for root files? (perhaps someone (at my site) changed this). Thanks Dave lash -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:47 AM To: Tomcat Users List Subject: Re: Help with Tomcat Install? John, Root App does not have a servlet. The page accessed is a static html page ROOT/index.html. Then verify whether index.html file along with 3 image files is available at location ROOT app. Best Regards, Avinash R S - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 10:08 PM Subject: Re: Help with Tomcat Install? I think that's not the case, look that he gets a 404 status from tomcat with a Apache Tomcat/4.1.18 signature at the end the problem he's having is that the default servlet for tomcat root isn't insatalled very rare indeed, but that's the case Shapira, Yoav escribió: Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify
RE: Help with Tomcat Install?
David, In the sequence of events to start Tomcat, binding to the port comes first. If the log says that this failed, then Tomcat is not listening there. I have seen many times the 404 error to know that it doesn't tell me much about what it is really happening. The Tomcat logs are the place to look. Gerardo On Wed, 8 Sep 2004, Lash, David A (David) wrote: Hi all Here is the contents of webapps/ROOT WEB-INF/ index.jspjakarta-banner.gif tomcat-power.gif tomcat.gif I also tried http://localserver:8080/index.jsp And got the same 404 error. So its like tomcat is looking in a different directory. Is there a config file that defines where tomcat looks for root files? (perhaps someone (at my site) changed this). Thanks Dave lash -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:47 AM To: Tomcat Users List Subject: Re: Help with Tomcat Install? John, Root App does not have a servlet. The page accessed is a static html page ROOT/index.html. Then verify whether index.html file along with 3 image files is available at location ROOT app. Best Regards, Avinash R S - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 10:08 PM Subject: Re: Help with Tomcat Install? I think that's not the case, look that he gets a 404 status from tomcat with a Apache Tomcat/4.1.18 signature at the end the problem he's having is that the default servlet for tomcat root isn't insatalled very rare indeed, but that's the case Shapira, Yoav escribió: Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission
Re: Help with Tomcat Install?
Let me wrap this up. initially he said that he (david lash) was getting the following page: HTTP Status 404 - / -- type Status report message / description The requested resource (/) is not available. -- Apache Tomcat/4.1.18 Clearly, it is a response from tomcat, because the tomcat signature. Then Gerardo Juarez said: $CATALINA_HOME/bin/start.sh should have happened before pointing at http://localhost:8080. It's a common mistake. And following that david lash response was: Thanks for the help, though I did startup.sh. It appears to start (I have a tomcat deamon running). The file logs/Catalina.out was not clean during the startup (don't know if that is normal). It looks like the enclosed Thanks Dave lash Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 So, what's happening here is that someone confused david lash with the bind exception thing because he had tomcat already up and running as a daemon, and OFF COURSE he had a bind error when manually running tomcat My guess, he doesn't have anything in the tomcat ROOT. and he has an already running tomcat set up. Shapira, Yoav escribió: Hi, I don't think so ;) You're confusing two threads here. This guy doesn't get a 404, he gets a bind exception. There's no way to rule out the option I suggested from the information he's posted so far. Your suggestion to the other guy who's getting the 404 is also likely wrong: the default servlet is included automatically from $CATALINA_HOME/conf/web.xml. A webapp's web.xml file can contain just the root element with nothing in it, as his does: that's both valid and supported by Tomcat. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:39 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? I think that's not the case, look that he gets a 404 status from tomcat with a Apache Tomcat/4.1.18 signature at the end the problem he's having is that the default servlet for tomcat root isn't insatalled very rare indeed, but that's the case Shapira, Yoav escribió: Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded
RE: Help with Tomcat Install?
All Thanks for your help and suggestions. I finally got the install to work by the following: 1. I grabbed a more recent binary distribution. 2. I changed the port to . It appeared that something was on port 8080. The strange thing was that the deamon did start (but I could not look at pages). thanks again dave lash -Original Message- From: Lash, David A (David) [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:49 AM To: Tomcat Users List Subject: RE: Help with Tomcat Install? Hi all Here is the contents of webapps/ROOT WEB-INF/ index.jspjakarta-banner.gif tomcat-power.gif tomcat.gif I also tried http://localserver:8080/index.jsp And got the same 404 error. So its like tomcat is looking in a different directory. Is there a config file that defines where tomcat looks for root files? (perhaps someone (at my site) changed this). Thanks Dave lash -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:47 AM To: Tomcat Users List Subject: Re: Help with Tomcat Install? John, Root App does not have a servlet. The page accessed is a static html page ROOT/index.html. Then verify whether index.html file along with 3 image files is available at location ROOT app. Best Regards, Avinash R S - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 10:08 PM Subject: Re: Help with Tomcat Install? I think that's not the case, look that he gets a 404 status from tomcat with a Apache Tomcat/4.1.18 signature at the end the problem he's having is that the default servlet for tomcat root isn't insatalled very rare indeed, but that's the case Shapira, Yoav escribió: Hi, There is at least one of other possible cause for this error. Perhaps your shutdown cannot be completed normally. For example, if you start a non-daemon thread from your app and never shut it down, it will keep running. That will prevent the JVM process from exiting and the port will stay bound, even though all the Tomcat stuff is gone and you won't be able to connect to Tomcat with a browser. In that case, you'd need to kill the process in order to release the port. Then you'll be able to start up again. Of course, you should debug why this is happening. Yoav Shapira Millennium Research Informatics -Original Message- From: Avinash R S [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:24 PM To: Tomcat Users List Subject: Re: Help with Tomcat Install? It looks like the port is being used by another application. Run Shutdown.sh once, and then run startup.sh and still if you get the same error as Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 Then some other application is using the port Access server.xml file and change port from 8080 to say 7645 . Try to start the server and access the page at http://localhost:7645 Best Regards, Avinash - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 9:45 PM Subject: Re: Help with Tomcat Install? Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 This error is saying that port 8080 is already taken, probably by your already running Tomcat daemon, it is common in that case -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e
Problems with Tomcat install on Redhat
I have installed jakarta-tomcat-4.1.30 on Redhat 9. However, when I try to load the tomcat index page on SSL (https://machine ip:8443), I am getting a connection refused error. I have jdk installed on the box and have executed: $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA . Am I missing something? Can someone give me the exact guide on how to install tomcat with SSL support. Thanks in advance. I have also included a few lines from my catalina.out file below. Regards /Bravismore Catalina.start: LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1231) at org.apache.catalina.core.StandardService.initialize(StandardService.java:579) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246) at org.apache.catalina.startup.Catalina.start(Catalina.java:511) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with Tomcat install on Redhat
You need to edit your server.xml file which can be found in $CATALINA_HOME/conf by uncommenting the following code and add two lines on keypass and keystore as follows: !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443-- Connector port=8443 max thread=... ... keypass=enter_your_key_password_here keystore=enter_your_keytore_absolute_path_here clientAuth=false sslProtocol=TLS Hope this help. Karen On Tue, 27 Jul 2004, Mumanyi Bravismore wrote: I have installed jakarta-tomcat-4.1.30 on Redhat 9. However, when I try to load the tomcat index page on SSL (https://machine ip:8443), I am getting a connection refused error. I have jdk installed on the box and have executed: $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA . Am I missing something? Can someone give me the exact guide on how to install tomcat with SSL support. Thanks in advance. I have also included a few lines from my catalina.out file below. Regards /Bravismore Catalina.start: LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1231) at org.apache.catalina.core.StandardService.initialize(StandardService.java:579) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246) at org.apache.catalina.startup.Catalina.start(Catalina.java:511) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Karen Ng OMII (Open Middleware Infrastructure Institute) Faraday / 6005, University of Southampton, Southampton, SO17 1BJ, United Kingdom. Tel: +44 (0)23 8059 8788 Fax: +44 (0)23 8059 3045 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with Tomcat install on Redhat
I have tried adding the two lines with no successs. Karen M Y Ng wrote: You need to edit your server.xml file which can be found in $CATALINA_HOME/conf by uncommenting the following code and add two lines on keypass and keystore as follows: !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443-- Connector port=8443 max thread=... ... keypass=enter_your_key_password_here keystore=enter_your_keytore_absolute_path_here clientAuth=false sslProtocol=TLS Hope this help. Karen On Tue, 27 Jul 2004, Mumanyi Bravismore wrote: I have installed jakarta-tomcat-4.1.30 on Redhat 9. However, when I try to load the tomcat index page on SSL (https://machine ip:8443), I am getting a connection refused error. I have jdk installed on the box and have executed: $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA . Am I missing something? Can someone give me the exact guide on how to install tomcat with SSL support. Thanks in advance. I have also included a few lines from my catalina.out file below. Regards /Bravismore Catalina.start: LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1231) at org.apache.catalina.core.StandardService.initialize(StandardService.java:579) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246) at org.apache.catalina.startup.Catalina.start(Catalina.java:511) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Karen Ng OMII (Open Middleware Infrastructure Institute) Faraday / 6005, University of Southampton, Southampton, SO17 1BJ, United Kingdom. Tel: +44 (0)23 8059 8788 Fax: +44 (0)23 8059 3045 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat -install SERVICE-NAME problem with tomcat-5.0.19
Hi, in tomcat-4.1.30, I could use tomcat -install (and -uninstall) SERVICE-NAME to install/deinstall a service. The same command seems to do nothing with tomcat-5.0.19. Has the syntax changed or what is the problem? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Netbeans screwed up my Tomcat install
How do I get rid of it? I can always reinstall tomcat, but I sure don't want to. I installed netbeans 3.5 on Linux. Somehow it screwed up my Tomcat server configuration. I wasn't using it with tomcat, just debugging a stand alone java program. When I went to start Tomcat, it doesn't with this message: 2003-08-04 15:41:18 StandardContext[/resources]: Starting filter 'HTTPMonitorFilter' 2003-08-04 15:41:18 StandardContext[/resources]: Exception starting filter HTTPMonitorFilter java.lang.ClassNotFoundException: org.netbeans.modules.web.monitor.server.MonitorFilter I found the jar file in the Netbeans tree that has the Monitor Filter and copied it into the Tomcat tree, but then it failed to find something else from the Netbeans install. Rather than chase my tail tring to find the right jar files, how can I get rid of the Netbean dependency in Tomcat? Thanks, Jim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Netbeans screwed up my Tomcat install
Howdy, Look for the web.xml file where there's a Filter element with that netbeans class, and remove the definition (and any filter-mapping elements related to it) from the web.xml file. Just doing a clean install of tomcat is another option: it's quick and easy. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 4:08 PM To: tomcat Subject: Netbeans screwed up my Tomcat install How do I get rid of it? I can always reinstall tomcat, but I sure don't want to. I installed netbeans 3.5 on Linux. Somehow it screwed up my Tomcat server configuration. I wasn't using it with tomcat, just debugging a stand alone java program. When I went to start Tomcat, it doesn't with this message: 2003-08-04 15:41:18 StandardContext[/resources]: Starting filter 'HTTPMonitorFilter' 2003-08-04 15:41:18 StandardContext[/resources]: Exception starting filter HTTPMonitorFilter java.lang.ClassNotFoundException: org.netbeans.modules.web.monitor.server.MonitorFilter I found the jar file in the Netbeans tree that has the Monitor Filter and copied it into the Tomcat tree, but then it failed to find something else from the Netbeans install. Rather than chase my tail tring to find the right jar files, how can I get rid of the Netbean dependency in Tomcat? Thanks, Jim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Netbeans screwed up my Tomcat install
1. Delete Tomcat from the IDE. 2. Delete the $TOMCAT_HOME/conf/.nbattrs file and try replacing server.xml with original Tomcat installation file (attached)... I asked about Netbeans/Tomcat integration last week but apparently it is still a mistery ;-) Good luck!!! Hope this helps... - Original Message - From: Jim Lynch [EMAIL PROTECTED] To: tomcat [EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:08 PM Subject: Netbeans screwed up my Tomcat install How do I get rid of it? I can always reinstall tomcat, but I sure don't want to. I installed netbeans 3.5 on Linux. Somehow it screwed up my Tomcat server configuration. I wasn't using it with tomcat, just debugging a stand alone java program. When I went to start Tomcat, it doesn't with this message: 2003-08-04 15:41:18 StandardContext[/resources]: Starting filter 'HTTPMonitorFilter' 2003-08-04 15:41:18 StandardContext[/resources]: Exception starting filter HTTPMonitorFilter java.lang.ClassNotFoundException: org.netbeans.modules.web.monitor.server.MonitorFilter I found the jar file in the Netbeans tree that has the Monitor Filter and copied it into the Tomcat tree, but then it failed to find something else from the Netbeans install. Rather than chase my tail tring to find the right jar files, how can I get rid of the Netbean dependency in Tomcat? Thanks, Jim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a shutdown command on the indicated port. Note: A Server is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- Server port=8005 shutdown=SHUTDOWN debug=0 !-- Uncomment these entries to enable JMX MBeans support -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved /Resource ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams /GlobalNamingResources !-- A Service is a collection of one or more Connectors that share a single Container (and therefore the web applications visible within that Container). Normally, that Container is an Engine, but this is not required. Note: A Service is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- !-- Define the Tomcat Stand-Alone Service -- Service name=Tomcat-Standalone !-- A Connector represents an endpoint by which requests are received and responses are returned. Each Connector passes requests on to the associated Container (normally an Engine) for processing. By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector entry. SSL support requires the following steps (see the SSL Config HOWTO in the Tomcat 4.0 documentation bundle for more detailed instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of changeit for both the certificate and the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on performance, so you can disable it by setting the enableLookups attribute to false. When DNS lookups are disabled, request.getRemoteHost() will return the String version of the IP address of the remote client
tomcat install
hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
Download the jk2 shared library for you version of apache and copy it in /usr/local/apache/modules (create the directory if necessary). If you can't find a suitable version of jk2 ask it to the tomcat-user mailing list or download the source and build it yourself (this is another HOWTO). Create, if you haven't already, the /usr/local/apache/conf directory and create a file named workers2.properties with this content in it: from here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html whats the jk2 shared library about thats why i tried the source instead is it a module ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.htm l http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
ok i found the jk2 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ but nowhere to download :\ plus the link is broken -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
Howdy, Oh, I'm sorry. I thought you were trying to run tomcat standalone. That's why I said you don't need to compile anything. For the Apache connectors, you might need to compile stuff, as the docs say. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:27 AM To: Tomcat Users List Subject: RE: tomcat install Download the jk2 shared library for you version of apache and copy it in /usr/local/apache/modules (create the directory if necessary). If you can't find a suitable version of jk2 ask it to the tomcat-user mailing list or download the source and build it yourself (this is another HOWTO). Create, if you haven't already, the /usr/local/apache/conf directory and create a file named workers2.properties with this content in it: from here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html whats the jk2 shared library about thats why i tried the source instead is it a module ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.htm l http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.htm l http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
these are very well documented but how do i change the default port in server.xml ? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:18 AM To: Tomcat Users List Subject: Re: tomcat install Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
On Thu, 29 May 2003 06:53, electroteque wrote: these are very well documented but how do i change the default port in server.xml ? Easiest way is to do a replace all from 8080 to your new port number, you might want to find it first however and see where it gets set. :) -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? also what is the difference between working with a standalone or a jk2 module in apache ?? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:18 AM To: Tomcat Users List Subject: Re: tomcat install Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
On Thu, 29 May 2003 06:59, electroteque wrote: ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? Can you check your CATALINA_HOME\logs directory and have a look at the log files for anything that looks like an error. I get a server not found error trying that address. also what is the difference between working with a standalone or a jk2 module in apache ?? Standalone doesn't have builtin support for load balancing plus it uses Coyotge to process all HTTP requests, where in a high load environment it is better to integrate Tomcat with Apache. If you are just using it for testing purposes I'd stick just with standalone but if you are deploying in a high load environment you should look at integrating with Apache using the In process method, if you choose to do that John Turner has some very good tutorials you can use (Search the archive for the links, I haven't got time right now to dig them up). Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
ok here is what i get in the logs StandardServer.await: create[8005]: java.net.BindException: Address already in u se java.net.BindException: Address already in use -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:00 AM To: Tomcat Users List Subject: RE: tomcat install ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? also what is the difference between working with a standalone or a jk2 module in apache ?? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:18 AM To: Tomcat Users List Subject: Re: tomcat install Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
On Thu, 29 May 2003 07:10, electroteque wrote: ok here is what i get in the logs StandardServer.await: create[8005]: java.net.BindException: Address already in u se java.net.BindException: Address already in use That means fairly obviously that port 8005 is already in use either by another application or you already have another instance of Tomcat running. Try changing this to another value within your server.xml file. You may well encounter it for port 8009, esepcially if Tomcat is already running so you better check if there already is a task running, is this Windows or Linux? On Windows check Task Manager and on linux something like top. Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
ok thanks heaps its all working now i'll intergrate with apache @ a later date , trying out the examples the code is very clean , i'm liking this over php :D -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 8:08 AM To: Tomcat Users List Subject: Re: tomcat install On Thu, 29 May 2003 06:59, electroteque wrote: ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? Can you check your CATALINA_HOME\logs directory and have a look at the log files for anything that looks like an error. I get a server not found error trying that address. also what is the difference between working with a standalone or a jk2 module in apache ?? Standalone doesn't have builtin support for load balancing plus it uses Coyotge to process all HTTP requests, where in a high load environment it is better to integrate Tomcat with Apache. If you are just using it for testing purposes I'd stick just with standalone but if you are deploying in a high load environment you should look at integrating with Apache using the In process method, if you choose to do that John Turner has some very good tutorials you can use (Search the archive for the links, I haven't got time right now to dig them up). Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
Well looks like you got it working. :) (I just tried that URL again) Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
sorry i should be more clear for now its RH8 , i killed the process but obviously didnt shutdown so i ran shutdown.sh and then startup.sh again :D On Thu, 29 May 2003 07:10, electroteque wrote: ok here is what i get in the logs StandardServer.await: create[8005]: java.net.BindException: Address already in u se java.net.BindException: Address already in use That means fairly obviously that port 8005 is already in use either by another application or you already have another instance of Tomcat running. Try changing this to another value within your server.xml file. You may well encounter it for port 8009, esepcially if Tomcat is already running so you better check if there already is a task running, is this Windows or Linux? On Windows check Task Manager and on linux something like top. Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
yeh cheers i'll be on here more frequently now , i'm a total newbie coming from PHP , but looked at the example source and its very gourgous Well looks like you got it working. :) (I just tried that URL again) Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
trouble configuring a web app outside Tomcat install directory
Hello, all, I'm having trouble with a web app I've located outside the Tomcat install directory: that is, under a webapps/ROOT/ directory that is not under /usr/local/tomcat/. I have my JSPs working fine, but I can't call servlets through the web browser: I get 404's. Quick background: Apache 2.0.44 and Tomcat 4.1.18 on Linux, mod_jk.so. I'll call my application site 'appsite.com' to protect the innocent: it's set up under /home/web/appsite.com/webapps/ROOT/. In my mod_jk.conf file, I have the servlet-specific JkMount directives JkMount /servlet ajp13 and JkMount /servlet/* ajp13. In server.xml, I have the following containers defined: Engine name=Tomcat-Apache-mod_jk defaultHost=www.appsite.com debug=0 Host name=www.appsite.com debug=1 appBase=/home/web/www.appsite.com/webapps Context path= docBase=ROOT debug=0/ The servlets are located in /home/web/appsite.com/webapps/ROOT/WEB-INF/classes/mypackage/. I'm trying to call them as http://www.appsite.com/servlet/mypackage.ServletX, and that's when I get the 404. Is there something else I need to do to map servlet to the webapps/ROOT/WEB-INF/classes directory of my site? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
correction: trouble configuring a web app outside Tomcat install directory
I put a typo in my last message: the host element I listed is actually Host name=www.appsite.com debug=1 appBase=/home/web/appsite.com/webapps Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: trouble configuring a web app outside Tomcat install directory
hi did you add the servlets to your web.xml (using the servlet and servlet-mapping elements)? -Original Message- From: Michael Harrison [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:59 AM To: tomcat-user Subject: trouble configuring a web app outside Tomcat install directory Hello, all, I'm having trouble with a web app I've located outside the Tomcat install directory: that is, under a webapps/ROOT/ directory that is not under /usr/local/tomcat/. I have my JSPs working fine, but I can't call servlets through the web browser: I get 404's. Quick background: Apache 2.0.44 and Tomcat 4.1.18 on Linux, mod_jk.so. I'll call my application site 'appsite.com' to protect the innocent: it's set up under /home/web/appsite.com/webapps/ROOT/. In my mod_jk.conf file, I have the servlet-specific JkMount directives JkMount /servlet ajp13 and JkMount /servlet/* ajp13. In server.xml, I have the following containers defined: Engine name=Tomcat-Apache-mod_jk defaultHost=www.appsite.com debug=0 Host name=www.appsite.com debug=1 appBase=/home/web/www.appsite.com/webapps Context path= docBase=ROOT debug=0/ The servlets are located in /home/web/appsite.com/webapps/ROOT/WEB-INF/classes/mypackage/. I'm trying to call them as http://www.appsite.com/servlet/mypackage.ServletX, and that's when I get the 404. Is there something else I need to do to map servlet to the webapps/ROOT/WEB-INF/classes directory of my site? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: trouble configuring a web app outside Tomcat install directory
I think the docBase tag in your Context might be Tomcat-home-relative. Try an absolute path (that's how I have it set up and working with apps outside Tomcat home). -Original Message- From: Michael Harrison [SMTP:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:59 AM To: tomcat-user Subject: trouble configuring a web app outside Tomcat install directory Hello, all, I'm having trouble with a web app I've located outside the Tomcat install directory: that is, under a webapps/ROOT/ directory that is not under /usr/local/tomcat/. I have my JSPs working fine, but I can't call servlets through the web browser: I get 404's. Quick background: Apache 2.0.44 and Tomcat 4.1.18 on Linux, mod_jk.so. I'll call my application site 'appsite.com' to protect the innocent: it's set up under /home/web/appsite.com/webapps/ROOT/. In my mod_jk.conf file, I have the servlet-specific JkMount directives JkMount /servlet ajp13 and JkMount /servlet/* ajp13. In server.xml, I have the following containers defined: Engine name=Tomcat-Apache-mod_jk defaultHost=www.appsite.com debug=0 Host name=www.appsite.com debug=1 appBase=/home/web/www.appsite.com/webapps Context path= docBase=ROOT debug=0/ The servlets are located in /home/web/appsite.com/webapps/ROOT/WEB-INF/classes/mypackage/. I'm trying to call them as http://www.appsite.com/servlet/mypackage.ServletX, and that's when I get the 404. Is there something else I need to do to map servlet to the webapps/ROOT/WEB-INF/classes directory of my site? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble configuring a web app outside Tomcat install director y
AFAIK, the Context docBase is relative to the Host's appBase unless declared explicitly. John On Mon, 24 Mar 2003 10:43:19 -0600, Madere, Colin [EMAIL PROTECTED] wrote: I think the docBase tag in your Context might be Tomcat-home-relative. Try an absolute path (that's how I have it set up and working with apps outside Tomcat home). -Original Message- From: Michael Harrison [SMTP:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:59 AM To: tomcat-user Subject:trouble configuring a web app outside Tomcat install directory Hello, all, I'm having trouble with a web app I've located outside the Tomcat install directory: that is, under a webapps/ROOT/ directory that is not under /usr/local/tomcat/. I have my JSPs working fine, but I can't call servlets through the web browser: I get 404's. Quick background: Apache 2.0.44 and Tomcat 4.1.18 on Linux, mod_jk.so. I'll call my application site 'appsite.com' to protect the innocent: it's set up under /home/web/appsite.com/webapps/ROOT/. In my mod_jk.conf file, I have the servlet-specific JkMount directives JkMount /servlet ajp13 and JkMount /servlet/* ajp13. In server.xml, I have the following containers defined: Engine name=Tomcat-Apache-mod_jk defaultHost=www.appsite.com debug=0 Host name=www.appsite.com debug=1 appBase=/home/web/www.appsite.com/webapps Context path= docBase=ROOT debug=0/ The servlets are located in /home/web/appsite.com/webapps/ROOT/WEB-INF/classes/mypackage/. I'm trying to call them as http://www.appsite.com/servlet/mypackage.ServletX, and that's when I get the 404. Is there something else I need to do to map servlet to the webapps/ROOT/WEB-INF/classes directory of my site? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SUCCESSFUL Tomcat Install!
I'm sorry, but Tomcat is not a J2EE container. It is only a servlet container. I don't think that a J2EE container really means something. An application server can be J2EE compliant if he is : servlet container, EJB container, and everything else defined in the J2EE specification. There's a list of such products at : http://www.flashline.com/components/appservermatrix.jsp Regards, Cédric - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 9:35 PM Subject: Re: SUCCESSFUL Tomcat Install! ... hmm... a small correction... Tomcat is a J2EE container in that it is a Servlet container, whereas JBoss is an EJB container that uses Tomcat (and others like Jetty) for servicing Servlets, but both are containers under the J2EE architecture... --- Bill Barker [EMAIL PROTECTED] wrote: There are many Jakarta committers that have successfully made a go of it by having their own Server-Side consulting firms (but I'm not one of them :). As every one here should know, Tomcat is not a J2EE container. For an OS J2EE container that uses Tomcat for its Servlet/JSP, see http://www.jboss.org/. Steve R Burrus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I really haven't bothered to post to this newsgroup in quite some time, but I just had to proudly announce to anyone interested that I HAVE SUCCESSFULLY INSTALLED TOMCAT!!! This is the 4.1.12 version that I am now talking about! Any possible signs of appreciation from anyone in this newsgroup to that dramatic news [-sic] would be greatly welcomed by myself!!! Well, with that said, I would like to know just how exactly I start to go about creating the components of the J2EE API, i.e., Servlets and Java Server Pages in the Tomcat web container?! I would bet--if I were a betting man--that it's a rather tricky proposition to do so!! Am I wrong? I just know that someone out there in this newsgroup will send me the hyperlink to access all of the relevant information that I need to learn about to create these. I developed the thought some time ago in my mind to start to develop the components of server-side Java programming as a real career for myself. Am I just flat deluding myself into thinking that I can possibly make a go of it with trying/attempting to dabble with such high technology as a basis for a career? Please give some feedback about this. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: SUCCESSFUL Tomcat Install!
I think the correct classification is: tomcat is a J2EE compliant servlet container and jsp engine That means tomcat implements everything that the J2EE specs requires from a servlet container and can be part of a J2EE Server (together with Jonas, jBoss, OpenEJB, ...). -Original Message- From: Cédric Viaud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 11:06 AM To: Tomcat Users List Subject: Re: SUCCESSFUL Tomcat Install! I'm sorry, but Tomcat is not a J2EE container. It is only a servlet container. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: SUCCESSFUL Tomcat Install!
It's all semantics and some loose writing in some cases and I agree with Ralph. Note that the link to flashline (see below or original post) indicates that JBOSS is not J2EE compliant. How true is this?? JBOSS is a J2EE EJB container that ships integrated with Tomcat or Jetty as J2EE Servlet container. Since Tomcat can be embedded in this way then it complicates the semantics and this is a hard thing since most of us are better at programming than paying immense attention to vocabulary -as an average lawyer would. On Wednesday, November 20, 2002, at 04:17 AM, Ralph Einfeldt wrote: I think the correct classification is: tomcat is a J2EE compliant servlet container and jsp engine That means tomcat implements everything that the J2EE specs requires from a servlet container and can be part of a J2EE Server (together with Jonas, jBoss, OpenEJB, ...). -Original Message- From: Cédric Viaud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 11:06 AM To: Tomcat Users List Subject: Re: SUCCESSFUL Tomcat Install! I'm sorry, but Tomcat is not a J2EE container. It is only a servlet container. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: SUCCESSFUL Tomcat Install!
... hmm... a small correction... Tomcat is a J2EE container in that it is a Servlet container, whereas JBoss is an EJB container that uses Tomcat (and others like Jetty) for servicing Servlets, but both are containers under the J2EE architecture... --- Bill Barker [EMAIL PROTECTED] wrote: There are many Jakarta committers that have successfully made a go of it by having their own Server-Side consulting firms (but I'm not one of them :). As every one here should know, Tomcat is not a J2EE container. For an OS J2EE container that uses Tomcat for its Servlet/JSP, see http://www.jboss.org/. Steve R Burrus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I really haven't bothered to post to this newsgroup in quite some time, but I just had to proudly announce to anyone interested that I HAVE SUCCESSFULLY INSTALLED TOMCAT!!! This is the 4.1.12 version that I am now talking about! Any possible signs of appreciation from anyone in this newsgroup to that dramatic news [-sic] would be greatly welcomed by myself!!! Well, with that said, I would like to know just how exactly I start to go about creating the components of the J2EE API, i.e., Servlets and Java Server Pages in the Tomcat web container?! I would bet--if I were a betting man--that it's a rather tricky proposition to do so!! Am I wrong? I just know that someone out there in this newsgroup will send me the hyperlink to access all of the relevant information that I need to learn about to create these. I developed the thought some time ago in my mind to start to develop the components of server-side Java programming as a real career for myself. Am I just flat deluding myself into thinking that I can possibly make a go of it with trying/attempting to dabble with such high technology as a basis for a career? Please give some feedback about this. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
SUCCESSFUL Tomcat Install!
Well, I really haven't bothered to post to this newsgroup in quite some time, but I just had to proudly announce to anyone interested that I HAVE SUCCESSFULLY INSTALLED TOMCAT!!! This is the 4.1.12 version that I am now talking about! Any possible signs of appreciation from anyone in this newsgroup to that dramatic news [-sic] would be greatly welcomed by myself!!! Well, with that said, I would like to know just how exactly I start to go about creating the components of the J2EE API, i.e., Servlets and Java Server Pages in the Tomcat web container?! I would bet--if I were a betting man--that it's a rather tricky proposition to do so!! Am I wrong? I just know that someone out there in this newsgroup will send me the hyperlink to access all of the relevant information that I need to learn about to create these. I developed the thought some time ago in my mind to start to develop the components of server-side Java programming as a real career for myself. Am I just flat deluding myself into thinking that I can possibly make a go of it with trying/attempting to dabble with such high technology as a basis for a career? Please give some feedback about this. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: SUCCESSFUL Tomcat Install!
The best newbie-book i have read for starting with JSP's, Servlets, and Taglibs is: Java Developer's Guide to Servlets and JSP by Bill Brogden under Sybex publishing It's the book that everyone still borrows from me to read as a starting point. Now, I mainly use Jason Hunter's O'Reilly book titled Java Servlet Programming as a quick reference. -Jacob - Original Message - From: Steve R Burrus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 18, 2002 12:17 AM Subject: SUCCESSFUL Tomcat Install! Well, I really haven't bothered to post to this newsgroup in quite some time, but I just had to proudly announce to anyone interested that I HAVE SUCCESSFULLY INSTALLED TOMCAT!!! This is the 4.1.12 version that I am now talking about! Any possible signs of appreciation from anyone in this newsgroup to that dramatic news [-sic] would be greatly welcomed by myself!!! Well, with that said, I would like to know just how exactly I start to go about creating the components of the J2EE API, i.e., Servlets and Java Server Pages in the Tomcat web container?! I would bet--if I were a betting man--that it's a rather tricky proposition to do so!! Am I wrong? I just know that someone out there in this newsgroup will send me the hyperlink to access all of the relevant information that I need to learn about to create these. I developed the thought some time ago in my mind to start to develop the components of server-side Java programming as a real career for myself. Am I just flat deluding myself into thinking that I can possibly make a go of it with trying/attempting to dabble with such high technology as a basis for a career? Please give some feedback about this. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: SUCCESSFUL Tomcat Install!
There are many Jakarta committers that have successfully made a go of it by having their own Server-Side consulting firms (but I'm not one of them :). As every one here should know, Tomcat is not a J2EE container. For an OS J2EE container that uses Tomcat for its Servlet/JSP, see http://www.jboss.org/. Steve R Burrus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I really haven't bothered to post to this newsgroup in quite some time, but I just had to proudly announce to anyone interested that I HAVE SUCCESSFULLY INSTALLED TOMCAT!!! This is the 4.1.12 version that I am now talking about! Any possible signs of appreciation from anyone in this newsgroup to that dramatic news [-sic] would be greatly welcomed by myself!!! Well, with that said, I would like to know just how exactly I start to go about creating the components of the J2EE API, i.e., Servlets and Java Server Pages in the Tomcat web container?! I would bet--if I were a betting man--that it's a rather tricky proposition to do so!! Am I wrong? I just know that someone out there in this newsgroup will send me the hyperlink to access all of the relevant information that I need to learn about to create these. I developed the thought some time ago in my mind to start to develop the components of server-side Java programming as a real career for myself. Am I just flat deluding myself into thinking that I can possibly make a go of it with trying/attempting to dabble with such high technology as a basis for a career? Please give some feedback about this. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat install problems on Tru64unix
Hi, I'm not sure if this would help, but maybe you should try setting CATALINA_HOME, since new releases of Tomcat. also you might want to run catalina.sh run. Bye! He, JianBo wrote: Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful, set TOMCAT_HOME and JAVA_HOME variable to proper directory, but failed to startup with startup.sh, there is no corresponding process running and also, no explicit error apears. Only in output log, it recorded: # more catalina.out usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } I do not know where the problem is, J2SDK? or tomcat? thanks you for your kindly help! Best Regards He JianBo Technical Consultant Organization Hewlett-Packard Company -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: tomcat install problems on Tru64unix
Mr. Cristian Romanescu wrote: Hi, I'm not sure if this would help, but maybe you should try setting CATALINA_HOME, since new releases of Tomcat. also you might want to run catalina.sh run. Bye! He, JianBo wrote: Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful, set TOMCAT_HOME and JAVA_HOME variable to proper directory, but failed to startup with startup.sh, there is no corresponding process running and also, no explicit error apears. Only in output log, it recorded: # more catalina.out usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } The problem lies in Tru64's shell. It is mangling parameters in a way different from other incarnations. This is my startup (which still doesn't work on boot-up, but neither does AMaViS, Cyrus and other servers). startup.sh -- PRGDIR=`dirname $PRG` EXECUTABLE=catalina.sh # Check that target executable exists if [ ! -x $PRGDIR/$EXECUTABLE ]; then echo Cannot find $PRGDIR/$EXECUTABLE echo This file is needed to run this program exit 1 fi export CATALINA_HOME=/usr/local/java/tomcat-4.03 exec $PRGDIR/$EXECUTABLE start -config ${CATALINA_HOME}/conf/server.xml -- That's what works. Nix. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
tomcat install problems on Tru64unix
Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful, set TOMCAT_HOME and JAVA_HOME variable to proper directory, but failed to startup with startup.sh, there is no corresponding process running and also, no explicit error apears. Only in output log, it recorded: # more catalina.out usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } I do not know where the problem is, J2SDK? or tomcat? thanks you for your kindly help! Best Regards He JianBo Technical Consultant Organization Hewlett-Packard Company -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Need Help ASAP w. Tomcat install!
Delete the ; from JAVA_HOME. It should read C:\j2sdk1.4.0 minus the ;. Many people have pointed this out previously over the last couple of months. John -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 12:50 AM To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! ** ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Change JDK after Tomcat install
Can you easily change the version of your JDK after Tomcat is installed? I need to have a virtual frame buffer, which JDK 1.4 supplies but I have JDK 1.3.1 installed. Thanks, Kenny -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Change JDK after Tomcat install
You just set JAVA_HOME path to your new JDK I believe. -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:44 AM To: Tomcat Users List Subject: Change JDK after Tomcat install Can you easily change the version of your JDK after Tomcat is installed? I need to have a virtual frame buffer, which JDK 1.4 supplies but I have JDK 1.3.1 installed. Thanks, Kenny -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Change JDK after Tomcat install
Kenny, Look at the catalina.sh file -- there is a JAVA_HOME environment variable you can change as required. -Mike -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 12:44 PM To: Tomcat Users List Subject: Change JDK after Tomcat install Can you easily change the version of your JDK after Tomcat is installed? I need to have a virtual frame buffer, which JDK 1.4 supplies but I have JDK 1.3.1 installed. Thanks, Kenny -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Change JDK after Tomcat install
It was as easy and it looked. All I did was install the new jdk and point my JAVA_HOME in my profile and startup script to the new location. Works like a charm. Thanks, Kenny - Original Message - From: Michael Schulz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 30, 2002 1:03 PM Subject: RE: Change JDK after Tomcat install Kenny, Look at the catalina.sh file -- there is a JAVA_HOME environment variable you can change as required. -Mike -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 12:44 PM To: Tomcat Users List Subject: Change JDK after Tomcat install Can you easily change the version of your JDK after Tomcat is installed? I need to have a virtual frame buffer, which JDK 1.4 supplies but I have JDK 1.3.1 installed. Thanks, Kenny -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat Install Help
A couple of issues I'm having. One problem I'm having is that I can get tomcat to process JSP and servlets (once changing the web.xml file). However, I have a project which I created a war file for, and tomcat extracted without a problem, but I get errors that it cannot resolve symbol className...which is a utility class which is in the WEB-INF/classes folder as it should be. 1. So the beans aren't being found by Tomcat. 2. I'm trying to have it work on WinNT Server with IIS 4 and I created a virtual directory on IIS for jakarta (which has a green arrow pointing up). The registry stuff is all typed correctly in and everything. Now I'm trying to get files in JSP to work when I call them from a URL and I get the actual source of the files on the screen. How do I move on from localhost to an actual URL that Tomcat can see from the web? I've been on so many sites and have been reading so much that I'm confused where I started and where am I supposed to end. There are so many sugarcoated sites that make the process so childlike, but leave no place to ask questions when it all goes wrong. How do I change the workers.properties and the uriworkermap.properties files to work for what I want? Can anyone give me an example file of the two? Thanks in advance, Lior Shliechkorn Lior Shliechkorn --__ [p] 212-406-2853 [c] 917-295-6314 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need Help ASAP w. Tomcat install!
Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Help ASAP w. Tomcat install!
Hi Steve, You set the environment variables in NT by going to the control panel and then selecting System and then Environment. Other Windows environments should work in a similar manner. Once you select the Environment tab you should see a variable input area and value input area. In the variable area enter: CATALINA_HOME in the value area either %TOMCAT_HOME% with the % signs or the actual location of your JDK. On my system I have TOMCAT_HOME set to d:\myinstalls\tomcat. If you don't have TOMCAT_HOME set up as a system variable you should set it up also. I may be wrong, but I don't think some of the prior versions used CATALINA_HOME. Finally, go easy on yourself and don't question your intelligence over this stuff...as near as I can tell there is a lot of voodoo involved...so I reccomend lots of patience and persistence... Best wishes, Mike Steven Burrus wrote: Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Steve, I don't run under Apache as I run Tomcat stand alone. I overrode the installation directory as this has been a long standing issue with Tomcat. Not sure as this is you're problem but it has caused many issues on the list. Lance -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 4:13 PM To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Help ASAP w. Tomcat install!
Hi Steve, I'm really a bit perplexed that you are still having issues and continuing to ask the same questions that have been answered for you by many a Tomcat user on this list. I'll make one more attempt here, but you are going to need to hire someone to show you the way if this doesn't do it for you. Note that instructions here will be based on the fact that you are running windows 2000. I think you have NT 4.0, if I am not mistaken, but I don't have that installed anywhere to see exactly how the configuration would be performed. You will have to extrapolate my instructions for Windows 2000 to your own Windows NT 4.0 platform. Shouldn't be that different... 1. do *not* use the installer. Use the plain-jane .zip file to install Tomcat. This makes it so we can have more control over the install process. So, download the following file: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.zip 2. Unzip that file to C:\ 3. Right click My Computer, click the Advanced tab and click the Environment Variables button. Add a System environment variable, not a User environment variable named CATALINA_HOME. Make sure that the value is exactly C:\jakarta-tomcat-4.1.12. The is *no*, I repeat *no* semicolon in that value. One more time, do *not* add a semicolon!! Do the same thing to create a JAVA_HOME environment variable which points to the base directory of your JDK installation. Mine is C:\j2sdk1.4.1. BTW, do *not* include the quotes in the names or values of your environment variables. 4. Add %JAVA_HOME%/bin; to your system PATH variable. And yes, there *is* a semicolon there. It is only there becaus there are multiple entries for one variable and the semicolon delimits these entries on Windows systems. 5. Add another environment variable called CATALINA_OPTS with the value of something like -server -Xms32m -Xmx128m. That tells Tomcat to start with the server VM and provides some optimization for memory usage. See the JDK docs for -Xms and -Xmx switches if you want more info on that. After setting all these Environment variables, make sure to hi OK in all appropriate places to save this configuration. 6. Restart Windows. 7. Now, open a command window and copy the following to the command line to install the cataIina service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log use the following to uninstall the service (for when you upgrade to a newer version of Tomcat): %CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina 8. Open up the Services system applet and start the Apache-Catalina service. to know when Tomcat has fully started up, check the $CATALINA_HOME/logs directory for the stdout.log file. It should say the following when Tomcat is fully started: Bootstrap: Create Catalina server Bootstrap: Starting service Starting service Tomcat-Standalone Apache Tomcat/4.1.12 Bootstrap: Service started 9. Browse to http://localhost:8080/examples/ following the links to run sample servlets and jsp's. Everything should work fine. Jake At 10:33 PM 9/28/2002 -0700, you wrote: Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To
RE: Need Help ASAP w. Tomcat install!
I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! --- Steven Burrus [EMAIL PROTECTED] wrote: Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Hi Steve. Firstly, remove the ; from the JAVA_HOME env variable, it's not needed. Secondly, as previously mentioned, tomcat shouldn't be in a directory that has spaced in the path. I have in the past seen applications install themselves in directories like this, and then fail to run... makes for a more interesting time. Move all the contents of the tomcat folder into another one (eg c:\tomcat ), and then try again. The other option is to download the binary release zip file from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/ jakarta-tomcat-4.1.12.zip and simply unzip it into a directory, rather than using the .exe version, I have had trouble with them in the past and do not recommend them to anyone. It should work straight away. Gary. -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Monday, 30 September 2002 16:50 To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! --- Steven Burrus [EMAIL PROTECTED] wrote: Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL
Re: STILL Need Help w. Tomcat Install
Oh, come on, the this is Steve Burris bit makes me giggle every time... ;) Jacob Kjome [EMAIL PROTECTED]To: Tomcat Users List [EMAIL PROTECTED] m cc: Subject: Re: STILL Need Help w. Tomcat Install 08/21/02 06:59 PM Please respond to Tomcat Users List snip and please stop with the this is Steve Burris in your email. We know who you are based on the from header in the email. You don't need to tell us again. later, Jake At 12:50 PM 8/21/2002 -0700, you wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
STILL Need Help w. Tomcat Install
This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
what os? On Wed, 2002-08-21 at 15:50, STEVE R BURRUS wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL Need Help w. Tomcat Install
This is nothing personal. I really would like to see you get the help you need. However, you didn't even tell anyone what operating system you are using. I would strongly recommend you read this FAQ about how to seek help on lists. http://www.tuxedo.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. Voice: 303 438 9585 http://www.mhsoftware.com -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: 21 August, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: STILL Need Help w. Tomcat Install This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
Hi Steve: How exactly does one go about installing the Tomcat 4.0.* correctly??? What problem are you having? What platform? I installed pre-compiled tomcat 4.0.4 on my Solaris box and it worked fine. Cheers, Mona == Mona Wong-Barnum National Center for Microscopy and Imaging Research University of California, San Diego http://ncmir.ucsd.edu/ The truth shall set you free, but first it will piss you off A Landmark instructor == -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL Need Help w. Tomcat Install
As far as I know, Steve is using Windows XP. John Turner [EMAIL PROTECTED] -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 4:03 PM To: Tomcat Users List Subject: RE: STILL Need Help w. Tomcat Install This is nothing personal. I really would like to see you get the help you need. However, you didn't even tell anyone what operating system you are using. I would strongly recommend you read this FAQ about how to seek help on lists. http://www.tuxedo.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. Voice: 303 438 9585 http://www.mhsoftware.com -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: 21 August, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: STILL Need Help w. Tomcat Install This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
If you will try again and document exactly what you do, I will be happy to chime in with where I think you ought to change things. You must be missing something fundamental, because the documentation on this is pretty good. Micael YOU WROTE How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
From: STEVE R BURRUS [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 12:50 PM This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! Speaking of list volume... Since 99% of the people here simply Reply to the e-mail, 99% of the responses to your pleas should have the SAME SUBJECT as you used originally (this e-mail is a perfect example). If your e-mail client can not filter, sort, or whatever by e-mail subject, then you simply need to get a better client. Clearly your current client is not adequate to the tasks for which you wish to use it (for example, managing a high volume mailing list). As far as your request, you give NO details as to what is wrong, or how you think your installation is not correct. No details whatsoever. You don't say what things you've tried, what documents you refered to for guidance in those attempts, and how they are not working. The basic, binary install works just peachy out of the box. Extract it to someplace appropriate, cd $WHERE_YOU_EXTRACTED_IT/bin, type 'startup.sh' or 'startup.bat', and boom, it works. Your JAVA_HOME environment variable must be set. It's that simple. Finally, the point of a mailing list is not simply a forum to scream and shout for help, its a community for sharing knowledge. Just like a USENET newsgroup, the value in the mailing list is seeing how the problems that people have are worked out ON the mailing list, thus when someone else has a problem, the archives will hopefully have the answers. There are few things more aggravating that seeing nothing but pleas but no answers in a mailing list. That makes it essentially worthless, both for the current readers and for future readers. So, never expect private mail, particularly early on, from a public forum. It's not fair to anyone. But, why am I saying all of this, when you won't read it anyway. Regards, Will Hartung ([EMAIL PROTECTED]) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
Steve, People have tried to help you. Case in point, you emailed me directly asking me the following Now, would you please list, very methodically, all of the various steps involved in installing Tomcat?! Incidentally, I am trying/attempting to install version 4.0.4 without too damned many problems that I might encounter. I responded with the following First I'd have to know what OS you are installing on. I won't be able to give out any Unix specific install info since I work on Windows. I also need to know what difficulties you are having with your current install. I'd love to help you, but I'm not going to run through every last detail of an install because that is what the existing docs and the archives of this list are for. Once you give me some base info to work from, we can try to figure out the issue you are having. I am still awaiting a response letting me know what you are having trouble with, specifically. If you aren't going to bother writing back information that I need to help you out, I'm not going to go out of my way to help you. I offered my help and you ignored the offer. The only reason I can see for this behavior is that you want the solution spoon-fed to you so others do the work for you and you just benefit from the advice without having to do much of any work. Please don't flame back at me for this statement. If you believe the statement is a mis-characterisation of your intent, then prove me wrong by actually providing some evidence that you, in fact, *have* read the available documentation. Until you do this, you have nothing to say to anyone else and no one else has *any* obligation to answer your pleas for help. Note: I am still willing to help you out, but please take the above into account before asking for more help in the future. Make sure you define what you have done so far and what exactly you are having difficulty with. No one here will write a book for you just in case one of those steps might just solve your issue. Narrow your scope and you might get some better responsesand please stop with the this is Steve Burris in your email. We know who you are based on the from header in the email. You don't need to tell us again. later, Jake At 12:50 PM 8/21/2002 -0700, you wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
I made the same offer, with no response. At 06:59 PM 8/21/2002 -0500, you wrote: Steve, People have tried to help you. Case in point, you emailed me directly asking me the following Now, would you please list, very methodically, all of the various steps involved in installing Tomcat?! Incidentally, I am trying/attempting to install version 4.0.4 without too damned many problems that I might encounter. I responded with the following First I'd have to know what OS you are installing on. I won't be able to give out any Unix specific install info since I work on Windows. I also need to know what difficulties you are having with your current install. I'd love to help you, but I'm not going to run through every last detail of an install because that is what the existing docs and the archives of this list are for. Once you give me some base info to work from, we can try to figure out the issue you are having. I am still awaiting a response letting me know what you are having trouble with, specifically. If you aren't going to bother writing back information that I need to help you out, I'm not going to go out of my way to help you. I offered my help and you ignored the offer. The only reason I can see for this behavior is that you want the solution spoon-fed to you so others do the work for you and you just benefit from the advice without having to do much of any work. Please don't flame back at me for this statement. If you believe the statement is a mis-characterisation of your intent, then prove me wrong by actually providing some evidence that you, in fact, *have* read the available documentation. Until you do this, you have nothing to say to anyone else and no one else has *any* obligation to answer your pleas for help. Note: I am still willing to help you out, but please take the above into account before asking for more help in the future. Make sure you define what you have done so far and what exactly you are having difficulty with. No one here will write a book for you just in case one of those steps might just solve your issue. Narrow your scope and you might get some better responsesand please stop with the this is Steve Burris in your email. We know who you are based on the from header in the email. You don't need to tell us again. later, Jake At 12:50 PM 8/21/2002 -0700, you wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat Install RPM question...
Hello. Ive been trying to figure our exactly how to install this for a week now and no success, and I was wondering if someone can just quickly tell me exactly which RPMs I need to *successfully* install and run a Tomcat 4 environment with virtual hosts (on a shared web hosting server). So far, Ive gathered I need mod_jk and the Tomcat RPM, but are there any others? Which RPMs from here?: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ Or is there another location to look for what I need too? Thank you kindly. Robert
Tomcat install walkthrough - make of it what you will
I wrote this for my own use, and would like to contribute it as a (maybe) useful addition to the tomcat documentation. Can't really figure out where to send it (just making suggestions doesn't seem to be possible without joining mailing lists), so I'm going with this. I apologize if this isn't the appropriate place to post this. Maybe someone could set up a high-volume junk/suggestion email address for people like me, people who want to be helpful but don't have time to waste figuring out the right way to do it? I understand wanting to filter out people who are just being stupid and not bothering to look around, but I spent a significant amount of time trying to figure out how/where to submit something and just ended up feeling frustrated because I didn't find any alternative to jumping through hoops. I ended up feeling like hey, screw it. If they don't want my help I have better things to be doing with my time anyway. Isn't the idea of open source to not make people feel like that? --Bill