JNDI resource error

2005-08-31 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Can anyone give me some insite on this???

I am getting this error:

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 
'' for connect URL 'null'
at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
at 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at org.ncaa.TES.Servlets.TESControllerServlet.init(TESControllerServlet.java:46)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:193)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source) 

Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(Unknown Source)
at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773)

And here is my server.xml:
?xml version='1.0' encoding='utf-8'?
Server
  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener/
  Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener/
  GlobalNamingResources
Environment name=simpleValue type=java.lang.Integer value=30/
Resource auth=Container description=User database that can be updated 
and saved name=UserDatabase type=org.apache.catalina.UserDatabase/
Resource auth=Container name=jdbc/iss_dev type=javax.sql.DataSource/
ResourceParams name=UserDatabase
  parameter
namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
  /parameter
  parameter
namepathname/name
valueconf/tomcat-users.xml/value
  /parameter
/ResourceParams
ResourceParams name=jdbc/iss_dev
  parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
  /parameter
  parameter
nameurl/name
valuejdbc:oracle:thin:@hostname:1521:database/value
  /parameter
  parameter
nameusername/name
valueuname/value
  /parameter
  parameter
namepassword/name
valuepword/value
  /parameter
  parameter
namevalidationQuery/name
valueselect sysdate from dual/value
  /parameter
  parameter
namemaxIdle/name
value2/value
  /parameter
  parameter
namemaxActive/name
value20/value
  /parameter
  parameter
namemaxWait/name
value5000/value
  /parameter
  parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
  /parameter
/ResourceParams
  /GlobalNamingResources
  Service name=Catalina
Connector acceptCount=100 connectionTimeout=2 
disableUploadTimeout=true port=8080 redirectPort=8443 
maxSpareThreads=75 maxThreads=150 minSpareThreads=25
/Connector
Connector port=8009 protocol=AJP/1.3 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler 
redirectPort=8443
/Connector
Engine defaultHost=localhost name=Catalina
  Host appBase=webapps name=localhost
Logger 

RE: JNDI resource error

2005-08-31 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Here is my web.xml...Thank you for your prompt response.

?xml version = '1.0' encoding = 'windows-1252'?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
descriptionweb.xml file for TEST Application/description
servlet
servlet-namecontroller/servlet-name

