Working with shared hosting on 5.5 - logging options?

2009-03-17 Thread Josh McDonald
Hey guys, I'm working for the first time with a client that requires I deliver a .war, and it gets deployed into a shared environment where I have no control and can't get access to the logs. What can I do from within my .war file to get a local copy of logs related to my application only redirect

Re: Installing Tomcat on Windows

2009-03-17 Thread Konstantin Kolinko
2009/3/17 Dharani : > I installed apache-tomcat-5.5.27.exe in windows platform (In the machine I > have installed jdk1.6. ) > But the server doesn't start with Windows start. Always I have to go to > binfolder and run tomcat5.exe to start the server. > > How can I configure the server to start with

RE: Installing Tomcat on Windows

2009-03-17 Thread Martin Gainty
--with security $CATALINA_HOME/bin/catalina.sh start -security(Unix) %CATALINA_HOME%\bin\catalina start -security (MS)--no security (not advised) $CATALINA_HOME/bin/catalina.sh start(Unix) %CATALINA_HOME%\bin\catalina start (MS) http://tomcat.apache.org/tomcat-5.5-doc/security-manager-h

Re: Installing Tomcat on Windows

2009-03-17 Thread Dharani
I installed Tomcat in my PC at home also and it works fine. In my PC I have jdk1.5 . I want to deploy Xwiki ( http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat) and I need to turn off the java Security Manager. Can you guide me how to do it? On Tue, Mar 17, 2009 at 3:35 PM,

Re: tracing port to port

2009-03-17 Thread Filip Hanik - Dev Lists
wireshark.org André Warnier wrote: Hi. I know this is only tenuously Tomcat-related, and apologise in advance. I'll be content with one-liners. I have to trace the byte data that circulates back and forth between a Tomcat servlet (the tenuous connection) and a separate Java daemon to which

Re: Installing Tomcat on Windows

2009-03-17 Thread Dharani
I installed the .exe file http://tomcat.apache.org/download-55.cgi ---> Binary Distribution --> Core -- > Windows Service Installer( pgp

Re: Support for JSF 2.0

2009-03-17 Thread Mark Thomas
Martin Dubuc wrote: > It is my understanding that Java EE 6 will use JSP 2.2, servlet 3.0 and JSF > 2.0. I am wondering if Tomcat 7.0 should also support JSP 2.2 in addition to > servlet 3.0. As far as I am aware, there is no JSP 2.2 spec in the works. If you know different, a reference would be u

RE: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-03-17 Thread Caldarale, Charles R
> From: Bharath R [mailto:bharath.mail.l...@gmail.com] > Subject: javax.naming.NameNotFoundException with JAXWS RI 2.5 > and Tomcat 6.0 > This problem occurs only with Tomcat 6.0.18. It is ok with Tomcat > 5.5.27. Tomcat 6.0 supports version 2.5 of the servlet spec, whereas Tocmat 5.5 uses 2.

RE: Userdirs on an NFS share

2009-03-17 Thread Anthony J. Biacco
Remember that over nfs, the client's access to the server will be as user nobody or nfsnobody, depending on your system, so that user will have to have access to all those directories/files, unless of course you use the anonuid/anongid directives in your exports file. -Tony ---

RE: Tomcat 6 multiple hosts howto

2009-03-17 Thread Caldarale, Charles R
> From: Jeroen Kransen [mailto:jer...@kransen.nl] > Subject: RE: Tomcat 6 multiple hosts howto > > More specifically, I am using Spring's > PropertyPlaceholderConfigurer pointing to > classpath:mywebapp.properties I probably wouldn't do that; basing such a location off the webapp's classpath ca

RE: Userdirs on an NFS share

2009-03-17 Thread Caldarale, Charles R
> From: Anthony PAUL [mailto:anthony.p...@unicaen.fr] > Subject: Userdirs on an NFS share > > type Status report > message /~paul/test.jsp > description The requested resource (/~paul/test.jsp) > is not available. Does the userid Tomcat is running under have access to the file in question? If

Re: Support for JSF 2.0

2009-03-17 Thread Martin Dubuc
It is my understanding that Java EE 6 will use JSP 2.2, servlet 3.0 and JSF 2.0. I am wondering if Tomcat 7.0 should also support JSP 2.2 in addition to servlet 3.0. I have seen on the Sun's JSF forum a poster claim that JSF 2.0 would work with JSP 2.0 and servlet 2.5, so I guess Tomcat 6.0.x woul

tracing port to port

2009-03-17 Thread André Warnier
Hi. I know this is only tenuously Tomcat-related, and apologise in advance. I'll be content with one-liners. I have to trace the byte data that circulates back and forth between a Tomcat servlet (the tenuous connection) and a separate Java daemon to which the servlet establishes this connectio

Re: Throttling in mod_jk - Is it possible ?

