Re: Urgent ! Pls help !
Try this: netstat -a |grep 8009 If he finds something, than you should see that, tomcat is listening on that port (8009). Next thing is try on your server locally: telnet localhost 8009 If you can see the message 'escape with ^C' or similar msg, than tomcat config is fine. if tomcat is fine, you have to control your mod_jk configuration. have you compiled mod_jk to apache or did you download a binary version? If it's the binary it should match the version of your apache httpd, otherwise it won't work. In any case, I think it's a good idea to compile mod_jk for your apache. kind regards Tuan Arnab Chakravarty wrote: ajp13 and ajp14 and not ajp12...correction -Original Message- From: Arnab Chakravarty [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:32 AM To: Tomcat Users List Subject: RE: Urgent ! Pls help ! Can u check ur server.xml config file and check if the port is correctly set for the ajp12 connector to server the request... -Original Message- From: a a [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:28 AM To: [EMAIL PROTECTED] Subject: Urgent ! Pls help ! Dear all, I have some problem when connecting apache to tomcat. I have installed both apache1.3 and tomcat4. I use mod_jk to do the connection. However some problems exists. Here is the log file of mod_jk.log when I run apachectl restart: [Wed Jan 28 20:32:57 2004] [jk_connect.c (233)]: jk_open_socket, connect() failed errno = 111 [Wed Jan 28 20:32:57 2004] [jk_ajp_common.c (757)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 and here is the worker.properties: workers.tomcat_home=/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina workers.java_home=$(JAVA_HOME) workers.th=$(workers.tomcat_home) ps=\ worker.list=ajp13, ajp14 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.ajp14.port=8010 worker.ajp14.host=localhost worker.ajp14.type=ajp14 worker.ajp14.secretkey=secret worker.ajp14.credentials=myveryrandomentropy worker.ajp14.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr I don't know what the problem is. Could anyone please help me to solve the problem. Regards, John LEE ... http://ringtone.yahoo.com.hk/ - 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: Tomcat5 RH ES mod_jk2 Apache2
Make these additions/ammendments to workers2 [ajp13:localhost:8009] channel=channel.socket:localhost:809 [shm] file=/tmp/shm.file size=100 Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 18:27 To: [EMAIL PROTECTED] Subject: Tomcat5 RH ES mod_jk2 Apache2 I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 running on RedHat Enterprise Server. I get html over port 80, but no jsp or servlets will run. Don't know what I may have missed. jk2.properties handler.list=channelSocket,request channelSocket.port=8009 channelSocket.address=127.0.0.1 workers2.properties [channel.socket:localhost:8009] [ajp13:localhost:8009] [status:status] [uri:/sjstatus/*] group=status:status [uri:/servlets-examples/*] worker=ajp13:localhost:8009 debug=0 Appreciate any help, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
jk2_init(): Can't find child in scoreboard
Hi, I've setup Apache 2.0.48 with Tomcat 5.0.16 and connected them with mod_jk2 2.0.2. When I start Apache I find the following output in the log file: [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3617 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3618 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3619 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3620 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3621 in scoreboard [Mon Feb 02 10:54:50 2004] [notice] Apache/2.0.48 (Unix) DAV/2 mod_jk2/2.0.2 configured -- resuming normal operations [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 My jk2.properties has only one line: shm.file=/usr/local/apache2/conf/jk2.shm This is my workers2.properties: [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 [uri:/demo_02/*] info=Map the whole webapp [shm] file=/usr/local/apache2/conf/jk2.shm size=100 BTW, I can access the Tomcat project without specifying the port number 8080 so I assume that mod_jk2 works, but why do I get these error messages? May I ignore them? Thanks in advance, Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
{Virus?} hello
Warning: This message has had one or more attachments removed Warning: (doc.zip). Warning: Please read the yoursite-Attachment-Warning.txt attachment(s) for more information. The message contains Unicode characters and has been sent as a binary attachment. This is a message from the MailScanner E-Mail Virus Protection Service -- The original e-mail attachment doc.zip was believed to be infected by a virus and has been replaced by this warning message. If you wish to receive a copy of the *infected* attachment, please e-mail helpdesk and include the whole of this message in your request. Alternatively, you can call them, with the contents of this message to hand when you call. At Mon Feb 2 08:29:32 2004 the virus scanner said: McAfee: doc.zipFound the W32/[EMAIL PROTECTED] virus !!! Note to Help Desk: Look on the MailScanner in /var/spool/MailScanner/quarantine/20040202 (message i12BTUS15390). -- Postmaster MailScanner thanks transtec Computers for their support - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: jk2_init(): Can't find child in scoreboard
Yes you can safely ignore them, if your httpd-tomcat link is ok. If you take a look at the source for mod_jk2 this is part of the worker initialization.1 means the workers initialized and the child id is -2 (which if memory serves me right, means that mod_jk2 could not find the id of that worker in the httpd scoreboard). Yiannis -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 10:05 To: 'Tomcat Users List' Subject: jk2_init(): Can't find child in scoreboard Hi, I've setup Apache 2.0.48 with Tomcat 5.0.16 and connected them with mod_jk2 2.0.2. When I start Apache I find the following output in the log file: [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3617 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3618 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3619 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3620 in scoreboard [Mon Feb 02 10:54:50 2004] [error] jk2_init() Can't find child 3621 in scoreboard [Mon Feb 02 10:54:50 2004] [notice] Apache/2.0.48 (Unix) DAV/2 mod_jk2/2.0.2 configured -- resuming normal operations [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 [Mon Feb 02 10:54:50 2004] [error] mod_jk child init 1 -2 My jk2.properties has only one line: shm.file=/usr/local/apache2/conf/jk2.shm This is my workers2.properties: [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 [uri:/demo_02/*] info=Map the whole webapp [shm] file=/usr/local/apache2/conf/jk2.shm size=100 BTW, I can access the Tomcat project without specifying the port number 8080 so I assume that mod_jk2 works, but why do I get these error messages? May I ignore them? Thanks in advance, Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Re: Re: Re: TOmcat 5.0.16 console error,Pls help
Did you just added the Context in server.xml or did something else?? Looks like the server.xml is not validated. - Original Message - From: Avinash Sridhar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Doug Parsons [EMAIL PROTECTED] Sent: Monday, February 02, 2004 2:46 AM Subject: Re: Re: Re: TOmcat 5.0.16 console error,Pls help Hi, This is an update to the previous HelloServlet.java file,forgot to add the lines package On Mon, 02 Feb 2004 Avinash Sridhar wrote : Hi, Thanks for the help,The HelloServlet.java file is as follows /*HelloServlet.java***/ package package.structure import java.io.*; import javax.servlet.*; import javax.servlet.http.*; /** Simple servlet used to test server. * P * Taken from Core Servlets and JavaServer Pages 2nd Edition * from Prentice Hall and Sun Microsystems Press, * http://www.coreservlets.com/. * © 2003 Marty Hall; may be freely used or adapted. */ public class HelloServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType(text/html); PrintWriter out = response.getWriter(); String docType = !DOCTYPE HTML PUBLIC \-//W3C//DTD HTML 4.0 + Transitional//EN\\n; out.println(docType + HTML\n + HEADTITLEHello/TITLE/HEAD\n + BODY BGCOLOR=\#FDF5E6\\n + H1Hello/H1\n + /BODY/HTML); } } /*HelloServlet.java***/ Hoping to get going with it. Thanks AS On Mon, 02 Feb 2004 Doug Parsons wrote : Post your HelloServlet code or attach it. - Original Message - From: Avinash Sridhar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 01, 2004 10:21 PM Subject: TOmcat 5.0.16 console error,Pls help Hi, I was told that the .class files must be put into a package in order for the tomcat to run it. My directory structure is as follows, %TOMCAT HOME %/webapps/sampleapp/WEB-INF/classes /WEB-INF/lib /WEB-INF/sourcefiles /WEB-INF/web.xml In the classes directory I have make something like this /classes/package/structure/HelloServlet.class(This is my servlet file), Now I have changed/made the web.xml in MY WEB-INF directory and have added this / Contents of web.xml file */ ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name /** This is the prominent change **/ servlet-classpackage.structure.HelloServlet/servlet-class /** This is the prominent change **/ /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app / Contents of web.xml file */ Hope that it is right so far, I dont know how to change the %TOMCAT_HOME%/conf/server.xml,do we have to change anything here??, this is what I have written in the server.xml file. /* Contents of server.xml file ***/ Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context /* Contents of server.xml file ***/ And finally I am getting theses errors in the tomcat console /*** Errors in Tomcat console */ Feb 1, 2004 10:04:22 PM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. org.xml.sax.SAXParseException: The processing instruction target matching [xX] mM][lL] is not allowed. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(U known Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLScanner.scanPIData(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unk own Source) at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source) at
HTTPS with Apache 2.0.48 and Tomcat 5.0.16
Hi, I try to set an Apache 2.0.48 with a connection to Tomcat 5.0.16 via mod_jk2 2.0.2. The static pages should be accessed via normal HTTP whereas the dynamic pages of my webapp should only be accessible via HTTPS for security. I installed a certificate in /usr/local/apache2/conf/ssl.cert and set up a virtual host for the SSL pages in ssl.conf: VirtualHost _default_:443 DocumentRoot /usr/local/tomcat/webapps/demo_02 ServerName www.development.home:443 ServerAdmin [EMAIL PROTECTED] ErrorLog /usr/local/apache2/logs/error_log TransferLog /usr/local/apache2/logs/access_log Alias /demo_02 /usr/local/tomcat/webapps/demo_02 Location /demo_02/WEB-INF/* AllowOverride None deny from all /Location Location /demo_02/META-INF/* AllowOverride None deny from all /Location JKMount /demo_02/*.do ajp13 JKMount /demo_02/*.jsp ajp13 JKMount /demo_02 ajp13 JKMount /demo_02/* ajp13 SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/server.key Files ~ \.(cgi|shtml|phtml|php3?)$ SSLOptions +StdEnvVars /Files Directory /usr/local/apache2/cgi-bin SSLOptions +StdEnvVars /Directory SetEnvIf User-Agent .*MSIE.* \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog /usr/local/apache2/logs/ssl_request_log \ %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \%r\ %b /VirtualHost When I call the webapp over http://localhost/demo_02 everything works fine. The request to my webapp is forwarded to Tomcat. But when I switch to https I get Connection refused from the browser. I do not see anything in any log file. Did I miss a configuration step? Or did I misconfigure something? Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
This is an httpd question but here goes :) Just because you declared your virtual host/port pair that doesn't mean that httpd is listening to port 443. Therefore you need to add a Listen directive to your conf: Listen your_virtual_host_name:443 and you should be set. Yiannis -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 11:42 To: 'Tomcat Users List' Subject: HTTPS with Apache 2.0.48 and Tomcat 5.0.16 Hi, I try to set an Apache 2.0.48 with a connection to Tomcat 5.0.16 via mod_jk2 2.0.2. The static pages should be accessed via normal HTTP whereas the dynamic pages of my webapp should only be accessible via HTTPS for security. I installed a certificate in /usr/local/apache2/conf/ssl.cert and set up a virtual host for the SSL pages in ssl.conf: VirtualHost _default_:443 DocumentRoot /usr/local/tomcat/webapps/demo_02 ServerName www.development.home:443 ServerAdmin [EMAIL PROTECTED] ErrorLog /usr/local/apache2/logs/error_log TransferLog /usr/local/apache2/logs/access_log Alias /demo_02 /usr/local/tomcat/webapps/demo_02 Location /demo_02/WEB-INF/* AllowOverride None deny from all /Location Location /demo_02/META-INF/* AllowOverride None deny from all /Location JKMount /demo_02/*.do ajp13 JKMount /demo_02/*.jsp ajp13 JKMount /demo_02 ajp13 JKMount /demo_02/* ajp13 SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/server.key Files ~ \.(cgi|shtml|phtml|php3?)$ SSLOptions +StdEnvVars /Files Directory /usr/local/apache2/cgi-bin SSLOptions +StdEnvVars /Directory SetEnvIf User-Agent .*MSIE.* \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog /usr/local/apache2/logs/ssl_request_log \ %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \%r\ %b /VirtualHost When I call the webapp over http://localhost/demo_02 everything works fine. The request to my webapp is forwarded to Tomcat. But when I switch to https I get Connection refused from the browser. I do not see anything in any log file. Did I miss a configuration step? Or did I misconfigure something? Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
RE: Problem reloading Tomcat 5.0.16 application
uder tomcat_home you got a work folder empty the folder off your aplication inside the work folder tomcat load aplication into that folder to serv it faster as a temporary i ad this problem but it might not bee that im under win xp [EMAIL PROTECTED] administrateur http://entre-nous.qc.tc From: Barry Kimelman [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Problem reloading Tomcat 5.0.16 application Date: Sun, 1 Feb 2004 17:55:29 -0600 (Central Standard Time) My system is Linux Redhat 9. I am running Tomcat 5.0.16 from a binary distribution. I can successfully compile and install my application. The JSP page works fine. However, when I make a change to the Java class used by the Bean referenced in the JSP file, then issue a ant reload command (which succeeds) and again execute my tomcat application, I get the output from the old version of the application I resorted to undeploying, recompiling and installing to get Tomcat to run my updated code. How can I get Tomcat to recognize the changes I make to my own personal class files ? _ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 2. Februar 2004 13:00 schrieb Yiannis Mavroukakis: This is an httpd question but here goes :) Just because you declared your virtual host/port pair that doesn't mean that httpd is listening to port 443. Therefore you need to add a Listen directive to your conf: Listen your_virtual_host_name:443 My ssl.conf contains the following line: Listen 443 Do I have to insert the hostname here? Ralf. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAHj+I7YyyfykA0YkRAp5JAJ4wGvqjJVDfAhIg+m0IANHNbsZfxgCffWMW vc/N/KOQWHH/iWKbRPk1IQ4= =iwMU -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
access log
I'm using the access log valve to record my traffic and I was wondering: - if anyone was thinking of adapting it to write to a database via jdbc? - if anyone has a script to import the daily log files into a mysql database? - how easy it would be to adapt the date output to '2004-02-02' instead of '02/02/2004'? rgds Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: access log
There is already JDBCAccessLogValve. Look there first. I think there might be bugzilla report or two against it so I don't know how good it is. Personally I don't like using a database as an access logger. (Unless the database is asynchronously filled using a buffer) -Tim Adam Hardy wrote: I'm using the access log valve to record my traffic and I was wondering: - if anyone was thinking of adapting it to write to a database via jdbc? - if anyone has a script to import the daily log files into a mysql database? - how easy it would be to adapt the date output to '2004-02-02' instead of '02/02/2004'? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
Best remove that line, stick it in your httpd.conf instead along with the hostname. -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 12:16 To: Tomcat Users List Subject: Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 2. Februar 2004 13:00 schrieb Yiannis Mavroukakis: This is an httpd question but here goes :) Just because you declared your virtual host/port pair that doesn't mean that httpd is listening to port 443. Therefore you need to add a Listen directive to your conf: Listen your_virtual_host_name:443 My ssl.conf contains the following line: Listen 443 Do I have to insert the hostname here? Ralf. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAHj+I7YyyfykA0YkRAp5JAJ4wGvqjJVDfAhIg+m0IANHNbsZfxgCffWMW vc/N/KOQWHH/iWKbRPk1IQ4= =iwMU -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Tomcat 4.1.29 and J2SDK1.4.2
Hi, I´m using Tomcat 4.1.29 on a windows 2000 machine in combination with j2sdk1.4.2_03 s.e. I used to run this tomcat version under jdk1.3.1_02 and all worked well. Because of better results under Ant I wanted to upgrade the sdk version. Now my tomcat will not start and is complaining about the JVM. I have changed the JAVA_HOME and the JSSE_HOME env. settings and restarted but no result. Any sugestions? Maarten == System Manager event viewer error messages: The Apache Tomcat 4.1 service failed to start. Could not load the Java Virtual Machine. The LoadLibrary function failed for the following reason: The specified module could not be found. == This communication together with any attachments transmitted with it (this E-Mail) is intended only for the use of the addressee and may contain information which is privileged and confidential. If the reader of this E-Mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are hereby notified that any use, dissemination, forwarding, printing or copying of this E-Mail is strictly prohibited. Addressees should check this E-mail for viruses. The Company makes no representations as regards the absence of viruses in this E-Mail. If you have received this E-Mail in error please notify our ISe Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail at [EMAIL PROTECTED] Please then immediately delete, erase or otherwise destroy this E-Mail and any copies of it. Any opinions expressed in this E-Mail are those of the author and do not necessarily constitute the views of the Company. Nothing in this E-Mail shall bind the Company in any contract or obligation. For the purposes of this E-Mail the Company means The Carphone Warehouse Group Plc and/or any of its subsidiaries. Please feel free to visit our website: http:// www.carphonewarehouse.com or http://www.phonehouse.com The Carphone Warehouse Group Plc (Registered in England No. 3253714) North Acton Business Park, Wales Farm Road, London W3 6RS
Re: access log
Log4J comes with a database appender, so in theory one could feed access logs to a database asynchronously. peter lin Tim Funk [EMAIL PROTECTED] wrote: There is already JDBCAccessLogValve. Look there first. I think there might be bugzilla report or two against it so I don't know how good it is. Personally I don't like using a database as an access logger. (Unless the database is asynchronously filled using a buffer) -Tim Adam Hardy wrote: I'm using the access log valve to record my traffic and I was wondering: - if anyone was thinking of adapting it to write to a database via jdbc? - if anyone has a script to import the daily log files into a mysql database? - how easy it would be to adapt the date output to '2004-02-02' instead of '02/02/2004'? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it!
[TOMCAT] - WebAdmin under Tomcat 5.0.18
Hello everybody, Sorry for my poor English, i'm a little French man ;-) I would like to know why under Tomcat 5.0.18 web admin and when i want to create a host, after the creation, i m shutdown and restart tomcat, my new host don't appear in the list under web admin ? Have you an idea ? Thx PS : i'm an newbie under tomcat. My config is Mandrage 9 / Apache 2 / Tomcat 5.0.18
Re: apache + tomcat virtual hostnames
OK, I am answering my own question here... The trick is to set: UseCanonicalName on in httpd.conf Dean A. Hoover wrote: I am using apache 2 and tomcat 4.1 connected with mod_jk. I have multiple virtual named hosts in the httpd.conf file, such as: VirtualHost *:80 ServerName www.myserver.com ServerAlias myserver.com ... set up so that apache serves up the static content, and tomcat will handle the servlet stuff. In my server.xml file I set the attribute name to www.myserver.com in the Host tagset. This works fine if I hit http://www.myserver.com but not for http://myserver.com. Apache handles both the same, but not tomcat. Is there something like ServerAlias in tomcat? Dean - 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: About_tomcat5_manager_and_status_application
Howdy, I hwould like to install tomcat5 manager and status applications in tomcat4. You can't. They depend on internal changes in the connector, host, and other core elements that are not backwards portable. 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: changing content of response through filter ?
Howdy, Sure it's possible. You can use a few approaches, but you should probably take a look at the HttpServletResponseWrapper first. Yoav Shapira Millennium ChemInformatics -Original Message- From: Albrecht Berger [mailto:[EMAIL PROTECTED] Sent: Sunday, February 01, 2004 8:47 AM To: Tomcat Users List Subject: changing content of response through filter ? Hello, is it possible to change the generated jsp/servlet content of a response ? Do I need a filter, or something else ? Thx berger - 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: access log
Howdy, - if anyone was thinking of adapting it to write to a database via jdbc? Too slow, unless done very carefully asynchronously (and then you have to really take care to keep entries in the right order, etc -- it's a nightmare). - how easy it would be to adapt the date output to '2004-02-02' instead of '02/02/2004'? That should be a fairly easy enhancement patch, but it might slow down the performance a bit. 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: Load Balancing Problem...Urgent
Howdy, Before you do this, see if the balancer webapp that ships with tomcat5 suits your needs. The KISS principle... Yoav Shapira Millennium ChemInformatics -Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: Sunday, February 01, 2004 4:52 AM To: Tomcat Users List Subject: Re: Load Balancing Problem...Urgent Kok Wei, Koh wrote, On 2/1/2004 1:33 AM: Why not go with the latest:- * apache 1.3.29 I would recommend Apache 2.0.48 myself as it has the mod_deflate module which enables gzip compression and can save a LOT of bandwidth as well. I've been using Apache 2 along with mod_jk and load-balanced Tomcats with no problems. -Dave - 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: Redeployment of War over and over Supported?
Howdy, Wow, OK, thanks for the great insight. In other words, it's safe to assume to always restart Tomcat when deploying webapps. That, of course, is less than ideal. For testing, that just makes the development time longer (and more complicated, since now we have to remember to restart Tomcat every X deployment times). And for production, of course we don't want to take anything down. In practice, it's also common to have one webapp per tomcat instance, so that should anything go wrong (e.g. OutOfMemoryError, malicious code), only one webapp is affected even if you have to restart the tomcat server. So that above is not bad from that perspective. 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: Servlet Context Initialized more than once
Howdy, It's because you have both autoDeploy/liveDeploy enabled (which makes tomcat scan the appBase directory for webapps and deploy them automatically), AND a Context explicitly defined in server.xml. So tomcat does both and that's why you get double deployment. Yoav Shapira Millennium ChemInformatics -Original Message- From: Zoltan Regos [mailto:[EMAIL PROTECTED] Sent: Saturday, January 31, 2004 5:22 AM To: 'Tomcat Users List' Subject: Servlet Context Initialized more than once Hi All, I have been using Tomcat 4.1.18 with Apache2. I would need a class file to be called via the ServletContextListener to make some init things before any of my servlets would be called. I managed to get Tomcat to call my ServletContextListener when the context is initialized but for some unknown reason it is called twice as there would be two separate contexts. The first call occurs automatically right after I start the Tomcat but there is a second one when any of the servlets are called through a browser. Can you please anyone explain to me if there is a way to make it behave as there would be only servlet context - I would need the global initialization to be called only once. On quitting tomcat there are two entries at the end of its log file clearly showing that two contexts have been created. (tomcat log file is also attached). Thank you in advance, Zoltan snippet from server.xml, one context path: Context path=/servlets/sitedirector docBase=sitedirector debug=0 reloadable=false crossContext=false snippet from web.xml under w:\WebRoot-Tomcat\sitedirector\WEB-INF\web.xml listener listener-classsitedirector.common.ConfigFirst/listener-class /listener tomcat log file: 2004-01-30 18:17:18 WebappLoader[/servlets/sitedirector]: Deploying class repositories to work directory C:\dev\tomcat-4.1.18-LOGIN\work\Standalone\localhost\servlets_sitedirec tor 2004-01-30 18:17:18 WebappLoader[/servlets/sitedirector]: Deploy class files /WEB-INF/classes to w:\WebRoot-Tomcat\sitedirector\WEB-INF\classes 2004-01-30 18:17:18 StandardManager[/servlets/sitedirector]: Seeding random number generator class java.security.SecureRandom 2004-01-30 18:17:18 StandardManager[/servlets/sitedirector]: Seeding of random number generator has been completed 2004-01-30 18:17:18 StandardWrapper[/servlets/sitedirector:default]: Loading container servlet default 2004-01-30 18:17:18 StandardWrapper[/servlets/sitedirector:invoker]: Loading container servlet invoker 2004-01-30 18:17:34 HostConfig[localhost]: Deploying web application directory sitedirector 2004-01-30 18:17:34 StandardHost[localhost]: Installing web application at context path /sitedirector from URL file:W:\WebRoot-Tomcat\sitedirector 2004-01-30 18:17:34 WebappLoader[/sitedirector]: Deploying class repositories to work directory C:\dev\tomcat-4.1.18-LOGIN\work\Standalone\localhost\sitedirector 2004-01-30 18:17:34 WebappLoader[/sitedirector]: Deploy class files /WEB-INF/classes to W:\WebRoot-Tomcat\sitedirector\WEB-INF\classes 2004-01-30 18:17:34 StandardManager[/sitedirector]: Seeding random number generator class java.security.SecureRandom 2004-01-30 18:17:34 StandardManager[/sitedirector]: Seeding of random number generator has been completed 2004-01-30 18:17:34 StandardWrapper[/sitedirector:default]: Loading container servlet default 2004-01-30 18:17:34 StandardWrapper[/sitedirector:invoker]: Loading container servlet invoker 2004-01-30 18:19:46 StandardHost[localhost]: Removing web application at context path /sitedirector 2004-01-30 18:19:46 StandardHost[localhost]: Removing web application at context path /servlets/sitedirector - 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]
Change URL path of a webapps to root
Hi all, Sorry if this question has already been asked before... I have a webapps http://localhost/myApps/ on Tomcat 4.1.27 which I'd simply like to map to http://localhost . I've added a simple context... tag in the server.xml file and put the path attribute to blank (). This seems to work, but I'd like to know if this is enough ? Should I delete all ROOT webapps files anyway (the ones installed with Tomcat by default) ? Because what I don't understand is that the ROOT context is disabled by default in the server.xml file (context docBase=ROOT... tag is between comment tags), but it can still be accessed through HTTP !? Thanks for your help. Alain ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **
RE: Tomcat / WebSphere Performance
Howdy, Tomcat WAS Win 2K WAS iSeries Overall Average Response time 873ms 680ms22206ms What on earth is this? How can WAS on an IBM box be 32 times slower than WAS (same WAS version, same JDK) on a Windows box? ;) Any comments would be greatly useful. Find out the intricate details of this test to see if it's applicable to you at all. With the above results, I'm doubting the rigorousness/accuracy of the test. 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: Change URL path of a webapps to root
Howdy, Sorry if this question has already been asked before... I have a webapps http://localhost/myApps/ on Tomcat 4.1.27 which I'd simply like to map to http://localhost . I've added a simple context... tag in the server.xml file and put the path attribute to blank (). This seems to work, but I'd like to know if this is enough ? Should I delete all ROOT webapps files anyway (the ones installed with Tomcat by default) ? Because what I don't understand is that the ROOT context is disabled by default in the server.xml file (context docBase=ROOT... tag is between comment tags), but it can still be accessed through HTTP !? What you've done is enough. You don't need to delete the ROOT files because the ROOT context is commented out by default. But if you don't need them, delete them for cleanliness. And yes, this has been asked many times before, you can search this list's archives for more details if you'd like ;) 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[2]: About_tomcat5_manager_and_status_application
Do You know what libraries Should I change like common.jar May be I should change all server/lib libraries and also common? Yoav Howdy, I hwould like to install tomcat5 manager and status applications in tomcat4. Yoav You can't. They depend on internal changes in the connector, host, and Yoav other core elements that are not backwards portable. Yoav Yoav Shapira Yoav This e-mail, including any attachments, is a confidential Yoav business communication, and may contain information that is Yoav confidential, proprietary and/or privileged. This e-mail is Yoav intended only for the individual(s) to whom it is addressed, and Yoav may not be saved, copied, printed, disclosed or used by anyone Yoav else. If you are not the(an) intended recipient, please Yoav immediately delete this e-mail from your computer system and Yoav notify the sender. Thank you. Yoav - Yoav To unsubscribe, e-mail: Yoav [EMAIL PROTECTED] Yoav For additional commands, e-mail: Yoav [EMAIL PROTECTED] Best wishes Ingmars Rubenis LU University of Latvia Developer IT Department (371) 9227133
Re: Tomcat5 RH ES mod_jk2 Apache2
The jsp is working but not the servlets. I've double check /alias and workers for typos. Other suggestions?? Yiannis Mavroukakis wrote: Make these additions/ammendments to workers2 [ajp13:localhost:8009] channel=channel.socket:localhost:809 [shm] file=/tmp/shm.file size=100 Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 18:27 To: [EMAIL PROTECTED] Subject: Tomcat5 RH ES mod_jk2 Apache2 I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 running on RedHat Enterprise Server. I get html over port 80, but no jsp or servlets will run. Don't know what I may have missed. jk2.properties handler.list=channelSocket,request channelSocket.port=8009 channelSocket.address=127.0.0.1 workers2.properties [channel.socket:localhost:8009] [ajp13:localhost:8009] [status:status] [uri:/sjstatus/*] group=status:status [uri:/servlets-examples/*] worker=ajp13:localhost:8009 debug=0 Appreciate any help, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: update tomcat 4 to tomcat 5
Howdy, can anybody explain me how to update between different versions of tomcat without install and configure the complete tomcat? its all if im copy the jars from the new tomcat in the /server/lib dir from the old tomcat ? I was going to response different but then I read the question carefully: without install and configure the complete tomcat? To that, I have no response, as a new install is required. 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: Tomcat / WebSphere Performance
There was talk (on this list) that the IBM JVM on iseries had a massive performance bug when a specific log4j attribute was used. (I don't know which one) -Tim Shapira, Yoav wrote: Howdy, Tomcat WAS Win 2K WAS iSeries Overall Average Response time 873ms 680ms22206ms What on earth is this? How can WAS on an IBM box be 32 times slower than WAS (same WAS version, same JDK) on a Windows box? ;) Any comments would be greatly useful. Find out the intricate details of this test to see if it's applicable to you at all. With the above results, I'm doubting the rigorousness/accuracy of the test. Yoav Shapira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Change URL path of a webapps to root
Hi Yoav, What you've done is enough. You don't need to delete the ROOT files because the ROOT context is commented out by default. But if you don't need them, delete them for cleanliness. Thanks a lot. How is it possible that the ROOT context is accessible, while the entry in server.xml is put inside comments ? (didn't find this one in the archives ;-) ). ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.29 and J2SDK1.4.2
Hi. I had same problem when upgrading JDKs. After downloading and installing jakarta-tomcat-4.1.29-LE-jdk14.exe instead of jakarta-tomcat-4.1.29.exe it worked fine. (http://apache.mirrors.rossfell.co.uk/dist/jakarta/tomcat-4/v4.1.29/bin/jakarta-tomcat-4.1.29-LE-jdk14.exe) Hope this helps. Duncan Smith www.pennymail.com Maarten van Heiningen wrote: Hi, I´m using Tomcat 4.1.29 on a windows 2000 machine in combination with j2sdk1.4.2_03 s.e. I used to run this tomcat version under jdk1.3.1_02 and all worked well. Because of better results under Ant I wanted to upgrade the sdk version. Now my tomcat will not start and is complaining about the JVM. I have changed the JAVA_HOME and the JSSE_HOME env. settings and restarted but no result. Any sugestions? Maarten == System Manager event viewer error messages: The Apache Tomcat 4.1 service failed to start. Could not load the Java Virtual Machine. The LoadLibrary function failed for the following reason: The specified module could not be found. == This communication together with any attachments transmitted with it (this E-Mail) is intended only for the use of the addressee and may contain information which is privileged and confidential. If the reader of this E-Mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are hereby notified that any use, dissemination, forwarding, printing or copying of this E-Mail is strictly prohibited. Addressees should check this E-mail for viruses. The Company makes no representations as regards the absence of viruses in this E-Mail. If you have received this E-Mail in error please notify our ISe Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail at [EMAIL PROTECTED] Please then immediately delete, erase or otherwise destroy this E-Mail and any copies of it. Any opinions expressed in this E-Mail are those of the author and do not necessarily constitute the views of the Company. Nothing in this E-Mail shall bind the Company in any contract or obligation. For the purposes of this E-Mail the Company means The Carphone Warehouse Group Plc and/or any of its subsidiaries. Please feel free to visit our website: http:// www.carphonewarehouse.com or http://www.phonehouse.com The Carphone Warehouse Group Plc (Registered in England No. 3253714) North Acton Business Park, Wales Farm Road, London W3 6RS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat5 RH ES mod_jk2 Apache2
Hmm ok.. :) you don't need channelSocket.address=127.0.0.1 in jk2.properties. Add the following under [channel.socket:localhost:8009] host=localhost port=8009 and under [ajp13:localhost:8009] add this channel=channel.socket:localhost:8009 Before you go about making those changes, make sure that your servlets are working OK on standalone tomcat :) Good luck, Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 14:10 To: Tomcat Users List Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 The jsp is working but not the servlets. I've double check /alias and workers for typos. Other suggestions?? Yiannis Mavroukakis wrote: Make these additions/ammendments to workers2 [ajp13:localhost:8009] channel=channel.socket:localhost:809 [shm] file=/tmp/shm.file size=100 Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 18:27 To: [EMAIL PROTECTED] Subject: Tomcat5 RH ES mod_jk2 Apache2 I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 running on RedHat Enterprise Server. I get html over port 80, but no jsp or servlets will run. Don't know what I may have missed. jk2.properties handler.list=channelSocket,request channelSocket.port=8009 channelSocket.address=127.0.0.1 workers2.properties [channel.socket:localhost:8009] [ajp13:localhost:8009] [status:status] [uri:/sjstatus/*] group=status:status [uri:/servlets-examples/*] worker=ajp13:localhost:8009 debug=0 Appreciate any help, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
RE: RE : Change URL path of a webapps to root
Howdy, Thanks a lot. How is it possible that the ROOT context is accessible, while the entry in server.xml is put inside comments ? (didn't find this one in the archives ;-) ). Because by default tomcat will automatically deploy web applications from the appBase directory. See the Host element configuration reference for how to control this behavior, especially the section titled Automatic Application Deployment. 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: Session disconnect
I don't think it has anythin to so with cookies because sessions don't use paths. -Original Message- From: Antonio Fiol Bonnin [mailto:[EMAIL PROTECTED] Sent: Sunday, February 01, 2004 3:30 AM To: Tomcat Users List Subject: Re: Session disconnect Mark Tebong wrote: I have it configured so that when a request for a URL (say www.mydom1.com) comes in, the proxy sends it to 192.168.11.211/mydom1. When I access the pages of the site that use the session thru www.mydom1.com, I get an exception. When I access it through 192.168.11.211/mydom1, it works fine. I looked at the tomcat logs and I saw that the session was disconnecting when you used the proxy. Hi, No idea about the images stuff, but... Could you be having trouble because of the path attribute of the cookies? If Tomcat (or your webapp) is setting it to /mydom1 then browsers will not send it when accessing /. HTH, Antonio Fiol - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat and apache
I have a little problem with my web site. It has to do with the session disconnecting on my proxy server. Basically, I have an apache 2.0 server that acts as a web proxy. Its IP is 192.168.11.11. I also have another server which is internal, and running tomcat with IP 192.168.11.211. On the proxy server, I have it configured so that when a request for a URL (say www.mydom1.com) comes in, the proxy sends it to 192.168.11.211/mydom1. www.mydom1.com maintains a session. When I access the pages of the site that use the session thru www.mydom1.com, I get an exception. When I access it through 192.168.11.211/mydom1, it works fine. I am accessing it from IP 192.168.11.40. But from outsite, the only way to access it is through the domain name, and it gives the same error. Similarly, The web site has large graphics, and what happens is that half the graphics is displayed when you try to access through the proxy, but when you access it directly, everything is fine. This happens the same way from different computers. I looked at the tomcat logs and I saw that the session was disconnecting when you used the proxy. I have looked everywhere on the web, and I can't find any solutions. PLEASE HELP. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Run Tomcat 5 as Root or Tomcat User?
Hi, I installed Tomcat 5.0.16 as root. Now it means that I have to start and stop it being root unless I change ownership on a number of directories including $TOMCAT_HOME/bin. My question is should I run Tomcat as root or should I create a Tomcat User with the rights to start and stop tomcat and change ownership on ALL Tomcat directories to that user? I don't think Tomcat 5 comes with startup scripts. I'm trying to write a startup script but inside the script I have to 'su root' and that means I'll be prompted to enter the password. I'd like Tomcat to start at boot so I need to avoid the password prompt. What is the proper way of doing it since it's my first time.? Thanks for your help. NK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Run Tomcat 5 as Root or Tomcat User?
Howdy, My question is should I run Tomcat as root or should I create a Tomcat User with the rights to start and stop tomcat and change ownership on ALL Tomcat directories to that user? Run as tomcat user that has permissions to stop/start tomcat and modify directories under $CATALINA_HOME but nothing else. It's a good general security practice. I don't think Tomcat 5 comes with startup scripts. I'm trying to write a There are startup scripts in the $CATALINA_HOME/bin directory. There have also been scripts posted to this list in the past that make tomcat startup at system boot: you can search the list archives for those. 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: Tomcat5 RH ES mod_jk2 Apache2
Same as in the past works fine on port 8080. Jsp stuff works on port 80. Html in servlets-examples works fine. Servlets cannot be found??? Yiannis Mavroukakis wrote: Hmm ok.. :) you don't need channelSocket.address=127.0.0.1 in jk2.properties. Add the following under [channel.socket:localhost:8009] host=localhost port=8009 and under [ajp13:localhost:8009] add this channel=channel.socket:localhost:8009 Before you go about making those changes, make sure that your servlets are working OK on standalone tomcat :) Good luck, Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 14:10 To: Tomcat Users List Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 The jsp is working but not the servlets. I've double check /alias and workers for typos. Other suggestions?? Yiannis Mavroukakis wrote: Make these additions/ammendments to workers2 [ajp13:localhost:8009] channel=channel.socket:localhost:809 [shm] file=/tmp/shm.file size=100 Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 18:27 To: [EMAIL PROTECTED] Subject: Tomcat5 RH ES mod_jk2 Apache2 I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 running on RedHat Enterprise Server. I get html over port 80, but no jsp or servlets will run. Don't know what I may have missed. jk2.properties handler.list=channelSocket,request channelSocket.port=8009 channelSocket.address=127.0.0.1 workers2.properties [channel.socket:localhost:8009] [ajp13:localhost:8009] [status:status] [uri:/sjstatus/*] group=status:status [uri:/servlets-examples/*] worker=ajp13:localhost:8009 debug=0 Appreciate any help, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Console Error tomcat 5.0.16
have my own directory as sampleapp which has the necessary structure and the .class file is put into the following directory structure. classes/package1/structure/HelloServlet.class. My question is in %TOMCAT%/conf/server.xml file how is the Context /Context tag written. I have written it like this Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context The directory structure of sampleapp is as follows.. %TOMCAT%/webapps/sampleapp/WEB-INF/classes /lib /sourcefiles /web.xml. The classes directory has the structure like this.. classes/package1/structure/HelloServlet class file. My Web.xml file looks like this / web.xml / ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name servlet-classpackage1.structure.HelloServlet/servlet-class /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app /* web.xml **/ /*** Console error */ Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. /*** Console error */ Let me know if any changes are to be made. Help greatly apreciated. Thanks AS
RE: Tomcat5 RH ES mod_jk2 Apache2
Curious...Send me your entire workers2.properties file and I'll have a look. Also, what are the urls you are using to access your html/jsp/servlets? Feel free to use 'localhost' if you don't want to reveal sensitive server hostname/ip's Yiannis -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 15:22 To: Tomcat Users List Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 Same as in the past works fine on port 8080. Jsp stuff works on port 80. Html in servlets-examples works fine. Servlets cannot be found??? Yiannis Mavroukakis wrote: Hmm ok.. :) you don't need channelSocket.address=127.0.0.1 in jk2.properties. Add the following under [channel.socket:localhost:8009] host=localhost port=8009 and under [ajp13:localhost:8009] add this channel=channel.socket:localhost:8009 Before you go about making those changes, make sure that your servlets are working OK on standalone tomcat :) Good luck, Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 14:10 To: Tomcat Users List Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 The jsp is working but not the servlets. I've double check /alias and workers for typos. Other suggestions?? Yiannis Mavroukakis wrote: Make these additions/ammendments to workers2 [ajp13:localhost:8009] channel=channel.socket:localhost:809 [shm] file=/tmp/shm.file size=100 Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 18:27 To: [EMAIL PROTECTED] Subject: Tomcat5 RH ES mod_jk2 Apache2 I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 running on RedHat Enterprise Server. I get html over port 80, but no jsp or servlets will run. Don't know what I may have missed. jk2.properties handler.list=channelSocket,request channelSocket.port=8009 channelSocket.address=127.0.0.1 workers2.properties [channel.socket:localhost:8009] [ajp13:localhost:8009] [status:status] [uri:/sjstatus/*] group=status:status [uri:/servlets-examples/*] worker=ajp13:localhost:8009 debug=0 Appreciate any help, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Problem with redirector
Hello, on Windows 2000 I have developed a webapplication with asps and JavaServlets on IIS redirecting to Tomcat 4.1.24. The application worked fine. After deploying it on a WinNT Server, I have the problem that sometimes the Servlets called from aps do not work. It seams that the redirector doesn't work correct. The Log-File tells me the following: (SessionServletLogging is the Servlet called by asp) [Mon Feb 02 12:31:08 2004] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /by17u7.bayer-ag.com/xfer/SessionServletLogging [Mon Feb 02 12:31:08 2004] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Feb 02 12:31:08 2004] [jk_uri_worker_map.c (477)]: Attempting to map URI '/by17u7.bayer-ag.com/xfer/SessionServletLogging' [Mon Feb 02 12:31:08 2004] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Mon Feb 02 12:31:08 2004] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /xfer/SessionServletLogging [Mon Feb 02 12:31:08 2004] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Feb 02 12:31:08 2004] [jk_uri_worker_map.c (477)]: Attempting to map URI '/xfer/SessionServletLogging' [Mon Feb 02 12:31:08 2004] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /xfer/ [Mon Feb 02 12:31:08 2004] [jk_isapi_plugin.c (775)]: HttpFilterProc [/xfer/SessionServletLogging] is a servlet url - should redirect to ajp13 [Mon Feb 02 12:31:08 2004] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/xfer/SessionServletLogging] is points to the web-inf directory [Mon Feb 02 12:31:29 2004] [jk_isapi_plugin.c (696)]: HttpFilterProc started (This line is different to the one generated, if the redirection works. Than it looks like this: [Mon Feb 02 12:33:20 2004] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Mon Feb 02 12:33:20 2004] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Mon Feb 02 12:33:20 2004] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Mon Feb 02 12:33:20 2004] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 ... ) [Mon Feb 02 12:31:29 2004] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /by17u7.bayer-ag.com/xfer/SessionServletLogging [Mon Feb 02 12:31:29 2004] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Feb 02 12:31:29 2004] [jk_uri_worker_map.c (477)]: Attempting to map URI '/by17u7.bayer-ag.com/xfer/SessionServletLogging' [Mon Feb 02 12:31:29 2004] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Mon Feb 02 12:31:29 2004] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /xfer/SessionServletLogging I cannot reproduce the error. Sometimes it occures sometimes not (independent on open sessions.) Is this a known Problem? I need Your help! Thank You. Mit freundlichen Grüßen/ Best Regards Anja Mentges _ Bayer Business Services GmbH LOG-QM-DST 51063 Köln, Gebäude 2975, Raum 02.B2.06 Schanzenstr. 41 Tel.: +49 0214 30 35537 Fax: +49 0214 30 39217 E-Mail: [EMAIL PROTECTED] Internet : http://www.bayer-ag.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please help Console Problem in tomcat 5.0.16
have my own directory as sampleapp which has the necessary structure and the .class file is put into the following directory structure. classes/package1/structure/HelloServlet.class. All in the %TOMCAT% home directory. My question is in %TOMCAT%/conf/server.xml file how is the Context /Context tag written. I have written it like this Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context The directory structure of sampleapp is as follows.. %TOMCAT%/webapps/sampleapp/WEB-INF/classes /lib /sourcefiles /web.xml. The classes directory has the structure like this.. classes/package1/structure/HelloServlet class file. My Web.xml file looks like this / web.xml / ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name servlet-classpackage1.structure.HelloServlet/servlet-class /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app /* web.xml **/ /*** Console error */ Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. /*** Console error */ Let me know if any changes are to be made. Help greatly apreciated. Thanks AS
Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis: Best remove that line, stick it in your httpd.conf instead along with the hostname. This wasn't the problem. I did not notice that mod_ssl was not compiled into httpd :-( After a rebuild of Apache (now with SSL support :-) and works now. My last problem to solve (I hope :-) is how can I prevent user from accessing the webapp with the normal HTTP protocol instead of HTTPS? At the moment both works, but I only want it to work with HTTPS. Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help Console Problem in tomcat 5.0.16
This indicates your server.xml is invalid. -Original Message- From: Avinash Sridhar [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 16:07 To: [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 have my own directory as sampleapp which has the necessary structure and the .class file is put into the following directory structure. classes/package1/structure/HelloServlet.class. All in the %TOMCAT% home directory. My question is in %TOMCAT%/conf/server.xml file how is the Context /Context tag written. I have written it like this Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context The directory structure of sampleapp is as follows.. %TOMCAT%/webapps/sampleapp/WEB-INF/classes /lib /sourcefiles /web.xml. The classes directory has the structure like this.. classes/package1/structure/HelloServlet class file. My Web.xml file looks like this / web.xml / ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name servlet-classpackage1.structure.HelloServlet/servlet-class /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app /* web.xml **/ /*** Console error */ Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. /*** Console error */ Let me know if any changes are to be made. Help greatly apreciated. Thanks AS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
D'oh! :) You would still need the listen directive for it to work btw;) As far as that is concerned, a fellow list member had the same requirements some time ago this is what I suggested and it worked for him. Use the Location directive and stick SSLRequireSSL in it. Location /path/to/root/of/webapp SSLRequireSSL /Location Yiannis. -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 16:13 To: Tomcat Users List Subject: Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16 Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis: Best remove that line, stick it in your httpd.conf instead along with the hostname. This wasn't the problem. I did not notice that mod_ssl was not compiled into httpd :-( After a rebuild of Apache (now with SSL support :-) and works now. My last problem to solve (I hope :-) is how can I prevent user from accessing the webapp with the normal HTTP protocol instead of HTTPS? At the moment both works, but I only want it to work with HTTPS. Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 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.j ava: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(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:641) at
Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 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.j ava: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(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at
URL rewriting and context paths
Hi, Im trying to use url rewriting (in this case ISAPI Redirect) to translate a search engine friendly URL (ie xyz.com/123_keyword_product_name.html) into a tomcat one (xyz.com/app/product.do?id=123). This all works fine and dandy however there is a big problem with it. One of the uses I have is to map tomcat applications to the root context as far as the URL is concerned, but leave them under another context within tomcat itself. I use a shared tomcat server for several applications so they cant all be on the root, but reponses to search engines are a lot better if the URL appears that way. The problem is that in the above example, the Tomcat server responds with Set-Cookie: JSESSIONID=132456789; Path=/app. This Path is of course that of the context path of the application. The browser doesnt thus send this cookie with the next request because the request appears to be to the / path; Tomcat thus gets a new request with no session ID and issues another one again to /app. Is there any way I can force the session cookie to be written to the root context instead of the context of the application? thanks Pete Storey Kiss Technologies http://www.kisstechnologies.co.uk/ 4, Percy Street London W1T 1DF Phone numbers: Phone 020 7692 9922 Fax 020 7692 9923 Out of hours Support phone 020 7692 9933
RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 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.j ava: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(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar dPipeline.java:643) at
AUTO 'Getty=001-015-850'Error in JDBC conn / Apache Tomcat/4.1. 29 URGENT
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1015850 -Original Message- From: Kumar Abhay-CAK203C [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 8:51AM To: Tomcat Users List [EMAIL PROTECTED] Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 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.j ava: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(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource .java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja va:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 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(Applica tionFilterChain.j ava:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(Standar dPipeline.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(Standar dPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
Tomcat 4.x + session replication (javagroups) = StackOverflowError
Hi, We're using javagroups for the session replication between our 2 clustered Tomcat 4.x servers. And we're having the following problem: When we start one of the servers, its CPU usage hit 100% (as if there were a never ending loop). It looks like it's trying to read a big number of old persisted session. Then, while invalidating them, it's having a problem. We turned the javagroups debugging on and that's what we get in the logs: 2004-02-02 07:47:14 StandardManager[/dirServices] [InMemoryReplicationManager] processsExpire: Exception during session expiration java.lang.StackOverflowError at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:148) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:608) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:149) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:608) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:149) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179) Has any one had that problem or a similar one before? Any comment will be greatly appreciated, Thanks, - Yagiz Erkan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem Compiling JSP under TOMCAT 5.0.18; please help me
Hi to all, I would like to pass from tomcat 3.2.x to tomcat 5.0.18; under tomcat 3.2.x I have some package under the WEB-INF/classes of all my sites, and run OK; passing to tomcat 5.0.18 I have changed only tomcat, leaving untouched all the directory where resides the sites; but when I call a .jsp that use a package, I have this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /tst_sitengine/testDB.jsp Generated servlet error: [javac] Compiling 1 source file /usr/jakarta-tomcat-5.0.18/work/Catalina/www.test.it/_/org/apache/jsp/tst_005fsitengine/testDB_jsp.java:7: package db does not exist import db.*; ^ On catalina.log I have a detail about the error, where is reported the classpath where jasper is looking for, and doesn't appear WEB-INF; I think that this is why I have the error; but How can I correct this? Please, could someone help me? I have the same error with tomcat 5.0.16; here there is the content of catalina.log 2-feb-2004 17.50.46 org.apache.jasper.compiler.Compiler generateClass GRAVE: Javac exception Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:978) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) 2-feb-2004 17.50.46 org.apache.jasper.compiler.Compiler generateClass GRAVE: Env: Compile:
RE: Tomcat 4.x + session replication (javagroups) = StackOverflowError
yes, you are using a session replication for tomact 4.0.x on a tomcat 4.1.x server,hence the expire called gets stuck in an eternal loop. I don't support that code anymore, since it was for an article I wrote a long time ago. For tomcat 4.1.x I have http://cvs.apache.org/~fhanik/ but the truly optimized code is sitting in Tomcat 5, which is where I maintain the main implementation Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 8:59 AM To: Tomcat Users List Subject: Tomcat 4.x + session replication (javagroups) = StackOverflowError Hi, We're using javagroups for the session replication between our 2 clustered Tomcat 4.x servers. And we're having the following problem: When we start one of the servers, its CPU usage hit 100% (as if there were a never ending loop). It looks like it's trying to read a big number of old persisted session. Then, while invalidating them, it's having a problem. We turned the javagroups debugging on and that's what we get in the logs: 2004-02-02 07:47:14 StandardManager[/dirServices] [InMemoryReplicationManager] processsExpire: Exception during session expiration java.lang.StackOverflowError at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java: 148) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java: 179) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:608) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java: 149) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java: 179) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:608) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java: 149) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java: 179) Has any one had that problem or a similar one before? Any comment will be greatly appreciated, Thanks, - Yagiz Erkan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Please help Console Problem in tomcat 5.0.16
Hi, Thanks for the reply.How do I correct the invalid server.xml file. Kindly let me know. server.xml file for the same directory structure. Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context Thanks AS On Mon, 02 Feb 2004 Bodycombe, Andrew wrote : This indicates your server.xml is invalid. -Original Message- From: Avinash Sridhar [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 16:07 To: [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 have my own directory as sampleapp which has the necessary structure and the .class file is put into the following directory structure. classes/package1/structure/HelloServlet.class. All in the %TOMCAT% home directory. My question is in %TOMCAT%/conf/server.xml file how is the Context /Context tag written. I have written it like this Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context The directory structure of sampleapp is as follows.. %TOMCAT%/webapps/sampleapp/WEB-INF/classes /lib /sourcefiles /web.xml. The classes directory has the structure like this.. classes/package1/structure/HelloServlet class file. My Web.xml file looks like this / web.xml / ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name servlet-classpackage1.structure.HelloServlet/servlet-class /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app /* web.xml **/ /*** Console error */ Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. /*** Console error */ Let me know if any changes are to be made. Help greatly apreciated. Thanks AS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AUTO 'Getty=001-015-886'Problem Compiling JSP under TOMCAT 5.0. 18; please help me
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1015886 -Original Message- From: De Toffoli Garry [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 9:01AM To: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Problem Compiling JSP under TOMCAT 5.0.18; please help me Hi to all, I would like to pass from tomcat 3.2.x to tomcat 5.0.18; under tomcat 3.2.x I have some package under the WEB-INF/classes of all my sites, and run OK; passing to tomcat 5.0.18 I have changed only tomcat, leaving untouched all the directory where resides the sites; but when I call a .jsp that use a package, I have this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /tst_sitengine/testDB.jsp Generated servlet error: [javac] Compiling 1 source file /usr/jakarta-tomcat-5.0.18/work/Catalina/www.test.it/_/org/apache/jsp/tst_005fsitengine/testDB_jsp.java:7: package db does not exist import db.*; ^ On catalina.log I have a detail about the error, where is reported the classpath where jasper is looking for, and doesn't appear WEB-INF; I think that this is why I have the error; but How can I correct this? Please, could someone help me? I have the same error with tomcat 5.0.16; here there is the content of catalina.log 2-feb-2004 17.50.46 org.apache.jasper.compiler.Compiler generateClass GRAVE: Javac exception Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:978) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at
AUTO 'Getty=001-015-904'Please help Console Problem in tomcat 5 .0.16
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1015904 -Original Message- From: Avinash Sridhar [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 9:08AM To: Tomcat Users List [EMAIL PROTECTED] Cc: Bodycombe,Andrew [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 Hi, Thanks for the reply.How do I correct the invalid server.xml file. Kindly let me know. server.xml file for the same directory structure. Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context Thanks AS On Mon, 02 Feb 2004 Bodycombe, Andrew wrote : This indicates your server.xml is invalid. -Original Message- From: Avinash Sridhar [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 02 February 2004 16:07 To: [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 have my own directory as sampleapp which has the necessary structure and the .class file is put into the following directory structure. classes/package1/structure/HelloServlet.class. All in the %TOMCAT% home directory. My question is in %TOMCAT%/conf/server.xml file how is the Context /Context tag written. I have written it like this Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context The directory structure of sampleapp is as follows.. %TOMCAT%/webapps/sampleapp/WEB-INF/classes /lib /sourcefiles /web.xml. The classes directory has the structure like this.. classes/package1/structure/HelloServlet class file. My Web.xml file looks like this / web.xml / ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd http://java.sun.com/dtd/web-app_2_3.dtd web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name servlet-classpackage1.structure.HelloServlet/servlet-class /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app /* web.xml **/ /*** Console error */ Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. /*** Console error */ Let me know if any changes are to be made. Help greatly apreciated. Thanks AS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] === This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please delete it immediately. Thank you. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AUTO 'Getty=001-015-881'Tomcat 4.x + session replication (javag roups) = StackOverflowError
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1015881 -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 8:59AM To: Tomcat Users List [EMAIL PROTECTED] Subject: Tomcat 4.x + session replication (javagroups) = StackOverflowError Hi, We're using javagroups for the session replication between our 2 clustered Tomcat 4.x servers. And we're having the following problem: When we start one of the servers, its CPU usage hit 100% (as if there were a never ending loop). It looks like it's trying to read a big number of old persisted session. Then, while invalidating them, it's having a problem. We turned the javagroups debugging on and that's what we get in the logs: 2004-02-02 07:47:14 StandardManager[/dirServices] [InMemoryReplicationManager] processsExpire: Exception during session expiration java.lang.StackOverflowError at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:148) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:608) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:149) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:608) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:149) at org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179) Has any one had that problem or a similar one before? Any comment will be greatly appreciated, Thanks, - Yagiz Erkan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] === This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please delete it immediately. Thank you. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource .java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja va:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 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(Applica tionFilterChain.j ava:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(Standar dPipeline.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
Re: Please help Console Problem in tomcat 5.0.16
i've always managed to get this error when i have spaces between the xml pi ( ?xml version=... ? ) and the start of the file. i'd check for that, and that you have no spaces at the '?xml' and a space before the '?' hope this helps, -a Avinash Sridhar wrote: Hi, Thanks for the reply.How do I correct the invalid server.xml file. Kindly let me know. server.xml file for the same directory structure. Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context Thanks AS On Mon, 02 Feb 2004 Bodycombe, Andrew wrote : This indicates your server.xml is invalid. -Original Message- From: Avinash Sridhar [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 16:07 To: [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 have my own directory as sampleapp which has the necessary structure and the .class file is put into the following directory structure. classes/package1/structure/HelloServlet.class. All in the %TOMCAT% home directory. My question is in %TOMCAT%/conf/server.xml file how is the Context /Context tag written. I have written it like this Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context The directory structure of sampleapp is as follows.. %TOMCAT%/webapps/sampleapp/WEB-INF/classes /lib /sourcefiles /web.xml. The classes directory has the structure like this.. classes/package1/structure/HelloServlet class file. My Web.xml file looks like this / web.xml / ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name servlet-classpackage1.structure.HelloServlet/servlet-class /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app /* web.xml **/ /*** Console error */ Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. /*** Console error */ Let me know if any changes are to be made. Help greatly apreciated. Thanks AS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
trouble load balancing with mod_jk2
Greetings, (Not sure if this is the place for mod_jk2 questions or if there is another mailing list) I'm having trouble figuring out how loadbalancing should work using mod_jk2 with Apache2 and Tomcat 5.0.18. I have 2 tomcat instances on 2 machines ( running with different port numbers ) I set them up in a single lb group, using the same lb factor of 80 ( a number I picked arbitrarily ) my lb configuration is set to graceful=1, stickySession=1, and timeout=0 ( i've appended my workers2.properties as additional info ). However, it seems that when i turn on the apache2 and monitor the server, all the instances start going to the first instance in the list and bog that instance down. There doesn't seem to be any load balancing going on, nor is there any sort of failover when the instance becomes unusable ( the thread pool hits the maximum of 200 ) The documentation on mod_jk2 isn't all that clear and a lot of it seems to be geared for implementing the jni mechanism as opposed to the channel socket ajp mechanism. I must clearly be doing something wrong, but I can't figure it out. Additional q's : the mod_jk2 instance is constantly initing and shutting down. Is this normal operating procedure? does a higher lb factor or lower lb factor increase that machine's chances of being selected? do dashes ( - ) in the server name have any effect? I've listed my workers2.properties file inline for review. Thanks in advance for any help. Aadi Deshpande ##workers2.properties [logger] level=DEBUG [config:] file=${serverRoot}/conf/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=0 # Alternate file logger #[logger.file:0] #level=DEBUG #file=${serverRoot}/logs/jk2.log [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=${serverRoot}/logs/jk2.shm size= debug=0 disabled=0 [workerEnv:] info=Global server options timing=1 debug=0 # Default Native Logger (apache2 or win32 ) # can be overriden to a file logger, useful # when tracing win32 related issues #logger=logger.file:0 [status:] info=Status worker, display runtime information [uri:/jkstatus/*] info=Display status information and check the config file group=status: [lb:lb] info=Default load balancer. debug=0 stickySession=1 timeout=0 [channel.socket:tc-server2:6090] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server2:6090 [channel.socket:tc-server2:6190] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server2:6190 [channel.socket:tc-server2:6290] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server2:6290 [channel.socket:tc-server1:6090] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server1:6090 [channel.socket:tc-server1:6190] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server1:6190 [channel.socket:tc-server1:6290] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server1:6290 [uri:/*.jsp] info=Map the whole webapp [uri:/*.sx] info=Map the whole webapp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AUTO 'Getty=001-016-299'Please help Console Problem in tomcat 5 .0.16
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1016299 -Original Message- From: Aadi Deshpande [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 9:16AM To: Tomcat Users List [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 i've always managed to get this error when i have spaces between the xml pi ( ?xml version=... ? ) and the start of the file. i'd check for that, and that you have no spaces at the '?xml' and a space before the '?' hope this helps, -a Avinash Sridhar wrote: Hi, Thanks for the reply.How do I correct the invalid server.xml file. Kindly let me know. server.xml file for the same directory structure. Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context Thanks AS On Mon, 02 Feb 2004 Bodycombe, Andrew wrote : This indicates your server.xml is invalid. -Original Message- From: Avinash Sridhar [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 02 February 2004 16:07 To: [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 have my own directory as sampleapp which has the necessary structure and the .class file is put into the following directory structure. classes/package1/structure/HelloServlet.class. All in the %TOMCAT% home directory. My question is in %TOMCAT%/conf/server.xml file how is the Context /Context tag written. I have written it like this Context path=/sampleapp docBase=sampleapp debug=0 reloadable=true /Context The directory structure of sampleapp is as follows.. %TOMCAT%/webapps/sampleapp/WEB-INF/classes /lib /sourcefiles /web.xml. The classes directory has the structure like this.. classes/package1/structure/HelloServlet class file. My Web.xml file looks like this / web.xml / ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd http://java.sun.com/dtd/web-app_2_3.dtd web-app display-nameServlet 2.4 Examples/display-name description Servlet 2.4 Examples /description !-- Servlet mapping start -- !-- Define servlets. i.e. bind a servlet name to a class -- servlet servlet-nameHelloServlet/servlet-name servlet-classpackage1.structure.HelloServlet/servlet-class /servlet !-- bind a servlet name to a URL (pattern) -- servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/sampleapp/url-pattern /servlet-mapping !-- Servlet mapping end -- /web-app /* web.xml **/ /*** Console error */ Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching [xX][mM][lL] is not allowed. /*** Console error */ Let me know if any changes are to be made. Help greatly apreciated. Thanks AS - 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 email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please delete it immediately. Thank you. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1. 29 URGENT
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1016162 -Original Message- From: Kumar Abhay-CAK203C [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 9:14AM To: Tomcat Users List [EMAIL PROTECTED] Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource .java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja va:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Just to be sure.. you tried classes12.**jar** (renamed .zip to .jar) ? -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:12 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay -- -- - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- -- -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(Basic DataSource .java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDat aSource.ja va:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet. java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(Applica tionFilterChain.j ava:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT Can someone stop these messages??? Just put a block on subjects with Getty= in them? I had nearly 50 of these in the last 2 days! -Original Message- From: Getty Images USA License [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 17:23 To: Tomcat Users List Subject: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1016162 -Original Message- From: Kumar Abhay-CAK203C [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 9:14AM To: Tomcat Users List [EMAIL PROTECTED] Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start
AUTO 'Getty=001-015-865'Error in JDBC conn / Apache Tomcat/4.1. 29 URGENT
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1015865 -Original Message- From: Sundar Chakravarthy [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 8:57AM To: Tomcat Users List [EMAIL PROTECTED] Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource .java:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja va:518) at com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 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(Applica tionFilterChain.j ava:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at
Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Yes, PLEASE! Allistair Crossley wrote: Can someone stop these messages??? Just put a block on subjects with Getty= in them? I had nearly 50 of these in the last 2 days! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AUTO 'Getty=001-016-696'Error in JDBC conn / Apache Tomcat/4.1. 29 URGENT
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1016696 -Original Message- From: Mike Curwen [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 9:27AM To: Tomcat Users List [EMAIL PROTECTED] Subject: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Just to be sure.. you tried classes12.**jar** (renamed .zip to .jar) ? -Original Message- From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 11:12 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay -- -- - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- -- -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL
Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
I've attempted to contact Getty Images about this but they use those annoying web forms. What ever happened to real email addresses? G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Run Tomcat 5 as Root or Tomcat User?
Use sudo -Original Message- From: Nadia Kunkov [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 7:02 AM To: Tomcat help (E-mail) Subject: Run Tomcat 5 as Root or Tomcat User? Hi, I installed Tomcat 5.0.16 as root. Now it means that I have to start and stop it being root unless I change ownership on a number of directories including $TOMCAT_HOME/bin. My question is should I run Tomcat as root or should I create a Tomcat User with the rights to start and stop tomcat and change ownership on ALL Tomcat directories to that user? I don't think Tomcat 5 comes with startup scripts. I'm trying to write a startup script but inside the script I have to 'su root' and that means I'll be prompted to enter the password. I'd like Tomcat to start at boot so I need to avoid the password prompt. What is the proper way of doing it since it's my first time.? Thanks for your help. NK - 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: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Howdy, I unsubscribed this user. But there will be others like that, with different message lines, different subjects, different from addresses. Instead of relying on immediate response (remember, I and the moderators/owners of other lists don't get paid to sit and watch the listserv 24/7/365 -- it's a best-effort on our part rather than any guarantee) to these worms/viruses/whatever, I suggest you get proficient at composing rules on your end to filter out these messages. Yoav Shapira Millennium ChemInformatics -Original Message- From: Daniel Gibby [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:32 PM To: Tomcat Users List Subject: Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Yes, PLEASE! Allistair Crossley wrote: Can someone stop these messages??? Just put a block on subjects with Getty= in them? I had nearly 50 of these in the last 2 days! - 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: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
This is setenv file: set classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web-inf\lib\classes12.jar;%classpath% and Class path set in system is : .;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar ANy Bug ?? Regards Abhay -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:25 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Just to be sure.. you tried classes12.**jar** (renamed .zip to .jar) ? -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:12 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay -- -- - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- -- -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties org.apache.commons.dbcp.SQLNestedException:
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them what is the email address that you can unsub someone with? something like [EMAIL PROTECTED] how do you fill in the value ? Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:36 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, I unsubscribed this user. But there will be others like that, with different message lines, different subjects, different from addresses. Instead of relying on immediate response (remember, I and the moderators/owners of other lists don't get paid to sit and watch the listserv 24/7/365 -- it's a best-effort on our part rather than any guarantee) to these worms/viruses/whatever, I suggest you get proficient at composing rules on your end to filter out these messages. Yoav Shapira Millennium ChemInformatics -Original Message- From: Daniel Gibby [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:32 PM To: Tomcat Users List Subject: Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Yes, PLEASE! Allistair Crossley wrote: Can someone stop these messages??? Just put a block on subjects with Getty= in them? I had nearly 50 of these in the last 2 days! - 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
You must put your jdbc driver in $TOMCAT_HOME/common/lib -- De: Kumar Abhay-CAK203C[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 2 de fevereiro de 2004 14:34 Para: 'Tomcat Users List' Assunto: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Prioridade: Alta This is setenv file: set classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\l ib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib \xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web- inf\lib\classes12.jar;%classpath% and Class path set in system is : .;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail .jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\ Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar ANy Bug ?? Regards Abhay -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:25 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Just to be sure.. you tried classes12.**jar** (renamed .zip to .jar) ? -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:12 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay -- -- - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- -- -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing,
some question about JSPX and the output format
Hi, I have a jspx like this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE fo:root [ !ENTITY nbsp #160; ] fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:jsp=http://java.sun.com/JSP/Page; test name=test value=test/test /fo:root it can be parsed by xerces2.6, but when I run it, server throw exception like this: org.apache.jasper.JasperException: /blank.jspx(5,96) Element type fo:root must be declared. at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler. java:83) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402 ) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126 ) at org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:23 4) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:224) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:149) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:135) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 52) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 91) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) Another question is about output format, the source xml code is: test name=name value=test/test but the output changes to: test value=test name=name/ I want use jspx as template engine, but the output format is not as expected. as I understand, jsp just for generating dynamic content, why it acted like xml validator and xml formatter? I use tomcat 5.0.18 Regards, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Would you care to make one more best effort? unsubscribe this email: [EMAIL PROTECTED] -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:36 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, I unsubscribed this user. But there will be others like that, with different message lines, different subjects, different from addresses. Instead of relying on immediate response (remember, I and the moderators/owners of other lists don't get paid to sit and watch the listserv 24/7/365 -- it's a best-effort on our part rather than any guarantee) to these worms/viruses/whatever, I suggest you get proficient at composing rules on your end to filter out these messages. Yoav Shapira Millennium ChemInformatics - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Howdy, writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them Of course. I just said that people can't count on IMMEDIATE removal of the offending user. I left unsaid my wish that people wouldn't complain when the offender isn't removed within a couple of hours because, well, people will always complain ;) 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: trouble load balancing with mod_jk2
Not sure about lb, but an shm file of is bound to get you into trouble :) -Original Message- From: Aadi Deshpande [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 17:18 To: [EMAIL PROTECTED] Subject: trouble load balancing with mod_jk2 Greetings, (Not sure if this is the place for mod_jk2 questions or if there is another mailing list) I'm having trouble figuring out how loadbalancing should work using mod_jk2 with Apache2 and Tomcat 5.0.18. I have 2 tomcat instances on 2 machines ( running with different port numbers ) I set them up in a single lb group, using the same lb factor of 80 ( a number I picked arbitrarily ) my lb configuration is set to graceful=1, stickySession=1, and timeout=0 ( i've appended my workers2.properties as additional info ). However, it seems that when i turn on the apache2 and monitor the server, all the instances start going to the first instance in the list and bog that instance down. There doesn't seem to be any load balancing going on, nor is there any sort of failover when the instance becomes unusable ( the thread pool hits the maximum of 200 ) The documentation on mod_jk2 isn't all that clear and a lot of it seems to be geared for implementing the jni mechanism as opposed to the channel socket ajp mechanism. I must clearly be doing something wrong, but I can't figure it out. Additional q's : the mod_jk2 instance is constantly initing and shutting down. Is this normal operating procedure? does a higher lb factor or lower lb factor increase that machine's chances of being selected? do dashes ( - ) in the server name have any effect? I've listed my workers2.properties file inline for review. Thanks in advance for any help. Aadi Deshpande ##workers2.properties [logger] level=DEBUG [config:] file=${serverRoot}/conf/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=0 # Alternate file logger #[logger.file:0] #level=DEBUG #file=${serverRoot}/logs/jk2.log [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=${serverRoot}/logs/jk2.shm size= debug=0 disabled=0 [workerEnv:] info=Global server options timing=1 debug=0 # Default Native Logger (apache2 or win32 ) # can be overriden to a file logger, useful # when tracing win32 related issues #logger=logger.file:0 [status:] info=Status worker, display runtime information [uri:/jkstatus/*] info=Display status information and check the config file group=status: [lb:lb] info=Default load balancer. debug=0 stickySession=1 timeout=0 [channel.socket:tc-server2:6090] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server2:6090 [channel.socket:tc-server2:6190] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server2:6190 [channel.socket:tc-server2:6290] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server2:6290 [channel.socket:tc-server1:6090] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server1:6090 [channel.socket:tc-server1:6190] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server1:6190 [channel.socket:tc-server1:6290] info=Ajp13 forwarding over socket graceful=1 debug=0 lb_factor=80 group=lb tomcatId=tc-server1:6290 [uri:/*.jsp] info=Map the whole webapp [uri:/*.sx] info=Map the whole webapp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
and here is the syntax to unsubscribe an auto replyer [EMAIL PROTECTED] this would unsubscribe [EMAIL PROTECTED] if he autoreplies Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:52 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them Of course. I just said that people can't count on IMMEDIATE removal of the offending user. I left unsaid my wish that people wouldn't complain when the offender isn't removed within a couple of hours because, well, people will always complain ;) 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Howdy, Would you care to make one more best effort? unsubscribe this email: [EMAIL PROTECTED] For the umpteenth time: this address is not on the list. I just checked again to make sure, even though I've tried many times already. 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: Redeployment of War over and over Supported?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shapira, Yoav wrote: | Howdy, | | |Wow, OK, thanks for the great insight. In other words, it's safe to |assume to always restart Tomcat when deploying webapps. That, of |course, is less than ideal. For testing, that just makes the |development time longer (and more complicated, since now we have to |remember to restart Tomcat every X deployment times). And for |production, of course we don't want to take anything down. | | | In practice, it's also common to have one webapp per tomcat instance, so | that should anything go wrong (e.g. OutOfMemoryError, malicious code), | only one webapp is affected even if you have to restart the tomcat | server. So that above is not bad from that perspective. Thanks for the tip. I agree completely with this one. Hopefully we'll move to this soon. It certainly makes production deployments easier. Seth -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAHpKT5EIB1scRes8RArQXAJ9Nru3aBPjH/WrVJa3CVLzaDqs7swCdFzBx /qgT+4izSep+vF7gkb1bHW0= =tsG6 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
so can anyone do this? -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:08 PM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT and here is the syntax to unsubscribe an auto replyer [EMAIL PROTECTED] this would unsubscribe [EMAIL PROTECTED] if he autoreplies Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:52 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them Of course. I just said that people can't count on IMMEDIATE removal of the offending user. I left unsaid my wish that people wouldn't complain when the offender isn't removed within a couple of hours because, well, people will always complain ;) 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 - 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: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
yes, but the user will not get unsubscribed unless he replies, so you could not unsubscribe me for example Filip -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:11 AM To: 'Tomcat Users List' Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT so can anyone do this? -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:08 PM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT and here is the syntax to unsubscribe an auto replyer [EMAIL PROTECTED] this would unsubscribe [EMAIL PROTECTED] if he autoreplies Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:52 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them Of course. I just said that people can't count on IMMEDIATE removal of the offending user. I left unsaid my wish that people wouldn't complain when the offender isn't removed within a couple of hours because, well, people will always complain ;) 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 - 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
URLRewrite help needed
Hello I'm relatively new to using Tomcat, and need help with what (should be) an easy task. I've searched through the archives, but haven't found the information I need. I'm basically trying to do a mod_rewrite, but using tomcat (without apache installed). I've read up on the tuckey.org/urlrewrite, and this filter seems to handle exactly what I want. But I can't get it to work. As I understand it, the steps would be : 1 ) Download the jar files and put them into a urlrewrite directory off the WEB-INF directory. 2) Alter the web.xml file to include this filter (using code straight form the tuckey.org site) 3) Alter the urlrewrite file to include the rules that I want (some basic substitutions from google-searchable URLs ex. /pageid/ - pageid= ) 4) Restart tomcat. However, as soon as I add the filter code into the web.xml file, all requests return a 404 error (whether the request uses the filter or not). This seems like such an easy task, but I can't get it to work. If anybody can please point out something I'm overlooking, I would appreciate it. I'm using tomcat 4.1 on Win2K server. Thanks, Duane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Well you can start the unsubscribe for someone else. But the unsub is complete only when the user responds to the reply-to in the request for confirmation. Who knows if auto responders to the reply-to. -Tim Mike Curwen wrote: so can anyone do this? -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:08 PM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT and here is the syntax to unsubscribe an auto replyer [EMAIL PROTECTED] this would unsubscribe [EMAIL PROTECTED] if he autoreplies Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:52 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them Of course. I just said that people can't count on IMMEDIATE removal of the offending user. I left unsaid my wish that people wouldn't complain when the offender isn't removed within a couple of hours because, well, people will always complain ;) 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: URLRewrite help needed
I need to pay better attention to what I type. As I understand it, the steps would be : 1 ) Download the jar files and put them into a urlrewrite directory off the WEB-INF directory. This should read : 1) Download the jar files, which will extract into a lib subdirectory off the WEB-INF directory. The urlrewrite.xml and web.xml files are in the WEB-INF directory. Sorry. - Duane 2) Alter the web.xml file to include this filter (using code straight form the tuckey.org site) 3) Alter the urlrewrite file to include the rules that I want (some basic substitutions from google-searchable URLs ex. /pageid/ - pageid= ) 4) Restart tomcat. However, as soon as I add the filter code into the web.xml file, all requests return a 404 error (whether the request uses the filter or not). This seems like such an easy task, but I can't get it to work. If anybody can please point out something I'm overlooking, I would appreciate it. I'm using tomcat 4.1 on Win2K server. Thanks, Duane k - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomc at/4.1.29 URGENT
I guess this is a spam email and the bug tries to gets into various email address. It would be waste of time in finding it out of like [EMAIL PROTECTED], since most of spams are send thru bogus email address. I dont know what is the solution to stop this. But based on this a good people should not be removed since the spam is utilizing their email address. Thanks to Yoav, for his efforts of supporting tomcat and solutions. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 1:09 PM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, Would you care to make one more best effort? unsubscribe this email: [EMAIL PROTECTED] For the umpteenth time: this address is not on the list. I just checked again to make sure, even though I've tried many times already. 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: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
and in the case of unsubscribe this email: [EMAIL PROTECTED] it's unlikely it will make it past their * Mail Server. They've probably gone 'restrictive' during the email storm. I tried sending email to [EMAIL PROTECTED] and [EMAIL PROTECTED], and both bounced. My subject was information and my body said please send me information. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:24 PM To: Tomcat Users List Subject: Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Well you can start the unsubscribe for someone else. But the unsub is complete only when the user responds to the reply-to in the request for confirmation. Who knows if auto responders to the reply-to. -Tim Mike Curwen wrote: so can anyone do this? -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:08 PM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT and here is the syntax to unsubscribe an auto replyer [EMAIL PROTECTED] this would unsubscribe [EMAIL PROTECTED] if he autoreplies Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:52 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them Of course. I just said that people can't count on IMMEDIATE removal of the offending user. I left unsaid my wish that people wouldn't complain when the offender isn't removed within a couple of hours because, well, people will always complain ;) 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: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
is there a user with the leadingedgedesign.com email? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:09 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, Would you care to make one more best effort? unsubscribe this email: [EMAIL PROTECTED] For the umpteenth time: this address is not on the list. I just checked again to make sure, even though I've tried many times already. 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: URLRewrite help needed
Howdy, Take a look at tomcat 5's balancer webapp, and/or http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Duane Burchell [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 1:23 PM To: Tomcat Users List Subject: URLRewrite help needed Hello I'm relatively new to using Tomcat, and need help with what (should be) an easy task. I've searched through the archives, but haven't found the information I need. I'm basically trying to do a mod_rewrite, but using tomcat (without apache installed). I've read up on the tuckey.org/urlrewrite, and this filter seems to handle exactly what I want. But I can't get it to work. As I understand it, the steps would be : 1 ) Download the jar files and put them into a urlrewrite directory off the WEB-INF directory. 2) Alter the web.xml file to include this filter (using code straight form the tuckey.org site) 3) Alter the urlrewrite file to include the rules that I want (some basic substitutions from google-searchable URLs ex. /pageid/ - pageid= ) 4) Restart tomcat. However, as soon as I add the filter code into the web.xml file, all requests return a 404 error (whether the request uses the filter or not). This seems like such an easy task, but I can't get it to work. If anybody can please point out something I'm overlooking, I would appreciate it. I'm using tomcat 4.1 on Win2K server. Thanks, Duane - 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: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomc at/4.1.29 URGENT
Yoav, Thanks for the efforts in keeping the list clean. But I have a question. You said below that this particular user is not a member. How about anyone from leds.com domain? The reply would lead me to believe that the Administrator catches the email bound for someone else in that domain. Thanks again. Drew -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 1:09 PM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, Would you care to make one more best effort? unsubscribe this email: [EMAIL PROTECTED] For the umpteenth time: this address is not on the list. I just checked again to make sure, even though I've tried many times already. 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: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomc at/4.1.29 URGENT
Yeah, I tried as well. They didn't bounce but I also got no response back. Drew -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 1:32 PM To: 'Tomcat Users List' Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT and in the case of unsubscribe this email: [EMAIL PROTECTED] it's unlikely it will make it past their * Mail Server. They've probably gone 'restrictive' during the email storm. I tried sending email to [EMAIL PROTECTED] and [EMAIL PROTECTED], and both bounced. My subject was information and my body said please send me information. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:24 PM To: Tomcat Users List Subject: Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Well you can start the unsubscribe for someone else. But the unsub is complete only when the user responds to the reply-to in the request for confirmation. Who knows if auto responders to the reply-to. -Tim Mike Curwen wrote: so can anyone do this? -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 12:08 PM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT and here is the syntax to unsubscribe an auto replyer [EMAIL PROTECTED] this would unsubscribe [EMAIL PROTECTED] if he autoreplies Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:52 AM To: Tomcat Users List Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Howdy, writing rules will still take up our bandwidth, so it is in everyones interestest to get these off the list as opposed to filtering them Of course. I just said that people can't count on IMMEDIATE removal of the offending user. I left unsaid my wish that people wouldn't complain when the offender isn't removed within a couple of hours because, well, people will always complain ;) 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: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
I describe this in my HOWTO. http://www.linuxjava.net/howto/webapp/ You either redirect traffic from http to https for that virtual host, or you only mount the webapp in the http virtual host and not for the https. Oscar Carrillo On Mon, 2 Feb 2004, Ralf Schneider wrote: Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis: Best remove that line, stick it in your httpd.conf instead along with the hostname. This wasn't the problem. I did not notice that mod_ssl was not compiled into httpd :-( After a rebuild of Apache (now with SSL support :-) and works now. My last problem to solve (I hope :-) is how can I prevent user from accessing the webapp with the normal HTTP protocol instead of HTTPS? At the moment both works, but I only want it to work with HTTPS. Ralf. - 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: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
BTW, there's sample http.conf, ssl.conf, and server.xml files there. In the config files, I denote your host that resolves to an IP as myhost.mydomain, and your virtual host as host1.domain. http://www.linuxjava.net/howto/webapp/install_files/ Oscar On Mon, 2 Feb 2004, Oscar Carrillo wrote: I describe this in my HOWTO. http://www.linuxjava.net/howto/webapp/ You either redirect traffic from http to https for that virtual host, or you only mount the webapp in the http virtual host and not for the https. Oscar Carrillo On Mon, 2 Feb 2004, Ralf Schneider wrote: Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis: Best remove that line, stick it in your httpd.conf instead along with the hostname. This wasn't the problem. I did not notice that mod_ssl was not compiled into httpd :-( After a rebuild of Apache (now with SSL support :-) and works now. My last problem to solve (I hope :-) is how can I prevent user from accessing the webapp with the normal HTTP protocol instead of HTTPS? At the moment both works, but I only want it to work with HTTPS. Ralf. - 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: access log
On 02/02/2004 02:54 PM Shapira, Yoav wrote: - if anyone was thinking of adapting it to write to a database via jdbc? Too slow, unless done very carefully asynchronously (and then you have to really take care to keep entries in the right order, etc -- it's a nightmare). There are no open bugs against JDBCAccessLogValve. re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I assume you are thinking that this would quickly become a bottleneck? Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: access log
Howdy, re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I assume you are thinking that this would quickly become a bottleneck? Yeah, that's what I'm thinking. Writing the access log valve should be very very quick, very very scalable, or it easily becomes a bottleneck. Remember, for example, that a single page request with 9 images is 10 access log writes. 10 users asking for that page concurrently means 100 concurren access log writes, etc etc. 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: Tomcat5 RH ES mod_jk2 Apache2
Well. I have gotten Tomcat5, RH ES, mod_jk2, and apache2 all working. I've come to the conclusion that the clowns who developed this stuff sit back and watch the traffic on the list and laugh. Here is what you need to do in your workers2.properites file: For every servlet you need to define a worker in worker2.properties. [uri:/servlets-examples/*] This won't work, but this will [uri:/servlets-examples/servlet/HelloWorldExample] [uri:/servlets-examples/servlet/RequestInfoExample] etc. [uri:/servlets-examples/servlet/*] won't work [uri:/servlets-examples/servlet/*.*] won't work [uri:/servlets-examples/servlet/*e] will work, but all of your servlets must end with the letter 'e' Unless one of you fine developers want to clear this up. I'm going to switch to Jetty. Tomcat is crap!!! Yiannis Mavroukakis wrote: Curious...Send me your entire workers2.properties file and I'll have a look. Also, what are the urls you are using to access your html/jsp/servlets? Feel free to use 'localhost' if you don't want to reveal sensitive server hostname/ip's Yiannis -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 15:22 To: Tomcat Users List Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 Same as in the past works fine on port 8080. Jsp stuff works on port 80. Html in servlets-examples works fine. Servlets cannot be found??? Yiannis Mavroukakis wrote: Hmm ok.. :) you don't need channelSocket.address=127.0.0.1 in jk2.properties. Add the following under [channel.socket:localhost:8009] host=localhost port=8009 and under [ajp13:localhost:8009] add this channel=channel.socket:localhost:8009 Before you go about making those changes, make sure that your servlets are working OK on standalone tomcat :) Good luck, Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 14:10 To: Tomcat Users List Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 The jsp is working but not the servlets. I've double check /alias and workers for typos. Other suggestions?? Yiannis Mavroukakis wrote: Make these additions/ammendments to workers2 [ajp13:localhost:8009] channel=channel.socket:localhost:809 [shm] file=/tmp/shm.file size=100 Yiannis. -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 18:27 To: [EMAIL PROTECTED] Subject: Tomcat5 RH ES mod_jk2 Apache2 I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 running on RedHat Enterprise Server. I get html over port 80, but no jsp or servlets will run. Don't know what I may have missed. jk2.properties handler.list=channelSocket,request channelSocket.port=8009 channelSocket.address=127.0.0.1 workers2.properties [channel.socket:localhost:8009] [ajp13:localhost:8009] [status:status] [uri:/sjstatus/*] group=status:status [uri:/servlets-examples/*] worker=ajp13:localhost:8009 debug=0 Appreciate any help, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you
RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
You need to remove all references to the database driver from the system and web app classpath. Don't put the driver in web-inf/lib directory. Just keep the driver in the tomcat_home/common/lib directory. [EMAIL PROTECTED] 02/02/04 10:34AM This is setenv file: set classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web-inf\lib\classes12.jar;%classpath% and Class path set in system is : .;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar ANy Bug ?? Regards Abhay -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:25 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Just to be sure.. you tried classes12.**jar** (renamed .zip to .jar) ? -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:12 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:56 AM To: Tomcat Users List Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay -- -- - I am using :== Apache Tomcat/4.1.29 SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production j2sdk1.4.2_03 ojdbc14.jar -- -- -- GlobalNamingResources Environment name=simpleValue override=true type=java.lang.Integer value=30/ Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase/ Resource name=estimation scope=Shareable type=javax.sql.DataSource/ ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams ResourceParams name=estimation parameter namevalidationQuery/name valueselect sysdate from dual/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxActive/name value4/value /parameter parameter namepassword/name valueeppsys/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value2/value /parameter parameter nameusername/name valueeppsys/value /parameter /ResourceParams /GlobalNamingResources -- Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Looking up jdbc/estimation Found Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Feb 2, 2004 9:39:23 AM
Re: Session disconnect
Sessions do not, but the underlying cookies may. It was just a suggestion. Antonio Fiol Mark Tebong wrote: I don't think it has anythin to so with cookies because sessions don't use paths. -Original Message- From: Antonio Fiol Bonnin [mailto:[EMAIL PROTECTED] Sent: Sunday, February 01, 2004 3:30 AM To: Tomcat Users List Subject: Re: Session disconnect Mark Tebong wrote: I have it configured so that when a request for a URL (say www.mydom1.com) comes in, the proxy sends it to 192.168.11.211/mydom1. When I access the pages of the site that use the session thru www.mydom1.com, I get an exception. When I access it through 192.168.11.211/mydom1, it works fine. I looked at the tomcat logs and I saw that the session was disconnecting when you used the proxy. Hi, No idea about the images stuff, but... Could you be having trouble because of the path attribute of the cookies? If Tomcat (or your webapp) is setting it to /mydom1 then browsers will not send it when accessing /. HTH, Antonio Fiol - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature