RE: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread Fargusson.Alan
The # character starts a comment in the shell. Try quoting the pathname, or put a \ in front of the #. I would bet that your mkdir and cd commands didn't do what you think they did. -Original Message- From: Markus Schiegl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 1:54

RE: i am looking for professional tomcat support for enterprise

2007-07-17 Thread Fargusson.Alan
That could be fun. I tried to move a couple of small servlets from WAS to Tomcat. I found that Tomcat does not understand EAR files, so I had to use WAR files. Also Tomcat didn't like the format of the web.xml files. I ended up importing the .java files into Eclipse and building the the

RE: Where to find session cookies

2007-06-26 Thread Fargusson.Alan
. As the Javadoc for HttpSession says: A servlet should be able to handle cases in which the client does not choose to join a session, such as when cookies are intentionally turned off. Fargusson.Alan wrote: Session cookies are not stored on disk. This is why they are more secure then cookies (non

RE: Where to find session cookies

2007-05-29 Thread Fargusson.Alan
Session cookies are not stored on disk. This is why they are more secure then cookies (non-session). Since they only exist in RAM (ok, maybe in swap files) nobody else using that machine can find them, and they go away when the browser ends. -Original Message- From: lightbulb432

RE: Encoding in Tomcat 6

2007-05-21 Thread Fargusson.Alan
Is it valid to say charset=UTF-8? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 7:51 AM To: users@tomcat.apache.org Subject: Encoding in Tomcat 6 Hi all, I noticed some encoding problems inside servlets, when switching from Tomcat

RE: Runaway catalina.out logging

2007-05-09 Thread Fargusson.Alan
At the risk of over explaining, this is one of those slightly tricky areas of shell syntax. The general form of the command below would be something like: ls -l | pr Out Now there are two commands that might generate errors to the terminal. So you do this: ls -l | pr Out 21

RE: Tomcat randomly cannot connect to SMTP host

2007-05-07 Thread Fargusson.Alan
I see you got a number of good suggestions. If you still have this problem you could try doing a netstat command to see if your server is holding the connections to the SMTP server. I have seen this type of thing cause some weird problems. If your server is holding several connections to the

RE: Log files always locked

2007-05-02 Thread Fargusson.Alan
I think this is a Windows issue. I doubt that Tomcat actually locks the log files. The reason I think that this is a Windows issue is that I run into the same thing with other programs. I don't run Tomcat on Windows, so I can't check Tomcat log files specifically. I think that this behavior

RE: Problem with compiling tomcat native

2007-04-24 Thread Fargusson.Alan
on a client: apache(with apr and apr-util)/tomcat-native/tomcat-connector Same versions I'm trying to build now. Orlando Reis On 4/23/07, Fargusson.Alan [EMAIL PROTECTED] wrote: I just want to make one point clear: Even when you are using bash, if /bin/sh is linked to some other shell

RE: linux + tomcat, some path/link problem

2007-04-24 Thread Fargusson.Alan
I may be completely miss-understanding, but I think this is a browser trick. At least in IE7 when I have c: it assumes file:..., but when I don't have c: it assumes http:... . You will probably need to code file:///root/test.html (I may have the wrong number of / after file:) to get this to

RE: Problem with compiling tomcat native

2007-04-23 Thread Fargusson.Alan
It may be that the configure script depends on the default shell (/bin/sh) being BASH. Does it work if you do bash configure? -Original Message- From: Orlando Reis [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 4:25 AM To: users@tomcat.apache.org Subject: Problem with compiling

RE: Problem with compiling tomcat native

2007-04-23 Thread Fargusson.Alan
. Orlando On 4/23/07, Fargusson.Alan [EMAIL PROTECTED] wrote: It may be that the configure script depends on the default shell (/bin/sh) being BASH. Does it work if you do bash configure? -Original Message- From: Orlando Reis [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 4

Using a DataSource from Tomcat to DB2.

2007-04-20 Thread Fargusson.Alan
One more try at this. I have been working on getting a DataSource to work with DB2. At this point I am using a DataSource I configured with the admin web page. I have a new question. I found that I am getting an inconsistent result. I get one of two results, without changing anything. One

RE: Using a DataSource to access DB2.

2007-04-16 Thread Fargusson.Alan
I do not see any way to add the auth resource from the admin page, so I edited the server.xml to add it. The only change was the message Caused by: java.sql.SQLException: No suitable driver instead of the Null pointer exception. I tried changing the server.xml back and I still get the No

RE: Using a DataSource to access DB2.

2007-04-16 Thread Fargusson.Alan
To: Tomcat Users List Subject: Re: Using a DataSource to access DB2. On 4/16/07, Fargusson.Alan [EMAIL PROTECTED] wrote: I do not see any way to add the auth resource from the admin page, so I edited the server.xml to add it. The only change was the message Caused by: java.sql.SQLException

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
. jdbc:jtds:sqlserver://server/db;TDS=7.0; is wrong!). For more information about URL format and the properties that may be passed to jTDS have a look at the jTDS URL formathttp://jtds.sourceforge.net/faq.html#urlFormat . On 4/12/07, Fargusson.Alan [EMAIL PROTECTED] wrote: Thanks. Unfortunately I did try

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
. jdbc:jtds:sqlserver://server/db;TDS=7.0; is wrong!). For more information about URL format and the properties that may be passed to jTDS have a look at the jTDS URL formathttp://jtds.sourceforge.net/faq.html#urlFormat . On 4/12/07, Fargusson.Alan [EMAIL PROTECTED] wrote: Thanks. Unfortunately I

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Thanks. I am using 5.0.28, but what I have looks like what you have. I will take a closer look to make sure I didn't miss something. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 5:59 PM To: Tomcat Users List Subject: Re: DB2 DataSource.

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
the same, because the syntax of the Resource element changed after 5.0. Look for ResourceParam in the 5.0 documentation. -- Len On 4/13/07, Fargusson.Alan [EMAIL PROTECTED] wrote: Thanks. I am using 5.0.28, but what I have looks like what you have. I will take a closer look to make sure I

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
an external Context file to a particular Host in server.xml If you think anything is misconfigured or too confusing, it helps to start with a fresh install of the version of Tomcat you intend to use. -Rashmi On 4/13/07, Fargusson.Alan [EMAIL PROTECTED] wrote: Your right. My ResourceParam syntax

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Subject: Re: DB2 DataSource. On 4/13/07, Fargusson.Alan [EMAIL PROTECTED] wrote: I am putting my Resource inside the GlobalNamingResource. Do I need anything in the Context node? If you are using GlobalNamingResource you don't need the Context node because it is global to all contexts

DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
Can someone point me to documentation on setting up a DataSource to DB2? I tried to use the examples for Oracle and MySql, but I have not been able to get it to work. I am able to access DB2 using the DriverManager. - To start

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
- From: Fargusson.Alan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 6:01 PM Subject: DB2 DataSource. Can someone point me to documentation on setting up a DataSource to DB2? I tried to use the examples for Oracle and MySql, but I have not been able to get it to work. I am

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
can post it. -Rashmi On 4/12/07, Fargusson.Alan [EMAIL PROTECTED] wrote: I am hoping that someone has a working example that they actually tested. - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL