Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[UNSOLVED] deploy ejb-jsf application to jboss

425510Dec 1 2006 — edited May 18 2009
I have developed a very simple web application with jdev 10.1.3.1 j2ee edition (no adf). The application uses ejb 3.0 and jsf technology.
The application follows the pattern of the ‘Java EE tutorial’ at this url:
http://www.oracle.com/technology/obe/JavaEE_tutorial_10131/index.htm ,
but it is much simpler and I don’t use security mechanisms.
For instance I use a session façade.

The application has two projects: Model and ViewController. To deploy the application I created an ejb jar deployment profile for the model project and a war deployment profile for the ViewController. Then I created a new ‘Deployment’ project with an ear deployment profile to assemble the ejb jar and war deployment profiles. In this way I was able to deploy to standalone oc4j.
Now I want to deploy to jboss 4.0.4 GA, I mapped the jboss connection within jdev and selected ‘deploy to jboss’. The ear is transferred to the correct folder, but the application folder is not generated and the jboss log shows at least one error. As you can see below, it seems it expects the local-home tag for the session façade, but I deleted it as suggested in the tutorial.

I really need help on this topic, thank you.

Mauro

2006-12-01 16:20:51,250 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
2006-12-01 16:20:51,250 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Problem in init
org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one local-home tag)
at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:749)
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:356)

Message was edited by:
mauro avon
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2009
Added on Dec 1 2006
8 comments
1,778 views