RE: Embedded Apache Tomcat/5.5.9 outputting to java.util.logging instead of console

2007-09-12 Thread Magnus Vojbacke
Yo, Actually the Embedded version in 5.5.9 does not utilize the Logger-objects (I believe they changed that in 5.5?), but no matter since I managed to kind of get it working. As soon as I got it through my thick skull that Tomcat was executing in the same JVM as my application it was just a matter

RE: Tomcat JNI Netbeans

2007-09-12 Thread Caldarale, Charles R
> From: soulboy [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat JNI Netbeans > > Well even if Tomcat has no "specific relationship" to JNI it > still has some kind of relationship. No more or less than any other Java program, so simply look in the standard JNI documentation. > One thing I noti

RE: Tomcat JNI Netbeans

2007-09-12 Thread soulboy
> > From: soulboy [mailto:[EMAIL PROTECTED] > > Subject: RE: Tomcat JNI Netbeans > > > > however do you know where there are any official > > instructions on setting up JNI and Tomcat ? > You won't find any real doc, since again, Tomcat has no specific > relationship to JNI. JNI is a capabi

RE: Tomcat JNI Netbeans

2007-09-12 Thread Wade Chandler
You can load a native library directly using System.load instead of System.loadLibrary. All you have to do is figure out where the library is and be able to pass a full path to it. You can use the servlet API to get to your WEB-INF folder and get a full path to it. It is pretty trivial from ther

RE: Tomcat JNI Netbeans

2007-09-12 Thread Caldarale, Charles R
> From: soulboy [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat JNI Netbeans > > however do you know where there are any official > instructions on setting up JNI and Tomcat ? You won't find any real doc, since again, Tomcat has no specific relationship to JNI. JNI is a capability of the Java

RE: Tomcat JNI Netbeans

2007-09-12 Thread soulboy
Thanks for the reply, > From: soulboy [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat JNI Netbeans > > > Does that work with JNI ? > JNI has nothing to do with Tomcat, Not sure what you mean by that. > but rather with the JVM you're using. > For Sun-based JVMs, the location of native libra

Re: tomcat ssl client authentication

2007-09-12 Thread Bill Barker
"Shuwen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I would like to find out how to configure client authentication when > enabling tomcat to run on https. From > http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html, it says that > > *** > For

Jeffery S Eaton is out of the office.

2007-09-12 Thread jeffery . s . eaton
I will be out of the office starting 31/08/2007 and will not return until 17/09/2007. I will respond to your message when I return. *** WARNING: This e-mail (including any attachments) may contain legally privileged, confident

Re: PHP Security Vulnerability???

2007-09-12 Thread Joseph Millet
you've must have got a phpinfo() page running somewhere you can grep your www directory for that one ... JJ On 9/12/07, Arend P. van der Veen <[EMAIL PROTECTED]> wrote: > > Wade Chandler wrote: > > Does it give you any paths to this PHP application? I haven't seen > anything like it from sca

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > the home page opens at http://localhost:8080/ That just doesn't jibe with this: > > > Sep 11, 2007 6:15:24 PM org.apache.catalina.connector.Connector stop > > > SEVERE: Coyote connector has not been started Please stop Tomcat, clear your logs

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > I did...there IS an entry...sorry forgot to mention that.it is there > in hosts file.And I also checked with the loopback address, same issue > there..."afari can't open the page > "http://127.0.

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
the home page opens at http://localhost:8080/ I am guessing that this means that Tomcat is running, as per wat I read . On 9/12/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > > > safari shows the message: > > Safari can't open the page > > "

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > safari shows the message: > Safari can't open the page > "http://localhost:8080/examples/jsp/dates/dates.jsp"; because it could > not connect to the server "localhost". > > The log file is as follows: > * > > at > org.apache.catalina.st

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
I did...there IS an entry...sorry forgot to mention that.it is there in hosts file.And I also checked with the loopback address, same issue there..."afari can't open the page "http://127.0.0.1/examples/jsp/dates/dates.jsp"; because it could not connect to the server "127.0.0.1". On 9/12/07, Caldar

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Safari can't open the page > "http://localhost:8080/examples/jsp/dates/dates.jsp"; because it could > not connect to the server "localhost". We already gave you the answer for this problem: you

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
I am trying to run few example scripts that come with Tomcat.. The URL is http://localhost:8080/examples/jsp/dates/dates.jsp safari shows the message: Safari can't open the page "http://localhost:8080/examples/jsp/dates/dates.jsp"; because it could not connect to the server "localhost". The log f

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > I am not sure as its the same problem still.Tomcat is running on > Localhost::8080.but JSP is not. What do you mean by that? Pick one of the example JSPs and send us the URL you tried, describe what happened, and send the relevant part of the l

RE: frustrated trying to pass parameters into jsp to create jnlp

2007-09-12 Thread Eric J Kaplan
Nicholas That did the trick, thank you very much. I owe you a beer (or your drink of choice) :) Regards Erci -Original Message- From: Nicholas Sushkin [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 4:42 PM To: Eric J Kaplan Cc: users@tomcat.apache.org Subject: Re: frustr

Re: frustrated trying to pass parameters into jsp to create jnlp

2007-09-12 Thread Nicholas Sushkin
On Wednesday 12 September 2007 16:03, Eric J Kaplan wrote: > Hi > > I am using Java Web Start with Tomcat 6 and have been banging my head > against a wall all day. I don't think the issue is necessarily a Web > Start issue but rather an issue with jsp and processing of parameters. The following

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
I am not sure as its the same problem still.Tomcat is running on Localhost::8080.but JSP is not. Sometimes, I get the whole path echoed for JAVA_HOME as well as CATALINA_HOME; other time it doesnt echo anything.I guess thats ok looking at other messages in this thread.But I cannot figure out why JS

tomcat ssl client authentication

2007-09-12 Thread Shuwen
Hi, I would like to find out how to configure client authentication when enabling tomcat to run on https. From http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html, it says that *** For using clientAuth on a per-user or per-session basis, check out the tips in B

Re: Oracle Invalid Login Credentials

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg, Greg Demieville wrote: > We occasionally get 'Access Denied Invalid Login Credentials' when accessing > our application. Stopping and Re-starting Tomcat fixes the issue. We are > using Apache Tomcat 5.0.28/Java JDK 1.5.0.11/Oracle 9.2/JSP pages.

frustrated trying to pass parameters into jsp to create jnlp

2007-09-12 Thread Eric J Kaplan
Hi I am using Java Web Start with Tomcat 6 and have been banging my head against a wall all day. I don't think the issue is necessarily a Web Start issue but rather an issue with jsp and processing of parameters. I have a WAR, in which are two files of interest. index.html is my startin

RE: Oracle Invalid Login Credentials

2007-09-12 Thread Propes, Barry L
I don't know if you need it, but I'm going through some issues here in our connection(s) to Oracle, and as a practice, I implemented a scheduler right away to shutdown Tomcat late at night, wait five minutes and restart, to be safe and dump anybad threads on there. And unfortunately I do get som

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Propes, Barry L
are your paths set correctly now? -Original Message- From: minky arora [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 11:17 AM To: Tomcat Users List Subject: Re: beginer question abt JSP with Tomcat OK..I followed all the steps..All well..but JSP is not running...Foll are

Oracle Invalid Login Credentials

2007-09-12 Thread Greg Demieville
We occasionally get 'Access Denied Invalid Login Credentials' when accessing our application. Stopping and Re-starting Tomcat fixes the issue. We are using Apache Tomcat 5.0.28/Java JDK 1.5.0.11/Oracle 9.2/JSP pages. Is there a known issue with Tomcat and Oracle, or do we need to require the Tomcat

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-12 Thread Eric B.
>> Thanks for the input. I didn't build my own for 2 reasons: 1) don't >> have any cc / gcc on my RHEL linux server - it is used purely for >> production and only have proven stable things on it from the RHEL >> updates. > > Leaving gcc off your production service is a good idea, but I don't buy

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-12 Thread Eric B.
>> Our tomcat apps are self-contained (non-exploded) wars, and >> mapping each individual extension beomces a challenge (ie: >> .jsp, .jspa, jsps, .jpg, .js, .), so we found it easier >> just to map the entire context. >In that case, why are you using httpd at all? Is it needed for some >othe

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, Pid <[EMAIL PROTECTED]> wrote: > To be more precise, you may not need to *manually* set JRE_HOME. > My OSX install didn't require it to be configured, neither is it > available as a shell variable. Interesting. I'm so used to manually setting it that it's automatic :-) So, if the OP

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Pid
Caldarale, Charles R wrote: >> From: Pid [mailto:[EMAIL PROTECTED] >> Subject: Re: beginer question abt JSP with Tomcat >> >> You may not need to set JAVA_HOME in this case, and can probably >> comment the references to it out, in your 'profile' file. > > The Tomcat startup scripts require eithe

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Minky, minky arora wrote: > RNAi:/users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin > meenaksharora$ ./startup.sh > Cannot find > /Systems/Library/Frameworks/JavaVM.framework/Versions/1.5.0/bin/setclasspath.sh > This file is needed to run this

Re: Context deletion on redeploy

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balázs, Terényi Balázs wrote: >> Why would you make an administrator do this when you can make it part of >> the deployment process? > > Because I'm not the one who makes the deployment. Think on an enterprise > application which has new versions, w

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric B. wrote: >> Dude, just build your own. Here are the steps to installing a >> binary: > Thanks for the input. I didn't build my own for 2 reasons: 1) don't > have any cc / gcc on my RHEL linux server - it is used purely for > production

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > yes i can still open the tomcat welcome page.. > > If i use localhost / 127.0.0.1..same error ?? If Tomcat's not running, and Safari 404s trying to access it, how can you "still open the tomcat welcome page"??? -- Hassan Schroeder

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
somethin new...I am trying to do ./startup.sh I see something else here: RNAi:/users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin meenaksharora$ ./startup.sh Cannot find /Systems/Library/Frameworks/JavaVM.framework/Versions/1.5.0/bin/setclasspath.sh This file is needed to run this

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Safari can't open the page > "http://localhost:8080/screensaver/jsp/header.jsp"; because it could > not connect to the server "localhost". That just means you don't have localhost defined in you

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
and specify the port as in http://localhost:8080/screensaver/jsp/header.jsp same thing.. Safari can't open the page "http://localhost:8080/screensaver/jsp/header.jsp"; because it could not connect to the server "localhost". *** On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > yes i

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
yes i can still open the tomcat welcome page.. If i use localhost / 127.0.0.1..same error On 9/12/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > > > Sep 12, 2007 12:23:43 PM org.apache.coyote.http11.Http11Protocol destroy > > INFO: Stopping

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread David Smith
Caldarale, Charles R wrote: From: minky arora [mailto:[EMAIL PROTECTED] Subject: Re: beginer question abt JSP with Tomcat Safari can't open the page "http://meenaksharora/screensaver/jsp/header.jsp"; because it can't find the server "meenaksharora"... This has nothing to do with Tomcat.

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > Sep 12, 2007 12:23:43 PM org.apache.coyote.http11.Http11Protocol destroy > INFO: Stopping Coyote HTTP/1.1 on http-8080 Look at the above line -- Tomcat *isn't running*. You have to start it, and see that you can at least access the welcome pag

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Safari can't open the page > "http://meenaksharora/screensaver/jsp/header.jsp"; because it can't > find the server "meenaksharora"... This has nothing to do with Tomcat. The DNS name meenaksha

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
Ok... java -version gives java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing) here is the o/p of tail catalina.log RNAi:/users/meenaksharora/java/tomcat/apache-to

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: Pid [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > You may not need to set JAVA_HOME in this case, and can probably > comment the references to it out, in your 'profile' file. The Tomcat startup scripts require either JAVA_HOME or JRE_HOME to be set; c

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > yes...TC was running yesterday as well..JSP not running..ALso i had to > restart my comp and now echo JAVA_HOME is not giving anything..do i > have to do this each time? If you open a different shell, yes. But until you get your environment stra

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Pid
Hassan Schroeder wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > > OK, one more time: > >> export JAVA_HOME="watevr".but still nothing. > > First, open a new terminal window. The default OS X shell is > tcsh, so first thing type "bash". (erm, why?) > At the next prompt type "

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
yes...TC was running yesterday as well..JSP not running..ALso i had to restart my comp and now echo JAVA_HOME is not giving anything..do i have to do this each time? Thanks for being so patient .. On 9/12/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]>

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > OK..I followed all the steps..All well..but JSP is not running...Foll > are the log > Sep 12, 2007 10:55:12 AM org.apache.coyote.http11.Http11Protocol init > SEVERE: Error initializing endpoint > java.net.BindException: Address already in use:80

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
OK..I followed all the steps..All well..but JSP is not running...Foll are the log >From Localhost: Sep 12, 2007 10:19:15 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Sep 12, 2007 10:19:15 AM org.apache.catalina.core.ApplicationContext log INFO: Ses

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: OK, one more time: > export JAVA_HOME="watevr".but still nothing. First, open a new terminal window. The default OS X shell is tcsh, so first thing type "bash". At the next prompt type "echo $JAVA_HOME". If that returns nothing, type "expo

RE: Tomcat 4.1 and JDK 1.4 error

2007-09-12 Thread Caldarale, Charles R
> From: Chacko Kuruvilla [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 4.1 and JDK 1.4 error > > Is there a way to find out if I have other JVM's > installed along with 1.4? Search for instances of jvm.dll; make sure you enable searching through system-, hidden-, and sub-folders. - Chuck T

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
Sorry but I am pasting an output from my Profile file where I am trying to include JAVA_HOME.I tried changing from command line using export JAVA_HOME="watevr".but still nothing. * # System-wide .profile for sh(1) PATH="/bin:/sbin:/usr/bin:/usr/sbin" export PATH JAVA_HOME

Re: context-relative path in JNDI variables

2007-09-12 Thread Pid
Christopher Schultz wrote: > Pid, > > Pid wrote: >> You both could consider using Ant, which would enable you to write a >> script to deploy an application and execute whichever renaming scheme >> you wish to, as you do so. > > The OP /is/ using ant. > > -chris You are quite right. Note to sel

RE: Tomcat 4.1 and JDK 1.4 error

2007-09-12 Thread Chacko Kuruvilla
I have uninstalled all Java versions using Add/Remove programs before I freshly installed JDK 1.4. This comes up as my current version when I do java -version command. Is there a way to find out if I have other JVM's installed along with 1.4? Thanks, Chacko. -Original Message- From: Calda

Re: Servlet Redeployment in Production

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lb, lightbulb432 wrote: > What does Tomcat do when, in production, a new version of a WAR file that's > currently being accessed is deployed? I've heard generally that you don't > enable the auto-deployment feature in production, but assume you're aim

Re: Context deletion on redeploy

2007-09-12 Thread Terényi Balázs
Christopher, First of all thanks for the reply. > > 4. Using Tomcat Administrator application the admin changes environment settings defined in conf/Catalina/localhost/warname.xml (which was extracted from the war). > > Why would you make an administrator do this when you can make it part of the

RE: Tomcat 4.1 and JDK 1.4 error

2007-09-12 Thread Caldarale, Charles R
> From: Chacko Kuruvilla [mailto:[EMAIL PROTECTED] > Subject: Tomcat 4.1 and JDK 1.4 error > > bad class file: > c:\j2sdk1.4.1_05\jre\lib\rt.jar(java/lang/Object.class) > > class file has wrong version 48.0, should be 47.0 Your JVM installation continues to be hosed. Version 47 classes are th

Re: Embedded Apache Tomcat/5.5.9 outputting to java.util.logging instead of console

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, The OP is using embedded TC, so there's no script. > Magnus Vojbacke (KA/EAB) wrote: >>> Are they inspecting catalina.out? If so, what will stop them from >>> >> reading whatever /other/ logfile you choose? >> >> No, there _is_ no catalin

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > Yes I have changed the JAVA_HOME but still its not working.Is it > possible to over-ride the JRE_HOME in some way or to delete it > completely.I think thats wat causing confusion and I guess for TC, > JAVA_HOME needs to be set, JRE_HOME is not im

Tomcat 4.1 and JDK 1.4 error

2007-09-12 Thread Chacko Kuruvilla
Hello, I currently have a web application running on Tomcat 4.0.6 and JDK 1.3. I am in the process of trying to upgrade to Tomcat 4.1 on JDK 1.4 mainly to run Tomcat as a service since I am not sure if I can run Tomcat 4.0.6 as a windows service. I was able to successfully install and setup the

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Is it possible to over-ride the JRE_HOME in some way > or to delete it completely. You're in complete control of the environment variables for your process. > I think thats wat causing confusi

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
Yes I have changed the JAVA_HOME but still its not working.Is it possible to over-ride the JRE_HOME in some way or to delete it completely.I think thats wat causing confusion and I guess for TC, JAVA_HOME needs to be set, JRE_HOME is not important..is that right? On 9/11/07, Hassan Schroeder <[EMA

Re: Context deletion on redeploy

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark H. Wood wrote: > On Wed, Sep 12, 2007 at 09:38:45AM -0400, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Balázs, >> >> [EMAIL PROTECTED] wrote: >>> 4. Using Tomcat Administrator application the admin ch

Servlet Redeployment in Production

2007-09-12 Thread lightbulb432
What does Tomcat do when, in production, a new version of a WAR file that's currently being accessed is deployed? I've heard generally that you don't enable the auto-deployment feature in production, but assume you're aiming for a five-nines environment and the requirement is hot redeployment of t

Re: Embedded Apache Tomcat/5.5.9 outputting to java.util.logging instead of console

2007-09-12 Thread Filip Hanik - Dev Lists
Magnus Vojbacke (KA/EAB) wrote: Are they inspecting catalina.out? If so, what will stop them from reading whatever /other/ logfile you choose? No, there _is_ no catalina.out anywhere in my tomcat folder or the child folders thereof. Everything is output to console. Probably should have men

Re: Context deletion on redeploy

2007-09-12 Thread Mark H. Wood
On Wed, Sep 12, 2007 at 09:38:45AM -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Balázs, > > [EMAIL PROTECTED] wrote: > > 4. Using Tomcat Administrator application the admin changes environment > > settings defined in conf/Catalina/localhost/warname.xml

Re: Context deletion on redeploy

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balázs, [EMAIL PROTECTED] wrote: > 4. Using Tomcat Administrator application the admin changes environment > settings defined in conf/Catalina/localhost/warname.xml (which was extracted > from the war). Why would you make an administrator do this w

RE: tomcat installation

2007-09-12 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat installation > > 1. Have you deployed the Tomcat manager? I believe it does not come >enabled by default. The manager app is deployed by default on all Tomcat levels. It's the admin app that's optional (or non-exist

Re: tomcat installation

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryan, aryan.kapoor wrote: > what i need to know is when i enter http://localhost:8080 in my browser.. i > don't see tomcat manager 1. Have you deployed the Tomcat manager? I believe it does not come enabled by default. 2. The Tomcat manager

Re: context-relative path in JNDI variables

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balázs, [EMAIL PROTECTED] wrote: > I posted a similar problem with subject "Context deletion on redeploy", but > got no answer. I'm pretty sure there was a /huge/ thread about that over the last month or so. > I also have to deploy the same war man

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-12 Thread Jiansen Niu
> In that case, why are you using httpd at all? My guess is they think open 80 for tomcat needs too much work (they use RHEL) but do require users access the application via port 80 instead of 8080 Jiansen On 9/12/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: news [mailto:[EMAI

Re: context-relative path in JNDI variables

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, Pid wrote: > You both could consider using Ant, which would enable you to write a > script to deploy an application and execute whichever renaming scheme > you wish to, as you do so. The OP /is/ using ant. - -chris -BEGIN PGP SIGNATURE-

R: Tomcat lost requests/logs

2007-09-12 Thread Ing. Diego Trombetta
There is only one application server running. The logs described are just an example: my logs are more datailed. I print out also informations about the method, the parameters of the request and so on, therefore I can discriminate which request has updated the DB. And I can be sure that the serv

directory setup

2007-09-12 Thread Angelo Chen
Hi, In my linux server, there is only Tomcat running, no apache, I need to do following: 1. setup a file directory in the server, it will have image files. 2. the directory will allow my tomcat web application generated web pages to refer to those images, but it will not allow user to directly ac

Re: PHP Security Vulnerability???

2007-09-12 Thread Arend P. van der Veen
Wade Chandler wrote: Does it give you any paths to this PHP application? I haven't seen anything like it from scanners on my server. Wade --- "Arend P. van der Veen" <[EMAIL PROTECTED]> wrote: Hi, I recently setup a server using Tomcat 5.5 on FreeBSD 6.2. I thought I had everything locked

AW: Tomcat and SessionHandling

2007-09-12 Thread Preuss, Jacqueline - ENCOWAY
Hi, thanks for your replies. After I do a little research here :-) I try to explain the problem in more detail. We are integrated into an existing web application from Microsoft. This application runs in IE and is user specific. You can manage and administer some issues. So our application is

Re: Context deletion on redeploy

2007-09-12 Thread terenyi
Pid, Thanks for the reply. You misunderstood the point maybe because my poor English. In chronological order this happens: 1. The war contains the META-INF/context.xml. 2. On deployment (copy to webapps folder) META-INF/context.xml gets copied to conf/Catalina/localhost/warname.xml 3. My war f

Re: Tomcat and SessionHandling

2007-09-12 Thread Pid
Leon Rosenberg wrote: > first, if you are new to servlets and webapps, you should probably > hire a consultant in your area to help you out a little, and there are > many in germany. > > second, you don't need own session handling, what you do need is a > context for each window in your session, s

Re: Tomcat and SessionHandling

2007-09-12 Thread Leon Rosenberg
first, if you are new to servlets and webapps, you should probably hire a consultant in your area to help you out a little, and there are many in germany. second, you don't need own session handling, what you do need is a context for each window in your session, so the data for the window is set i

Re: context-relative path in JNDI variables

2007-09-12 Thread Pid
You both could consider using Ant, which would enable you to write a script to deploy an application and execute whichever renaming scheme you wish to, as you do so. Tomcat/bin contains 'catalina-tasks.xml', which defines some JMX task definitions which provide the necessary functions. p [EMAI

Re: Tomcat and SessionHandling

2007-09-12 Thread Pid
Preuss, Jacqueline - ENCOWAY wrote: > Hi, I'm new here! > > > > Generally, I'm new in the topic servlets etc. so I hope I can explain my > problem well. > > > > In our company we work with some web applications running in Internet > Explorer. We want to use Tomcat as servlet engine / webs

Re: Context deletion on redeploy

2007-09-12 Thread Pid
[EMAIL PROTECTED] wrote: > Hi, > > Is there a way to prevent Tomcat to delete the webappname.xml from > conf/Catalina/localhost at every redeployment? > > I have application specific environment settings there, but at redeploy > it gets deleted and I lose the settings. I have tried with and > w

Re: Tomcat lost requests/logs

2007-09-12 Thread David Delbecq
Looks like you have configured round robin somewhere and another tomcat handled the 2 other requests. Another possibility, regarding logs, is that timezone used to log (local server timezone) is not same as used by your database or as used by your client's desktop clock. The session can expire fo

Re: Internet Explorer bug w/SSL+ loadCache

2007-09-12 Thread Pid
prakashlxm wrote: > Can some one help me with this im realy blank on this issue. I think that the lack of responses is due to the fact that there doesn't seem to be much in the way of Tomcat issues here. You might also consider including some information about your Tomcat version, and wha

RE: Understanding jvmRoute usage

2007-09-12 Thread Gerhardus.Geldenhuis
Thanks, So do you assign a different jvmroute to each webapp? That would potentially be a better way to run multiple versions of the same app rather than running different Tomcats. That would be a nice way to switch quickly between different versions. Currently we have quite a painfull method for

server push with GWT and Tomcat

2007-09-12 Thread Achim Abeling
Hi, I would like to realize a server push mechanism using Tomcat and GWT. For the client side there is a technique proposed in http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/5233cf1fc6f2a1a7/3c6aba6a3ae9ec81?lnk=gst&q=server+push+GWT+stack&rnum=1#3c6aba6a3ae9ec81 For the

Re: Understanding jvmRoute usage

2007-09-12 Thread Peter Stavrinides
I use this parameter because I needed to integrate multiple web apps on the same backend server using mod_proxy and mod_rewrite into the same namespace(of the apache front end). We point to the server and configure a sticky session so we don't have to run everything in the root context, magic !

Re: tomcat updata problem

2007-09-12 Thread David Smith
Thanks for the additional info. First and foremost, I have to say remove servlet.jar and any servlet-api or jsp-api jars from your WEB-INF/lib folder. They are as the error indicates not allowed in your webapp. The part of the stack mentioning this file: forecast_002dtest_002ddefault_jsp.j

Tomcat lost requests/logs

2007-09-12 Thread Ing. Diego Trombetta
I'm working with Tomcat 5.5.23. The users are complaining that they need to log in a lot of times during the day, therefore I took a look at logs and, to my surprise, I found out that there are missing requests! What I mean is that on the logs I can read something

Tomcat and SessionHandling

2007-09-12 Thread Preuss, Jacqueline - ENCOWAY
Hi, I'm new here! Generally, I'm new in the topic servlets etc. so I hope I can explain my problem well. In our company we work with some web applications running in Internet Explorer. We want to use Tomcat as servlet engine / webserver. The problem is the session handling of Tomcat. For

RE: tomcat updata problem

2007-09-12 Thread ZHOU Ping C
Thanks David Smith this trouble occured when i requested to update our run environment ( i use r-e for short ) our old r-e is jdk1.4/tomcat4.1/hibernate2.0/ our new r-e is jdk1.6u2/tomcat5.5.23 when i start tomcat , i get following warnings , i think these infomation may useful validateJarF

Re: tomcat updata problem

2007-09-12 Thread David Smith
I'm guessing the error is reasonably accurate and you attempted to access a getter or setter on a null bean object. Unfortunately you so carved up the stack trace it's extremely difficult to offer any more advice than that. Additionally, if this worked in tomcat 4.1 you may have been relying

Re: context-relative path in JNDI variables

2007-09-12 Thread terenyi
Hi, I posted a similar problem with subject "Context deletion on redeploy", but got no answer. I also have to deploy the same war many times without modification with different settings. I can't use JNDI because the app's context.xml gets deleted from conf/Catalina/localhost at every redeploym

tomcat installation

2007-09-12 Thread aryan.kapoor
posted Today 11:56 AM Profile for aryan kapoor Email aryan kapoor Send New Private Message Edit/Delete Post Reply With Quote hi everyone, i had a doubt regarding installing and running tomcat... i have extracted tomcat folder along with the project folder from a reposit

tomcat updata problem

2007-09-12 Thread ZHOU Ping C
hello all: I bulid a project use tomcat+struts+hibernate. The develop tool is MyEclipse At beginning I use tomcat 4.1 , jdk 1.4 and hibernate 2.0 , the project works well. Recently I updata tomcat from 4.1 to 5.5.23 and jdk from 1.4 to 1.6, some errors come out. The errors as follow