Using appelts with different clients

2005-06-07 Thread Heiner . Amthauer
Hi, I want to include a java applet into a webpage, to be loaded correctly depending on the client (ie, firefox, opera, etc., etc.). Of course, I could check the client myself by reading http headers. However, I'm sure, that some else already did this and there is no need to reinvent the wheel.

Tomcat Struts form population problem in PRODUCTION

2005-06-07 Thread Mark Benussi
I am submitting a Struts form in my live application but the values seem to be getting lost between my browser and the population of my ActionForm. This only happens if the login page is the first request of the session. If you click around on the site (even once) and then submit the form the

Re: Tomcat Struts form population problem in PRODUCTION

2005-06-07 Thread Anto Paul
On 6/7/05, Mark Benussi [EMAIL PROTECTED] wrote: I am submitting a Struts form in my live application but the values seem to be getting lost between my browser and the population of my ActionForm. This only happens if the login page is the first request of the session. If you click

Why I got multiple/many instance of tomcat + jvm right after I've started tomcat? ( on Red Hat Linux E 3 )

2005-06-07 Thread Mohd. Jeffry
Dear All, I got 6 servers running rhel3 and tomcat 4.1.27. One of this servers its tomcat is giving so many instance of tomcat and jvm but not for other server. They are running with the same configuration as far as tomcat and jvm is concern. Any thing else did I miss? This is snippet of my

Re: JMX implementation - Tomcat 5.0.28

2005-06-07 Thread Jon Wingfield
That's because it's hardcoded to look for jmx.jar. One jar, singular. Sitting on my local dev machine I've got a jmx.jar which is a concatenation of mx4j.jar and mx4j-tools.jar. It's a bit horrible but it works. There are other ways to do it: 1) Add your jars to the bootstrap classpath by

Re: Urgent: how to detect client has closed connection

2005-06-07 Thread Ronald Klop
Sorry, But I have no more suggestions. I would have to debug it myself than and don't have the time for that. Maybe somebody else on the list can tell you more. Maybe posting some snippets of code helps. Ronald. On Thu Jun 02 22:25:12 CEST 2005 lapson lee [EMAIL PROTECTED] wrote: Hey

RE: accessing webapp via proxy

2005-06-07 Thread Jan Behrens
Anyone??? Hello list, we are currently in the pretest stage for a webapp we build for a customer situated at various locations. We got reports that our app could not be accessed by a number of testers who are connecting through a proxy. The funny thing is, they can access the first page

RE: apache2+mod_jk + ssl: howto

2005-06-07 Thread faisal
1. The default httpd that ships in with FC3 i dont exactly remember its version but it's 2.x.x or something. 2. mod_jk2. 3. What i meant was when ur switching between ports in ur web application. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 3:28 PM

Mix form based and basic authentication in one web-app?

