Tomcat Logging and URL rewrite

2008-09-29 Thread Mohit Anchlia
Is it possible to rewrite URL in tomcat like apache web server. I need to convert abc.com/A to abc.com/B. Also catalina.out is just writing infomation at level INFO. I changed the level to ALL in logging.properties but still I don't see DEBUG logs. Is there a way to debug this problem? --

Is deployOnStartup broken?

2008-09-29 Thread Erwin Hogeweg
Hi, I am trying to re-deploy a war file on a RHES 5.2/Tomcat 6.0.16 server, but the war file does not expand when Tomcat is restarted. I have set the host variable deployOnStartup to "true", but even though the war file has a newer timestamp that the deployed folder the file is not re-dep

Re: Tomcat outputs php to stderr

2008-09-29 Thread Johnny Kewl
- Original Message - From: "Serge Fonville" <[EMAIL PROTECTED]> To: Sent: Monday, September 29, 2008 6:00 PM Subject: Tomcat outputs php to stderr Hi, I am developing a ticket system which should use servlets to connect to the various resources. Currently I am a php developer and

Re: XP/Vista/Office 2007/IE Compatibility Question

2008-09-29 Thread Johnny Kewl
- Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, September 29, 2008 4:33 PM Subject: XP/Vista/Office 2007/IE Compatibility Question Good afternoon. My company, Centocor, is in the process of upgrading its operating System from Windows 2000 to XP/Vista and its Office

Re: Tomcat outputs php to stderr

2008-09-29 Thread Gabe Wong
Hi Serge, Besides using PHP/Apache, the next best thing is Quercus. More info could be found here: http://quercus.caucho.com/ Regards Serge Fonville wrote: Hi, I am developing a ticket system which should use servlets to connect to the various resources. Currently I am a php developer and busy

Re: iis/tomcat

2008-09-29 Thread Mark Thomas
Frank Uccello wrote: > I am using windows 2003 server with iis6 > Mod_jdk version 1.2.23 and tomcat 5.5 > > > I have installed tomcat it is started and I have point iss to the > redirctor but I can not get any web pages to work when I look at the how > to instruction tomcat iis I just do not ge

RE: iis/tomcat

2008-09-29 Thread Frank Uccello
I am using windows 2003 server with iis6 Mod_jdk version 1.2.23 and tomcat 5.5 I have installed tomcat it is started and I have point iss to the redirctor but I can not get any web pages to work when I look at the how to instruction tomcat iis I just do not get it how I am to install and config

Re: iis/tomcat

2008-09-29 Thread Mark Thomas
Frank Uccello wrote: > I look at that url totally confusing please help to simplify it Start at the beginning and ask a specific question when you reach a point you don't understand. You should also answer the following: - what OS are you using? - what version of IIS are you using? - what version

RE: iis/tomcat

2008-09-29 Thread Frank Uccello
I look at that url totally confusing please help to simplify it -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 1:58 PM To: Tomcat Users List Subject: Re: iis/tomcat Frank Uccello wrote: > > I see the tomcat link of > http://tomcat.apach

Re: iis/tomcat

2008-09-29 Thread Mark Thomas
Frank Uccello wrote: > > I see the tomcat link of > http://tomcat.apache.org/connectors-doc-archive/jk2/jk/iishowto.html#Ins > tallation > > But it just seem over ny head is there a very simple step by step > direction to test, configure, and setup tomcat with iis. 1. Don't use mod_jk2. It has b

iis/tomcat

2008-09-29 Thread Frank Uccello
I see the tomcat link of http://tomcat.apache.org/connectors-doc-archive/jk2/jk/iishowto.html#Ins tallation But it just seem over ny head is there a very simple step by step direction to test, configure, and setup tomcat with iis.

Re: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-09-29 Thread Johnny Kewl
- Original Message - From: "Chad Kellerman" <[EMAIL PROTECTED]> To: Sent: Monday, September 29, 2008 4:39 PM Subject: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space) Tomcat Users, Just wondering if anyone else has run into this problem. Firs

