more than one directory in attributte 'appBase' in host container

2006-04-06 Thread Mariano
Hi all, i like to know if i can set more than one directory in attributte 'appBase' in host container for automatic scan of web applications when tomcat starts. Regards, Mariano López - To unsubscribe, e-mail: [EMAIL

Re: JAAS Realm Help

2006-04-06 Thread Franck Borel
Information about JAAS can be faound at: http://www.JAASbook.com Hi, Trying to get a custom login through a JAAS LoginModule. Got the authentication to work (confirmed thru println()), but get back a HTTP unauthorized error in the browser. Gets to the commit() of LoginModule, where I add a

Re: High CPU with tomcat 5.5.7

2006-04-06 Thread Leon Rosenberg
Hi, I don't see anything strange in your thread dump. The threads you mentioned are the http-worker threads which are waiting for new requests to server, no reason to be worried. I don't now what your image-processing threads do ( com.wfb.ivs.delayedImage.thread.ObjectFIFO), is there an

Re: jdk1.5, tomcat 5.5.9 and jsp compilation

2006-04-06 Thread prophecy
I'm pretty sure you can't use 1.5 features in the jsp page itself because it's not using the javac compiler. You can use 1.5 features in your java class files though. -- View this message in context: http://www.nabble.com/jdk1.5%2C-tomcat-5.5.9-and-jsp-compilation-t1392691.html#a3779909 Sent

How to Reference External Classes?

2006-04-06 Thread MERVYN . SANDS
Hi, Is there a recommended way to reference classes/jars external to the Tomcat 5.5 directory tree? I've googled on this and seen a variety of postings. Modifying setclasspath.sh seems to work - but changes here affect the System Class Loader. How have others referenced external classes/jars at

Re: How to Reference External Classes?

2006-04-06 Thread Markus Schönhaber
MERVYN.SANDS wrote: Is there a recommended way to reference classes/jars external to the Tomcat 5.5 directory tree? I've googled on this and seen a variety of postings. Modifying setclasspath.sh seems to work - but changes here affect the System Class Loader. How have others referenced

Multi user setup in a non root environnement

2006-04-06 Thread François Conil
Hello, I'm currently setting up a tomcat 5.5 serveur behind an apache 1.3 server using mod_jk, all of this running under freebsd 6.0. I've got two questions : 1) I managed to successfully run Tomcat under the root account in a multi user setup, with .jsp files reachables via

RE: Multi user setup in a non root environnement

2006-04-06 Thread Peter Crowther
From: François Conil [mailto:[EMAIL PROTECTED] 2) I created a tomcat user and tomcat group, chowned the whole tomcat directory to tomcat:tomcat and launched the tomcat server without any particular switch after having su-ed to the tomcat user. The www.site.com:8080/ default page works

Re: Multi user setup in a non root environnement

2006-04-06 Thread François Conil
Peter Crowther a écrit : From: François Conil [mailto:[EMAIL PROTECTED] 2) I created a tomcat user and tomcat group, chowned the whole tomcat directory to tomcat:tomcat and launched the tomcat server without any particular switch after having su-ed to the tomcat user. The www.site.com:8080/

RE: Problem whith constructs of directories?

2006-04-06 Thread José María Tristán
Now, i only use tomcat. I delete context from the server.xml and i work only whith CoffeeNet.xml. Is necessary have the same structure of directories that required but the specifications? Thank you -Mensaje original- De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Enviado el: miércoles,

RE: undeploy then redeploy, sessionId valid?

2006-04-06 Thread Tim Lucia
Tomcat serialized the session(s) when the application was shut down, and de-serialized it (them) when the application was restarted. It's a beautiful thing that Tomcat can persist sessions across shutdowns and redeploys. The session is invalidated when the timeout passes, or if the redeploy

Tomcat's getSession(true) returning null

