-
1. Re: Relative URI
juhalindfors Feb 7, 2003 2:11 PM (in response to div_)this is an XML parser problem, there's something wrong with the deployment descriptor files (could be a charset problem, could be any number of other XML related problems)
-
2. Re: Relative URI
div_ Feb 7, 2003 2:34 PM (in response to div_)Yes, I gathered that. Here are the xml files, any ideas?
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
<enterprise-beans>
<ejb-name>HelloWorldServer</ejb-name><!--Matches ejb-jar.xml -->
<jndi-name>ejb/HelloServer?</jndi-name>
</enterprise-beans>
=========================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root PUBLIC "" "">
<ejb-jar>
< enterprise-beans>
<!-- Session Beans -->
helloWorld Session bean example.
<display-name>HelloWorldServerDisplayName</display-name>
<ejb-name>HelloWorldServer</ejb-name> <!--Matches with Jboss.xml -->
org.mikesmall.tutorialserver.HelloServerHome
org.mikesmall.tutorialserver.HelloServer
<ejb-class>org.mikesmall.tutorialserver.HelloServerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
</ejb-jar> -
3. Re: Relative URI
juhalindfors Feb 7, 2003 2:51 PM (in response to div_)
<!DOCTYPE root PUBLIC "" ""> is wrong
use <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd"> instead -
4. Re: Relative URI
div_ Feb 7, 2003 3:36 PM (in response to div_)Thank you so much that did the trick! Guess I need to get my XML book out :)