Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
without the echo off statements. On Tue, Sep 30, 2008 at 8:56 PM, Konstantin Kolinko [EMAIL PROTECTED]wrote: 2008/9/30 Bai Shen [EMAIL PROTECTED]: Okay, if I keep this up I'll be able to fit both feet in my mouth. Apparently setclasspath.bat does see the variables set in setenv.bat

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
think of is that the setclasspath.bat file can't see the JRE_HOME setting, but I can't see where it throws an error about it. On Wed, Oct 1, 2008 at 9:47 AM, Bai Shen [EMAIL PROTECTED] wrote: I'm using 6.0.18, which unless they just put out a new version is the latest. I've already turned

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
No effect. On Wed, Oct 1, 2008 at 10:19 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Bai Shen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat stops with error after calling setclasspath.bat set JRE_HOME=..\..\jre Make the above an absolute path, including drive letter

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
] wrote: From: Bai Shen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat stops with error after calling setclasspath.bat No effect. Are you editing your .bat files in UNIX format, by any chance? The Windows shell might not like missing carriage returns. - Chuck THIS COMMUNICATION MAY

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
is actually set before calling set JAVA_HOME= Well, that's some good news. I wonder why it's different than the way XP works. Thanks to everyone who responded. On Wed, Oct 1, 2008 at 12:12 PM, Konstantin Kolinko [EMAIL PROTECTED]wrote: 2008/10/1 Bai Shen [EMAIL PROTECTED]: I'm using 6.0.18

Re: Tomcat enables setlocal on Windows_NT and will not see setenv variables

2008-09-30 Thread Bai Shen
Okay, I feel silly now. I jus realized that XP returns Windows_NT from the OS variable. And my Tomcat install works fine in XP. So it's apparently something besides the setlocal. Which leaves me back at square one. :( Any suggestions? On Tue, Sep 30, 2008 at 1:10 PM, Bai Shen [EMAIL

Re: Tomcat stops with error after calling setclasspath.bat

2008-09-30 Thread Bai Shen
only, Tomcat won't start. I get no error at all. I had to remove the echo off statements to see that it was stopping after setclasspath.bat Hopefully this will be the last of me sticking my foot in my mouth. :) On Tue, Sep 30, 2008 at 1:37 PM, Bai Shen [EMAIL PROTECTED] wrote: Okay, I feel

Accessing server directory from applet

2008-09-26 Thread Bai Shen
I have an applet that I'm hosting on Tomcat. When I try to access the file system, I end up on the users file system, not the servers. Is there a way to connect to the servers file system? Bai Shen

Re: Accessing server directory from applet

2008-09-26 Thread Bai Shen
if there was a better way. On Fri, Sep 26, 2008 at 5:17 PM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: Bai Shen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 26, 2008 10:30 PM Subject: Accessing server directory from

Re: Tomcat unable to find jars when deployed from Eclipse

2008-09-25 Thread Bai Shen
them in the runtime classpath. These jars will then be included in the WEB-INF/lib of the Web application when the project is published to a server or exported as a war. That worked great. Thanks a lot! :) Bai Shen

Tomcat unable to find jars when deployed from Eclipse

2008-09-24 Thread Bai Shen
in Eclipse and checked the export option. So why doesn't that work? Am I doing something wrong, or am I stuck with the only solution being to put them in the WebContent\WEB-INF\lib dir? TIA. Bai Shen

Problem running Tomcat 6.0.18 on Windows 2k and 2k3 Server

2008-09-17 Thread Bai Shen
I just upgraded the tomcat I'm using to host my application from 5.x to 6.0.18. Runs great on XP. However, when attempting to start tomcat on 2k or 2k3 server, it just dumps out to the command prompt with no error. Now as far as I can tell, the problem is with the error handling of the

How do you have your dev environment setup?

2008-09-16 Thread Bai Shen
I've been doing a lot of webapp development on tomcat, but currently my process is all manual. I write the code in Eclipse, and then copy the appropriate files over to tomcat. I'd like to automate and standardize my process. So would y'all mind explaining how your dev environment is configured?

Running Tomcat with JRE?

2008-09-09 Thread Bai Shen
Looking at the tomcat site, it says that I can run Tomcat 6 with a JRE instead of a full JDK. So I downloaded Tomcat 6.0.18 and I have JAVA_HOME pointing at JRE 1.6.0_07. However, when I go to start tomcat, it tells me that the JAVA_HOME variable needs to point at a JDK, not a JRE. Am I missing

Re: Configuring different Context's to use different ports

2008-01-14 Thread Bai Shen
elements, but I don't recommend that route. Bai Shen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have several web apps running on tomcat, each with their own context. I also have connectors for 80 and 443. The problem is that I'd like some of the context's to use port 80

Configuring different Context's to use different ports

2008-01-11 Thread Bai Shen
I have several web apps running on tomcat, each with their own context. I also have connectors for 80 and 443. The problem is that I'd like some of the context's to use port 80 only, and some of them to use port 443 only. Right now, tomcat will accept connections to all contexts on all defined

Consolidating Multiple Tomcats

2007-12-19 Thread Bai Shen
and settings? I put two of them together, but they had a conflict as they were using different jars to handle xml. Any suggestions? TIA. Bai Shen