Does your jboss.xml contain an entry for the "Default EntityBean"
configuration?

----- Original Message -----
From: "Ken Jenks" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Monday, July 31, 2000 2:01 AM
Subject: Re: [jBoss-User] Need Help with Monson-Haefel EJB BookTitanExamples


> Now I need some help on jboss.xml. Here's what I'm trying -- with no
success.
>
> <jboss>
>    <enterprise-beans>
>      <entity>
>        <ejb-name>CabinBean</ejb-name>
>        <jndi-name>CabinBean</jndi-name>
>        <configuration-name>Default EntityBean</configuration-name>
>      </entity>
>      <secure>false</secure>
>    </enterprise-beans>
> (and the rest of the file, as documented at
> <http://jboss.org/jboss_win32_3.html>).
>
> It doesn't work. When including that jboss.xml in an otherwise-unmodified
> cabin.jar, the auto-deploy fails. The container window shows this set of
> messages:
>
> [Auto deploy] Auto deploy of file:/C:/Program
Files/jboss2/deploy/cabin.jar
> [Container factory] Deploying:file:/C:/Program
Files/jboss2/deploy/cabin.jar
> [Container factory] Deploying CabinBean
>          at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:443)[Cont
> ainer factory] No configuration chosen. Using default configuration
>
>          at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:183)[Cont
> ainer factory] java.lang.NullPointerException
>
>          at java.lang.reflect.Method.invoke(Native Method)
>          at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
>          at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
>          at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
>          at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
>          at java.lang.Thread.run(Unknown Source)
> [Auto deploy] Deployment failed:file:/C:/Program
Files/jboss2/deploy/cabin.jar
> [Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
> file:/C:/Progr
> am Files/jboss2/deploy/cabin.jar
> [Auto deploy]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:5
> 05)
> [Auto deploy]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:1
> 83)
> [Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1635)
> [Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1501)
> [Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
> [Auto deploy]   at
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
> [Auto deploy]   at java.lang.Thread.run(Unknown Source)
>
> Any suggestions? Is there any documentation for jboss.xml? I've looked at
> the source code.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to