preferred tomcat version

2005-11-29 Thread mukesh
Hi friends, I am using Redhat Linux 7.0 and Apache web server (not tomcat). Which is the preferred version of tomcat I should use to add the JSP/Servlet to my apache we server (and why)? And that tomcat version must support mod_jk in order to connect it to apache (than

AW: Error: Io exception: Connection reset

2005-11-29 Thread Tobias Meyer
Maybe the user hit the "stop" button on the browser while downloading a page or binary. IIRC this will give you IOExceptions in your servlet when trying to push more data in the "dead" connection. It could also be your firewall, that times out connections which have not been used for some time. I

Re: SSL Certificate Beginner Question

2005-11-29 Thread Bill Barker
"Scott Purcell" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Real helpful ... I searched on SRV.12 and it brought up a bunch of links > that have nothing to do with Tomcat config of SSL. > > I probably posted a lame request. Let me try again. > > I have purchased a certificate v

Re: Server push

2005-11-29 Thread Andrew.du
Yes,the "http://www.pushlets.com/"; is good! Thanks! 2005/11/25, Dhaval Patel <[EMAIL PROTECTED]>: > > Hi, > > I dont know about your environment. But I know few things about push that > I > would like to share. > > I researched "push" a while ago. Basically I was looking for server push. > HTTP

Re: Server push

2005-11-29 Thread Andrew.du
I just want to use 'Server Push' to write a chating root. 2005/11/25, Hassan Schroeder <[EMAIL PROTECTED]>: > > Andrew.du wrote: > > Can somebody tell me server push? > > C'mon, the *first* hit from googling "server push" is this classic > (and definitive) page: > >

RE: Java client does not re-use TCP/IP connections.

2005-11-29 Thread Caldarale, Charles R
> From: Magyar, Bence [mailto:[EMAIL PROTECTED] > Subject: Java client does not re-use TCP/IP connections. > > For each one of these invocations, my client creates a new > TCP/IP connection to the service instead of reusing the > existing one. Am I missing some critical parameter > in my

Re: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
Thanks for the link ... I think first I need to be able to hit the https://localhost:8443 before going any further? Once that is working ... then hopefully I can figure out how to restrict certain pages. - Original Message - From: "Hassan Schroeder" <[EMAIL PROTECTED]> To: "Tomcat Use

RE: confusion of tomcat downloading

2005-11-29 Thread Caldarale, Charles R
> From: blueberry lake [mailto:[EMAIL PROTECTED] > Subject: confusion of tomcat downloading > > On page http://tomcat.apache.org/download-55.cgi, there are > several choices for tomcat 5.x, like core, deployer, embedded, > admin web application, etc., > can anyone explain berifly what their diff

Re: SSL Certificate Beginner Question

2005-11-29 Thread Hassan Schroeder
Scott Purcell wrote: > Real helpful ... I searched on SRV.12 and it brought up a bunch of links > that have nothing to do with Tomcat config of SSL. OK, here's a direct link to the Servlet Spec: :: which, BTW, is the first Google hi

Re: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
Yes Thanks David, I did add the "keystoreFile=XXX" and "keystorePass="xxx". But it still hangs. Since I was on Windows I used a full path to the file. I forgot about the https://localhost:8443? Just curious. I know when I asked for the cert, Verisign asked me for my dns name, so maybe the simple

Re: SSL Certificate Beginner Question

2005-11-29 Thread David Wall
<-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> You probably want to add the following attributes to the Connector above: keystoreFile="keys/tomcatkeys" keystorePass="123" Obviously, make the keystoreFile point to the name of the Java keystore that you put your certificat

Get More Logging

2005-11-29 Thread Scott Purcell
I posted earlier about having some issues trying to get SSL configured on my Tomcat 5.5.12. Anyway, I changed some settings in my server.xml for my keystore, and see no errors being thrown under the logs/ directory. I checked stdout, stderr, but see no errors. I know that if I am using the wro

Re: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
Real helpful ... I searched on SRV.12 and it brought up a bunch of links that have nothing to do with Tomcat config of SSL. I probably posted a lame request. Let me try again. I have purchased a certificate via Verisign, and I have installed the certificate into a keystore. I am running Windows

Re: Tomcat 5.0.27 >> java.net.SocketException: Software caused connection abort: recv failed

2005-11-29 Thread Anto Paul
On 11/29/05, Rajiv Singla <[EMAIL PROTECTED]> wrote: > Hi, > > I was already using 'autoReconnect=true' option. > But after going through MySql website, I found that it has been deprecated > and in order to use 'autoReconnect' option you now need to use > 'enableDeprecatedAutoreconnect=true'. > >

Re: SSL Certificate Beginner Question

2005-11-29 Thread Hassan Schroeder
Scott Purcell wrote: > How do I configure some of my pages to use https? I do not know > where to begin on this? Begin with the Servlet Spec. -- SRV.12 (Security) would be apropos :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0

SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
Hello, I am running Tomcat Standalone on a XP system. Anyway, I have finished up with Verisign, and I my certificate installed and ready to go but now the real quesiton. How do I configure some of my pages to use https? I do not know where to begin on this? Anyone able to assist? Thanks

Re: confusion of tomcat downloading

2005-11-29 Thread Scott Purcell
What OS are you wanting to install Tomcat on? And did you want to just run Tomcat Standalone, or put it inside Apache? - Original Message - From: "blueberry lake" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 7:47 PM Subject: confusion of tomcat downloading On page http://t

Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9)

2005-11-29 Thread Luka Andrejasic
"I remember workers.properties is located in apache/conf/, the same directory with httpd.conf.." The file workers.properties is located under Tomcat`s conf directory, not Apache`s. In workers.properties I only have the following and that should be enough : worker.list=ajp13w worker.ajp13w.port

Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9)

2005-11-29 Thread blueberry lake
Since I am a new user of mod_jk, please correct me if I am wrong. In your apache httpd.conf, you set: "JkWorkersFile "/var/tomcat/conf/workers.properties" I remember workers.properties is located in apache/conf/, the same directory with httpd.conf.. And, do you indicate the location of tomc

confusion of tomcat downloading

2005-11-29 Thread blueberry lake
On page http://tomcat.apache.org/download-55.cgi, there are several choices for tomcat 5.x, like core, deployer, embedded, admin web application, etc., can anyone explain berifly what their difference are? Thanks.

web app to show session state for all server sessions

2005-11-29 Thread John MccLain
I want to write a webapp that, when a request is made, will display session state ( a display of attributes and values within a session) for all sessions running in a Tomcat server. I wish the display to be similar to the folowing: App session attribute = value My question

Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9)

