Hello,

I have 60 ENTITY in my ejb-jar.xml file (before <ejb-jar>...</ejb-jar> tags) 
and it works fine but when i add one more entity, i see the following error 
during deployment :


10:17:34,437 ERROR [MainDeployer] could not create deployment: 
file:/C:/distrib/jboss/jboss-3.2.5/server/ara/deploy/pidejbfull.jar
org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.NullPointerException)
        at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)
        at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
        at 
org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:219)
        at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:137)
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:462)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
        at $Proxy7.deploy(Unknown Source)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)



Is there a limitation on the number of entities that can be declared in 
ejb-jar.xml?

Thanks



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870514#3870514

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870514


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to