Hi

I need a MDB which will be deployed to JBoss-2.4.6. I've put following
comment before class:
 * @ejb:bean                    destination-type="javax.jms.Topic"
 *                              acknowledge-mode="Auto-acknowledge"
 *                              subscription-druability="NonDurable"
 *                              transaction-type="Container"
 * @ejb:ejb-ref                 ejb-name="monsun/Source"
 * @ejb:ejb-ref                 ejb-name="monsun/Sensor"
 * @ejb:ejb-ref                 ejb-name="monsun/SourceManager"
 * @jboss:destination-jndi-name name="topic/monsun"

In the build.xml I've delcared ejbspec="1.x". In this situation no
information is created in descriptors. If I change to ejbspec="2.x"
information about MDB is present in descriptor, but I can't deploy it
to the JBoss:
[INFO,AutoDeployer] Auto deploy of 
file:/usr/local/java/JBoss-2.4.6_Tomcat-4.0.3/jboss/deploy/monsun.ear
[INFO,J2eeDeployer] Deploy J2EE application: 
file:/usr/local/java/JBoss-2.4.6_Tomcat-4.0.3/jboss/deploy/monsun.ear
[INFO,J2eeDeployer] Create application monsun.ear
[INFO,J2eeDeployer] install EJB module monsun.jar
[INFO,J2eeDeployer] inflate and install WEB module monsun.war
[INFO,J2eeDeployer] add all ejb jar files to the common classpath
[INFO,ContainerFactory] 
Deploying:file:/usr/local/java/JBoss-2.4.6_Tomcat-4.0.3/jboss/tmp/deploy/Default/monsun.ear
[ERROR,ContainerFactory] InternalError
java.lang.NullPointerException
        at 
org.jboss.metadata.MessageDrivenMetaData.importEjbJarXml(MessageDrivenMetaData.java:222)
        at 
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:173)
        at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:152)
        at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:423)
[cut]

Is it possible to create MDB for JBoss-2.4.6 with xdoclet? TIA for any
help.
-- 
--= Michal [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to