[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Help! Migrating from tomcat to Jboss

jaikiran do-not-reply at jboss.com
Mon Jan 21 09:32:04 EST 2008

Which version of JBoss are you using?

anonymous wrote : We just migrated to java 1.6 from 1.4 

The latest stable version of JBoss (i.e. 4.2.2) is not yet fully qualified to run under Java6. You will have to use Java5 instead.

anonymous wrote : So i specified docbase in server.xml in webdeploy directory in Jboss.(Correct me if there is any other way to specify the exploded code.)

There are a couple of options for this:
1) Follow this http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment


2) Edit the jboss-service.xml file under %JBOSS_HOME%/server/< serverName>/conf folder to include the path where you have the deployable application. There's a attribute named URLs under Deployment Scanning section which contains the list of folders which will scanned by JBoss for deploying application. Read through the comments there, to understand how you can add your own folder which will be scanned by JBoss:

  | <attribute name="URLs">
  |          deploy/
  |       </attribute>

As far as the datasource issue is concerned, you will first have to deploy the datasource using a -ds.xml file. The datasource by default will be bound to the java: namespace with the jndi-name that you specified in the -ds.xml file. If you further have to bind it in the java:comp/env namespace then you will have to configure it using resource-ref elements in the web.xml and jboss-web.xml files

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

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

More information about the jboss-user mailing list