Re: File Content Not Saved To Server

2007-03-03 Thread Teh Noranis Mohd Aris
Dear All, First, thank you so much for the reply, Mr. Christopher Schultz. In my program, I want the servlet to load an applet where I can input the file name in a given text field and the file content in a given text area. When the user has input the information, I want to POST the file

Re: Choose from one of two JVM

2007-03-03 Thread Ron Wheeler
http://tomcat.apache.org/tomcat-5.5-doc/setup.html has the info in the section JAVA Location Hernâni Cerqueira wrote: Hello all, I have both jre 1.4.2 and 1.6.1 installed on my gentoo server, running tomcat 5.5.4, and i wonder if there's any possibility of choosing wich jvm will tomcat use.

Re: Problem with context path /webapps

2007-03-03 Thread mike spisak
hi mike, try removing the leading / in the path... e.g. Context path=webapps/test docBase=test reloadable=true / --i believe that's causing your problem, assuming the webapps directory is under your tomcat home. hope this helps, mike Mike c wrote: Hi, I am trying to migrate some of

Re: Informing Tomcat of proxy base URL?

2007-03-03 Thread Andy Buckley
Thought I'd send this again in case anyone knows an answer - I suspect that once a day's worth of posts have gone by, unanswered posts will probably never be answered :) If there's no mechanism for solving this (i.e. passing the proxy base path to Tomcat), it'd be useful to know: I can always

RE: Informing Tomcat of proxy base URL?

