RE: Error processing TLD listeners

2006-04-12 Thread Farrow, Marc
Try removing the leading slash in your TLD path.. Change /WEB-INF/tlds/fmt.tld TO WEB-INF/tlds/fmt.tld Not sure if this will help, but worth a shot. -Original Message- From: A. Alonso Dominguez [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 4:19 AM To: users@

RE: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Farrow, Marc
lance web servers Thanks for the reply, Do you mean to say that not Tomcat but load balancer will do the replication job? So user and roles will be still available in another server. regards manisha --- "Farrow, Marc" <[EMAIL PROTECTED]> wrote: > Depending on the load bal

RE: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Farrow, Marc
Depending on the load balancer, most sessions are replicated across the load balancer. *shrug* -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 11:05 AM To: Tomcat Users List Subject: Tomcat 5.0 Datasource Realm and Cluster/load balance web ser

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
hanks. -Mensaje original----- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Abril de 2006 10:54 a.m. Para: Tomcat Users List Asunto: RE: Tomcat Deploy So this is the correct name of your war file and directory? adss.licensing.web.20060406-1810.war What platform are you deplo

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
: Monday, April 10, 2006 9:52 AM To: 'Tomcat Users List' Subject: RE: Tomcat Deploy Here there is the translation. Thanks. -Mensaje original- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Abril de 2006 10:37 a.m. Para: Tomcat Users List Asunto: RE: Tomcat Deploy

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
onfig=null 10/04/2006 10:32:37 org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource 10/04/2006 10:32:37 org.apache.catalina.startup.Catalina start INFO: Server startup in 1123 ms Thanks! -Mensaje original- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Env

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
Mensaje original----- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m. Para: Tomcat Users List Asunto: RE: Tomcat Deploy Does the application run at all? // assuming you are running Tomcat on port 8080 http://localhost:8080/WARname If so, you

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
hout .WAR extension. Thanks. -----Mensaje original- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m. Para: Tomcat Users List Asunto: RE: Tomcat Deploy How are you deploying? The War seems ok from the tiny information supplied. -Original Messa

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
properties build.xml Inside WEB-INF classes lib src Some .properties Some .tld Some .xml including web.xml Thanks. -Mensaje original- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m. Para: Tomcat

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
riginal----- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m. Para: Tomcat Users List Asunto: RE: Tomcat Deploy Can you send either? - 1) the actual war file 2) a graphical picture of the information in the war filejar -tf warfilename.war -O

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
Can you send either? - 1) the actual war file 2) a graphical picture of the information in the war filejar -tf warfilename.war -Original Message- From: Marisol Opreni [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 8:40 AM To: users@tomcat.apache.org Subject: Tomcat Deploy

RE: Error on Startup.

2006-04-10 Thread Farrow, Marc
Looks like in the startup script the env variable of Catalina_Home is not set properly. -Original Message- From: Sergio Gonzalez Ramos [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 8:40 AM To: Tomcat Users List Subject: Error on Startup. Hi there. I installed Tomcat 5.0.28 on u

RE: Blad zarzadzania prawami !

2006-04-07 Thread Farrow, Marc
This is an English list. Please join and use the appropriate list for your language. -Original Message- From: Mikolaj [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 9:32 AM To: Tomcat Users List Subject: Blad zarzadzania prawami ! B³¹d zarz¹dzania prawami ! -- Ten list zosta³ prz

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: System.setProperty/System.getProperty

2006-04-05 Thread Farrow, Marc
mcat Users List' Subject: RE: System.setProperty/System.getProperty Why not use the property mechanism to find the template files? Any time you rely on a servlet/app using an absolute file path, you are asking for trouble. Tim -Original Message- From: Farrow, Marc [mailto:[EMAIL PROTEC

RE: System.setProperty/System.getProperty

2006-04-05 Thread Farrow, Marc
ubject: RE: System.setProperty/System.getProperty Wow. OpenVMS is still in existence? And it has a JVM? Double Wow! How come the I/O is different? Shouldn't Java handle that for you? Tim (Former DECcie, 1988-1997) -Original Message- From: Farrow, Marc [mailto:[EMAIL PROTECTED] Sent: W

System.setProperty/System.getProperty

2006-04-05 Thread Farrow, Marc
Is there an easy way within Tomcat to set System properties so that all webapps have access to them at startup? Basically, I would like to add my own properties to the System object at startup as opposed to using environment entries. Maybe I am over thinking things. Or better yet, what is the be

RE: PostgreSQL access via JNDI

2006-04-05 Thread Farrow, Marc
That is correct. ResourceLink is for linking in Global resources (DataSources, Environment Entries, etc) that are defined in the Server.xml file. -Original Message- From: Mark Slater [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 1:40 PM To: Tomcat Users List Subject: Re: Pos

RE: Lifecycle listener class loading problem

2006-04-05 Thread Farrow, Marc
tener class but is unable to load the server classes it depends on unless I put it in the server/classes directory. On 4/5/06, Farrow, Marc <[EMAIL PROTECTED]> wrote: > I am not an expert on this, but here are my thoughts for what it is worth. > You will need to place the class in t

RE: Lifecycle listener class loading problem

2006-04-05 Thread Farrow, Marc
I am not an expert on this, but here are my thoughts for what it is worth. You will need to place the class in the COMMON folder so both your webapps and TOMCAT itself can see it. However, you will have to dig through the docs on Tomcat and see what parameter (probably in the server.xml) file you

RE: need inputs on connection pool

2006-04-05 Thread Farrow, Marc
was reading an article http://java.sun.com/developer/technicalArticles/J2EE/pooling/ it says with con.close() the connection will be released to connection pool in jdbc 2.0 , in 1.0 it will be closed with the stmt. "Farrow, Marc" <[EMAIL PROTECTED]> wrote: It is alwa

RE: need inputs on connection pool

2006-04-05 Thread Farrow, Marc
It is always good practice to call the close methods on the Connection, Statement, PreparedStatement, ResultSet objects (if you use them). Depending on the connection pooling that you are using, they may or may not get released in a timely manner (for example, timeouts/etc). By explicitly calling

RE: Diagnosing DBCP JDBC connection leak using removeAbandoned parm

2006-04-05 Thread Farrow, Marc
Can you change your code to something similar to below? I have seen issues with certain implementations of database drivers in which the JDBC interfaces are not being implemented/coded properly. Just remember that the order you call your close statements does matter (although yours looked correct)

RE: Datasource configuration for Oracle 9i in Tomcat 5.5

2006-04-04 Thread Farrow, Marc
You have the datasource defined globally. You will need to add a resource link to your context that you wish to use it. The contexts cannot see it by default. Example: -Original Message- From: Thanigaivel_Murugan [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 04, 2006 4:07 A

RE: Can any body send me a sample war file to demonstrate Connection pool in tomcat 5.5

2006-04-03 Thread Farrow, Marc
You need to add a new Data Source either globally or within your context. Give it a name say "jdbc/connectionname". Check Tomcat documentation on how to do this. Then in your java code write this to get your Data Source reference and connection via this code: Context ctx

RE: How to use shared directory

2006-04-01 Thread Farrow, Marc
Are you using a specific tomcat base? if so, then the JARs need to be in the shared/lib for that base. Also, make sure those JARs are not in the $tomcat_home/common/lib folder. -Original Message- From: Amar [mailto:[EMAIL PROTECTED] Sent: Saturday, April 01, 2006 1:23 AM To: users@tomcat

RE: session GC

2006-03-31 Thread Farrow, Marc
easiest way to make sure they are GC'd is to set session time-outs. -Original Message- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 6:07 PM To: Tomcat Users List Subject: session GC How do you know when a session is garbage collected? You can write a sessionli

RE: Can I generate JSP pages on the fly using this mechanism?

2006-03-31 Thread Farrow, Marc
Are you wanting to define the jsp page in memory or physically create it on disk defined in that context? As a side: you can use the jsp Servlet mapping to map any file with any file extension to go through the jsp Servlet. Not sure if this is something you want to do. -Original Message--

RE: list of applications

2006-03-31 Thread Farrow, Marc
You can do a URL request to tomcat's manager application to get a listing. To see it in action go to http://localhost:8080/manager/html Here is documentation. http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html hth -Original Message- From: John Powers [mailto:[EMAIL PROTECTE

RE: getInputStream() fails intermittently

2006-03-31 Thread Farrow, Marc
First off. Since you are catching the error properly and displaying the message, you are not seeing a stack trace. This is not necessarily "bad practice". It is just that you cannot see the specifics of your error. For logging purposes, modify the code as below: try { inStream = httpConnectio

RE: "development" web.xml param set per context?

2006-03-30 Thread Farrow, Marc
Can you do this by running two Tomcat bases with one installation of Tomcat home? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 2:05 PM To: tomcat-user@jakarta.apache.org Subject: "development" web.xml param set per context? Hi. I'm

RE: Managing sessions - Object destruction

2006-03-30 Thread Farrow, Marc
Yes, this could work. However, you can never get ALL sessions. Depending how the client process was terminated, the onClose trigger may or may not be received. With CLIENT/SERVER you will never be able to get all cases. Therefore, setting a reasonable session timeout, you can guarantee that your

RE: Managing sessions - Object destruction

2006-03-30 Thread Farrow, Marc
Set the session timeout. When the timeout is reached (with no activity per say 30 minutes) it will kill it. Easiest and simplest solution. -Original Message- From: Victor Hugo Germano [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 8:55 AM To: Tomcat Users List Subject: Re: Ma

RE: connection pool

2006-03-29 Thread Farrow, Marc
same as everything else. You will need a JDBC driver for Microsoft Access2000 and point your connection pooling in the server.xml to that driver. How you obtain the driver is another bear. -Original Message- From: red phoenix [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 10:4

RE: Context starts twice

2006-03-29 Thread Farrow, Marc
Appbase is an attribute defined in your %tomcat_home%/conf/server.xml file. It should be a "sub-attribute" under your HOSTS attribute. -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 1:48 PM To: Tomcat Users List Subject: Re: Context starts t

RE: How to set a default or root application?

2006-03-28 Thread Farrow, Marc
Here is a work around if you want to use it. Change your default page (usually index.html or index.jsp) under your "/" context (ROOT) to redirect to the http://domain.com/Application using Javascript. window.location.replace(http://domain.com/Application); OR You can just set up y

RE: DefaultContext with JNDI resource in admin web-app

2006-03-28 Thread Farrow, Marc
Not sure if this is related to your specific error, but you need to add a resource link in the context.xml to the application. The resource (datasource) is defined globally, but you still need to point your app to that resource. webappname.xml snippet: -Original Message- Fr

RE: SEVERE: End event threw exception

2006-03-27 Thread Farrow, Marc
a:425) Can anybody help me? Tanx! Marisol. -----Mensaje original- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: 27 Maret 2006 14:57 Para: Tomcat Users List Asunto: RE: Missing web.xml Can you post the error message verbatim from the log? Maybe the whole log file or at le

RE: WTP installation question

2006-03-27 Thread Farrow, Marc
This is actually an Eclipse question. Here is a link to update and get the WEBTOOLS package from Eclipse using the update manager. http://download.eclipse.org/webtools/updates/ -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 1:15 PM To: Tom C

RE: Missing web.xml

2006-03-27 Thread Farrow, Marc
Can you post the error message verbatim from the log? Maybe the whole log file or at least a few lines before and a few lines after the error message. Just be sure not to break any confidentiality rules within your company. -Original Message- From: Marisol Opreni [mailto:[EMAIL PROTECTED]

RE: using crossContext

2006-03-27 Thread Farrow, Marc
You need to user the getRequestDispatcher("/theothercontext") method. This will give you a reference to a RequestDispatcher class of the context defined in the instance of Tomcat called "theothercontext". HTH -Original Message- From: Zohar [mailto:[EMAIL PROTECTED] Sent: Monday, March 27

RE: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-27 Thread Farrow, Marc
You need to place the Jar file that contains the org/apache/tomcat/util.log/SystemLoghandler class in your %tomcat_home%/common/lib folder. I am not going to research and find that jar file you. I will let that be an assignment for you. -Original Message- From: Cody Caughlan [mailto:[EMA

RE: InputBuffer and Posting Data

2006-03-27 Thread Farrow, Marc
This would seem like a Java question and not a Tomcat question. -Original Message- From: Vikram Goyal [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 12:47 AM To: users@tomcat.apache.org Subject: InputBuffer and Posting Data Hi all, I am trying to post some data via an applet to

RE: configuring the default servlet

2006-03-25 Thread Farrow, Marc
The first question I have is do you want/need to keep the default servlet definition in your CATALINA_BASE/conf/web.xml file? If not, then just remove it from there and just push the "default" configuration to every web.xml for each application. If you have a need for the default configuration in