Wei Jiang wrote:
>
> Hi All,
>
> I am trying to run sb example, but got an error:
>
> D:\jonas2>java -Dinstall.root=d:\jonas2
> -Djava.security.policy=d:\jonas2\java.po
> licy org.objectweb.jonas.server.Server
> JOnAS Server, version 2.0, running on rmi.
> Cannot read the deployment descriptors 'examples/src/sb/jonas-ejb-jar.xml':
> exam
> ples/src/sb/jonas-ejb-jar.xml:-1:-1: Invalid XML: File
> "file:/xml/jonas-ejb-jar.
> dtd" not found.
>
> I created a directory d:\xml and copied all files from JONAS_ROOT\XML, then
> I got error:
>
> D:\jonas2>java -Dinstall.root=d:\jonas2
> -Djava.security.policy=d:\jonas2\java.po
> licy org.objectweb.jonas.server.Server
> JOnAS Server, version 2.0, running on rmi.
> descriptor is null
> Cannot read the deployment descriptors 'examples/src/sb/jonas-ejb-jar.xml':
> Inva
> lid XML in examples/src/sb/jonas-ejb-jar.xml:
>
> Any information would be appreciated. Thanks.
>
It seems that:
- whether the JOnAS installation is incomplete/wrong or,
- whether you change the JONAS_ROOT contents by moving
files, and/or editing XML files.
It would be better to reinstall JOnAS.
Kind regards.
H�l�ne.
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www-frec.bull.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".