[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - DataSource Problem JBoss/Tomcat Only Configuration

kdolan do-not-reply at jboss.com
Tue Sep 4 16:16:05 EDT 2007


I need to create an application packaged as a .war file that updates a database and supports transactions.  I also need to deploy this application in JBoss but in the Tomcat Only configuration.

I created a test application, deployed it in the "default" installation of JBoss (along with a test-ds.xml file identifying the location of the database) and everything worked as expected.  I then installed JBoss taking the Tomcat only option, deployed the application and test-ds.xml file and things would not deploy.  Specifically, the errors on the console revealed it could not deploy the test-ds.xml file: deployer unknown.

>From here, I've tried a variety of things (e.g., removing test-ds.xml and configuring Tomcat's config.xml) and they all result in some kind of problem (e.g., .war will not deploy because resource-ref is not resolved).  I've looked at lots of documentation - including Tomcats - to understand what the problem is and what I can do about it.  Ideally, I would be able to specify everything (e.g., web.xml, jboss-web.xml) and configure everything (e.g., test-ds.xml) just like I do for the default installation of JBoss because I am running Tomcat in JBoss (but I got the "deployer unknown" error above).  But I've also tried modifying things according to the Tomcat documentation and this does not appear to satisfy JBoss either.

Does anyone know how to do this?  Is there any documentation I can read?  Is there a "deployer" I need to activate or turn on (without adding a lot of overhead)?

Thanks!
Kelly

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081074#4081074

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081074



More information about the jboss-user mailing list