Session and sendRedirect(url)

2006-09-18 Thread Serlet Jean-Claude
Hello What i'm looking for is the answer to this question Under Tomcat 5.5 _ Windows 2003 what happen to a session when there is a sendRedirect(url) used ? Is this session be invalidate ? Thanks you Jean-Claude

Re: Session and sendRedirect(url)

2006-09-18 Thread David Smith
Serlet Jean-Claude wrote: Hello What i'm looking for is the answer to this question Under Tomcat 5.5 _ Windows 2003 what happen to a session when there is a sendRedirect(url) used ? Is this session be invalidate ? Thanks you Jean-Claude Session to my knowledge does not get invalidated

Why SavedRequest should be Serializable (or at least not stored in a Session note)

2006-09-18 Thread Alberto Rodriguez Galdo
Hi, Servlet 2.4 specification states that Migration of sessions will be handled by container-specific facilities. and The Container Provider can ensure scalability and quality of service features like load-balancing and failover by having the ability to move a session object, and its

Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Hi all. I'm attempting to set up database connection pool using Tomcat 5.5 and Oracle 10g. I've been following the JNDI How To guide from Apache (http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html ). My question is - where should I define the connection pool resource?

Re: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Pid
post your context.xml Darren Hall wrote: Hi all. I'm attempting to set up database connection pool using Tomcat 5.5 and Oracle 10g. I've been following the JNDI How To guide from Apache (http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html ). My question is -

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Here it is. The items in parenthesis have been removed. Thanks for the help. Context path=/flc docBase=flc debug=5 reloadable=true crossContext=true !-- maxActive: Maximum number of dB connections in pool. Make sure you configure your oracle max_connections large enough to

Re: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Mark Barnes
Do you include a resource-ref in your WEB-INF/web.xml file? You might also want to post your web.xml Pid wrote: post your context.xml Darren Hall wrote: Hi all. I'm attempting to set up database connection pool using Tomcat 5.5 and Oracle 10g. I've been following the JNDI How To

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Yes, I did. Here is the web.xml ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app display-nameMy Web Application/display-name description Web Application.

RE: Tomcat + SSL

2006-09-18 Thread Caldarale, Charles R
From: taylan kuecuek [mailto:[EMAIL PROTECTED] Subject: Tomcat + SSL 1) i need ssl but i don't know how i should configure ssl. Should i install Apache web server and konfigure apache to provide ssl? Unless you have some other pressing need for Apache httpd (e.g., load balancing across

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
The issue could be the path attribute or docbase attribute in the context.xml. I'm not sure what values should appear for these. -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 11:26 AM To: 'Tomcat Users List' Subject: RE: Database

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Here's another question... If the database pool is not created properly, will it fail silently, or will an error be displayed in a log file? And if an error is output to a log file, which one will it be? -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Large Data Post Problem

2006-09-18 Thread James Grady
Rainer, I tried upgrading mod_jk, but that did not solve the problem. And, I double-checked that I did not have a small maxPostSize value set anywhere. Initially I suspected that I might have a bad encoded value in my uploaded data, but if I split the 40k data set into 2 pieces it will

Re: Large Data Post Problem

2006-09-18 Thread Rafael . Almeida
Do you use SSL? We had this problem here and the problem was on Apache. It was corrected on apache 2.0.56. Look at the changelog: (http://www.apache.org/dist/httpd/CHANGES_2.0) mod_proxy_http: Prevent data corruption of POST request bodies when client accesses proxied resources with SSL. PR

database server seeing blank user name

2006-09-18 Thread Scott Cowley
Hello, Tomcats! What might be the reason for a javax servlet exception such as this? Cannot create poolable connection factory (login failed for user ''.) It appears that either tomcat or the driver are dropping the user's name. Details: --- OS: MS Win Server 2003 Tomcat: 5.5.17

Re: database server seeing blank user name

2006-09-18 Thread David Smith
Most of your Resource def looks good. You should drop the leading capitalization on DatabaseName=tomcat_test and SelectMethod=cursor. These will never be set as is. Resource name=jdbc/tests auth=Container type=javax.sql.DataSource username=testuser

Re: Large Data Post Problem

2006-09-18 Thread Rainer Jung
Apart from what the other user wrote: Do you get an exception on the tomcat side? There was a bug in Reader.readLine() I fixed for 5.5.16: http://issues.apache.org/bugzilla/show_bug.cgi?id=38346 TC 5.5.7 is pretty old and not really stable. I suggest testing again with 5.5.17 (or the upcoming

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
I've made some progress on this. I'm now receiving a SQLNestedException: Cannot create PoolableConnectionFactory error when calling getConnection on the DataSource object retrieved from my connection pool. Here is the satck trace: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create

Re: Large Data Post Problem

2006-09-18 Thread James Grady
Rafael, Yes - I am using SSL. I will try an upgrade of Apache to see if this fixes the problem. Thanks, James On Mon, 18 Sep 2006 14:28:30 -0300 [EMAIL PROTECTED] wrote: Do you use SSL? We had this problem here and the problem was on Apache. It was corrected on apache 2.0.56. Look at

Connector Configuration attributes

2006-09-18 Thread William Campillo
I was having a problem uploading files to a Database via Java applications in Tomcat. I solved the problem by changing the connectionTimeout Connector configuration attribute to 6. But I have some questions: 1) Is there a resource that provides more detail for Connector configuration

