It's not a secret anymore!*
The moose likes Servlets and the fly likes deploying new application on tomcat manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "deploying new application on tomcat manager" Watch "deploying new application on tomcat manager" New topic
Author

deploying new application on tomcat manager

Diogo Magalhaes
Greenhorn

Joined: Aug 11, 2003
Posts: 17
Hi folks,

I have a little big problem here! I need to deploy an application using tomcat manager, including a context.xml file. But that gives me an error on load()..
Maybe I'm doing something incorrect.

Does anyone knows how to deploy an application by the tomcat manager application using a context xml file (once I need to configure a datasource)?

Thanx in advance.

Diogo Magalhaes


Diogo Magalhaes
unni krishna
Ranch Hand

Joined: Jul 14, 2004
Posts: 39
jus check this link,

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html


Software Engineer (SCJP)<br />USTechnology, CA
Diogo Magalhaes
Greenhorn

Joined: Aug 11, 2003
Posts: 17
thanks for trying...
nice link but that is not the point. datasource is well configured, this application works in my web container and now I'm deploying it into another tomcat container, but I can't access server.xml file. so, I'm using tomcat manager, deploying using context.xml file, did you understand?
Pedro Penna
Ranch Hand

Joined: Jun 05, 2004
Posts: 46
Have you tried putting the context.xml in your JAR's META-INF directory?
If so, make sure your XML's main tag is <context> and your docBase is modified to point to the working directory in the enviroment where your application is going to be deployed.
Diogo Magalhaes
Greenhorn

Joined: Aug 11, 2003
Posts: 17
E ai Pedrao, tranquilo?

I've already done that.. but, didn't work either.
Diogo Magalhaes
Greenhorn

Joined: Aug 11, 2003
Posts: 17
So.. does anybody have a hint?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying new application on tomcat manager
 
Similar Threads
uploads on Tomcat hosting
Tomcat 6.0.30: cannot deploy application: access denied.
Can we DELETE manager application
Tomcat application deployment problem
Deployed Application not persistent