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 P

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

RE: Where to find session cookies

2007-06-26 Thread Fargusson.Alan
es. 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

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 [mail

RE: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Fargusson.Alan
Is System.exit implemented in Tomcat? I thought System.exit is implemented in the JVM. -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 11:47 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: TOMCAT ISSUE: System.Exit Ok... beginning to

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

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

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

RE: Problem with compiling tomcat native

2007-04-24 Thread Fargusson.Alan
ot 4096 2007-04-02 07:07 rpm > -rw-r--r-- 1 root root 6149 2007-04-23 20:21 rules.mk > -rw-r--r-- 1 500 root 10421 2007-04-02 05:51 tcnative.m4 > > > On the other hand, that already happened on debian 3.1 and I was able to > build the hole thing on a client: > apache(with apr a

RE: Problem with compiling tomcat native

2007-04-23 Thread Fargusson.Alan
a problem. 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 [ma

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

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
07 1:34 PM 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

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 su

Using a DataSource to access DB2.

2007-04-16 Thread Fargusson.Alan
I want to thank those who have been trying to help me get this working. I am still stuck on this. I am going to try and ask the same question again in a little different way and maybe someone can spot what I am doing wrong. Or perhaps tell me if DB2 will not work with a DataSource. I have tr

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 gl

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
to associate 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

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
look the same, because the syntax of the element changed after 5.0. Look for 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 didn

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
information about URL format and the properties that may be > passed > to jTDS have a look at the jTDS URL > format<http://jtds.sourceforge.net/faq.html#urlFormat> > . > > > On 4/12/07, Fargusson.Alan <[EMAIL PROTECTED]> wrote: >> >> Thanks. Unfortunately I did t

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
to append a semicolon (";") to the end of the URL (e.g. "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 format<http://jtds.sourceforge.net/faq.html#urlFor

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
SQL I 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,

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
riginal Message - 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, b

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