Same problem here.

I am using xdoclet to generate my entity beans, which adds automatically
this dtd. And it seemS difficult to get rid of it (need to recompile and
repackage the whole of xdoclet)

Looking at the JarDeployer MBean in the J2ee deployer service, the
ValidateDTDs attribute is set to false but , if I interpret the error
message correctly, the deployer still tries to validate it.

Is this a bug? Is there a work around?

I will report it in the bug database.

Emmanuel
----- Original Message -----
From: "joel cordonnier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 27, 2001 8:11 AM
Subject: [JBoss-user] JBoss-3.0, org.jboss.ejb.DeploymentException:,
http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd


> Hi !
>
> I have tryed to deploy some beans (CMP) on JBoss-3.0.
>
> There is an exception when deploying the beans:
>
> [09:07:46,137,XmlFileLoader] failed to load jboss.xml.
>  There could be a syntax error.
> org.jboss.ejb.DeploymentException: External entity not
> found: "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";.,
> Cause: java.io.FileNotFoundException:
> http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd
>         at
> org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:252)
>         at
>
org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:219)
>         at
> org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:176)
>         at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:436)
>         at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:377)
>         at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:308)
>         at java.lang.reflect.Method.invoke(Native
> Method)
>         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>         at
> org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:467)
>         at
> org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:444)
>         at
> org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
>         at java.lang.reflect.Method.invoke(Native
> Method)
>         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>         at
> org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
>         at
> org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
>         at java.lang.Thread.run(Thread.java:484)
>
>
>
> Thanks
> /Joel
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Courrier : http://courrier.yahoo.fr
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to