Re: Test - please[don't] ignore!
Hi, This is really wierd - I can't post this msg to the list! The Test went through fine, but every time I try and post the msg below, it just disappears. Anyone guess why? Anyone know the answer?!! cheers, David Subject: Get Tomcat's port in startup servlet Body: Hi, I have a servlet which runs on startup. Within it, I need to get the port number that tomcat is using. Does anyone know the best way to do this? cheers, David |-+ | | David Hay | | | [EMAIL PROTECTED]| | | l.com | | || | | 06/24/2005 09:19 | | | AM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ ---| | | | To: tomcat-user@jakarta.apache.org | | cc: | | Subject: Test - please ignore! | ---| testing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK load balancer question
How can I update things programmatically using Tomcat 5.0? Kartheek - did you get this working? cheers, David |-+ | | Peter Rossbach | | | [EMAIL PROTECTED]| | | | | || | | 05/03/2005 03:10 | | | AM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ ---| | | | To: Tomcat Users List tomcat-user@jakarta.apache.org | | cc: | | Subject: Re: JK load balancer question | ---| Hey, yes, you can configure the new status worker (= jk 1.2.10) and used the new ant JkStatusUpdateTask (Tomcat 5.5.9) for active configuration. But the disabled flag don't stopp the complete traffic. Only stop that no new session create requests to the disabled worker. But I have implement a stopped flag at jk 1.2.11 that really stopp the complete traffic (Ant Task also avialable at 5.5.10 cvs head). This mode is very helpful at the Cluster szenario. I hope you use the Tomcat 5.5.9 with my cluster patches! http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 Peter Hirode, Kartheek V. schrieb: Hello all We are planning on using a cluster of Tomcat instances behind an Apache server, load balanced with the JK connector. Everything is pretty standard except: (a) we'd like to turn OFF and ON the traffic coming into the Tomcat instances based on certain conditions. Plus we'd like to turn ON and OFF *programmatically*, i.e. the Tomcat instance notifies the Apache (JK) to START and STOP sending traffic as conditions change (b) To reiterate again, the key thing is that we'd like to notify *programmatically* from the Tomcat to the Apache JK. We've looked at the JK connector docs http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The attribute called disabled seems to do exactly that, but it is set in the workers.properties file and is read during startup of the Apache. Is there a way to modify this attribute during runtime, with an API-like access? Thank you and best regards -- Kartheek Hirode HP.com Hub Services Tel: 208.396.9031 Fax: 208.396.7770 http://hpcom.corp.hp.com/hpps/programs/hub/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK1.2.9 and dynamic change of properties
Hi Mladen, Just to clarify - will this allow us to configure the load-balancing on the fly according to the load of the tomcat's involved? cheers, David |-+ | | Mladen Turk | | | [EMAIL PROTECTED]| | | s.com | | || | | 02/24/2005 12:55 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ ---| | | | To: Tomcat Users List tomcat-user@jakarta.apache.org | | cc: | | Subject: Re: JK1.2.9 and dynamic change of properties | ---| Lionel Farbos wrote: A question for JK workers : I see in the JK 1.2.9 roadmap that a dynamic change of workers'properties will be possible at runtime. But, actually, when I do apache reload, the change is possible at runtime without loosing requests. No ? Yes and no. You will lose all the connections to tomcats on gracefull restart. Not to mention that if you make an syntax error in the config the apache will exit, so you will need to check that before. It can take up to session time for child to exit 30 seconds or more. So, what is the innovation of this feature ? Changes are visible immediately thanks to shared memory, and you are not loosing existing connections. Also the loadbalancer stats are visible for all child processes. And you don't need access to filesystem (except for JkMountFile). It works on all platforms. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK1.2.9 and dynamic change of properties
Hi Mladen, We'd have our own mechanism to calculate the load on a particular server - I was actually asking if, and more importantly how (!), we'd adjust the balance factors on the fly from our app? cheers. David |-+ | | Mladen Turk | | | [EMAIL PROTECTED]| | | s.com | | || | | 03/01/2005 12:36 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ ---| | | | To: Tomcat Users List tomcat-user@jakarta.apache.org | | cc: | | Subject: Re: JK1.2.9 and dynamic change of properties | ---| [EMAIL PROTECTED] wrote: Hi Mladen, Just to clarify - will this allow us to configure the load-balancing on the fly according to the load of the tomcat's involved? If you mean to balance according to CPU utilization, it won't do that. For that we would need some native component that would measure the CPU usage on Tomcat side. The closest you can get is to use the 'transfer' load balancer method, and instead balancing on number of requests, balance on actual data read/transferred to Tomcat. You can then adjust balance factors depending on application and backend specmarks. For example if you query a database the result set might return one or many rows, so the actual data transferred will reflect the CPU usage for that request (in a way of course). Regards, Mladen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Load-balancing tomcats according to load?
Hi, I am using Apache to load balance a set of Tomcat servers. However, a round-robin or simple load-factor algorithm is not sufficient, as some of the requests we receive trigger very intensive operations on a tomcat server. I've been discussing this on the dev list, and there doesn't seem to be an easy way to modify things to do this. I wanted to ask, here, therefore, what other people do? Does anyone know of third-party tools that can do this etc.? Many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How does Tomcat scale compared to an app server?
Hi, We are evaluating whether we need to go to an app server (eg JBoss), or whether we can use Tomcat. One of the big requirements we have is scalability. Are there any real world examples out there of how well Tomcat scales, or is an app server a better choice? many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Single Point of Failure Solutions for clustering Tomcat 5?
Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Single Point of Failure Solutions for clustering Tomcat 5?
Hi Matt, I'm pretty new to all this - would you mind expanding a little on your there are many others comment? Thanks! David |-+ | | Dale, Matt | | | [EMAIL PROTECTED]| | | nt.com | | || | | 09/20/2004 01:53 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: RE: Single Point of Failure Solutions for clustering Tomcat 5? | | DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL PROTECTED] Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] (See attached file: InterScan_Disclaimer.txt) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Single Point of Failure Solutions for clustering Tomcat 5?
Hi Filip, Couldn't see much software over on loadbalancer.org!! cheers, David |-+ | | Filip Hanik - | | | Dev | | | [EMAIL PROTECTED]| | | om | | || | | 09/20/2004 02:05 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: Re: Single Point of Failure Solutions for clustering Tomcat 5? | | if you are really into loadbalancers, get www.loadbalancer.org (its open source, not sure what the licensing is) obviously, buying your own hardware can be cheaper. Filip - Original Message - From: Dale, Matt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:53 PM Subject: RE: Single Point of Failure Solutions for clustering Tomcat 5? DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL PROTECTED] Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
servlet-mapping required??? Tomcat 5 upgrade problem...
Hi, I'm using Struts with Tomcat, and am upgrading to Tomcat 5. It appears that it won't recognize any of my servlets, though, which I could previously call though ...[webapp]/servlet/servletname. I managed to call them by adding a servlet-mapping to eliminate the /servlet/ bit, but this is an existing app and I don't want to change everything to that degree. Can't I still use /servlet/ ? What am I missing? cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
servlet-mapping required??? Tomcat 5 upgrade problem...
Sorry for the traffic - I solved it myself. Obviously, you have to uncomment both the invoker servlet, AND the invoker mapping. cheers, David - Forwarded by David Hay/Lex/Lexmark on 08/03/2004 01:56 PM - |-+ | | David Hay| | || | | 08/03/2004 01:51 | | | PM | | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: servlet-mapping required??? Tomcat 5 upgrade problem...(Document link: David Hay) | | Hi, I'm using Struts with Tomcat, and am upgrading to Tomcat 5. It appears that it won't recognize any of my servlets, though, which I could previously call though ...[webapp]/servlet/servletname. I managed to call them by adding a servlet-mapping to eliminate the /servlet/ bit, but this is an existing app and I don't want to change everything to that degree. Can't I still use /servlet/ ? What am I missing? cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Differences in classloading in Tomcat 5?
Hi, I inherited an app that used Tomcat 4, and we are updating it to Tomcat 5. It runs a web app with a custom built server, and the previous owner created a custom web app class loader by changing the tomcat WebAppClassLoader to also load libraries found in /WEB-INF/bin folders. I have made the changes to the Tomcat 5 classes, but it doesn't seem to find the class - gives me an error: java.lang.UnsatisfiedLinkError: no dpsk in java.library.path Has anything changed that's likely to cause this, between Tomcat 4 and 5? Many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSPC/Jasper2 with no package name - bug???
Do people agree this is a bug?? should I submit a bug report? cheers, David |-+ | | [EMAIL PROTECTED] | | || | | 07/29/2004 05:57 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: JSPC/Jasper2 with no package name - bug??? | | Hi, I precompile my JSP's. I have the source files under a directory structure as follows: src jsp user admin I am trying to use the JspC with Ant as described at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html. However, I want the package name to be the sub-directory ie user, admin etc. for the respective files. I tried leaving off package= at first, but this created them all with a package of org.apache.jsp.user/admin etc.. I then tried just putting package=, but now I get an error with the package name becoming .user, .admin, which is obviously invalid. How do I achieve what I need? Is this a bug? Can anyone point me in the right direction where the package statement is generated when the java files are created? Many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSPC/Jasper2 with no package name - bug???
Yes, it will generate the package names if you leave it off (you add package= to the jspc task, like you do uriroot=${src}\jsp). I'm trying to get it to give me the **subdirectories** as the full package name - ie user.myjsp.jsp etc.. cheers, David |-+ | | Dennis Dai | | | [EMAIL PROTECTED]| | | | | || | | 07/30/2004 05:01 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: Re: JSPC/Jasper2 with no package name - bug??? | | I don't know what you want to achieve, but my jspc task generates package names with subdirectories (eg. org.apache.jsp.user and org.apache.jsp.admin, in org/apache/jsp/user and org/apache/jsp/admin respectively) ... Also I don't know where you set that package= thing? On 7/30/2004 1:38 PM, [EMAIL PROTECTED] wrote: Do people agree this is a bug?? should I submit a bug report? cheers, David |-+ | | [EMAIL PROTECTED] | | || | | 07/29/2004 05:57 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: JSPC/Jasper2 with no package name - bug??? | | Hi, I precompile my JSP's. I have the source files under a directory structure as follows: src jsp user admin I am trying to use the JspC with Ant as described at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html. However, I want the package name to be the sub-directory ie user, admin etc. for the respective files. I tried leaving off package= at first, but this created them all with a package of org.apache.jsp.user/admin etc.. I then tried just putting package=, but now I get an error with the package name becoming .user, .admin, which is obviously invalid. How do I achieve what I need? Is this a bug? Can anyone point me in the right direction where the package statement is generated when the java files are created? Many thanks, David -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSPC/Jasper2 with no package name - bug???
Hi, I precompile my JSP's. I have the source files under a directory structure as follows: src jsp user admin I am trying to use the JspC with Ant as described at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html. However, I want the package name to be the sub-directory ie user, admin etc. for the respective files. I tried leaving off package= at first, but this created them all with a package of org.apache.jsp.user/admin etc.. I then tried just putting package=, but now I get an error with the package name becoming .user, .admin, which is obviously invalid. How do I achieve what I need? Is this a bug? Can anyone point me in the right direction where the package statement is generated when the java files are created? Many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to build tomcat 5 on windows? tar.gz's??
Am trying to build tomcat 5 on Windows. I am stuck with commons-daemon, however, as the build.properties suggests several tar.gz files, and I can't find a Windows download of commons-daemon. Any ideas? Or don't I need it on Windows? Cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
REPOST: JASPER always recompiles
Hi, Would **really** appreciate any help on this! Has anyone else experienced the same thing? Cheers, David -- Forwarded by David Hay/Lex/Lexmark on 14/11/2003 11:58 AM --- David Hay 12/11/2003 01:06 PM To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:JASPER always recompiles (Document link: David Hay) Hi, I have an ANT script which builds my webapp. Before changing to the new JASPER, we could run the rebuild target, and it would only precompile the JSPs that had changed. However, since then, it always re-precompiles ALL JSPs no matter what. Does anyone have any ideas why, and how to fix it? cheers, David ANT snippet: target name=jspc jspc srcdir=${src}\jsp\user destdir=${build.home}\java package=user verbose=3 include name=**/*.jsp / classpath pathelement location=${tomcat.home}\common\lib\jasper-runtime.jar/ pathelement location=${tomcat.home}\common\lib\naming-factory.jar/ pathelement location=${tomcat.home}\common\lib\jasper-compiler.jar/ pathelement location=${tomcat.home}\common\endorsed\xercesImpl.jar/ pathelement location=${tomcat.home}\common\endorsed\xmlParserAPIs.jar/ pathelement location=${tomcat.home}\common\lib\servlet.jar/ pathelement location=${tools.home}\ant\ant.jar/ pathelement location=${src}\jsp\WEB-INF\lib\struts.jar/ pathelement location=${build.home}\classes/ /classpath /jspc /target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: How to get the list of active sessions?
but is there any way to do that programmatically eg in a servlet? Cheers, David Markus Heussen [EMAIL PROTECTED] on 13/11/2003 04:23:32 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:AW: How to get the list of active sessions? look at http://localhost:8080/manager/html -Ursprngliche Nachricht- Von: Zsolt Koppany Gesendet: Donnerstag, 13. November 2003 10:12 An: Tomcat Users List Betreff: How to get the list of active sessions? Hi, I would like to know how is currently logged in, thus I need the list the active sessions. How can I cet that? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Other ports Tomcat grabs
1099, sound like webtrends ... ick. :-( $TOMCAT_HOME/conf/server.xml should have all the ports tomcat is binding to. If not, there may be some custom code in a webapp (ex: some XML-RPC admin listener?) trying to open extra ports. Ahhh, okay, it's my connection pool to Firebird. Anyone know how to make them use specific ports? Firebird listens on 3050, but I guess all the connections have to have their own port... Cheers, David Tim Funk [EMAIL PROTECTED] on 11/11/2003 07:55:51 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Other ports Tomcat grabs 1099, sound like webtrends ... ick. $TOMCAT_HOME/conf/server.xml should have all the ports tomcat is binding to. If not, there may be some custom code in a webapp (ex: some XML-RPC admin listener?) trying to open extra ports. -Tim [EMAIL PROTECTED] wrote: Hi, We are running Tomcat as a service on Windows, and specifying the normal ports that we want to connect to. However, through TCPView I see that Tomcat is grabbing a bunch of other ports to use as well. The problem is that we have another application that needs to use port 1099, but sometimes Tomcat grabs it first as one of its other ports. Is there any way to control which other ports Tomcat grabs so that it never grabs 1099? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JASPER always recompiles
Hi, I have an ANT script which builds my webapp. Before changing to the new JASPER, we could run the rebuild target, and it would only precompile the JSPs that had changed. However, since then, it always re-precompiles ALL JSPs no matter what. Does anyone have any ideas why, and how to fix it? cheers, David ANT snippet: target name=jspc jspc srcdir=${src}\jsp\user destdir=${build.home}\java package=user verbose=3 include name=**/*.jsp / classpath pathelement location=${tomcat.home}\common\lib\jasper-runtime.jar/ pathelement location=${tomcat.home}\common\lib\naming-factory.jar/ pathelement location=${tomcat.home}\common\lib\jasper-compiler.jar/ pathelement location=${tomcat.home}\common\endorsed\xercesImpl.jar/ pathelement location=${tomcat.home}\common\endorsed\xmlParserAPIs.jar/ pathelement location=${tomcat.home}\common\lib\servlet.jar/ pathelement location=${tools.home}\ant\ant.jar/ pathelement location=${src}\jsp\WEB-INF\lib\struts.jar/ pathelement location=${build.home}\classes/ /classpath /jspc /target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Other ports Tomcat grabs
Hi, We are running Tomcat as a service on Windows, and specifying the normal ports that we want to connect to. However, through TCPView I see that Tomcat is grabbing a bunch of other ports to use as well. The problem is that we have another application that needs to use port 1099, but sometimes Tomcat grabs it first as one of its other ports. Is there any way to control which other ports Tomcat grabs so that it never grabs 1099? Many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Separate xml context snippet for web app causes it to be loaded twice
Hi, We have a web app that requires a special classloader. We therefore placed a separate xml file in the webapps directory, and placed inside it an xml snippet containing the context for the webapp: Context path=/Kiosk docBase=Kiosk Loader className=com.lexmark.catalina.loader.WebappLoader/ /Context as per instructions specified here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment Unfortunately this seems to cause the webapp (Kiosk) to be deployed twice. Can anyone explain why this is happening, please? (contents of localhost.log and tomcat's server.xml is below). many thanks, David localhost.log: 2003-09-30 13:37:47 HostConfig[localhost]: Deploying configuration descriptor Kiosk.xml 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploying class repositories to work directory C:\Program Files\Lexmark\Document Solutions\Services\tomcat\work\Standalone\localhost\Kiosk 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy class files /WEB-INF/classes to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\classes 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-beanutils.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons-digester.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-digester.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-logging.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/crimson.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\crimson.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/jaxp.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\jaxp.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/jzlib.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\jzlib.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/kiosk.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\kiosk.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/log4j-1.2.5.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\log4j-1.2.5.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/struts.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\struts.jar 2003-09-30 13:37:49 StandardManager[/Kiosk]: Seeding random number generator class java.security.SecureRandom 2003-09-30 13:37:50 StandardManager[/Kiosk]: Seeding of random number generator has been completed 2003-09-30 13:37:50 StandardWrapper[/Kiosk:default]: Loading container servlet default 2003-09-30 13:37:50 StandardWrapper[/Kiosk:invoker]: Loading container servlet invoker 2003-09-30 13:37:54 [2003-09-30 13:37:51,562] [INFO] PropertyMessageResources - () - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [2003-09-30 13:37:51,562] [INFO] PropertyMessageResources - () - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true [2003-09-30 13:37:53,465] [INFO] PropertyMessageResources - () - Initializing, config='prop.Label', returnNull=true 2003-09-30 13:37:56 HostConfig[localhost]: Deploying web application directory Common 2003-09-30 13:37:56 StandardHost[localhost]: Installing web application at context path /Common from URL file:C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Common 2003-09-30 13:37:56 WebappLoader[/Common]: Deploying class repositories to work directory C:\Program Files\Lexmark\Document Solutions\Services\tomcat\work\Standalone\localhost\Common 2003-09-30 13:37:57 ContextConfig[/Common]: Missing application web.xml, using defaults only 2003-09-30 13:37:57 StandardManager[/Common]: Seeding random number generator class java.security.SecureRandom 2003-09-30 13:37:57 StandardManager[/Common]: Seeding of random number generator has been completed 2003-09-30 13:37:57 StandardWrapper[/Common:default]: Loading container servlet default 2003-09-30 13:37:57 StandardWrapper[/Common:invoker]: Loading container servlet invoker 2003-09-30 13:37:57 HostConfig[localhost]: Deploying web application directory kiosk 2003-09-30 13:37:57 StandardHost[localhost]: Installing web application at context path /kiosk from URL file:C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\kiosk 2003-09-30 13:37:57 WebappLoader[/kiosk]: Deploying class repositories to work directory C:\Program Files\Lexmark\Document Solutions\Services\tomcat\work\Standalone\localhost\kiosk
RE: Separate xml context snippet for web app causes it to be loaded twice
Thanks! I guess I just needed another pair of eyes to spot that! Cheers, David Shapira, Yoav [EMAIL PROTECTED] on 30/09/2003 04:30:46 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Separate xml context snippet for web app causes it to be loaded twice Howdy, It's not being deployed twice: two apps are being deployed, Kiosk and kiosk. That subtle difference is your problem. Make sure the context XML file has the same name as the docBase, it's case-sensitive. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 3:49 PM To: Tomcat Users List Subject: Separate xml context snippet for web app causes it to be loaded twice Hi, We have a web app that requires a special classloader. We therefore placed a separate xml file in the webapps directory, and placed inside it an xml snippet containing the context for the webapp: Context path=/Kiosk docBase=Kiosk Loader className=com.lexmark.catalina.loader.WebappLoader/ /Context as per instructions specified here: http://jakarta.apache.org/tomcat/tomcat-4.1- doc/config/host.html#Automatic%20Application%20Deployment Unfortunately this seems to cause the webapp (Kiosk) to be deployed twice. Can anyone explain why this is happening, please? (contents of localhost.log and tomcat's server.xml is below). many thanks, David localhost.log: 2003-09-30 13:37:47 HostConfig[localhost]: Deploying configuration descriptor Kiosk.xml 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploying class repositories to work directory C:\Program Files\Lexmark\Document Solutions\Services\tomcat\work\Standalone\localhost\Kiosk 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy class files /WEB- INF/classes to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\classes 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons- beanutils.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-beanutils.j ar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons- digester.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-digester.ja r 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons- logging.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-logging.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB- INF/lib/crimson.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\crimson.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/jaxp.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\jaxp.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/jzlib.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\jzlib.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/kiosk.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\kiosk.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/log4j- 1.2.5.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\log4j-1.2.5.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB- INF/lib/struts.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\struts.jar 2003-09-30 13:37:49 StandardManager[/Kiosk]: Seeding random number generator class java.security.SecureRandom 2003-09-30 13:37:50 StandardManager[/Kiosk]: Seeding of random number generator has been completed 2003-09-30 13:37:50 StandardWrapper[/Kiosk:default]: Loading container servlet default 2003-09-30 13:37:50 StandardWrapper[/Kiosk:invoker]: Loading container servlet invoker 2003-09-30 13:37:54 [2003-09-30 13:37:51,562] [INFO] PropertyMessageResources - () - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [2003-09-30 13:37:51,562] [INFO] PropertyMessageResources - () - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true [2003-09-30 13:37:53,465] [INFO] PropertyMessageResources - () - Initializing, config='prop.Label', returnNull=true 2003-09-30 13:37:56 HostConfig[localhost]: Deploying web application directory Common 2003-09-30 13:37:56 StandardHost[localhost]: Installing web application at context path /Common from URL file:C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Common 2003-09-30 13:37:56 WebappLoader[/Common]: Deploying class repositories to work directory C:\Program Files\Lexmark\Document Solutions\Services\tomcat\work\Standalone\localhost\Common 2003-09-30 13:37:57 ContextConfig[/Common]: Missing application web.xml, using defaults only 2003-09-30 13:37:57
RE: Separate xml context snippet for web app causes it to be loaded twice
Hmmm...guess it needed 3 pairs of eyes!!! Problem is, on XP atleast, is seems that webapp gets installed as kiosk not Kiosk :-( Cheers, David Shapira, Yoav [EMAIL PROTECTED] on 30/09/2003 04:30:46 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Separate xml context snippet for web app causes it to be loaded twice Howdy, It's not being deployed twice: two apps are being deployed, Kiosk and kiosk. That subtle difference is your problem. Make sure the context XML file has the same name as the docBase, it's case-sensitive. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 3:49 PM To: Tomcat Users List Subject: Separate xml context snippet for web app causes it to be loaded twice Hi, We have a web app that requires a special classloader. We therefore placed a separate xml file in the webapps directory, and placed inside it an xml snippet containing the context for the webapp: Context path=/Kiosk docBase=Kiosk Loader className=com.lexmark.catalina.loader.WebappLoader/ /Context as per instructions specified here: http://jakarta.apache.org/tomcat/tomcat-4.1- doc/config/host.html#Automatic%20Application%20Deployment Unfortunately this seems to cause the webapp (Kiosk) to be deployed twice. Can anyone explain why this is happening, please? (contents of localhost.log and tomcat's server.xml is below). many thanks, David localhost.log: 2003-09-30 13:37:47 HostConfig[localhost]: Deploying configuration descriptor Kiosk.xml 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploying class repositories to work directory C:\Program Files\Lexmark\Document Solutions\Services\tomcat\work\Standalone\localhost\Kiosk 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy class files /WEB- INF/classes to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\classes 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons- beanutils.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-beanutils.j ar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons- digester.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-digester.ja r 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/commons- logging.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\commons-logging.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB- INF/lib/crimson.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\crimson.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/jaxp.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\jaxp.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/jzlib.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\jzlib.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/kiosk.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\kiosk.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB-INF/lib/log4j- 1.2.5.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\log4j-1.2.5.jar 2003-09-30 13:37:48 WebappLoader[/Kiosk]: Deploy JAR /WEB- INF/lib/struts.jar to C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Kiosk\WEB-INF\lib\struts.jar 2003-09-30 13:37:49 StandardManager[/Kiosk]: Seeding random number generator class java.security.SecureRandom 2003-09-30 13:37:50 StandardManager[/Kiosk]: Seeding of random number generator has been completed 2003-09-30 13:37:50 StandardWrapper[/Kiosk:default]: Loading container servlet default 2003-09-30 13:37:50 StandardWrapper[/Kiosk:invoker]: Loading container servlet invoker 2003-09-30 13:37:54 [2003-09-30 13:37:51,562] [INFO] PropertyMessageResources - () - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [2003-09-30 13:37:51,562] [INFO] PropertyMessageResources - () - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true [2003-09-30 13:37:53,465] [INFO] PropertyMessageResources - () - Initializing, config='prop.Label', returnNull=true 2003-09-30 13:37:56 HostConfig[localhost]: Deploying web application directory Common 2003-09-30 13:37:56 StandardHost[localhost]: Installing web application at context path /Common from URL file:C:\Program Files\Lexmark\Document Solutions\Services\tomcat\webapps\Common 2003-09-30 13:37:56 WebappLoader[/Common]: Deploying class repositories to work directory C:\Program Files\Lexmark\Document Solutions\Services\tomcat\work\Standalone\localhost\Common 2003-09-30 13:37:57 ContextConfig[/Common]: Missing application
RE: XP random tomcat crashes
We normally use the server jvm, but have also seen the crashes with the client. Any ideas? Cheers, David Lenny Karpel [EMAIL PROTECTED] on 05/08/2003 06:42:45 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:'Tomcat Users List' [EMAIL PROTECTED] cc: Subject:RE: XP random tomcat crashes Are you using the client or server jvm ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 2:41 PM To: [EMAIL PROTECTED] Subject: XP random tomcat crashes Hi, We're using tomcat 4.1.12 with Java 1.4.1.02, and are encountering strange crashes on XP especially. The crashes happen in apparently random places in our app, and cause the VM to crash with various messages, none of which are very helpful! I noticed that Cameron Hart had a similar problem (http://www.mail-archive.com/[EMAIL PROTECTED]/msg88603.html) - please could anyone point me in the right direction to try and get to the bottom of this. Is it easy to run tomcat in a debugger so we can catch what happens? Many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XP random tomcat crashes
Hi, We're using tomcat 4.1.12 with Java 1.4.1.02, and are encountering strange crashes on XP especially. The crashes happen in apparently random places in our app, and cause the VM to crash with various messages, none of which are very helpful! I noticed that Cameron Hart had a similar problem (http://www.mail-archive.com/[EMAIL PROTECTED]/msg88603.html) - please could anyone point me in the right direction to try and get to the bottom of this. Is it easy to run tomcat in a debugger so we can catch what happens? Many thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat memory usage
Hmmm - looks like Brandon asked a similar question while I was writing this one! Have read replies, but would appreciate anyone offering any explanation for what we're seeing. Noticed that several of the replies uses multiple tomcats. Is this recommended? We're just using a single server. thanks, David [EMAIL PROTECTED] on 10/24/2002 03:47:45 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:Tomcat memory usage Hi. Would anyone be able to explain some details about Tomcat memory usage when it is being installed and run as a service (NT, 2000, XP). When we repeatedly upload forms, we are seeing the memory usage and Virtual Memory size in the Task Manager grow and grow and grow. Sometimes when we run another memory-hungry application, the Memory Usage for tomcat drops way down (presumably as this is the actual working set size, and it is getting swapped out), but sometimes (with dual processor machine, though not sure that makes any difference) it refuses to give up memory, or does so extremely slowly (having raised tomcat to 200 MB). We are pretty sure that there are no leaks in our java code, and only small leaks in the native libraries we are using. Does anyone have any insight / explanation / advice? Many thanks, David -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat memory usage
Hi. Would anyone be able to explain some details about Tomcat memory usage when it is being installed and run as a service (NT, 2000, XP). When we repeatedly upload forms, we are seeing the memory usage and Virtual Memory size in the Task Manager grow and grow and grow. Sometimes when we run another memory-hungry application, the Memory Usage for tomcat drops way down (presumably as this is the actual working set size, and it is getting swapped out), but sometimes (with dual processor machine, though not sure that makes any difference) it refuses to give up memory, or does so extremely slowly (having raised tomcat to 200 MB). We are pretty sure that there are no leaks in our java code, and only small leaks in the native libraries we are using. Does anyone have any insight / explanation / advice? Many thanks, David -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: Can't get precompiled JSP to be welcome page?
Hey Alex - looks like we're on the same lists! This is a known bug - I submitted it about a month ago! See Bug 3309 They said it will be fixed in 3.3.1 (maybe)! I got around it by having my index.htm as welcome page, and redirecting to the jsp I wanted. Ugly, but it works. Cheers, Dave Alex Colic [EMAIL PROTECTED] on 10/24/2001 01:39:51 PM Please respond to [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Can't get precompiled JSP to be welcome page? Hi, I have a JSP file, pwLogin.jsp that I precompiled. I then added the following to my web.xml file: servlet servlet-namepwLogin/servlet-name servlet-classpwLogin/servlet-class /servlet ... servlet-mapping servlet-namepwLogin/servlet-name url-pattern/pwLogin.jsp/url-pattern /servlet-mapping ... !-- The Welcome File List -- welcome-file-list welcome-file/pwLogin.jsp/welcome-file welcome-filepwLogin.jsp/welcome-file /welcome-file-list When I access my web app without specifiying a JSP I get a page of web apps root directory. If I specify webapp/pwLogin.jsp I get the page. Any help, ideas is appreciated. Alex
Re: Precompiled jsp's
You have to define them in your web.xml, for each jsp like this: servlet servlet-nameindex/servlet-name servlet-classJspServ.index/servlet-class /servlet servlet-mapping servlet-nameindex/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping where JspServ is directory you have placed them in. Hope that helps, Dave Thys De Wet (ZA) [EMAIL PROTECTED] on 10/24/2001 05:12:37 AM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Precompiled jsp's Ok so I got my JSP's compiled into class files.. Placed them in /WEB-INF/classes.. Now how do I tell Tomcat 3.2.3 to use these class files ... ANy help PLEASE .. *begs on knees* ** 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. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **
Multiple web.xml files?
Hi. Does anyone know if it is possible to have modularized web.xml files for an app? ie tomcat will read all of them and merge them together? If not, is it possible to add servlet mappings dynamically? Cheers, Dave [EMAIL PROTECTED] on 10/23/2001 02:58:08 PM To: David_Hay/Lex/Lexmark.LEXMARK@sweeper.lex.lexmark.com cc:(bcc: David Hay/Lex/Lexmark) Subject: WELCOME to [EMAIL PROTECTED] Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] Acknowledgment: I have added the address [EMAIL PROTECTED] to the tomcat-user mailing list. Welcome to [EMAIL PROTECTED]! Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. --- Administrative commands for the tomcat-user list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: [EMAIL PROTECTED] Received: (qmail 57025 invoked from network); 23 Oct 2001 18:58:08 - Received: from interlock2.lexmark.com (192.146.101.10) by daedalus.apache.org with SMTP; 23 Oct 2001 18:58:08 - Received: by interlock2.lexmark.com id OAA02212 (InterLock SMTP Gateway 4.2 for [EMAIL PROTECTED]); Tue, 23 Oct 2001 14:58:11 -0400 Message-Id: [EMAIL PROTECTED] Received: by interlock2.lexmark.com (Protected-side Proxy Mail Agent-1); Tue, 23 Oct 2001 14:58:11 -0400 X-Lotus-Fromdomain: LEXMARK@LEXMTA From: [EMAIL PROTECTED] To: tomcat-user-sc.1003858804.lidhbmfbiikhhfnenipm-dhay=lexmark.com%jakarta.apache.org@lexmark.com Date: Tue, 23 Oct 2001 14:57:42 -0400 Subject: Re: confirm subscribe to [EMAIL PROTECTED] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
RE: welcome file in web.xml with pre-compiled jsp's?
Hi Saritha, Yep, I understand how to set up my web.xml - if you look at the bottom of the mail I sent, you'll see it there... Works fine if I call index.jsp directly, BUT if I place it as my welcome page using welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list it doesn't work! Any suggestions? Dave Saritha Pula [EMAIL PROTECTED] on 08/21/2001 04:40:41 PM To: [EMAIL PROTECTED] cc: David_Hay/Lex/Lexmark.LEXMARK@sweeper.lex.lexmark.com (bcc: David Hay/Lex/Lexmark) Subject: RE: welcome file in web.xml with pre-compiled jsp's? Hi dhay You have to give pre-compiled JSP (i.e servlet )in web.xml servlet servlet-nameindexCheck/servlet-name servlet-classindex/servlet-class /servlet servlet-mapping servlet-nameindexCheck/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping When you refer to /index.jsp it calls pre-compiled JSP(i.e servlet)using mapping in web.xml --Saritha -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 12:00 PM To: [EMAIL PROTECTED] Subject: welcome file in web.xml with pre-compiled jsp's? Hi everyone, I am pre-compiling my jsp's in my struts web app, and everything works fine, except specifying the welcome file in the web.xml. If I do not pre-compile everything, having index.jsp as the first page works great. However, when I pre-compile index.jsp it doesn't work. Putting an uncompiled index.jsp back in the root directory makes it work again. I guess it is because jsp is not in root directory, but figure I should still be able to do this... Does anyone know if there is something special I have to do, or if there is anywhere else I can specify the first page as a servlet? btw, please copy me into any reply! Thanks, Dave Web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; !-- web.xml for use with PRE-COMPILED JSP's -- web-app !-- The Welcome File List -- welcome-file-list !-- call index.jsp as first page -- welcome-fileindex.jsp/welcome-file /welcome-file-list !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name !-- central Action Servlet Controller to use -- servlet-classbeans.AppController/servlet-class !-- Java class name of the application resources bundle base class -- init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param !-- Context-relative path to the XML resource containing our configuration information -- init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param !-- The debugging detail level for this servlet, which controls how much information is logged. [0] -- init-param param-namedebug/param-name param-value2/param-value /init-param !-- The debugging detail level for the Digester we utilize in initMapping(), which logs to System.out instead of the servlet log. [0] -- init-param param-namedetail/param-name param-value2/param-value /init-param load-on-startup2/load-on-startup /servlet !-- Catch any exceptions, and redirect to error page -- error-page exception-typejava.lang.Exception/exception-type location/error.jsp/location /error-page servlet servlet-name changeLogFileName /servlet-name servlet-class JspServ.changeLogFileName /servlet-class /servlet servlet servlet-name chooseDevice /servlet-name servlet-class JspServ.chooseDevice /servlet-class /servlet servlet servlet-name dataDir /servlet-name servlet-class JspServ.dataDir /servlet-class /servlet servlet servlet-name dataDirFrame /servlet-name servlet-class JspServ.dataDirFrame /servlet-class /servlet servlet servlet-name error /servlet-name servlet-class JspServ.error /servlet-class /servlet servlet servlet-name index /servlet-name servlet-class JspServ.index /servlet-class /servlet servlet servlet-name indexBar /servlet-name servlet-class JspServ.indexBar /servlet-class /servlet servlet servlet-name log /servlet-name servlet-class JspServ.log /servlet-class /servlet servlet servlet-name logFilter /servlet-name servlet-class JspServ.logFilter /servlet-class /servlet servlet servlet-name logFrame /servlet-name servlet-class JspServ.logFrame /servlet-class /servlet servlet servlet-name logging /servlet-name servlet-class JspServ.logging
welcome file in web.xml with pre-compiled jsp's?
Hi everyone, I am pre-compiling my jsp's in my struts web app, and everything works fine, except specifying the welcome file in the web.xml. If I do not pre-compile everything, having index.jsp as the first page works great. However, when I pre-compile index.jsp it doesn't work. Putting an uncompiled index.jsp back in the root directory makes it work again. I guess it is because jsp is not in root directory, but figure I should still be able to do this... Does anyone know if there is something special I have to do, or if there is anywhere else I can specify the first page as a servlet? btw, please copy me into any reply! Thanks, Dave Web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; !-- web.xml for use with PRE-COMPILED JSP's -- web-app !-- The Welcome File List -- welcome-file-list !-- call index.jsp as first page -- welcome-fileindex.jsp/welcome-file /welcome-file-list !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name !-- central Action Servlet Controller to use -- servlet-classbeans.AppController/servlet-class !-- Java class name of the application resources bundle base class -- init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param !-- Context-relative path to the XML resource containing our configuration information -- init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param !-- The debugging detail level for this servlet, which controls how much information is logged. [0] -- init-param param-namedebug/param-name param-value2/param-value /init-param !-- The debugging detail level for the Digester we utilize in initMapping(), which logs to System.out instead of the servlet log. [0] -- init-param param-namedetail/param-name param-value2/param-value /init-param load-on-startup2/load-on-startup /servlet !-- Catch any exceptions, and redirect to error page -- error-page exception-typejava.lang.Exception/exception-type location/error.jsp/location /error-page servlet servlet-name changeLogFileName /servlet-name servlet-class JspServ.changeLogFileName /servlet-class /servlet servlet servlet-name chooseDevice /servlet-name servlet-class JspServ.chooseDevice /servlet-class /servlet servlet servlet-name dataDir /servlet-name servlet-class JspServ.dataDir /servlet-class /servlet servlet servlet-name dataDirFrame /servlet-name servlet-class JspServ.dataDirFrame /servlet-class /servlet servlet servlet-name error /servlet-name servlet-class JspServ.error /servlet-class /servlet servlet servlet-name index /servlet-name servlet-class JspServ.index /servlet-class /servlet servlet servlet-name indexBar /servlet-name servlet-class JspServ.indexBar /servlet-class /servlet servlet servlet-name log /servlet-name servlet-class JspServ.log /servlet-class /servlet servlet servlet-name logFilter /servlet-name servlet-class JspServ.logFilter /servlet-class /servlet servlet servlet-name logFrame /servlet-name servlet-class JspServ.logFrame /servlet-class /servlet servlet servlet-name logging /servlet-name servlet-class JspServ.logging /servlet-class /servlet servlet servlet-name loggingFrame /servlet-name servlet-class JspServ.loggingFrame /servlet-class /servlet servlet servlet-name loggingSaveCancel /servlet-name servlet-class JspServ.loggingSaveCancel /servlet-class /servlet servlet servlet-name login /servlet-name servlet-class JspServ.login /servlet-class /servlet servlet servlet-name messages /servlet-name servlet-class JspServ.messages /servlet-class /servlet servlet servlet-name parameters /servlet-name servlet-class JspServ.parameters /servlet-class /servlet servlet servlet-name parametersFrame /servlet-name servlet-class JspServ.parametersFrame /servlet-class /servlet servlet servlet-name parametersSaveCancel /servlet-name servlet-class JspServ.parametersSaveCancel /servlet-class /servlet servlet servlet-name serialNosFrame /servlet-name servlet-class JspServ.serialNosFrame
JspC errors, but no messages!
Hi everyone. I am using JSPC to pre-compile my jsp files. However, I am having a random error - sometimes it compiles them all correctly, other times it compiles only those which do NOT use a custom tag. I am not able to get ANY messages, though, even when I try setting -v4. Any ideas? Does it spew messages to a log file? if so, which one? Would REALLY appreciate some help - completely stuck! Many thanks, Dave
Re: Forms work with JServ+Apache, do not work with Tomcat+Apache: Images in forms show up randomly! Please help!
Hi. Do they show up when you go back a page to them? That was subject of my post a few days ago...no answer yet though. Dave "Natasa Lazetic" [EMAIL PROTECTED] on 04/11/2001 10:07:13 PM Please respond to [EMAIL PROTECTED] To: "Tomcat-User@Jakarta. Apache. Org (E-mail)" [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Forms work with JServ+Apache, do not work with Tomcat+Apache: Images in forms show up randomly! Please help! Hello! I have been having problems with the display of images (and application of CSS's) in forms ever since I have starting using Tomcat + Apache configuration. The images/resources displayed perfectly with JServ + Apache combination. I am using Java servlets. I create HTML forms using XSL stylesheets and XML and Xalan/Xerces combination. Originally when I switched from JServ to Tomcat, the images would not show up at all. Then I added some .flush() and .close() methods to the OutputSreams/PrintWriters and that helped some - the images started showing up. However, they don't show up consistently. If I refresh the form, containing say two images and a CSS, that formats the title's font, one image may be missing, or both images, or CSS may not get applied. You never know. On rare occasions, they all show up. This problem happens only on IE 5.5 and Netscape 4.7, but does not happen on Netscape 6.0. Any ideas? Exact product versions: Apache 1.3.12 (or 1.3.14, does not work on either) Tomcat 3.2.1 Xalan-J 1.2.2 Xerces-J 1.2.2 More notes: * Could it be a cashing problem? The caching in HTTP response is now set to "no-cache" * The method that goes to get an image uses ContentType of "application/octet-stream". Could this cause some trouble? (I've tested it with "image/gif" content type for a form that used a GIF, and that did not help) Thank you for your time. Cheers, ... Natasa ...
Strange problem with images with Tomcat 4 b1
Hi everyone. I have just moved to Tomcat 4, beta1, from 3.2.1 to obtain reloading of my class files. I am running into strange activity with my images, however. When I first view a page, I do not see any. BUT, if I click on a link and then hit the back button, the images are there! Have I missed something setting up 4? Images are in my Webapps\myapp\images directory, and I access them in my jsp pages using \images\myimage.gif Many thanks, Dave