2005-11-29 Thread Luka Andrejasic
Hello guys, I am trying to figure this one out for weeks. Nothing seems to work and I am running out of ideas. The problem seems to be with Mod JK, as Apache and Tomcat work without problems on their own. Below are all the main configuration files, as well as the error log (at the bottom) : /

Error: Io exception: Connection reset

2005-11-29 Thread KUMAR, NANDA [AG-Contractor/1000]
Very often we are getting Io Exception: Connection reset error. There is a firewall between tomcat app server and DB server. I wonder whether firewall is closing the connection or what could be the reason. Please let me know how to get rid of this error. Thanks in advance.

Alias element in Tomcat 3.2.x virtual host configuration

2005-11-29 Thread Mieke Banderas
As far as I understand you write virtual host server configuration like this with the Alias element like this: "host.com" as an alias to virtual host www.host.com. What's the syntax in Tomcat 3.2.x? My virtual host looks like this now: ---

Re: Java databases as alternative to MySQL on OS X Server? (OT)

2005-11-29 Thread Richard Schilling
You might try a Java Data Objects implementation: www.objectdb.com java.sun.com/products/jdo/index.jsp These are pure object databases, and are reasonably fast. The Sun's reference implementation of JDO is not intended for production use but it's great as a development toolkit. Richard Sch

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: Certificate Revocation Lists in Tomcat 5.5 > > Not necessarily. But it would create complications to > maintain 1.4 compatibility where there is 1.5 specific > code. The 1.5 code is skipped if 1.4 is used to build. Ah - so it's a bui

RE: Java databases as alternative to MySQL on OS X Server? (OT)

