JBoss Community

Re: session bean not deployed

created by Benito Juarez in JBoss AS 7 Development - View the full discussion

do i have to guess or is it possible to have a detailed log output. The server must have a reason to refuse my bean. Why doesnt it output anything?

A NoClassDefFound-Exception is theoretically possible, so i added a jboss-deployment-structure.xml to the ear-project, (path EarContent\WEB-INF). It had no effect.

 

<jboss-deployment-structure>

<deployment>

  <dependencies>

<!-- Add dependency on log4j, this is not automatic dependency, it has to be explicitly defined, like follows: -->

<module name="org.apache.log4j" />

</dependencies>

</deployment>

</jboss-deployment-structure>

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community