RE: Database servlets
Hi, -Original Message- From: John Wadkin [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 4:34 PM To: 'Tomcat Users List' Subject: RE: Database servlets I've looked through your servlet and it definitely shouldn't work with more than one simultaneous request. Take a look at that class instance variables private Statement stmt; private Connection dbCon; private HttpServletRequest req; private HttpServletResponse res; private PrintWriter out; They can't be safely used in multithreaded environment. This servlet can work only if implements SingleThreadModel. Anton -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: tomcat 4 + apache 1.3 + WarpConnection
well, on my opinion i would need that when i would use virtual hosts, but i don't is my opinion wrong ? Your server.xml needs a host - something like this: Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=myserver.domain.com debug=0 appBase=webapps !-- Define the default virtual host -- Host name=myserver.domain.com debug=0 appBase=webapps unpackWARs=true Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=apache_log. suffix=.txt timestamp=true/ !-- Tomcat Manager Context -- Context path=/manager docBase=manager debug=0 privileged=true/ /Host !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service /Server Don't know if it'll help! John -Original Message- From: Domenico Piol [mailto:[EMAIL PROTECTED]] Sent: 11 February 2002 09:14 To: tomcat-user Subject: tomcat 4 + apache 1.3 + WarpConnection hi i'm trying to get my tomcat installation work together with apache 1.3... without success. tomcat works fine as standalone, but with WarpConnection i get an error: *** error 2002-02-11 08:51:53 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown Source) at org.apache.catalina.connector.warp.WarpRequestHandler.handle (Unknown Source) at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) 2002-02-11 08:51:54 [org.apache.catalina.connector.warp.WarpConnector] Connection from localhost/127.0.0.1:2394 to localhost/127.0.0.1:8008 2002-02-11 08:51:54 [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (2) 2002-02-11 08:51:54 [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0) *** i don't use a virtual host in my apache config, is that the problem ? my configs look as follwows: *** server.xml *** !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=false appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to - - Engine className=org.apache.catalina.connector.warp.WarpEngine name=arakis debug=0 !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service ** *** httpd.conf *** ... ServerName arakis.local ... LoadModule webapp_module /usr/lib/apache/mod_webapp.so AddModule mod_webapp.c ... DocumentRoot /usr/local/httpd/htdocs ### NOT in a virtual host WebAppConnectionconnwarplocalhost:8008 WebAppDeploywebdav conn/webdav WebAppDeployexamplesconn/examples WebAppInfo /webapp-info ... ** tomcat runs as user wwwrun, as well as apache. i'm thankfull for any hint... domenico --- domenico piol infometis ag eidg. dipl.zuerich wirtschaftsinformatikerswitzerland email: [EMAIL PROTECTED] www: http://www.infometis.ch/users/dpiol/ --- -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 03:29:44 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 03:33:35 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Returned mail: User unknown
are yu guys getting this mail from mike campbell repeatedly... -Original Message- From: Mike Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 12:42 PM To: '[EMAIL PROTECTED]' Subject: Returned mail: User unknown The original message was received at Tue, 12 Feb 2002 02:11:59 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: how to run multiple instances of a single application on a single tomcat.
Im stuck here.. someone please help me out.. -Original Message- From: Deep Singh Bhau Sent: Tuesday, February 12, 2002 12:21 PM To: [EMAIL PROTECTED] Subject: how to run multiple instances of a single application on a single tomcat. Hi I'm new to this mailing list. Could anyone please tell me how to run multiple instances of application on a single tomcat. For example I have a application A which connects to a Database X. All I want is that the second instance of Application A should connect to a Database B. Regards, Deep -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 03:39:19 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 03:43:09 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.2 - Startup fails after moving xerces.xml from /common/lib to /server/lib
I am using xerces 2.0.0 in one of my webapps so I need to move xerces.jar out of /common/lib and into /server/lib. This works just fine with 4.0.2-b2. With 4.0.2 If I keep xerces.jar in /common/lib and use xerces.jar 1.4.3 in my web app everything starts up just fine. But if I move xerces.jar into /server/lib I get the exception below. I suspect that this is due to the ClassLoader bug fixes done between 4.0.2-b2 and 4.0.2. Is there any workaround for this? Ok, I understand the problem now. The thing is that Tomcat will now refuse to load the JAXP base classes from the webapp repositories. There are lots of problems with JAXP overall, so I prefered to avoid the classcasts problems, which didn't have any clean workaround. Here, it's very easy to fix (don't worry, having Xerces or jaxp.jar in server/lib won't create any more classloading problems :)). Sorry, the bug report you filed was incomplete, so the explanation I put in there was not the right one. What about including xml-common jar which include jaxp and have it on server/lib ? Then user could try to play with Xerces 2.0 or older or Crimson, since the DOM/SAX/W3C APIs will be preloaded in CL since there are in server ? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 04:13:47 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Returned mail: User unknown
Abhishek Pamecha wrote: are yu guys getting this mail from mike campbell repeatedly... Yes... But that should a configuration problem in the TC user list, should not it? I have receive 15 of these (for the moment). -Original Message- From: Mike Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 12:42 PM To: '[EMAIL PROTECTED]' Subject: Returned mail: User unknown The original message was received at Tue, 12 Feb 2002 02:11:59 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Question about Catalina.bat
Irene, Please explain the following code in catalina.bat : %_STARTJAVA% %CATALINA_OPTS% -Dcatalina.base=%CATALINA_BASE% -Dcatalina.home=%CATALINA _HOME% org.apache.catalina.startup.Bootstrap %2 %3%9 start for example, -Dcatalina.home=%CATALINA_HOME% My only guess is that %CATALINA_HOME% would be D:\jakarta-tomcat-4.0.1 in my computer, but what is -Dcatalina.home= and other %CATALINA_xxx% mean? how could I find out? These parameters here are parameters passed to the JVM and define where your JDK or JRE is and where the TOMCAT classes are. On Windows the JVM is an executable called java.exe or javaw.exe. Have a look at http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java.html for the different meanings of these parameters. The variables are all explained at the beginning of the batch file. These are mainly paths and if you just download the distribution you usually have nothing to change. But if you have multiple versions of a JDK's on you machine and you like to use one explicitly it if required that you set the paths correctly. For a production installation it is anyway recommendet to install Tomcat as a service which runs permanently independent of the fact who is logged into the machine. Thomas -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: More info on mod_webapp problems....
Andrzej Jan Taramina wrote: For some reason, Tomcat 4.02 doesn't always return a proper response header when it receives a GET request for an image across the Apache Warp (mod_webapp) connection under Windoze. If you try to access the sample Tomcat page: /examples/jsp/index.html There are three images that GET's are issued for. Here is what a correct response looked like (using the RequestDumper Valve): authType=null contentLength=1231 contentType=image/gif header=Last-Modified=Sun, 10 Feb 2002 16:09:24 GMT 2002-02-11 20:25:15 header=ETag=1231-1013357364000 message=OK remoteUser=null status=200 However the next image returns the following incorrect response: authType=null contentLength=-1 contentType=null message=Not Modified remoteUser=null status=304 You already have the image, do not you? Very strange. I'm trying to dig further into why this is happening...but with the new Released 4.0.2 Tomcat I am having a devil of a time trying to turn debug logging on for the Warp connection. I've recompiled the Java sources with the debug flag = true, and set the debug level in all the Connectors and such to 4, and logging verbosity to 4 as well. But still no output to the log file. I suspect someone broke something in the final 4.0.2 release, since this used to work only a few days go. Very frustrating. Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: listFiles() 500 errors
Hi, Check the version of JDK you use, File.listFiles() is marked since 1.2 Hope it helps. Anton -Original Message- From: Mark Symonds [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 9:10 PM To: [EMAIL PROTECTED] Subject: listFiles() 500 errors Hi, We have tomcat installed and everything looks to be OK (all of the examples work fine, and all of our pages compile fine), except for one page which makes a call to listFiles(). Here is the code snippet: [...] String ch = String.valueOf(request.getQueryString()); try{ File myfile = new File(/uploadedir/); File file[] = new File[200]; file = myfile.listFiles(); String str = ; if(ch.equals(all)) [...] And here is the error message: Error: 500 Location: /servlets/alphaOrder.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile Found 1 semantic error compiling /var/cache/tomcat/DEFAULT/ROOT/servlets/alphaOrder_1.java: 116. file = myfile.listFiles(); *** Error: No method named listFiles was found in type java/io/File. ... we're stumped because everything else is working fine, and if we comment out just that one line, it will work without the error message (but without listing the files, ofcourse). The server is debian woody running a standard install, up to date as of a few minutes ago. TIA, -- Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 04:52:45 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Java.exe Memory Usage Crashes Tomcat
Hi, -Original Message- From: Suzanne Holtham [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 9:45 PM To: [EMAIL PROTECTED] Subject: Java.exe Memory Usage Crashes Tomcat I am running Tomcat 3.3a on Windows 2000 Server. I get approximately 1 hit per minute on the most popular JSPs. After 4-5 hours the memory of the java.exe process maxes out and I get an Internal Server error. It's well known problem caused by memory leaks in javac, I'm not familiar with jsps but you can try to precompile them or AFAIK use other compiler (jikes? but I'm not sure) I have tried the following with no success: 1) Turned the verbosity level to ERROR for logs. 2) Set session=false in the JSPs. 3) Increased Xms and Xmx parameters. Please help, I am a die hard Tomcat fan, and would really love to get this working on Tomcat. Thanks, Suzanne. Anton -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 05:21:27 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Can a Tag know its own name?
Unfortunately there seems to be no way to pass config info to a tag from the TLD file. I would like to create several different tags which all work in similar ways but do slightly different things. I want to implement them by using one class which sees which name it is used as. I could do this by having an attribute which I specify every time I use the tag, but it would be nice to have the class simply be able to detect its tag name. Is this possible? Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 05:35:12 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: I can't stand the UnsatisfiedLinkErrors anymore withTomcat 4.0.1!
Can the class loader used to load the classes in the web app load native libraries... I think that classes in the web app can call native methods, but I am by no stretch of the imagination an expert on this. When I ran the Oracle OCI JDBC driver (which uses native code) it worked in the WEB-INF/lib directory or in the common/lib directory. I had a separate issue when reloading classes, but I think that was Oracle specific. Do I really need to load my class with the native methods...how? I also think that classes in the $CATALINA_HOME/common/lib get loaded by the common classloader. I am a big fan of open source, but the troubles I am having... I feel your pain. Best of luck getting this going, be sure to share when you do to spare the next poor bugger. ;-) Larry [EMAIL PROTECTED] 02/08/02 08:29PM Hi All, After more that a week of messing with it, I'm convinced there is no way to call native methods within Tomcat. I have read the class loader INFO file 100 times, searched and read the list serve archives for hours, followed all the suggestions found within those messages, and still I receive UnsatisfiedLinkErrors whenever I attempt to run native methods. Facts: * I can execute the methods with no problems when run from the command line, but I get UnsatisfiedLinkErrors running under Tomcat 4.0.1. Hummm... Questions: * Can the class loader used to load the classes in the web app load native libraries with System.loadLibrary? Some list serve messages say no, others suggest yes. * Do I really need to load my class with the native methods in the Common class loader? If so, how? None of the methods I have tried work. * Basically, how do I need to sweet talk Tomcat to make it execute my native methods? I'm really frustrated and desperate! If anyone has made this work, please share your wisdom. I am a big fan of open source, but the troubles I am having really make me wish I could call tech support at some software company! Any suggestions are welcome. Thanks.. Cheers, Jim Boone
RE: Using Tomcat Without a Webserver
Apache also adds load balancing (via mod_jk). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Woon Sent: Monday, February 11, 2002 5:11 PM To: [EMAIL PROTECTED] Subject: Using Tomcat Without a Webserver Hi all. I know it's standard practice to hook Tomcat up to a webserver, but is this really necessary? According to the docs, the main reason for this is that Tomcat's performance when serving static files is sub-par, although it usually goes on to note that this has improved recently. I can't seem to find anything on Tomcat 4.0x though, and I'm wondering if this advice is outdated? I thinking of using Tomcat only on a production system with light to moderate traffic. Almost all pages are JSP's, so the only static content would be images. So: What's the word on running Tomcat 4.02 without a webserver? What does using Apache+Tomcat buy me? Thanks, -Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Internationalization
I am struggling with double byte characters in JSP On the struts jsp form, I am putting %@ page contentType=text/html; charset=UTF-8 % on the top META http-equiv=Content-Type content=text/html; charset=UTF-8 in the head I got some question marks when I print the characters in the console by System.out.println(request.getParameter(parameter1) Or save those character to file The same thing happens with the data retrieved from MySQL displayed on JSP. Anybody helps? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Propgating setting to a rack of machines using tomcat
Hi all We have a rack of sun servers and we have run into a small problem with configuration. All the machine will have the same settings (more or less) and these settings are currently read from a file which is distributed in the WAR. If we need to change settings we need to update the settings file on each machine, which is becoming a pain. There is a load balancer controlling the load on the rack so we have little control over which machine is chosen when we submit a request. My question is: How do we replicate the settings throughout the rack after modifying one machine in the rack? I appreciate your time... Donie -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:00:06 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Propgating setting to a rack of machines using tomcat
Have a look at rsync ? You can tunnel rsync over ssh so it can be quite secure. You would then need some script that would restart TC etc etc Hope this helps D Donie Kelly wrote: Hi all We have a rack of sun servers and we have run into a small problem with configuration. All the machine will have the same settings (more or less) and these settings are currently read from a file which is distributed in the WAR. If we need to change settings we need to update the settings file on each machine, which is becoming a pain. There is a load balancer controlling the load on the rack so we have little control over which machine is chosen when we submit a request. My question is: How do we replicate the settings throughout the rack after modifying one machine in the rack? I appreciate your time... Donie -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:02:36 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:02:36 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:07:20 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
[Ajp13] bad read: -103 on Tomcat4.0.1 with Apache 1.3
Hi all, I got this error message on tomcat4.0.1 with apache 1.3 when using multiple virtual hosts. [Ajp13] bad read: -103 To pass servlet/jsp requests to tomcat I am using the mod_jk.so instead of web_app.so module. Does someone know the reason for this error message? Thanks for your help Thanh Duong -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
cocoon2.0.1 under tomcat4.0.2LE jdk1.4
** 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. ** Hi, Apparently cocoon still breaks under jdk1.4 with the new release of tomcat4.0.2 for jdk1.4. Any hints? The error you get is: javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:926) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at org.apache.xerces.validators.dtd.DTDGrammar.callStartDTD(DTDGrammar.java:194) at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1079) at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145) at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100) at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:182) at org.apache.cocoon.Cocoon.configure(Cocoon.java:330) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:267) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:991) at
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:24:18 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Running More than one instance of tomcat
its quite east to restart one of them. As u should set autoreload to true and thren when ever u want to restart the one of the application then simply reload a servlet/jsp that has already being executesd. and that classloader is it self restart and it is as good as restarting the server which u can see in the log file as all the Base servlerts are re initialized. tarun - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, February 11, 2002 6:19 PM Subject: RE: Running More than one instance of tomcat That's fine but I need to be able to restart the development one without upsetting the test one... Thanks Donie -Original Message- From: tarunjava [mailto:[EMAIL PROTECTED]] Sent: 11 February 2002 12:45 To: Tomcat Users List Subject: Re: Running More than one instance of tomcat u dont need to run 2 seperate instance but create 2 seperate applications and both will have seperater class loader and thus will work as completly seperate sites. tarun - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, February 11, 2002 6:11 PM Subject: Running More than one instance of tomcat Hi all How can I run two version of tomcat using different server.xml files? I need one for testing and one for development on the same machine... Thanks Donie -Original Message- From: Brian Adams [mailto:[EMAIL PROTECTED]] Sent: 11 February 2002 12:34 To: 'Tomcat Users List' Subject: RE: JDBC what problems are you having? can you post an error or code or both? B -Original Message- From: vinny patel [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:48 AM To: [EMAIL PROTECTED] Subject: JDBC I am having problems with my servlets that connect to a postgres database. I am using the Tomcat 4, if anyone has any suggestions, i would be gratefull! thanks _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: I can't stand the UnsatisfiedLinkErrors anymore withTomcat 4.0.1!
Larry Meadors wrote: Can the class loader used to load the classes in the web app load native libraries... I think that classes in the web app can call native methods, but I am by no stretch of the imagination an expert on this. When I ran the Oracle OCI JDBC driver (which uses native code) it worked in the WEB-INF/lib directory or in the common/lib directory. I had a separate issue when reloading classes, but I think that was Oracle specific. Do I really need to load my class with the native methods...how? I also think that classes in the $CATALINA_HOME/common/lib get loaded by the common classloader. I am a big fan of open source, but the troubles I am having... I feel your pain. Best of luck getting this going, be sure to share when you do to spare the next poor bugger. ;-) Larry [EMAIL PROTECTED] 02/08/02 08:29PM Hi All, After more that a week of messing with it, I'm convinced there is no way to call native methods within Tomcat. I have read the class loader INFO file 100 times, searched and read the list serve archives for hours, followed all the suggestions found within those messages, and still I receive UnsatisfiedLinkErrors whenever I attempt to run native methods. Facts: * I can execute the methods with no problems when run from the command line, but I get UnsatisfiedLinkErrors running under Tomcat 4.0.1. Hummm... Without more information it sounds difficult to help? Have you try System.load() instead of loadLibrary()? Questions: * Can the class loader used to load the classes in the web app load native libraries with System.loadLibrary? Some list serve messages say no, others suggest yes. * Do I really need to load my class with the native methods in the Common class loader? If so, how? None of the methods I have tried work. * Basically, how do I need to sweet talk Tomcat to make it execute my native methods? I'm really frustrated and desperate! If anyone has made this work, please share your wisdom. I am a big fan of open source, but the troubles I am having really make me wish I could call tech support at some software company! Any suggestions are welcome. Thanks.. Cheers, Jim Boone -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0, Linux 2.4 - Tomcat appears to deploy all directoriesunder /usr/local/tomcat as web apps.
actually what u should do is add a attribute to Host tar which is -- appsBase=/home and then u should have the docBase as /site/... The the nbase of ur application will be /home and not /usr.. tarun _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:34:22 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: No Suitable JDBC Driver Found when running Tomcat 4 .0 as NT service with JDK1.3.1_01
what must be happening is that u are putting the driver classpath in autoexec.bat or soem other batch file which is executeds after the tomcat begins as a servie so u get the error but after the complete booting autoexec file is executed and then the driver is in the classpath so u dont get the error. Simply put the driver in the path of tomcat which may be /catalina/classes or /catalina/server/classes and it should woirk tarun - Original Message - From: Liu, Dongqi [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, February 11, 2002 8:08 PM Subject: No Suitable JDBC Driver Found when running Tomcat 4 .0 as NT service with JDK1.3.1_01 Hi All, I posted this problem a few days ago but didn't get any reponse. I am reposting it here just to draw enough attention and hopefull somebody out there can lead me to a solution. My problem is that when Tomcat is running as a NT service, it complains no suitable JDBC Driver found. However, when I start up Tomcat4.0 from command line using exactly the same set up, everything works fine. The driver class loads fine in Tomcat Service, since I did a Class.forName(COM.ibm.db2.jdbc.app.DB2Driver) without getting any exceptions. I am using Tomcat 4.0 with JDK1.3.1_01 on a NT box, thanks, -dongqi CONFIDENTIALITY NOTICE -- This transmission is intended for the sole use of the individual and/or entity to whom it is addressed, and may contain information and/or attachments that are privileged, confidential and exempt from disclosure under applicable law. If the reader of this transmission is not the intended recipient, you are hereby notified that any disclosure, dissemination, distribution, duplication or the taking of any action in reliance on the contents of this transmission by someone other than the intended addressee or its designated agent is strictly prohibited. If your receipt of this transmission is in error, please notify the sender by replying immediately to this transmission and destroy the transmission. Thank you. (MSWPR1/ODpt) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:39:54 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Returned mail: User unknown
--- jean-frederic clere [EMAIL PROTECTED] wrote: Abhishek Pamecha wrote: are yu guys getting this mail from mike campbell repeatedly... Yes... But that should a configuration problem in the TC user list, should not it? I have receive 15 of these (for the moment). If you can block this user, like in hotmail/yahoo, do it. __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: question on IIS 4 and catalina
yes ofcourse u caN DO THAT . wHAT U NEED TO DO IS THAT all the requests will be recieved by the IIS and will make a connector that will forward the request matching the url mapping /servlets to tomcat. Its quite easy and is at the jakarta's site and is\f still u are unzble to then i will mail u the detailds tarun - Original Message - From: Binopoulos Alexandros [EMAIL PROTECTED] To: 'Tomcat Users List' (E-mail) [EMAIL PROTECTED] Sent: Monday, February 11, 2002 8:22 PM Subject: question on IIS 4 and catalina Hello all, I've managed to setup IIS and catalina; IIS on 80 and catalina on 8080. Catalina takes care of /servlet path, but can't I call all the servlets without the 8080 port suffix? Is it possible to call http://localhost/servlet/AServlet http://localhost/servlet/AServlet and still have IIS take care of all the static content of the resulting page (images , etc)? Thanks, Alexandros _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:45:48 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:48:54 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:48:54 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
problem in running servlets
Hi I have put the Servlet class(DeepServlet.class) in a folder which is there in my classpath. And I have set the following in web.xml(it is within the folder WEB-INF UNDER MY APPLICATION). web-app servlet servlet-namedeep/servlet-name servlet-classcom.servlet.DeepServlet/servlet-class /servlet servlet-mapping url-pattern/deep/url-pattern servlet-namedeep/servlet-name /servlet-mapping /web-app BUT IM OPENING IT IN BROWSER http://localhost:8080/deep/deep ITS GIVING PAGE NOT FOUND. Please comment Regards, Deep
Re: Returned mail: User unknown
Sorry - but is anyone else receiving lots of thes messages ? Thanks Caroline 2/12/02 11:48:43 AM, Mike Campbell [EMAIL PROTECTED] wrote: The original message was received at Tue, 12 Feb 2002 06:48:54 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:54:57 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 06:57:59 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Returned mail: User unknown
Yep the entire list is receiving these mails. Can anyone do anything about it. Unsubscribe that guy or just diable his account. Jacob Vennervald -Original Message- From: Caroline Clewlow [mailto:[EMAIL PROTECTED]] Sent: 12. februar 2002 12:53 To: Tomcat Users List Subject: Re: Returned mail: User unknown Sorry - but is anyone else receiving lots of thes messages ? Thanks Caroline 2/12/02 11:48:43 AM, Mike Campbell [EMAIL PROTECTED] wrote: The original message was received at Tue, 12 Feb 2002 06:48:54 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: running tomcat server from a cdrom
i think it is very much possible as the tomcat writes only in the log files and in temp directory for each application which are configurable. tarun - Original Message - From: Franck Delahaye [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 12:40 AM Subject: running tomcat server from a cdrom Hi, I am new to tomcat and uses the 3.2 version to make a web application. I'd like to run tomcat from a cdrom on a windows boxe : after having tested my application on the hard disk, put the tomcat tree on a cd with a jvm and make a .bat script that launches tomcat I have tried that, and it seems that tomcat wants to write in the log directory and in the conf directory. Is it possible to make a specific configuration and launch tomcat sothat it does not try to write any files and work from a CDROM ? regards, Franck -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Java.exe Memory Usage Crashes Tomcat
how much increase in Xms have u made, as i had faced the same prob and had over comed by increaing the value to 64Mb tarun - Original Message - From: Suzanne Holtham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 1:14 AM Subject: Java.exe Memory Usage Crashes Tomcat I am running Tomcat 3.3a on Windows 2000 Server. I get approximately 1 hit per minute on the most popular JSPs. After 4-5 hours the memory of the java.exe process maxes out and I get an Internal Server error. I have tried the following with no success: 1) Turned the verbosity level to ERROR for logs. 2) Set session=false in the JSPs. 3) Increased Xms and Xmx parameters. Please help, I am a die hard Tomcat fan, and would really love to get this working on Tomcat. Thanks, Suzanne. __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:07:21 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
configuring tomcat and apache
can any body tell me how to configure Tomcat 4.0.1 and apache 1.3.23 is there any how to page gor this configuration or anybody have the configuration procedure Amol __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Returned mail: User unknown
Hi, Could you please let me know how to create a virtual directory using Tomcat 4.0.1. ? thanks, Arun Desai. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:13:34 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:13:34 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: [Ajp13] bad read: -103 on Tomcat4.0.1 with Apache 1.3
t could be that the resource for which the reuqest is made in not avaiable. It cannot be bacuase of the use of mod_jk. Try making a call to the same resource directly and in that case too the prob will come tarun - Original Message - From: Thanh Duong [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 4:44 PM Subject: [Ajp13] bad read: -103 on Tomcat4.0.1 with Apache 1.3 Hi all, I got this error message on tomcat4.0.1 with apache 1.3 when using multiple virtual hosts. [Ajp13] bad read: -103 To pass servlet/jsp requests to tomcat I am using the mod_jk.so instead of web_app.so module. Does someone know the reason for this error message? Thanks for your help Thanh Duong -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:16:40 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: configuring tomcat and apache
the 2 most useful links for the same are : http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html this will solve all ur probs tarun _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: RE: cocoon2.0.1 under tomcat4.0.2LE jdk1.4
Please let me know how to create Virtual dirctory using tomcat 4.0.1 thanks, Arun Desai. - Original Message - From: Donald Lee [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: 2/12/02 4:54 PM Subject: RE: cocoon2.0.1 under tomcat4.0.2LE jdk1.4 you would probably have better luck sending this to the cocoon-users list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 6:22 AM To: Tomcat Users List Subject: cocoon2.0.1 under tomcat4.0.2LE jdk1.4 ** 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. ** Hi, Apparently cocoon still breaks under jdk1.4 with the new release of tomcat4.0.2 for jdk1.4. Any hints? The error you get is: javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93 5) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo ader.java:1631) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav a:926) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at org.apache.xerces.validators.dtd.DTDGrammar.callStartDTD(DTDGrammar.java:194 ) at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java :1079) at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc anner.java:2145) at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.j ava:2100) at
Re: problem in running servlets
i hope by classpath u mean u have put the class file in the directory /My Application/WEB-NF/lasses/ folder . If it is anywhere else it wont work ~! tarun - Original Message - From: Deep Singh Bhau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 5:23 PM Subject: problem in running servlets Hi I have put the Servlet class(DeepServlet.class) in a folder which is there in my classpath. And I have set the following in web.xml(it is within the folder WEB-INF UNDER MY APPLICATION). web-app servlet servlet-namedeep/servlet-name servlet-classcom.servlet.DeepServlet/servlet-class /servlet servlet-mapping url-pattern/deep/url-pattern servlet-namedeep/servlet-name /servlet-mapping /web-app BUT IM OPENING IT IN BROWSER http://localhost:8080/deep/deep ITS GIVING PAGE NOT FOUND. Please comment Regards, Deep _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:19:51 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
tomcat and other servers
the 2 most useful links for the same are : http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html this will solve all ur probs tarun
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:23:03 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:26:16 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:26:16 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat 4.0.2 and Apache
Hi, I have read that Tomcat 4.0.1 and Apache was not a good choice ( bad performance ). What about Tomcat 4.0.2 and Apache ? If it is the same state, when is it planned to upgrade the performance Tomcat4/Apache ? in which version ? Thanks Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.2 and Apache
Hi, So do u mean to say that we should not use tomcat 4.0.x and apache 1.3.x in combination as i was in search of connection between both Amol --- Laurent Michenaud [EMAIL PROTECTED] wrote: Hi, I have read that Tomcat 4.0.1 and Apache was not a good choice ( bad performance ). What about Tomcat 4.0.2 and Apache ? If it is the same state, when is it planned to upgrade the performance Tomcat4/Apache ? in which version ? Thanks Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:35:42 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Returned mail: User unknown
The original message was received at Tue, 12 Feb 2002 07:38:52 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Returned mail: User unknown
it's getting unnoying a bit. can't the administrator unsubscribe this dead e-mail address?? cheers, J. -- Jarecsni, János MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL PROTECTED] http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 |-Original Message- |From: Mike Campbell [mailto:[EMAIL PROTECTED]] |Sent: Tuesday, February 12, 2002 1:39 PM |To: '[EMAIL PROTECTED]' |Subject: Returned mail: User unknown | | |The original message was received at Tue, 12 Feb 2002 07:38:52 0500 | | - The following addresses had permanent fatal errors - |[EMAIL PROTECTED] | | - Transcript of session follows - |... while talking to mail.s1.com: | RCPT To:[EMAIL PROTECTED] | 550 [EMAIL PROTECTED]... User unknown |550 [EMAIL PROTECTED]... User unknown | | |-- |To unsubscribe: mailto:[EMAIL PROTECTED] |For additional commands: mailto:[EMAIL PROTECTED] |Troubles with the list: mailto:[EMAIL PROTECTED] | | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.2 and Apache
That's what i've read before in the mailing list. Tomcat3.3/Apache offers better performance. -Message d'origine- De : Amol Umate [mailto:[EMAIL PROTECTED]] Envoyé : mardi 12 février 2002 13:33 À : Tomcat Users List Objet : Re: Tomcat 4.0.2 and Apache Hi, So do u mean to say that we should not use tomcat 4.0.x and apache 1.3.x in combination as i was in search of connection between both Amol --- Laurent Michenaud [EMAIL PROTECTED] wrote: Hi, I have read that Tomcat 4.0.1 and Apache was not a good choice ( bad performance ). What about Tomcat 4.0.2 and Apache ? If it is the same state, when is it planned to upgrade the performance Tomcat4/Apache ? in which version ? Thanks Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Returned mail: User unknown
I think I've unsubscribed him now. Hopefully. Mike, if you see this, sorry but X amount of returned mail messages drove me to it... /Christopher -Original Message- From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]] Sent: den 12 februari 2002 13:01 To: Tomcat Users List Subject: RE: Returned mail: User unknown Yep the entire list is receiving these mails. Can anyone do anything about it. Unsubscribe that guy or just diable his account. Jacob Vennervald -Original Message- From: Caroline Clewlow [mailto:[EMAIL PROTECTED]] Sent: 12. februar 2002 12:53 To: Tomcat Users List Subject: Re: Returned mail: User unknown Sorry - but is anyone else receiving lots of thes messages ? Thanks Caroline 2/12/02 11:48:43 AM, Mike Campbell [EMAIL PROTECTED] wrote: The original message was received at Tue, 12 Feb 2002 06:48:54 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Filters running twice!!!
does your dbfilterLog filter run twice also? I know that IE can sometimes make a HEAD request, but I'm not sure if that would get to the filter or not(anyone know?). If from the HEAD request it determines that it needs to reload the page, it will make a new request. if you are just logging page accesses, you can use the AccessLogValve instead. Charlie -Original Message- From: Terrence Szeto [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Filters running twice!!! Well, I checked my server.xml file. I don't have any other Context with a docBase of ROOT. I just have Context path= docBase=ROOT debug=0/ and Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Anyways, this is something I pulled up from the localhost_log.2002-02-11.txt file. Does this help? It it shows that the logFilter (which dumps some logging into that file) executes twice. Thanks, Terrence Szeto Cybermation Web Architect 2002-02-11 16:13:05 WebappLoader[]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\_ 2002-02-11 16:13:05 WebappLoader[]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.0\webapps\ROOT\WEB-INF\classes 2002-02-11 16:13:05 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:05 StandardManager[]: Seeding of random number generator has been completed 2002-02-11 16:13:05 ContextConfig[]: Configured an authenticator for method FORM 2002-02-11 16:13:05 StandardWrapper[:default]: Loading container servlet default 2002-02-11 16:13:05 default: init 2002-02-11 16:13:05 StandardWrapper[:invoker]: Loading container servlet invoker 2002-02-11 16:13:05 invoker: init 2002-02-11 16:13:05 jsp: init 2002-02-11 16:13:05 HostConfig[localhost]: Deploying configuration descriptor manager.xml 2002-02-11 16:13:05 WebappLoader[/manager]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\manager 2002-02-11 16:13:05 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/jasper-compiler.jar to C:\jakarta-tomcat-4.0\webapps\..\server\webapps\manager\WEB-IN F\lib\jasper-compiler.jar 2002-02-11 16:13:05 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/jasper-runtime.jar to C:\jakarta-tomcat-4.0\webapps\..\server\webapps\manager\WEB-IN F\lib\jasper-runtime.jar 2002-02-11 16:13:05 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:05 StandardManager[/manager]: Seeding of random number generator has been completed 2002-02-11 16:13:06 ContextConfig[/manager]: Configured an authenticator for method BASIC 2002-02-11 16:13:06 StandardWrapper[/manager:default]: Loading container servlet default 2002-02-11 16:13:06 default: init 2002-02-11 16:13:06 StandardWrapper[/manager:invoker]: Loading container servlet invoker 2002-02-11 16:13:06 invoker: init 2002-02-11 16:13:06 jsp: init 2002-02-11 16:13:06 HostConfig[localhost]: Deploying configuration descriptor admin.xml 2002-02-11 16:13:12 HostConfig[localhost]: Deploying web application directory tomcat-docs 2002-02-11 16:13:12 StandardHost[localhost]: Installing web application at context path /tomcat-docs from URL file:C:\jakarta-tomcat-4.0\webapps\tomcat-docs 2002-02-11 16:13:12 WebappLoader[/tomcat-docs]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\tomcat-docs 2002-02-11 16:13:12 StandardManager[/tomcat-docs]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:12 StandardManager[/tomcat-docs]: Seeding of random number generator has been completed 2002-02-11 16:13:12 StandardWrapper[/tomcat-docs:default]: Loading container servlet default 2002-02-11 16:13:12 default: init 2002-02-11 16:13:12 StandardWrapper[/tomcat-docs:invoker]: Loading container servlet invoker 2002-02-11 16:13:12 invoker: init 2002-02-11 16:13:12 jsp: init 2002-02-11 16:13:12 HostConfig[localhost]: Deploying web application directory webdav 2002-02-11 16:13:12 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\jakarta-tomcat-4.0\webapps\webdav 2002-02-11 16:13:12 WebappLoader[/webdav]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\webdav 2002-02-11 16:13:12 StandardManager[/webdav]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:12 StandardManager[/webdav]: Seeding of random number generator has been completed 2002-02-11 16:13:13 StandardWrapper[/webdav:default]: Loading container servlet default 2002-02-11 16:13:13 default: init 2002-02-11 16:13:13 StandardWrapper[/webdav:invoker]: Loading container servlet invoker 2002-02-11 16:13:13 invoker: init 2002-02-11 16:13:13 jsp: init
RE: Tomcat 4 SSL Connector
Hi, I think the answer is 'yes' if your factory implements org.apache.catalina.net.ServerSocketFactory Anton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Trevor Nielsen Sent: Tuesday, February 12, 2002 3:39 AM To: [EMAIL PROTECTED] Subject: Tomcat 4 SSL Connector Hi, I am currently trying to establish if I can specify my own security provider to be used by Tomcat 4.0.1 instead of the one packaged. I'm led to believe it may be possible (or may in the future be possible) by the server.xml file. When you set up an SSL Connector, you have to specify the Factory classname as pointing to the tomcat SSLServerSocketFactory ie. Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS/ /Connector That being the case, should I then be able to substitute SSL implementations by instead doing the following :- Factory className=com.dstc.security.ssl.SSLServerSocketFactory clientAuth=false protocol=TLS/ Thanks. -- Trevor Nielsen Software Engineer Wedgetail Communications Pty Ltd. Level 12 S Block Queensland University of Technology (Gardens Point) Brisbane QLD Australia, 4000 email: [EMAIL PROTECTED] phone: 3864 5121 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tyrex Tomcat
I want to use the JNDI facilties for DataSources. I have Tomcat 4.0.1 and I'm using tyrex-0.9.7.jar (which comes with Tomcat). I can't get it to work. It compiles, but when I run the page and try to get a database connection, it gives the error: java.lang.NoClassDefFoundError: org/omg/CosTransactions/Inactive at tyrex.server.TransactionServer.createTransactionDomain(TransactionServer.jav a:200) at tyrex.server.TransactionServer.getTransactionDomain(TransactionServer.java:1 83) at tyrex.tm.Tyrex.(Tyrex.java:77) at tyrex.tm.ResourceManager.run(ResourceManager.java:118) at java.security.AccessController.doPrivileged(Native Method) at tyrex.tm.ResourceManager.enlistResource(ResourceManager.java:91) at tyrex.jdbc.EnlistedConnection.enlist(EnlistedConnection.java:241) at tyrex.jdbc.EnlistedConnection.(EnlistedConnection.java:129) at tyrex.jdbc.ServerDataSource.getConnection(ServerDataSource.java:258) at tyrex.jdbc.ServerDataSource.getConnection(ServerDataSource.java:223) at AccessLog.doGet(AccessLog.java:190) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) Have I made a stupid error? or should I use a different version of Tyrex, or Tomcat, or should I try to find omg.jar (which I have searched for, but can find only on the Orbix site). Thanks for any help Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
OT: Spaces in URL using xalan
Hi, I have the following problem. May be someone has an idea how to solve it or find a workaround. I create the following URL which has a space after ... nodeId=A2 and create an element with the URL as content. termin.addContent( new Element( contact_url).addContent( /test/servlet/com.test.frame.MainFrame?contact_no=100655ActionName=contactnodeId=A2 TARGET=mainFrame)); With JDOM I create a dom and transform it to HTML. But the HTML never has a correct URL. The space is always replaced by %20. A + won't work on this place. Is there any working escape mechanism or ...? XSL file: xsl:element name=a xsl:attribute name=hrefxsl:value-of select=contact_url//xsl:attribute xsl:value-of select=contact_no/ /xsl:element Environment: -W2K - Tomcat 3.2.1 - Xalan 2.2 - jdk 1.3.1 - jdom -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: how to run multiple instances of a single application on a single tomcat.
Hi, Just one of many variants. Copy it to another directory under webapps and if connection to database is configurable from web.xml then change the configuration. If connection parameters are hardcoded then you need to change the code (I'd suggest to make it configurable) Anton -Original Message- From: Deep Singh Bhau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 10:42 AM To: Tomcat Users List Subject: RE: how to run multiple instances of a single application on a single tomcat. Im stuck here.. someone please help me out.. -Original Message- From: Deep Singh Bhau Sent: Tuesday, February 12, 2002 12:21 PM To: [EMAIL PROTECTED] Subject: how to run multiple instances of a single application on a single tomcat. Hi I'm new to this mailing list. Could anyone please tell me how to run multiple instances of application on a single tomcat. For example I have a application A which connects to a Database X. All I want is that the second instance of Application A should connect to a Database B. Regards, Deep -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
database connect to db overr mod_webapp - possible bug
Hi I have a JSP which,when called direct into Tomcat (4.0.1) on Linux works fine. It connects to a database, retrieves results, fine. http://host_a:8080/ism/JSP/file.jsp?param1=valueparam2=value host_a is a vrtual host defined in my apache config and in the DNS servers on our LAN. In the virtual host setting of Apache, I have WebAppConnection coni warp localhost:8008 WebAppDeploy ism coni/ism/ Static pages,servlets and JSP are fine across mod_webapp. However, when I try my database JSP, I get errors. This code is in the JSP when I go through 8080 and it WORKS, it connects to the DB and all goes OK. So my configuration of the jdbc/IsmDB must be OK. I created the JDBC datasources as outlined at the Tomcat website. Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); javax.sql.DataSource ds = (javax.sql.DataSource)envCtx.lookup(jdbc/IsmDB); Connection conn = ds.getConnection(); However, when I connect to the page via Apache, the third line fails the connection to the database fails. I replace those 4 lines with the following and it works. String sConn = jdbc:oracle:thin:@ip:port:sid; // connnection string DriverManager.registerDriver( new oracle.jdbc.driver.OracleDriver() ); Connection conn=DriverManager.getConnection( sConn, user, password ); Statement stmt= conn.createStatement(); So have I missed some configuration to make the database connection work over mod_webapp or is this a bug ? Thanks Chris -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: database connect to db overr mod_webapp - possible bug
can we see the errors? -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 7:26 AM To: Tomcat Users List Subject: database connect to db overr mod_webapp - possible bug Hi I have a JSP which,when called direct into Tomcat (4.0.1) on Linux works fine. It connects to a database, retrieves results, fine. http://host_a:8080/ism/JSP/file.jsp?param1=valueparam2=value host_a is a vrtual host defined in my apache config and in the DNS servers on our LAN. In the virtual host setting of Apache, I have WebAppConnection coni warp localhost:8008 WebAppDeploy ism coni/ism/ Static pages,servlets and JSP are fine across mod_webapp. However, when I try my database JSP, I get errors. This code is in the JSP when I go through 8080 and it WORKS, it connects to the DB and all goes OK. So my configuration of the jdbc/IsmDB must be OK. I created the JDBC datasources as outlined at the Tomcat website. Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); javax.sql.DataSource ds = (javax.sql.DataSource)envCtx.lookup(jdbc/IsmDB); Connection conn = ds.getConnection(); However, when I connect to the page via Apache, the third line fails the connection to the database fails. I replace those 4 lines with the following and it works. String sConn = jdbc:oracle:thin:@ip:port:sid; // connnection string DriverManager.registerDriver( new oracle.jdbc.driver.OracleDriver() ); Connection conn=DriverManager.getConnection( sConn, user, password ); Statement stmt= conn.createStatement(); So have I missed some configuration to make the database connection work over mod_webapp or is this a bug ? Thanks Chris -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 3.3a - classloader hirearchy questions
-Original Message- From: Mario Felarca [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 7:40 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.3a - classloader hirearchy questions Hello, I had a problem a few days ago with Tomcat 3.3a and loading classes that I have tracked down. I wanted to ask if my understanding of the classloader hirearchy is correct or if there are other people that have experienced similar behavior. I was running Tomcat 3.3a as a service, and on the -Djava.class.path was tomcat.jar and one other directory that had a copy of one of my classes, we'll call it Base1.class. Now, Base1.class was also in a jar that I had put in tomcat/lib/apps and was thus loaded by the apps classloader. The problem I was running into, was that I had another class in that same jar, loaded by the apps classloader, that extended from Base1.class. We'll call this class SubClass1.class. I expected SubClass1.class to load Base1.class from the apps classloader, since they were both in the same jar. What appeared to be happening, was that SubClass1.class was attempting to load Base1.class from the system classloader. Here, Base1.class got loaded (since there was a copy on -Djava.class.path) but since Base1.class needed to load other classes that were not on the system classloader, things failed out. I know that a solution is to remove the copy of Base1.class from the -Djava.class.path location, but now I am curious as to if my understanding of the classloaders is incorrect. Shouldn't the SubClass1.class look for any classes that it is dependent on in the same classloader first? In this case it would be the apps classloader which should also have loaded Base1.class. Or, does the apps classloader not load Base1.class since it was already on the -Djava.class.path? Better yet, is this a configuration issue that I have simply overlooked? Tomcat 3.3 follows the JDK implementation for classloaders where child classloaders delegate to their parent classloaders first, before attempting to load a class themselves. This is why Base1.class is found in the CLASSPATH classloader even though it exists in other classloaders in the chain. Per the Servlet 2.3 spec, Tomcat 4.x implements the classloader behavior differently. Classloaders may attempt to load the class first before delegating to their parent classloader. In this case, your scenario would have worked. Finally, I noticed that if I ran from the tomcat batch file, and set the CLASSPATH environment variable to be the same as the -Djava.class.path parameter that I used, the behavior was different and I did not get the same problems as I did when running as a service. Any information or ideas would be appreciated. Thanks so much in advance, Mario- _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: RE: database connect to db overr mod_webapp - possible bug
Hi can we see the errors? Wow - fast response. Thank-you. Iactually just noticed that someone else found the exact same thing. He got no replies. http://groups.google.com/groups?q=mod_webapp+JDBChl=enselm=7774774d.0109191826.5240aa0%40posting.google.comrnum=1 On the web page,I see this; java.lang.NullPointerException at org.apache.jsp.ism$jsp._jspService(ism$jsp.java:123) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:215) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194) at java.lang.Thread.run(Thread.java:484) The errors in the apache log file in $CATALINA_HOME/logs are as follows: 2002-02-12 13:10:16 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.jsp.ismResult_0005fn$jsp._jspService(ismResult_0005fn$jsp. java:124) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 82) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline .java:566) Thanks Chris -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 7:26 AM To: Tomcat Users List Subject: database connect to db overr mod_webapp - possible bug Hi I have a JSP which,when called direct into Tomcat (4.0.1) on Linux works fine. It connects to a database, retrieves results, fine. http://host_a:8080/ism/JSP/file.jsp?param1=valueparam2=value host_a is a vrtual host defined in my apache config and in the DNS servers on our LAN. In the virtual host setting of Apache, I have WebAppConnection coni warp localhost:8008 WebAppDeploy ism coni
RE: RE: database connect to db overr mod_webapp - possible bug
Well, I can't tell you if it is a mod_webapp bug or not but if it was e I would switch to mod_jk instead of mod_webapp and try it again. mod_webapp has had other problems but I hae not seen this one (not that I have really looked). can you switch to mod_jk and try it again? B -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 7:40 AM To: Tomcat Users List Subject: Re: RE: database connect to db overr mod_webapp - possible bug Hi can we see the errors? Wow - fast response. Thank-you. Iactually just noticed that someone else found the exact same thing. He got no replies. http://groups.google.com/groups?q=mod_webapp+JDBChl=enselm=7774774d.010919 1826.5240aa0%40posting.google.comrnum=1 On the web page,I see this; java.lang.NullPointerException at org.apache.jsp.ism$jsp._jspService(ism$jsp.java:123) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand ler.java:215) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19 4) at java.lang.Thread.run(Thread.java:484) The errors in the apache log file in $CATALINA_HOME/logs are as follows: 2002-02-12 13:10:16 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.jsp.ismResult_0005fn$jsp._jspService(ismResult_0005fn$jsp. java:124) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 82) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline .java:566) Thanks Chris -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002
AW: RE: database connect to db overr mod_webapp - possible bug
Can you tell us which of the 4 lines causes the NPE ? (Have a look at the genrated source in the work direectory line 123) -Ursprüngliche Nachricht- Von: Chris Faulkner [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 14:40 An: Tomcat Users List Betreff: Re: RE: database connect to db overr mod_webapp - possible bug snip/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: AW: RE: database connect to db overr mod_webapp - possible bug
Hi Its the third line - I commented them all out and put them in one by one. javax.sql.DataSource ds = (javax.sql.DataSource)envCtx.lookup(jdbc/IsmDB); Chris Can you tell us which of the 4 lines causes the NPE ? (Have a look at the genrated source in the work direectory line 123) -Ursprüngliche Nachricht- Von: Chris Faulkner [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 14:40 An: Tomcat Users List Betreff: Re: RE: database connect to db overr mod_webapp - possible bug snip/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: RE: cocoon2.0.1 under tomcat4.0.2LE jdk1.4
-Message d'origine- De: arun desai [mailto:[EMAIL PROTECTED]] Date: mardi 12 février 2002 13:23 À: Donald Lee; Tomcat Users List Objet: Re: RE: cocoon2.0.1 under tomcat4.0.2LE jdk1.4 Please let me know how to create Virtual dirctory using tomcat 4.0.1 do you mean virtual host ? for virtual host you must declare each virtual host in the server.xml in a Host directive (look in tomcat4 config HowTo doc) eg: server ... service ... Host name=localhost debug=0 appBase=webapps unpackWARs=true Context path= docBase=ROOT debug=0/ /Host Host name=www.just.do.it debug=1 appBase=nike_webapps unpackWARs=true Alias name=www.dont.even.think.about.it Context path= docBase=nike_ROOT debug=1/ ... /Host ... and so on if you talk of the concept of virtual directry like in IIS/PWS this is called a Context you create a context by 2 ways: create a Context entry in a Host entry refering to a directory and declaring the context path this one declare the root (home of the site) context mapped onto the ROOT subdir Context path= docBase=ROOT debug=0/ note that this path is relative to the appBase : which is declared in the Host tag around the contect tag, like in Host name=localhost debug=0 appBase=webapps unpackWARs=true if you put directory or *.war archive in this appBase directory, a context is automatically created with a path name identical to the directory name. the .war may be expanded to the directory if not already and if and allowed by unpackWARs=true this is the same for non default virtual hosts like in Host name=www.just.do.it debug=1 appBase=nike_webapps unpackWARs=true Alias name=www.dont.even.think.about.it Context path= docBase=nike_ROOT debug=1/ which mean that : any request from an URL http://www.just.do.it or http://www.dont.even.think.about.it is redirected to this virtual host object, whode webapp dir is nike_webapps the root is nike_webapps/nike_ROOT and may be expanded from nike_webapps/nike_ROOT.war if not already done. any file nike_webapps/XXX.war will be associated to a context path XXX and may be reach through eg: http://www.dont.even.think.about.it/XXX/and/so/on.jsp hope this helps... by the way, the error you get on cocoon (ask to the cocoon user mailing list) is clearly a problem with the XML parser... have you put all the xerces and xalan in the WEB-INF/lib subdirectory of your webapp ? and so on with all the jar... there is an option in cocoon to atomagically copy the jar in WEB-INF/lib (more than 20 jars) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Apparently cocoon still breaks under jdk1.4 with the new release of tomcat4.0.2 for jdk1.4. Any hints? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat 4.0.2 Final RPM available
Hi to all, TC 4.0.2 rpms are available at : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/rpms/ But read the following before rushing : Tomcat 4.0.2 in light mode need : servletapi 2.3, regexp 1.2 and xerces 1.x, that are for some compiled (servletapi), present in source tarball (regexp), or should be present on system at build time (xerces). All of these jar are then distributed in the binary tarball or in the binary RPM at build time. The Tomcat 4.0.2 RPM will no more include these jars since they will be available in their own RPM packages. These RPMs, servletapi4, regexp (1.2), xerces (1.4.4) will be available next to tomcat4 rpms in both binary and source form. Tomcat 4.0.2 RPM require them and will install them on lib directories at install time (%post) by making symlink between usual RPM jars repository /usr/share/java/ to /var/tomcat4/server/lib/ or /var/tomcat4/common/lib/ As such the TC binary RPM will be smaller, you could update xerces, regexp, servletapi4 as they will take care of Tomcat 4.0.2 and will update it accordingly. For example if you want to upgrade to Xerces 2.0 where the SAX/DOM/W3C API and Parser are splitted in 2 jars, the RPM will install them correctly (via symlink) in TC 4.0 lib dir. Side effect, it will be easier to release TC 4.0.2 RPM updates, ie for using openjmx. - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
rewrite in Tomcat over 8080
Hello again Does anyone know how to do a rewrite in Tomcat ? I have set up rewrites in Apache- is there an equivalent that will work to redirect requests sent into Tomcat on 8080 ? Thanks Chris Faulkner -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Filters running twice!!!
Hey Charlie. Yes actually dblogFilter does run twice, as does the other filters I have running. I've been running the webapp on Netscape 6.2.1. I've tried it on IE, same deal. I'm not sure what exactly is going wrong. I wrote the dbLogFilter to log things within the database, I don't think AccessValueLog does that. Terrence Szeto Cybermation Web Architect From: Cox, Charlie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Filters running twice!!! Date: Tue, 12 Feb 2002 08:01:03 -0500 MIME-Version: 1.0 Received: from [192.18.49.131] by hotmail.com (3.2) with ESMTP id MHotMailBE325D3C001D40043893C012318382690; Tue, 12 Feb 2002 05:01:49 -0800 Received: (qmail 28187 invoked by uid 97); 12 Feb 2002 13:01:30 - Received: (qmail 28155 invoked from network); 12 Feb 2002 13:01:30 - From tomcat-user-return-10647-t3szeto Tue, 12 Feb 2002 05:02:44 -0800 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:[EMAIL PROTECTED] List-Id: Tomcat Users List tomcat-user.jakarta.apache.org Delivered-To: mailing list [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Mailer: Internet Mail Service (5.5.2654.89) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N does your dbfilterLog filter run twice also? I know that IE can sometimes make a HEAD request, but I'm not sure if that would get to the filter or not(anyone know?). If from the HEAD request it determines that it needs to reload the page, it will make a new request. if you are just logging page accesses, you can use the AccessLogValve instead. Charlie -Original Message- From: Terrence Szeto [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Filters running twice!!! Well, I checked my server.xml file. I don't have any other Context with a docBase of ROOT. I just have Context path= docBase=ROOT debug=0/ and Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Anyways, this is something I pulled up from the localhost_log.2002-02-11.txt file. Does this help? It it shows that the logFilter (which dumps some logging into that file) executes twice. Thanks, Terrence Szeto Cybermation Web Architect 2002-02-11 16:13:05 WebappLoader[]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\_ 2002-02-11 16:13:05 WebappLoader[]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.0\webapps\ROOT\WEB-INF\classes 2002-02-11 16:13:05 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:05 StandardManager[]: Seeding of random number generator has been completed 2002-02-11 16:13:05 ContextConfig[]: Configured an authenticator for method FORM 2002-02-11 16:13:05 StandardWrapper[:default]: Loading container servlet default 2002-02-11 16:13:05 default: init 2002-02-11 16:13:05 StandardWrapper[:invoker]: Loading container servlet invoker 2002-02-11 16:13:05 invoker: init 2002-02-11 16:13:05 jsp: init 2002-02-11 16:13:05 HostConfig[localhost]: Deploying configuration descriptor manager.xml 2002-02-11 16:13:05 WebappLoader[/manager]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\manager 2002-02-11 16:13:05 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/jasper-compiler.jar to C:\jakarta-tomcat-4.0\webapps\..\server\webapps\manager\WEB-IN F\lib\jasper-compiler.jar 2002-02-11 16:13:05 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/jasper-runtime.jar to C:\jakarta-tomcat-4.0\webapps\..\server\webapps\manager\WEB-IN F\lib\jasper-runtime.jar 2002-02-11 16:13:05 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:05 StandardManager[/manager]: Seeding of random number generator has been completed 2002-02-11 16:13:06 ContextConfig[/manager]: Configured an authenticator for method BASIC 2002-02-11 16:13:06 StandardWrapper[/manager:default]: Loading container servlet default 2002-02-11 16:13:06 default: init 2002-02-11 16:13:06 StandardWrapper[/manager:invoker]: Loading container servlet invoker 2002-02-11 16:13:06 invoker: init 2002-02-11 16:13:06 jsp: init 2002-02-11 16:13:06 HostConfig[localhost]: Deploying configuration descriptor admin.xml 2002-02-11 16:13:12 HostConfig[localhost]: Deploying web application directory tomcat-docs 2002-02-11 16:13:12 StandardHost[localhost]: Installing web application at context path /tomcat-docs from URL file:C:\jakarta-tomcat-4.0\webapps\tomcat-docs 2002-02-11 16:13:12 WebappLoader[/tomcat-docs]: Deploying class repositories to work directory
AW: AW: RE: database connect to db overr mod_webapp - possible bug
So the lookup in the second line that fails and return a null. Context envCtx = (Context) initCtx.lookup(java:comp/env); I'm currently not using JNI but I remembered a post some time ago. May be this helps: http://mikal.org/interests/java/tomcat/archive/view?mesg=45843 -Ursprüngliche Nachricht- Von: Chris Faulkner [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 14:57 An: Tomcat Users List Betreff: Re: AW: RE: database connect to db overr mod_webapp - possible bug Hi Its the third line - I commented them all out and put them in one by one. javax.sql.DataSource ds = (javax.sql.DataSource)envCtx.lookup(jdbc/IsmDB); -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Question about mod_webapp
Hey, Just a quick question here. I remember a few months back there was talk about mod_webapp recognizing static content calls (.html, .jpg, etc) and not forwarding them off to Tomcat to be handled, and instead let Apache handle them. Was this ever implemented? -Chad Johnson
Tomcat examples servlet URL mappings
Hi, I've just installed Tomcat for the first time and one thing that is confusing me. If you enter a URL of http://localhost:8080/examples/servlets/index.html, you get to the servlets examples page where there are six example servlets. If you hover over the link to the Hello World servlet the URL is http://localhost:8080/examples/servlet/HelloWorldExample. If you then look in the tomcat_home/webapps/examples/web-inf/classes directory, you'll find the HelloWorldExample servlet, together with the other servlet examples. The thing confusing me is, why is there no servlet mapping in the web.xml file for the HelloWorldExample servlet? I was expecting to see something that mapped a URL of /servlet/HelloWorldExample to the HelloWorldExample class in the classes directory? And since there is no mapping for this servlet or all the other example servlets, how is the correct servlet resolved from the URL? I'm sure this is something dead simple. Thanks for any help. Cheers, Steve George -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: Question about mod_webapp
According to the following link not. http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/RELEA SE-NOTES (But this might be outdated in this aspect ?) -Ursprüngliche Nachricht- Von: Chad Johnson [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 15:36 An: [EMAIL PROTECTED] Betreff: Question about mod_webapp Hey, Just a quick question here. I remember a few months back there was talk about mod_webapp recognizing static content calls (.html, .jpg, etc) and not forwarding them off to Tomcat to be handled, and instead let Apache handle them. Was this ever implemented? -Chad Johnson -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Question about mod_webapp
Thanks! - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 8:45 AM Subject: AW: Question about mod_webapp According to the following link not. http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/RELEA SE-NOTES (But this might be outdated in this aspect ?) -Ursprüngliche Nachricht- Von: Chad Johnson [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 15:36 An: [EMAIL PROTECTED] Betreff: Question about mod_webapp Hey, Just a quick question here. I remember a few months back there was talk about mod_webapp recognizing static content calls (.html, .jpg, etc) and not forwarding them off to Tomcat to be handled, and instead let Apache handle them. Was this ever implemented? -Chad Johnson -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: how to run multiple instances of a single application on a single tomcat.
I think you can do this with different properties files. One instance of the application has a .properties file that contains the ip address and database name of dbX. And in the second instance of your application the .properties file contains the ip address and database name of dbY. I have a slightly similar situation where the same application goes through staging to production. In staging the properties file connects to staging-db. When I push that file live I have a script that changes the ip address called to that of live-db. So I think the same principal should work for two instances of the same application. Give it a shot. Charlie -Original Message- From: Deep Singh Bhau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 3:42 AM To: Tomcat Users List Subject: RE: how to run multiple instances of a single application on a single tomcat. Im stuck here.. someone please help me out.. -Original Message- From: Deep Singh Bhau Sent: Tuesday, February 12, 2002 12:21 PM To: [EMAIL PROTECTED] Subject: how to run multiple instances of a single application on a single tomcat. Hi I'm new to this mailing list. Could anyone please tell me how to run multiple instances of application on a single tomcat. For example I have a application A which connects to a Database X. All I want is that the second instance of Application A should connect to a Database B. Regards, Deep -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Filters running twice!!!
you may want to use accesslogvalve to see if you are getting 2 requests to tomcat. This can help distinguish if its a tomcat problem or a browser(frames?) issue. are all your pages called twice or just the filters? what version of tc4? I am using filters with a mapping of '/abc/*' (not '/*') without this problem on 4.0.1 standalone. Charlie -Original Message- From: Terrence Szeto [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 9:23 AM To: [EMAIL PROTECTED] Subject: RE: Filters running twice!!! Hey Charlie. Yes actually dblogFilter does run twice, as does the other filters I have running. I've been running the webapp on Netscape 6.2.1. I've tried it on IE, same deal. I'm not sure what exactly is going wrong. I wrote the dbLogFilter to log things within the database, I don't think AccessValueLog does that. Terrence Szeto Cybermation Web Architect From: Cox, Charlie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Filters running twice!!! Date: Tue, 12 Feb 2002 08:01:03 -0500 MIME-Version: 1.0 Received: from [192.18.49.131] by hotmail.com (3.2) with ESMTP id MHotMailBE325D3C001D40043893C012318382690; Tue, 12 Feb 2002 05:01:49 -0800 Received: (qmail 28187 invoked by uid 97); 12 Feb 2002 13:01:30 - Received: (qmail 28155 invoked from network); 12 Feb 2002 13:01:30 - From tomcat-user-return-10647-t3szeto Tue, 12 Feb 2002 05:02:44 -0800 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:[EMAIL PROTECTED] List-Id: Tomcat Users List tomcat-user.jakarta.apache.org Delivered-To: mailing list [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Mailer: Internet Mail Service (5.5.2654.89) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N does your dbfilterLog filter run twice also? I know that IE can sometimes make a HEAD request, but I'm not sure if that would get to the filter or not(anyone know?). If from the HEAD request it determines that it needs to reload the page, it will make a new request. if you are just logging page accesses, you can use the AccessLogValve instead. Charlie -Original Message- From: Terrence Szeto [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Filters running twice!!! Well, I checked my server.xml file. I don't have any other Context with a docBase of ROOT. I just have Context path= docBase=ROOT debug=0/ and Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Anyways, this is something I pulled up from the localhost_log.2002-02-11.txt file. Does this help? It it shows that the logFilter (which dumps some logging into that file) executes twice. Thanks, Terrence Szeto Cybermation Web Architect 2002-02-11 16:13:05 WebappLoader[]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\_ 2002-02-11 16:13:05 WebappLoader[]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.0\webapps\ROOT\WEB-INF\classes 2002-02-11 16:13:05 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:05 StandardManager[]: Seeding of random number generator has been completed 2002-02-11 16:13:05 ContextConfig[]: Configured an authenticator for method FORM 2002-02-11 16:13:05 StandardWrapper[:default]: Loading container servlet default 2002-02-11 16:13:05 default: init 2002-02-11 16:13:05 StandardWrapper[:invoker]: Loading container servlet invoker 2002-02-11 16:13:05 invoker: init 2002-02-11 16:13:05 jsp: init 2002-02-11 16:13:05 HostConfig[localhost]: Deploying configuration descriptor manager.xml 2002-02-11 16:13:05 WebappLoader[/manager]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\manager 2002-02-11 16:13:05 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/jasper-compiler.jar to C:\jakarta-tomcat-4.0\webapps\..\server\webapps\manager\WEB-IN F\lib\jasper-compiler.jar 2002-02-11 16:13:05 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/jasper-runtime.jar to C:\jakarta-tomcat-4.0\webapps\..\server\webapps\manager\WEB-IN F\lib\jasper-runtime.jar 2002-02-11 16:13:05 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:05 StandardManager[/manager]: Seeding of random number generator has been completed 2002-02-11 16:13:06 ContextConfig[/manager]: Configured an authenticator for method BASIC 2002-02-11 16:13:06 StandardWrapper[/manager:default]: Loading container
servlet resource mapping - jms queue
Anyone know how to map a JMS queue to a servlet? I'm guessing it's w/ a resource-ref tag, but now sure how to fill it out, or where it goes. I've got a servlet as follows in my web.xml ... --- servlet servlet-nameStreamer/servlet-name servlet-classcom.mydomain.servlets.Streamer/servlet-class /servlet servlet-mapping servlet-nameStreamer/servlet-name url-patternStreamer/url-pattern /servlet-mapping --- So when a queue (queue/streamer) starts to receive msgs (my servlet implements MessageListener) then I can have my servlet *do stuff* with those msgs. Any help much appreciated.
Tyrex / Tomcat
Does anyone on this list know who is maintaining Tyrex at the moment? The official Tyrex website looks out of date, the list doesn't seem to work and there is a version 0.9.8 of the jar file around (later than the one used in Tomcat), but I can't find who has made it. (The Tyrex site only has 0.9.7 - same as Tomcat). Thanks for any help Mark
Re: AW: AW: RE: database connect to db overr mod_webapp - possible bug
Hi Thanks for the help and the URL may well help. However, I can't tell from it which bits of the configuration are supposed to go where in the mod_webbapp Connector setup. Am I supposed to put the resource or resource-ref in the Connector set-up ?!! I've sort of reached the point now where I've had enough of mod_webapp. You only have to look at this list for a day or two to see how many queries it raises. I wonder whether the comments and recommendations on the website to use mod_webapp are borne out of a desire to get it tested or out of a genuine belief that it is actually better. I'm going to use ajp13 for a while. Chris So the lookup in the second line that fails and return a null. Context envCtx = (Context) initCtx.lookup(java:comp/env); I'm currently not using JNI but I remembered a post some time ago. May be this helps: http://mikal.org/interests/java/tomcat/archive/view?mesg=45843 -Ursprüngliche Nachricht- Von: Chris Faulkner [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 14:57 An: Tomcat Users List Betreff: Re: AW: RE: database connect to db overr mod_webapp - possible bug Hi Its the third line - I commented them all out and put them in one by one. javax.sql.DataSource ds = (javax.sql.DataSource)envCtx.lookup(jdbc/IsmDB); -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: VAJava and Tomcat
Maybe it is an option to upgrade to eclipse, which has a tomcat module integrated. Mvgr, Martin -Original Message- From: Patria Lukman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 16:23 To: [EMAIL PROTECTED] Subject: VAJava and Tomcat Hello everyone this question might seems naive, but I have browse the IBM web site and revise some articles and unfortunately I have been unable to deal with the following question: I am using Visual Age for Java (VAJ) 3.5 Professional Edition and I added Tomcat v 4.01 as servlet engine to the VAJ to run and debug and develop servlets and JSP. So, my question is: has someone use Tomcat v 4.01 and VAJ to debug servlets and JSPs ? i have tried several articles and ways without much avail. I would really appreciate any help you could give on this Thanks Patria __ Patria Handatjaia Lukman NdexSystems Inc. 360 St-Jacques Ouest, Suite 2000 Montréal, Qc. H2Y 1P5 Office phone: 1-514-288-0908 Ext 110 [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Filters running twice!!!
Hey Charlie, I found the error. APPARENTLY, on my JSP pages, I had %@ page contentType=text/html% THIS seemed to push a refresh every single time I load the page. anyways, I removed it, my filters don't run twice, cuz the page doesn't open TWICE. Thanks for trying to help though. From: Cox, Charlie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Filters running twice!!! Date: Tue, 12 Feb 2002 10:07:57 -0500 MIME-Version: 1.0 Received: from [192.18.49.131] by hotmail.com (3.2) with ESMTP id MHotMailBE327AFE005D400431D6C0123183E0F30; Tue, 12 Feb 2002 07:08:47 -0800 Received: (qmail 17519 invoked by uid 97); 12 Feb 2002 15:08:24 - Received: (qmail 17506 invoked from network); 12 Feb 2002 15:08:23 - From tomcat-user-return-10670-t3szeto Tue, 12 Feb 2002 07:10:38 -0800 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:[EMAIL PROTECTED] List-Id: Tomcat Users List tomcat-user.jakarta.apache.org Delivered-To: mailing list [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Mailer: Internet Mail Service (5.5.2654.89) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N you may want to use accesslogvalve to see if you are getting 2 requests to tomcat. This can help distinguish if its a tomcat problem or a browser(frames?) issue. are all your pages called twice or just the filters? what version of tc4? I am using filters with a mapping of '/abc/*' (not '/*') without this problem on 4.0.1 standalone. Charlie -Original Message- From: Terrence Szeto [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 9:23 AM To: [EMAIL PROTECTED] Subject: RE: Filters running twice!!! Hey Charlie. Yes actually dblogFilter does run twice, as does the other filters I have running. I've been running the webapp on Netscape 6.2.1. I've tried it on IE, same deal. I'm not sure what exactly is going wrong. I wrote the dbLogFilter to log things within the database, I don't think AccessValueLog does that. Terrence Szeto Cybermation Web Architect From: Cox, Charlie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Filters running twice!!! Date: Tue, 12 Feb 2002 08:01:03 -0500 MIME-Version: 1.0 Received: from [192.18.49.131] by hotmail.com (3.2) with ESMTP id MHotMailBE325D3C001D40043893C012318382690; Tue, 12 Feb 2002 05:01:49 -0800 Received: (qmail 28187 invoked by uid 97); 12 Feb 2002 13:01:30 - Received: (qmail 28155 invoked from network); 12 Feb 2002 13:01:30 - From tomcat-user-return-10647-t3szeto Tue, 12 Feb 2002 05:02:44 -0800 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:[EMAIL PROTECTED] List-Id: Tomcat Users List tomcat-user.jakarta.apache.org Delivered-To: mailing list [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Mailer: Internet Mail Service (5.5.2654.89) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N does your dbfilterLog filter run twice also? I know that IE can sometimes make a HEAD request, but I'm not sure if that would get to the filter or not(anyone know?). If from the HEAD request it determines that it needs to reload the page, it will make a new request. if you are just logging page accesses, you can use the AccessLogValve instead. Charlie -Original Message- From: Terrence Szeto [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Filters running twice!!! Well, I checked my server.xml file. I don't have any other Context with a docBase of ROOT. I just have Context path= docBase=ROOT debug=0/ and Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Anyways, this is something I pulled up from the localhost_log.2002-02-11.txt file. Does this help? It it shows that the logFilter (which dumps some logging into that file) executes twice. Thanks, Terrence Szeto Cybermation Web Architect 2002-02-11 16:13:05 WebappLoader[]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0\work\localhost\_ 2002-02-11 16:13:05 WebappLoader[]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.0\webapps\ROOT\WEB-INF\classes 2002-02-11 16:13:05 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2002-02-11 16:13:05 StandardManager[]: Seeding of random number generator has been completed
Re: Returned mail: User unknown
Blasted... jean-frederic clere [EMAIL PROTECTED] wrote: Abhishek Pamecha wrote: are yu guys getting this mail from mike campbell repeatedly... Yes... But that should a configuration problem in the TC user list, should not it? I have receive 15 of these (for the moment). -Original Message- From: Mike Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 12:42 PM To: '[EMAIL PROTECTED]' Subject: Returned mail: User unknown The original message was received at Tue, 12 Feb 2002 02:11:59 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL PROTECTED]... User unknown -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]