RE: (SLIGHTOFFTOPIC)SSL configuration for apache and tomcat
one way of doing it is Step 1 - Install OpenSSL 0.9.6g --- a) Copy the file /software/apache-ssl/openssl-0.9.6g.tar.gz to /tmp b) Extract the file using the tar command - "cd /tmp" - "tar zxvf openssl-0.9.6g.tar.gz" c) Configure the software (make sure to substitute the variable) - "cd openssl-0.9.6g" - "./config --prefix= d) Build the open ssl software - "make" - "make test" - "make install" Step 2 - Install Apache 2.0.43 -- a) Copy the file /software/apache-ssl/httpd-2.0.43.tar.gz to /tmp b) Extract the file using the tar command - "cd /tmp" - "tar zxvf httpd-2.0.43.tar.gz" c) Configure the software (make sure to substitute the and variables) - "cd httpd-2.0.43" - "./configure --prefix= --with-ssl= --enable-s sl=static --enable-mods-shared=all --with-mpm=worker --enable-proxy=shared" d) Build the Apache server - "make" - "make install" e) Copy the ssl test certificates into the conf directory (make sure to substitute the and variables) - "cp -R /software/apache-ssl/ssl-test-certificates/ssl.* /conf/" f) Start the server (make sure to substitute the and variables) - "/bin/apachectl startssl" > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker > Sent: Friday, June 13, 2003 10:07 PM > To: [EMAIL PROTECTED] > Subject: Re: (SLIGHTOFFTOPIC)SSL configuration for apache and tomcat > > > mod_ssl ships with Apache 2.0.x. Try: > $ ./configure --enable-ssl > $ make > $ sudo make install > > > "Shyama Gavulla" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi All, > > > > Thanks to everyone here who responded to my emails immediatly and helped > me in > > moving my from Jrun to Tomcat. The transition was smooth and now my web > app > > runs perfectly on tomcat and apache2.0.46. I have some other things to > move > > from Jrun to tomcat and apache. > > > > First one is SSL > > > > I didnt find the mod_ssl.so in the modules directory of apache > . Where can > I > > download them and how can I configure it? > > > > Second scheduler for tomcat: > > > > I have a thread which has to run every day. How can I do it in tomcat ? > > > > It would be grateful if someone can tell me some documentation > about these > > things . and once aain THANKS A LOT. > > > > Thanks in advance, > > shyam > > > > > - > 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: Directory Listing in Tomcat 4.1.24
My thoughts exactly ;-). Patches are always welcome. "Angus Mezick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Well, if he got REALLY ambitious he could go edit tomcat itself couldn't he? > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 7:23 AM > To: Tomcat Users List > Subject: Re: Directory Listing in Tomcat 4.1.24 > > > There is no way to change directory listing layout. > > -Tim > > Philipp Gasser wrote: > > Hi all, > > > > I use the tomcat 4.1.24. > > Is there a way to change the directorylayout? > > > > _Instead of showing GMT based timestamps for files, I would like to > > display them in my own timestamp format? > > > > _I would like to change the directory and file order (the > youngest on top > > of the list, etc)? > > > > thanks in advance > > > > Philipp > > > > > > > > > > > > > > > > > - > > 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: Integrating iPlanet 4.1 and Tomcat 4.1.24
I haven't personally dealt with iPlanet in so long, that it was called NS back then ;-). The first thing that I would do is to enable the AutoConfig: /> and compare it to what you've configured. The options are similar to ApacheConfig (which is documented, unlike NSConfig :-(). The closest documentation is probably http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#NSConfig, since the 4.x class is mostly a port of the 3.3 class. "Marquardt Angela" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I successfully connected the iPlanet Web Server via the nsapi-redirector with the Tomcat Servlet Engine via AJP13. > > The "ppath" attribute in the "Object" tag of the iPlanet Web Server's obj.conf to forward *.jsp files to Tomcat. > The physical path to the Tomcat examples is resolved with the name trans directive, pfx2dir attribute, mapping "/webapps" to "/opt/Tomcat-4.1.24/webapps". (Document Root is not CATALINA_HOME.) > This works so far, the log files show that requests for jsp files are forwarded to the Tomcat Sevlet Engine and return codes are given back to the iPlanet Web Server. > > The problem now is that Tomcat cannot resolve the requested URI forwarded from the iPlanet Web Serverand returns "404 File not found" for every request on jsp pages. > The server name mapping is successful and the index.jsp is a copy of /opt/Tomcat-4.1.24/webapps/ROOT and physically exists in /opt/Tomcat-4.1.24/webapps. > > I tried several alternatives in obj.conf but nothing cures the problem. > > Any ideas? > > Regards, Angela > > -- - > > > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: --- > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: authType=null > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: contentLength=-1 > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: contentType=text/html;charset=ISO-8859-1 > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: header=Content-Language=en > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: message=/webapps/index.jsp > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: remoteUser=null > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: status=404 > 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: === > 2003-06-13 15:55:31 Ajp13Processor[10009][4] done invoking, finishing request/response > 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] sendHeaders() > 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] status is: 404(Not Found) > 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] send() > 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] doWrite(byte[], 0, 737) > 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] send() > 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] finish() - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: (SLIGHTOFFTOPIC)SSL configuration for apache and tomcat
mod_ssl ships with Apache 2.0.x. Try: $ ./configure --enable-ssl $ make $ sudo make install "Shyama Gavulla" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All, > > Thanks to everyone here who responded to my emails immediatly and helped me in > moving my from Jrun to Tomcat. The transition was smooth and now my web app > runs perfectly on tomcat and apache2.0.46. I have some other things to move > from Jrun to tomcat and apache. > > First one is SSL > > I didnt find the mod_ssl.so in the modules directory of apache . Where can I > download them and how can I configure it? > > Second scheduler for tomcat: > > I have a thread which has to run every day. How can I do it in tomcat ? > > It would be grateful if someone can tell me some documentation about these > things . and once aain THANKS A LOT. > > Thanks in advance, > shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subject: Nightmare with Tomcat 4.1 and SSL configuration
I've been adding more logging to the SSL components in TC 5.x (at DEBUG or TRACE level, so it doesn't show up unless you ask :). Some of that will likely find its way back into future versions of TC 4.1.x. At the moment, yes, the logging of errors (especially ones that could be config related) is pretty sparse. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Cosmin > > I was stuck on the same issue for sometime. Then I realised that I had not > put the jsse jar in the classpath. So I copied the 3 jars - jsse.jar, > jnet.jar, jcert.jar into %JAVA_HOME%\jre\lib\ext. After that the problem > went away. > > However, I would like to understand how I can configure tomcat to see the > logs. When I was getting I didn't find an easy way to figure out why the > error was coming. > > > This communication is for informational purposes only. It is not intended as > an offer or solicitation for the purchase or sale of any financial instrument > or as an official confirmation of any transaction. All market prices, data > and other information are not warranted as to completeness or accuracy and > are subject to change without notice. Any comments or statements made herein > do not necessarily reflect those of J.P. Morgan Chase & Co., its > subsidiaries and affiliates. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat classpath not set at boot
It's not a system CLASSPATH I have set. I put the jar files I want in the CLASSPATH in $CATALINA_HOME/shared/lib. Tomcat does recognize these if I start Tomcat manually, but not if I have Tomcat staring at boot time with the script in /etc/rc.d/init.d On Fri, 13 Jun 2003, Tim Funk wrote: > Tomcat ignores system CLASSPATH at startup and creates its own. > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html > > -Tim > > Chad Lemmen wrote: > > I've got Tomcat 4.1.24 starting at boot on my Linux box with a script in > > /etc/rc.d/init.d. The script looks like this > > > > #!/bin/sh > > JAVA_HOME=/usr/java > > export JAVA_HOME > > /opt/jakarta-tomcat-4.1.24/bin/startup.sh > > > > > > Tomcat is starting at boot and seems to work fine http://localhost:8080 > > brings up the default Tomcat home page. The only thing that doesn't seem > > to be working is my classpaths that I set in the catalina.sh file are not > > being set. If I start Tomcat from the command line my classpaths are > > being read and my servlet works, but when starting Tomcat at boot my > > classpaths don't seem to be set because when I try to run my servlet I get > > "java.lang.NoClassDefFoundError" > > > > I don't get this error when Tomcat is started from the command line. Why > > would starting it at boot time not use my user set classpaths? > > > > Here is the portion of catalina.sh that I added my classpath to. > > > > # Add on extra jar files to CLASSPATH > > if [ -n "$JSSE_HOME" ]; then > > > > CLASSPATH="$CLASSPATH":"$JSSE_HOME"/lib/jcert.jar:"$JSSE_HOME"/lib/jnet.jar: > > "$JSSE_HOME"/lib/jsse.jar > > fi > > CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar: > > /opt/EspressReport/lib/ReportAPIWithChart.jar: > > /opt/EspressReport/lib/ExportLib.jar > > > > > > I also tried adding the two jar files ReportAPIWithChart.jar and > > ExportLib.jar to CATALINA_HOME/shared/lib > > > > Both methods work and my classpaths are set and my servlet works, but only > > if Tomcat is started from the command line "CATALINA_HOME/bin/startup.sh". > > Why doesn't this work when starting at boot? > > > > - > > 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: mod_jk questions
John, I could wait until next week. What do you think about the fact that jsp refuses to load but html files load fine? This happens once in awhile. Is it the max number of connections were made? Or is mod_jk/tomcat puking? What would be a way of remedying this? Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [EMAIL PROTECTED] -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 2:08 AM To: Tomcat Users List Subject: Re: mod_jk questions Well, building it is pretty easy, all things considered. Is that an option for you? I haven't built any of the 1.2.4 releases yet, but I doubt they are much different than the others. I can furnish build instructions, as can others on the list. Otherwise, you will have to wait for the binary, probably next week. John On Sat, 14 Jun 2003 00:18:50 +0900, Wayne Chang <[EMAIL PROTECTED]> wrote: > John, > > The platform is Red Hat 9. > > Best regards, > > > > Wayne Chang > > Pacific Northwest Software > > Mobile: (978) 869-3446 > > Email: [EMAIL PROTECTED] > > -Original Message- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 14, 2003 12:01 AM > To: Tomcat Users List > Subject: Re: mod_jk questions > > > > Platform? > > John > > On Fri, 13 Jun 2003 23:47:47 +0900, Wayne Chang <[EMAIL PROTECTED]> > wrote: > >> Hi, >> >> I noticed that the mod_jk 1.2.4 was recently released. I was wondering >> if >> you had a binary of it available for Apache 1.3 and Tomcat 4.1. I would >> like to upgrade my mod_jk. On a related note, I was hoping you could >> shed >> some light on some trouble I've been having. Sometimes the website >> doesn't >> respond to jsp requests, but loading html files is okay. I think it's a >> mod_jk problem which is why I would like to upgrade it. >> >> Any input at all would be much appreciated, thank you for your time, >> >> Best regards, >> >> >> Wayne Chang >> >> Pacific Northwest Software >> >> Mobile: (978) 869-3446 >> >> Email: [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] -- 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 classpath not set at boot
Tomcat ignores system CLASSPATH at startup and creates its own. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Tim Chad Lemmen wrote: I've got Tomcat 4.1.24 starting at boot on my Linux box with a script in /etc/rc.d/init.d. The script looks like this #!/bin/sh JAVA_HOME=/usr/java export JAVA_HOME /opt/jakarta-tomcat-4.1.24/bin/startup.sh Tomcat is starting at boot and seems to work fine http://localhost:8080 brings up the default Tomcat home page. The only thing that doesn't seem to be working is my classpaths that I set in the catalina.sh file are not being set. If I start Tomcat from the command line my classpaths are being read and my servlet works, but when starting Tomcat at boot my classpaths don't seem to be set because when I try to run my servlet I get "java.lang.NoClassDefFoundError" I don't get this error when Tomcat is started from the command line. Why would starting it at boot time not use my user set classpaths? Here is the portion of catalina.sh that I added my classpath to. # Add on extra jar files to CLASSPATH if [ -n "$JSSE_HOME" ]; then CLASSPATH="$CLASSPATH":"$JSSE_HOME"/lib/jcert.jar:"$JSSE_HOME"/lib/jnet.jar: "$JSSE_HOME"/lib/jsse.jar fi CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar: /opt/EspressReport/lib/ReportAPIWithChart.jar: /opt/EspressReport/lib/ExportLib.jar I also tried adding the two jar files ReportAPIWithChart.jar and ExportLib.jar to CATALINA_HOME/shared/lib Both methods work and my classpaths are set and my servlet works, but only if Tomcat is started from the command line "CATALINA_HOME/bin/startup.sh". Why doesn't this work when starting at boot? - 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: JSP Compiler output?
Check localhost_log.xxx -Tim Noel Rappin wrote: We're porting an application from JRun to Tomcat, and we're having one large issue... When a JSP compile fails on the Tomcat Server, the log message just says that there was a failure, but doesn't say what the compiler error actually is. We can't seem to find any place where the actual compiler error is saved or logged. Is there any way to find the actual text of the compiler error so that we can track it down? Noel Rappin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems with remove function in manager (Tomcat 4.1.24)
Hi, I'm having a problem using the remove function of the manager app (either directly or through the HTML interface) that I haven't found any comments on in the archives. Basically whenever I try to remove a web application I get the following response: FAIL - Encountered exception java.io.IOException: java.lang.NullPointerException Looking at the log output, there's a stack trace: 2003-06-13 17:04:55 StandardHost[localhost]: Error removing application at context path /NewChart java.lang.NullPointerException at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDepl oyer.java:534) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:877) at org.apache.catalina.servlets.ManagerServlet.remove(ManagerServlet.jav a:843) at org.apache.catalina.servlets.HTMLManagerServlet.remove(HTMLManagerSer vlet.java:519) at org.apache.catalina.servlets.HTMLManagerServlet.doGet(HTMLManagerServ let.java:153) 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(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:551) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a: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.j ava:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22 3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:619) at java.lang.Thread.run(Thread.java:536) 2003-06-13 17:04:55 HTMLManager: ManagerServlet.remove[/NewChart] java.io.IOException: java.lang.NullPointerException at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDepl oyer.java:595) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:877) at org.apache.catalina.servlets.ManagerServlet.remove(ManagerServlet.jav a:843) at org.apache.catalina.servlets.HTMLManagerServlet.remove(HTMLManagerSer vlet.java:519) at org.apache.catalina.servlets.HTMLManagerServlet.doGet(HTMLManagerServ let.java:153) 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(Appl icationFilterChain.java:247)
Re: Running Tomcat3 on port 80
Ok, thanks. Changing TOMCAT_USER in tomcat3.conf to 'root' did the trick, eventually. I had errors in several chown commands during the setup for start. I just commented them out, since there shouldn't be any need for a root user to access files, right? Anyway, it's running now, on port 80 and I can move on Again, thanks! Regards, Terry Fuller [EMAIL PROTECTED] --- In <[EMAIL PROTECTED]>, on 06/13/2003 at 02:36 PM, John Turner <[EMAIL PROTECTED]> said: >The only user with permission to bind to port 80 is "root". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: command line application manger?
Use web-based Tomcat Manager or ant Catalina tasks. -Original Message- From: Steven Garrett [mailto:[EMAIL PROTECTED] Sent: June 13, 2003 4:42 PM To: 'Tomcat Users List' Subject: command line application manger? Is there such a thing? I see stuff for the application one, but we don't have that installed. Is this something that I'll need to install to be able to deploy/stop/start applications without having to take tomcat down completely? Thanks, Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat on Mac OS X Server
Hello Everyone, I am trying to install the latest stable version of Tomcat (4.1.24) on Mac OS X SERVER 10.2.3. Due to some reason the startup fails with exception posted at the end of this message I tried Aaron Faby's Tomcat installer package as well as binary from tomcat's website. I worked really instantly on a regular os x machine. I am pretty comfortable installing tomcat on any platform but I just can't get it to run on X-SERVE. I also tried some obvious solutions such as adding the tomcat-coyote.jar file to classpath in startup scripts. But because of some strange I still get the same reason. I made sure that the class file in question is actually present in tomcat-coyote.jar Did anyone sucessfully install latest version of Tomcat? If yes, could you provide suggestions/pointers. Thanks. -Rahul. ERROR MESSAGE FROM LOG FILE: ERROR reading /opt/Tomcat/conf/server.xml At Line 99 /Server/Service/Connector/ className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcess ors=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disable UploadTimeout=true Catalina.start: java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at = I used to be indecisive; now I'm not sure. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
command line application manger?
Is there such a thing? I see stuff for the application one, but we don't have that installed. Is this something that I'll need to install to be able to deploy/stop/start applications without having to take tomcat down completely? Thanks, Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP Compiler output?
We're porting an application from JRun to Tomcat, and we're having one large issue... When a JSP compile fails on the Tomcat Server, the log message just says that there was a failure, but doesn't say what the compiler error actually is. We can't seem to find any place where the actual compiler error is saved or logged. Is there any way to find the actual text of the compiler error so that we can track it down? Noel Rappin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSL certificate question
I just deleted the existing server certificate and imported a new one into the keystore. No I see errors which say "No acceptable SSl 2 encryption methods found." when I try to access the site using the same URL as before. Could this error have been caused by the change in certificate or should I look elsewhere? I don't know of any other areas where substantive changes have been made. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reloading a webapp?
Hi I am doing some webapp developement and am modifying classes that are in use by Struts, so anytime I want to check on the app I must compile then reload tomcat to reload the classes. Is there anyway to have tomcat reload a webapp while it is still running? Using version 4.1. something =) Thanks-
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
No, not really. I learned by getting burned. I'm sure some sort of "Red Hat Unleashed" book or similar would have this information, as well as the Linux HOWTO. If the box is in a remote location, and the NIC config is screwed up, there are only three options: 1) a remote tech fixes it, 2) they ship it back to you, you fix it and ship it back, and 3) you go to the box and fix it. There is online help for ifconfig: man ifconfig (obviously) Or, as already suggested, you can put the config information into /etc/sysconfig/network/scripts/ifcfg-INTERFACE_NAME. So, for example, on a Compaq Proliant, /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 BOOTPROTO=static BROADCAST=XXX.XXX.XXX.255 IPADDR=XXX.XXX.XXX.24 NETMASK=255.255.255.0 NETWORK=XXX.XXX.XXX.0 ONBOOT=yes HTH John On Fri, 13 Jun 2003 14:43:58 -0500, David Nelson <[EMAIL PROTECTED]> wrote: Thanks John. Unbelievable how poor my collected documentation is. Any chance you could point me to a reference redhat admin manual? - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 1:28 PM Subject: Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env Actually, it would be ifcfg-devicename. John On Fri, 13 Jun 2003 13:26:25 -0400, Ronnie Tartar <[EMAIL PROTECTED]> wrote: > /etc/sysconfig/network-scripts/devicename > - Original Message - From: "John Turner" [EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, June 13, 2003 1:00 PM > Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env > > >> >> AFAIK, RH doesn't use the hosts file at all to set IP address. >> >> The address "setters" are in etc/init.d/network. You can configure your > IP >> address from the command line using ifconfig. This might require 15 >> minutes (actually 1 or 2 but most ISPs don't charge by the minute) of >> tech >> time on your ISP side, because without net access to the box you won't >> be >> able to SSH. >> >> John >> >> On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <[EMAIL PROTECTED] >> ind.com> wrote: >> >> > This may be slightly off topic but I'm sure others on the list can >> > relate. >> > >> > I'm working on getting a prod system up as a co-location at an ISP. >> > They've assigned an IP address but the IP is not working (i.e. ping >> > ipaddress returns timeout). >> > >> > Now they are saying that the network card is misconfigured on the >> server >> > but I'm fairly certain that RedHat reads from the /etc/hosts file to >> > determine IP to respond to. >> > >> > Am I correct or missing some significant step in configuring the >> server? >> > >> > Thanks >> > -Dave >> > >> > - >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: tomcat-user- [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] > > -- 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] -- 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]
JK2 Download Location
I am unable to find the download for the JK2 connector. I am running RH 9, Apache 2, and Tomcat 4. Ultimately, I think I'm looking for the mod_jk2.so and jkjni.so files. I'm trying to follow the instructions at Jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/installhowto.html and vhosthowto.html Thanks for your help in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSL certificate question
I just deleted the existing server certificate and imported a new one into the keystore. Now I get errors which say "No acceptable SSl 2 encryption methods found." when I try to access the site using the same URL as before. Could this error have been caused by the change in certificate or should I look elsewhere? As far as I know the certificate was made and signed the same way as the old one. I also don't know of any other areas where substantive changes have been made. Any tips of what I should look at and where? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat classpath not set at boot
I've got Tomcat 4.1.24 starting at boot on my Linux box with a script in /etc/rc.d/init.d. The script looks like this #!/bin/sh JAVA_HOME=/usr/java export JAVA_HOME /opt/jakarta-tomcat-4.1.24/bin/startup.sh Tomcat is starting at boot and seems to work fine http://localhost:8080 brings up the default Tomcat home page. The only thing that doesn't seem to be working is my classpaths that I set in the catalina.sh file are not being set. If I start Tomcat from the command line my classpaths are being read and my servlet works, but when starting Tomcat at boot my classpaths don't seem to be set because when I try to run my servlet I get "java.lang.NoClassDefFoundError" I don't get this error when Tomcat is started from the command line. Why would starting it at boot time not use my user set classpaths? Here is the portion of catalina.sh that I added my classpath to. # Add on extra jar files to CLASSPATH if [ -n "$JSSE_HOME" ]; then CLASSPATH="$CLASSPATH":"$JSSE_HOME"/lib/jcert.jar:"$JSSE_HOME"/lib/jnet.jar: "$JSSE_HOME"/lib/jsse.jar fi CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar: /opt/EspressReport/lib/ReportAPIWithChart.jar: /opt/EspressReport/lib/ExportLib.jar I also tried adding the two jar files ReportAPIWithChart.jar and ExportLib.jar to CATALINA_HOME/shared/lib Both methods work and my classpaths are set and my servlet works, but only if Tomcat is started from the command line "CATALINA_HOME/bin/startup.sh". Why doesn't this work when starting at boot? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Thanks John. Unbelievable how poor my collected documentation is. Any chance you could point me to a reference redhat admin manual? - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 1:28 PM Subject: Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env > > Actually, it would be ifcfg-devicename. > > John > > > On Fri, 13 Jun 2003 13:26:25 -0400, Ronnie Tartar <[EMAIL PROTECTED]> > wrote: > > > /etc/sysconfig/network-scripts/devicename > > - Original Message - From: "John Turner" > [EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Friday, June 13, 2003 1:00 PM > > Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env > > > > > >> > >> AFAIK, RH doesn't use the hosts file at all to set IP address. > >> > >> The address "setters" are in etc/init.d/network. You can configure your > > IP > >> address from the command line using ifconfig. This might require 15 > >> minutes (actually 1 or 2 but most ISPs don't charge by the minute) of > >> tech > >> time on your ISP side, because without net access to the box you won't > >> be > >> able to SSH. > >> > >> John > >> > >> On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <[EMAIL PROTECTED] > >> ind.com> wrote: > >> > >> > This may be slightly off topic but I'm sure others on the list can > >> > relate. > >> > > >> > I'm working on getting a prod system up as a co-location at an ISP. > >> > They've assigned an IP address but the IP is not working (i.e. ping > >> > ipaddress returns timeout). > >> > > >> > Now they are saying that the network card is misconfigured on the > >> server > >> > but I'm fairly certain that RedHat reads from the /etc/hosts file to > >> > determine IP to respond to. > >> > > >> > Am I correct or missing some significant step in configuring the > >> server? > >> > > >> > Thanks > >> > -Dave > >> > > >> > - > >> > 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] > > > > > > > > -- > 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: win2000 issue with tomcat4.1.24
Can you verify that Tomcat has even started? On Windows, open up a command window. Execute "CATALINA_HOME/bin/catalina.bat run". This will leave the console window open. Make sure Tomcat does not exit prematurely when you try to start it. If it does exit prematurely, please tell us what the error message is, and what are the contents of the log files in CATALINA_HOME/logs. If it does not exit prematurely and stays up, please tell us the contents of the log files in CATALINA_HOME/logs when you make your request. John On Fri, 13 Jun 2003 14:51:17 -0400, Srinivasu Gandu <[EMAIL PROTECTED]> wrote: I am at accessing http://localhost:8080 , I don't have any other code...tomcat home page is not comming up?? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:51 AM To: Tomcat Users List Subject: Re: win2000 issue with tomcat4.1.24 Please be as SPECIFIC as possible. You get 503 EXACTLY when? What servlet is unavailable? What URL? The Tomcat examples? Or your own code? John On Fri, 13 Jun 2003 09:37:27 -0400, Srinivasu Gandu <[EMAIL PROTECTED]> wrote: I did the fresh installation of tomcat and java and I set the following as enviroment variables.. CATALINA_HOME=c:\Tomcat4.1 JAVA_HOME = c:\j2sdk-1_4_1_01 I have set the c:\j2sdk-1_4_1_01\bin in path. The above all I had before but I did it again in the new and fresh installation.. I am getting 503 error. HTTP Status 503 - Servlet jsp is currently unavailable - - -- type Status report message Servlet jsp is currently unavailable description The requested service (Servlet jsp is currently unavailable) is not currently available. Thanks - srini. -Original Message- From: Tam, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 2:11 PM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24 I would recommend you to uninstall the existing tomcat and re-install it again WITHOUT using the default path (i.e. try install it in C:\tomcat4.1.24 for example). For the variables(JAVA_HOME and CATALINA_HOME), you should set them as environment variables in your win2k not in your autoexec.bat (I'm not sure if it matters but I believe it is specified in the installation document or something). -Original Message- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:27 AM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24 Yes I did install in "Program Files\Apache Group\Tomcat4.1" But when I install in other directory I am getting HTTP Status 503 - Servlet jsp is currently unavailable. I hav't set the java home and catalina home for win98. 1) installed j2sdk-1_4_1_01-windows-i586.exe in win98 2) I just intall the jakarta-tomcat-4.1.24.exe in win98 and able to acces the http://localhost:8080 Same thing I did for the win2000 machine but it is giving this problem.. So then I added SET JAVA_HOME = C:\j2sdk-1_4_1_01 to autoexec.bat same problem.. I will try to add SET CATALINA_HOME = c:\Program Files\Apache Group\Tomcat4.1 but I can not delete the spaces between the program files right??? Thanks - srini. -Original Message- From: Tam, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:32 PM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24 Sorry I didn't follow this topic from the beginning but maybe you should post where EXACTLY you have tomcat and j2sdk installed and the EXACT values you have set for JAVA_HOME and CATALINA_HOME so we can see if anything went wrong of those settings. In addition, if you install tomcat under "Program Files\Apache Group\Tomcat 4.1" path, you probably get into trouble with the spacing between those directory names. Cheers, Michael -Original Message- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 6:43 AM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24 Yoav Shapira, Could you put me in right direction what is going wrong on this.. 1) I have a j2sdk-1_4_1_01\bin in my path 2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file. 3) I have done this " The JVM specified in the registry doesn't seem to work for compiling JSPs. You can edit the registry and change the value of HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat 4.1/Parameters/JVM Library and make it point to the jvm.dll in javainstallation\jre\bin\server\jvm.dll and that should take care of it. " But still no luck same compiler error??? what needs to be done?? let us know if some body have success in this.. appreciate it. Thanks - Srini. -Original Message- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 10:27 AM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24 Hi all, I am using win2000 and trying to install and run the tomcat4.1.24, I am getting an
Prevent jsps from recompiling
Hello - I am using Tomcat 4.1.24 and having problems with it trying to recompile my jsps even though they are compiled (jsps are located in WEB-INF/classes/jsp-servlet) I have set this in the web.xml (development=false, reloading=false, checkInterval=-1) and it still recompiles the jsps. jsp org.apache.jasper.servlet.JspServlet development false checkInterval -1 reloading false Is there a way to prevent this from recompiling my jsps ? Thanks Raul - Do you Yahoo!? Free online calendar with sync to Outlook(TM).
Prevent JSPs from re-compiling
Hello - I am using Tomcat 4.1.24 and having problems with it trying to recompile my jsps even though they are compiled. I have set this in the web.xml (development=false, reloading=false, checkInterval=-1) and it still recompiles the jsps. jsp org.apache.jasper.servlet.JspServlet development false checkInterval -1 reloading false Is there a way to prevent this from recompiling my jsps ? Thanks Raul The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: win2000 issue with tomcat4.1.24
I am at accessing http://localhost:8080 , I don't have any other code...tomcat home page is not comming up?? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:51 AM To: Tomcat Users List Subject: Re: win2000 issue with tomcat4.1.24 Please be as SPECIFIC as possible. You get 503 EXACTLY when? What servlet is unavailable? What URL? The Tomcat examples? Or your own code? John On Fri, 13 Jun 2003 09:37:27 -0400, Srinivasu Gandu <[EMAIL PROTECTED]> wrote: > I did the fresh installation of tomcat and java and I set the following > as > enviroment variables.. > CATALINA_HOME=c:\Tomcat4.1 > JAVA_HOME = c:\j2sdk-1_4_1_01 > > I have set the c:\j2sdk-1_4_1_01\bin in path. The above all I had before > but I did it again in the new and fresh > installation.. > I am getting 503 error. > > HTTP Status 503 - Servlet jsp is currently unavailable > -- > > > -- > > type Status report > message Servlet jsp is currently unavailable > description The requested service (Servlet jsp is currently unavailable) > is > not currently available. > > Thanks - srini. > > > -Original Message- > From: Tam, Michael [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 2:11 PM > To: 'Tomcat Users List' > Subject: RE: win2000 issue with tomcat4.1.24 > > > I would recommend you to uninstall the existing tomcat and re-install it > again WITHOUT using the default path (i.e. try install it in > C:\tomcat4.1.24 > for example). > For the variables(JAVA_HOME and CATALINA_HOME), you should set them as > environment variables in your win2k not in your autoexec.bat (I'm not > sure > if it matters but I believe it is specified in the installation document > or > something). > > -Original Message- > From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 10:27 AM > To: 'Tomcat Users List' > Subject: RE: win2000 issue with tomcat4.1.24 > > > Yes I did install in "Program Files\Apache Group\Tomcat4.1" > > But when I install in other directory I am getting HTTP Status 503 - > Servlet > jsp is currently unavailable. > > I hav't set the java home and catalina home for win98. > > 1) installed j2sdk-1_4_1_01-windows-i586.exe in win98 > 2) I just intall the jakarta-tomcat-4.1.24.exe in win98 and able to acces > the http://localhost:8080 > > Same thing I did for the win2000 machine but it is giving this problem.. > So then I added SET JAVA_HOME = C:\j2sdk-1_4_1_01 to autoexec.bat same > problem.. > I will try to add SET CATALINA_HOME = c:\Program Files\Apache > Group\Tomcat4.1 but I can not delete the spaces between the program files > right??? > > Thanks - srini. > > > > -Original Message- > From: Tam, Michael [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 12:32 PM > To: 'Tomcat Users List' > Subject: RE: win2000 issue with tomcat4.1.24 > > > Sorry I didn't follow this topic from the beginning but maybe you should > post where EXACTLY you have tomcat and j2sdk installed and the EXACT > values > you have set for JAVA_HOME and CATALINA_HOME so we can see if anything > went > wrong of those settings. > > In addition, if you install tomcat under "Program Files\Apache > Group\Tomcat > 4.1" path, you probably get into trouble with the spacing between those > directory names. > > Cheers, > Michael > > -Original Message- > From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 6:43 AM > To: 'Tomcat Users List' > Subject: RE: win2000 issue with tomcat4.1.24 > > > Yoav Shapira, > Could you put me in right direction what is going wrong on this.. > 1) I have a j2sdk-1_4_1_01\bin in my path > 2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file. > 3) I have done this > " > The JVM specified in the registry doesn't seem to work for compiling > JSPs. > You can edit the registry and change the value of > HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat > 4.1/Parameters/JVM Library and make it point to the jvm.dll in > javainstallation\jre\bin\server\jvm.dll and that should take care of it. > " > > But still no luck same compiler error??? what needs to be done?? let us > know > if some body have success in this.. > appreciate it. > > Thanks - Srini. > > > -Original Message- > From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 10:27 AM > To: 'Tomcat Users List' > Subject: RE: win2000 issue with tomcat4.1.24 > > > Hi all, > I am using win2000 and trying to install and run the tomcat4.1.24, I am > getting an parser exception as follows when I try to access the home page > http://localhost:8080. I also tried not to install as service, in that > case > it > is unable to see the JSP parser servlet. Could some one help on this.. > > 2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for > servlet > jsp threw exception > org.apache.jasper.JasperException: Un
Re: Running Tomcat3 on port 80
The only user with permission to bind to port 80 is "root". So either define the user as "root" or manually start Tomcat using the startup scripts while logged in as root. My guess is that you have an RPM install, which means that manually starting the scripts will probably cause you more grief, being new, than it will help. John On Fri, 13 Jun 2003 11:33:25 -0700, <[EMAIL PROTECTED]> wrote: Ok, thanks. I'm starting Tomcat with a script (now I know that, didn't before). It has a configuration file which defines the startup user as 'tomcat3' (I'm still using Tomcat 3.3.1). Should I change the TOMCAT_USER config variable to root? Or is there a Better Way? P'haps some permission I could give to tomcat3? Thanks! Regards, Terry Fuller [EMAIL PROTECTED] --- In <[EMAIL PROTECTED]>, on 06/13/2003 at 09:27 AM, John Turner <[EMAIL PROTECTED]> said: How are you starting Tomcat? Are you starting Tomcat as root, or using a script? If you are using a script, does the script start Tomcat as another user, such as "tomcat4"? John On Thu, 12 Jun 2003 21:20:23 -0700, <[EMAIL PROTECTED]> wrote: I don't think that Apache is running, status of httpd is stopped. Is there another way to ensure this? The tomcat failure message is quite specific about permission: Exception: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.TomcatExcept ion: Root cause - Permission denied:80 at org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown Source) Regards, Terry Fuller [EMAIL PROTECTED] --- In <[EMAIL PROTECTED]>, on 06/12/2003 at 08:33 PM, "Bill Barker" <[EMAIL PROTECTED]> said: The most likely reason it fails is that you already have Apache running on port 80. Only one application on the box can bind to port 80. You have to stop Apache first. After that, it is pretty much: sudo $TOMCAT_HOME/bin/startup.sh If you are running 3.3.1 stand-alone, you might want to look into using the CoyoteConnector (which is part of 3.3.2-dev). It perfoms much better than the Http10Connector in most cases. The best way is to grab the nightly for 3.3, and follow the directions at http://jakarta.apache.org/builds/jakarta-tomcat- connectors/coyote/release/v1 .0-rc2/ (The rc2 release is known to be broken for 3.3, so don't grab the jars from here). <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What do I have to do to get Tomcat 3.3.1 to run with port 80? I modified server.xml to alter the port number, and it now fails with lack of permission on port 80. The Redhad doc for Apache says it must be started by root for this to work, but I start it as root and it still fails. > A command line procedure would be best, and pointer to commands and doc is fine. Thanks! Regards, Terry Fuller [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] -- 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]
JK2, another connector, another error
Hi all. I migrated from webapp to jk2 happily and seems to work fine, but i found some errors in catalina.log. any idea to resolv them? are important? in tomcat catalina.log Starting service Tomcat-Apache Apache Tomcat/4.1.24 12-jun-2003 20:31:55 org.apache.jk.server.JkMain newHandler GRAVE: No class name for handle handle 12-jun-2003 20:31:56 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 12-jun-2003 20:31:56 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=4/140 config=/usr/local/datos/software/tomcat/conf/jk2.properties 12-jun-2003 20:36:15 org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached in apache error.log: [Thu Jun 12 20:31:54 2003] [notice] jk2_init() Found child 14392 in scoreboard slot 0 [Thu Jun 12 20:31:54 2003] [notice] workerEnv.init() ok /usr/local/datos/software/apache/conf/workers2.properties [Thu Jun 12 20:31:54 2003] [error] mod_jk child init 1 0 [Thu Jun 12 20:31:54 2003] [notice] jk2_init() Found child 14393 in scoreboard slot 1 [Thu Jun 12 20:31:54 2003] [notice] workerEnv.init() ok /usr/local/datos/software/apache/conf/workers2.properties [Thu Jun 12 20:31:54 2003] [notice] jk2_init() Found child 14394 in scoreboard slot 2 [Thu Jun 12 20:31:54 2003] [notice] workerEnv.init() ok /usr/local/datos/software/apache/conf/workers2.properties [Thu Jun 12 20:31:54 2003] [error] jk2_init() Can't find child 14395 in scoreboard [Thu Jun 12 20:31:54 2003] [notice] workerEnv.init() ok /usr/local/datos/software/apache/conf/workers2.properties [Thu Jun 12 20:31:54 2003] [error] mod_jk child init 1 -2 Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat3 on port 80
Ok, thanks. I'm starting Tomcat with a script (now I know that, didn't before). It has a configuration file which defines the startup user as 'tomcat3' (I'm still using Tomcat 3.3.1). Should I change the TOMCAT_USER config variable to root? Or is there a Better Way? P'haps some permission I could give to tomcat3? Thanks! Regards, Terry Fuller [EMAIL PROTECTED] --- In <[EMAIL PROTECTED]>, on 06/13/2003 at 09:27 AM, John Turner <[EMAIL PROTECTED]> said: >How are you starting Tomcat? Are you starting Tomcat as >root, or using a script? If you are using a script, does >the script start Tomcat as another user, such as >"tomcat4"? >John >On Thu, 12 Jun 2003 21:20:23 -0700, <[EMAIL PROTECTED]> >wrote: >> I don't think that Apache is running, status of httpd is stopped. Is >> there another way to ensure this? >> >> The tomcat failure message is quite specific about permission: >> >> Exception: java.lang.reflect.InvocationTargetException >> java.lang.reflect.InvocationTargetException: >> org.apache.tomcat.core.TomcatExcept >> ion: Root cause - Permission denied:80 >> at org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown >> Source) >> >> >> >> Regards, Terry Fuller >> [EMAIL PROTECTED] >> --- >> >> >> In <[EMAIL PROTECTED]>, on 06/12/2003 at 08:33 PM, "Bill >> Barker" <[EMAIL PROTECTED]> said: >> >>> The most likely reason it fails is that you already have >>> Apache running on port 80. Only one application on the box >>> can bind to port 80. You have to stop Apache first. >> >>> After that, it is pretty much: >>> sudo $TOMCAT_HOME/bin/startup.sh >> >>> If you are running 3.3.1 stand-alone, you might want to >>> look into using the CoyoteConnector (which is part of >>> 3.3.2-dev). It perfoms much better than the >>> Http10Connector in most cases. The best way is to grab the >>> nightly for 3.3, and follow the directions at >>> http://jakarta.apache.org/builds/jakarta-tomcat- >>> connectors/coyote/release/v1 >>> .0-rc2/ (The rc2 release is known to be broken for 3.3, so >>> don't grab the jars from here). >> >>> <[EMAIL PROTECTED]> wrote in message >>> news:[EMAIL PROTECTED] > What do I have >>> to do to get Tomcat 3.3.1 to run with port 80? I modified >>> server.xml to alter the port number, and it now fails with >>> lack of permission on port 80. The Redhad doc for Apache >>> says it must be started by root for this to work, but I >>> start it as root and it still fails. > A command line procedure would be best, and pointer to commands and doc is >>> fine. Thanks! Regards, Terry Fuller [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]
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Actually, it would be ifcfg-devicename. John On Fri, 13 Jun 2003 13:26:25 -0400, Ronnie Tartar <[EMAIL PROTECTED]> wrote: /etc/sysconfig/network-scripts/devicename - Original Message - From: "John Turner" To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 1:00 PM Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env AFAIK, RH doesn't use the hosts file at all to set IP address. The address "setters" are in etc/init.d/network. You can configure your IP address from the command line using ifconfig. This might require 15 minutes (actually 1 or 2 but most ISPs don't charge by the minute) of tech time on your ISP side, because without net access to the box you won't be able to SSH. John On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <[EMAIL PROTECTED] ind.com> wrote: > This may be slightly off topic but I'm sure others on the list can > relate. > > I'm working on getting a prod system up as a co-location at an ISP. > They've assigned an IP address but the IP is not working (i.e. ping > ipaddress returns timeout). > > Now they are saying that the network card is misconfigured on the server > but I'm fairly certain that RedHat reads from the /etc/hosts file to > determine IP to respond to. > > Am I correct or missing some significant step in configuring the server? > > Thanks > -Dave > > - > 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] -- 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]
Tomcat Upgrade/Install problems
Hello Everyone, I am trying to install the latest stable version of Tomcat (4.1.24) on Mac OS X SERVER 10.2.3. Due to some reason the startup fails with exception posted at the end of this message I tried Aaron Faby's Tomcat installer package as well as binary from tomcat's website. I worked really instantly on a regular os x machine. I am pretty comfortable installing tomcat on any platform but I just can't get it to run on X-SERVE. I also tried some obvious solutions such as adding the tomcat-coyote.jar file to classpath in startup scripts. But because of some strange I still get the same reason. I made sure that the class file in question is actually present in tomcat-coyote.jar Did anyone sucessfully install latest version of Tomcat? If yes, could you provide suggestions/pointers. Thanks. -Rahul. ERROR MESSAGE FROM LOG FILE: ERROR reading /opt/Tomcat/conf/server.xml At Line 99 /Server/Service/Connector/ className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcess ors=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disable UploadTimeout=true Catalina.start: java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at = I used to be indecisive; now I'm not sure. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange Problem with Tomcat 4.1.24
HeyHo I've tried it with the refactor Command. It was very easy!! I've never thinked that this will work that fine and fast. The Application is working now on Tomcat 4. Thanks a lot, i can now make the final deployment on the live machine. Roland Shapira, Yoav wrote: Howdy, I'm currently using eclipse but there are around 25 classes which depending to each other. This main classes are the framework and there are severeral Applications which was written with this framework. Isn't there a possibility to downgrade the handling of the jsp files? Eclipse will repackage and update references. Applications were written against version X of your framework, which had no packages. When you repackage the framework to work in tomcat 4.x, call it framework version X.2 or whatever. Then you get update and migrate applications to the new framework and tomcat 4.x gradually, one at a time. I don't mean to say this isn't annoying. But it's a common procedure, and it really doesn't have to be very time-consuming given the proper tools: in this case Eclipse and versioning. Yoav Shapira 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: login timeout
Howdy, Or you could have add a simple HTML HTTP-EQUIV refresh to your web pages, e.g for 30 minutes (= 30 * 60 = 1800sec) http://www.yoursite.com/timedout";> your page whatever That way after 30min users will be timedout. The timedout location can be a servlet that does whatever you want, e.g. session.invalidate(), a redirect to another location (the login page), etc. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Filip Hanik [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 1:47 PM >To: Tomcat Users List >Subject: RE: login timeout > >you can put in a servlet Filter to do this for you, or a Tomcat valve > >Filip > >> -Original Message- >> From: Reis, Tom [mailto:[EMAIL PROTECTED] >> Sent: Friday, June 13, 2003 10:45 AM >> To: Tomcat Users List (E-mail) >> Subject: login timeout >> >> >> We have a problem where users running a application leave it running >> and then come back to it after a while and get a error because it >> times out. >> Is there a way to have the application give a message that it timed out >or >> to have it automatically refresh the page. >> >> - >> 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: login timeout
you can put in a servlet Filter to do this for you, or a Tomcat valve Filip > -Original Message- > From: Reis, Tom [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 10:45 AM > To: Tomcat Users List (E-mail) > Subject: login timeout > > > We have a problem where users running a application leave it running > and then come back to it after a while and get a error because it > times out. > Is there a way to have the application give a message that it timed out or > to have it automatically refresh the page. > > - > 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: A few problems setting up JDBC using 4.1.24 (win2k)
you should have mytest.class in WEB-INF/classes/foo not .java Filip > -Original Message- > From: Allan Lawrie [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 7:14 AM > To: [EMAIL PROTECTED] > Subject: A few problems setting up JDBC using 4.1.24 (win2k) > > > When I access this URL: > > http://localhost:8080/tests/test.jsp > > Which contains a modified version of the JDBC test app > for MySQL. > > I get this error: > > 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] Since fork is true, ignoring compiler > setting. > [javac] Compiling 1 source file > [javac] Since fork is true, ignoring compiler > setting. > [javac] C:\Program Files\Apache Group\Tomcat > 4.1\work\Standalone\localhost\tests\test_jsp.java:48: > cannot resolve symbol > [javac] symbol : class mytest > [javac] location: package foo > [javac] foo.mytest tst = new foo.mytest(); > [javac]^ > [javac] C:\Program Files\Apache Group\Tomcat > 4.1\work\Standalone\localhost\tests\test_jsp.java:48: > cannot resolve symbol > [javac] symbol : class mytest > [javac] location: package foo > [javac] foo.mytest tst = new foo.mytest(); > [javac] ^ > [javac] 2 errors > > I have mytest.java in WEB-INF/classes/foo but I cannot > compile it. The compiler cannot find javax.sql.* I > have the EE and SE JDKs installed. Is tomcat supposed > to try to compile this? Otherwise, what needs to be > set up to compile the thing? > > mytest.java looks like this: > > package foo; > > import javax.naming.*; > import javax.sql.*; > import java.sql.*; > > > public class mytest { > > String foo = "Not Connected"; > String bar = ""; > > public void init() { > try{ > Context ctx = new InitialContext(); > if(ctx == null ) > throw new Exception("Boom - No Context"); > > DataSource ds = > (DataSource)ctx.lookup( >"java:comp/env/jdbc/testcase"); > > if (ds != null) { > Connection conn = ds.getConnection(); > > if(conn != null) { > foo = "Got Connection "+conn.toString(); > Statement stmt = conn.createStatement(); > ResultSet rst = > stmt.executeQuery( > "select ref,title from cases where > id=4"); > if(rst.next()) { >foo=rst.getString(1); >bar=rst.getString(2); > } > conn.close(); > } > } > }catch(Exception e) { > e.printStackTrace(); > } > } > > public String getFoo() { return foo; } > public String getBar() { return bar;} > } > > The java compiler complains about javax.sql and the > DataSource class. > > ALSO, When I use the admin tool and look at the /tests > context (where I have set up a MySQL datasource), I > get this error when trying to look at the datasource > (There is no problem with a shared datasource): > > ype Exception report > > message > > description The server encountered an internal error > () that prevented it from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Exception > retrieving attribute 'driverClassName' > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrap > per.java:254) > 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(ApplicationD > ispatcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(Applicati > onDispatcher.java:432) > at > org.apache.catalina.core.ApplicationDispatcher.forward(Application > Dispatcher.java:356) > at > org.apache.struts.action.ActionServlet.processActionForward(Action > Servlet.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.ApplicationDispatcher.invoke(ApplicationD > ispatcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(Applicati > onDispatcher.java:432) > at > org.apache.catalina.core.ApplicationDispatcher.forward(Application > Dispatcher.java:356) > at > org.apache.struts.action.ActionServlet.processActionForward(Action > Servlet.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.Http
login timeout
We have a problem where users running a application leave it running and then come back to it after a while and get a error because it times out. Is there a way to have the application give a message that it timed out or to have it automatically refresh the page. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
display tag paging alphabetically
I'm using the display tag to page through names from a search result. I would also like allow a link to the whole list indexed by Letter. Is this possible to do with the display tag? If not, how should I do it? -Mark
RE: Class cast exception ...
what happens if you translate the tags yourself to actual java code within <% %> brackets, do you still get classcast exceptions? Filip > -Original Message- > From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 10:09 PM > To: Tomcat Users List > Subject: Re: Class cast exception ... > > > These were the values i got. > session DBWRITER = [EMAIL PROTECTED] > session DBREADER = [EMAIL PROTECTED] > > This means that my DBREADER and DBWRITER are using the right classes. > > Its still giving me a class cast exception. I thought maybe there is a > session object stored under the name locationHelper which is not of > type LocationHelper. But before this jsp is reached there is no > locationHelper attribute present in the session. I still cant figure > out where I am going wrong. Does anyone have any ideas ? The jsp code > is below and so is the stack Trace > > >> >> class="com.wavesinmotion.cw.classes.jsphelpers.LocationHelper" > >> scope="session"> > >> >> property="dbReader" > >> value="<%= > session.getAttribute("DBREADER")%>" /> > >> >> property="dbWriter" > >> value="<%= > session.getAttribute("DBWRITER")%>" /> > >> > > 2003-06-13 10:34:35 StandardWrapperValve[jsp]: Servlet.service() for > servlet jsp threw exception > org.apache.jasper.JasperException > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja > va:248) > 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.ApplicationFilterChain.internalDoFilter(Applica > tionFilterChain.java:247) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:193) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > e.java:260) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > e.java:191) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:643) > at > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja > va:246) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 > 5) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > :180) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:643) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa > lve.java:170) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > :172) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) > 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.i > nvokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) > 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:43 > 2) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC > onnection(Http11Protocol.java:386) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:53 > 4) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool > .java:530) > at java.lang.Thread.run(Thread.java:554) > - Root Cause - > java.lang.ClassCastException > at > org.apache.jsp.EditOffering_
Re: Class cast exception ...
These were the values i got. session DBWRITER = [EMAIL PROTECTED] session DBREADER = [EMAIL PROTECTED] This means that my DBREADER and DBWRITER are using the right classes. Its still giving me a class cast exception. I thought maybe there is a session object stored under the name locationHelper which is not of type LocationHelper. But before this jsp is reached there is no locationHelper attribute present in the session. I still cant figure out where I am going wrong. Does anyone have any ideas ? The jsp code is below and so is the stack Trace " /> " /> 2003-06-13 10:34:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:248) 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.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja va:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 5) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) 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.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) 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:43 2) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:53 4) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:530) at java.lang.Thread.run(Thread.java:554) - Root Cause - java.lang.ClassCastException at org.apache.jsp.EditOffering_jsp._jspService(EditOffering_jsp.java:142) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:204) 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.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerB
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
/etc/sysconfig/network-scripts/devicename - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 1:00 PM Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env > > AFAIK, RH doesn't use the hosts file at all to set IP address. > > The address "setters" are in etc/init.d/network. You can configure your IP > address from the command line using ifconfig. This might require 15 > minutes (actually 1 or 2 but most ISPs don't charge by the minute) of tech > time on your ISP side, because without net access to the box you won't be > able to SSH. > > John > > On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <[EMAIL PROTECTED] > ind.com> wrote: > > > This may be slightly off topic but I'm sure others on the list can > > relate. > > > > I'm working on getting a prod system up as a co-location at an ISP. > > They've assigned an IP address but the IP is not working (i.e. ping > > ipaddress returns timeout). > > > > Now they are saying that the network card is misconfigured on the server > > but I'm fairly certain that RedHat reads from the /etc/hosts file to > > determine IP to respond to. > > > > Am I correct or missing some significant step in configuring the server? > > > > Thanks > > -Dave > > > > - > > 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]
Java version
Hi, I was setting the JAVA_HOME variable to j2se, but I was a problem with the special characters. For solve this problem, I changed the JAVA_HOME to java1.2 and the problem of the special characters was solve. But, when I try to compile the .JSP files I get the next error: java.io.IOException: Cannot locate antRun script: Property 'ant.home' not found at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at java.io.IOException.(Compiled Code) at org.apache.tools.ant.taskdefs.Execute$ScriptCommandLauncher.exec(Execute.java:786) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:417) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:428) at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(Compiled Code) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81) at org.apache.tools.ant.taskdefs.Javac.compile(Compiled Code) at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code) at org.apache.jasper.compiler.Compiler.generateClass(Compiled Code) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) Any idea? Regards, David __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Install problems (Mac OS X Server)
Hello Everyone, I am trying to install the latest stable version of Tomcat (4.1.24) on Mac OS X SERVER 10.2.3. Due to some reason the startup fails with exception posted at the end of this message I tried Aaron Faby's Tomcat installer package as well as binary from tomcat's website. I worked really instantly on a regular os x machine. I am pretty comfortable installing tomcat on any platform but I just can't get it to run on X-SERVE. I also tried some obvious solutions such as adding the tomcat-coyote.jar file to classpath in startup scripts. But because of some strange I still get the same reason. I made sure that the class file in question is actually present in tomcat-coyote.jar Did anyone sucessfully install latest version of Tomcat on Mac OS X SERVER? If yes, could you provide suggestions/pointers. Thanks. -Rahul. ERROR MESSAGE FROM LOG FILE: ERROR reading /opt/Tomcat/conf/server.xml At Line 99 /Server/Service/Connector/ className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcess ors=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disable UploadTimeout=true Catalina.start: java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at And so on!! = I used to be indecisive; now I'm not sure. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk questions
Well, building it is pretty easy, all things considered. Is that an option for you? I haven't built any of the 1.2.4 releases yet, but I doubt they are much different than the others. I can furnish build instructions, as can others on the list. Otherwise, you will have to wait for the binary, probably next week. John On Sat, 14 Jun 2003 00:18:50 +0900, Wayne Chang <[EMAIL PROTECTED]> wrote: John, The platform is Red Hat 9. Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [EMAIL PROTECTED] -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 12:01 AM To: Tomcat Users List Subject: Re: mod_jk questions Platform? John On Fri, 13 Jun 2003 23:47:47 +0900, Wayne Chang <[EMAIL PROTECTED]> wrote: Hi, I noticed that the mod_jk 1.2.4 was recently released. I was wondering if you had a binary of it available for Apache 1.3 and Tomcat 4.1. I would like to upgrade my mod_jk. On a related note, I was hoping you could shed some light on some trouble I've been having. Sometimes the website doesn't respond to jsp requests, but loading html files is okay. I think it's a mod_jk problem which is why I would like to upgrade it. Any input at all would be much appreciated, thank you for your time, Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [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] -- 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: getResourceAsStream and relative paths in web.xml
Howdy, You got it. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Timothy Stone [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 12:56 PM >To: Tomcat Users List >Subject: Re: getResourceAsStream and relative paths in web.xml > >> 1. Certainly, using a FileXXX class will attempt to interpret the init >> parameter value (/WEB-INF...) is an absolute path, because that's how >> absolute paths are defined for files. > >Thank you again Yoav. The recommendation then is to skip trying to use a >FileInputStream (because the String provided is absolute to the file >system not servlet context, i.e. /WEB-INF/lib/x.props is intepreted as >from "root" on *NIX and C:\ on Windoze). Additionally > >config.getServletContext().getResourceAsStream( file ) > >works in and out of war packages. > >Thank you again, >Tim > > > > >- >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]
[OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
AFAIK, RH doesn't use the hosts file at all to set IP address. The address "setters" are in etc/init.d/network. You can configure your IP address from the command line using ifconfig. This might require 15 minutes (actually 1 or 2 but most ISPs don't charge by the minute) of tech time on your ISP side, because without net access to the box you won't be able to SSH. John On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <[EMAIL PROTECTED] ind.com> wrote: This may be slightly off topic but I'm sure others on the list can relate. I'm working on getting a prod system up as a co-location at an ISP. They've assigned an IP address but the IP is not working (i.e. ping ipaddress returns timeout). Now they are saying that the network card is misconfigured on the server but I'm fairly certain that RedHat reads from the /etc/hosts file to determine IP to respond to. Am I correct or missing some significant step in configuring the server? Thanks -Dave - 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: getResourceAsStream and relative paths in web.xml
1. Certainly, using a FileXXX class will attempt to interpret the init parameter value (/WEB-INF...) is an absolute path, because that's how absolute paths are defined for files. Thank you again Yoav. The recommendation then is to skip trying to use a FileInputStream (because the String provided is absolute to the file system not servlet context, i.e. /WEB-INF/lib/x.props is intepreted as from "root" on *NIX and C:\ on Windoze). Additionally config.getServletContext().getResourceAsStream( file ) works in and out of war packages. Thank you again, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: servlet reloading question
Howdy, Could it be there's only one class file loaded (the one correctly updated by tomcat) and the other one is a cached version? It could be cached by Apache or by your browser... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Bill T [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 11:39 AM >To: '[EMAIL PROTECTED]' >Subject: servlet reloading question > >Hi all! > >I'm hoping someone can give me a high level view of what is going on here. >I'm >using version 4.18, and I though I was having problems reloading servlets. > >server.xml has my app configured as reloadable, but no matter what I do >with my >class files -- touch them, rebuild them, REMOVE them, the app does not >reload >when using it via apache and the warp connector on port 80. However, when >using the app directly through tomcat on port 8080, the servlet reloads as >expected. In fact, I can view two different versions of the servlet >simultaneously by connecting to ports 80 and on 8080. > >My questions are, is this normal and expected behavior? to have two class >files loaded depending on the port? Is there a way short of restarting >tomcat >to force reload of the servlet on port 80? Does my choice of connector >make a >difference? > >Thanks and regards! >Bill > >- >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: Dumb Tomcat question
it gets set in the startup scripts for you Filip > -Original Message- > From: Balakrishna Kudaravalli [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:46 AM > To: Tomcat Users List > Subject: RE: Dumb Tomcat question > > > Thanks for the info. > > What about CATALINA_HOME is it mandatory for me to set that env. > variable ? > -- how does this work when i have two instances > > -Bala > > > At 12:16 PM 6/13/2003 -0400, you wrote: > > >Howdy, > >It's not a dumb question ;) > > > > >I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. > >Could > > >you pl. let me know > > > > > >1) What are the environment variables that need to be set for both the > > >instances ? - CATALINA_HOME , PATH & CLASSPATH > > >2) Can I set CATALINA_HOME for both instances ? -- how would this work > > > >Simply install tomcat in two separate directories, let's say > >/usr/local/tomcat1 and /usr/local/tomcat2. That's about it. > > > >The startup/shutdown scripts are intelligent enough to use relative > >paths, so they won't interfere with each other. You don't need to > >specify CLASSPATH at all, as tomcat ignores that anyways. > > > >Yoav Shapira > > > > > > > >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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange Problem with Tomcat 4.1.24
Do you have the java_home variable set to ur java directory. if not that might be the problem. - Original Message - From: "Roland Kaeser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 12:02 PM Subject: Strange Problem with Tomcat 4.1.24 > Hello > > I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. > In my .jsp files I'm using a class for getting the content out of a > MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun > JRE 1.4.1 is the same as before. But now, i get the following Output > when i try to call the jsp Page: > > -> > org.apache.jasper.JasperException: Unable to compile class for JSP > > An error occurred at line: 202 in the jsp file: /home.jsp > > Generated servlet error: > [javac] Since fork is true, ignoring compiler setting. > [javac] Compiling 1 source file > [javac] Since fork is true, ignoring compiler setting. > [javac] > /usr/jakarta-tomcat-4.1.24/work/Standalone/localhost/israel/home_jsp.java:17 8: > cannot resolve symbol > [javac] symbol : variable IsraelMySQL > [javac] location: class org.apache.jsp.home_jsp > [javac] out.print( IsraelMySQL.getNews() ); > [javac] ^ > <- > > But if I load the the same class from my Servlet-Application it can be > loaded successfully. > > Can andybody help me please? This already gonna drive me crazy. > > > Roland > > > - > 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]
servlet reloading question
Hi all! I'm hoping someone can give me a high level view of what is going on here. I'm using version 4.18, and I though I was having problems reloading servlets. server.xml has my app configured as reloadable, but no matter what I do with my class files -- touch them, rebuild them, REMOVE them, the app does not reload when using it via apache and the warp connector on port 80. However, when using the app directly through tomcat on port 8080, the servlet reloads as expected. In fact, I can view two different versions of the servlet simultaneously by connecting to ports 80 and on 8080. My questions are, is this normal and expected behavior? to have two class files loaded depending on the port? Is there a way short of restarting tomcat to force reload of the servlet on port 80? Does my choice of connector make a difference? Thanks and regards! Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Subject: Nightmare with Tomcat 4.1 and SSL configuration
Cosmin I was stuck on the same issue for sometime. Then I realised that I had not put the jsse jar in the classpath. So I copied the 3 jars - jsse.jar, jnet.jar, jcert.jar into %JAVA_HOME%\jre\lib\ext. After that the problem went away. However, I would like to understand how I can configure tomcat to see the logs. When I was getting I didn't find an easy way to figure out why the error was coming. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 4.1.24: /admin dir in our .war gets 404
Hello all, We deploy our war file to the / context on our tomcat server (we use apache as our webserver, with mod_jk). We just added a /admin directory into our application, and we are trying to deploy the app. At first, when I went to http://tomcatserver/admin/ I was getting Tomcat's admin app, which I believe is served out of Tomcat's /server/webapps/admin directory structure. I renamed this hoping to get access to our webapps admin dir, but I simply get a 404 from the Tomcat server. (NOTE: this is not a 404 from apache, it is a Tomcat error) Where is the configuration for this /admin context? I can't find it anywhere. Thank you, Ian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
A few problems setting up JDBC using 4.1.24 (win2k)
When I access this URL: http://localhost:8080/tests/test.jsp Which contains a modified version of the JDBC test app for MySQL. I get this error: 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] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\tests\test_jsp.java:48: cannot resolve symbol [javac] symbol : class mytest [javac] location: package foo [javac] foo.mytest tst = new foo.mytest(); [javac]^ [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\tests\test_jsp.java:48: cannot resolve symbol [javac] symbol : class mytest [javac] location: package foo [javac] foo.mytest tst = new foo.mytest(); [javac] ^ [javac] 2 errors I have mytest.java in WEB-INF/classes/foo but I cannot compile it. The compiler cannot find javax.sql.* I have the EE and SE JDKs installed. Is tomcat supposed to try to compile this? Otherwise, what needs to be set up to compile the thing? mytest.java looks like this: package foo; import javax.naming.*; import javax.sql.*; import java.sql.*; public class mytest { String foo = "Not Connected"; String bar = ""; public void init() { try{ Context ctx = new InitialContext(); if(ctx == null ) throw new Exception("Boom - No Context"); DataSource ds = (DataSource)ctx.lookup( "java:comp/env/jdbc/testcase"); if (ds != null) { Connection conn = ds.getConnection(); if(conn != null) { foo = "Got Connection "+conn.toString(); Statement stmt = conn.createStatement(); ResultSet rst = stmt.executeQuery( "select ref,title from cases where id=4"); if(rst.next()) { foo=rst.getString(1); bar=rst.getString(2); } conn.close(); } } }catch(Exception e) { e.printStackTrace(); } } public String getFoo() { return foo; } public String getBar() { return bar;} } The java compiler complains about javax.sql and the DataSource class. ALSO, When I use the admin tool and look at the /tests context (where I have set up a MySQL datasource), I get this error when trying to look at the datasource (There is no problem with a shared datasource): ype Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception retrieving attribute 'driverClassName' at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) 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.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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stand
RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster
WEB-INF/classes/net/afni/webdevelopment/peoplesoftbonus/data/BonusSearchData -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:41 AM To: Tomcat Users List Subject: RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster where is this class located? net.afni.webdevelopment.peoplesoftbonus.data.BonusSearchData Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:34 AM > To: [EMAIL PROTECTED] > Subject: RE: Deserializing data objects using > InMemoryReplicationManager on Tomcat cluster > > > Sorry, I meant / not . > > I have this running on a two node cluster, and even though the logs > show this message on both nodes in catalina.out, I know that the data > is replicating. I can shutdown one node, and the session data has > persisted on the other. > > Here is the log message: > > [InMemoryReplicationManager] Failed to deserialize the session! > java.lang.ClassNotFoundException: > [Lnet.afni.webdevelopment.peoplesoftbonus.data.BonusSearchData; > at > org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown > Source) > at > org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown > Source) > at > org.apache.catalina.session.ReplicationStream.resolveClass(Replica > tionStream > .java:124) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513) > at > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > at > java.io.ObjectInputStream.readArray(ObjectInputStream.java:1560) > at > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) > at > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > at > org.apache.catalina.session.StandardSession.readObject(Unknown > Source) > at > org.apache.catalina.session.StandardSession.readObjectData(Unknown Source) > at > org.apache.catalina.session.ReplicatedSession.readObjectData(Repli > catedSessi > on.java:334) > at > org.apache.catalina.session.InMemoryReplicationManager.readSession > (InMemoryR > eplicationManager.java:529) > at > org.apache.catalina.session.InMemoryReplicationManager.messageRece > ived(InMem > oryReplicationManager.java:831) > at > org.apache.catalina.session.InMemoryReplicationManager.messageData > Received(I > nMemoryReplicationManager.java:915) > at > org.apache.catalina.cluster.ObjectReader.append(ObjectReader.java:45) > at > org.apache.catalina.cluster.WorkerThread.drainChannel(WorkerThread > .java:121) > at > org.apache.catalina.cluster.WorkerThread.run(WorkerThread.java:60) > [InMemoryReplicationManager] Unable to receive message through TCP channel > java.lang.NullPointerException > at > org.apache.catalina.session.InMemoryReplicationManager.messageRece > ived(InMem > oryReplicationManager.java:832) > at > org.apache.catalina.session.InMemoryReplicationManager.messageData > Received(I > nMemoryReplicationManager.java:915) > at > org.apache.catalina.cluster.ObjectReader.append(ObjectReader.java:45) > at > org.apache.catalina.cluster.WorkerThread.drainChannel(WorkerThread > .java:121) > at > org.apache.catalina.cluster.WorkerThread.run(WorkerThread.java:60) > > > > > > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 11:13 AM > To: Tomcat Users List > Subject: RE: Deserializing data objects using > InMemoryReplicationManager on Tomcat cluster > > > it should be in > > WEB-INF/classes/some/package/Employee.class is that what you meant? > > never had this problem myself, what version of Tomcat? also, can you > send the log trace for this > > Filip > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 13, 2003 9:10 AM > > To: [EMAIL PROTECTED] > > Subject: RE: Deserializing data objects using > > InMemoryReplicationManager on Tomcat cluster > > > > > > WEB-INF/classes/some.package.Employee > > > > If this Employee object is put in the session and then replicated > > across the nodes for the given web application, the other nodes will > > have ClassNotFoundExceptions when the InMemoryReplicationManager > > goes to deserialize the session contents. I see this exception in > > catalina.out when the debug level for the InMemoryReplicationManager > > is set to 10. > > > > -Original Message- > > From: Filip Hanik [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 13, 2003 11:01 AM > > To: Tomcat Users List > > Subject: RE: Deserializing data objects using > > InMemoryReplicationManager on Tomcat cluster > > > > > > I haven't seen this problem, > > where is your Employee class file sitting? > > > > Filip > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > > > Sent: Friday
RE: Dumb Tomcat question
Thanks for the info. What about CATALINA_HOME is it mandatory for me to set that env. variable ? -- how does this work when i have two instances -Bala At 12:16 PM 6/13/2003 -0400, you wrote: Howdy, It's not a dumb question ;) >I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could >you pl. let me know > >1) What are the environment variables that need to be set for both the >instances ? - CATALINA_HOME , PATH & CLASSPATH >2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira 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: getResourceAsStream and relative paths in web.xml
Howdy, Oh and by the way, it's a good habit to override the init() method for a servlet rather than the init(ServletConfig) one. Simply so you don't accidentally forget to call super(config). Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Shapira, Yoav >Sent: Friday, June 13, 2003 12:42 PM >To: Tomcat Users List; [EMAIL PROTECTED] >Subject: RE: getResourceAsStream and relative paths in web.xml > > >Howdy, > >>*But* this did not work, which I guess is a "relative issue": >> >>... >> public void init(ServletConfig config) throws ServletException { >> super.init(config); >> try { >> this.passwordFile = config.getInitParameter( "passwordFile" >); >> this.passwords = new Properties(); >> passwords.load( new FileInputStream( passwordFile ); >> } catch( IOException ioe ) {} >> } >>... >> >>Can someone summarize why the second example does not work with >relative >>paths? I understand why the first one does. > >Two reasons, one certain and one possible: > >1. Certainly, using a FileXXX class will attempt to interpret the init >parameter value (/WEB-INF...) is an absolute path, because that's how >absolute paths are defined for files. > >2. If you happen to be running from a packed .war file, you may NPE when >trying to construct a FileInputStream as File-based accesses are not a >given in a packed .war. > >Yoav Shapira > > > >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] 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: getResourceAsStream and relative paths in web.xml
Howdy, >*But* this did not work, which I guess is a "relative issue": > >... > public void init(ServletConfig config) throws ServletException { > super.init(config); > try { > this.passwordFile = config.getInitParameter( "passwordFile" ); > this.passwords = new Properties(); > passwords.load( new FileInputStream( passwordFile ); > } catch( IOException ioe ) {} > } >... > >Can someone summarize why the second example does not work with relative >paths? I understand why the first one does. Two reasons, one certain and one possible: 1. Certainly, using a FileXXX class will attempt to interpret the init parameter value (/WEB-INF...) is an absolute path, because that's how absolute paths are defined for files. 2. If you happen to be running from a packed .war file, you may NPE when trying to construct a FileInputStream as File-based accesses are not a given in a packed .war. Yoav Shapira 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: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster
where is this class located? net.afni.webdevelopment.peoplesoftbonus.data.BonusSearchData Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:34 AM > To: [EMAIL PROTECTED] > Subject: RE: Deserializing data objects using InMemoryReplicationManager > on Tomcat cluster > > > Sorry, I meant / not . > > I have this running on a two node cluster, and even though the logs show > this message on both nodes in catalina.out, I know that the data is > replicating. I can shutdown one node, and the session data has > persisted on > the other. > > Here is the log message: > > [InMemoryReplicationManager] Failed to deserialize the session! > java.lang.ClassNotFoundException: > [Lnet.afni.webdevelopment.peoplesoftbonus.data.BonusSearchData; > at > org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown > Source) > at > org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown > Source) > at > org.apache.catalina.session.ReplicationStream.resolveClass(Replica > tionStream > .java:124) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513) > at > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > at > java.io.ObjectInputStream.readArray(ObjectInputStream.java:1560) > at > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) > at > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > at org.apache.catalina.session.StandardSession.readObject(Unknown > Source) > at > org.apache.catalina.session.StandardSession.readObjectData(Unknown Source) > at > org.apache.catalina.session.ReplicatedSession.readObjectData(Repli > catedSessi > on.java:334) > at > org.apache.catalina.session.InMemoryReplicationManager.readSession > (InMemoryR > eplicationManager.java:529) > at > org.apache.catalina.session.InMemoryReplicationManager.messageRece > ived(InMem > oryReplicationManager.java:831) > at > org.apache.catalina.session.InMemoryReplicationManager.messageData > Received(I > nMemoryReplicationManager.java:915) > at > org.apache.catalina.cluster.ObjectReader.append(ObjectReader.java:45) > at > org.apache.catalina.cluster.WorkerThread.drainChannel(WorkerThread > .java:121) > at > org.apache.catalina.cluster.WorkerThread.run(WorkerThread.java:60) > [InMemoryReplicationManager] Unable to receive message through TCP channel > java.lang.NullPointerException > at > org.apache.catalina.session.InMemoryReplicationManager.messageRece > ived(InMem > oryReplicationManager.java:832) > at > org.apache.catalina.session.InMemoryReplicationManager.messageData > Received(I > nMemoryReplicationManager.java:915) > at > org.apache.catalina.cluster.ObjectReader.append(ObjectReader.java:45) > at > org.apache.catalina.cluster.WorkerThread.drainChannel(WorkerThread > .java:121) > at > org.apache.catalina.cluster.WorkerThread.run(WorkerThread.java:60) > > > > > > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 11:13 AM > To: Tomcat Users List > Subject: RE: Deserializing data objects using > InMemoryReplicationManager on > Tomcat cluster > > > it should be in > > WEB-INF/classes/some/package/Employee.class is that what you meant? > > never had this problem myself, what version of Tomcat? also, can you send > the log trace for this > > Filip > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 13, 2003 9:10 AM > > To: [EMAIL PROTECTED] > > Subject: RE: Deserializing data objects using > > InMemoryReplicationManager on Tomcat cluster > > > > > > WEB-INF/classes/some.package.Employee > > > > If this Employee object is put in the session and then replicated > > across the nodes for the given web application, the other nodes will > > have ClassNotFoundExceptions when the InMemoryReplicationManager goes > > to deserialize the session contents. I see this exception in > > catalina.out when > > the debug level for the InMemoryReplicationManager is set to 10. > > > > -Original Message- > > From: Filip Hanik [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 13, 2003 11:01 AM > > To: Tomcat Users List > > Subject: RE: Deserializing data objects using > > InMemoryReplicationManager on Tomcat cluster > > > > > > I haven't seen this problem, > > where is your Employee class file sitting? > > > > Filip > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > > > Sent: Friday, June 13, 2003 8:24 AM > > > To: [EMAIL PROTECTED] > > > Subject: Deserializing data objects using InMemoryReplicationManager > > > on Tomcat cluster > > > > > > > > > I have noticed when using the InMemoryReplicationManager for web > > > applications on a Tomcat cluster that you will encounter a > > > ClassNotFoundExcep
RE: Strange Problem with Tomcat 4.1.24
Howdy, >I'm currently using eclipse but there are around 25 classes which >depending to each other. This main classes are the framework and there >are severeral Applications which was written with this framework. >Isn't there a possibility to downgrade the handling of the jsp files? Eclipse will repackage and update references. Applications were written against version X of your framework, which had no packages. When you repackage the framework to work in tomcat 4.x, call it framework version X.2 or whatever. Then you get update and migrate applications to the new framework and tomcat 4.x gradually, one at a time. I don't mean to say this isn't annoying. But it's a common procedure, and it really doesn't have to be very time-consuming given the proper tools: in this case Eclipse and versioning. Yoav Shapira 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]
getResourceAsStream and relative paths in web.xml
List, I'm following a twist on some advice that I got from Yoav Shapira. But in playing to learn more I ran across something that I have not been able to solve from reading the documentation. I want to put the relative path to a user=password property file in the web.xml. Given: #web.xml ... ProtectedPage coreservlets.ProtectedPage passwordFile /WEB-INF/lib/passwords.properties ... So I got this to work: ... public void init(ServletConfig config) throws ServletException { super.init(config); try { this.passwordFile = config.getInitParameter( "passwordFile" ); this.passwords = new Properties(); passwords.load( config.getServletContext() .getResourceAsStream( passwordFile ) ); } catch( IOException ioe ) {} } ... *But* this did not work, which I guess is a "relative issue": ... public void init(ServletConfig config) throws ServletException { super.init(config); try { this.passwordFile = config.getInitParameter( "passwordFile" ); this.passwords = new Properties(); passwords.load( new FileInputStream( passwordFile ); } catch( IOException ioe ) {} } ... Can someone summarize why the second example does not work with relative paths? I understand why the first one does. TIA Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster
Sorry, I meant / not . I have this running on a two node cluster, and even though the logs show this message on both nodes in catalina.out, I know that the data is replicating. I can shutdown one node, and the session data has persisted on the other. Here is the log message: [InMemoryReplicationManager] Failed to deserialize the session! java.lang.ClassNotFoundException: [Lnet.afni.webdevelopment.peoplesoftbonus.data.BonusSearchData; at org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown Source) at org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown Source) at org.apache.catalina.session.ReplicationStream.resolveClass(ReplicationStream .java:124) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1560) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(Unknown Source) at org.apache.catalina.session.StandardSession.readObjectData(Unknown Source) at org.apache.catalina.session.ReplicatedSession.readObjectData(ReplicatedSessi on.java:334) at org.apache.catalina.session.InMemoryReplicationManager.readSession(InMemoryR eplicationManager.java:529) at org.apache.catalina.session.InMemoryReplicationManager.messageReceived(InMem oryReplicationManager.java:831) at org.apache.catalina.session.InMemoryReplicationManager.messageDataReceived(I nMemoryReplicationManager.java:915) at org.apache.catalina.cluster.ObjectReader.append(ObjectReader.java:45) at org.apache.catalina.cluster.WorkerThread.drainChannel(WorkerThread.java:121) at org.apache.catalina.cluster.WorkerThread.run(WorkerThread.java:60) [InMemoryReplicationManager] Unable to receive message through TCP channel java.lang.NullPointerException at org.apache.catalina.session.InMemoryReplicationManager.messageReceived(InMem oryReplicationManager.java:832) at org.apache.catalina.session.InMemoryReplicationManager.messageDataReceived(I nMemoryReplicationManager.java:915) at org.apache.catalina.cluster.ObjectReader.append(ObjectReader.java:45) at org.apache.catalina.cluster.WorkerThread.drainChannel(WorkerThread.java:121) at org.apache.catalina.cluster.WorkerThread.run(WorkerThread.java:60) -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:13 AM To: Tomcat Users List Subject: RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster it should be in WEB-INF/classes/some/package/Employee.class is that what you meant? never had this problem myself, what version of Tomcat? also, can you send the log trace for this Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:10 AM > To: [EMAIL PROTECTED] > Subject: RE: Deserializing data objects using > InMemoryReplicationManager on Tomcat cluster > > > WEB-INF/classes/some.package.Employee > > If this Employee object is put in the session and then replicated > across the nodes for the given web application, the other nodes will > have ClassNotFoundExceptions when the InMemoryReplicationManager goes > to deserialize the session contents. I see this exception in > catalina.out when > the debug level for the InMemoryReplicationManager is set to 10. > > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 11:01 AM > To: Tomcat Users List > Subject: RE: Deserializing data objects using > InMemoryReplicationManager on Tomcat cluster > > > I haven't seen this problem, > where is your Employee class file sitting? > > Filip > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 13, 2003 8:24 AM > > To: [EMAIL PROTECTED] > > Subject: Deserializing data objects using InMemoryReplicationManager > > on Tomcat cluster > > > > > > I have noticed when using the InMemoryReplicationManager for web > > applications on a Tomcat cluster that you will encounter a > > ClassNotFoundException when trying to deserialize the session > > contents of serialized data objects specific to the web application > > (i.e. a given web application may have an Employee class that is > > stored in the session). Although this ClassNotFoundException is > > thrown by the InMemoryReplicationManager, it appears that the class > > actually is deserialized and replicated across the nodes of the > > cluster. > > > > My question is if this is an accurate assertion despite the > > ClassNotFoundException? Also, why is there a ClassNotFoundException > > being thrown? Is this because the InMemoryReplicati
Re: Strange Problem with Tomcat 4.1.24
Hello I'm currently using eclipse but there are around 25 classes which depending to each other. This main classes are the framework and there are severeral Applications which was written with this framework. Isn't there a possibility to downgrade the handling of the jsp files? Roland Shapira, Yoav wrote: Howdy, Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Not if you know any perl or other efficient text processing languages. Or have access to an IDE which will repackage classes for you: this is a one minute, point and click operation in Eclipse for example. Is there no other way to do that. It it was working before? If you can't do it at this time, you can stay with your current version of tomcat. Yoav Shapira 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]
Tomcat 4.1.24: /admin dir in our .war gets 404
Resending cause my other post seems to be lost. Hello all, We deploy our war file to the / context on our tomcat server (we use apache as our webserver, with mod_jk). We just added a /admin directory into our application, and we are trying to deploy the app. At first, when I went to http://tomcatserver/admin/ I was getting Tomcat's admin app, which I believe is served out of Tomcat's /server/webapps/admin directory structure. I renamed this hoping to get access to our webapps admin dir, but I simply get a 404 from the Tomcat server. (NOTE: this is not a 404 from apache, it is a Tomcat error) Where is the configuration for this /admin context? I can't find it anywhere. Thank you, Ian.
RE: Strange Problem with Tomcat 4.1.24
first try it out with one class, and see if it solves the problem, if that works, buy a pot of coffee, and go at it :) there might be other ways, but I am not sure. Filip > -Original Message- > From: Roland Kaeser [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:16 AM > To: Tomcat Users List > Subject: Re: Strange Problem with Tomcat 4.1.24 > > > Hey > > Really? I whole applications contains more than 10'000 lines of code > (java code). This will take me more then 4 days to changes everything. > Is there no other way to do that. It it was working before? > I have currently a really high pressure to the this site up and running. > > Roland > > Filip Hanik wrote: > > you should always do it :) > > and starting "now" all your classes must be in a package. > > Filip > > > > > >>-Original Message- > >>From: Roland Kaeser [mailto:[EMAIL PROTECTED] > >>Sent: Friday, June 13, 2003 9:09 AM > >>To: Tomcat Users List > >>Subject: Re: Strange Problem with Tomcat 4.1.24 > >> > >> > >>No, why should i do it? I was working fine before widthout that. > >>The Command in the JSP File is: > >> > >><%= IsraelMySQL.getContent("home") %> > >> > >>Roland > >> > >>Shapira, Yoav wrote: > >> > >>>Howdy, > >>>Do you import the Israel class appropriately in your JSP? > >>> > >>>Yoav Shapira > >>>Millennium ChemInformatics > >>> > >>> > >>> > >>> > -Original Message- > From: Roland Kaeser [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 12:03 PM > To: [EMAIL PROTECTED] > Subject: Strange Problem with Tomcat 4.1.24 > > Hello > > I've try to move a JSP/Servlet Application from Tomcat 3.2.4 > to 4.1.24. > In my .jsp files I'm using a class for getting the content out of a > MySQL Database. All of the needed Classes are in the > CLASSPATH. The Sun > JRE 1.4.1 is the same as before. But now, i get the following Output > when i try to call the jsp Page: > > -> > org.apache.jasper.JasperException: Unable to compile class for JSP > > An error occurred at line: 202 in the jsp file: /home.jsp > > Generated servlet error: > [javac] Since fork is true, ignoring compiler setting. > [javac] Compiling 1 source file > [javac] Since fork is true, ignoring compiler setting. > [javac] > /usr/jakarta-tomcat- > 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: > cannot resolve symbol > [javac] symbol : variable IsraelMySQL > [javac] location: class org.apache.jsp.home_jsp > [javac] out.print( IsraelMySQL.getNews() ); > [javac] ^ > <- > > But if I load the the same class from my Servlet-Application it can be > loaded successfully. > > Can andybody help me please? This already gonna drive me crazy. > > > Roland > > > - > 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] > >> > >> > > > > > > - > > 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: Strange Problem with Tomcat 4.1.24
Howdy, >Really? I whole applications contains more than 10'000 lines of code >(java code). This will take me more then 4 days to changes everything. Not if you know any perl or other efficient text processing languages. Or have access to an IDE which will repackage classes for you: this is a one minute, point and click operation in Eclipse for example. >Is there no other way to do that. It it was working before? If you can't do it at this time, you can stay with your current version of tomcat. Yoav Shapira 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: Strange Problem with Tomcat 4.1.24
Howdy, You should always properly import classes you depend on, and all your classes should be in a package. If they're not, jasper will put them in the org.apache.jsp package, which you don't import, and that's why it's not found in your JSP page. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Roland Kaeser [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 12:09 PM >To: Tomcat Users List >Subject: Re: Strange Problem with Tomcat 4.1.24 > >No, why should i do it? I was working fine before widthout that. >The Command in the JSP File is: > ><%= IsraelMySQL.getContent("home") %> > >Roland > >Shapira, Yoav wrote: >> Howdy, >> Do you import the Israel class appropriately in your JSP? >> >> Yoav Shapira >> Millennium ChemInformatics >> >> >> >>>-Original Message- >>>From: Roland Kaeser [mailto:[EMAIL PROTECTED] >>>Sent: Friday, June 13, 2003 12:03 PM >>>To: [EMAIL PROTECTED] >>>Subject: Strange Problem with Tomcat 4.1.24 >>> >>>Hello >>> >>>I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. >>>In my .jsp files I'm using a class for getting the content out of a >>>MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun >>>JRE 1.4.1 is the same as before. But now, i get the following Output >>>when i try to call the jsp Page: >>> >>>-> >>>org.apache.jasper.JasperException: Unable to compile class for JSP >>> >>>An error occurred at line: 202 in the jsp file: /home.jsp >>> >>>Generated servlet error: >>>[javac] Since fork is true, ignoring compiler setting. >>>[javac] Compiling 1 source file >>>[javac] Since fork is true, ignoring compiler setting. >>>[javac] >>>/usr/jakarta-tomcat- >>>4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: >>>cannot resolve symbol >>>[javac] symbol : variable IsraelMySQL >>>[javac] location: class org.apache.jsp.home_jsp >>>[javac] out.print( IsraelMySQL.getNews() ); >>>[javac] ^ >>><- >>> >>>But if I load the the same class from my Servlet-Application it can be >>>loaded successfully. >>> >>>Can andybody help me please? This already gonna drive me crazy. >>> >>> >>>Roland >>> >>> >>>- >>>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: Dumb Tomcat question
Howdy, It's not a dumb question ;) >I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could >you pl. let me know > >1) What are the environment variables that need to be set for both the >instances ? - CATALINA_HOME , PATH & CLASSPATH >2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira 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: Strange Problem with Tomcat 4.1.24
Hey Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Is there no other way to do that. It it was working before? I have currently a really high pressure to the this site up and running. Roland Filip Hanik wrote: you should always do it :) and starting "now" all your classes must be in a package. Filip -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:09 AM To: Tomcat Users List Subject: Re: Strange Problem with Tomcat 4.1.24 No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: <%= IsraelMySQL.getContent("home") %> Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: -> org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ <- But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - 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] - 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: Dumb Tomcat question
just install them in two different locations /usr/local/tomcat /usr/local/tomcat2 then on tomcat2/conf/server.xml change all the ports so that they don't conflict with tomcat/conf/server.xml then just start them up, that is all you need to do Filip > -Original Message- > From: Balakrishna Kudaravalli [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:13 AM > To: Tomcat Users List > Subject: Dumb Tomcat question > > > A dumb question: > > I need to run 2 instances on Tomcat 4.1.24 on one unix physical > host. Could > you pl. let me know > > 1) What are the environment variables that need to be set for both the > instances ? - CATALINA_HOME , PATH & CLASSPATH > 2) Can I set CATALINA_HOME for both instances ? -- how would this work > > Thanks for your info. > > -Bala > > - > 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: Strange Problem with Tomcat 4.1.24
you should always do it :) and starting "now" all your classes must be in a package. Filip > -Original Message- > From: Roland Kaeser [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:09 AM > To: Tomcat Users List > Subject: Re: Strange Problem with Tomcat 4.1.24 > > > No, why should i do it? I was working fine before widthout that. > The Command in the JSP File is: > > <%= IsraelMySQL.getContent("home") %> > > Roland > > Shapira, Yoav wrote: > > Howdy, > > Do you import the Israel class appropriately in your JSP? > > > > Yoav Shapira > > Millennium ChemInformatics > > > > > > > >>-Original Message- > >>From: Roland Kaeser [mailto:[EMAIL PROTECTED] > >>Sent: Friday, June 13, 2003 12:03 PM > >>To: [EMAIL PROTECTED] > >>Subject: Strange Problem with Tomcat 4.1.24 > >> > >>Hello > >> > >>I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. > >>In my .jsp files I'm using a class for getting the content out of a > >>MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun > >>JRE 1.4.1 is the same as before. But now, i get the following Output > >>when i try to call the jsp Page: > >> > >>-> > >>org.apache.jasper.JasperException: Unable to compile class for JSP > >> > >>An error occurred at line: 202 in the jsp file: /home.jsp > >> > >>Generated servlet error: > >>[javac] Since fork is true, ignoring compiler setting. > >>[javac] Compiling 1 source file > >>[javac] Since fork is true, ignoring compiler setting. > >>[javac] > >>/usr/jakarta-tomcat- > >>4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: > >>cannot resolve symbol > >>[javac] symbol : variable IsraelMySQL > >>[javac] location: class org.apache.jsp.home_jsp > >>[javac] out.print( IsraelMySQL.getNews() ); > >>[javac] ^ > >><- > >> > >>But if I load the the same class from my Servlet-Application it can be > >>loaded successfully. > >> > >>Can andybody help me please? This already gonna drive me crazy. > >> > >> > >>Roland > >> > >> > >>- > >>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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dumb Tomcat question
A dumb question: I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH & CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Thanks for your info. -Bala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster
it should be in WEB-INF/classes/some/package/Employee.class is that what you meant? never had this problem myself, what version of Tomcat? also, can you send the log trace for this Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 9:10 AM > To: [EMAIL PROTECTED] > Subject: RE: Deserializing data objects using InMemoryReplicationManager > on Tomcat cluster > > > WEB-INF/classes/some.package.Employee > > If this Employee object is put in the session and then replicated > across the > nodes for the given web application, the other nodes will have > ClassNotFoundExceptions when the InMemoryReplicationManager goes to > deserialize the session contents. I see this exception in > catalina.out when > the debug level for the InMemoryReplicationManager is set to 10. > > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 11:01 AM > To: Tomcat Users List > Subject: RE: Deserializing data objects using > InMemoryReplicationManager on > Tomcat cluster > > > I haven't seen this problem, > where is your Employee class file sitting? > > Filip > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 13, 2003 8:24 AM > > To: [EMAIL PROTECTED] > > Subject: Deserializing data objects using InMemoryReplicationManager > > on Tomcat cluster > > > > > > I have noticed when using the InMemoryReplicationManager for web > > applications on a Tomcat cluster that you will encounter a > > ClassNotFoundException when trying to deserialize the session contents > > of serialized data objects specific to the web application (i.e. a > > given web application may have an Employee class that is stored in the > > session). Although this ClassNotFoundException is thrown by the > > InMemoryReplicationManager, it appears that the class actually is > > deserialized and replicated across the nodes of the cluster. > > > > My question is if this is an accurate assertion despite the > > ClassNotFoundException? Also, why is there a ClassNotFoundException > > being thrown? Is this because the InMemoryReplicationManager does not > > use the Web Application Class Loader, Shared Class Loader, etc.? > > > > > - > 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: Strange Problem with Tomcat 4.1.24
No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: <%= IsraelMySQL.getContent("home") %> Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: -> org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ <- But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - 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: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster
WEB-INF/classes/some.package.Employee If this Employee object is put in the session and then replicated across the nodes for the given web application, the other nodes will have ClassNotFoundExceptions when the InMemoryReplicationManager goes to deserialize the session contents. I see this exception in catalina.out when the debug level for the InMemoryReplicationManager is set to 10. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:01 AM To: Tomcat Users List Subject: RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster I haven't seen this problem, where is your Employee class file sitting? Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 8:24 AM > To: [EMAIL PROTECTED] > Subject: Deserializing data objects using InMemoryReplicationManager > on Tomcat cluster > > > I have noticed when using the InMemoryReplicationManager for web > applications on a Tomcat cluster that you will encounter a > ClassNotFoundException when trying to deserialize the session contents > of serialized data objects specific to the web application (i.e. a > given web application may have an Employee class that is stored in the > session). Although this ClassNotFoundException is thrown by the > InMemoryReplicationManager, it appears that the class actually is > deserialized and replicated across the nodes of the cluster. > > My question is if this is an accurate assertion despite the > ClassNotFoundException? Also, why is there a ClassNotFoundException > being thrown? Is this because the InMemoryReplicationManager does not > use the Web Application Class Loader, Shared Class Loader, etc.? > - 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: Strange Problem with Tomcat 4.1.24
Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Roland Kaeser [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 12:03 PM >To: [EMAIL PROTECTED] >Subject: Strange Problem with Tomcat 4.1.24 > >Hello > >I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. >In my .jsp files I'm using a class for getting the content out of a >MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun >JRE 1.4.1 is the same as before. But now, i get the following Output >when i try to call the jsp Page: > >-> >org.apache.jasper.JasperException: Unable to compile class for JSP > >An error occurred at line: 202 in the jsp file: /home.jsp > >Generated servlet error: > [javac] Since fork is true, ignoring compiler setting. > [javac] Compiling 1 source file > [javac] Since fork is true, ignoring compiler setting. > [javac] >/usr/jakarta-tomcat- >4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: >cannot resolve symbol > [javac] symbol : variable IsraelMySQL > [javac] location: class org.apache.jsp.home_jsp > [javac] out.print( IsraelMySQL.getNews() ); > [javac] ^ ><- > >But if I load the the same class from my Servlet-Application it can be >loaded successfully. > >Can andybody help me please? This already gonna drive me crazy. > > >Roland > > >- >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]
Strange Problem with Tomcat 4.1.24
Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: -> org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat-4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ <- But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster
I haven't seen this problem, where is your Employee class file sitting? Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 13, 2003 8:24 AM > To: [EMAIL PROTECTED] > Subject: Deserializing data objects using InMemoryReplicationManager on > Tomcat cluster > > > I have noticed when using the InMemoryReplicationManager for web > applications on a Tomcat cluster that you will encounter a > ClassNotFoundException when trying to deserialize the session contents of > serialized data objects specific to the web application (i.e. a given web > application may have an Employee class that is stored in the session). > Although this ClassNotFoundException is thrown by the > InMemoryReplicationManager, it appears that the class actually is > deserialized and replicated across the nodes of the cluster. > > My question is if this is an accurate assertion despite the > ClassNotFoundException? Also, why is there a ClassNotFoundException being > thrown? Is this because the InMemoryReplicationManager does not > use the Web > Application Class Loader, Shared Class Loader, etc.? > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: In memory session replication and session listeners?
Flip, Got it. That's an easy, crafty way to do it. Will try it out and let you know how it works. -gabe -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 9:19 PM To: Tomcat Users List Subject: RE: In memory session replication and session listeners? The session listener is only notified on the machine the value actually gets set. Session data doesn't get replicated using the setAttribute/removeAttribute methods, but pure serialization. And for now, the clustering doesn't have a public API to send your own data through it. one way you an do it, is to implement the java.io.Externilizable interface, and when the data gets deserialized, then set the stuff in your global variable, just remember to only set it once. do you see where I am going with this? Filip > -Original Message- > From: Lawrence, Gabriel [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 4:18 PM > To: Tomcat Users List > Subject: In memory session replication and session listeners? > > > I'm using the tomcat 4 clustering stuff found at: > > http://cvs.apache.org/~fhanik/index.html > > And I have one issue. I have a service that tracks some information that > is reported outside the users session. This is examined by a different > client then the users client. I want to keep this global information in > sync across my loadbalanced servers, as I can't necessarily predict > which server the this different client is going to hit. > > The way it works without clustering is that I have a session listener > set up that gets notified whenever data is added to a users session. > This then triggers a update to my global store as well. What I think I'm > seeing is that when session information is replicated to my other > server, the fact that something was set isn't triggering a session > listener call on the other server. Does that mesh with peoples > understanding? > > Is there a way I can get it to? > > Thanks! > -gabe > > - > 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]
Antwort: RE: Antwort: RE: Valve, set/get http header attributes
It's a little bit more complicated. In front of Tomcat, an Apache server is running which does the authentication and delegates the user-id as an http header attribute. A valve will read this header attribute and simulate that the user has been authenticated through basic authentication by doing the following: String auth_string = "Basic " + new String( Base64.encode(username.getBytes()) ); request.setAuthorization(auth_string); A custom realm is plugged in also which access our custom authorization system to get the roles. This realm can be configured to do the authentication or not. Everything works fine. For testing purposes, I wrote a valve which will be called first and sets the header attribute which would be set too by the apache server. So, I can test the whole behaviour without the Apache server in front of. After setting the header attribute in the test-valve I tried to read this attribute again in the valve which simulates basic authentication, but it doesn't work to set an http header attribute in the valve. *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter Ausschluss jeder Reproduktion zu zerstören und die absendende Person umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
(SLIGHTOFFTOPIC)SSL configuration for apache and tomcat
Hi All, Thanks to everyone here who responded to my emails immediatly and helped me in moving my from Jrun to Tomcat. The transition was smooth and now my web app runs perfectly on tomcat and apache2.0.46. I have some other things to move from Jrun to tomcat and apache. First one is SSL I didnt find the mod_ssl.so in the modules directory of apache . Where can I download them and how can I configure it? Second scheduler for tomcat: I have a thread which has to run every day. How can I do it in tomcat ? It would be grateful if someone can tell me some documentation about these things . and once aain THANKS A LOT. Thanks in advance, shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Deserializing data objects using InMemoryReplicationManager on Tomcat cluster
I have noticed when using the InMemoryReplicationManager for web applications on a Tomcat cluster that you will encounter a ClassNotFoundException when trying to deserialize the session contents of serialized data objects specific to the web application (i.e. a given web application may have an Employee class that is stored in the session). Although this ClassNotFoundException is thrown by the InMemoryReplicationManager, it appears that the class actually is deserialized and replicated across the nodes of the cluster. My question is if this is an accurate assertion despite the ClassNotFoundException? Also, why is there a ClassNotFoundException being thrown? Is this because the InMemoryReplicationManager does not use the Web Application Class Loader, Shared Class Loader, etc.?
RE: mod_jk questions
John, The platform is Red Hat 9. Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [EMAIL PROTECTED] -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 12:01 AM To: Tomcat Users List Subject: Re: mod_jk questions Platform? John On Fri, 13 Jun 2003 23:47:47 +0900, Wayne Chang <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed that the mod_jk 1.2.4 was recently released. I was wondering > if > you had a binary of it available for Apache 1.3 and Tomcat 4.1. I would > like to upgrade my mod_jk. On a related note, I was hoping you could > shed > some light on some trouble I've been having. Sometimes the website > doesn't > respond to jsp requests, but loading html files is okay. I think it's a > mod_jk problem which is why I would like to upgrade it. > > Any input at all would be much appreciated, thank you for your time, > > Best regards, > > > Wayne Chang > > Pacific Northwest Software > > Mobile: (978) 869-3446 > > Email: [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: Customizing 401 Error Page (this should be easy)
Sorry :) *** INDEX.JSP START *** <%@ page language="java" import="java.io.*, com.jcafeinc.xml.*" %> <%@ include file="global-header.jsp" %> <% application.setAttribute("imgLocation", "/LMS/images/"); %> JCafe Learning Center <% if (currentUser.isCurrentRoleRoot() || currentUser.isCurrentRoleAdmin() || currentUser.isCurrentRoleManager() ) { String adminBaseOU = currentUser.getManagerOrganization(); %> <% } else { %> <% } %> *** INDEX.JSP END *** *** JCAFE-ERROR.JSP START *** <%@ page language="java" info="JCafe Error Page" isErrorPage="true" %> <%@ page import="java.io.*" %> <%-- session="false" isThreadSafe="false" --%> JCafe Error Page Your user ID or password are incorrect. Please try again or contact your system administrator or manager. *** JCAFE-ERROR.JSP START *** Thanks! Kevin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 10:00 AM To: Tomcat Users List Subject: RE: Customizing 401 Error Page (this should be easy) Howdy, Attachments don't often come through -- I don't know if it's the listserver or my company mail server. You have to post them inline (preferably trimming out anything nonessential to the problem). Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Kevin Ritter [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 10:59 AM >To: 'Tomcat Users List' >Subject: RE: Customizing 401 Error Page (this should be easy) > >Okay here you go. I've also included the custom error page JSP. > >Good luck. >Kevin > >-Original Message- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 9:51 AM >To: Tomcat Users List >Subject: RE: Customizing 401 Error Page (this should be easy) > > >Howdy, >I personally can't help much more without seeing index.jsp. > >Yoav Shapira >Millennium ChemInformatics > > >>-Original Message- >>From: Kevin Ritter [mailto:[EMAIL PROTECTED] >>Sent: Friday, June 13, 2003 10:53 AM >>To: 'Tomcat Users List' >>Subject: RE: Customizing 401 Error Page (this should be easy) >> >>Thanks for staying with me; however, after I deleted all temporary >internet >>files and repeated the test the only entry in the log is what I >reported >>last time, which is: >> >>127.0.0.1 - - [13/Jun/2003:09:42:55 -0600] "GET /LMS/index.jsp >HTTP/1.1" >>200 >>428 >> >>Any other suggestions? Am I implementing this correctly? >> >>Once again thank you in advance >>Kevin >> >>-Original Message- >>From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >>Sent: Friday, June 13, 2003 9:40 AM >>To: Tomcat Users List >>Subject: RE: Customizing 401 Error Page (this should be easy) >> >> >>Howdy, >> >>>Here's the only entry in the log: >>>127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp >>HTTP/1.1" >>>200 >>>428 >> >>Clean your browser's cache and repeat the test. The above shows the >>index.jsp was requested and returned without a problem. >> >>>If I remove the error-page element from the web.xml file everything >>works >>>fine. I was hoping to use my own custom error page for 401 errors when >>a >>>user of my application forgets his userId/password or clicks Cancel >>form >>>the Authentication login dialog. Also, I have debug set at 99. >> >>How are you handling the cancel in the login dialog or the wrong >>password? Redirect? Forward? Set response code to 401? >> >>If you can post your index.jsp code, we could probably help more... >> >>Yoav Shapira >> >> >> >>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
Pushing Apache/Tomcat to prod env
This may be slightly off topic but I'm sure others on the list can relate. I'm working on getting a prod system up as a co-location at an ISP. They've assigned an IP address but the IP is not working (i.e. ping ipaddress returns timeout). Now they are saying that the network card is misconfigured on the server but I'm fairly certain that RedHat reads from the /etc/hosts file to determine IP to respond to. Am I correct or missing some significant step in configuring the server? Thanks -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Antwort: RE: Valve, set/get http header attributes
Howdy, >The Tomcat authenticator expects this attribute to be set. But the filter >is called after the authenticator. Ahh, that's a bit more complicated. Can you state the complete flow? - User makes request to a resource that in your web.xml is specified to require authentication, right? - Tomcat's authenticator kicks in, asking for username / password I assume? - You want to add a header before the authenticator kicks in? Yoav Shapira 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: mod_jk questions
Platform? John On Fri, 13 Jun 2003 23:47:47 +0900, Wayne Chang <[EMAIL PROTECTED]> wrote: Hi, I noticed that the mod_jk 1.2.4 was recently released. I was wondering if you had a binary of it available for Apache 1.3 and Tomcat 4.1. I would like to upgrade my mod_jk. On a related note, I was hoping you could shed some light on some trouble I've been having. Sometimes the website doesn't respond to jsp requests, but loading html files is okay. I think it's a mod_jk problem which is why I would like to upgrade it. Any input at all would be much appreciated, thank you for your time, Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [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: Customizing 401 Error Page (this should be easy)
Howdy, Attachments don't often come through -- I don't know if it's the listserver or my company mail server. You have to post them inline (preferably trimming out anything nonessential to the problem). Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Kevin Ritter [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 10:59 AM >To: 'Tomcat Users List' >Subject: RE: Customizing 401 Error Page (this should be easy) > >Okay here you go. I've also included the custom error page JSP. > >Good luck. >Kevin > >-Original Message- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 9:51 AM >To: Tomcat Users List >Subject: RE: Customizing 401 Error Page (this should be easy) > > >Howdy, >I personally can't help much more without seeing index.jsp. > >Yoav Shapira >Millennium ChemInformatics > > >>-Original Message- >>From: Kevin Ritter [mailto:[EMAIL PROTECTED] >>Sent: Friday, June 13, 2003 10:53 AM >>To: 'Tomcat Users List' >>Subject: RE: Customizing 401 Error Page (this should be easy) >> >>Thanks for staying with me; however, after I deleted all temporary >internet >>files and repeated the test the only entry in the log is what I >reported >>last time, which is: >> >>127.0.0.1 - - [13/Jun/2003:09:42:55 -0600] "GET /LMS/index.jsp >HTTP/1.1" >>200 >>428 >> >>Any other suggestions? Am I implementing this correctly? >> >>Once again thank you in advance >>Kevin >> >>-Original Message- >>From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >>Sent: Friday, June 13, 2003 9:40 AM >>To: Tomcat Users List >>Subject: RE: Customizing 401 Error Page (this should be easy) >> >> >>Howdy, >> >>>Here's the only entry in the log: >>>127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp >>HTTP/1.1" >>>200 >>>428 >> >>Clean your browser's cache and repeat the test. The above shows the >>index.jsp was requested and returned without a problem. >> >>>If I remove the error-page element from the web.xml file everything >>works >>>fine. I was hoping to use my own custom error page for 401 errors when >>a >>>user of my application forgets his userId/password or clicks Cancel >>form >>>the Authentication login dialog. Also, I have debug set at 99. >> >>How are you handling the cancel in the login dialog or the wrong >>password? Redirect? Forward? Set response code to 401? >> >>If you can post your index.jsp code, we could probably help more... >> >>Yoav Shapira >> >> >> >>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] > 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: Customizing 401 Error Page (this should be easy)
Okay here you go. I've also included the custom error page JSP. Good luck. Kevin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:51 AM To: Tomcat Users List Subject: RE: Customizing 401 Error Page (this should be easy) Howdy, I personally can't help much more without seeing index.jsp. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Kevin Ritter [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 10:53 AM >To: 'Tomcat Users List' >Subject: RE: Customizing 401 Error Page (this should be easy) > >Thanks for staying with me; however, after I deleted all temporary internet >files and repeated the test the only entry in the log is what I reported >last time, which is: > >127.0.0.1 - - [13/Jun/2003:09:42:55 -0600] "GET /LMS/index.jsp HTTP/1.1" >200 >428 > >Any other suggestions? Am I implementing this correctly? > >Once again thank you in advance >Kevin > >-Original Message- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 9:40 AM >To: Tomcat Users List >Subject: RE: Customizing 401 Error Page (this should be easy) > > >Howdy, > >>Here's the only entry in the log: >>127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp >HTTP/1.1" >>200 >>428 > >Clean your browser's cache and repeat the test. The above shows the >index.jsp was requested and returned without a problem. > >>If I remove the error-page element from the web.xml file everything >works >>fine. I was hoping to use my own custom error page for 401 errors when >a >>user of my application forgets his userId/password or clicks Cancel >form >>the Authentication login dialog. Also, I have debug set at 99. > >How are you handling the cancel in the login dialog or the wrong >password? Redirect? Forward? Set response code to 401? > >If you can post your index.jsp code, we could probably help more... > >Yoav Shapira > > > >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: Customizing 401 Error Page (this should be easy)
Howdy, I personally can't help much more without seeing index.jsp. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Kevin Ritter [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 10:53 AM >To: 'Tomcat Users List' >Subject: RE: Customizing 401 Error Page (this should be easy) > >Thanks for staying with me; however, after I deleted all temporary internet >files and repeated the test the only entry in the log is what I reported >last time, which is: > >127.0.0.1 - - [13/Jun/2003:09:42:55 -0600] "GET /LMS/index.jsp HTTP/1.1" >200 >428 > >Any other suggestions? Am I implementing this correctly? > >Once again thank you in advance >Kevin > >-Original Message- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 9:40 AM >To: Tomcat Users List >Subject: RE: Customizing 401 Error Page (this should be easy) > > >Howdy, > >>Here's the only entry in the log: >>127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp >HTTP/1.1" >>200 >>428 > >Clean your browser's cache and repeat the test. The above shows the >index.jsp was requested and returned without a problem. > >>If I remove the error-page element from the web.xml file everything >works >>fine. I was hoping to use my own custom error page for 401 errors when >a >>user of my application forgets his userId/password or clicks Cancel >form >>the Authentication login dialog. Also, I have debug set at 99. > >How are you handling the cancel in the login dialog or the wrong >password? Redirect? Forward? Set response code to 401? > >If you can post your index.jsp code, we could probably help more... > >Yoav Shapira > > > >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: Customizing 401 Error Page (this should be easy)
Thanks for staying with me; however, after I deleted all temporary internet files and repeated the test the only entry in the log is what I reported last time, which is: 127.0.0.1 - - [13/Jun/2003:09:42:55 -0600] "GET /LMS/index.jsp HTTP/1.1" 200 428 Any other suggestions? Am I implementing this correctly? Once again thank you in advance Kevin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:40 AM To: Tomcat Users List Subject: RE: Customizing 401 Error Page (this should be easy) Howdy, >Here's the only entry in the log: >127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp HTTP/1.1" >200 >428 Clean your browser's cache and repeat the test. The above shows the index.jsp was requested and returned without a problem. >If I remove the error-page element from the web.xml file everything works >fine. I was hoping to use my own custom error page for 401 errors when a >user of my application forgets his userId/password or clicks Cancel form >the Authentication login dialog. Also, I have debug set at 99. How are you handling the cancel in the login dialog or the wrong password? Redirect? Forward? Set response code to 401? If you can post your index.jsp code, we could probably help more... Yoav Shapira 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]
mod_jk questions
Hi, I noticed that the mod_jk 1.2.4 was recently released. I was wondering if you had a binary of it available for Apache 1.3 and Tomcat 4.1. I would like to upgrade my mod_jk. On a related note, I was hoping you could shed some light on some trouble I've been having. Sometimes the website doesn't respond to jsp requests, but loading html files is okay. I think it's a mod_jk problem which is why I would like to upgrade it. Any input at all would be much appreciated, thank you for your time, Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [EMAIL PROTECTED]
problems with mod_jk and tomcat 4
I'm using apache 1.3.27, mod_jk with connector ajp13, tomcat 4.1.12 and Sun JVM 1.4.1 We are hosting about 90 sites on a Dual Pentium III machine, with 1,5 Gb of ram, but, on few days later, we are having problems with the last sites addded. After some searches on google (nothing found about this), change the version of mod_jk connector and others changes, I think that mod_jk have a limit of different workers. When I try to run the 86º site through ajp13, it fails with "Internal Server Error 500". Detail: the first 85 sites works fine. Well, if I put off anyone of the 85 first sites on workers.properties list, the 86º site of the list (now the 85º site) works fine. Anyone have some ideas about this? Cordialmente, Juliano Primavesi : CyberWeb Networks : CIC - Centro de Informações ao Cliente : Fone 0 xx (51) 3222-2920 : Fax 0 xx (51) 3395-3945 :.> http://www.cyberweb.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Customizing 401 Error Page (this should be easy)
Howdy, >Here's the only entry in the log: >127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp HTTP/1.1" >200 >428 Clean your browser's cache and repeat the test. The above shows the index.jsp was requested and returned without a problem. >If I remove the error-page element from the web.xml file everything works >fine. I was hoping to use my own custom error page for 401 errors when a >user of my application forgets his userId/password or clicks Cancel form >the Authentication login dialog. Also, I have debug set at 99. How are you handling the cancel in the login dialog or the wrong password? Redirect? Forward? Set response code to 401? If you can post your index.jsp code, we could probably help more... Yoav Shapira 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: Customizing 401 Error Page (this should be easy)
Good point--I've checked the log and I'm not seeing any errors--should I be seeing errors? Here's the only entry in the log: 127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp HTTP/1.1" 200 428 If I remove the error-page element from the web.xml file everything works fine. I was hoping to use my own custom error page for 401 errors when a user of my application forgets his userId/password or clicks Cancel form the Authentication login dialog. Also, I have debug set at 99. Again thank you in advance Kevin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:18 AM To: Tomcat Users List Subject: RE: Customizing 401 Error Page (this should be easy) Howdy, >I'm not getting any errors that would prevent Tomcat from starting. Are you getting any errors at all? Specifically, is there really a 401 when people are trying to access index.jsp? That would cause your behavior. Consult tomcat's access log (enable it if it's disabled, as is the default). Look for the response code when accessing index.jsp. If you still can't see what's happening, enable debug="99" for your host, context, engine, and post the logs. Yoav Shapira 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]
Antwort: RE: Valve, set/get http header attributes
The Tomcat authenticator expects this attribute to be set. But the filter is called after the authenticator. *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter Ausschluss jeder Reproduktion zu zerstören und die absendende Person umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 - validation and compilation
Yeah - I need to add this to the faq. Here's what Craig said when I asked the same thing a long time ago: 'Releases happen "when they are ready." From a user perspective, what you saw about votes of committers is all there is to go on. Committers -- and especially the release manager -- make a judgement call about the relative risk of the patches that have been applied since the preceeding beta, and decides whether or not the next release should be called a beta or not. (You should know that, for Tomcat versions < 4.1, the difference between a beta and a final release is basically wrapped up in what the release manager proposes -- there is not really any quantitative difference in the amount of pre-release testing that goes on, so waiting for the "final" release and hoping it is higher quality, simply because of that label, is pretty silly.) For Tomcat 4.1.x, the Tomcat developers have adopted a version labelling scheme similar to that used for the Apache web server, and several other Jakarta projects -- a version "4.1.x" release will be made without any label that implies quality. After the release has been in the field for a while, it will be declared "alpha", "beta", "release", or "abandoned" (if a showstopper bug occurs). On this basis, the 4.1.3 release was declared to be "beta" quality based on the feedback of those who tested it, and didn't find any showstopper bugs. There are still things on the TODO list, or it would have been declared final.' -Tim Shapira, Yoav wrote: Howdy, That question should be on the FAQ as well ;) Like all other Apache releases, the basic answer is no. It'll be ready when it's ready. You can help accelerate by downloading alpha/beta versions, using them, and reporting any bugs you find. You can help even more by contributing patches, etc. Yoav Shapira Millennium ChemInformatics -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:58 AM To: 'Tomcat Users List' Subject: RE: Tomcat 5 - validation and compilation Thanks Tim and Yoav. Is there a release date for a 5.0 stable release? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 14:47 To: Tomcat Users List Subject: RE: Tomcat 5 - validation and compilation Howdy, It's still a work in progress. You can look at the CVS HEAD for tomcat 5 if you'd like. The main deployer implementation is pretty much done, the standalone deployer with validation is not 100% done yet. The documentation for either is not 100% done yet. Yoav Shapira Millennium ChemInformatics -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:48 AM To: '[EMAIL PROTECTED]' Subject: Tomcat 5 - validation and compilation In the Tomcat home page under Tomcat 5.x, "Refactored application deployer, with an optional standalone deployer allowing validation and compilation of a web application before putting it in production" - Can someone point me to the documentation about this please? Thanks Euan - 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]
Integrating iPlanet 4.1 and Tomcat 4.1.24
Hello, I successfully connected the iPlanet Web Server via the nsapi-redirector with the Tomcat Servlet Engine via AJP13. The "ppath" attribute in the "Object" tag of the iPlanet Web Server's obj.conf to forward *.jsp files to Tomcat. The physical path to the Tomcat examples is resolved with the name trans directive, pfx2dir attribute, mapping "/webapps" to "/opt/Tomcat-4.1.24/webapps". (Document Root is not CATALINA_HOME.) This works so far, the log files show that requests for jsp files are forwarded to the Tomcat Sevlet Engine and return codes are given back to the iPlanet Web Server. The problem now is that Tomcat cannot resolve the requested URI forwarded from the iPlanet Web Serverand returns "404 File not found" for every request on jsp pages. The server name mapping is successful and the index.jsp is a copy of /opt/Tomcat-4.1.24/webapps/ROOT and physically exists in /opt/Tomcat-4.1.24/webapps. I tried several alternatives in obj.conf but nothing cures the problem. Any ideas? Regards, Angela --- 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: --- 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: authType=null 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: contentLength=-1 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: contentType=text/html;charset=ISO-8859-1 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: header=Content-Language=en 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: message=/webapps/index.jsp 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: remoteUser=null 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: status=404 2003-06-13 15:55:31 RequestDumperValve[Tomcat Servlet Engine]: === 2003-06-13 15:55:31 Ajp13Processor[10009][4] done invoking, finishing request/response 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] sendHeaders() 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] status is: 404(Not Found) 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] send() 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] doWrite(byte[], 0, 737) 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] send() 2003-06-13 15:55:31 Ajp13Processor[10009][4] [Ajp13] [RequestHandler] finish() - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Valve, set/get http header attributes
Howdy, Why do this in a valve (tomcat-specific) when you can do it in a Filter in a container-independent way? public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if(req instanceof HttpServletRequest) { HttpServletRequest hreq = (HttpServletRequest) req; hreq.addHeader("test-id", "test-value"); } chain.doFilter(req, res); } That's all you would have to do. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Oliver Wulff [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 10:18 AM >To: [EMAIL PROTECTED] >Subject: Valve, set/get http header attributes > > > > > >How can I read and write http header attributes in a valve. I tried the >following inside a valve which does return false in the second call: > >import org.apache.catalina.HttpRequest; >import javax.servlet.http.HttpServletRequest; > >... > >public void invoke(Request request, Response response, ValveContext >context) >throws IOException, ServletException >{ > > ((HttpRequest)request).addHeader("test-id", "test-value"); > ((HttpServletRequest)request).getHeader("test-id"); >... >} > > > > > > >*** BITTE BEACHTEN *** >Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet >möglicherweise vertrauliche oder gesetzlich geschützte Daten oder >Informationen. Zum Empfang derselben ist (sind) ausschliesslich die >genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht >irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter >Ausschluss jeder Reproduktion zu zerstören und die absendende Person >umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe. > > >- >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: Customizing 401 Error Page (this should be easy)
Howdy, >I'm not getting any errors that would prevent Tomcat from starting. Are you getting any errors at all? Specifically, is there really a 401 when people are trying to access index.jsp? That would cause your behavior. Consult tomcat's access log (enable it if it's disabled, as is the default). Look for the response code when accessing index.jsp. If you still can't see what's happening, enable debug="99" for your host, context, engine, and post the logs. Yoav Shapira 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]
Valve, set/get http header attributes
How can I read and write http header attributes in a valve. I tried the following inside a valve which does return false in the second call: import org.apache.catalina.HttpRequest; import javax.servlet.http.HttpServletRequest; ... public void invoke(Request request, Response response, ValveContext context) throws IOException, ServletException { ((HttpRequest)request).addHeader("test-id", "test-value"); ((HttpServletRequest)request).getHeader("test-id"); ... } *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter Ausschluss jeder Reproduktion zu zerstören und die absendende Person umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]