RE: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-09-29 Thread Caldarale, Charles R
> From: Chad Kellerman [mailto:[EMAIL PROTECTED] > Subject: Tomcat JVM not releasing deleted files (lsof show > delete inodes taking up disk space) > > the application indexes uploaded files, the indexing process > creates the temporary files then removes them. Sounds like your "indexing process"

RE: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Jconsole working without using any extra System > property withTomcat6.0 started using Intellij Idea 7.0 > > jdk-6u7-fcs-src-b06-linux-10_jun_2008/j2se/src/share/classes/s > un/management/Agent.java > > If you browse through there, you'll see all the refe

RE: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: Jconsole working without using any extra System > property withTomcat6.0 started using Intellij Idea 7.0 > > That does not agree with the docs: > http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html Note that none of

Tomcat outputs php to stderr

2008-09-29 Thread Serge Fonville
Hi, I am developing a ticket system which should use servlets to connect to the various resources. Currently I am a php developer and busy to learn JSP/TLD/Servlets I installed Tomcat 6.0.18 with PHP 5.2.6 on Windows Vista Business (the production server will be running either Gentoo or CentOS). I

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-29 Thread Jon Haitz Legarreta Gorroño
Hi all, first of all, sorry for posting here the complete stack trace, but I don't know which other information may be of use... The log files I am looking in Tomcat are three: 1. stdout - Edited each time I restart tomcat (I stop tomcat before superseding my old webapp version). Apparently O

RE: XP/Vista/Office 2007/IE Compatibility Question

2008-09-29 Thread Martin Gainty
> > Good afternoon. My company, Centocor, is in the process of upgrading > its operating System from Windows 2000 to XP/Vista and its Office 2000 > to Office 2007. They have installed on, I'm not sure how many, some > computers Apache Tomcat, version 5.5. Please answer the following > questio

Re: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:[EMAIL PROTECTED] >> Subject: Re: Jconsole working without using any extra System >> property withTomcat6.0 started using Intellij Idea 7.0 >> >> No-one. com.sun.management.jmxremote=true by default. > > Minor corrections: > > 1) The plain

RE: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: Jconsole working without using any extra System > property withTomcat6.0 started using Intellij Idea 7.0 > > No-one. com.sun.management.jmxremote=true by default. Minor corrections: 1) The plain com.sun.management.jmxremote does not tak

Re: XP/Vista/Office 2007/IE Compatibility Question

2008-09-29 Thread David kerber
[EMAIL PROTECTED] wrote: Good afternoon. My company, Centocor, is in the process of upgrading its operating System from Windows 2000 to XP/Vista and its Office 2000 to Office 2007. They have installed on, I'm not sure how many, some computers Apache Tomcat, version 5.5. Please answer the follow

Ldap authentication half working...

2008-09-29 Thread Jasper Floor
I have a strange problem. I have a simple app that needs to authenticate via ldap. I am using: tomcat 6.0.16. eclipse 3.3 Debian (etch in production, lenny on development) On my development machine I have no problems. I run tomcat from eclipse 3.3. The production server is a virtual machine.

Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-09-29 Thread Chad Kellerman
Tomcat Users, Just wondering if anyone else has run into this problem. First let's get the specifics out of the way: Tomcat: 5.5.25 Java: Sun JDK 1.5.0_13 Linux RHEL 5 The Tomcat server is situated on it's own file system, with the applications on another. I got a page this weekend, saying th

XP/Vista/Office 2007/IE Compatibility Question

2008-09-29 Thread ifafjc
Good afternoon. My company, Centocor, is in the process of upgrading its operating System from Windows 2000 to XP/Vista and its Office 2000 to Office 2007. They have installed on, I'm not sure how many, some computers Apache Tomcat, version 5.5. Please answer the following questions at your ear

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-29 Thread David Smith
Tomcat maintains log files in it's logs directory. All the log files are just plain old text files, typically with timestamps. Just take a read through it for the moment in time when your webapp is deployed and see if there are any error messages. Because you work on a Windows environment, y

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Richard Sayre
Ok, thanks everyone for the help. I will look into all suggestions. Thanks, Rich On Mon, Sep 29, 2008 at 11:15 AM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: > Richard Sayre wrote: >> >> I specify a JNDI resources (connection pool) and an Authentication >> Realm. Each application authenticat

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-29 Thread Jon Haitz Legarreta Gorroño
Sorry for my ignorance, but what do you mena by "the log files for messages that occur when your webapp starts"? Where can I look for them? Thanks for your patience and support, JON HAITZ David Smith escribió: Have you looked at any of the log files for messages that occur when you webapp st

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Mikolaj Rydzewski
Richard Sayre wrote: I specify a JNDI resources (connection pool) and an Authentication Realm. Each application authenticates from a different database, and has a seprate connetion pool there is a seprate database for each app. Define all environment specific details in server.xml (while dec

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Richard Sayre
I specify a JNDI resources (connection pool) and an Authentication Realm. Each application authenticates from a different database, and has a seprate connetion pool there is a seprate database for each app. On Mon, Sep 29, 2008 at 10:43 AM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: > Richard

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Mikolaj Rydzewski
Richard Sayre wrote: I use ant. I am using Netbeans IDE for everything. Basically I always have to change the context.xml and web.xml for every environment that I set up. Everything else remains the same. What kind of information do you pass through context.xml and web.xml? JNDI resources?

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Richard Sayre
I use ant. I am using Netbeans IDE for everything. Basically I always have to change the context.xml and web.xml for every environment that I set up. Everything else remains the same. On Mon, Sep 29, 2008 at 9:46 AM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: > Richard Sayre wrote: >> >> Are

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-29 Thread David Smith
Have you looked at any of the log files for messages that occur when you webapp starts? --David Jon Haitz Legarreta Gorroño wrote: Hi there, thanks for the suggestion David. I am pretty new to all these Web technologies, so I hope I understood well your mail. 1. I've got two versions of th

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Mikolaj Rydzewski
Richard Sayre wrote: Are there any tools that would help with building different .war files for each context? Do you build wars by hand or use Ant, Maven, etc? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> - To start a new topi

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Tim Funk
ANT should easily be able to do this. Then you should be able either use either of 1) properties 2) target To build one or more apps a time. If your shared code are versioned well, maven might be a good fit too. (Since it has more dependency handling methodology in place) -Tim Richard Sayre

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Richard Sayre
What I mean is building a different WAR files, which has all the same code, but different deployment descriptors. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Richard Sayre
Are there any tools that would help with building different .war files for each context? On Mon, Sep 29, 2008 at 8:58 AM, Tim Funk <[EMAIL PROTECTED]> wrote: > 1) Disk is cheap. > 2) Build scripts can easily push the common code out to all your apps in a > reproducable manner. > 3) Seperate code m

