I'll check it out.  Can you send me the ejb-jar.xml file from the
offending bean?  In the mean time, I'll put a try/catch around the reader
so it doesn't blow up altogether.

Thanks,
        Aaron

On Thu, 6 Jul 2000, Juha Lindfors wrote:
> before my last means to use the CVS version died, I wrote something like this:
> -----------
> 
> 
> Hey,
> 
> I was unable to deploy the Account bean from zola with the latest changes
> in CVS. This still worked a couple of days ago (and still does with the
> version that comes with the installer).
> 
> I get this exception now when trying to deploy:
> 
> [Auto deploy] Auto deploy of file:/D:/cvs/jboss/jboss/dist/deploy/Account.jar
> [Container factory] Deploying:file:/D:/cvs/jboss/jboss/dist/deploy/Account.jar
> [Container factory] org.xml.sax.SAXParseException:
> java.lang.NullPointerException
>         at com.sun.xml.parser.Parser.parseInternal(Parser.java:515)
>         at com.sun.xml.parser.Parser.parse(Parser.java:283)
>         at
> org.jboss.metadata.ejbjar.EJBXMLReader.readXML(EJBXMLReader.java:38)
>         at
> org.jboss.ejb.deployment.jBossFileManager.load(jBossFileManager.java:169)
>         at
> org.jboss.ejb.deployment.jBossFileManager.load(jBossFileManager.java:298)
>         at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:226)
>         at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:148)
>         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(Thread.java:484)
>         at
> org.jboss.metadata.ejbjar.EJBXMLReader.readXML(EJBXMLReader.java:41)
>         at
> org.jboss.ejb.deployment.jBossFileManager.load(jBossFileManager.java:169)
>         at
> org.jboss.ejb.deployment.jBossFileManager.load(jBossFileManager.java:298)
>         at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:226)
>         at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:148)
>         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(Thread.java:484)
> [Container factory] java.io.IOException: java.lang.NullPointerException
> [Auto deploy] Deployment
> failed:file:/D:/cvs/jboss/jboss/dist/deploy/Account.jar
> [Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
> file:/D:/cvs/jboss/jboss/dist/deploy/Account.jar
> [Auto deploy]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:444)
> [Auto deploy]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:148)
> [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.deploy(AutoDeployer.java:258)
> [Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
> [Auto deploy]   at java.lang.Thread.run(Thread.java:484)
> 
> 
> Also, I've been unable to get the MetaDataFactory to run standalone. What
> exactly needs to be in the dir that is given as an argument? I've put there
> ejb-jar.xml, jaws.xml and jboss.xml files + the bean classes, yet I can get
> nothing but nullpointers from the SAX parser...
> 
> 
> -- Juha
> 
> 
> 
> 


Reply via email to