Re: Tomcat and JSF. Internet Explorer prompts for download
El mié, 08-11-2006 a las 10:11 +0100, Josué Alcalde González escribió: Thanks for your answers. I will talk about my experiences with the solutions. I try to define a mime-type in web.xml, but it didn't work. Studying the source code in Internet Explorer (the file he tries to download), I realize that html tag was in the 5 or 6 line. And yes, it works if html is the first thing in the document. I thougth the problem was not the lines, but that they were UNIX Line delimeters, because I am working on linux. I think IE tries to find html even if it is not in the firs line, but it does not work with UNIX line delimeters. So, that is the best solution: covert line delimeters to windows line delimiters. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Load balancing mark down question
The release number 1.2.19 specifies a full release, not just a set of patches. So get a copy of mod_jk 1.2.19 (either binary or source and compile by yourself) and you will end up with a new mod_jk module file, you can replace in your web server. Regards, Rainer Sharma, Siddharth schrieb: Hey Rainer I currently have 1.2.15. Do I need to install all the interim releases or 1.2.19 is all encompassing? Thanks Sidd Ref: http://www.nabble.com/Load-balancing-mark-down-question-t2590766.html -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 11:52 AM To: Tomcat Users List Subject: Re: Load balancing mark down question Sharma, from the 1.2.19 code the request should also work by completely omitting the id parameter and only using the worker name :) Regards, Rainer - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Application Path
Using the BASE tag means that you only need to change that one single value - all the other URLs in your pages would stay fixed, because they are relative to the BASE tag. So, for example, you could have a common tag library that sets the BASE tag value dynamically for all your pages - IOW, one tag library services all your pages. As for altering the code between development and deployment, the solutions to that are trivial: if you are rebuilding between development and deployment, then use a different build property to set a runtime property that your tag library references. If you're using the same build, then have a runtime variable that you can set, which you tag library references. I've used this method, and I recommend it. It's simple, and portable. Harry Mantheakis Thanks for all your information. I was thinking of a application configuration solution so that I don't need to alter the code between development and deployment. I have several applications in various development phases in my box. I try to figure to handle them together. Vernon __ http://www.vicina.info Original Message Follows From: Harry [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: Application Path Date: Tue, 07 Nov 2006 09:31:27 + MIME-Version: 1.0 Received: from mail.apache.org ([140.211.11.2]) by bay0-mc9-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 7 Nov 2006 01:31:58 -0800 Received: (qmail 18223 invoked by uid 500); 7 Nov 2006 09:32:06 - Received: (qmail 18212 invoked by uid 99); 7 Nov 2006 09:32:06 - Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 01:32:06 -0800 Received: neutral (herse.apache.org: local policy) Received: from [80.168.70.142] (HELO relay2.mail.uk.clara.net) (80.168.70.142)by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 01:31:51 -0800 Received: from mantheakis.claranet.co.uk ([80.168.130.24] helo=[10.0.0.3])by relay2.mail.uk.clara.net with esmtp (Exim 4.50)id 1GhNIn-0007na-7mfor users@tomcat.apache.org; Tue, 07 Nov 2006 09:31:29 + X-Message-Info: txF49lGdW42h0cbO+nEGCm+Gy+i+Lt7qOV5pel0LBy8= Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Help: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Post: mailto:users@tomcat.apache.org List-Id: users.tomcat.apache.org Delivered-To: mailing list users@tomcat.apache.org X-ASF-Spam-Status: No, hits=0.5 required=10.0tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org User-Agent: Microsoft-Entourage/10.1.6.040913.0 X-Virus-Checked: Checked by ClamAV on apache.org Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 07 Nov 2006 09:31:58.0422 (UTC) FILETIME=[92575F60:01C7024F] Alternatively, you can set a BASE reference within the HEAD element of each page, and then use relative-paths in all your URLs: head ... base href=http://www.webadorable.com/your-app-context-name-here// ... /head ... img src=relpath/to/image.jpg/ The BASE value can (should!) be set dynamically, of course - with a tag library, or whatever. Notice that the BASE reference has a trailing slash, whilst your relative paths must start without a leading slash. Harry Mantheakis Is there any reason you can't just have the paths composed dynamically?: img src=${pageContext.request.contextPath}/webapp/relpath/to/image.jpg / For the ROOT webapp, the expression will return an empty path, so it's always correct. --David Vernon _ wrote: I have another new application deployed in a non-root directory. I need to have absolute paths for CSS and Javascript in order to import them properly with differenct level structure of JSP files. I can deploy it as the root application or add the application name in the absolute path. Neither solutions are very good. Any good practise to solve this issue? Thanks, Vernon _ Find a local pizza place, music store, museum and morethen map the best route! http://local.live.com?FORM=MGA001 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
hi! I manually added servlet-api.jar to CLASSPATH at first and Tomcat started without errors. You've got something else going on. Tomcat completely ignores any existing CLASSPATH setting and establishes its own; the system classloader is used only for bin/bootstrap.jar. Sorry, forgot to mention that just for test i had added servlet-api.jar in setclasspath.sh after CLASSPATH reset line. They are different because 5.0 used the javac classes from tools.jar whereas 5.5 includes its own Java compiler. That's why 5.0 required a JDK and 5.5 needs only a JRE. You might want to run with -verbose:class just to see where classes are really being loaded from. Thanks. Just did it. Without tools.jar in classpath the exception still occures (See at the bottom). With tools.jar in classpath it goes well: [Loaded javax.servlet.ServletContextListener from file:/opt/apache-tomcat-5.5.20/common/lib/servlet-api.jar] [Loaded enCode.util.spring.WebApplicationContextSupport from file:/home/vasya/prj/trunk/WEB-INF/classes/enCode/util/spring/We bApplicationContextSupport.class] I thought it might have been problem related to SpringFramework somhow and tested it without spring context. But it didn't help either [Loaded org.apache.log4j.spi.NullWriter from file:/home/vasya/prj/trunk/WEB-INF/lib/jakarta-log4j.jar] - Error configuring application listener of class enCode.util.spring.WebApplicationContextSupport java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1270) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) - Skipped installing application listeners due to previous error(s) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problems with unpacking ROOT.war
Hi Chris, thanks for your suggestion of adding a docBase to context.xml - that works, and so I can simplify some of our scripts as a result :-). Just to confirm: Adding, e.g. docBase=/tmp/ROOT.war to ROOT.xml works for me - the war is expanded into the webapps directory (nice!). However, docBase= ...[path to catalina home] /webapps/ROOT.war doesn't, nor does a relative path such as: docBase=ROOT.war, nor does missing out this attribute. If the war and context.xml file are renamed, e.g. to myApp.war and myApp.xml - then the war will expand if it is placed inside the webapps directory. My confusion, then, has been that tomcat behaves one way for regular apps (these expand fine when dropped into the webapps directory), but differently for the ROOT app (this won't expanded when placed inside webapps) - which took me by surprise, and made me wonder if there is a bug. Andy Chris Halstead [EMAIL PROTECTED] .com To Tomcat Users List 08/11/2006 23:51 users@tomcat.apache.org, [EMAIL PROTECTED] cc Subject Re: problems with unpacking ROOT.war Hi Andy, Perhaps I'm missing a key point about what you're trying to achieve, but if you simply put your ROOT.war file *outside* of ${CATALINA_HOME}/webapps and update your ROOT.xml file with an appropriate docBase element you'll find that it unpacks just fine. To wit, this works on TC-5.5.20: --- ${CATALINA_HOME}/conf/Catalina/localhost/ROOT.xml --- ?xml version=1.0 encoding=UTF-8? Context debug=1 docBase=/tmp/ROOT.war /Context In fact, the war can be named anything you want. It's the context descriptor name 'ROOT' that tells Tomcat to use this app as the default. Cheers, -chris [EMAIL PROTECTED] SourceLabs,Inc - Dependable Open Source Systems [EMAIL PROTECTED] wrote: Hi Nathan, I thought there must be other users out there experiencing the same problem!No - I haven't been able to resolve my problem (ROOT.war doesn't unpack when ROOT.xml is in conf/Catalina/localhost), and have to work around it instead. I think the path attribute should be set to for a root application - though I think tomcat is robust in case you do use /. When I was experimenting, I was able to get the war file to expand if (1) there wasn't a ROOT.xml in conf/Catalina/localhost and (2) ROOT.war has META-INF/context.xml : http://marc.theaimsgroup.com/?l=tomcat-userm=116107471021645w=2 and I think it will also expand if ROOT.war doesn't have a META-INF directory. But for our application, we need to use different context files in different environments, and so can't ship a war file containing one context file. So I've written ant tasks to manually unpack the war when deploying the app locally, and when the war is released, we have to manually unpack the war. ... a drag - which is why I've been chasing this problem on this list (and I guess I should raise a bug in bugzilla?) cheers, Andy - This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the
Re: configoration
Hi, (God was kinda busy right now, so I took the opportunity to answer you). The only environment variable you need to set up for running tomcat is the JAVA_HOME, which must point a to a java jsk installation (NOT a jre!). Then you just go to your tomcat directory, type bin/startup.sh and you should have tomcat listening on port 8080. Ps, if you want further help in this list, could you try to use correct word spelling, avoid SMS style writing and use uppercases where due? We don't need 100% correct English text but your email was very difficult to read. Don't forget there are a lot of non English people on this list. chukwudi henry a écrit : hi my name is henry,am relatively new with jsp. i just downloaded Apache-tomcat 6.0 after installing java5.0.i also set the environment variables for java.also i ve installed Apache tomcat too but ve not set the environment variables because i don't no the variable value.i used the default locations for the installation. ps can u put me through the process of configuring the Apache-tomcat and sething the variables. i will be glad if u c= an start from scratch to put me through as if i don't no anything about it. thanks in anticipation for Ur immediate response henry .So help me God. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Change welcome page
Just put an index.jsp in webapp/ROOT/ that does a redirect to correct url Fabian Brauers a écrit : Hi, is there an easy way to configure Tomcat (5.0.27) in order to change the default welcome page (http://localhost:8080)? I'm using Business Objects with Tomcat and I always have to use a long URL like 'http://localhost:8080/businessobjects/enterprise115/desktoplaunch' to see the application that I want to see. I'm trying for two days now and wasn't able to configure it... Any hints?? thanks a lot!! Fabian - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
loading dlls
Hi, I have a servlet which needs to load a dll. using Tomcat 5.5., what is the right way to do that (do I need to set java.library.path? if so - where? where should my loading classes reside?)? Thanks, Zohar. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Preventing memory leaks with awt event thread, is it possible?
Hello, playing with a webapplication that requires awt to do some graphical operation, i noticed this. 1) Servlet invoked by http-thread 69 request an awt operation 2) AWT initializes and starts it's awt event queue thread. 3) As part of the thread initialisation process, the contextClassLoader of the AWT event queue thread is set as the one of the calling thread, that is the one of http-thread 69, which has been set by tomcat to webappClassLoaderXXX 4) undeploy webapp. At this moment, because the awt event queue won't stop until jvm stops, the webappClassLoaderXXX stays referenced until the terminaison of the java process, which mean every class and static fields are not garbage collected. If the webapp had a memory footprint of 35M, there are 35M stuck in java memory. Is there a way to avoid this? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application, but then you have to find some way to force tomcat into initializing awt (and not the first webapp that requires awt). - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5 Embedded + reloading and unpacking WAR files.
I'm using TC 5.5 Embedded and have been trying to understand if / how it is possible to deploy a WAR file - by dropping the file in to the container as you do with standalone, producing the same auto-extract - auto reload behaviour. I cannot find help in the documentation for this. Using the standalone server.xml configuration as a reference: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false should equate to: host = embedded.createHost(localhost,getContainerPath()+/webapps); host.setAutoDeploy(true); host.setXmlValidation(true); // However, this method or similar does not exist .. host.setUnpackWARS(true); Am I missing the point here .. do I have to provide my own auto-unpack / reload mechanism? In Tomcat 4 and previous we had: Deployer deploy = (Deployer) host; deploy.install(contextPath,warFile); but that is no longer provided in TC5.5 ... so what is the preferred approach?? Where does the auto-deploy / auto extract come from in Standalone versions? .. Mark === Our e-mail domain has now changed from iraspire.com to hmrcaspire.com. Please update your address books. === - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Service Options Ignored
Hello, I'm running tomcat 5.5 on windows xp. I'm trying to configure tomcat to direct external url connections via our proxy. When I specify the settings in the JAVA_OPTS environment variable, and run tomcat from the command line, the connection can be made properly. However when I use tomcat5w.exe to configure the service options on the Java tab, and then run tomcat as a service, it doesn't use the proxy settings I specify. my Java Options: entry is as follows: -Dcatalina.base=C:\apache-tomcat-intranet -Dcatalina.home=C:\apache-tomcat-intranet -Djava.endorsed.dirs=C:\apache-tomcat-intranet\common\endorsed -Djava.io.tmpdir=C:\apache-tomcat-intranet\temp -Ddeployment.proxy.http.host=proxy -Ddeployment.proxy.http.port=8080 -Ddeployment.proxy.bypass.local=true -Ddeployment.proxy.same=true Thanks for any suggestions. Cheers, Toby FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. /FONT - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Change welcome page
From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Re: Change welcome page Just put an index.jsp in webapp/ROOT/ that does a redirect to correct url That's not quite sufficient, since the default ROOT app has a precompiled index.jsp, and that one along with its servlet mapping must be removed before a replacement is effective. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Preventing memory leaks with awt event thread, is it possible?
From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Preventing memory leaks with awt event thread, is it possible? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application, but then you have to find some way to force tomcat into initializing awt (and not the first webapp that requires awt). Perhaps you could declare a Listener class under Server that initializes AWT. This should run independently of any webapp. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Preventing memory leaks with awt event thread, is it possible?
David Delbecq wrote: Is there a way to avoid this? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application, but then you have to find some way to force tomcat into initializing awt (and not the first webapp that requires awt). Maybe headless=true property (or sth similiar, there is one) would help? -- Mikolaj Rydzewski [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
Path mapping...
Hi! I have a web-app residing in /, the docBase is relative to appBase. I have an issue where I want to serve static files located outside the web-app. For example: /mydir/index.jsp comes from the relative docBase as usual. /images/myimage.gif comes from /var/static/images/myimage.gif, an absolut directory in the servers filesystem. Is this possible without creating a separate web-app with another docBase? Could you map /images to that file system path /var/static/images/? I've been looking through the documentation (5.0) for this, but cannot find it anywhere... Regards Peter ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.
I'm working on 2 different projects and I'm having problems while trying to switch between 2 projects that are both set up at the ROOT context. My Environment: Tomcat 5.5, Windows XP On the development environment there are 2 ROOT.xml context files under: \apache-tomcat-5.5.12\conf\Catalina\localhost\ Only one project is active at any given time. This is done by switching-off the other ROOT.xml file. The other ROOT.xml is named something like ROOT.xml_temp_off On the *development environment* the docBase attribute of Context in both ROOT.xml refer to the *source* folder, where all the source files are present and not Tomcat's webapps folder. This is to avoid performing an ANT build from source to webapps each time a JSP or static file changes. The problem is that when I switch the ROOT.xml file from one Project01 to Project02 there is a conflict between the two projects. For example when Project02 is loaded, it tries to load a class file that is actually in Project01. Setting Context crossContext=false in ROOT.xml doesn't solve this problem. I have to set antiResourceLocking=true and antiJARLocking=true in order to make Tomcat release all files for Project01 when I'm trying to load Project02. But, the problem here is that when I set antiResourceLocking=true and antiJARLocking=true Tomcat *deletes* my entire Project02 source folder. In order to prevent the folder from being deleted I go through a manual process each time I need to work on the other project. I rename Project02's source folder to source_bak, (to protect it from being deleted by Tomcat) I start Tomcat with antiResourceLocking=true and antiJARLocking=true and make it release resources for Project01. And then I shutdown Tomcat and rename source_bak back to source, and then re-start Tomcat. The contents of the first ROOT.xml are: Context docBase=C:\dev\projects\Site01\__source privileged=false antiResourceLocking=false antiJARLocking=false crossContext=false reloadable=true cachingAllowed=false Manager className=org.apache.catalina.session.PersistentManager saveOnRestart=false/ !-- The above is to prevent this error: SEVERE: IOException while loading persisted sessions: java.io.EOFException -- /Context The contents of the second ROOT.xml are: Context docBase=C:\dev\projects\Site02\__source privileged=false antiResourceLocking=false antiJARLocking=false crossContext=false reloadable=true cachingAllowed=false Manager className=org.apache.catalina.session.PersistentManager saveOnRestart=false/ !-- The above is to prevent this error: SEVERE: IOException while loading persisted sessions: java.io.EOFException -- /Context Please note that I only change antiResourceLocking=true and antiJARLocking=true when switching from one project to the other. Some additional info: Each project also has a context.xml file located under \__source\META-INF\ with contents: ?xml version=1.0 encoding=UTF-8? Context path=/ /Context I would like to know if there's a way to set up these 2 projects in the development environment so that switching between the two projects is a bit easier. That is the __source folder of Project02 *should not be deleted* when I try to switch the ROOT.xml file from Project01 to Project02 I don't mind the manual process, but sometimes it is error prone, if I forget one step I end up accidentally deleting the projects source folder then I have to rely on the IDEs back up to restore the entire project, which is not easy since it doesn't back up image and xml files. I'm not using Version Control at the moment. If there's a different / better way to set up 2 project like this I'm open to try other types of project set up. Thanks in advance for any help. -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Preventing memory leaks with awt event thread, is it possible?
Caldarale, Charles R a écrit : From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Preventing memory leaks with awt event thread, is it possible? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application, but then you have to find some way to force tomcat into initializing awt (and not the first webapp that requires awt). Perhaps you could declare a Listener class under Server that initializes AWT. This should run independently of any webapp. I'll give it a try :D - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Preventing memory leaks with awt event thread, is it possible?
Mikolaj Rydzewski a écrit : David Delbecq wrote: Is there a way to avoid this? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application, but then you have to find some way to force tomcat into initializing awt (and not the first webapp that requires awt). Maybe headless=true property (or sth similiar, there is one) would help? Nope, need a fully functionnal awt for the rendering :) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.
On 11/9/06, Rashmi Rubdi [EMAIL PROTECTED] wrote: I'm working on 2 different projects and I'm having problems while trying to switch between 2 projects that are both set up at the ROOT context. The first question is why they both have to be the ROOT context; nevertheless, if there's a valid reason -- Create separate virtual hosts with unique AppBases and run each project as ROOT in its own vhost. End of problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Change welcome page
I had the same need so I changed the welcome file in ROOT web.xml to a different page and did the redirect in that. It's just a small internal site so the quickest, easiest solution was the right one for me. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 9:01 AM To: Tomcat Users List Subject: RE: Change welcome page From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Re: Change welcome page Just put an index.jsp in webapp/ROOT/ that does a redirect to correct url That's not quite sufficient, since the default ROOT app has a precompiled index.jsp, and that one along with its servlet mapping must be removed before a replacement is effective. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat IIS redirector seems to cause high CPU cycle
Hi all, I am using Tomcat IIS redirector v1.2.19 on a Windows 2000 server. This server runs IIS 5.0 as a web server and Tomcat 5.5.20 as application server. However I am facing a problem with the redirector which seems to cause high CPU cycle. When I access my application directly through tomcat with http://www.mydomain.com:8080/, the CPU stays at 0%-5%. However once I access it through IIS-redirector-Tomcat with http://www.mydomain.com/, the CPU jumps up to around 50% and stays there. I have also tried using JK v2.0.4 but it is still the same. I suspect it could be some missing/wrong configuration as I have another Windows 2000 machine and it does not have this problem. I have also used its JK but the problem persists. I have also faced another problem with the redirector. When accessing https://www.mydomain.com:8080/mycontext, it will default to index.jsp as indicated in the deployment descriptor welcome-list element However when accessing through IIS at https://www.mydomain.com/mycontext, it returns a 403 Forbidden error. This problem only occurs when the protocol is https. When I disabled secure http by commenting the security elements in the deployment descriptor, and accessing http://www.mydomain.com/mycontext, it will default to the welcome page. Please provide guidance on how to troubleshoot these problems. I am rather new to IIS and Tomcat so please point me to location of logs which may shed a light on this issue. Thank you and regards, KL - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat IIS redirector seems to cause high CPU cycle
http://issues.apache.org/bugzilla/show_bug.cgi?id=40909 Rémy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 6.0 browser support
hi. I've installed tomcat6.0 with comet support. I've tried the example code found at http://tomcat.apache.org/tomcat-6.0-doc/aio.html. when I call the servlet, the browser wait for a response... the event() methods terminate normally, and run() of MessageSender wait on messages. now, I haven't a user to send a chat message, so the application wait forever. I've modified the code, to set up a nickname in session, by a login.jsp page. then, I redirect to another jsp page who contain a form with a sender name, a destination name and the message. but a submitting of the form causes a new request event. I dont understand if I need of some javascript support (like dojo?) or I don't know what. sorry If this seems confused, but I speak english just a little. thanks. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.
Hassan, Thanks for your reply. In production 2 projects are hosted on 2 different domain names and the host provider is using Apache Virtual Host I think. But, my problem only applies to the development envrionment. I tried to set up the virtual host on the dev machine by following instructions here: http://confluence.atlassian.com/display/DOC/Guide+to+using+Apache+Tomcat's+Virtual+Hosts This resulted in a virtual folder virtual.domainname.com under \dev\apache-tomcat-5.5.12\work\Catalina\ , but I wasn't able to access the application via http://virtual.domainname.com:8080/ It says you need to have entries in your DNS server , I guess I can't have this set up while on the local dev box. The only reason why I set up both projects on the ROOT context is so that they can be accessed from http://localhost:8080/ and not http://localhost:8080/SomeContext/ I'm also using context relative URLs inside the application code that begin with / , they can't begin with /SomeContext/ I'm sorry if I'm wrong about setting up the virtual host on my local machine, but that's what I understand after reading the documentation above and here: http://tomcat.apache.org/tomcat-5.0-doc/config/host.html -Rashmi - Original Message From: Hassan Schroeder [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, November 9, 2006 10:09:40 AM Subject: Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project. On 11/9/06, Rashmi Rubdi [EMAIL PROTECTED] wrote: I'm working on 2 different projects and I'm having problems while trying to switch between 2 projects that are both set up at the ROOT context. The first question is why they both have to be the ROOT context; nevertheless, if there's a valid reason -- Create separate virtual hosts with unique AppBases and run each project as ROOT in its own vhost. End of problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP Syntax Error
I am trying to modify the snoop.jsp that comes with Tomcat 5.5.20. I have the following snippet in my jsp and it compiles fine: tr tdPath info/tdtd% out.print(util.HTMLFilter.filter(request.getPathInfo())); %/td /tr If I add the following before the above use of getPathInfo, I get syntax errors on the new code (the old code still does not report any errors): tr tdContext path/tdtd%= out.print(util.HTMLFilter.filter(request.getContextPath())); %/td /tr tr tdServlet path/tdtd%= out.print(util.HTMLFilter.filter(request.getServletPath())); %/td /tr The error is: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 43 in the jsp file: /snp/snoop2.jsp Generated servlet error: Syntax error on token ;, delete this token An error occurred at line: 46 in the jsp file: /snp/snoop2.jsp Generated servlet error: Syntax error on token ;, delete this token I have not changed anything from the default Jasper configuration. (Is this the best place to ask this kind of question?) Mitchell Fisher | Unisys Corp. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.
On 11/9/06, Rashmi Rubdi [EMAIL PROTECTED] wrote: But, my problem only applies to the development envrionment. I tried to set up the virtual host on the dev machine by following instructions here: http://confluence.atlassian.com/display/DOC/Guide+to+using+Apache+Tomcat's+Virtual+Hosts You don't need anything to do with Apache httpd. This resulted in a virtual folder virtual.domainname.com under \dev\apache-tomcat-5.5.12\work\Catalina\ , but I wasn't able to access the application via http://virtual.domainname.com:8080/ It says you need to have entries in your DNS server , I guess I can't have this set up while on the local dev box. Of course you can. Let's say your current hostname is hawaii. You have an entry in your hosts file like 192.168.10.20 hawaii So you add another name after that, maybe 192.168.10.20 hawaii maui Now you create two Host elements in your Tomcat's server.xml, one for each hostname, with appBase entries something like webapps/hawaii and webapps/maui. Now you install your two apps as ROOT in their respective directories, and you're good to go. Believe me, this is not rocket science, and having multiple aliased hosts on your desktop can simplify a developer's life immensely. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP Syntax Error
You have changed % to %= Thursday, November 9, 2006, 9:24:36 PM, you wrote: FML I am trying to modify the snoop.jsp that comes with Tomcat 5.5.20. I FML have the following snippet in my jsp and it compiles fine: FML tr FML tdPath info/tdtd% FML out.print(util.HTMLFilter.filter(request.getPathInfo())); %/td FML /tr FML If I add the following before the above use of getPathInfo, I get syntax FML errors on the new code (the old code still does not report any errors): FML tr FML tdContext path/tdtd%= FML out.print(util.HTMLFilter.filter(request.getContextPath())); %/td FML /tr FML tr FML tdServlet path/tdtd%= FML out.print(util.HTMLFilter.filter(request.getServletPath())); %/td FML /tr FML The error is: FML org.apache.jasper.JasperException: Unable to compile class for JSP FML An error occurred at line: 43 in the jsp file: /snp/snoop2.jsp FML Generated servlet error: FML Syntax error on token ;, delete this token FML An error occurred at line: 46 in the jsp file: /snp/snoop2.jsp FML Generated servlet error: FML Syntax error on token ;, delete this token FML I have not changed anything from the default Jasper configuration. FML (Is this the best place to ask this kind of question?) FML Mitchell Fisher | Unisys Corp. FML - FML To start a new topic, e-mail: users@tomcat.apache.org FML To unsubscribe, e-mail: [EMAIL PROTECTED] FML For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Dimamailto:[EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 6.0 browser support
On 11/9/06, silvanoh722 [EMAIL PROTECTED] wrote: hi. I've installed tomcat6.0 with comet support. I've tried the example code found at http://tomcat.apache.org/tomcat-6.0-doc/aio.html. when I call the servlet, the browser wait for a response... the event() methods terminate normally, and run() of MessageSender wait on messages. now, I haven't a user to send a chat message, so the application wait forever. I've modified the code, to set up a nickname in session, by a login.jsp page. then, I redirect to another jsp page who contain a form with a sender name, a destination name and the message. but a submitting of the form causes a new request event. I dont understand if I need of some javascript support (like dojo?) or I don't know what. sorry If this seems confused, but I speak english just a little. At the moment, the example code is telnet ready, and that's it. There's no implementation of a higher level XML protocol in the example or anything that will work in a regular browser, although I assume this will be contributed/added fairly soon. Rémy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cannot load JDBC driver class... but it's definitely there...
Running Tomcat 5.5.17 through Eclipse 3.2.1 Using jdk1.5.0_08 OS = Windows XP server.xml contains the following within the Server element: GlobalNamingResources Resource auth=Container driverClassName= com.ibm.as400.access.AS400JDBCDriver maxActive=30 maxIdle=2 maxWait=5000 name=jdbc/myDatabase password=pw type= javax.sql.DataSource url=jdbc:as400://abc.def.com username=uid/ /GlobalNamingResources -- the web application's context.xml contains the following: ?xml version=1.0 encoding=UTF-8? Context path=/TestBed reloadable=true ResourceLink global=jdbc/myDatabase name=jdbc/myDatabase type=javax.sql.DataSource / /Context - my servlet code contains the following: InitialContext ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:comp/env); ds = (DataSource) envCtx.lookup(jdbc/myDatabase); con = ds.getConnection(); --- jt400.jar contains the driver class com.ibm.as400.access.AS400JDBCDriver and the jar files resides in WEB-INF/lib under my web app. - the ds.getConnection call is causing the following exceptions to be thrown: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.ibm.as400.access.AS400JDBCDriver' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource( BasicDataSource.java:766) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection( BasicDataSource.java:540) at com.nuhorizons.util.TestStuff.doPost(TestStuff.java:48) at com.nuhorizons.util.TestStuff.doGet(TestStuff.java:34) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource( BasicDataSource.java:760) ... 19 more -- What setting in Eclipse am I overlooking? Many thanks, David
Re: Cannot load JDBC driver class... but it's definitely there...
The driver has to be in tomcat's common/lib so tomcat's internal classloader can see it. Don't know what the equivalent is in Eclipse. Additionally, when in common/lib it should be removed from WEB-INF/lib of your webapp to avoid classloader problems. --David David Uctaa wrote: Running Tomcat 5.5.17 through Eclipse 3.2.1 Using jdk1.5.0_08 OS = Windows XP server.xml contains the following within the Server element: GlobalNamingResources Resource auth=Container driverClassName= com.ibm.as400.access.AS400JDBCDriver maxActive=30 maxIdle=2 maxWait=5000 name=jdbc/myDatabase password=pw type= javax.sql.DataSource url=jdbc:as400://abc.def.com username=uid/ /GlobalNamingResources -- the web application's context.xml contains the following: ?xml version=1.0 encoding=UTF-8? Context path=/TestBed reloadable=true ResourceLink global=jdbc/myDatabase name=jdbc/myDatabase type=javax.sql.DataSource / /Context - my servlet code contains the following: InitialContext ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:comp/env); ds = (DataSource) envCtx.lookup(jdbc/myDatabase); con = ds.getConnection(); --- jt400.jar contains the driver class com.ibm.as400.access.AS400JDBCDriver and the jar files resides in WEB-INF/lib under my web app. - the ds.getConnection call is causing the following exceptions to be thrown: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.ibm.as400.access.AS400JDBCDriver' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource( BasicDataSource.java:766) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection( BasicDataSource.java:540) at com.nuhorizons.util.TestStuff.doPost(TestStuff.java:48) at com.nuhorizons.util.TestStuff.doGet(TestStuff.java:34) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource( BasicDataSource.java:760) ... 19 more -- What setting in Eclipse am I overlooking? Many thanks, David - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot load JDBC driver class... but it's definitely there...
Worked like a charm David. Thank you so very much! David On 11/9/06, David Smith [EMAIL PROTECTED] wrote: The driver has to be in tomcat's common/lib so tomcat's internal classloader can see it. Don't know what the equivalent is in Eclipse. Additionally, when in common/lib it should be removed from WEB-INF/lib of your webapp to avoid classloader problems. --David David Uctaa wrote: Running Tomcat 5.5.17 through Eclipse 3.2.1 Using jdk1.5.0_08 OS = Windows XP server.xml contains the following within the Server element: GlobalNamingResources Resource auth=Container driverClassName= com.ibm.as400.access.AS400JDBCDriver maxActive=30 maxIdle=2 maxWait=5000 name=jdbc/myDatabase password=pw type= javax.sql.DataSource url=jdbc:as400://abc.def.com username=uid/ /GlobalNamingResources -- the web application's context.xml contains the following: ?xml version=1.0 encoding=UTF-8? Context path=/TestBed reloadable=true ResourceLink global=jdbc/myDatabase name=jdbc/myDatabase type=javax.sql.DataSource / /Context - my servlet code contains the following: InitialContext ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:comp/env); ds = (DataSource) envCtx.lookup(jdbc/myDatabase); con = ds.getConnection(); --- jt400.jar contains the driver class com.ibm.as400.access.AS400JDBCDriver and the jar files resides in WEB-INF/lib under my web app. - the ds.getConnection call is causing the following exceptions to be thrown: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.ibm.as400.access.AS400JDBCDriver' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource( BasicDataSource.java:766) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection( BasicDataSource.java:540) at com.nuhorizons.util.TestStuff.doPost(TestStuff.java:48) at com.nuhorizons.util.TestStuff.doGet(TestStuff.java:34) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource( BasicDataSource.java:760) ... 19 more -- What setting in Eclipse am I overlooking? Many thanks, David - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Extracting certificate information
I am still trying to extract certificate information. It was suggested that I needed the following in my web.xml: login-config auth-methodCLIENT_CERT/auth-method realm-nameMy Test Realm/realm-name /login-config This didn't work, so I also added (before the login-config tag): security-constraint web-resource-collection web-resource-nameMy Test Realm/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-namemyrole/role-name /auth-constraint /security-constraint security-role role-namemyrole/role-name /security-role After I did this, it appeared that tomcat was doing more handshaking, as I got the following error: [Fatal Error] :1:974: The element type HR must be terminated by the matching end-tag /HR. org.xml.sax.SAXParseException: The element type HR must be terminated by the matching end-tag /HR. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at com.reynolds.webservices.ResponseSaxParser.displayDocument(ResponseSaxPa rser.java:114) at com.reynolds.webservices.ProcessInputStream.sendMsg(ProcessInputStream.j ava:260) at com.reynolds.webservices.SocketFromEra.execute(SocketFromEra.java:113) at com.reynolds.webservices.SocketFromEra.doPost(SocketFromEra.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon textValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79 9) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 7) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:683) at java.lang.Thread.run(Thread.java:534) Here is a snippet of code from the servlet that is attempting to send a message using ssl (call this servlet 1): // start code snippet String EndPoint = https://myurl;; String bodyString = previously defined xml string; try{ System.setProperty(javax.net.ssl.trustStore,trustStore); System.setProperty(javax.net.ssl.trustStorePassword,trustStorePassword ); HostnameVerifier hostnameVerifier = new HostnameVerifier() { public boolean verify(String hostname, SSLSession session) { logger.error(WARNING: Hostname is not matched for certificate.); return true; } }; HttpsURLConnection.setDefaultHostnameVerifier(hostnameVerifier); } catch(Exception e){ logger.error(e.getMessage()); } URL destUrl = new URL(EndPoint); try { DocumentBuilder builder = XMLParserUtils.getXMLDocBuilder(); Document doc = builder.parse(new InputSource(new StringReader(bodyString))); Envelope msgEnvelope = new Envelope();
Re: Session Creation in Tomcat...Session timeout
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, Chetan Pandey wrote: When my Session - currently set to 1 minute in web.xml - times-out clicking on any LINK automatically redirects me to the Login Page. On re-logging in, through the logs I am observing that it is not going to the LoggingAction Class but directly to the Link that was clicked. Correct. The way that the built-in login mechanism works, a request for a protected page is challenged with a login screen if there's no existing login. Upon successful login, the user goes directly to the target page -- not through some special login code that you want. Before switching to securityfilter for my authentication and authorization, I write a Filter that did this for me. The code was basically this: if(request.getPrincipal() != null) { if(null == session || session.getAttribute(MY_USER_BEAN)) { // do login-type stuff } } chain.doFilter(request, response); That's all it takes. Now, whenever anyone logs in, they automatically get this code run so you can set up your sessions. I still haven't changed this after my move to securityfilter, and it works very well. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFU69z9CaO5/Lv0PARAl2TAKCOeOMEv5iIpNiWP7514izkNVUdGwCfQtHO g3hcbpQPq24GNncmxBoBTb4= =+GJ8 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Path mapping...
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. This makes it harder for other users to find relevant information when searching the lists. This is known as thread hijacking and is behaviour that is frowned upon on this list. Frequent offenders will be removed from the list. It should also be noted that many list subscribers automatically ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Connectors Bug Reporting
Chris Adams wrote: Does anybody know how I would report a bug in the mod_jk IIS filter? I've looked on this page: http://tomcat.apache.org/bugreport.html but did not see a link for the Tomcat Connectors project. Report it against whichever Tomcat version you are using. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Preventing memory leaks with awt event thread, is it possible?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mikolaj, Mikolaj Rydzewski wrote: Maybe headless=true property (or sth similiar, there is one) would help? To run Java AWT on a server like this, he'd already have to be doing this. :( - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFU7sE9CaO5/Lv0PARAiEyAJwPIMADI1DEnmfhj7WBbcbeYkrNMACeOXti dPxxP+btQzgyC1Z/mFka7VY= =FdiZ -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Accessing ssl pages using client authentication
When I try and access a page that is using client authentication, I get a http 404 error (not available). I need to try and access this page (using https) by the following methods: * Web Browser * Another servlet (posting data to it). The web.xml file for the authentication looks like: security-constraint web-resource-collection web-resource-nameMy Test Realm/web-resource-name url-pattern/RRTest/url-pattern /web-resource-collection auth-constraint role-namefis/role-name /auth-constraint /security-constraint security-role role-namefis/role-name /security-role login-config auth-methodCLIENT_CERT/auth-method realm-nameMy Test Realm/realm-name /login-config When I comment out this component of the XML, I can access the page (both via https http). I believe that I require the above xml in web.xml, as I want to access the certificate information that is sent to it. Assistance is greatly appreciated. Regards, Andrew Friebel
Re: Accessing ssl pages using client authentication
Andrew Friebel wrote: login-config auth-methodCLIENT_CERT/auth-method realm-nameMy Test Realm/realm-name /login-config You want CLIENT-CERT here. Note the hyphen rather than the underscore. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Replying to threads
This is going to seem like a real stupid question, but there seems to be no obvious way for me to reply to responses on threads. I have tried to use users-help and users-info email addresses to get this information, but they keep giving me automatic responses. How do I reply to a given thread? Regards, Andrew
Re: Replying to threads
Well, I suppose it depends on your email client. But on almost all clients, open the message (or thread response which you wish to add to) and click the 'Reply' button in your email client. Then write your response to the dialog occuring, and click send. Of course you have to be a member of the group. But since you got this message sent to the list, you are. So go ahead and try respond to this message. Justin - Original Message From: Andrew Friebel [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, November 9, 2006 6:53:56 PM Subject: Replying to threads This is going to seem like a real stupid question, but there seems to be no obvious way for me to reply to responses on threads. I have tried to use users-help and users-info email addresses to get this information, but they keep giving me automatic responses. How do I reply to a given thread? Regards, Andrew - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Replying to threads
I finally managed to get the email. I had to request it using users-get. Am I supposed to get the mail automatically? Regards, Andrew Friebel Franchise Services Franchise Product Development Coordinator Ph: 03 9535 2362 -Original Message- From: Justin Jaynes [mailto:[EMAIL PROTECTED] Sent: Friday, 10 November 2006 1:46 PM To: Tomcat Users List Subject: Re: Replying to threads Well, I suppose it depends on your email client. But on almost all clients, open the message (or thread response which you wish to add to) and click the 'Reply' button in your email client. Then write your response to the dialog occuring, and click send. Of course you have to be a member of the group. But since you got this message sent to the list, you are. So go ahead and try respond to this message. Justin - Original Message From: Andrew Friebel [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, November 9, 2006 6:53:56 PM Subject: Replying to threads This is going to seem like a real stupid question, but there seems to be no obvious way for me to reply to responses on threads. I have tried to use users-help and users-info email addresses to get this information, but they keep giving me automatic responses. How do I reply to a given thread? Regards, Andrew - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Accessing ssl pages using client authentication
Mark, Fantastic, thanks for that. I have a new problem now. Nov 10, 2006 5:56:17 PM org.apache.tomcat.util.net.jsse.JSSE14Support synchronousHandshake INFO: SSL Error getting client Certs javax.net.ssl.SSLHandshakeException: null cert chain at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA12275) at java.io.InputStream.read(InputStream.java:89) at org.apache.tomcat.util.net.jsse.JSSE14Support.synchronousHandshake(JSSE1 4Support.java:88) at org.apache.tomcat.util.net.jsse.JSSE14Support.handShake(JSSE14Support.ja va:67) at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSE Support.java:120) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:104 9) at org.apache.coyote.Request.action(Request.java:361) at org.apache.coyote.tomcat5.CoyoteRequest.getAttribute(CoyoteRequest.java: 929) at org.apache.coyote.tomcat5.CoyoteRequestFacade.getAttribute(CoyoteRequest Facade.java:214) at org.apache.catalina.authenticator.SSLAuthenticator.authenticate(SSLAuthe nticator.java:137) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base.java:504) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79 9) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 7) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:683) at java.lang.Thread.run(Thread.java:534) Nov 10, 2006 5:56:17 PM org.apache.coyote.http11.Http11Processor action WARNING: Exception getting SSL Cert javax.net.ssl.SSLHandshakeException: null cert chain at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA12275) at java.io.InputStream.read(InputStream.java:89) at org.apache.tomcat.util.net.jsse.JSSE14Support.synchronousHandshake(JSSE1 4Support.java:88) at org.apache.tomcat.util.net.jsse.JSSE14Support.handShake(JSSE14Support.ja va:67) at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSE Support.java:120) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:104 9) at org.apache.coyote.Request.action(Request.java:361) at org.apache.coyote.tomcat5.CoyoteRequest.getAttribute(CoyoteRequest.java: 929) at org.apache.coyote.tomcat5.CoyoteRequestFacade.getAttribute(CoyoteRequest Facade.java:214) at org.apache.catalina.authenticator.SSLAuthenticator.authenticate(SSLAuthe nticator.java:137) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base.java:504) at
First-time user of Tomcat 5.5
Hi, I have just downloaded the Tomcat 5.5 Windowns Installer on my XP laptop and completed the installation (seemingly successfully). I went through the basic configuration and the Tomcat service started successfully. (It actually wouldn't start Because my JRE versions is 1.4 - after getting the 1.5 JRE, it was able to start). Now, I would go to Tomcat-Manager or Tomcat-Welcome pages but these pages showed up error of the following : There is a problem with the page you are trying to reach and it cannot be displayed. Is there something obvious that I am missing ? Thanks for any reply, Ernie - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: First-time user of Tomcat 5.5
From: Ernie Ho [mailto:[EMAIL PROTECTED] Subject: First-time user of Tomcat 5.5 Now, I would go to Tomcat-Manager or Tomcat-Welcome pages but these pages showed up error of the following : There is a problem with the page you are trying to reach and it cannot be displayed. 1) Look at RUNNING.txt in the Tomcat home directory and make sure you've done what's documented in there. Ignore the advanced section. 2) Look in the Tomcat logs to see why it's not coming up properly. 3) Running the manager app requires that you update conf/tomcat-users.xml with a userid/password that has the manage role. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: First-time user of Tomcat 5.5
Hi, Thanks for the prompt reply. 1) I cannot locate the RUNNINGS.txt indicated below in the home directory. What I had done is gotten the installer from http://tomcat.apache.org/download-55.cgi Please also note that I DID NOT get the DEPLOYER or EMBEDDED zips as I did not think they are needed. 2) nothing notable in the LOGs, everything is blank except for jakarta_service_20061109.log which does not indicate errors. 3) I used admin/admin which is set to manager role. 4) I do not have a staic IP, I don't think it should matter should it? Thanks, Ernie -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 10:03 PM To: Tomcat Users List Subject: RE: First-time user of Tomcat 5.5 From: Ernie Ho [mailto:[EMAIL PROTECTED] Subject: First-time user of Tomcat 5.5 Now, I would go to Tomcat-Manager or Tomcat-Welcome pages but these pages showed up error of the following : There is a problem with the page you are trying to reach and it cannot be displayed. 1) Look at RUNNING.txt in the Tomcat home directory and make sure you've done what's documented in there. Ignore the advanced section. 2) Look in the Tomcat logs to see why it's not coming up properly. 3) Running the manager app requires that you update conf/tomcat-users.xml with a userid/password that has the manage role. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSO and session security
Hi, There's a server running Tomcat and Struts applications. Works perfectly fine ;-) I'd like to deploy now second application, very similiar to the first one. There's high chance of struts form-beans' names being the same in both of the apps. Those form-beans are mostly session scope. Would it be a problem if I enable single sign-on for the server? Would my apps overwrite each other's session form-beans? -- Mikolaj Rydzewski [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature