Re: Is there a common lib between webapps, but not instances?
$CATALINA_HOME/shared/lib shares jars between webapps but not tomcat. Mark Frank Diakovasilis wrote: I have multiple instance of Tomcat set up with multiple webapps in each. I would like a jar file to be shared across the webapps, but not across the instances. Is there a directory in place for that, or does anyone know how to get around this? TomcatHome\common\ is shared across instances so is not good. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need a basic configuration for Tomcat 4.1.18, Apache 2.0.39,mod_jk under Solaris.
I had/have the same problem with the examples using mod_jk ... but the applications I care about work fine ... I think I changed the examples/*.jsp to examples/* in httpd.conf and got better results. This is in fact how I setup my apps : JkMount /app1/* worker1 Also, why not use the jni connector instead? It looks to me that you are running them both on the same machine and the jni connector will be faster for you. Mark Julio César Mejia Vergara wrote: Hello, I have a SunBlade 100 (SPARC) with Solaris 8 running Apache 2.0.39 (Compiled) and Tomcat 4.1.18 (Binary) , i just finished compiling mod_jk.so yesterday whit no errors and everything looks good when a start Tomcat and Apache but when i try to run the jsp and servelt examples http://localhost/examples/jsp/num/numguess.jsp i get error 404 NOT FOUND, i can access the examples directory http://147.15.81.14/examples/jsp/num/ and i can see 3 archives, the web server can open the text and source files, but when apache trays to open the jsp file it returns that error. If a try to access the same examples directly from tomcat http://147.15.81.14:8080/examples/jsp/num/numguess.jsp it executs is whit no problems. So i think it must a comunication problems bettewn Apache and Tomcat, probably i have not configured something right. Can some one send me some basic configuration files (server.xml, workers.properties, httpd.conf or mod_jk.conf) so i can compare them to mine and get this thing working. Thanks Julio [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]
need help with tomcat service(compiling jsps)
Hello All, I installed tomcat as a service and am getting errors compiling jsps ... it works fine just using the startup.bat. I am using tomcat 4.1.18 and jdk1.3.1. Here is the install command I used : d:\Programs\tomcat\bin\tomcat -install Tomcat D:\Programs\jdk1.3.1\jre\bin\hotspot\jvm.dll -Xmx512m -Xms32m -Xmixed -Djava.class.path=D:\Programs\tomcat\bin\bootstrap.jar -Djava.endorsed.dirs=D:\Programs\tomcat\bin;D:\Programs\tomcat\common\lib -Dcatalina.home=D:\Programs\tomcat -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out D:\Programs\tomcat\logs\startup-out.txt -err D:\Programs\tomcat\logs\startup-err.txt Here is the exception report : org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file [javac] Modern compiler not found - looking for classic compiler at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:550) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432) at
Re: error opening tomcat admin login page
Thanks! That was the problem! I just needed to use gnu tar. Add sgi to the list of platforms that mess up the tomcat installation. Mark Roberts, Eric wrote: Hi Mark, Sorry I didn't have much time yesterday so sent a very brief response! I experienced this problem when copying my Tomcat installation from W2K to Unix. The file transfer mechanism screwed up lots things, mainly case sensitivity, CR/LF. As you point out, only the admin application (struts based) seems to be affected. About a week ago Roberto Rios posted to the list with the exact same problem - and my advice on reinstallation worked for him. I am not familiar with your platform, but would guess that your gunzip or tar utilities are doing something unexpected when extracting the files. On the download page for Tomcat appears the following: NOTE: The tar files in this distribution use GNU tar extensions, and must be untarred with a GNU compatible version of tar. The version of tar on Solaris and Mac OS X will not work with these files. Add HP-UX to that list also :-( I extract everything on W2K from .zip, then use a custom ant target to tar and gzip everything back up again into a .tar.gz which does extract properly under HP-UX - ho-hum :-) I can only advise you try a reinstallation, if that still doesn't work, see if you can come up with a similar workaround. HTH -Original Message- From: Mark Strecker [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 19. Februar 2003 19:34 To: Tomcat Users List Subject: Re: error opening tomcat admin login page Thanks for your response. I am having trouble understanding what to do. I tried to track down the source of the problem and I found the message tag in struts-bean.tld ... but that's it. I couldn't find any properties files in the admin webapp ... would you be more specific about which file(s) you mean? Are you saying to reinstall Tomcat? I'm not sure what would happen differently if I did. It's a simple gunzip, tar -xf then run tomcat. Would you elaborate on this too? TIA, Mark Roberts, Eric wrote: Hi, Its a case sensitivity issue - when you installed either message got translated to MESSAGE or the other way round. Two solutions - 1) re-install from another souce or 2) go down into the admin app directories and change the names of the properties files manually HTH -Original Message- From: Mark Strecker [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 19. Februar 2003 17:42 To: Tomcat Users List Subject: error opening tomcat admin login page Hello All, I installed tomcat 4.1.18 on an sgi(Java 1.3.1 on Irix 6.5) and cannot open the admin login(/admin/login.jsp). I get this exception : org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:530, Compiled Code) at org.apache.jsp.login_jsp._jspService(login_jsp.java:188, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853, Compiled Code) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853, Compiled Code) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247, Compiled Code) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193, Compiled Code) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:550, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415, Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke
error opening tomcat admin login page
Hello All, I installed tomcat 4.1.18 on an sgi(Java 1.3.1 on Irix 6.5) and cannot open the admin login(/admin/login.jsp). I get this exception : org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:530, Compiled Code) at org.apache.jsp.login_jsp._jspService(login_jsp.java:188, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853, Compiled Code) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853, Compiled Code) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247, Compiled Code) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193, Compiled Code) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:550, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415, Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641, Compiled Code) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223, Compiled Code) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432, Compiled Code) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386, Compiled Code) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534, Compiled Code) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530, Compiled Code) at java.lang.Thread.run(Thread.java:484, Compiled Code) Any help would be greatly appreciated. Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error opening tomcat admin login page
Thanks for your response. I am having trouble understanding what to do. I tried to track down the source of the problem and I found the message tag in struts-bean.tld ... but that's it. I couldn't find any properties files in the admin webapp ... would you be more specific about which file(s) you mean? Are you saying to reinstall Tomcat? I'm not sure what would happen differently if I did. It's a simple gunzip, tar -xf then run tomcat. Would you elaborate on this too? TIA, Mark Roberts, Eric wrote: Hi, Its a case sensitivity issue - when you installed either message got translated to MESSAGE or the other way round. Two solutions - 1) re-install from another souce or 2) go down into the admin app directories and change the names of the properties files manually HTH -Original Message- From: Mark Strecker [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 19. Februar 2003 17:42 To: Tomcat Users List Subject: error opening tomcat admin login page Hello All, I installed tomcat 4.1.18 on an sgi(Java 1.3.1 on Irix 6.5) and cannot open the admin login(/admin/login.jsp). I get this exception : org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:530, Compiled Code) at org.apache.jsp.login_jsp._jspService(login_jsp.java:188, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853, Compiled Code) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853, Compiled Code) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247, Compiled Code) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193, Compiled Code) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:550, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415, Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641, Compiled Code) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174, Compiled Code) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643, Compiled Code) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480, Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995, Compiled Code) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223, Compiled Code) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432, Compiled Code) at org.apache.coyote.http11.Http11Protocol
Re: Configuring Tomcat 4.1 with iPlanet iWS 6.0
I am going through this process with v4.1.8 and you have two choices : in process and out of process connections. You can use the jk2 (ajp13 protocol, since you are using Tomcat 4.x) native connector to run iplanet and connect to Tomcat via TCP or you can use the JNI connector for in process. You can find the connectors from the downloads page and pretty good instructions on compiling it. If you are on nt, it will be quite easy. Go here to learn about jk, iplanet specific config and workers : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html Mark Chris Gow wrote: Hi: I've just downloaded and setup Tomcat 4.1 and have it working in its default configuration. I am now trying to get Tomcat working with iPlanet iWS. I'm a little (ok a lot) confused about how to go about configuring this. Do I use jk2? If so, where do I get the binary from? Is there a binary anywhere? tia -- chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need some help with connector
Hello, I have the connector for Netscape/Iplanet 4.1.8 to Tomcat 4.1.12 mostly working and am looking for some help for the rest. Here is what is happening. The connection is up and talking with Tomcat. I can serve up /examples/ ... but /examples/jsp/ returns error 302 The requested resource () has moved temporarily to a new location. I can even serve up /examples/jsp/num and /examples/jsp/num/numguess.jsp. I am wondering why I get error 302 any ideas? Thanks, Mark