Dashboard > WebObjects > Web Applications-Development-J2EE Integration
  WebObjects Log In View a printable version of the current page.  
  Web Applications-Development-J2EE Integration
Added by Steven Mark McCraw, last edited by Pascal Robert on Sep 03, 2007  (view change)
Labels: 

Thomas Pelaia

I wouldn't consider myself a WAR expert, but I do deploy my WebObjects application using JBoss and it works very well.

Have you tried a "Hello World" type example application? If you can get a simple application running under JBoss then you should be okay with a more complicated one. I suggest starting with "Hello World" and then adding a simple EOF and that should cover everything.

There were a few tricky configurations in the initial setup. To be clear, I am using XCode, but it probably doesn't matter. Here are a few things to check.

Check you jboss-web.xml file. You definitely need to configure this file properly if you are using EOF. The application will never get started properly without this file configured correctly.

Make sure your deployment license gets built into the WAR file for deployment by setting the SERVLET_DEPLOY_LICENSE item.

Make sure the servlet project settings are correct:

  • SERVLET_SINGLE_DIR_DEPLOY = NO
  • SERVLET_TRUE_WAR = YES
  • SERVLET_WEBAPPS_DIR = /Library/JBoss/3.2/deploy

Also, I explicitly defined a package for all of my classes. This prevents JBoss from complaining upon startup, however, JBoss still ran the application just fine anyway.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators