accesing webapplication without the web context

2009-09-24 Thread rama.honge
Hi, What to know to to access a webapp without using the context in the url in tomcat 6.0 for ex: Instead of using http://myserver.com/TestApp, it should be accessible with http://myserver.com There is only one web application deployed in tomcat. Any help on this much appreciated.. --

Re: what does j_security_check do in clustering?

2009-09-24 Thread Rex Wang
What is anote? I am quite understanding its definition.. thanks 2009/9/23 Filip Hanik - Dev Lists devli...@hanik.com j_security_check is stored as a note with the user session, but that data is not being replicated. Filip On 09/17/2009 12:05 AM, Rex Wang wrote: Dear Tomcat, I meet

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-24 Thread Sylvie Perrin
Christopher, André, Christopher Schultz a écrit : And (just to anticipate the next issue), Sylvie, does your program actually need to read the content of the file and do something with that content ? Yeah, remember to use a Reader and specify the character encoding. Yes, my program

Re: accesing webapplication without the web context

2009-09-24 Thread Pid
On 24/09/2009 07:12, rama.honge wrote: Hi, What to know to to access a webapp without using the context in the url in tomcat 6.0 for ex: Instead of using http://myserver.com/TestApp, it should be accessible with http://myserver.com There is only one web application deployed in tomcat. You

Time taken in millis in ExtendedAccessLogValve

2009-09-24 Thread Xavier
Hello, First of all, sorry if this question was alerady asked... We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0 later) and our app to serve requests. The ExtendedAccessLogValve provides a nice date/time output format, but the doc says the time taken is logged in seconds,

Re: Time taken in millis in ExtendedAccessLogValve

2009-09-24 Thread Leon Rosenberg
what you need is a performance monitoring tool :-) like this one: http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers here how to install: http://infra.anotheria.net/confluence/display/MSK/HowTo+Embed+Moskito+WebUI+In+Your+Application regards Leon P.S. and it measures in

Re: Time taken in millis in ExtendedAccessLogValve

2009-09-24 Thread Rainer Jung
On 24.09.2009 10:32, Xavier wrote: Hello, First of all, sorry if this question was alerady asked... We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0 later) and our app to serve requests. The ExtendedAccessLogValve provides a nice date/time output format, but the

Re: Tomcat and Outgoing SSL

2009-09-24 Thread Steve Cohen
Caldarale, Charles R wrote: From: Steve Cohen [mailto:sco...@javactivity.org] Subject: Tomcat and Outgoing SSL I would like some way to configure Tomcat This has nothing to do with Tomcat - it plays no role whatsoever in your outbound requests. Whatever certificates you make available

RE: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-24 Thread Martin Gainty
implement the same charset that your CIFS drive is configured for Martin __ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour

Re: webapps examples and security manager

2009-09-24 Thread Alan
Hallelujah! I finally figured out what's going on with tomcat 5.5.26 when running webapps in security mode. In Ubuntu 9.04, with just the addition of 'permission java.lang.RuntimePermission setContextClassLoader;' in catalina.policy solved the problem. This is happen because ubuntu has its own

RE: what does j_security_check do in clustering?

2009-09-24 Thread Caldarale, Charles R
From: Rex Wang [mailto:rwo...@gmail.com] Subject: Re: what does j_security_check do in clustering? What is anote? I am quite understanding its definition.. Look at the code. The notes field in a StandardSession is just a Hashtable containing an arbitrary set of key/value pairs, some of

Re: Whole file missing

2009-09-24 Thread btodd_22
Thanks for everyones help but the culprit has been found...drum roll please NETBEANS!!! Since netbeans and the version of tomcat are on the same server(just for testing purposes). When I would do a clean and build in netbeans it would actually go into my webapps folder within tomcat and get

Re: Whole file missing

2009-09-24 Thread Michael Ludwig
btodd_22 schrieb: When I would do a clean and build in netbeans it would actually go into my webapps folder within tomcat and get rid of my WAR file. Netbeans *undeployed* your web application. Look for undeployment here: http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html Also see

Re: webapps examples and security manager

2009-09-24 Thread Pid
On 24/09/2009 14:11, Alan wrote: Hallelujah! I finally figured out what's going on with tomcat 5.5.26 when running webapps in security mode. In Ubuntu 9.04, with just the addition of 'permission java.lang.RuntimePermission setContextClassLoader;' in catalina.policy solved the problem. This is

php 5 and tomcat 6

2009-09-24 Thread Josh Gooding
Hey gang, Does anyone know where the last release of PECL was that had the tomcat files in it for getting PHP to run with Tomcat? Looks like the version of PHP I have (5.2.11) doesn't include the PECL libraries and from what I have read, the PECL are currently not released. I seem to be coming

Clustering Question...

2009-09-24 Thread Darren Kukulka
Hi All, Just a quick question regarding clustering with Tomcat 6. In a 2-node scenario, where both nodes are configured identically and load balanced via Apache based on availability, how can we configure the cluster to deal with situations where one node has exhausted its Old Gen heap

Re: webapps examples and security manager

2009-09-24 Thread Alan
Well, I'll try to make it clearer: Situation: Ubuntu 9.04 with SUN Java 1.6 and tomcat 5.5.26 with security mode (default in Debian/Ubuntu). Testing tomcat-webapps examples. A clean install and everything seems to work, except that nothing is written in /var/log/tomcat5.5 To solve this issue,

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 9/24/2009 8:04 AM, Martin Gainty wrote: implement the same charset that your CIFS drive is configured for No filesystem that I know of has a standard encoding for file contents. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG

Re: what does j_security_check do in clustering?

2009-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rex, On 9/24/2009 3:15 AM, Rex Wang wrote: What is anote? I am quite understanding its definition.. Just to clarify Chuck's comments: a note has nothing to do with the Servlet API. It's an implementation detail specific to Tomcat where, among

Re: php 5 and tomcat 6

2009-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 9/24/2009 10:06 AM, Josh Gooding wrote: Does anyone know where the last release of PECL was that had the tomcat files in it for getting PHP to run with Tomcat? Looks like the version of PHP I have (5.2.11) doesn't include the PECL

Re: php 5 and tomcat 6

2009-09-24 Thread Tommy Pham
- Original Message From: Josh Gooding josh.good...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 24, 2009 7:06:11 AM Subject: php 5 and tomcat 6 Hey gang, Does anyone know where the last release of PECL was that had the tomcat files in it for

Should I use mod_jk or mod_proxy_ajp for my Apache2 to Tomcat5 connector on AIX ?

2009-09-24 Thread Strickland, Lawrence P
Should I use mod_jk or mod_proxy_ajp for my Apache2 to Tomcat5 connector on AIX ? I am having some problems building mod_jk on AIX and I see the same functionality is supported in mod_proxy_ajp. Does anyone have some good reason why I should use one over the other? Larry Strickland Lead Systems

Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Strickland, Lawrence P
Has anyone been successful building mod_jk on AIX 6.1 ? If so, do you have any tips for me? I can't seem to get it to go. It fails to build mod_jk.so Larry Strickland Lead Systems Administrator lawrence-strickl...@uiowa.edu University of Iowa Hospitals and Clinics

Tomcat 5.5.17 stop service fails resulting error 1053 on win server 2003

2009-09-24 Thread Deepti Nigudkar
We are using Tomcat 5.5.17 and everytime we try to stop the service from windows server 2003 we get error 1053 (It seems Microsoft uses this code if the service start/stop timeout) I have tried to look for the solution to this as our softwares use Apache tomcat 5.5.17. I have even tried

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry, On 9/24/2009 11:58 AM, Strickland, Lawrence P wrote: Has anyone been successful building mod_jk on AIX 6.1 ? If so, do you have any tips for me? I can't seem to get it to go. It fails to build mod_jk.so Could you provide some more details?

Re: Tomcat 5.5.17 stop service fails resulting error 1053 on win server 2003