2006-04-06 Thread vienzo
Hi people, i'm experiencing a strange session behaviour in several of my projects running on Tomcat 5.5.12. When the page is being rendered inside servlet's doGet (or doPost, actually it doesn't matter), i call request.getSession(true) many times in order to get data, and at random times it

SecurityManager - java.lang.ClassCircularityError

2006-04-06 Thread Paul Sideleau
I am running tomcat 5.5.9 with a security manager. I am testing an application that still uses the servlet 2.3 web.xml file and jstl 1-0-5 My policy file has an entry like: grant signedby software, Principal com.mypackage.MyPrincipal Paul { permissions. }; This principal is bundled

RE: need inputs on connection pool

2006-04-06 Thread Chandrashekhar O
Lenin is correct. With my experience, I can say that to write a good quality connection pool is not easy jobb. Particularly * Else wait for a resource to be released from one of the threads ( this is tricky, say there's a DB resource leak and all the resources in the pool are leaks, then you'll

Doubt About the Flush() at Tomcat 5.5

2006-04-06 Thread Marcio Camurati
Hi everyone ! At the project we use the Tomcat 5.0 and implement it under this version, yesterday we make a atualization of the container using the Tomcat 5.5.14, but I found a problem with the buffer, at the 5.0 when call the method flush() ou flushbuffer() the container send to the client

crossContext breaking class hierarchy?

2006-04-06 Thread tomcat
Hello, I am experiencing a problem with Tomcat and class hierarchies. In particular when an object (which implements interface X) is shared among serveral contexts I am unable to cast the object back into interface X. Here is the setup (for simplicity I'll illustrate this with 2 contexts): *

Re: access control

2006-04-06 Thread Markus Schönhaber
Zohar wrote: I have a few servlets which are deployed to different contexts (each servlet to its own context). One of these servlets acts as an interface to clients, and it forwards the requests from clients to the appropriate servlets. I don't want any of the non-interface servlets to be

RE: crossContext breaking class hierarchy?

2006-04-06 Thread Tim Lucia
I've seen this with Oracle jdbc objects. If you have classes12.jar in your WEB-INF/lib directory, and a copy in common/lib (for the Tomcat Datasource) then you will have TWO oracle.jdbc.XX classes loaded, one in the common classloader and on in your web app's classloader and although they are

RE: crossContext breaking class hierarchy?

2006-04-06 Thread tomcat
My interface is only in the 2 context specific locations: Application A context a: /WEB-INF/lib/interface.jar Application B context b: /WEB-INF/lib/interface.jar It is not in the Tomcat common or shared lib folders; I've verified this just in case I had a brain cramp. I've seen this with

Re: access control

2006-04-06 Thread Zohar
They used to be all interface servlets, but then I unified all external interface access into one simple servlet that forwards the request to the appropriate service. This way it should be easier to control the access to that context (e.g., protect it with a password, deny access to internal

RE: Problem whith constructs of directories?

2006-04-06 Thread Asensio, Rodrigo
Yes Jose, you have to have that structure. Thatz is the only way that tomcat can load the context files -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 6:36 AM To: 'Tomcat Users List' Subject: RE: Problem whith constructs of

RE: Problem whith constructs of directories?

2006-04-06 Thread José María Tristán
I'll do it. Thank you. -Mensaje original- De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 06 de abril de 2006 16:58 Para: Tomcat Users List Asunto: RE: Problem whith constructs of directories? Yes Jose, you have to have that structure. Thatz is the only way that

RE: crossContext breaking class hierarchy?

2006-04-06 Thread tomcat
Problem sovled. Thanks Tim you got me thinking on the right path. I put the interface.jar in the tomcat shared/lib rather than in the individual context's lib folder. This worked because the jar in the shared/lib folder is common to each of the context's classloader. Putting the interface.jar

Eclipse plugins for tomcat

2006-04-06 Thread Anandi Vyagrapuri
Hi, Can anyone comment on the best eclipse plugin for tomcat development. Tried sysdeo but had difficulties running the application from eclipse. Anybody tried the plugin called Lombaz ? Or, should i purchase My eclipse ? Any suggestions are welcome. Thanks Anandi

Re: access control

2006-04-06 Thread Markus Schönhaber
Zohar wrote: They used to be all interface servlets, but then I unified all external interface access into one simple servlet that forwards the request to the appropriate service. This way it should be easier to control the access to that context (e.g., protect it with a password, deny access

Re: access control

2006-04-06 Thread Zohar
Can I grant access to some jsp pages and deny access to others (in the same context)? - Original Message - From: Markus Schönhaber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, April 06, 2006 17:23 Subject: Re: access control Zohar wrote: I have a

Re: Eclipse plugins for tomcat

2006-04-06 Thread Zohar
take a look at WTP (http://www.eclipse.org/webtools/) - Original Message - From: Anandi Vyagrapuri [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, April 06, 2006 18:35 Subject: Eclipse plugins for tomcat Hi, Can anyone comment on the best eclipse plugin for tomcat

RE: Eclipse plugins for tomcat

2006-04-06 Thread khalid hajsaleh
I really like using myeclipse to debug project I am deploying into tomcat. If you plan on using hibernate, spring or struts there is even an excellent added value there. Khalid -Original Message- From: Zohar [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:47 AM To: Tomcat

hibernate3 in tomcat

2006-04-06 Thread khalid hajsaleh
I am wondering if anyone successfully deployed a war project that uses persistence.xml into tomcat. I am running into problems when I try to do that. Khalid -Original Message- From: Zohar [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:47 AM To: Tomcat Users List Subject:

Re: Eclipse plugins for tomcat

2006-04-06 Thread Antonio Petrelli
Anandi Vyagrapuri ha scritto: Anybody tried the plugin called Lombaz Errr... it is Lomboz anyway. ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Eclipse plugins for tomcat

2006-04-06 Thread Juan Jose Garcia Lau
I've been working with sysdeo but then I switch to WTP. You need some effort to learn the tricks, and if you need to debug JSP, this is excellent. Juan José García -Original Message- From: Zohar [mailto:[EMAIL PROTECTED] Sent: Jueves, 06 de Abril de 2006 09:47 a.m. To: Tomcat Users

Problem with httpservletrequest.getRemoteAddr() returns wrong IPaddress in multihomed machine

2006-04-06 Thread manikandan mvk
Hi , I have a machine with multihomed interface . basically , I am making call where both the server and client are same machine . Here , I am trying to validate the IPaddress from the request with InetAddress.getLocalHost () . Since ,both the client and server are same machine . I expects

RE: Problem with Tomcat 5.5.15, [173 javajni.c] [error] %1 is not a valid Win32 application

2006-04-06 Thread Juan Jose Garcia Lau
No Matt I didn't get answer, but I think the problem it's the program that run as a service: tomcat5w.exe. It runs as 32bit, so when this tries to start the tomcat at 64 bit gives the error. But I resolve temporally this way: I make this bat file, just fix the path for your machine.

Cluster-Deployed application: Tomcat admin: javax.management.AttributeNotFoundException: Cannot find attribute className

2006-04-06 Thread Tim Lucia
On a non- FarmWarDeployer'd cluster, my tomcat adminstrator has my context Tomcat Server Service (Catalina) Host (localhost) Context (/) Resources Data Sources ... And I can change my data sources. Due to my previously posted problem deploying the ROOT.war (/)

Tomcat 5.0.27 and java sdk

2006-04-06 Thread Reis, Tom
I was wondering what version of the java sdk I should use with tomcat 5.0.27. I am currently using sdk 1.4.1_04b05 and it seems that Tomcat goes down once a day. I was wondering if sdk 1.4.1.11 might run better. Thanks.

Re: Tomcat 5.0.27 and java sdk

2006-04-06 Thread David Kerber
Reis, Tom wrote: I was wondering what version of the java sdk I should use with tomcat 5.0.27. I am currently using sdk 1.4.1_04b05 and it seems that Tomcat goes down once a day. I was wondering if sdk 1.4.1.11 might run better. Thanks. I'd go all the way to the latest 1.4.2.x

Re: Problem with httpservletrequest.getRemoteAddr() returns wrong IPaddress in multihomed machine

2006-04-06 Thread Markus Schönhaber
manikandan mvk wrote: I have a machine with multihomed interface . basically , I am making call where both the server and client are same machine . Here , I am trying to validate the IPaddress from the request with InetAddress.getLocalHost () . Since ,both the client and server are same

PLease

2006-04-06 Thread VIKASS NAGPAL
Hi all, I getting the following error please help me resolve this error. Apr 6, 2006 1:52:39 PM org.apache.commons.modeler.Registry registerComponent SEVERE: Error registering Catalina:type=RequestProcessor,worker=http-8080,name=H ttpRequest2 java.security.AccessControlException: Access denied

Global Resource Bundles in Tomcat

2006-04-06 Thread Farrow, Marc
I was able to use Tim Lucia's suggestion and get Resource Bundles working. Can any one provide any ideas/leads on how to use this resource bundle globally within any application within Tomcat? Thank you.

Re: Diagnosing DBCP JDBC connection leak using removeAbandoned parm

2006-04-06 Thread Darryl L. Miles
Richard Mixon wrote: Marc, Thank you - We are using a recent version of the MySQL Connector/J (3.1.10), but maybe that does not mean anything. - Richard Hmm thats not very recent. I know of 2 bugs since then that have bitten me. 3.1.13 should be brewing and that would be the first

catalina problem

2006-04-06 Thread VIKASS NAGPAL
Hi all, I getting the following error please help me resolve this error. Apr 6, 2006 1:52:39 PM org.apache.commons.modeler.Registry registerComponent SEVERE: Error registering Catalina:type=RequestProcessor,worker=http-8080,name=H ttpRequest2 java.security.AccessControlException: Access denied

Re: Tomcat send ThreadDeath to one of it's own Threads

2006-04-06 Thread Darryl L. Miles
David Delbecq wrote: I experienced a strange behaviour of tomcat a few minutes ago. Container is configured to do webapp auto reloading when classes changes. I updated a few WEB-INF/classes/*.properties. Tomcat decided it's time to reload the webapp because classes did change. However, it killed

RE: W3C Extended Log Format

2006-04-06 Thread Tim Lucia
Have you tried here: http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html It has common and combined, and all the primitives -- perhaps you can combine the primitives to form what you need? Tim -Original Message- From: Bernie Durfee [mailto:[EMAIL PROTECTED] Sent: Thursday,

deployer does not support multi-level context path (was RE: Major bug in deployer!!)

2006-04-06 Thread Nicholas Sushkin
Seems that many people have been asking how to use Tomcat deployer to deploy a war to a context that contains multi-level path (like /subdir/myapp or /foo/bar/myapp instead of simple /myapp). After spending a day trying this and that, searching through the mail archive, I found that this

Re: Re: access control

2006-04-06 Thread Warren Pace
From: Zohar [EMAIL PROTECTED] Date: 2006/04/06 Thu AM 11:46:27 EDT To: Tomcat Users List users@tomcat.apache.org, tomcat-user@jakarta.apache.org Subject: Re: access control Can I grant access to some jsp pages and deny access to others (in the same context)? Yes. I've done

Stopping of tomcat failed.

2006-04-06 Thread Yasunori Taniguchi
Hi. Please help me. I'm using apache and tomcat to use Web-based GUI tool on RHEL3.0. The GUI tool has a shell script that starts/stops apache and tomcat. This script with stop option displayed message [FAILED]. It means that stopping of tomcat has been failed. But the tomcat was disappeared in

Re: W3C Extended Log Format

2006-04-06 Thread Peter Rossbach
Look at class o.a.c.valves.ExtendedAccessLogValve at the Source Distribution. This AccessLogger is currently not documented :-( You can configured this Logger conform to the http://www.w3.org/TR/WD-logfile.htm spec. Regards Peter Am 06.04.2006 um 23:26 schrieb Bernie Durfee: Is there a