2007-03-03 Thread Caldarale, Charles R
From: Andy Buckley [mailto:[EMAIL PROTECTED] Subject: Re: Informing Tomcat of proxy base URL? If there's no mechanism for solving this (i.e. passing the proxy base path to Tomcat) Can't say that I've tried it, but the doc speaks of using the proxyName and proxyPort attributes on the

Re: PHP + MySql + Apache + Tomcat

2007-03-03 Thread mike spisak
hi wayne, first off, thank you! ...you solved my problem with this post.. i was trying for a day to compile a new version of mod_jk so i could use exclusions.. your post made me look into the SetEnvIf operator, and that solved my problem. ..sweet! Now for your issue - try putting

RE: Problem with context path /webapps

2007-03-03 Thread Caldarale, Charles R
From: Mike c [EMAIL PROTECTED] Subject: Re: Problem with context path /webapps I am trying to migrate some of our applications currently deployed on Tomcat 4.1 to Tomcat 5.5 and I cannot get any applications that have a context path that starts with /webapps to work. Depending on where

Re: Informing Tomcat of proxy base URL?

2007-03-03 Thread Pid
Caldarale, Charles R wrote: From: Andy Buckley [mailto:[EMAIL PROTECTED] Subject: Re: Informing Tomcat of proxy base URL? If there's no mechanism for solving this (i.e. passing the proxy base path to Tomcat) Can't say that I've tried it, but the doc speaks of using the proxyName and

Re: mod_jk 1.2.21, apxs, and apache 2.0.54

2007-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, mike spisak wrote: ...I've spun on this long enough.. how easy is the apache upgrade to 2.0.58? ..i may want to take you up on the binary offer.. Well, it depends on how you have to install the server itself. If you have to do something

unpackWARs Pros and Cons

2007-03-03 Thread Jim Goodspeed
Are there any pros and cons running unpackWARs one way or another? It seems like keeping unpackWARs=false might be a little cleaner (not having to remove expanded directories when deploying a new war file), but I wasn't sure if there were any performance hits associated with running this set to

RE: DWR using WAN vs LAN

2007-03-03 Thread Caldarale, Charles R
From: Wayne Bragg [mailto:[EMAIL PROTECTED] Subject: DWR using WAN vs LAN I installed DWR and it's example chat-demo application works fine as long as I access it from LAN using http://localhost:8080/chat-demo/. But if I access it from LAN http://computer-name/chat-demo/ or WAN

Re: mod_jk 1.2.21, apxs, and apache 2.0.54

2007-03-03 Thread mike spisak
hi Chris, thanks for all your information! you've been helpful.. do I trust you?? ..hhmm.. :-) anyway, my problem was solved by using the SetEnvIfNoCase directive. The main reason i needed an updated jk was for the jkUnMount exclusions.. another post on here pointed me to SetEnvIf -

Migration from 5.5.20 to 6.0.10: parser issue on application deployment

2007-03-03 Thread Etienne Giraudy
Hi, I'm facing a small issue when migrating a production server from 5.5.20 to 6.0.10 (see the exception below). One of the web app running on that server includes xercesImpl.jar and use it through modifying the system property javax.xml.parsers.SAXParserFactory. This was not a problem in

Re: File Content Not Saved To Server

2007-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teh, Teh Noranis Mohd Aris wrote: In my program, I want the servlet to load an applet where I can input the file name in a given text field and the file content in a given text area. Just out of curiosity, why do you want an applet to do this

Tomcat 5 Install - JAVA_HOME environment variable is not defined correctly

2007-03-03 Thread Paul Pearce
Hi, I recently installed Tomcat 5 following these excellent instructions using the exact same versions that are referenced in the instructions: http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html When I run the install command I get: [EMAIL PROTECTED]

Re: Tomcat 5 Install - JAVA_HOME environment variable is not defined correctly

2007-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Pearce wrote: I recently installed Tomcat 5 following these excellent instructions using the exact same versions that are referenced in the instructions: http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html When I run the

RE: Migration from 5.5.20 to 6.0.10: parser issue on application deployment

2007-03-03 Thread Caldarale, Charles R
From: Etienne Giraudy [mailto:[EMAIL PROTECTED] Subject: Migration from 5.5.20 to 6.0.10: parser issue on application deployment One of the web app running on that server includes xercesImpl.jar and use it through modifying the system property javax.xml.parsers.SAXParserFactory. That

DWR using WAN vs LAN

2007-03-03 Thread Wayne Bragg
Chuck, I can't begin to thank you enough for you reply. I know some of these questions are borderline inappropriate for this mailing-list subject but they, at least loosely, apply. My newbism is defiantly showing. First, the idiot I am I didn't realize port 80 was 80 and 8080 was 8080. I

Re: DWR using WAN vs LAN

2007-03-03 Thread EDMOND KEMOKAI
You may want to limit your question to one topic at a time. I've read through your post and it is difficult to tell what your real problem is. The networking issue, I assume you've already been informed, doesn't belong to the mailing list. Tomcat/Apache/PHP can all work together depending on how

Re: DWR using WAN vs LAN

2007-03-03 Thread Wayne Bragg
You may want to limit your question to one topic at a time. Sorry for any confusion. Tomcat/Apache/PHP can all work together depending on how you send up your application. Apache's mod_jk is how you make Apache and tomcat work together. Tomcat is configured to run on 8080 by default you

Removing work directory

2007-03-03 Thread Jim Goodspeed
I'm wondering if anyone has run into a problem where the jsp pages under the work directory do not get updated when a new version of the applicaiton is deployed. We find that we have to delete everything under the work directory so that tomcat is forced to re-create everything. This seems a

Re: unpackWARs Pros and Cons

2007-03-03 Thread Morris Jones
Jim Goodspeed wrote: Are there any pros and cons running unpackWARs one way or another? It seems like keeping unpackWARs=false might be a little cleaner (not having to remove expanded directories when deploying a new war file), but I wasn't sure if there were any performance hits associated

AJP flush packets (tomcat 6.0.10 and mod_jk 1.2.21)

2007-03-03 Thread Sven Köhler
Hi, in mod_jk's logfile, i don't see any flush-packets (= write packet of length 0) and so apache doesn't do flushing either. Of course the old JkOption +FlushPackets works. But the new flush-packets would be much nicer. I think, that i might have to enable the flush-packets thing within

Re: DWR using WAN vs LAN

2007-03-03 Thread Wayne Bragg
After all this, and with a new understanding of how httpd and tomcat work together, I was reading the documentation I have on my installation of Tomcat, again. It is setup so the native server is on port 8080 and the jk connector is through httpd 80 or however you'd say that. All the example

Re: File Content Not Saved To Server

2007-03-03 Thread Teh Noranis Mohd Aris
Dear All, Thank you so much for the explanation, Mr. Christopher Schultz. I understand that by just using a file input type, I can upload a file directly. In fact, I already construct the program and it is already working. However, I choose to use applet to get the advantage of Java GUI

Re: DWR using WAN vs LAN

2007-03-03 Thread Ron Wheeler
You have 2 problems Separate them out. 1) Also I still can't connect, at all, to the native server through anything other than localhost:8080. It's not a network or router issue, they are configured correctly. Even my-computer-name:8080 won't connect to the native server. Any ideas what's up

Re: Migration from 5.5.20 to 6.0.10: parser issue on application deployment

2007-03-03 Thread Etienne Giraudy
On 3/3/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Etienne Giraudy [mailto:[EMAIL PROTECTED] Subject: Migration from 5.5.20 to 6.0.10: parser issue on application deployment One of the web app running on that server includes xercesImpl.jar and use it through modifying the