Re: Please sign emergency petition to the U.N.

2003-03-11 Thread James Chuang
If you want to sign this petition. Please deposit $5 million dollar US in an escrow accout. If US or Israel ever gets attacked by a Bio/Chemical weapon originating from Iraq, that money will be automatically sent for relief effort. Thank you - Original Message - From: Wilhelm Colln

Session already invalidated HELP!

2002-09-24 Thread James Chuang
Hello: I'm currently running Tomcat 3.24 on Linux, and I have run into a vexing problem that occurs randomly, and I need some help. At least once a week, I get the following exception: java.lang.IllegalStateException: setAttribute: Session already invalidated java.lang.IllegalStateException:

Re: class loading tc 3.3 virtual hosts

2002-01-08 Thread James Chuang
Yes you can. You can deploy 2 separate tomcat's each with their own ports, contexts, etc. This will allow you to run your apps in 2 separate VMs, so they can use different versions of classes etc. This was in Tomcat 3.23-3.3. I think 4 should work the same way with this? jchuang -

jsp compilation problem, Timeout too quick

2002-01-02 Thread James Chuang
I was trying to regenerate and compile all the JSPs I had to make sure everything is up-to-date. I am now finding a different behavior. I am chaining to my JSPs from my servlet, running under Redhat 7.1, Apache, Tomcat 3.24, using AJP13. What I am finding is that rather than waiting for the

Re: Need to refresh .jsp page around five times before it works properly

2001-12-23 Thread James Chuang
I have recently upgraded to Tomcat 3.3 with AJP13, and I've seen this problem as well. - Original Message - From: Brandon Cruz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, December 23, 2001 7:30 PM Subject: Re: Need to refresh .jsp page around five times before

Re: Code request; Code to reveal a DB schema

2001-12-19 Thread James Chuang
For sybase, it used to be that you have to run a SQL script to load some system procs before the MetaData stuff would work. Their jConnect driver used to document this pretty well. jchuang - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: PLEASE HELP: Apache+Tomcat - Virtual hosts + separate VMs

2001-12-17 Thread James Chuang
Noel: Let me give this one a shot. I just did this for Tomcat 3.24 over the weekend. To each have a separate JVM, you basically need multiple Tomcat sessions. Which means, you need multiple server.xml, each with it's own context definition serving a particular JVM. So, here is what you need

Building mod_jk 13 on redhat 7.2

2001-12-14 Thread James Chuang
/ccu6YEAY.s:10: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccu6YEAY.s:504: Warning: Unrecognized .section attribute: want a,w,x == Thanks! == James Chuang 408 981 9213 [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

Configureing multiple JVMs on Tomcat 3.3

2001-12-14 Thread James Chuang
Under Tomcat 3.2.3, I had 2 serverXXX.xml files, and I started 2 instances of Tomcat, each with it's own serverXXX.XML file. This allowed each app to have it's own JVM. Looking at 3.3's documentation, it seems the right way to define contexts is to use app_XXX.XML file in the conf directory,

Re: Change an include file requires re-compiling all JSP that include it (?)

2001-12-11 Thread James Chuang
A couple of things you can do, both would be easier than resaving all the JSPs 1. Delete the generated class files... 2. Touch the JSP files. - Original Message - From: Scott Hodson [EMAIL PROTECTED] To: Tomcat User [EMAIL PROTECTED] Sent: Tuesday, December 11, 2001 10:00 AM Subject:

Re: Change an include file requires re-compiling all JSP that include it (?)

2001-12-11 Thread James Chuang
1) Where do they go? I don't see them anywhere under my webapp's folder (I thought they go in WEB-INF/classes but they're not there) 2) Blech, that's what I do now. If I have 100 JSP files all including the same header file I'm doomed! Under Unix, it would be simply touch *.jsp, no need

Re: Sharing sessions - URGENT

2001-11-29 Thread James Chuang
In my setup, I have Apache listening on port 80 and 443, with the request intercept that directs all tomcat requests to the same Tomcat 3.2 instance. So there is no "sharing" of session at all, just one Tomcat instance serving up both secured and non-secured pages through Apache. Do you have 1

Re: Auto load a servlet

2001-11-29 Thread James Chuang
Create a real simple index.html, and have it do a onLoad like this... HTML SCRIPT language=JavaScript function redirect() { window.location.href = http://localhost:8080/webstation/servlet/WebStation; } /SCRIPT BODY onLoad=redirect() Redirecting ... /BODY /HTML Then setup your web server to

Re: Configuring Tomcat 3.2.3 to access Oracle 8i backend

2001-11-27 Thread James Chuang
Raymond: Your Oracle distribution should come with the JDBC drivers you need, classes111.zip or classes12.zip. They should be in your $ORACLE_HOME/jdbc/lib directory. Put them in your classpath, and you can write the JDBC code to access them in a servlet. I guess you can put the code to do so

Re: cannot execute binary file

2001-11-14 Thread James Chuang
Message - From: James Chuang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 7:58 PM Subject: Re: cannot execute binary file Oracle JDBC thin drivers are supposed to be used as .zip. I've never had to uncompress them, neither on NT, Solaris

Re: cannot execute binary file

2001-11-13 Thread James Chuang
Oracle JDBC thin drivers are supposed to be used as .zip. I've never had to uncompress them, neither on NT, Solaris, or Linux. The question is, why is tomcat trying to execute that file? It sounds like there is something wrong with the startup command. How did you add it to your classpath?

Re: Get tomcat to top accepting sessions?

2001-11-12 Thread James Chuang
Mike: Seems like you can just have your servlet redirect requests that requires starting of a new session. It's a bit more expensive, but you can direct them to a JSP page that has a nice error msg to come back in 15 minutes or something jchuang - Original Message - From: Mike

Re: JDBC Problem

2001-10-25 Thread James Chuang
Can't see how this is a tomcat question, but the Oracle connect string should be: jdbc:oracle:thin:@hostname:port:DBID so using your example, it should be something like: jdbc.oracle:thin:@hostname:1521:dbname - Original Message - From: The Duke [EMAIL PROTECTED] To: Tomcat-user