Re: Large Data Post Problem

2006-09-18 Thread James Grady
Rainer, I get no exceptions on the Tomcat side. With logging turned all the way up, things seem to be working great - I see all my data displayed in the mod_jk log messages, but when it gets to my code the data is empty and Tomcat shows no indication of an error. I will try a Tomcat

RE: database server seeing blank user name

2006-09-18 Thread Scott Cowley
Thanks for the reply, David. We made the changes but didn't get rid of the error. (Shouldn't have to restart Tomcat, right? Altho we did.) Any other ideas ? - scott cowley -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 11:48 AM To: Tomcat

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Derrick Koes
You are likely connecting to the wrong catalog. Is the pool parameter defaultCatalog set? -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 2:00 PM To: 'Tomcat Users List' Subject: RE: Database connection pooling in Tomcat 5.5 I've

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
You are likely connecting to the wrong catalog. Is the pool parameter defaultCatalog set? That's specified in my Context, correct? If so, then no, I don't have my defaultCatalog parameter set. Here is my context.xml file (comments removed, as well as domain uname and passwd) Context

java.net.BindException

2006-09-18 Thread Kevin Mullin
I'm getting this error in Tomcat running on an IBM mainframe with z/OS V1R7 as the operating system. Can someone tell me wat java.net.BIndException means? Kevin Mullin Sr. Analyst IBM Corporation (206) 345-7068 [EMAIL PROTECTED]

RE: java.net.BindException

2006-09-18 Thread Caldarale, Charles R
From: Kevin Mullin [mailto:[EMAIL PROTECTED] Subject: java.net.BindException I'm getting this error in Tomcat running on an IBM mainframe with z/OS V1R7 as the operating system. Can someone tell me wat java.net.BIndException means? RTFM. A quick look a the API spec says: Signals that

Re: java.net.BindException

2006-09-18 Thread Martin Gainty
It means your port is already bound You can see the process which is using the port if you do a netstat -b You will see which SpecificProcessID which has bound the port (If its Tomcat the default Catalina port is 8080) then to see the particulars of that process ps -process SpecificProcessID

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Is there any other information I can supply to help people help me understand why I'm getting this error (below)? I've made some progress on this. I'm now receiving a SQLNestedException: Cannot create PoolableConnectionFactory error when calling getConnection on the DataSource object

Too many problems. Need help.

2006-09-18 Thread Kevin Mullin
I just installed Tomcat 5.5.17 onto my IBM mainframe system, running operating system z/OS 1.7. I'm getting numerous problems with JCL that I obtained from JZOS which is purported to start tomcat, but I am getting numerous failures that I would appreciate some help on. The first is: . . . Sep

Re: Database connection pooling in Tomcat 5.5

2006-09-18 Thread David Smith
Inidcations are from the exception, the config on your end is working and it's actually attempting to get a connection, but the login fails. Have you tried using the client software from the machine tomcat is on, using the same tcp/ip url and parameters tomcat is using? Are there any logs on

Re: database server seeing blank user name

2006-09-18 Thread David Smith
Got me unless MS is being it's usual cryptic self with the error messages. Check the docs for your jdbc driver to be sure you've put in the url and other parameters correctly. Also check the logs on the MS SQL server for any helpful hints on that end. ---David Scott Cowley wrote: Thanks

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Further progress... When I connect to the database directly (not using a connection pool) and specify the same username and password below, the code executes fine. When I try to do the context lookup and connect to the database via the connection pool, I get the invalid username/password; logon

Tomcat and multiple IP addresses

2006-09-18 Thread Ping Yu
Hi, I have a question that I would like ask help or suggestions from people in this maillist. I would like to transfer a file from Machine A to Machine B. In Machine A, there are several IP addresses. However, the IP address launched by Tomcat might be different from the IP address

RE: Tomcat and multiple IP addresses

2006-09-18 Thread Caldarale, Charles R
From: Ping Yu [mailto:[EMAIL PROTECTED] Subject: Tomcat and multiple IP addresses Are there any ways that I can get to know which IP address that Tomcat starts with in a single machine? Unless a specific IP address is configured for a connector, Tomcat listens on all IP addresses on the

Cycling Missing File Error

2006-09-18 Thread Justin Jaynes
Hello Tomcat Users et. al. I've been developing with tomcat for a few years now, and I've never had this problem until I decided to restructure some code to save time by consolidating files with similar content AT DIFFERENT LEVELS in the DIRECTORY TREE. Now these files I have been using, I was

Re: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Parsons Technical Services
Try this: http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq_0.htm#05_03 Otherwise there is some differences in the parameter names. Others have used connectionUser and connectionPassword , I think it was. You can search the archives for OracleDriver to see what I mean.

Re: Too many problems. Need help.

2006-09-18 Thread Steve R Burrus
Kevin you need to submit please your Deployment Descrtiptor file, i.e., the web.xml, for the I assume a servlet kind of a web application! Yeah you are right about the server error msg., it never indicates exactly which line in that file has a problem in it. Kevin Mullin wrote: I just

FOUND VIRUS IN MAIL from tomcat-user@jakarta.apache.org to [EMAIL PROTECTED]

2006-09-18 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED]. We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/k8J5PnJW013583/k8J5PnJW013583