Re: Tomcat and JSF. Internet Explorer prompts for download

2006-11-09 Thread Josué Alcalde González
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

Re: Load balancing mark down question

2006-11-09 Thread Rainer Jung
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

Re: Application Path

2006-11-09 Thread Harry
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

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-09 Thread Vasiliy Keretsman
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

Re: problems with unpacking ROOT.war

2006-11-09 Thread andrew . w . cooke
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,

Re: configoration

2006-11-09 Thread David Delbecq
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

Re: Change welcome page

2006-11-09 Thread David Delbecq
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

loading dlls

2006-11-09 Thread Zohar
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

Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread David Delbecq
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

Tomcat 5.5 Embedded + reloading and unpacking WAR files.

2006-11-09 Thread Hawkins, Mark \(ASPIRE\)
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

Service Options Ignored

2006-11-09 Thread Toby Saville
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

RE: Change welcome page

2006-11-09 Thread Caldarale, Charles R
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

RE: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread Caldarale, Charles R
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

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread Mikolaj Rydzewski
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

Path mapping...

2006-11-09 Thread Peter Björkman
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

Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.

2006-11-09 Thread Rashmi Rubdi
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:

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread David Delbecq
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,

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread David Delbecq
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

Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.

2006-11-09 Thread Hassan Schroeder
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

RE: Change welcome page

2006-11-09 Thread Lizak, Ed
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]

Tomcat IIS redirector seems to cause high CPU cycle

2006-11-09 Thread Low Kwok Leong
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

Re: Tomcat IIS redirector seems to cause high CPU cycle

2006-11-09 Thread Rémy Maucherat
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

2006-11-09 Thread silvanoh722
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

Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.

2006-11-09 Thread Rashmi Rubdi
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

JSP Syntax Error

2006-11-09 Thread Fisher, Mitchell L
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

Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.

2006-11-09 Thread Hassan Schroeder
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

Re: JSP Syntax Error

2006-11-09 Thread Dima Retov
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

Re: tomcat 6.0 browser support

2006-11-09 Thread Rémy Maucherat
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()

Cannot load JDBC driver class... but it's definitely there...

2006-11-09 Thread David Uctaa
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

Re: Cannot load JDBC driver class... but it's definitely there...

2006-11-09 Thread David Smith
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

Re: Cannot load JDBC driver class... but it's definitely there...

2006-11-09 Thread David Uctaa
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

Extracting certificate information

2006-11-09 Thread Andrew Friebel
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):

Re: Session Creation in Tomcat...Session timeout

2006-11-09 Thread Christopher Schultz
-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

Re: Path mapping...

2006-11-09 Thread Mark Thomas
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.

Re: Tomcat Connectors Bug Reporting

2006-11-09 Thread Mark Thomas
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

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread Christopher Schultz
-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

Accessing ssl pages using client authentication

2006-11-09 Thread Andrew Friebel
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

Re: Accessing ssl pages using client authentication

2006-11-09 Thread Mark Thomas
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

Replying to threads

2006-11-09 Thread Andrew Friebel
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?

Re: Replying to threads

2006-11-09 Thread Justin Jaynes
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

RE: Replying to threads

2006-11-09 Thread Andrew Friebel
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]

RE: Accessing ssl pages using client authentication

2006-11-09 Thread Andrew Friebel
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

First-time user of Tomcat 5.5

2006-11-09 Thread Ernie Ho
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

RE: First-time user of Tomcat 5.5

2006-11-09 Thread Caldarale, Charles R
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

RE: First-time user of Tomcat 5.5

2006-11-09 Thread Ernie Ho
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

SSO and session security

2006-11-09 Thread Mikolaj Rydzewski
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.