Tomcat hangs

2004-01-07 Thread Mindaugas Genutis
Hello, Our Tomcat hangs once in a few days. When the load is larger, sometimes it hangs even a few times a day. Our system configuration is: Tomcat 4.1.24 JVM 1.4.2 Linux Redhat 2 GB RAM We have deployed a big JSP application on our Tomcat. Mostly it does database (MySQL) / XML processing.

Re: newbie question

2004-01-07 Thread Bill Barker
FRANCOIS Dufour [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i read an eror in tomcat apache log 2004-01-02 08:09:46 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: socket closed at

RE: ajp13 errors

2004-01-07 Thread Altankov Peter
You can monitor bug 4663 issue at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4663 Lots of people encounter this or similar traces under load conditions. Search the mail archive too. BR -Original Message- From: Steve Harris [mailto:[EMAIL PROTECTED] Sent: 06 2004 . 18:12 To:

RE: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

2004-01-07 Thread Altankov Peter
Devinder, if you are on windows put your classes12.jar in common/lib if you on linux/unix - just make it a symlink in common/lib for the same .jar -Original Message- From: Sachdeva, Devinder [mailto:[EMAIL PROTECTED] Sent: 06 2004 . 17:10 To: [EMAIL PROTECTED] Subject:

[Q] Multi server environment

2004-01-07 Thread Riaan Oberholzer
I'm asking this because I've had experience in WebLogic with this, but I'm not even sure Tomcat can be set up like this, so maybe this is a non-issue... anyway... Suppose you setup Tomcat to have two servers do load balancing. Thus, you application is replicated over two servers, although you

RE: Tomcat hangs

2004-01-07 Thread Ryan Lissack
Hi, Which version of RedHat are you running? Ryan -Original Message- From: Mindaugas Genutis [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 08:49 To: [EMAIL PROTECTED] Subject: Tomcat hangs Hello, Our Tomcat hangs once in a few days. When the load is larger, sometimes it hangs

RE: [Q] Multi server environment

2004-01-07 Thread Ralph Einfeldt
Tomcat is not clustered. It just allows session replication between tomcat nodes. AFAIK every thing else is unique to each instance. You have to deploy to each instance, and you have unique pools in each instance that don't know anything about each other. (Not quite shure about the pool,

Re: Tomcat stops handling HTTP connections, socket is SYN_RECV

2004-01-07 Thread Frode E. Moe
On Mon, Oct 27, 2003 at 13:29:50 +0100, Remy Maucherat wrote: On Fri, Oct 24, 2003 at 16:01:48 +0200, [EMAIL PROTECTED] wrote: When everything quiets down, tomcat seems to be unable to service any http requests. Any attempt to connect to port 10003 with a web browser eventually causes a No

cannot access log files

2004-01-07 Thread Saurabh Parekh
Hi, I have tomcat 3.2.3 installed on a distant SUN OS server. I am using a Win2K system wanted to access the log files ( stderr, stdout, etc. ) generated by Tomcat. However when I checked the path for the log files, apparently none were generated. Do I need to make changes to any file or

RE: JSP developer mailing list address! Please

2004-01-07 Thread GuptaD
Thanks very much guys... -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 18:13 To: 'Tomcat Users List' Subject: RE: JSP developer mailing list address! Please There's also the javaranch.

Re: newbie question

2004-01-07 Thread FRANCOIS Dufour
thanks [EMAIL PROTECTED] crazy-wilys webmaster From: Bill Barker [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: newbie question Date: Wed, 7 Jan 2004 00:07:29 -0800 FRANCOIS Dufour [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i

Tomact 4.1.29 connection poolingusing JNDI! Please help a newbie

2004-01-07 Thread GuptaD
Hi Guys, I'm trying to implement connection pooling but it's giving me following error. I'm using Oracle thin drivers.Please help me..If somebody could post the code for successfull implementation then it would be greate.. My Server.xml Context is as following - Context

Unable to access secure port on RHEL 3.0

2004-01-07 Thread Julie christiana
Hi All, We have migrated our application from RH Linux 8.0 to Enterprise Linux 3.0 version. We are using tomcat 4.1.24. When tomcat is started, we are able to access the application using http port :8080http://hostname:8080 works but :8443https://hostname:8443 does not work. The index.jsp

RE: [Q] Multi server environment

2004-01-07 Thread Altankov Peter
Mark is right. If you go for, lets say, 2 tomcat workers they are totally independent instances of jvm and if they use DBCP and pool you actually get 2 pools. Thus if you set it with 16 connections each this is actually what you get. -Original Message- From: Riaan Oberholzer

RE: Tomact 4.1.29 connection poolingusing JNDI! Please help a newbie

2004-01-07 Thread Ralph Einfeldt
That indicates either - that your servername and/or port in the connection string is not correct. - server and port are not reachable from the machine that runs tomcat (e.g. the port is blocked by a firewall). - the database isn't running. -Original Message- From: [EMAIL

RE: Tomact 4.1.29 connection poolingusing JNDI! Please help a new bie

2004-01-07 Thread GuptaD
Hi Ralph, Thanks very much for your quick reply and help..I really appreciate it... I checked with the other sid and it worked... I'm really very gratefull to you. Thanks once again.. Regards, Divya -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: 07

Re: Tomact 4.1.29 connection poolingusing JNDI! Please help a newbie

2004-01-07 Thread Spam
It looks more like an Oracle jdbc problem rather than Tomcat problem. Please have a look at the error description: http://questsupportlink.quest.com/ConnectionAssistant/ora12505.asp Are you sure your URI is valid? jdbc:oracle:thin:@dpwdev02:1521:dprd Especially the dprd which should be the

Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Jay Glanville
I originally posted this question back in mid-December, but without any responses. In the hopes that someone will have a hit or a solution, I'm reposting the question again. I'm having a problem when I try to use my pre-compiled JSP files: I receive a NoClassDefFoundError exception. Here's

Re: load test suite - apache-tomcat

2004-01-07 Thread Peter Lin
you might want to give JMeter and Apache AB a try, if they are suitable. peter lin [EMAIL PROTECTED] wrote: Loadrunner is one nice tool for creating script for web load testing. You can do absolutly anything with that tool. I tried lots of other load testing suite opensource or not and I`m

No Java compiler was found ....

2004-01-07 Thread Antony Paul
Hi all, I am using Tomcat 5.0.16(for testing purpose only). When a page is having an error like missing semicolon or a special character in code it is giving the following error in browser. org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile

Re: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Antony Paul
I have same problem but it is not thoroughly investigated. Any help will be appreciated Antony Paul - Original Message - From: Jay Glanville [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 6:50 PM Subject: Problems running pre-compiled JSP

RE: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Ralph Einfeldt
May be you should have a look at the following: - the package statements in the generated source files - the file structure of the generate class files -Original Message- From: Jay Glanville [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:20 PM To: 'Tomcat Users List'

Re: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Antony Paul
The generated servlets are not put in a package. When Tomcat is compiling JSP it is put in org.apache.jsp. How to set this in the jspc task. The files are generated as usual in the work directory in the same structure as Tomcat itself compiles JSP files. Antony Paul - Original Message -

RE: Problems running pre-compiled JSP classes when in subdirector ies

2004-01-07 Thread Edson Alves Pereira
Show us the exception how it appears to you. -- De: Jay Glanville[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quarta-feira, 7 de janeiro de 2004 10:20 Para: 'Tomcat Users List' Assunto: Problems running pre-compiled JSP classes when in

Custom-Principal

2004-01-07 Thread anis
Hi, I am using JBoss 3.2.3 with embedded Tomcat 4. I am developping a secure web-application based on JAAS. The problem is that I want to use my own custom Principal. I made the necessary changes in JBoss and EJBContext.getUserprincopal delivers the right Implementation. But when I call

Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
Hi, I'm using Xalan for XSL transformations. I can get the Xalan extension redirect) to work from the command line test progs, but fails when used within servlet. The output file I'm trying to write has the full path. Any ideas? Best regards Chris

Re: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Antony Paul
exception javax.servlet.ServletException: org/apache/jsp/index_jsp (wrong name: index_jsp) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) java.lang.NoClassDefFoundError:

RE: Threaded servlets okay in a compliant container?

2004-01-07 Thread Altankov Peter
David, you can have wget/Scheduled task on Win box -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: 05 2004 . 20:54 To: Tomcat Users List Subject: Re: Threaded servlets okay in a compliant container? The use of a cron job that does a WGET on a URL that triggers the

Re: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Antony Paul
I think the problem is the compiled source file is not in the org.apache.jsp package. How to set this in jspc task. Antony Paul - Original Message - From: Antony Paul [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 7:41 PM Subject: Re: Problems

RE: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Jay Glanville
Here is the exception in it's entirety, as recorded in the log file: 2003-12-15 20:11:25 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: org/apache/jsp/index_jsp (wrong name: org/apache/jsp/dir/index_jsp) at

TC 4.1.12 on Linux - session swapping

2004-01-07 Thread Norris Shelton
We are running TC 4.1.12 on Linux. We have 8 different websites that run on tomcat. Most of them are low volume. We have encountered the problem where a test engine is executing multiple requests from multiple machines using multiple user accounts against a specific webapp. Sometimes the

RE: Warning of session timeout.

2004-01-07 Thread Altankov Peter
And ofcourse, if you dont like the simple solutions and/or want to add more complex behaviour, you can always go for a Java Applet that connects to the server -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED] Sent: 06 2004 . 20:04 To: Tomcat Users List Subject: Warning

Re: No Java compiler was found ....

2004-01-07 Thread Rod Giffin
Antony Paul said: Interestingly it is printing lots of lines in console including the classpath and the actual error(; expected). I am using it on Win2k SP4 machine which have both JDK1.3.1 and 1.4.1 installed. I compiled Tomcat from source. I remember that JDK 1.4.1 is used for compiling

Tomcat reconnect to database server?

2004-01-07 Thread Derek Mahar
How can I configure Tomcat 5.0.16 to reconnect to a Microsot SQL Server after a server restart? I have configured Tomcat to use JNDI datasources (through Resource and ResourceParam elements within GlobalNamingResources). I presume that at startup, Tomcat connects to the server and creates a pool

Re: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread epyonne
Yes, environmental variables are still necessary in XP. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 09:19 PM Subject: Tomcat 5.0.16 in XP Profesional Dear all, I have install Tomcat 5.0.16 in my XP Professional with JVM1.4_02

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Jason Roscoe
I have tried setting these environment variables up and I get the error: Exception in thread main java.lang.NoClassDefFoundError; org/apache/catalina/startup/Bootstrap. My environment variables are: JAVA_HOME: E:\j2sdk_nb\j2sdk1.4.2 CATALINA_HOME:

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Rod Giffin
Jason Roscoe said: I have tried setting these environment variables up and I get the error: Exception in thread main java.lang.NoClassDefFoundError; org/apache/catalina/startup/Bootstrap. My environment variables are: JAVA_HOME: E:\j2sdk_nb\j2sdk1.4.2 CATALINA_HOME:

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Ralph Einfeldt
The value CATALINA_HOME doesn't sound valid. CATALINA_HOME should point to the directory that contains typically something like: bin webapps lib server conf common logs work classes -Original Message- From: Jason Roscoe [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 3:35

Re: Tomcat reconnect to database server?

2004-01-07 Thread Philipp Taprogge
Hi! I don't know MSSQL in particular, but in princible it should be as simple as adding ?autoreconnect=true to the driver URL. Phil Derek Mahar wrote: How can I configure Tomcat 5.0.16 to reconnect to a Microsot SQL Server after a server restart? I have configured Tomcat to use JNDI

RE: Tomcat reconnect to database server?

2004-01-07 Thread D'Alessandro, Arthur
You may also want to put in a validation query, it adds overhead, but it forces a reconnection.. I had a similar problem with postgres where the pooled connections didn't know they were no longer properly connected. By adding the validation query, it forces the manager to verify connection before

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Jason Roscoe
If I try any of these: CATALINA_HOME: E:\jakarta-tomcat-5.0.16-src\jakarta-tomcat-catalina\ CATALINA_HOME: E:\jakarta-tomcat-5.0.16-src CATALINA_HOME: E:\jakarta-tomcat-5.0.16-src\jakarta-tomcat-catalina\catalina I get: The CATALINA_HOME environment variable is not defined correctly... No, I

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Jason Roscoe
I don't have a directory that has all those in it, this is Tomcat 5, not sure that makes a difference or not. The directories I have are: jakarta-tomcat-5.0.16-src\ jakarta-servletapi-5\ jakarta-tomcat-catlina\ jakarta-tomcat-connectors\ jakarta-tomcat-jasper\

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Rod Giffin
Jason Roscoe said: If I try any of these: CATALINA_HOME: E:\jakarta-tomcat-5.0.16-src\jakarta-tomcat-catalina\ CATALINA_HOME: E:\jakarta-tomcat-5.0.16-src CATALINA_HOME: E:\jakarta-tomcat-5.0.16-src\jakarta-tomcat-catalina\catalina I get: The CATALINA_HOME environment variable is not

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Jason Roscoe
I am trying to start the server using the startup.bat file found in jakarta-tomcat-5.0.16-src\jakarta-tomcat-catalina\catalina\src\bin. Maybe I'm not starting it correctly??? -Original Message- From: Rod Giffin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 9:48 AM To:

RE: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Larry Isaacs
There is a choice when pre-compiling JSPs. 1. Compile to real servlets. This involves precompiling the JSPs to classes and adding mappings to the web.xml so they execute just like other servlets. This cuts the JspServlet out of the picture and the JSPs are executed the same as other

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Ralph Einfeldt
You either have to download the binary version of tomcat from http://jakarta.apache.org/site/binindex.cgi or to create a binary from the sources: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/building.html More details installing the binary download can be found in

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Mike Curwen
You have downloaded the *source* of Tomcat. You need the binary in order to actually run Tomcat. -Original Message- From: Jason Roscoe [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 8:58 AM To: 'Tomcat Users List' Subject: RE: Tomcat 5.0.16 in XP Profesional I

Re: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread epyonne
As the other posters pointed out, you are pointing the variable to your source code which is wrong. I seriously doubt that you installed Tomcat on a directory called jakarta-tomcat-5.0.16-src. You need to check your installation. - Original Message - From: Jason Roscoe [EMAIL

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Jason Roscoe
Ok, I downloaded the binaries, installed them and tried to start Tomcat from my windows start panel, and nothing happened. I ran startup.bat and I got the server to start up now, but when I go to localhost:8080 I get: The page cannot be displayed -Original Message- From: Mike Curwen

RE: beanutils.BeanComparator

2004-01-07 Thread Shapira, Yoav
Howdy, This is the wrong place as Tim said, and you need either a custom comparator that handles two bean properties or a third property of the bean that combined the first and last names. But don't continue this thread here please... Yoav Shapira Millennium ChemInformatics -Original

RE: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/web.xml

2004-01-07 Thread Shapira, Yoav
Howdy, Do you have symbolic links throughout your webapp, e.g. to files in WEB-INF/lib? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 9:37 PM To: [EMAIL PROTECTED] Subject: Unable to

RE: Warning of session timeout.

2004-01-07 Thread Michael Cardon
Do you know of any Java Applets out there that I could look at for examples? Thanks. Michael -Original Message- From: Altankov Peter [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 6:23 AM To: Tomcat Users List Subject: RE: Warning of session timeout. And ofcourse, if you

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, Perhaps if you provided a bit more detail than just fails when used within servlet then we could help some more ;) Are there any errors in your log? Do you (i.e. the user account running tomcat) have write permissions to the directory/file you're trying to write? What tomcat version,

Clustering Problem

2004-01-07 Thread Steve Nelson
I was having random problems with clustering when starting up. Mostly it had to do with Timing out when the manager was starting up. I built the CVS version and it solved that problem. But it has caused some serious performance problems. First a little background. I have 2 servers, dual

RE: Problems running pre-compiled JSP classes when in subdirector ies

2004-01-07 Thread Edson Alves Pereira
That´s the answer, you need to specify org.apache as your JSP package. Here´s a example from my build.xml how to use jspc jspc srcdir =${webapp}/jsp//Place where JSPC can find web.xml destdir =${webapp}//place where jsp files will be created

excel from java

2004-01-07 Thread Kumar, Sumit
Hello, I want to generate some complex excel sheets (performing calculations, using pivot tables etc) from my java code. Can somebody point me to good opensource tools available to do that. I looked on apache and came across POI-HSSF project. Is this the way to go or there are any better tools..

Re: Unable to access secure port on RHEL 3.0

2004-01-07 Thread QM
: :8443https://hostname:8443 does not work. The index.jsp page does : not come up. : The same used to work perfectly on RH 7.3/ RH 8.0 : Anyone has any idea what would be wrong ? 1/ was the machine upgraded in-place, or was the app setup on a new (or redeployed/reinstalled) machine? 2/ What

RE: Warning of session timeout.

2004-01-07 Thread Altankov Peter
No sorry, was just an idea :( -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED] Sent: 07 2004 . 17:51 To: Tomcat Users List Subject: RE: Warning of session timeout. Do you know of any Java Applets out there that I could look at for examples? Thanks.

Re: TC 4.1.12 on Linux - session swapping

2004-01-07 Thread QM
: machine 1 will sometimes get the results from query 2. Smells like an instance/global variable where there shouldn't be one. Add that to a subtle race condition and you have the problem you've outlined. Are the queries being posted to the same servlet? -QM -- software --

RE: excel from java

2004-01-07 Thread Edson Alves Pereira
I´d take a look at OpenOffice code ( www.openoffice.og ) -- De: Kumar, Sumit[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quarta-feira, 7 de janeiro de 2004 13:04 Para: 'Tomcat Users List' Assunto: excel from java Hello, I want to

RE: TC 4.1.12 on Linux - session swapping

2004-01-07 Thread Altankov Peter
This has the taste of a thread safety issue. Do you guys happen to run the query against the same servlet? If yes, do you happen to use variables, defined in the servlet class scope in order to extract objects from session? BR -Original Message- From: Norris Shelton [mailto:[EMAIL

HttpSessionListener - sessionDestroyed

2004-01-07 Thread Chakravarthy, Sundar
Does Tomcat 4.x call sessionDestroyed if the user closes his browser window or only on Session invalidate() or timeout ( 30 mts ) ? Notice sessionCreated is called but not sessionDestroyed. Thanks - To unsubscribe, e-mail:

RE: Tomcat reconnect to database server?

2004-01-07 Thread Derek Mahar
Thanks for your reply. Unfortunately, the Microsoft SQL Server JDBC driver does not support an autoreconnect option. Do I need a separate connection pool manager? The MS SQL Server JDBC driver documentation suggests that I might need such a manager since the driver does not itself manage the

RE: Tomcat reconnect to database server?

2004-01-07 Thread Derek Mahar
Where do I specify the validation query? Is there a way to configure the default connection pool manager? Derek -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: January 7, 2004 9:48 AM To: Tomcat Users List Subject: RE: Tomcat reconnect to database server?

RE: excel from java

2004-01-07 Thread David Sierra Fernández
You can also take a look at JAWIN. it's a bridge between JAva and Win32. You can manage any scriptable COM object from your java code. It could be a good option if you are good in programming Excel from Visual Basic script. here you have an example, a piece of code to generate a new excel sheet

Re: Custom-Principal

2004-01-07 Thread Jeanfrancois Arcand
anis wrote: Hi, I am using JBoss 3.2.3 with embedded Tomcat 4. I am developping a secure web-application based on JAAS. The problem is that I want to use my own custom Principal. I made the necessary changes in JBoss and EJBContext.getUserprincopal delivers the right Implementation. But when

RE: Tomcat reconnect to database server?

2004-01-07 Thread Altankov Peter
The DBCP pool that you lookup from JNDI is already such a connection manager. Just try adding the validation query that Arthur suggested. Im not sure for MSSQL but I use this for Oracle: parameter namevalidationQuery/name valueSELECT 1 FROM dual/value /parameter

RE: Tomcat reconnect to database server?

2004-01-07 Thread Steve Nelson
Does this force it to reconnect in the case of an error? I know the documentation lists adding ?autoreconnect=true to the connection string to cause this to happen. Course I have only seen this with MySQL Databases. -Steve P.S. has anyone gotten the MySQL driver failover to work?

Silent install of Tomcat on Windows?

2004-01-07 Thread Mike Kellstrand
I've poked around a bit, but could find any info on this ... The standard Tomcat installer for Windows asks a number of questions during the install. Are there command-line parameters or any other way to invoke the process from a batch file with all the required settings (like install dir, and

Connection Pooling

2004-01-07 Thread Hart, Justin
Is there some manner in which a database connection should be returned to the connection pool, or is that automatic? Justin

RE: Connection Pooling

2004-01-07 Thread D'Alessandro, Arthur
I believe when you close the connection, which should be added in a finally block eg. } finally { try { oConn.close(); } catch (Exception ex) { // Can't recovery gracefully,

Re: Connection Pooling

2004-01-07 Thread James Neville
Justin, That would all depend on the pooling implementation you're using. Commonly, its pool.free(conn) or pool.freeConnection(conn). Remember *not* to close the connection if you're using connection pooling, as this should be handled by the pool itself. That said one of my colleagues

MAPPING configuration error for request URI

2004-01-07 Thread Ram
Hi All, I am getting this error in Tomcat embeded with Borland Enterprise Server. Error log : MAPPING configuration error for request URI This keeps coming in the log window. This has been posted before but I could not locate the exact reason. Therefore can you please point the email or suggest

tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
I was having random problems with clustering when starting up. Mostly it had to do with Timing out when the manager was starting up. I built the CVS version and it solved that problem. But it has caused some serious performance problems. First a little background. I have 2 servers, dual

RE: tomcat 5.0.16 Replication (This is a Thread is a Duplicate Pl ease Ignore)

2004-01-07 Thread Steve Nelson

Re: Silent install of Tomcat on Windows?

2004-01-07 Thread Thomas Kellerer
Mike Kellstrand schrieb: I've poked around a bit, but could find any info on this ... The standard Tomcat installer for Windows asks a number of questions during the install. Are there command-line parameters or any other way to invoke the process from a batch file with all the required

RE: jdk14Logger.log NoSuchMethodError

2004-01-07 Thread Shapira, Yoav
Howdy, You can't use JDK 1.4 logging in JDK 1.3.1. Yoav Shapira Millennium ChemInformatics -Original Message- From: sushma [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 6:22 PM To: [EMAIL PROTECTED] Subject: jdk14Logger.log NoSuchMethodError I added some of the jdk logging

RE: No Java compiler was found ....

2004-01-07 Thread Shapira, Yoav
Howdy, Did you fix the actual error that's in the log, as opposed to this tools.jar error which can sometimes mask the root cause? Yoav Shapira Millennium ChemInformatics -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 8:34 AM To: Tomcat

RE: Connection Pooling

2004-01-07 Thread Edson Alves Pereira
Usually every databse has its own ConnectionPool implementation. -- De: James Neville[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quarta-feira, 7 de janeiro de 2004 13:50 Para: Tomcat Users List Assunto: Re: Connection Pooling

RE: Newbie needing help in deploying servlet

2004-01-07 Thread Shapira, Yoav
Howdy, Read the FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker Yoav Shapira Millennium ChemInformatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of David Sent: Tuesday, January 06, 2004 5:43 PM To: [EMAIL PROTECTED] Subject: Newbie needing help in

Re: Silent install of Tomcat on Windows?

2004-01-07 Thread Mike Kellstrand
Mike Kellstrand schrieb: Are there command-line parameters or any other way to invoke the process from a batch file with all the required settings (like install dir, and to install as a service) so it could be an unattended install? Why don't you just use the zip archive and unpack

RE: TC 4.1.12 on Linux - session swapping

2004-01-07 Thread Shapira, Yoav
Howdy, Perhaps a threading bug that causes a race condition to the session information. It could be in tomcat or in your webapp. It'll be hard to come with a test case that always demonstrates this issue, but if you can, please contribute the tiny webapp that illustrates the bug to bugzilla.

RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Shapira, Yoav
Howdy, Isn't it much easier to try this than to email the list? ;) Tomcat doesn't care much for the user's browser. Yoav Shapira Millennium ChemInformatics -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:19 AM To: Tomcat

RE: Unable to access secure port on RHEL 3.0

2004-01-07 Thread Shapira, Yoav
Howdy, Same tomcat version, same server.xml? Yoav Shapira Millennium ChemInformatics -Original Message- From: Julie christiana [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 7:28 AM To: [EMAIL PROTECTED] Subject: Unable to access secure port on RHEL 3.0 Hi All, We have

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Shapira, Yoav
Howdy, [kb] OK, but how can my app be agnostic of the context path if I need to do things like dynamically construct URLs? Why does the need to request a resource in the same web app constitute a design flaw? Surely this is a fairly common requirement . . . how else would I index dynamic

RE: excel from java

2004-01-07 Thread Shapira, Yoav
Howdy, If you're working with Office XP or later, you can use XML spreadsheets. It actually work great. See this URL: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_xl2 003_ta/html/odc_xmllists.asp (If the link doesn't work, it's the article titled XML in Excel and the

RE: Tomcat hangs

2004-01-07 Thread Shapira, Yoav
Howdy, Look at your logs for errors, including OutOfMemoryErrors. Determine what is the maximum expected load your application needs to handle, and then determine the memory your application requires in order to handle that load with acceptable response times. Create test scripts to stress test

RE: Custom-Principal

2004-01-07 Thread Shapira, Yoav
Howdy, Hmm, I could swear I've read and answered this exact message, maybe a few weeks ago. Or maybe I'm dreaming. Anyways, you need a custom Realm implementation, probably a simple extension of one of the existing Realms (see the Realm how-to and server.xml for discussion and examples).

RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Chakravarthy, Sundar
Hi, I did try and it didn't work; hence the email ;-) How does one trap browser close event , javascript ? Thanks -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:35 AM To: Tomcat Users List Subject: RE: HttpSessionListener -

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
Howdy, Perhaps if you provided a bit more detail than just fails when used within servlet then we could help some more ;) Ah. Yes. Very good point. Are there any errors in your log? Do you (i.e. the user account running tomcat) have write permissions to the directory/file you're

RE: MAPPING configuration error for request URI

2004-01-07 Thread Shapira, Yoav
Howdy, There are many possible reasons. You should have more information in your logs. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ram [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 12:29 AM To: [EMAIL PROTECTED] Subject: MAPPING configuration error

RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Shapira, Yoav
Howdy, I did try and it didn't work; hence the email ;-) Good, I'm glad you tried. Session creation and destruction are not always connected to browser opening and closing. How does one trap browser close event , javascript ? Yeah, window onClose. Be careful going down this path, however,

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
Correction to previous posting... (error message) Howdy, Perhaps if you provided a bit more detail than just fails when used within servlet then we could help some more ;) Ah. Yes. Very good point. Are there any errors in your log? Do you (i.e. the user account running

I need help with JspC

2004-01-07 Thread Ikonne, Ike
Hi all, I am new to this group, but I have a problem: I am trying to compile my jsps using the following command java -classpath javax.servlet.jar:jasper-compiler.jar:jasper-runtime.jar:commons-logging.jar org.apache.jasper.JspC -v8 newAccount.jsp But I am getting the following error

Re: Tomcat hangs

2004-01-07 Thread Terry Orechia
If you are running Redhat version 9.0, then it might be a problem with NPTL( stands for Native POSIX Threading Library and it is a new form of threading introduced in RedHat with version 9.0 in RedHat 9). Try setting the following environment variable: LD_ASSUME_KERNEL=2.4.1 There is a

JDBCRealm with Tomcat 5 (newbie!)

2004-01-07 Thread FTP Admin
Hi, I was trying to find an example application using the JDBCREalm (if possible using Mysql). I don't mean the Tomcat5 configuration part, which is well explained in the docs, but some code clarifying the implementation with a servlet etc. I don't know if you could point me to some relevant

Off-topic - Java and X11 Window Server

2004-01-07 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, Have anybody ever seen this error before? The X11 seems to be alive at my environment -- Conectiva Linux. The target Java app,GraficoBig, works with a free package, called org.jfree.char and org.jfree.gui. 500 Internal Server Error java.lang.InternalError: Can't connect to X11 window

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, Perhaps a case-sensitivity issue? What happens if you use Redirect instead of redirect? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 12:40 PM To: [EMAIL PROTECTED] Subject: RE: Xalan

RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-07 Thread Maxime Pelletier
Thanks for your help. -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: January 6, 2004 5:27 PM To: Tomcat Users List Subject: RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2 Hmm -- everything looks correct (though I don't use the invoker

Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
Hello! I just upgraded a web application from Tomcat 4.0.6/mod_jk 1.2.5 to Tomcat 4.1.29/mod_jk2 2.0.2 (built myself), both on Apache 1.3.27 on Linux. Our webapp runs as the ROOT context (files are in $TOMCAT_HOME/webapps/ROOT). We have precompiled the JSP pages for 4.1.29, but did not do that in

  1   2   >