2005-06-07 Thread stephan
Hi there, I have two servlets. One is configured to listen to /forms/* and the other to /documents/*. I configured a security realm, so users need to use form based authentication when accessing /forms/*. Can I, in the same web.xml configure a second security realm that uses basic

Lucene+ParseFile

2005-06-07 Thread Zakaria KHABOT
Hi all, Will using 'lucene' I want to get a brief resume from the document in witch the term of search exist, like this: 1resultatstrouvs, classparrelvement Nonbreavecdate Masquersommaires regrouperparlocation 1-1

war redeployment problem

2005-06-07 Thread Sergey Pariev
Hello. Sometimes while redeploing my app in tomcat I'm getting the following error in catalina.out : ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ContextLoader.initWebApplicationContext(182) | Context initialization failed java.lang.InternalError: jzentry == 0, jzfile =

Virtual host, workers file and httpd.conf settings for SSL

2005-06-07 Thread Gessendorfer, Thomas
Hello, just installed Apache and Tomcat with the JK Connector and it works for = 1 worker on my machine. Now I installed a new Application for which I want to have SSL access. So I made a new virtual host in my hhtpd.conf that looks like this for = the standard and the SSL host: VirtualHost

RE: Virtual host, workers file and httpd.conf settings for SSL

2005-06-07 Thread Raghupathy,Gurumoorthy
Change From DocumentRoot C:/tomcat/Tomcat_5.5.9/webapps/idm To DocumentRoot c:/Apache/Apache2/htdocs Regards Guru -Original Message- From: Gessendorfer, Thomas [mailto:[EMAIL PROTECTED] Sent: 07 June 2005 11:43 To: tomcat-user@jakarta.apache.org Subject: Virtual

RE: Module jk2 and jk Connectormodules

2005-06-07 Thread luc_boudreau
I've configured lately such a configuration. I first tried to use the jk2 module, but soon discovered that it was deprecated and much more complex to use. I really recommend using jk. There are big differences in the configuration directives required in the httpd.conf by jk and jk2. Since I've

Tomcat, SSL, IE, and .pdf downloads

2005-06-07 Thread Panichi, Mary-Beth
Greetings ~ We're having issues downloading .pdf files in SSL. I've been all over the web trying to find solutions. The issue appears to be interaction between Tomcat and InternetExplorer. IE appears to be corrupting the pdf files. There's an IE patch out there, but we've patched past that.

AW: Virtual host, workers file and httpd.conf settings for SSL

2005-06-07 Thread Gessendorfer, Thomas
Then I see the starting page of the Apache2 Installation... Regards, Tom -Ursprüngliche Nachricht- Von: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 7. Juni 2005 13:07 An: 'Tomcat Users List' Betreff: RE: Virtual host, workers file and httpd.conf settings for

RE: Virtual host, workers file and httpd.conf settings for SSL

2005-06-07 Thread Raghupathy,Gurumoorthy
The do JkMount /*.jsp worker1 Restart both the servers and say https://yourservername/index.jsp Regard Guru -Original Message- From: Gessendorfer, Thomas [mailto:[EMAIL PROTECTED] Sent: 07 June 2005 12:28 To: Tomcat Users List Subject: AW: Virtual

How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed?

2005-06-07 Thread Harland, David
How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed? This e mail is from DLA Piper Rudnick Gray Cary UK LLP. The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used by

RE: How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed?

2005-06-07 Thread Peter Crowther
From: Harland, David [mailto:[EMAIL PROTECTED] How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed? You don't. There is no way in any Web architecture of reliably detecting whether a browser has closed, or whether it has merely

RE: war redeployment problem

2005-06-07 Thread Caldarale, Charles R
From: Sergey Pariev [mailto:[EMAIL PROTECTED] Subject: war redeployment problem message = invalid LOC header (bad signature) at java.util.zip.ZipFile$3.nextElement(ZipFile.java:430) I'm using Tomcat 5.0.29 But what OS and JDK level are you using? I have a vague memory of a

Re: How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed?

2005-06-07 Thread Anto Paul
On 6/7/05, Harland, David [EMAIL PROTECTED] wrote: How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed? Possible solution may be to refresh the page frequently and set a short interval for session time out. You might use a frame for this.

Re: war redeployment problem

2005-06-07 Thread Sergey Pariev
Caldarale, Charles R : From: Sergey Pariev [mailto:[EMAIL PROTECTED] Subject: war redeployment problem message = invalid LOC header (bad signature) at java.util.zip.ZipFile$3.nextElement(ZipFile.java:430) I'm using Tomcat 5.0.29 But what OS and JDK level are you using? I have

Buggy .war in 5.5.9 binary distribution

2005-06-07 Thread Alexander Fairley
Hello all, I've been playing around with the samples in the 5.5.9 distribution, and the .war available from the internal link: http://localhost/tomcat-docs/appdev/sample/sample.war doesn't autodeploy when placed in webapps. Furthermore, attempting to extract it with jar (fastjar) 0.92-gcc throws

Client authentication using Keystores...

2005-06-07 Thread Manuel Gil Perez
Hi all, I would like to enrol my server to accept authenticated connections from authorized parties using X.509 certificates. I follow the instructions indicated in SSL Configuration HOW-TO (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html) and I generate my keystore file with

Re: pageContext.getException() always null

2005-06-07 Thread Konrad Bernstein
Seems to me like a pure Tomcat-issue. Downloaded and tested a couple of TC versions (5.0.28, 5.0.30 beta). Same result: pageContext.getException() always returns null. I then built Tomcat on my own (via http://jakarta.apache.org/tomcat/tomcat-5.0-doc/build.xml) and everything worked fine there.

JAVA_OPTS??

2005-06-07 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I really apologize if this has been answered previously but I cannot find any definative documentation on the JAVA_OPTS option. I would like to bring myself up to date on what might be accomplished using this setting. TIA SB

RE: JAVA_OPTS??

2005-06-07 Thread Peter Crowther
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] I really apologize if this has been answered previously but I cannot find any definative documentation on the JAVA_OPTS option. I would like to bring myself up to date on what might be accomplished using this setting. Using

Re: JAVA_OPTS??

2005-06-07 Thread Matt Galvin
Using JAVA_OPTS, you can pass any options *directly to the Java virtual machine* on which you are running Tomcat. Some of these options are standard, others are VM-specific. If you want to know the details, check the documentation for your particular JVM - if it can be passed an option, you

Logging Server Responses

2005-06-07 Thread TK
Hi, I'm looking for ways to log server (Tomcat) responses so that I could figure out the time taken (in ms) for Tomcat to process a client request. The information I need to record include: 1. Request ID (e.g. client IP address and object requested), 2. Date and time (in ms) the request is

Re: Logging Server Responses

2005-06-07 Thread Tim Funk
See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html In particular: %D - Time taken to process the request, in millis %T - Time taken to process the request, in seconds Otherwise use a filter and rely on: %{xxx}r -Tim TK wrote:

RE: Buggy .war in 5.5.9 binary distribution

2005-06-07 Thread Caldarale, Charles R
From: Alexander Fairley [mailto:[EMAIL PROTECTED] Subject: Buggy .war in 5.5.9 binary distribution I've been playing around with the samples in the 5.5.9 distribution, and the .war available from the internal link: http://localhost/tomcat-docs/appdev/sample/sample.war doesn't autodeploy

RE: Buggy .war in 5.5.9 binary distribution

2005-06-07 Thread Ben Souther
I just deployed the one that shipped with 5.5.9 as well. At one point that war file was corrupted but I know the issue was fixed before 5.5.9. http://issues.apache.org/bugzilla/show_bug.cgi?id=32382 On Tue, 2005-06-07 at 10:57, Caldarale, Charles R wrote: From: Alexander Fairley

Using Jacorb through Tomcat

2005-06-07 Thread Adam Wynne
Hi, Does anyone know how to use Jacorb through Tomcat? I read that I need to pass the Jacorb command line options to Tomcat at startup, but can't find which script to add them to. Any advice is appreciated. I am using tomcat41. Thanks!

Re: JAVA_OPTS??

2005-06-07 Thread Paul
Scott, the JAVA_OPTS parameter are used to pass different startup configuration options to the Java Virtual Machine. Most commonly it's probably used to speficify the RAM used by the VM and to fine tune your GC (Garbage Collection) settings. There are both standard and non-standard options.

Realm problems! 4.1 vs. 5.5

2005-06-07 Thread Søren Blidorf
Hi. I am upgrading my 4.1 server to 5.5 and am having problems with the realm: Context path=/xx docBase=xxx debug=0 reloadable=true Realm name=UMRealm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=com.microsoft.jdbc.sqlserver.SQLServerDriver

Re: Using Jacorb through Tomcat

2005-06-07 Thread Jason Bainbridge
On 6/7/05, Adam Wynne [EMAIL PROTECTED] wrote: Hi, Does anyone know how to use Jacorb through Tomcat? I read that I need to pass the Jacorb command line options to Tomcat at startup, but can't find which script to add them to. Any advice is appreciated. I am using tomcat41. Uhm did you

RE: Disabling put and delete http methods...

2005-06-07 Thread Peter Fellwock
There is not switch at the tomcat configuration level? I know apache has one limit where you can specify to block http methods... -peter -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 10:04 PM To: Tomcat Users List Subject: Re: Disabling put

Re: Using Jacorb through Tomcat

2005-06-07 Thread Adam Wynne
Hi Jason, Thanks for the response. Yes, I saw that doc but it appears to be outdated. That's why I was wondering if anyone has done this with a more recent version. On 6/7/05, Jason Bainbridge [EMAIL PROTECTED] wrote: On 6/7/05, Adam Wynne [EMAIL PROTECTED] wrote: Hi, Does anyone know

incomplete WAR expansion on redeployment

2005-06-07 Thread Matt Tucker
Hello, I have a WAR that I'm deploying via the tomcat ant deployer: deploy url=${manager.url} username=${manager.username} password=${manager.password} path=/ war=${build.webstore.dir}/webstore.war update=true / The first time it's deployed, everything works fine. On subsequent

Servlet Concurrency Issues

2005-06-07 Thread Michael Pasko
I've recently developed a servlet that connects to an AS/400, and returns results off an sql query based off criteria submitted by a form. I've had pretty much exclusive use of the Tomcat server during development, but when I started allowing other users on it, I stumbled on some problems.

RE: Servlet Concurrency Issues

2005-06-07 Thread Caldarale, Charles R
From: Michael Pasko [mailto:[EMAIL PROTECTED] Subject: Servlet Concurrency Issues I started allowing other users on it, I stumbled on some problems. Basically what happens, when user A submits the form, and then 2 seconds later user B submits the same form. User A stops getting

Re: JMX implementation - Tomcat 5.0.28

2005-06-07 Thread Jimmy Ray
I fixed this by adding the jmxri.jar to the C:\Sun\AppServer\jdk\jre\lib\ext path on my test box. Regards, Jimmy Ray --- Jon Wingfield [EMAIL PROTECTED] wrote: That's because it's hardcoded to look for jmx.jar. One jar, singular. Sitting on my local dev machine I've got a jmx.jar which is

OpenEJB JNDI issue -

2005-06-07 Thread Jimmy Ray
I am trying to use openEJB 0.9.2 with Tomcat 5.0.28 on W2K with the Sun 1.4.2 JDK. I can test everything OK with the call to http://localhost:8080/openejb_loader-0.9.2/;. I can even lookup my bean. Now when I try the JSP or servlet I seem to be getting a JNDI NamingException, Naming Exception -

Re: Using appelts with different clients

2005-06-07 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Other servers create the corret page by using the jsp:pluggin tag. Tomcat doesn't. In what way does Tomcat not support this? As far as I am aware it does in both 4.1.x and 5.5.x Mark - To

Re: Mix form based and basic authentication in one web-app?

2005-06-07 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi there, I have two servlets. One is configured to listen to /forms/* and the other to /documents/*. I configured a security realm, so users need to use form based authentication when accessing /forms/*. Can I, in the same web.xml configure a second security realm

Re: Lucene+ParseFile

2005-06-07 Thread Mark Thomas
1. Don't cross-post 2. Try the lucene user list Zakaria KHABOT wrote: Hi all, Will using 'lucene' I want to get a brief resume from the document in witch the term of search exist, like this: 1 resultats trouvs, class par relvement Nonbre avec date

Re: Tomcat, SSL, IE, and .pdf downloads

2005-06-07 Thread Mark Thomas
This seems to be a popular subject today. Try looking at http://marc.theaimsgroup.com/?l=tomcat-userm=111811136603781w=2 Mark Panichi, Mary-Beth wrote: Greetings ~ We're having issues downloading .pdf files in SSL. I've been all over the web trying to find solutions. The issue appears to

Re: Client authentication using Keystores...

2005-06-07 Thread Mark Thomas
Manuel Gil Perez wrote: The client authentication only works if I add the CA certificate into the $JAVA_HOME/jre/lib/security/cacerts. If the Tomcat keystore contains the CA certificate but not the JDK keystore... the client authentication fails. AFAIK this can't be done without some custom

Re: Tomcat, SSL, IE, and .pdf downloads

2005-06-07 Thread Frank W. Zammetti
Ironically, I ran into this last week as well. However, I was running my app on Websphere, and the cause (and solution) was subtly different... It is a Struts-based application. I had the nocache RequestProcessor setting in effect. This caused PDF generation to fail under SSL, same as the

Re: pageContext.getException() always null

2005-06-07 Thread Mark Thomas
Konrad Bernstein wrote: However, looks like a TC bug to me, that only occurs if you setup your error pages by the error-tag within web.xml (not by using the page directive errorPage). pageContext.getException() only returns what is saved under attribute javax.servlet.jsp.jspException. But this

Class.forName() gives NoClassDefFoundError

2005-06-07 Thread Torsten Römer
Hello! I am currently trying to migrate a webbased cashregister system from BEA Weblogic 6.1/JDK 1.3.1 to Tomcat 5.0.25/JDK 1.4.2. After making some minor changes the application seems to work, and it also seems to run a lot faster. I have one problem though: The application does a lot of

Mod_JK error

2005-06-07 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Can anyone give me an idea of what might be causing this? I have searched the web to no avail. [jk_ajp_common.c (1250)]: Tomcat is down or network problems. No response has been sent to the client (yet) [Tue Jun 07 13:46:09 2005] [jk_ajp_common.c (1449)]: ERROR: Receiving from tomcat failed,

RE: Mod_JK error

2005-06-07 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
My apologies... I should have added that I only get this error when the server comes under load and even then the errors are intermittent. -SB -Original Message- From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 2:12 PM To: Tomcat User List

How to query for number of active participants in the tomcat 5.5 cluster

2005-06-07 Thread Edmon Begoli
Hi, Is it possible to query host tomcat for the number of active participants in the cluster that host tomcat belongs to. If yes - can you please point me to the API, and possibly examples. Thank you, Edmon - To

[announce] Stylus Studio 6 XML Enterprise Edition (an XML IDE) is now available

2005-06-07 Thread Stylus Studio Announcements
[announce] Dear Tomcat-Users, Stylus Studio 6 XML Enterprise Edition (an XML IDE) is now available for free trial download at: http://www.stylusstudio.com/xml_download.html. Here is a summary of some of the new features: * Java Code Generation: Now you can generate code for your XQuery and

RE: Servlet Concurrency Issues

2005-06-07 Thread George Sexton
You're probably using instance properties on the servlet object. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Michael Pasko [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 12:09 PM To:

Re: Module jk2 and jk Connectormodules

2005-06-07 Thread Andreas Bauer
Hello! Btw, here is another link: http://www.dynamicobjects.com/d2r/archives/002574.html After doing this script, jk2 works for me in win xp, but not in Suse 9.2. I hope, it helps you anyway and you can use it somehow. I have still questions. LoadModule jk_module modules/mod_jk.so Jk suse 9.1

Re: Tomcat, SSL, IE, and .pdf downloads

2005-06-07 Thread Mark Leone
Mary-Beth, be advised that applying the fix in Tomcat is arguably the moral equivalent of what you said you didn't want to do (i.e., uncheck don't allow encrypted data to be cached to disk in IE). By inserting the valve that ensures that the cache-control headers are not set, you're not only

Set Connector to secure but DON'T use TLS/keystore/etc.?

2005-06-07 Thread John G. Norman
For Tomcat 5.0.28: I have an SSL accelerator in front of a set of hardware load-balanced Tomcats. SSL is handled by the accelerator. HTTP requests come in on port 80 and are redirected via the load balancer (it's actually an Inkra) to a Tomcat HTTP Connector listening on port 8080. I would