Re: Jconsole working without using any extra System property with Tomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Choudhury
Thanks Mark .I got my answer in the the following line in the document mentioned by you: " In other words, any application that is started in the Java SE 6 HotSpot VM is detected automatically by JConsole, and does not need to be started using the above command-line option." Regards, Subhraj

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Mark Thomas
Richard Sayre wrote: > Is it possible to have several contexts pointing to the same code > base? If I am hosing an application and other clients would like to > use it, is it possible to set them up a seprate context that points to > one set of JSP/Java Classes? Yes. How, depends on your Tomcat ve

Re: Sharing Application Code Between Contexts

2008-09-29 Thread Tim Funk
1) Disk is cheap. 2) Build scripts can easily push the common code out to all your apps in a reproducable manner. 3) Seperate code makes regression upgrades easier to do since there is always that one app which cant be upgraded While you may be "sharing code" - all the code will be living in

Sharing Application Code Between Contexts

2008-09-29 Thread Richard Sayre
Is it possible to have several contexts pointing to the same code base? If I am hosing an application and other clients would like to use it, is it possible to set them up a seprate context that points to one set of JSP/Java Classes? Are there disadvantages in doing this? Thank you, Rich -

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-29 Thread Jon Haitz Legarreta Gorroño
I forgot to mention that the application works fine when launched from my IDE. Sorry. Thanks in advance, JON HAITZ -- Jon Haitz Legarreta Gorroño Laguntzaile zientifikoa / Colaborador científico / Scientific collaborator VICOMTech - Visual Interaction and Communication Technologies Center Mike

Servlet url mapping work incorrect when many servlets have one code

2008-09-29 Thread Druzhiinin Mihail
Dear users, We have 2 servlets with one code and different init parameters mapped to different url. On high load requests to first servlet handled by second servlet. I different servlets by init params. It apparent when second servlet was called. What I do illegal? web.xml: http://java.sun.c

Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-29 Thread Jon Haitz Legarreta Gorroño
Hi there, thanks for the suggestion David. I am pretty new to all these Web technologies, so I hope I understood well your mail. 1. I've got two versions of the StrutsPageLifecycleFactory and DefaultStrutsPageLifeCycleFactory classes: the first ones located in the folder C:\Program Files\J

Re: Jconsole working without using any extra System property with Tomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hi Guys, > I am running tomcat 6.0 which is confgured through > Intellij Idea . My objective was to run Jconsole to see it in action . > Basically I didn't tinker with the catalina.bat file(whatever comes > bundled with Tomcat) at all . Intellij use

Jconsole working without using any extra System property with Tomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Choudhury
Hi Guys, I am running tomcat 6.0 which is confgured through Intellij Idea . My objective was to run Jconsole to see it in action . Basically I didn't tinker with the catalina.bat file(whatever comes bundled with Tomcat) at all . Intellij uses the catalina.bat as a startup an

ssha digest in jndi realm

2008-09-29 Thread Janko Harej
Hi, I've read that Salted SHA (SSHA) realm was added to tomcat realms. http://emsp.em.doe.gov/tomcat-docs/changelog.html https://issues.apache.org/bugzilla/show_bug.cgi?id=32938 So I've set digest=SSHA in my realm configuration. However when I try to start tomcat I get tomcat SSHA MessageDiges