2009-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Deepti, On 9/24/2009 12:03 PM, Deepti Nigudkar wrote: We are using Tomcat 5.5.17 and everytime we try to stop the service from windows server 2003 we get error 1053 (It seems Microsoft uses this code if the service start/stop timeout) That error

Re: php 5 and tomcat 6

2009-09-24 Thread Hassan Schroeder
On Thu, Sep 24, 2009 at 8:40 AM, Tommy Pham tommy...@yahoo.com wrote: Only way to get PHP running in Tomcat is through CGI. Not true: http://quercus.caucho.com/ -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan

[OT] Re: php 5 and tomcat 6

2009-09-24 Thread Tommy Pham
- Original Message From: Hassan Schroeder hassan.schroe...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 24, 2009 10:36:19 AM Subject: Re: php 5 and tomcat 6 On Thu, Sep 24, 2009 at 8:40 AM, Tommy Pham wrote: Only way to get PHP running in

Re: Clustering Question...

2009-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darren, On 9/24/2009 10:21 AM, Darren Kukulka wrote: In a 2-node scenario, where both nodes are configured identically and load balanced via Apache based on availability, how can we configure the cluster to deal with situations where one node has

Re: php 5 and tomcat 6

2009-09-24 Thread Ziggy
Have a look at liferay portlets... They allow you to run php portlets from inside a j2ee container like tomcat.. www.liferay.com On 9/24/09, Tommy Pham tommy...@yahoo.com wrote: - Original Message From: Hassan Schroeder hassan.schroe...@gmail.com To: Tomcat Users List

Any way to filter URL's with a dot in the directory name?

2009-09-24 Thread Scott Dunbar
I'm trying to write a filter (or use a security-constraint) to eliminate Tomcat serving up files from a directory that starts with a dot - .svn in this case. It appears, based on reading the servlet spec, that /* is not sufficient for this. Indeed, using Tomcat 6.0.18 I've seen that a

RE: Any way to filter URL's with a dot in the directory name?

2009-09-24 Thread Caldarale, Charles R
From: Scott Dunbar [mailto:sc...@xigole.com] Subject: Any way to filter URL's with a dot in the directory name? It appears, based on reading the servlet spec, that /* is not sufficient for this. Why not? /* maps to everything. Indeed, using Tomcat 6.0.18 I've seen that a request for

Re: Any way to filter URL's with a dot in the directory name?

2009-09-24 Thread Scott Dunbar
No, I specified /* as my url-pattern: filter-mapping filter-nameFileFilter/filter-name url-pattern/*/url-pattern /filter-mapping and my filter is not called when the URL is http://www.hostname.tld/.svn/entries The servlet spec is weird here and the url-pattern in a

RE: Any way to filter URL's with a dot in the directory name?

2009-09-24 Thread Caldarale, Charles R
From: Scott Dunbar [mailto:sc...@xigole.com] Subject: Re: Any way to filter URL's with a dot in the directory name? No, I specified /* as my url-pattern: and my filter is not called when the URL is http://www.hostname.tld/.svn/entries Is your webapp deployed as ROOT? If not, what is the

RE: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Strickland, Lawrence P
This is the output of my build run. So apparently I am building version 1.2.28 with XLC 10.1 and Apache 2.2.13 #./httpd -v Server version: Apache/2.2.13 (Unix) Server built: Sep 22 2009 13:27:47 # gmake -v GNU Make 3.80 /home/strickll/tomcat-connectors-1.2.28-src/native bash-3.00# CC=cc_r

Re: accesing webapplication without the web context

2009-09-24 Thread André Warnier
rama.honge wrote: Hi, What to know to to access a webapp without using the context in the url in tomcat 6.0 for ex: Instead of using http://myserver.com/TestApp, it should be accessible with http://myserver.com There is only one web application deployed in tomcat. Any help on this much

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Rainer Jung
Hi Lawrence, On 24.09.2009 22:48, Strickland, Lawrence P wrote: This is the output of my build run. So apparently I am building version 1.2.28 with XLC 10.1 and Apache 2.2.13 #./httpd -v Server version: Apache/2.2.13 (Unix) Server built: Sep 22 2009 13:27:47 # gmake -v GNU Make 3.80

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-24 Thread André Warnier
Sylvie Perrin wrote: Christopher, André, Christopher Schultz a écrit : And (just to anticipate the next issue), Sylvie, does your program actually need to read the content of the file and do something with that content ? Yeah, remember to use a Reader and specify the character