servlet-classorg.ncaa.TES.Servlets.TESControllerServlet/servlet-class
init-param
param-nameconfig/param-name
param-value/WEB-INF/app.xml/param-value
/init-param
init-param
param-nameproperties/param-name
param-value/velocity.properties/param-value
/init-param
init-param
param-namemail-session/param-name
param-valuemail/Session/param-value
/init-param
init-param
param-namedatasource/param-name
param-valuejdbc/iss_dev/param-value
/init-param
/servlet
servlet-mapping
servlet-namecontroller/servlet-name
url-pattern/exec/*/url-pattern
/servlet-mapping
session-config
session-timeout35/session-timeout
/session-config
mime-mapping
extensionhtml/extension
mime-typetext/html/mime-type
/mime-mapping
mime-mapping
extensiontxt/extension
mime-typetext/plain/mime-type
/mime-mapping
mime-mapping
extensionxml/extension
mime-typetext/xml/mime-type
/mime-mapping
mime-mapping
extensionpdf/extension
mime-typeapplication/pdf/mime-type
/mime-mapping
resource-ref
descriptionOracle Datasource example/description
res-ref-namejdbc/iss_dev/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref


/web-app

==
Scott Batchelor 
Web Services Administrator  
[EMAIL PROTECTED]   
(317)510-7389   



-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 3:14 PM
To: Tomcat Users List
Subject: Re: JNDI resource error



That error means that Tomcat could not find the JNDI resource requested 
in either the web.xml, and or context.xml files.  What do they look like?



BATCHELOR, SCOTT (CONTRACTOR) wrote:
 Can anyone give me some insite on this???
 
 I am getting this error:
 
 org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of 
 class '' for connect URL 'null'
 at 
 org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
 at 
 org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
 at 
 org.ncaa.TES.Servlets.TESControllerServlet.init(TESControllerServlet.java:46)
 at javax.servlet.GenericServlet.init(GenericServlet.java:211)
 at org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:193)
 at 
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
 at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
 at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at 
 org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
 at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
 at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Unknown Source) 
 
 Caused

Autodeploy strangeness

2005-08-12 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I am getting some strange behavior when trying to autodeploy.

I am running tomcat5.5.7 and the instance has several apps running in it.

The contexts are contained within 
$CATALINA_HOME/conf/Catalina/localhost/whatevercontext.xml

There are several different contexts in this path.

However when a .war file is dropped into the webapps directory sometimes it 
will deploy properly, other times it will delete the war file and the xml 
context associated with it.  This is a dev instance and I have set the 
privilages so our developers can drop war files into the webapps directory so 
that I dont have to be involved everytime.

Has anyone else ran into this?  

==

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Change log level for catalina.out

2005-06-30 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Can I change the log level for this?

-SB

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Building tomcat-connectors with ANT

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Has anyone been successful in this?

The documentation seems to be very scarce to say the least.

-SB

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Building tomcat-connectors with ANT

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Would you mind pointing me in the right direction for some docs?  I really only 
want to build mod_jk

Thanks,

-SB

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, June 27, 2005 2:08 PM
To: Tomcat Users List
Subject: Re: Building tomcat-connectors with ANT


BATCHELOR, SCOTT (CONTRACTOR) wrote:
 Has anyone been successful in this?

Yes. Regularly. 4.1.x, 5.0.x and 5.5.x

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Building tomcat-connectors with ANT

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I must really be missing something?  It was my understanding that using 
mod_jk-1-2-10.so was the same thing as using the ajp connector?
 
Am I completely misinformed in this?

-SB

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, June 27, 2005 3:08 PM
To: Tomcat Users List
Subject: Re: Building tomcat-connectors with ANT


Ah. It wasn't clear from your original post which part of the connectors 
you were trying to build.

I was referring to the Tomcat end of things (the Java AJP/HTTP 
connectors) rather than mod_jk. The following from the dev list might 
help. Failing that, with the clarification of what it is you want to do, 
someone else may pitch in with some help.

http://marc.theaimsgroup.com/?l=tomcat-devm=50341215849w=2

Mark

BATCHELOR, SCOTT (CONTRACTOR) wrote:
 Would you mind pointing me in the right direction for some docs?  I really 
 only want to build mod_jk
 
 Thanks,
 
 -SB
 
 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 27, 2005 2:08 PM
 To: Tomcat Users List
 Subject: Re: Building tomcat-connectors with ANT
 
 
 BATCHELOR, SCOTT (CONTRACTOR) wrote:
 
Has anyone been successful in this?
 
 
 Yes. Regularly. 4.1.x, 5.0.x and 5.5.x
 
 Mark
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.9 and jdk 1.4.2

2005-06-21 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
You should be able to find it here.

http://apache.bestwebcover.com/jakarta/tomcat-5/v5.5.9/bin/

-SB

-Original Message-
From: Carlos Bracho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 21, 2005 9:53 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 5.5.9 and jdk 1.4.2


Hello everybody...

Maybe this issues is not new in the mailing list, I having problem to start 
tomcat 5.5.9, I got this error message in my netbeans output: 
This release of Apache Tomcat was packaged to run on J2SE 5.0 
or later. It can be run on earlier JVMs by downloading and 
installing a compatibility package from the Apache Tomcat 
binary download page.

I could not see the compatibility package in the tomcat download page... how 
could I fix this problem? does anybody have the compatibility package url?

Thanks

-- 
--
Carlos J, Bracho M. 
--
e-mail: [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
+58 416 409 21 75 
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Possibly a dumb question.

2005-06-21 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Am I wrong in thinking that I may get better performance from Tomcat by 
building it from source rather than using a binary?  My thought is that I will 
be able to more tightly integrate the connector and Tomcat by doing this...

Also is anyone doing this...I seem to be getting actively refused by the Tomcat 
cvs server when trying to run Ant with the provided build.xml

TIA

-SB

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JAVA_OPTS??

2005-06-07 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I really apologize if this has been answered previously but I cannot find any 
definative documentation on the JAVA_OPTS option.  I would like to bring myself 
up to date on what might be accomplished using this setting.

TIA

SB

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Mod_JK error

2005-06-07 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Can anyone give me an idea of what might be causing this?  I have searched the 
web to no avail.

[jk_ajp_common.c (1250)]: Tomcat is down or network problems. No response has 
been sent to the client (yet)
[Tue Jun 07 13:46:09 2005]  [jk_ajp_common.c (1449)]: ERROR: Receiving from 
tomcat failed, recoverable operation. err=0
[Tue Jun 07 13:46:09 2005]  [jk_ajp_common.c (783)]: ERROR: can't receive the 
response message from tomcat, network problems or tomcat is down (some 
IP:8012), err=-131

Thanks,

SB

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Mod_JK error

2005-06-07 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
My apologies...

I should have added that I only get this error when the server comes under load 
and even then the errors are intermittent.

-SB

-Original Message-
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 2:12 PM
To: Tomcat User List (E-mail)
Subject: Mod_JK error


Can anyone give me an idea of what might be causing this?  I have searched the 
web to no avail.

[jk_ajp_common.c (1250)]: Tomcat is down or network problems. No response has 
been sent to the client (yet)
[Tue Jun 07 13:46:09 2005]  [jk_ajp_common.c (1449)]: ERROR: Receiving from 
tomcat failed, recoverable operation. err=0
[Tue Jun 07 13:46:09 2005]  [jk_ajp_common.c (783)]: ERROR: can't receive the 
response message from tomcat, network problems or tomcat is down (some 
IP:8012), err=-131

Thanks,

SB

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Poor Performance Tomcat5.5.7, Apache2.0.52, Solaris 9

2005-06-02 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I am hoping someone has experienced this before. 

The installation is a binary install of Tomcat and a binary install of mod_jk 
1.2.6 connector.

We have been running performance tests on this install and Tomcat is very, very 
cpu intensive topping out at 55% of the cpu's on the box. I have never 
experienced this before and I am having a hard time tracking down the problem.  
The application does lookups and updates to an Oracle 9i database and it does 
use its own homegrown connection pool. But the poor performance seems to be on 
the web side with server threads climbing up into the four hundreds at times.

I am including portions of my config files hoping that someone will spot 
something that I am doing wrong.

Httpd.conf:

Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 15
StartServers2
MaxClients  400
MinSpareThreads 150
MaxSpareThreads 300 
ThreadsPerChild 25
MaxRequestsPerChild 1 
AcceptMutex fcntl

Tomcat Server.xml:

 !-- Define an AJP 1.3 Connector on port 8009 --
Connector port=8011 
   enableLookups=false redirectPort=8443 protocol=AJP/1.3
   maxThreads=500 minSpareThreads=75 maxSpareThreads=250/

 Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false

Tomcat workers.properties:

worker.ajp13w.type=ajp13
worker.ajp13w.host=somehost
worker.ajp13w.port=8011
worker.ajp13w.cachesize=600
worker.ajp13w.cache_timeout=600

Can someone tell the correlation of the worker.cachesize and an htptd.conf 
directive?

Thanks in advance.

-SB



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: No such list! s (AM I THE ONLY ONE GETTING THIS SPAM)?

2005-05-17 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
No, you are not the only one getting these...everyone probably is.  It appears 
some ingenious individual has subscribed tomcat-user@jakarta.apache.org to one 
or all of the New Atlanta mailing lists.

-SB

-Original Message-
From: Guy Katz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 12:47 AM
To: Tomcat Users List
Subject: RE: No such list! s (AM I THE ONLY ONE GETTING THIS SPAM)?


am i the only one getting this annoying spam from the tomcat lisy?

-Original Message-
From: s [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 10:32 PM
To: tomcat-user@jakarta.apache.org
Subject: No such list! s


Valid Lists


New Atlanta List Server
---

There is no list by that name on this server. Available lists are:

   bluedragon-interest
   servletexec-interest
   jturbo-interest





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Illegal IMail List Server Command!

2005-05-16 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Yes that appears what he is trying to accomplish.  I am very new to this 
list...can this be reported?

-SB

-Original Message-
From: Rick Beton [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 8:57 AM
To: Tomcat Users List
Subject: Re: Illegal IMail List Server Command!


Are you trying to get these mailing lists subscribed to each other? If 
you are, DON'T!!!
It's a very very very antisocial thing to do.

R.



[EMAIL PROTECTED] wrote:

subscribe bluedragon-interest jturbo-interest servletexec-interest Donald R 
Milotte

-- [EMAIL PROTECTED] (List Server) wrote:
New Atlanta List Server General Help File
-

Lists hosted by this server are:

   bluedragon-interest
   jturbo-interest
   servletexec-interest

   bluedragon-customers
   jturbo-customers
   servletexec-customers

   bluedragon-announce
   newatlanta-announce

Use one of these list names where you see list name in the command syntax 
below.

All list server commands must be addressed to:

   [EMAIL PROTECTED]

Commands must be placed on the first line of the message body and may not be 
preceded by blanks, whitespace, or other characters.

Valid Commands are:

   To subscribe to a list:

   subscribe list name your full name

   For example:

   subscribe servletexec-interest John Smith

   If you don't include your name in the subscribe command you'll receive an 
 Invalid Syntax error message from the list server.

   To unsubscribe from a list:

   unsubscribe list name

   To receive help send after subscribing to a list:

   help list name

If you have any questions or need additional help, send email to:

   [EMAIL PROTECTED]
  






-- 

Visit our website at www.roke.co.uk

Roke Manor Research Ltd, Roke Manor, Romsey, Hampshire SO51 0ZN, UK.

The information contained in this e-mail and any attachments is proprietary to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.5.7 will not autodeploy war files

2005-05-12 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I apologize up front if this has been answered at some other time.  This is my 
first day on the list and I could not locate a search function for the archives.

I am running Tomcat 5.5.7 with Apache 2.0.52 and ModJk 1.2.6

For some reason when I drop a war file in the webapps directory it will not 
auto deploy if there is already a version of the application in the webapps 
directory.  In fact I have to delete the application directory and then restart 
Tomcat for it to deploy the changes.

Has anyone ran into this before?

Here is part of my server.xml file

Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false

And here is part of the context

Context path=/some_app
 docpath=some_app
 crosscontext=false
 debug=0
 reloadable=true

Is there another config file that might be causing this problem?

Thanks in Advance.

-SB


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)

2005-05-12 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I am actually just copying the war file to the webapps directory.  This is the 
way I have always done it in the past but with 5.5.7 it doesnt seem to be 
working.

Thanks,

SB

-Original Message-
From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 12:37 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)


Classification:  UNCLASSIFIED 
Caveats: NONE

Looking at your server.xml file, it should actually autodeploy it. 
How are you updating the war file ? Copy/paste ? Or you're actually
Letting your IDE auto deploy to the webapps directory ?


-Original Message-
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:19 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 5.5.7 will not autodeploy war files

I apologize up front if this has been answered at some other time.  This is
my first day on the list and I could not locate a search function for the
archives.

I am running Tomcat 5.5.7 with Apache 2.0.52 and ModJk 1.2.6

For some reason when I drop a war file in the webapps directory it will not
auto deploy if there is already a version of the application in the webapps
directory.  In fact I have to delete the application directory and then
restart Tomcat for it to deploy the changes.

Has anyone ran into this before?

Here is part of my server.xml file

Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false

And here is part of the context

Context path=/some_app
 docpath=some_app
 crosscontext=false
 debug=0
 reloadable=true

Is there another config file that might be causing this problem?

Thanks in Advance.

-SB


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Classification:  UNCLASSIFIED 
Caveats: NONE


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)

2005-05-12 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I just want to say thanks very much for the help!  Not sure how I missed this 
in the Tomcat Docs but that did fix my problem.

-SB

-Original Message-
From: Marquez, Omar [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 12:45 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)



I used to have this problem. It was solved when I moved the context entries
out of server.xml and into conf/Catalina/localhost as pointed out by:

Contexts hardcoded in server.xml are not autodeployed or manageable
(except to some extent through the admin webapp). They are hardcoded
and always deployed on startup, and that's it.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x


-Original Message-
From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 12:37 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)


Classification:  UNCLASSIFIED 
Caveats: NONE

Looking at your server.xml file, it should actually autodeploy it. 
How are you updating the war file ? Copy/paste ? Or you're actually
Letting your IDE auto deploy to the webapps directory ?


-Original Message-
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:19 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 5.5.7 will not autodeploy war files

I apologize up front if this has been answered at some other time.  This is
my first day on the list and I could not locate a search function for the
archives.

I am running Tomcat 5.5.7 with Apache 2.0.52 and ModJk 1.2.6

For some reason when I drop a war file in the webapps directory it will not
auto deploy if there is already a version of the application in the webapps
directory.  In fact I have to delete the application directory and then
restart Tomcat for it to deploy the changes.

Has anyone ran into this before?

Here is part of my server.xml file

Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false

And here is part of the context

Context path=/some_app
 docpath=some_app
 crosscontext=false
 debug=0
 reloadable=true

Is there another config file that might be causing this problem?

Thanks in Advance.

-SB


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Classification:  UNCLASSIFIED 
Caveats: NONE


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The information contained in this communication may be CONFIDENTIAL and is
intended only for the use of the recipient(s) named above.  If you are not
the intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of its contents, is
strictly prohibited.   If you have received this communication in error,
please notify the sender and delete/destroy the original message and any
copy of it from your computer or paper files.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]