2009-03-17 Thread Rainer Jung
On 17.03.2009 19:11, Mohit Anchlia wrote: mod_jk 1.2.25 - Is there a way to throttle traffic in apache. Something where we mention if requests on particular URL exceeded 'x' number then return 'y' message? Since Apache is modular, there are other modules, that allowe throttling. Most of them t

Throttling in mod_jk - Is it possible ?

2009-03-17 Thread Mohit Anchlia
mod_jk 1.2.25 - Is there a way to throttle traffic in apache. Something where we mention if requests on particular URL exceeded 'x' number then return 'y' message? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Console Output

2009-03-17 Thread Ben Souther
cd into the $CATALINA_HOME/logs directory and type: tail -f * On Tue, 2009-03-17 at 13:41 -0400, Mighty Tornado wrote: > Hi, > I am running Tomcat on Mac OS X. > How can I see output on the console of the command line? > > For example, if I would like to put System.out statements in the code

Console Output

2009-03-17 Thread Mighty Tornado
Hi, I am running Tomcat on Mac OS X. How can I see output on the console of the command line? For example, if I would like to put System.out statements in the code and would like to see them on the console. Thanks,

Re: mysql/J connector + tomcat and it configuration

2009-03-17 Thread Ken Bowen
Just follow the directions on the link I gave you. Just place mysql connector/J where it tells you to...there's no other configuration for the connector itself. On Mar 17, 2009, at 11:18 AM, Tomas Rodriguez wrote: thanks ken for you help, but I have tomcat 6.0 installed already + mysql 5.1+

Userdirs on an NFS share

2009-03-17 Thread Anthony PAUL
Hi list, I'm having a 404 error whenever I try to browse a JSP owned by a user (eg: http://server:8080/~paul/test.jsp) type Status report message /~paul/test.jsp description The requested resource (/~paul/test.jsp) is not available. I guess the trouble comes from my NFS share, since users hom

Re: [OT] Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 March 2009 15:23:03 André Warnier wrote: > +1 (confirming what Rainer says above). [...] > I also do not really see the interest in running a separate Tomcat on > the physical Linux server, since one can easily define a Virtual host > and run a Tomcat in there. To avoid misunderst

Re: Tomcat 6.0 in Eclipse

2009-03-17 Thread Krishnaveni Krishnarajah
Thanks a lot Larry and Ingmar. I found out the issue of different configuration and why the default page is not getting loaded. Regards, Krishnaveni Krishnarajah On Tue, Mar 17, 2009 at 7:33 AM, Larry Isaacs wrote: > This is also explained in the WTP Tomcat FAQ: > > http://wiki.eclipse.org/WTP_T

Re: mysql/J connector + tomcat and it configuration

2009-03-17 Thread Tomas Rodriguez
thanks ken for you help, but I have tomcat 6.0 installed already + mysql 5.1+ Java 1.5+ php+ apache-hhtp well the things is that I need to configurate the tomcat and mysql connector/J for developer application in java that use DB in mysql. but I don't know how configurate the mysql/ J connecto

[OT] Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 March 2009 15:44:19 Alan Chaney wrote: > >> What do you mean with "the other end"? I use VMWare Server 2 on Ubuntu > >> (original tar.gz install from vmware.com), also found that it blocks the > >> said ports, and simply changed the server.xml of the VMWare Tomcat. > > And how did the

Re: Support for JSF 2.0

2009-03-17 Thread Mark Thomas
Christopher Schultz wrote: > Martin, > > On 3/9/2009 5:44 PM, Martin Dubuc wrote: >> I am wondering if there are plans to support JSF 2.0 when it is released. I >> assume that support for JSF 2.0 will require support for new servlet/JSP >> specs (somehting like servlet 3.0/JSP 2.2). Would this be

Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Alan Chaney
Chris Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 3/17/2009 4:18 AM, Rainer Frey (Inxmail GmbH) wrote: On Monday 16 March 2009 22:42:27 Christopher Schultz wrote: Can you clarify this a bit? There is no special management instance. VMWare Server is an