Re: php 5 and tomcat 6

2009-09-24 Thread Ken Bowen
Sorry for dropping the link. The reference showed up in this: http://quercus.caucho.com/casestudies/Caucho_LiveProcess_casestudy.pdf The company is: http://www.liveprocess.com/ On Sep 24, 2009, at 1:36 PM, Hassan Schroeder wrote: On Thu, Sep 24, 2009 at 8:40 AM, Tommy Pham

Re: Should I use mod_jk or mod_proxy_ajp for my Apache2 to Tomcat5 connector on AIX ?

2009-09-24 Thread Mark Thomas
Strickland, Lawrence P wrote: Should I use mod_jk or mod_proxy_ajp for my Apache2 to Tomcat5 connector on AIX ? I am having some problems building mod_jk on AIX and I see the same functionality is supported in mod_proxy_ajp. Does anyone have some good reason why I should use one over the

Re: Any way to filter URL's with a dot in the directory name?

2009-09-24 Thread Scott Dunbar
Thanks Charles for encouraging me dig a bit more into this. Yes, my webapp is the root of a VirtualHost. I've figured out what is going on now. The VirtualHost is very simple: Host name=host.domain.tld appBase=/home/scott/sites/host.domain.tld unpackWARs=true Valve

RE: Any way to filter URL's with a dot in the directory name?

2009-09-24 Thread Caldarale, Charles R
From: Scott Dunbar [mailto:sc...@xigole.com] Subject: Re: Any way to filter URL's with a dot in the directory name? This should prevent the automatic application deployment for my top level .svn directory and subsequently let my filter work for the .svn directories in ROOT. I'd strongly

Re: php 5 and tomcat 6

2009-09-24 Thread Ken Bowen
Argh. Sorry for the list spam. Was sending this to someone interested. On Sep 24, 2009, at 5:28 PM, Ken Bowen wrote: Sorry for dropping the link. The reference showed up in this: http://quercus.caucho.com/casestudies/Caucho_LiveProcess_casestudy.pdf The company is:

RE: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Strickland, Lawrence P
If the shared object module in not called mod_jk.so then what is it called? Is it mod_jk.o? And, if that is the case where does it need to be? In the apache/modules directory? From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Thu 9/24/2009 4:24 PM To:

Re: webapps examples and security manager

2009-09-24 Thread Pid
On 24/09/2009 15:19, Alan wrote: Well, I'll try to make it clearer: Situation: Ubuntu 9.04 with SUN Java 1.6 and tomcat 5.5.26 with security mode (default in Debian/Ubuntu). Testing tomcat-webapps examples. A clean install and everything seems to work, except that nothing is written in

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Rainer Jung
On 25.09.2009 00:55, Strickland, Lawrence P wrote: If the shared object module in not called mod_jk.so then what is it called? Is it mod_jk.o? And, if that is the case where does it need to be? In the apache/modules directory? See the below find command. It could be mod_jk.so, mod_jk.a or

Re: Error when starting ASF Tomcat on iSeries

2009-09-24 Thread Bill Barker
Mark Thomas ma...@apache.org wrote in message news:4aba56f3.3000...@apache.org... John McCleskey wrote: I'm trying to start ASF Tomcat on an iSeries running Webfacing, but my server is throwing a java exception in the java log file. The error is: java.lang.NullPointerException

Re: what does j_security_check do in clustering?

2009-09-24 Thread Rex Wang
Thanks a lot to all your guys!! -Rex 2009/9/24 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rex, On 9/24/2009 3:15 AM, Rex Wang wrote: What is anote? I am quite understanding its definition.. Just to clarify Chuck's comments: a note