Re: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Sameer Acharya
Instead of defining the username and password as attributes have you tried defining them as resource parameters ? just a hunch .. username myoracleuser -Sameer Parsons Technical Services <[EMAIL PROTECTED]> wrote: Try this: http://www.oracle.com/technology/tech/java/sqlj_jdbc/

a noob question : Eclipse & Tomcat Ant tasks

2006-09-18 Thread Pierre Goupil
    Hello all !I'm currently trying to use Tomcat Ant tasks from within Eclipse 3.2. (deploy, reload, start, stop, etc...). I join my build.xml for further insight. I've added "ant.jar", "catalina-ant.jar" & "tools.jar" to Window / Preferences / Ant / runtime / global entries, but n

Any DST issue

2006-09-18 Thread advait samant
Hello, We are using Tomcat 5.x. We would like to know if there are any known/fixed issues with DST changes for US timezone from 2007 to Tomcat. Is there a Tomcat version that has fixes to this issues? Thanks, Advait

FOUND VIRUS IN MAIL from 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 F

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 ins

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. Sor

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 al

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 th

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

Upgrade from 2000 to 2003

2006-09-18 Thread Charles Morris
*** Your mail has been scanned by InterScan VirusWall. ***-*** Hi guys, I am new to tomcat. Trying to install TOMCAT 5.5.17 onto a Windows Server 2003 with Java 1.5.0_06 and a connector of 1.2.18. We are using the Microsoft Web Services (IIS 6.0). Can't seem

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 de

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 f

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

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 18

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 ret

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 HTH, M- *

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: "Signal

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: 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)

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 made

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 U

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 upgrad

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
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 t

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 Po

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 5.5

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. --David Scott Cowley wrote: Hello, Tomcats! What might be the reason for a javax servlet exception such as this? "Can

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 Appli

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

a noob question : Eclipse & Tomcat Ant tasks

2006-09-18 Thread Pierre Goupil
    Hello all !I'm currently trying to use Tomcat Ant tasks from within Eclipse 3.2. (deploy, reload, start, stop, etc...). I join my build.xml for further insight. I've added "ant.jar", "catalina-ant.jar" & "tools.jar" to Window / Preferences / Ant / runtime / global entries, but n

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 up

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, Septemb

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 connecti

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 acros

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Yes, I did. Here is the web.xml http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> My Web Application Web Application. primary-controller org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 2

Tomcat + SSL

2006-09-18 Thread taylan kuecuek
Hallo i am trying to develop a web application with servlets and JSPs. i want to use Tomcat as container. but i have some problems. 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 ? in this case tomcat will be

Re: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Mark Barnes
Do you include a 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" guide from Apa

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. -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 11:16 AM To: Tomcat Users List Subject: Re: Database connection poolin

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 ques

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?

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

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 on

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