Re: [OT] Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread André Warnier
Rainer Frey (Inxmail GmbH) wrote: On Tuesday 17 March 2009 14:46:35 Christopher Schultz wrote: Rainer, There is no special management instance. VMWare Server is an application that runs on a regular host operating system instance (it installs linux kernel modules though, and probably also Wind

RE: Submitting Website Patches

2009-03-17 Thread Martin Gainty
did you verify this error is not already documented and patch applied https://issues.apache.org/bugzilla/show_bug.cgi ? Martin __ Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note Diese Nachricht ist vertraulich. Sollten Si

Re: Submitting Website Patches

2009-03-17 Thread Rainer Jung
[Mark was faster, but since I already wrote this I'll send anyhow] Hi Chris, On 17.03.2009 14:37, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomcat committers, What is the best way to submit a patch for the Tomcat website docs -- like ones that are linked-to from

[OT] Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 March 2009 14:46:35 Christopher Schultz wrote: > Rainer, > > > There is no special management instance. VMWare Server is an application > > that runs on a regular host operating system instance (it installs linux > > kernel modules though, and probably also Windows drivers). > > Inter

Re: Submitting Website Patches

2009-03-17 Thread Mark Thomas
Christopher Schultz wrote: > Tomcat committers, > > What is the best way to submit a patch for the Tomcat website docs -- > like ones that are linked-to from this page: > http://tomcat.apache.org/tomcat-6.0-doc/index.html > > Lots of complaints are made on the list about docs missing important >

[OT] RE: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Peter Crowther
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > On 3/17/2009 4:18 AM, Rainer Frey (Inxmail GmbH) wrote: > > On Monday 16 March 2009 22:42:27 Christopher Schultz wrote: > >> > >> Can you clarify this a bit? > > > > There is no special management instance. VMWare Server is > an ap

Re: Support for JSF 2.0

2009-03-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 3/9/2009 5:44 PM, Martin Dubuc wrote: > I am wondering if there are plans to support JSF 2.0 when it is released. I > assume that support for JSF 2.0 will require support for new servlet/JSP > specs (somehting like servlet 3.0/JSP 2.2). Wou

Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 3/17/2009 4:18 AM, Rainer Frey (Inxmail GmbH) wrote: > On Monday 16 March 2009 22:42:27 Christopher Schultz wrote: >> >> Can you clarify this a bit? > > There is no special management instance. VMWare Server is an application that > runs

Submitting Website Patches

2009-03-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomcat committers, What is the best way to submit a patch for the Tomcat website docs -- like ones that are linked-to from this page: http://tomcat.apache.org/tomcat-6.0-doc/index.html Lots of complaints are made on the list about docs missing import

Re: form parameters

2009-03-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/17/2009 6:52 AM, Pid wrote: > Does the Servlet Spec define the default value of the request encoding, > or is this a Tomcat feature? The servlet spec (section 3.9 "Request data encoding") specifies ISO-8859-1 as the default encoding for POS

RE: FW: Reg: Tomcat valve

2009-03-17 Thread shenaz.assu
Hi P, It worked. I really appreciate your help. Thanks a lot!! Regards Shenaz -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 17, 2009 4:38 PM To: Tomcat Users List Subject: Re: FW: Reg: Tomcat valve shenaz.a...@wipro.com wrote: > Hi Pid, > > I don't have a

Re: Rotating catalina.out in tomcat 6.x

2009-03-17 Thread Mark Thomas
André Warnier wrote: > Ghufran wrote: >> I am using tomcat 6.0.18 on RHEL 5. Please tell me how to rotate the >> catalina.out log file. >> > Some simple nice polite innocent question like that, yet so perfect for > triggering a huge ranting thread..;-) Or just ignoring it since the OP hijacked the

RE: Reg: Tomcat valve

2009-03-17 Thread Caldarale, Charles R
> From: shenaz.a...@wipro.com [mailto:shenaz.a...@wipro.com] > Subject: FW: Reg: Tomcat valve > >override="true" While you're fixing your valve code, also get rid of the declaration - that hasn't been used since Tomcat 4. The default context settings are in conf/context.xml. - Chuc

RE: Tomcat 6.0 in Eclipse

2009-03-17 Thread Larry Isaacs
This is also explained in the WTP Tomcat FAQ: http://wiki.eclipse.org/WTP_Tomcat_FAQ or specifically: http://wiki.eclipse.org/WTP_Tomcat_FAQ#If_I_start_my_Tomcat_server_and_try_to_display_Tomcat.27s_default_page.2C_why_do_I_see_a_directory_listing_or_404_error_page.3F Cheers, Larry -Origi

Re: Installing Tomcat on Windows

2009-03-17 Thread André Warnier
Ilya Kazakevich wrote: Install it as windows service and make sure you set it to "automatic" start mode. http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html That page starts with a big fat message saying that it is now obsolete. For a new user, that is a bit unsettling I guess.

Re: Installing Tomcat on Windows

2009-03-17 Thread André Warnier
Dharani wrote: I installed apache-tomcat-5.5.27.exe in windows platform (In the machine I have installed jdk1.6. ) When you downloaded Tomcat, there was a choice between 2 versions : - an msi installer - a zip file Which one did you download and install ? But the server doesn't start with Wi

Re: FW: Reg: Tomcat valve

2009-03-17 Thread Pid
shenaz.a...@wipro.com wrote: > Hi Pid, > > I don't have a second valve. Once my request is processed in > RenewSessionValve, i want it to be available in my login filter. Even if > I'm using another valve, how I will eventually get the request in login > servlet? Doesn't matter whether you're u

RE: Installing Tomcat on Windows

2009-03-17 Thread Ilya Kazakevich
Install it as windows service and make sure you set it to "automatic" start mode. http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html You should also check logs (catalina.out). Maybe it starts, but stops because of errors. -Original Message- From: Dharani [mailto:vishgnan

Re: can i define jsp directory order from witch tomcat will look first ?

2009-03-17 Thread Pid
Meir Yanovich wrote: > Hello all > i have web project in war file with directory structure in witch i have the > jspMain directory where all my jsps are > and the links all pointing to it , but now i have customized pages that i > like to put in new directory called jspXXX > and i like tomcat to l

Installing Tomcat on Windows

2009-03-17 Thread Dharani
I installed apache-tomcat-5.5.27.exe in windows platform (In the machine I have installed jdk1.6. ) But the server doesn't start with Windows start. Always I have to go to binfolder and run tomcat5.exe to start the server. How can I configure the server to start with when Windows starts? Is the p

RE: FW: Reg: Tomcat valve

2009-03-17 Thread shenaz.assu
Hi Pid, I don't have a second valve. Once my request is processed in RenewSessionValve, i want it to be available in my login filter. Even if I'm using another valve, how I will eventually get the request in login servlet? Regards Shenaz -Original Message- From: Pid [mailto:p...@pidster.

Re: form parameters

2009-03-17 Thread Pid
André Warnier wrote: > Christopher Schultz wrote: >> >> Quick question: multipart/form-data is typically used for file upload... >> why not use application/x-www-form-urlencoded instead? I realize the >> problem is that certain browsers do not send the proper charset in the >> Content-Type, but I'd

Re: FW: Reg: Tomcat valve

2009-03-17 Thread Pid
shenaz.a...@wipro.com wrote: > Hi all, > > Resending the mail with formatted xml tags. > > Regards > Shenaz > > > From: Shenaz Mohamed assu (WT01 - Telecom Equipment) > Sent: Tuesday, March 17, 2009 12:49 PM > To: 'users@tomcat.apache.org'; 'users-h...@tomcat.

RE: Tomcat 6 multiple hosts howto

2009-03-17 Thread Jeroen Kransen
Thanks a lot, Ilya and Chuck, I think I did not make myself totally clear. Indeed I meant to copy the .war file, and each copy to pick up a different .properties file for settings. More specifically, I am using Spring's PropertyPlaceholderConfigurer pointing to classpath:mywebapp.properties, and w

Re: Rotating catalina.out in tomcat 6.x

2009-03-17 Thread André Warnier
Ghufran wrote: I am using tomcat 6.0.18 on RHEL 5. Please tell me how to rotate the catalina.out log file. Some simple nice polite innocent question like that, yet so perfect for triggering a huge ranting thread..;-) - To u

Rotating catalina.out in tomcat 6.x

2009-03-17 Thread Ghufran
Hi I am using tomcat 6.0.18 on RHEL 5. Please tell me how to rotate the catalina.out log file. Regards Ghufran

can i define jsp directory order from witch tomcat will look first ?

2009-03-17 Thread Meir Yanovich
Hello all i have web project in war file with directory structure in witch i have the jspMain directory where all my jsps are and the links all pointing to it , but now i have customized pages that i like to put in new directory called jspXXX and i like tomcat to look in this directory first and i

Re: Tomcat 6.0 in Eclipse

2009-03-17 Thread Ingmar Lötzsch
I downloaded apache-tomcat-6.0.16 and ran the startup.bat. I could see the page display at http://localhost:8080/ Later, I configured the same in eclipse 3.4 and started the tomcat using eclipse.Eclipse started the tomcat with no exception. However, when I go to the page at http://localhost:8080/

Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Monday 16 March 2009 22:42:27 Christopher Schultz wrote: > > I spent some time looking to see whether these were configurable, but I > > found nothing, apart from a rather snotty message on the vmware bulletin > > boards stating that they didn't think that you should run a server on > > the same

FW: Reg: Tomcat valve

2009-03-17 Thread shenaz.assu
Hi all, Resending the mail with formatted xml tags. Regards Shenaz From: Shenaz Mohamed assu (WT01 - Telecom Equipment) Sent: Tuesday, March 17, 2009 12:49 PM To: 'users@tomcat.apache.org'; 'users-h...@tomcat.apache.org' Subject: Reg: Tomcat valve Hi all, I'm

Reg: Tomcat valve

2009-03-17 Thread shenaz.assu
Hi all, I'm trying to implement a custom tomcat valve. My application server is JBoss 4.0.5GA with Tomcat 5.5. I created a class, "RenewSession.java" extending ValveBase.java and I declared the valve in the server.xml as follows. [tt] <Host name="localhost" autoDeploy="false" deployOnStartup="f