RE: Help with reloading a servlet for log4j logging.
You must use PropertyConfigurator.configureAndWatch(fileProperties,miliseconds) By Mariano -Mensaje original- De: Subhrajyoti Moitra [mailto:[EMAIL PROTECTED] Enviado el: jueves, 26 de mayo de 2005 8:35 Para: tomcat-user@jakarta.apache.org Asunto: Help with reloading a servlet for log4j logging. Hi, I am initializing Log4J system using an init servlet, which is loaded on start-up (servlet name is Log4JInitServlet). In web.xml I am pointing to the log4j.properties file using the tag. Problem Now suppose I change some properties in log4j.properties file. (change the log level for example). I want to reload this file with the changed properties and restart log4j system with these new properties. Question Can I re-load the new properties file (and consequently the log4j system) by reloading the initservlet (LogJInitServlet)? Something similar to reloading an entire webcontext using http://localhost/manager?reload=myLog4JApp. I don't want to restart tomcat to restart the logging system. Can this be done in tomcat? I am using tomcat 4.x version, on win32/linux systems. Thanks a lot in advance, Subhro. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to create object when context app inits and make it accesible to context by JNDI
Hi all, i like to create an object when context app inits and make it accesible to all context JSPs, classes, etc. by JNDI, i've used in $CATALINA_HOME/context-app/WEB-INF/web.xml but it creates one new instance everytime i run: Context ic=null; try { ic=new InitialContext(); paramsWeb= (WebAppParams) ic.lookup("java:comp/env/chua/WebAppParams"); . . . } Any ideas? Thanks in advance Mariano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: UTF-8 Encoding in Jsp
You should use too: and this scriptlet: request.setCharacterEncoding("UTF-8"); at the beginning. I hope this help you -Mensaje original- De: Arnab Chakravarty [mailto:[EMAIL PROTECTED] Enviado el: martes, 30 de noviembre de 2004 15:28 Para: Tomcat Users List Asunto: UTF-8 Encoding in Jsp Hi all, I need to make my all jsp files compatible with UTF-8 Encoding and even though I am using the directives: <%@ page pageEncoding="UTF-8"%> <%@ page contentType = "text/html;charset=UTF-8"%> in the jsp files, cannot make it work. Using tomcat version 5. Is there any config changes I need to make for the UTF-8 Encoding to work. Please help. Thanks in advance, Arnab - 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: jsvc and the -server option
I use this lines: JAVA_OPTS=" -server " export JAVA_OPTS in shell script before start the daemon. I read that JVM always recognize JAVA_OPTS variable environment when it is started. Regards. Mariano López -Mensaje original- De: Patrick Glennon [mailto:[EMAIL PROTECTED] Enviado el: viernes, 25 de junio de 2004 17:28 Para: '[EMAIL PROTECTED]' Asunto: jsvc and the -server option I've seen a few references to this issue, but no solution. I can't seem to figure out how to pass the -server option to the jvm via jsvc. Jsvc only recognizes -D and -X values getting passed, and I'd obviously prefer to run the server version of the VM. I can't find an equivalent command to specify the server vm. I can't believe I'm the only one having this problem. Is every other jsvc user out there just running the default client vm? Please help! -P - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Please introduce a good Tomcat debug tool
NetBeans is also a good IDE for Tomcat 5.0.x development Regards. Mariano López -Mensaje original- De: deepak shripat mane [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 16 de junio de 2004 6:26 Para: Tomcat Users List Asunto: Re: RE: Please introduce a good Tomcat debug tool Hii.. You can use Eclipse or JBuilder with tomcat server for debugging and Tracing servlet and JSP Page or u can use third party tool for program Deepak On Wed, 16 Jun 2004 Michael Cardon wrote : >I use eclipse with the 'myeclipse' plug-in. > >see www.eclipse.org > >and www.myeclipseide.com > > >-Original Message- > From: Daxin Zuo [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 15, 2004 12:13 PM >To: Tomcat Users List >Subject: Please introduce a good Tomcat debug tool > > >I currently run Tomcat 4.1.9 (without apache) to run JSP and ervlet. How to >debug JSP and Servelt in TOMCAT? >Thanks. > > >- >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: combine http and https
The lines: keystoreFile="/./.../Tomcat's SSL File" keystorePass="" are absolutely necessary for connector on port 8443. Try to set this line with yours values and set connector on port 8443 like i put in previous message, It must work. Regards Mariano López -Mensaje original- De: José Manuel Prada Sierra [mailto:[EMAIL PROTECTED] Enviado el: lunes, 14 de junio de 2004 19:20 Para: [EMAIL PROTECTED] Asunto: combine http and https Hi mariano. First of all sorry by send my question to your private email, and sorry to all of tomcat list users. I have done all you write in your message. I have j2sdk1.4.1 and j2re1.4.2_04 and it isn't necessary download jsse. I have create the certificate like you write above, with de password "changeit". Mi server.xml is: I think that the problem may be into the server.xml when I connect to my application with the port 8443, it show me a website certificate. I have not sslProtocol, keystorieFile... Are they necessary? If it is true, what should I do? Thanks. <--- > Do you have well configured Tomcat's server.xml file for SSL connections ? For example: And well generated certificate necesary for SSL ?: 1. If you are running a 1.3 JVM, download JSSE 1.0.3 (or later) from http://java.sun.com/products/jsse/ and either make it an installed extension on the system, or else set an environment variable JSSE_HOME that points at the directory into which you installed JSSE. 2. Create a certificate keystore by executing the following command: Windows:%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA Unix:$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA and specify a password value of "changeit". 3. Uncomment the "SSL HTTP/1.1 Connector" entry in $CATALINA_HOME/conf/server.xml and tweak as necessary. And, please don't send e-mails to private address, always to Tomcat list address. Mariano López _ ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/ - 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: combined http and https
Do you have well configured Tomcat's server.xml file for SSL connections ? For example: And well generated certificate necesary for SSL ?: 1. If you are running a 1.3 JVM, download JSSE 1.0.3 (or later) from http://java.sun.com/products/jsse/ and either make it an installed extension on the system, or else set an environment variable JSSE_HOME that points at the directory into which you installed JSSE. 2. Create a certificate keystore by executing the following command: Windows:%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA Unix:$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA and specify a password value of "changeit". 3. Uncomment the "SSL HTTP/1.1 Connector" entry in $CATALINA_HOME/conf/server.xml and tweak as necessary. And, please don't send e-mails to private address, always to Tomcat list address. Mariano López -Mensaje original- De: José Manuel Prada Sierra [mailto:[EMAIL PROTECTED] Enviado el: viernes, 11 de junio de 2004 12:57 Para: [EMAIL PROTECTED] Asunto: RE: combined http and https Hi Mariano. This is my web.xml file: http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";> webdes org.apache.turbine.Turbine applicationRoot webContext properties /WEB-INF/conf/TurbineResources.properties 1 SSL Pages /templates/app/screens/secure/Index.vm CONFIDENTIAL templates /templates/* logs /logs/* admin BASIC Templates I have done you said, but the protocol don't change. Always http or https. http://193.144.50.84:8080/webdes/servlet/webdes https://193.144.50.84:8443/webdes/servlet/webdes but never change the http to https. I don't know that I can be wrong. I have any error message, the protocol simply don't change and i don't know what to do. Thanks by your interesting. Regards. Hi José Manuel, if you have already configured your tomcat to work with SSL you can filter all pages you want with the following lines in web.xml context file: SSL Pages /Comun/MyPage.jsp CONFIDENTIAL You can use wildcards in like '*'... But i have a problem too, when i like to pass from http to https this work fines, but from https to http i don't have a definitely solution yet. Regards Mariano López -Mensaje original- De: José Manuel Prada Sierra [mailto:[EMAIL PROTECTED] Enviado el: lunes, 31 de mayo de 2004 12:57 Para: [EMAIL PROTECTED] Asunto: combined http and https Hi. I have an application that it was build using tdk (turbine development kit) and postgresql. I have configured tomcat with http 8080 and https 8443 but i only use http or https and i do not know how to combined both protocols. In my application i have a section that is accesible typing login and password, but i need that when an user link to this section, to activate the protocol https. could somebody tell me the way to do it? Thank you. Sorry for my english. I am a spanish. _ _ De todo para la Mujer Latina http://latino.msn.com/mujer/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using JAVA_OPTS=" -sever" with jsvc on linux
Adding -jvm server to the command line jsvc i get this error: jsvc error: Invalid JVM name specified server ./tomcat: line 85: 31021 Violación de segmento $DAEMON_HOME/jsvc -jvm server -user $TOMCAT_USER -home $JAVA_HOM E -Dcatalina.home=$CATALINA_HOME -Djava.io.tmpdir=$TMP_DIR -outfile $CATALINA_HOME/logs/catalina.out -errfile '&1 ' $CATALINA_OPTS -cp $CLASSPATH org.apache.catalina.startup.Bootstrap -Mensaje original- De: news [mailto:[EMAIL PROTECTED] nombre de Bill Barker Enviado el: viernes, 11 de junio de 2004 7:04 Para: [EMAIL PROTECTED] Asunto: Re: Using JAVA_OPTS=" -sever" with jsvc on linux Try adding: -jvm server to your command line. "Mariano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, i like to specify JAVA_OPTS=" -sever" with jsvc on linux Fedora Core > 1. I use J2SDK 1.4.2_04-b05 and Tomcat 5.0.25. > > Now i put a line into Tomcat.sh like JAVA_OPTS=" -sever ", but i don't know > if this is correct. > > Tomcat.sh: > > JAVA_HOME=/var/j2sdk > CATALINA_HOME=/var/tomcat > DAEMON_HOME=/var/tomcat/bin > TOMCAT_USER=tomcat > TMP_DIR=/var/tmp > JAVA_OPTS=" -server " > export JAVA_OPTS > CATALINA_OPTS="-Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m" > CLASSPATH=\ > $JAVA_HOME/lib/tools.jar:\ > $CATALINA_HOME/bin/commons-daemon.jar:\ > $CATALINA_HOME/bin/bootstrap.jar > > case "$1" in > start) > # > # Start Tomcat > # > $DAEMON_HOME/jsvc \ > -user $TOMCAT_USER \ > -home $JAVA_HOME \ > -Dcatalina.home=$CATALINA_HOME \ > -Djava.io.tmpdir=$TMP_DIR \ > -outfile $CATALINA_HOME/logs/catalina.out \ > -errfile '&1' \ > $CATALINA_OPTS \ > -cp $CLASSPATH \ > # > # To get a verbose JVM > #-verbose \ > # To get a debug of jsvc. > #-debug \ > ;; > > stop) > # > # Stop Tomcat > # > PID=`cat /var/run/jsvc.pid` > kill $PID > ;; > > *) > echo "Usage tomcat.sh start/stop" > exit 1;; > esac > > Thanks. > > Mariano López > - 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: Using JAVA_OPTS=" -sever" with jsvc on linux
With this opts in CATALINA_OPTS i get this message error: jsvc error: Invalid option -server jsvc error: Cannot parse command line arguments Mariano López -Mensaje original- De: Dale, Matt [mailto:[EMAIL PROTECTED] Enviado el: jueves, 10 de junio de 2004 11:20 Para: Tomcat Users List; [EMAIL PROTECTED] Asunto: RE: Using JAVA_OPTS=" -sever" with jsvc on linux It looks like you should put it in your CATALINA_OPTS so that line would become CATALINA_OPTS="-server -Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m" -Original Message- From: Mariano [mailto:[EMAIL PROTECTED] Sent: 10 June 2004 10:17 To: [EMAIL PROTECTED] Subject: Using JAVA_OPTS=" -sever" with jsvc on linux Hi all, i like to specify JAVA_OPTS=" -sever" with jsvc on linux Fedora Core 1. I use J2SDK 1.4.2_04-b05 and Tomcat 5.0.25. Now i put a line into Tomcat.sh like JAVA_OPTS=" -sever ", but i don't know if this is correct. Tomcat.sh: JAVA_HOME=/var/j2sdk CATALINA_HOME=/var/tomcat DAEMON_HOME=/var/tomcat/bin TOMCAT_USER=tomcat TMP_DIR=/var/tmp JAVA_OPTS=" -server " export JAVA_OPTS CATALINA_OPTS="-Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m" CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar case "$1" in start) # # Start Tomcat # $DAEMON_HOME/jsvc \ -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '&1' \ $CATALINA_OPTS \ -cp $CLASSPATH \ # # To get a verbose JVM #-verbose \ # To get a debug of jsvc. #-debug \ ;; stop) # # Stop Tomcat # PID=`cat /var/run/jsvc.pid` kill $PID ;; *) echo "Usage tomcat.sh start/stop" exit 1;; esac Thanks. Mariano López - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using JAVA_OPTS=" -sever" with jsvc on linux
Hi all, i like to specify JAVA_OPTS=" -sever" with jsvc on linux Fedora Core 1. I use J2SDK 1.4.2_04-b05 and Tomcat 5.0.25. Now i put a line into Tomcat.sh like JAVA_OPTS=" -sever ", but i don't know if this is correct. Tomcat.sh: JAVA_HOME=/var/j2sdk CATALINA_HOME=/var/tomcat DAEMON_HOME=/var/tomcat/bin TOMCAT_USER=tomcat TMP_DIR=/var/tmp JAVA_OPTS=" -server " export JAVA_OPTS CATALINA_OPTS="-Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m" CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar case "$1" in start) # # Start Tomcat # $DAEMON_HOME/jsvc \ -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '&1' \ $CATALINA_OPTS \ -cp $CLASSPATH \ # # To get a verbose JVM #-verbose \ # To get a debug of jsvc. #-debug \ ;; stop) # # Stop Tomcat # PID=`cat /var/run/jsvc.pid` kill $PID ;; *) echo "Usage tomcat.sh start/stop" exit 1;; esac Thanks. Mariano López
RE: combined http and https
Hi José Manuel, if you have already configured your tomcat to work with SSL you can filter all pages you want with the following lines in web.xml context file: SSL Pages /Comun/MyPage.jsp CONFIDENTIAL You can use wildcards in like '*'... But i have a problem too, when i like to pass from http to https this work fines, but from https to http i don't have a definitely solution yet. Regards Mariano López -Mensaje original- De: José Manuel Prada Sierra [mailto:[EMAIL PROTECTED] Enviado el: lunes, 31 de mayo de 2004 12:57 Para: [EMAIL PROTECTED] Asunto: combined http and https Hi. I have an application that it was build using tdk (turbine development kit) and postgresql. I have configured tomcat with http 8080 and https 8443 but i only use http or https and i do not know how to combined both protocols. In my application i have a section that is accesible typing login and password, but i need that when an user link to this section, to activate the protocol https. could somebody tell me the way to do it? Thank you. Sorry for my english. I am a spanish. _ Reserva desde ahora tus vacaciones en MSN Viajes. Más cómodo, más barato y más opciones. http://www.msn.es/Viajes/ - 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: How to know http port and https port on tomcat
That's ok, but when I recieve a SSL request and i want to redirect to NON SSL request i need to know the other port, not the port of the curren request. Thanks -Mensaje original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviado el: jueves, 27 de mayo de 2004 14:50 Para: Tomcat Users List; [EMAIL PROTECTED] Asunto: RE: How to know http port and https port on tomcat Hi, Use HttpServletRequest#getLocalPort. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Mariano [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 27, 2004 8:50 AM >To: 'Tomcat Users List' >Subject: How to know http port and https port on tomcat > >Hi all, can i know which port is using tomcat in http and https in jsp page >or servlet? > >This values are sets in server.xml file in coyote connector port, for >example: > > > > > >Thanks > >Mariano López > > >- >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]
How to know http port and https port on tomcat
Hi all, can i know which port is using tomcat in http and https in jsp page or servlet? This values are sets in server.xml file in coyote connector port, for example: Thanks Mariano López - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to force only page login SSL and rest NON SSL
For performance reasons. I'll take a look at single sign on. Thanks Mariano López -Mensaje original- De: Parsons Technical Services [mailto:[EMAIL PROTECTED] Enviado el: jueves, 27 de mayo de 2004 13:48 Para: Tomcat Users List; [EMAIL PROTECTED] Asunto: Re: How to force only page login SSL and rest NON SSL Mariano, Two thing come to mind: 1. Why not just leave it in SSL? 2. You have a problem of losing the session. When you move from SSL to NON SSL page you lose the session and create a new one. This is for security reasons. Past that the only thing that come to mind is Single sign on. There are others more knowledgeable than me on this. Doug www.parsonstechnical.com - Original Message - From: "Mariano" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 6:37 AM Subject: How to force only page login SSL and rest NON SSL > Hi everybody > > I want to force my page login via SSL, and i did it with: > > > > SSL > /Comun/LoginUsuario.jsp > > > CONFIDENTIAL > > > > but when i want validate an user i like to force rest of pages via NON SSL, > i have tried it with other : > > > > Aplicacion de IGeSan > /IGeSan/* > > > NONE > > > > But when i do the "response.sendRedirect(user.getAppPage());" always do it > in SSL mode. > > Any ideas. > > Thanks > > Mariano Lopez > > > - > 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]
How to force only page login SSL and rest NON SSL
Hi everybody I want to force my page login via SSL, and i did it with: SSL /Comun/LoginUsuario.jsp CONFIDENTIAL but when i want validate an user i like to force rest of pages via NON SSL, i have tried it with other : Aplicacion de IGeSan /IGeSan/* NONE But when i do the "response.sendRedirect(user.getAppPage());" always do it in SSL mode. Any ideas. Thanks Mariano Lopez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache 1.3 tomcat 5.0.19
On Wednesday 31 March 2004 15:14, Emerson Cargnin wrote: Hi, I run apache 1.3 whit Tomcat 4.1 and i use mod_jk2. Its works fine. > Ive being researching about mod_jk and as far as I can see, the mod_jk > was made to work with apache 2 (even that it says that it works with 1.3). > > Do I have to build mod_jk again if I use jk2 > > I have read that jk1.3 would be better suited to apache 1.3... > > What's the best connector to use with apache 1.3 and tomcat 5?? > > thanks > > Randy Harrison wrote: > > Galem, > > > > Mod_jk and mod_jk2 are connectors between tomcat and a standard > > webserver(apache, etc.). If you are going to use tomcat as a stanalone > > sever you don't need to connect to apache. > > > > Short answer = no. > > > > Randy Harrison > > Developer, eWatch Services > > PR Newswire > > 612 243-0601 x1120 > > [EMAIL PROTECTED] > > > > > > > > Galam > > <[EMAIL PROTECTED]To: Tomcat Users > > List <[EMAIL PROTECTED]> > > > > >cc: > > > >Subject: RE: apache 1.3 > > tomcat 5.0.19 03/17/2004 04:59 > > PM > > Please respond to > > "Tomcat Users > > List" > > > > > > > > > > > > > > Shapira, > > > > I have a question! > > > > If I use Tomcat5 standalone in production, do I still need to configure > > the mod_jk ? The mod_jk has been giving me too much troubles, and it > > would be really great if it is not needed in standalone enviroment. > > Thanks! > > > > Galam. > > > > > > > > > > "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Hi, > > Tomcat 5 can be used standalone to serve static content including > > images, yes. The same is true for tomcat 3 and 4 as well. People are > > using tomcat in production without a front-end server to handle static > > content, yes. Is there a drop in performance? Probably yes, but it > > depends on the static content, the traffic your site gets, the hardware > > and software configuration, and a host of other variables: frequently > > the drop in performance is better than the additional maintenance and > > setup costs of a separate front-end. > > > > Yoav Shapira > > Millennium Research Informatics > > > >>-Original Message- > >>From: Emerson Cargnin [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, March 17, 2004 2:16 PM > >>To: Tomcat Users List > >>Subject: Re: apache 1.3 tomcat 5.0.19 > >> > >>I have a complementary question, taht I know that i have being asked > >>before, but didn't find any answer, it's related to my previous > > > > question: > >>- Tomcat 5 can be used directly (in production) without apache??? For > >>serving static pages and images??? I mean, there are anybody using it > >>direct in production, without any drop in performance? > >> > >>Emerson Cargnin wrote: > >>>Hi all > >>> > >>>I'm migrating a tomcat 3.2.3 isntallation to version 5. > >>>When using 3.2.3, I used to use automatic mod_jk.conf-auto generation > >>>for use by apache. Does version 5 has the same feature? Or do I have > > > > to > > > >>>configure it by hand?? any how-to?? It's not mentioned in tomcat 5 > > > > docs.. > > > >>>I used mod_jk, is jk2 prefered There's no linux release for it > > > > and > > > >>>when trying to build as the readme says, the buildI doesn't work at > >> > >>all... > >> > >>>I'm using suse 9 / apache 1.3 and tomcat 5. > >> > >>-- > >>Emerson Cargnin > >>Analista de Sistemas > >>Setor de Desenvolvimento de Sistemas - TRE-SC > >>tel : (048) - 251-3700 - Ramal 3181 > >> > >> > >>- > >>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] > > > > > > Do you Yahoo!? > > Yahoo! Mail - More reliable, more storage, less spam > > > > > > > > > > > > - > > 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: jsvc.exec error
I have this shell script to use with Tomat 5.0.19 with Fedora Core 1 and works fine: #!/bin/sh # # Startup script for Tomcat 5.0 # # chkconfig: 345 84 16 # description: Tomcat 5.0 jakarta JSP server # # Small shell script to show how to start/stop Tomcat using jsvc # If you want to have Tomcat running on port 80 please modify the server.xml # file: # # # # # You need a developement version of Tomcat (Apache Tomcat/4.1-dev) # # Adapt the following lines to your configuration JAVA_HOME=/var/j2sdk CATALINA_HOME=/var/tomcat DAEMON_HOME=/var/tomcat/bin TOMCAT_USER=tomcat TMP_DIR=/var/tmp CATALINA_OPTS="-Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m" CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $DAEMON_HOME/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar case "$1" in start) # # Start Tomcat # $DAEMON_HOME/jsvc \ -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '&1' \ $CATALINA_OPTS \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap # # To get a verbose JVM #-verbose \ # To get a debug of jsvc. #-debug \ ;; stop) # # Stop Tomcat # PID=`cat /var/run/jsvc.pid` kill $PID ;; *) echo "Usage tomcat.sh start/stop" exit 1;; esac I hope this help you. Mariano López -Mensaje original- De: Mark Shifman [mailto:[EMAIL PROTECTED] Enviado el: lunes, 15 de marzo de 2004 20:24 Para: [EMAIL PROTECTED] Asunto: jsvc.exec error I just installed and init.d script for jakarta-tomcat-5.0.19. I am running linux 2.4.21-9.ELsmp. The edited Tomcat5.sh script seems to work fine but I get this message logged to catalina.out when I stop tomcat: jsvc.exec error: Service exit with a return value of 143 I checked jsvc-unix.c but it doesn't really say anything except the child may not have exited cleanly. ps doesn't show any obvious orphans or zombies. Whats going on? How can I fix this. thanks mas - 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: UTF-8 special characters
This work fine with Tomcat 5.0.19, which version of tomcat are you using? I don't try it in other versions. Mariano -Mensaje original- De: Jonathan Abramsohn [mailto:[EMAIL PROTECTED] Enviado el: martes, 09 de marzo de 2004 11:04 Para: Tomcat Users List Asunto: RE: UTF-8 special characters I've tried it and it doesn't help. Am I doing something wrong? -Original Message- From: Mariano [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 11:56 To: 'Tomcat Users List' Subject: RE: UTF-8 special characters Put this in 8080 connector of your server.xml file,lookup for URIEncoding="UTF-8", tomcat automatically do encoding: Mariano -Mensaje original- De: Jonathan Abramsohn [mailto:[EMAIL PROTECTED] Enviado el: martes, 09 de marzo de 2004 10:45 Para: Tomcat Users List Asunto: UTF-8 special characters Hi all After solving the most of the internationalization problems I had, I still have, some problem: If I have, some special character, in the query string (e.g. the URL), like é or ç tomcat gets it as é or ç. Same thing I had with user input, but there, the problem was solved by setting the request encoding to "UTF-8" At the first request. Any ideas? Thanks Jonathan ** The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies. ** eSafe scanned this email for viruses, vandals and malicious content. ** ** ** The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies. ** eSafe scanned this email for viruses, vandals and malicious content. ** ** - 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: UTF-8 special characters
Put this in 8080 connector of your server.xml file,lookup for URIEncoding="UTF-8", tomcat automatically do encoding: Mariano -Mensaje original- De: Jonathan Abramsohn [mailto:[EMAIL PROTECTED] Enviado el: martes, 09 de marzo de 2004 10:45 Para: Tomcat Users List Asunto: UTF-8 special characters Hi all After solving the most of the internationalization problems I had, I still have, some problem: If I have, some special character, in the query string (e.g. the URL), like é or ç tomcat gets it as é or ç. Same thing I had with user input, but there, the problem was solved by setting the request encoding to "UTF-8" At the first request. Any ideas? Thanks Jonathan ** The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies. ** eSafe scanned this email for viruses, vandals and malicious content. ** ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Internationalization problem
Yes, in the conf/server.xml file, connector port:_ Mariano -Mensaje original- De: Jonathan Abramsohn [mailto:[EMAIL PROTECTED] Enviado el: martes, 02 de marzo de 2004 13:30 Para: Tomcat Users List Asunto: RE: Internationalization problem I've added the two lines you mentioned but it still doesn't help. Is there a way to tell the servlet that receives the parameters from the request.getParameter(paramName) to read it as utf-8 or any other encoding? Thanks Jonathan -Original Message- From: STOCKHOLM, Raymond [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 12:58 To: Tomcat Users List Subject: RE: Internationalization problem é is "é" in UTF-8. It means that your browser is returning UTF-8, and your servlet/JSP is expecting ISO-8859-1. Check how your JSP is configured to handle the character set. To use UTF-8 in your JSP : <%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %> and make sure that the charset in your JSP/HTML is defined as UTF-8 : -Message d'origine- De : Jonathan Abramsohn [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 mars 2004 11:48 À : Tomcat Users List Objet : Internationalization problem I have problem with French special characters, like e with "accent" (é), When I get this character from user input, tomcat gets it as: é. Although I didn't check this in other languages I presume the same problems should also occur in German and Spanish and probably other languages. I'm working with tomcat 4.0.1 on Linux RH 9.0 Anyone knows how to solve this? - 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: not work in Tomcat 5.0.18 ?
Yes, my configuration is: Could it be a tomcat bug in 5.0.18 ? -Mensaje original- De: Juan de Bravo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 11:40 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? Hi Mariano, I 've proved this configuration in Tomcat 4.1.29 an it works. When I try to get my URI http://localhost:8080/chart/index.jsp I get redirect to https://localhost:8443/chart/index.jsp. I can see that in my browser. Have you configured your HTTP1.1 connector to redirect to HTTPS connector (port 8443 in my configuratio) the SSL request? Something like that: Juan. -Mensaje original----- De: Mariano [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 11:31 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? It doesn't work, i can acces this pages using http and i like to force access https for this pages. Thanks -Mensaje original- De: Juan de Bravo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:41 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? Try this in your WEB-INF\web.xml application file HTMLManger and Manager command /*.jsp GET POST CONFIDENTIAL You must not fill in and use CONFIDENTIAL in , so it should be used HTTPS to cipher data communications. Hope it works!!! -Mensaje original- De: Mariano [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:23 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? ok, then, How can i force tomcat using hppts with some jsp pages? Thanks Mariano López -Mensaje original- De: Juan de Bravo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:17 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? The tag is related with Realm authenticator, not with SSL security. Juan. -Mensaje original- De: Mariano [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:11 Para: [EMAIL PROTECTED] Asunto: not work in Tomcat 5.0.18 ? Hi all, i am working with tomcat 5.0.18, j2sdk 1.4.2_03 and Win 2000 Professional. I like to force tomcat work with some pages with htpps, for those tomcat is configurated conf/web.xml with: When I access a jsp page manually with https://localhost:8443/ works fine. And my META-INF/web.xml of my application with: sescam /sescam/Comun/LoginUsuario.jsp CONFIDENTIAL I think that this security constraint force tomcat to use https even if I acces to page with http://localhost:8080/sescam/Comun/LoginUsuario.jsp, redirecting automatically to https://localhost:8443/sescam/Comun/LoginUsuario.jsp, but it doesn't work and i can view without problems the page on non https connection. What is wrong? Thanks. Mariano López - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: not work in Tomcat 5.0.18 ?
It doesn't work, i can acces this pages using http and i like to force access https for this pages. Thanks -Mensaje original- De: Juan de Bravo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:41 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? Try this in your WEB-INF\web.xml application file HTMLManger and Manager command /*.jsp GET POST CONFIDENTIAL You must not fill in and use CONFIDENTIAL in , so it should be used HTTPS to cipher data communications. Hope it works!!! -Mensaje original----- De: Mariano [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:23 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? ok, then, How can i force tomcat using hppts with some jsp pages? Thanks Mariano López -Mensaje original- De: Juan de Bravo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:17 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? The tag is related with Realm authenticator, not with SSL security. Juan. -----Mensaje original- De: Mariano [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:11 Para: [EMAIL PROTECTED] Asunto: not work in Tomcat 5.0.18 ? Hi all, i am working with tomcat 5.0.18, j2sdk 1.4.2_03 and Win 2000 Professional. I like to force tomcat work with some pages with htpps, for those tomcat is configurated conf/web.xml with: When I access a jsp page manually with https://localhost:8443/ works fine. And my META-INF/web.xml of my application with: sescam /sescam/Comun/LoginUsuario.jsp CONFIDENTIAL I think that this security constraint force tomcat to use https even if I acces to page with http://localhost:8080/sescam/Comun/LoginUsuario.jsp, redirecting automatically to https://localhost:8443/sescam/Comun/LoginUsuario.jsp, but it doesn't work and i can view without problems the page on non https connection. What is wrong? Thanks. Mariano López - 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: not work in Tomcat 5.0.18 ?
ok, then, How can i force tomcat using hppts with some jsp pages? Thanks Mariano López -Mensaje original- De: Juan de Bravo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:17 Para: 'Tomcat Users List' Asunto: RE: not work in Tomcat 5.0.18 ? The tag is related with Realm authenticator, not with SSL security. Juan. -Mensaje original- De: Mariano [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 10:11 Para: [EMAIL PROTECTED] Asunto: not work in Tomcat 5.0.18 ? Hi all, i am working with tomcat 5.0.18, j2sdk 1.4.2_03 and Win 2000 Professional. I like to force tomcat work with some pages with htpps, for those tomcat is configurated conf/web.xml with: When I access a jsp page manually with https://localhost:8443/ works fine. And my META-INF/web.xml of my application with: sescam /sescam/Comun/LoginUsuario.jsp CONFIDENTIAL I think that this security constraint force tomcat to use https even if I acces to page with http://localhost:8080/sescam/Comun/LoginUsuario.jsp, redirecting automatically to https://localhost:8443/sescam/Comun/LoginUsuario.jsp, but it doesn't work and i can view without problems the page on non https connection. What is wrong? Thanks. Mariano López - 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]
not work in Tomcat 5.0.18 ?
Hi all, i am working with tomcat 5.0.18, j2sdk 1.4.2_03 and Win 2000 Professional. I like to force tomcat work with some pages with htpps, for those tomcat is configurated conf/web.xml with: When I access a jsp page manually with https://localhost:8443/ works fine. And my META-INF/web.xml of my application with: sescam /sescam/Comun/LoginUsuario.jsp CONFIDENTIAL I think that this security constraint force tomcat to use https even if I acces to page with http://localhost:8080/sescam/Comun/LoginUsuario.jsp, redirecting automatically to https://localhost:8443/sescam/Comun/LoginUsuario.jsp, but it doesn't work and i can view without problems the page on non https connection. What is wrong? Thanks. Mariano López
Using -server JVM option with jsvc
Hi all, i like to use -server option JVM with jsvc. If I use -server in CATALINA_OPTS doesn't work, i also use export JAVA_OPTS="-server" in the script but i don't know if this works. It seems likes works fine, but i don't konw if -server option is working. Thanks. Mariano López - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
UTF-9 encoding in FORM with POST
Hi, all I have installed tomcat 5.0.16 in windows 2000 professional(j2sdk 1.4.2) and i hava a jsp page with: pageEncoding="utf-8" contentType="text/html; charset=UTF-8" and i had modified the URIEncoding="UTF-8" of my Coyote HTTP/1.1 Connector in server.xml file. When i try to submit my form with GET method retrives right the values of my form in UTF-8 encoding but when i do it with POST method not. Any ideas why? Thanks Mariano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk (Apache + Tomcat)
I have configured apache 2.0.47 + tomcat 4.1.27 with mod_jk 2.0.2 on a Red Hat 6.2 distribution. It seems to work fine but in the error_log file I obtain the following message: [error] mod_jk child init 1 0 I dont know what is the problem. Thanks
How to read/write files located outside WEB-INF
Hi, Im writting this application to edit configuration files. These files are located in several folders in the local filesystem where the tomcat server is running and where my app is also running. I want to be able to open/writte these files from a JSP but I've found in forums that I can only read/write files located at the WEB-INF folder of my application. Is this true? Is there a way to configure the tomcat server to allow a certain application to use an external folder? Thank you all in advance for you help. I hope there something I can do to get this working.. its kind of importat. Best Regards -- Powered by Outblaze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: AW: Help! Need connection pooling for tc4.
Hallo Ralph, thanks for your hint, but I haven't found any reference to tomcat or using a connection pool "datasource style" ... The problem is, WebSphere does have something like this and the suits are just waiting for an opportunity to move our application to WebSphere. Our application does rely on having the connections datasource style ;-( Bye, Mariano "Ralph Einfeldt" <[EMAIL PROTECTED]> 24.05.2002 15:56 Bitte antworten an "Tomcat Users List" <[EMAIL PROTECTED]> An: "Tomcat Users List" <[EMAIL PROTECTED]> Kopie: (Blindkopie: Mariano Kamp/IEK_EXT/Essen/MCO) Thema: AW: Help! Need connection pooling for tc4. Have a look at http://www2.gvsu.edu/~millerjr/ResearchPaper.html > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 24. Mai 2002 17:50 > An: Tomcat Users List > Betreff: Help! Need connection pooling for tc4. > > Is there any connection > pool (datasource style) available? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Help! Need connection pooling for tc4.
Hi, we are about to deploy an application to production and just learned that tomcat 4.0.3 doesn't seem to pool connections. Is there any connection pool (datasource style) available? As it is an intrantet application we are about to deploy and we already know that we will have 700 concurrent users this topic is quite pressing for us. Any insights will be appreciated. Btw. I tried tc4.1, but besides printing a message to stdout I get no sign that it is pooling connections. Cheers, Mariano -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Connection Pooling with Tomcat 4.0.3?
Hi there, we use tc4.0.3 and setup a datasource in server.xml. When meassuring the time to get a JDBC connection we get results between 100 and 1000 ms. I was expecting results like 5-50 ms. Is there any connection pooling enabled at all? Do I need to do some additional configurations than specified in the docs? How can I tweak the pool size? What connection pool is used by default? Cheers, Mariano -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Help with Apache
I have the following simple problem with apache runnign under w2k. I have a directory under c:\program files\apache\htdocs\ called shop. the thing is when i point to http://myserver/shop i get 404, but if i try http://myserver/shop/ it works ok. what shou i do to make the first way work. thanks in advance mariano
tomcat+apache
Hi folks, I have installed tomcat 4.03 on linux redhat and apache 1.3.2 also i have download mod_webapp and integrated with apache following the instruccions. when i run tomcat i have the following meessage at the console Starting service Tomcat-Standalone Apache Tomcat/4.0.3 Starting service Tomcat-Apache Apache Tomcat/4.0.3 i chech at the browser ah javadev:8180/examples (my host) and works fine but when i check without the port (just javadev/examples) it's fails. apache is working fine because when i point javadev it tells me the server is working ok. i have added this lines to my http.conf(apache) LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples WebAppInfo /webapp-info is it ok? Thnks in advance mariano _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
/ as path for my webapp
Hi there, I'd like to assign the "/" as path for my webapp (cocoon). How do I specify that? I tried to copy the servlet and mapping from the web.xml out of the cocoon.war, but with no success. It seems to me that it doesn't recognize the libraries then?!? Any thoughts? Mariano
jsp could not be loaded on winnt
Hi there, hopefully I am not repeating a already asked questions, but I couldn't find it in the archives. Tomcat 3.2.1. is working fine on our linux boxes, but we also need to setup tomcat on a notebook for demonstrations. The strange thing is, it is not working. We are using Sun's JDK 1.3 and WIN 2K. When trying to access a servlet we get a Null Pointer Exception and when looking at the stack trace it seems to be related to to the class loading (adaptiveClassloader). Is there anyway to start Tomcat in debug mode? I'd like to see what class is missing or whatever reason there is?! Btw. When starting up tomcat right before establishing the handlers it reports that the jsp servlect could not be loaded and displays a count to 357. I have never seen this on Linux?! Any ideas? Mariano -- mariano kamp codamax ag hessenring 89 61348 bad homburg v.d.h. germany phone +49 6172 182 473 fax+49 6172 182 475 mobile +49 173 300 8564 (changed!) -- mariano kamp codamax ag hessenring 89 61348 bad homburg v.d.h. germany phone +49 6172 182 473 fax+49 6172 182 475 mobile +49 173 300 8564 (changed!) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
jsp could not be loaded on winnt
Hi there, hopefully I am not repeating a already asked questions, but I couldn't find it in the archives. Tomcat 3.2.1. is working fine on our linux boxes, but we also need to setup tomcat on a notebook for demonstrations. The strange thing is, it is not working. We are using Sun's JDK 1.3 and WIN 2K. When trying to access a servlet we get a Null Pointer Exception and when looking at the stack trace it seems to be related to to the class loading (adaptiveClassloader). Is there anyway to start Tomcat in debug mode? I'd like to see what class is missing or whatever reason there is?! Btw. When starting up tomcat right before establishing the handlers it reports that the jsp servlect could not be loaded and displays a count to 357. I have never seen this on Linux?! Any ideas? Mariano -- mariano kamp codamax ag hessenring 89 61348 bad homburg v.d.h. germany phone +49 6172 182 473 fax+49 6172 182 475 mobile +49 173 300 8564 (changed!) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]