2005-11-29 Thread Caldarale, Charles R
> From: Oded Arbel [mailto:[EMAIL PROTECTED] > Subject: Re: Java databases as alternative to MySQL on OS X > Server? (OT) > > Please read up on your Java memory model. What you describe > is a nice abstraction that many Java developers have in their > mind, but is technically not correct and ca

Re: File Download not working for anchor tags

2005-11-29 Thread Mike
I tried that for Basic, Form, Digest, NonLogin, SSL, SavedRequest, Constants, AuthenticatorBase and SingleSignOn authenticators, but they didn't work. Mike At 10:55 AM 11/29/2005, you wrote: I had a problem with this recently and had to add the following to my Context: There is some info

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
Thank you... if was just what I needed! -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: martes, 29 de noviembre de 2005 23:45 To: Tomcat Users List Subject: Re: Tomcat suddenly not working Bachler, Elisabeth (Elisabeth) wrote: > Actually, under /usr/java there

Re: Tomcat suddenly not working

2005-11-29 Thread Hassan Schroeder
Bachler, Elisabeth (Elisabeth) wrote: > Actually, under /usr/java there is a readme file that says that the version > is 1.4.2!! Using `$JAVA_HOME/bin/java -version` will tell you what you're running without looking for READMEs. > How can I find out if there is a new sdk version... and where it i

HTTP 404 error when mod_jk 1.2.15 connects apache 2.0.55 and tomcat 5.0.28 on unix

2005-11-29 Thread blueberry lake
(sorry if I send this message twice, I didn't get the first one) Hi all, I installed apache 2.0.55, tomcat 5.0.28, and mod_jk 1.2.15 on a solaris 5.9unix machine. Before I connected apache and tomcat, both of them work fine if I start them up as seperate servers. Mod_jk is complied from source

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
Thank you to everyone for your great help. "Someone" from my team, without telling me, updated the jdk. Now, JAVA_HOME is pointing to the correct directory and everything is working. Once again, thank you -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED

RE: web client running out of ports! (timeout exception)

2005-11-29 Thread MW Janssen
i had the same. The database connection pool was not right implemented so each new connection was opened. What you can do is to set the time-out shorter (in the registry, google it) and als to numbers of ports using (up to 6 or something, also in registry, google it). But better is to find out

Re: ClassNotFoundException when upgrading from 5.5.9 to 5.5.10+

2005-11-29 Thread David R Mulligan
Comment #3 on http://issues.apache.org/bugzilla/show_bug.cgi?id=37302 has describes the problem and solution. Thanks, David On Tue, 2005-11-29 at 13:20 -0700, David R Mulligan wrote: > I've had some traction on this problem. If I remove the Loader element > from within my context element in serv

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Caldarale, Charles R
> From: Duan, Nick [mailto:[EMAIL PROTECTED] > Subject: RE: Certificate Revocation Lists in Tomcat 5.5 > > The official tomcat 5.5.12 was compiled and packaged with J2SE5.0, not > JDK 1.4. You'll get an error message if you run tomcat on 1.4. Only if you fail to read the instructions in RUNNING

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
Actually, under /usr/java there is a readme file that says that the version is 1.4.2!! I have just found out that may be someone from my team has been changing things How can I find out if there is a new sdk version... and where it is? (can't ask someone now!) -Original Message- From:

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
The JAVA_HOME seems to be correct /usr/java since I haven't touched it...and previously it was working. I have deployed a whole web stuff and I have been testing it for months!!! How can I know this is correct? -Original Message- From: Robert Palmer [mailto:[EMAIL PROTECTED] Sent: martes

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
The JAVA_HOME variable points to /usr/java that seems to be the correct thing. How can I be sure? -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: martes, 29 de noviembre de 2005 22:22 To: Tomcat Users List Subject: Re: Tomcat suddenly not working On 11/29/05, Bachle

RE: How to test connection pooling

2005-11-29 Thread Manisha Sathe
Hi, I tried with MSSQL/MySQL on Tomcat 4.1 / Tomcat 5. On Tomcat 5 everything works great but on omcat 4 for both databases I do not get pool of connection. It always gives one single connection and does not create another if needed. I am stuck like anything, and want to use it rather than going

Re: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Mark Thomas
Duan, Nick wrote: The official tomcat 5.5.12 was compiled and packaged with J2SE5.0, not JDK 1.4. You'll get an error message if you run tomcat on 1.4. ND Um, no it wasn't. It was built using 1.4. That is why the 5.0 specific stuff is missing. Mark ---

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
Yes... I simply don't know what to do! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Larry Meadors Sent: martes, 29 de noviembre de 2005 22:30 To: Tomcat Users List Cc: Tomcat Users List Subject: Re: Tomcat suddenly not working Have you cleared the tomca

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Duan, Nick
The official tomcat 5.5.12 was compiled and packaged with J2SE5.0, not JDK 1.4. You'll get an error message if you run tomcat on 1.4. ND -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 4:46 PM To: Tomcat Users List Subject: Re: Certificate

Re: Tomcat suddenly not working

2005-11-29 Thread Robert Palmer
Are you sure you have your Java path's correct? This will occur if JAVA_HOME is set to, say a 1.4.2 release. Larry Meadors wrote: Have you cleared the tomcat work directory? LArry On 11/29/05, Bachler, Elisabeth (Elisabeth) <[EMAIL PROTECTED]> wrote: I just had a look in the catalina.ou

HTTP 404 error when mod_jk 1.2.15 connects apache 2.0.55 and tomcat 5.0.28 on unix

2005-11-29 Thread blueberry lake
Hi all, I installed apache 2.0.55, tomcat 5.0.28, and mod_jk 1.2.15 on a solaris 5.9unix machine. Before I connected apache and tomcat, both of them work fine if I start them up as seperate servers. Mod_jk is complied from source code and mod_jk.so is copied to apache/modules/ The connected syst

Re: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Mark Thomas
Caldarale, Charles R wrote: From: Duan, Nick [mailto:[EMAIL PROTECTED] Subject: RE: Certificate Revocation Lists in Tomcat 5.5 Tomcat 5.5 supposed to run on JDK 1.5. Why was it compiled with JDK 1.4? Because it's supposed to run on JRE 1.4 as well. Compiling on 1.5 would have precluded tha

Re: Tomcat suddenly not working

2005-11-29 Thread Larry Meadors
Have you cleared the tomcat work directory? LArry On 11/29/05, Bachler, Elisabeth (Elisabeth) <[EMAIL PROTECTED]> wrote: > I just had a look in the catalina.out and I have an error with log4j: > log4j:WARN Failed to set property [maxBackupIndex] to value "10 // Keep 10 > backup file maximum". >

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Caldarale, Charles R
> From: Duan, Nick [mailto:[EMAIL PROTECTED] > Subject: RE: Certificate Revocation Lists in Tomcat 5.5 > > Tomcat 5.5 supposed to run on JDK 1.5. Why was it compiled with JDK > 1.4? Because it's supposed to run on JRE 1.4 as well. Compiling on 1.5 would have precluded that. I'm a bit suspicio

Re: Java databases as alternative to MySQL on OS X Server? (OT)

2005-11-29 Thread Oded Arbel
On Tuesday, 29 בNovember 2005 17:28, Caldarale, Charles R wrote: > > From: Oded Arbel [mailto:[EMAIL PROTECTED] > > Subject: Re: Java databases as alternative to MySQL on OS X > > Server? (OT) > > > > inter-thread communication in java is done through shared > > memory - shared variables, but the J

Re: Tomcat suddenly not working

2005-11-29 Thread Wendy Smoak
On 11/29/05, Bachler, Elisabeth (Elisabeth) <[EMAIL PROTECTED]> wrote: > Let me add more info: > Tomcat version: 5.5.9 > JVM Version 1.5.0-04-b05 > OS Name = SunOS > OS Version = 5.9 > > I must have done something but I have no idea what!! > Please help me! You may think you're using JDK 1.5, but

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
I just had a look in the catalina.out and I have an error with log4j: log4j:WARN Failed to set property [maxBackupIndex] to value "10 // Keep 10 backup file maximum". and then: log4j:WARN Failed to set property [maxBackupIndex] to value "10 // Keep 10 backup file maximum". Nov 29, 2005 9:34:03 PM

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Duan, Nick
That's indeed good news. I'd really like to know the result and appreciate any details. Tomcat 5.5 supposed to run on JDK 1.5. Why was it compiled with JDK 1.4? ND -Original Message- From: Kennedy Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 3:24 PM To: Tomcat U

Java client does not re-use TCP/IP connections.

2005-11-29 Thread Magyar, Bence
Sorry, I'm quite new with all of this. I've created a java client to my tomcat web service using the Java2WSDL2 utility and WSDL2Java utility. Correct me if I'm wrong, I believe this is called the "stub" client model. At any rate, my main() function in my client looks like: // get the

RE: Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
Let me add more info: Tomcat version: 5.5.9 JVM Version 1.5.0-04-b05 OS Name = SunOS OS Version = 5.9 I must have done something but I have no idea what!! Please help me! -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: martes, 29 de noviembre de 2

RE: How to test connection pooling

2005-11-29 Thread Lucuk, Pete
>So you mean to say you did not get error for second request >and it created a new connection ? Yes, that is what I am saying (But this is for Oracle8i). >Whether it means there is a problem for MSSQL ? Yeah, I do not know what it means for MSSQL. I know I have read the netbeans forums and

Tomcat suddenly not working

2005-11-29 Thread Bachler, Elisabeth (Elisabeth)
Hello, I have tomcat everything was working fine and suddenly nothing is!! I was doing a shutdown.sh and now I can't even start it up. I get the following error: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a

RE: Client Authentication

2005-11-29 Thread Dobson Paul L Contr 84 MSUG/GBMLBR
Thanks for the additional insight into client authentication. The smart card and IE are set up correctly to prompt for a valid certificate. I know this because that is how it works when I visit other web sites on our network that has client authentication implimented. I have a feeling the prob

Re: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Kennedy Roberts
Martin, I have yet to try what you suggested, but if this is the case, I am grateful for your advice. I had already got our web application up and running on stand alone Tomcat (5.5.12) when I ran into this issue. Realizing this, I was thinking that I would have to scrap my work and start

Re: ClassNotFoundException when upgrading from 5.5.9 to 5.5.10+

2005-11-29 Thread David R Mulligan
I've had some traction on this problem. If I remove the Loader element from within my context element in server.xml I no longer get the CNFE or NCDE errors. As far as I know my loader elements are pretty much standard other than I have reloadable="true" and the checkInterval quite small. Any i

Re: HttpServlet not found?

2005-11-29 Thread Sebastian Funk
Hi, thanks a lot. Very quick. Only 3 minutes and I got help. Best regards, Sebastian Funk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Martin Dubuc
CRL support is present in Tomcat 5.5.12. I am not an expert on Tomcat CRL support but what I know is the following: - You will need to recompile some of the tomcat-util.jar classes with JDK 1.5 because Tomcat 5.5.12 was compiled with JDK 1.4. The classes to be recompiled are: org.apache.tomcat.ut

Re: un subscribing this newsgroup

2005-11-29 Thread Terry Allen
Hi! I am trying to unsubscribe from this newsgroup ( i have sent emails to unscribing email address listed in each email) but i still keep getting messages. Can someone tell me how can i unsubscribe "successfully". Thanks for your time, Regards, Usman. -

RE: HttpServlet not found?

2005-11-29 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Re: HttpServlet not found? > > But when I shouldn't set the $CLASSPATH, how can I load the MySQL- > Drivers? Read this: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html and then choose the appropriate spot in the Tomcat

Re: HttpServlet not found?

2005-11-29 Thread Sebastian Funk
Hi, thanks for helping. that seems to work. I'll be watching it. But when I shouldn't set the $CLASSPATH, how can I load the MySQL- Drivers? Thanks $ Greetings, Sebastian Funk - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

RE: web client running out of ports! (timeout exception)

2005-11-29 Thread Caldarale, Charles R
> From: Magyar, Bence [mailto:[EMAIL PROTECTED] > Subject: RE: web client running out of ports! (timeout exception) > > Shouldn't I be getting persistent, reusable connections as > the default with HTTP/1.1? I'm sure you are - but it's the client's responsibility to reuse them; all the server

RE: web client running out of ports! (timeout exception)

2005-11-29 Thread Magyar, Bence
Hi, You're right, it's probably something screwy with my client. Not sure what it could be though. In looking at my Tomcat terminal, i see: INFO: Starting Coyote HTTP/1.1 on http-8080 Shouldn't I be getting persistent, reusable connections as the default with HTTP/1.1?

RE: HttpServlet not found?

2005-11-29 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: HttpServlet not found? > > (otherwise take servlet-api.jar off CLASSPATH and put back > j2ee.jar to $J2EE_HOME\lib\j2ee.jar and place on CLASSPATH) I think you'll need to do more than that. Tomcat has a variety of class loaders, in

RE: Help with session-timeout

2005-11-29 Thread Rob Dickey
Are there any other services involved (JDBC, etc.) that are referenced by or in the session, or where the sessions are dependent? Just wondering why TC threads are invalidating the session... Another option to test is add a line of code in your login process (whatever establishes the HttpSession o

RE: How to test connection pooling

2005-11-29 Thread Manisha Sathe
Thanks for quick reply, So you mean to say you did not get error for second request and it created a new connection ? (But this is for Oracle8i). Whether it means there is a problem for MSSQL ? regards Manisha --- "Lucuk, Pete" <[EMAIL PROTECTED]> wrote: > I used Tomcat 4.1 and got the. >

mod_jk setting caused occassional 503 apache errors

2005-11-29 Thread Mott Leroy
I recently added some settings to my worker.properties which caused apache to throw occassional "503" ("Service Temporarily Unavailable") errors. I've commented out the setting and the errors do not occur. The settings are related to timeouts (connect_timeout, prepost_timeout, and reply_timeout)

RE: web client running out of ports! (timeout exception)

2005-11-29 Thread Caldarale, Charles R
> From: Magyar, Bence [mailto:[EMAIL PROTECTED] > Subject: web client running out of ports! (timeout exception) > > Every time I call a method, my java client opens a new port! If I'm understanding the problem correctly, I don't see how changing anything in the Tomcat configuation will help this

RE: How to test connection pooling

2005-11-29 Thread Lucuk, Pete
I used Tomcat 4.1 and got the. "create only one connection at first and then create more connections as needed" behavior and it works fine, no errors. Also, I am using Oracle 8i and use the Oracle jdbc driver ojdbc14.jar Different that commons stuff you are using. >-Original Mes

Re: HttpServlet not found?

2005-11-29 Thread Martin Gainty
yes if you're going to implement a simple servlet and you will not be implementing any (entity) beans (otherwise take servlet-api.jar off CLASSPATH and put back j2ee.jar to $J2EE_HOME\lib\j2ee.jar and place on CLASSPATH) Martin- - Original Message - From: "Caldarale, Charles R" <[EMAIL

Re: web.xml question

2005-11-29 Thread Robert Palmer
I was planning on doing this by having Apache handle the SSL and using its configuration file to differentiate between SSL'd areas of the site and non-SSL'd areas. Is this an option or should i rethink this? Tim Funk wrote: I would bet they are not using security constraints as defined in web

Re: JSP on apache

2005-11-29 Thread Lists
Mukesh, I would use tomcat with Apache to accomplish this... Or jetty. the links are below: To integrate the Tomcat server processes with the Apache HTTP server we need the mod_jk module, which implements the interface between Tomcat and Apache, combined with some small steps to configur

web client running out of ports! (timeout exception)

2005-11-29 Thread Magyar, Bence
Hello, I noticed some strange behavior the other day while load testing my simple web service.  First, my environment:  I am running Apache Tomcat 5.5.12 with Axis 1.3 on an XP box.  I've used Java2WSDL and WSDL2Java to generate the necessary bindings.  I used the generated .wsdd file to deplo

Help with session-timeout

2005-11-29 Thread Dave Morrow
Hi all. I have a server with multiple applications running under Tomcat 5.5 In /conf/web.xml is set to 30 In /webapps/myapp/WEB-INF/web.xml is set to -1 (infinite) Users are being timed out of their sessions after 30 minutes as opposed to never being timed out. Can anyone assist with thi

RE: How to test connection pooling

2005-11-29 Thread Manisha Sathe
Hi, After some testing on Tomcat 5 / Tomcat 4.1, i am finding some strange behaviour. I could figure out how to check number of conections on MSSQL. It is Enterprise Manager -> Management -> Current Processes - u have to refresh it now and then. 1)For Tomcat 5, it does create a pool of connectio

Tomcat installation: How do I specify an installation directory on the command line?

2005-11-29 Thread Tyler Carpenter
This regards Tomcat 5.x installation on a Windows system, using the Windows installer option. I need to integrate Tomcat installation into my installation program, and I’d like to do so silently, but I also need to be able to specify the location of installation.I can silently install Tomca

Re: web.xml question

2005-11-29 Thread Tim Funk
I would bet they are not using security constraints as defined in web.xml. I would bet they are using a 3rd party solution implemented as a Servlet Filter or something application server specific to handle this login issue. Notice they do not use JSESSIONID but something called BV_SessionID as p

Re: Sharing session across http and https connections

2005-11-29 Thread Chris Birch
Thanks for pointing out the gotcha Nick. The sites are both running on the same server, so I'll follow Tim's suggestion. Many Thanks for your responses, Chris. On 29 Nov 2005, at 17:24, Duan, Nick wrote: You can't do this if both sites are on different machines since tomcat user ID (defined

RE: web.xml question

2005-11-29 Thread Dean Searle
Tim, I'm not an expert with tomcat but how does a site like samsclub.com do it then? I use their site a lot and it runs jsp's and most of the stuff is unsecure (http) but when I get ready to do the actual purchase and log in it is a secure site (https). Is there something that they are doing, poss

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Dobson Paul L Contr 84 MSUG/GBMLBR
I am trying to do the same thing. I haven't implemented anything yet but found this: http://a-select.surfnet.nl It looks like it handles CRLs and interfaces nicely with Tomcat. Paul Dobson -Original Message- From: Kennedy Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29,

RE: Sharing session across http and https connections

2005-11-29 Thread Duan, Nick
You can't do this if both sites are on different machines since tomcat user ID (defined as a cookie by default), is tied to an url. If both sites are on different machines, you may have to use url-rewritting for session tracking instead of using the default cookies. ND -Original Message-

RE: JSP on apache

2005-11-29 Thread Dobson Paul L Contr 84 MSUG/GBMLBR
Apache Server will not run JSP applications. What you probably want to do is run Tomcat either as a stand alone server in place of Apache Server or set up Apache Server to send JSP requests through Tomcat. Either way, Tomcat will need to process the JSP requests. -Original Message- From:

Tomcat 4.1.31 error - method ()V not found

2005-11-29 Thread Richard Mixon
Hello, I am moving a couple of small Java websites for a customer from one hosting provider to another. Both are RedHat Linux machines with Tomcat 4.1.31 and Java 1.4.2. On the new server I get the following error the first time I hit a JSP page on the site. ... - Root Cause - java.lang.N

Re: Sharing session across http and https connections

2005-11-29 Thread Tim Funk
While in https - you'd need to reset the cookie (JSESSIONID) and not have the secure flag set. -Tim Chris Birch wrote: Hi, I'm sure this has been solved and documented already but I can't find any information, if anyone can help me or point me in the right direction, I'd be very grateful.

RE: How to test connection pooling

2005-11-29 Thread andy gordon
Show Processlist will show the number of initial connections at start but does it show what subsystem a connection is bound to? what if there are multiple tomcat's connected to one database. How do you differentiate? "Lucuk, Pete" <[EMAIL PROTECTED]> wrote: Manisha, I do not know how you chec

Sharing session across http and https connections

2005-11-29 Thread Chris Birch
Hi, I'm sure this has been solved and documented already but I can't find any information, if anyone can help me or point me in the right direction, I'd be very grateful. I have an Apache->mod_jk->Tomcat installation. I'm running two sites on Apache for the same domain but one is HTTP and t

Re: Client Authentication

2005-11-29 Thread Markus Plail
Dobson Paul L Contr 84 MSUG/GBMLBR <[EMAIL PROTECTED]> writes: > I am having a tough time finding information on implementing client > authentication. When trying to access my site, I need the user to be > presented with a dialog box asking for a digital certificate. The > certificate needs to be

httpd-tomcat, a difficult cohabitation on port 8O

2005-11-29 Thread Patrice Durosay
Hello all, without java nor tomcat experience, I'm now in charge of our web sites. The first (tomcatweb) has been developped earlier by some one under tomcat, and works properly with the tomcat server on port 80 (instead of 8080, question of authorisations). The second (phpweb) has been dev

RE: Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Duan, Nick
Tomcat currently doesn't support cert validation against CRL. You may want to use Apache's mod_ssl to do the CRL checking. You will have to use mod_jk to connect Apache web server with tomcat. SSL is very computational intensive. Use Apache's httpd to do the SSL work is more efficient than to u

Client Authentication

2005-11-29 Thread Dobson Paul L Contr 84 MSUG/GBMLBR
I am having a tough time finding information on implementing client authentication. When trying to access my site, I need the user to be presented with a dialog box asking for a digital certificate. The certificate needs to be validated then bounced against a list of revoked certificates, If it i

Re: HttpServlet not found?

2005-11-29 Thread Sebastian Funk
HI, On Nov 29, 2005, at 5:07 PM, Caldarale, Charles R wrote: From: Sebastian [mailto:[EMAIL PROTECTED] Subject: HttpServlet not found? I compiled it with "javac -cp /home/tomcat/j2ee/lib/j2ee.jar:/home/tomcat/mysql MyServlet.java". Using j2ee.jar with Tomcat usually results in much g

Re: Singleton memory leak after redeploying.

2005-11-29 Thread Lionel Farbos
I said this to simplify I agree that, in a large webapp, you need several loggers; each logger for a coherent system. But you have to control your loggers... In the initial question, it was like he had one logger for one class... So, the right answer should be : in log4j, there is no need fo

how to find number of requests currently being processed?

2005-11-29 Thread Brian O'Rourke
Hello, I'm trying to find out the number of requests currently being processed by my Tomcat server using JMX. I am using Tomcat 5.5.12, where it is no longer possible to find this out by counting the RequestProcessor beans returned by a JMX query - I'm told this is because of a new feature ( http:

Re: File Download not working for anchor tags

2005-11-29 Thread Mike
I tried that setContentType and fileInputStream solution, but ran into two problems. First, when I download an Excel file and load the downloaded file in Excel, it doesn't load in properly. I'm guessing there's some data transfer problem. Second, the first time I try to download, IE block

RE: HttpServlet not found?

2005-11-29 Thread Caldarale, Charles R
> From: Sebastian [mailto:[EMAIL PROTECTED] > Subject: HttpServlet not found? > > I compiled it with > "javac -cp /home/tomcat/j2ee/lib/j2ee.jar:/home/tomcat/mysql > MyServlet.java". Using j2ee.jar with Tomcat usually results in much grief, since it contains many classes that conflict wi

RE: heap size problems (speed) [2]

2005-11-29 Thread Peter Crowther
> From: Cristian S [mailto:[EMAIL PROTECTED] > Frankly I have no ideea what's the point of loading almost > 400M of data in memory in a HashMap. > Maybe this very approach has a design flaw when it comes to JAVA. If it's expensive to generate / load that data and the app has tight response time

Certificate Revocation Lists in Tomcat 5.5

2005-11-29 Thread Kennedy Roberts
Hi all, We've recently migrated our (SSL enabled) web application from SunOne to Tomcat 5.5, and I can't find any information on handling Certificate Revocation Lists in Tomcat. In SunOne, there was a function in the administration console that let you import a CRL. Is there any equivalen

RE: Singleton memory leak after redeploying.

2005-11-29 Thread Allistair Crossley
I disagree, only the most trivial webapp needs one logger. A web application consisting of a large number of subsystems, potentially managed/analysed by different teams should be logged to different locations. Effective debugging will come down to a well organised logging structure. -Original

  1   2   >