Sep 15

Deploying smith on JBoss

Posted by James Netherton | Saturday 15 September 2007 5:00 AM | In ColdFusion

Following on to my previous smith post, here's a simple run down of how I deployed the application on JBoss.

Navigate to /server/default/deploy. Create a new directory named 'smith.ear'. Switch into 'smith.ear' and create another directory named 'smith.war'. Place the WAR file that you hopefully compiled (or maybe downloaded) into this directory. Extract the WAR file using the Jar command from the command line or by using an archive management application like WinRar.

Move the META-INF directory up one level into 'smith.ear'. Finally create an application.xml file within the META-INF directory. It should look something like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd"> <application id="Application_ID">
<display-name>Smith</display-name>
<description>Smith</description>
<module id="WebModule_1">
   <web>
       <web-uri>smith.war</web-uri>
       <context-root>smith</context-root>
   </web>
</module>
</application>

Start JBoss and hopefully you'll be able to browse to http://server/smith/IDE/admin.html where you'll be presented with the administration login page.

 

0 Comments

[Post comment]


Leave a comment








Captcha text