-
1. Re: EJB errors
jonlee May 15, 2003 8:10 AM (in response to substring)In one of your deployment descriptors, you either have spaces or some elements before your <?xml ...> tag. This is upsetting the parser. This tag must be the first element in the XML document. So check your ejb-jar.xml and your jboss.xml if you have one.
When you go to the main page of jmx-console, under the jboss.j2ee, you'll get a bunch of lines identifying your EJB by its bound JNDI name.
e.g.
jndiName=ejb/BinaryRetriever,plugin=pool,service=EJB
jndiName=ejb/BinaryRetriever,service=EJB
You can drill down to look at the MBean view - the first shows in this case the pool characteristics of this stateless session bean, the second shows the individual characteristics of a bean from this pool.
Under jboss from the main menu, you will also find service=jndiView which you can go to and invoke the list action which lists all bound JNDI names. -
2. Re: EJB errors
substring May 15, 2003 9:26 AM (in response to substring)There was a comment line on the top of my ejb-jar.xml file. I deleted it and it fixed my first error message. However, my 2nd error message remains the same.
//message start--------------------------------------
09:41:15,694 INFO [Engine] WebappLoader[/HelloClient]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jboss-3.2.1_tomcat-4.1.24\server\default\tmp\deploy\server\default\deploy\work\MainEngine\localhost\HelloClient\WEB-INF\lib\struts.jar
09:41:17,804 ERROR [Digester] Parse Error at line 13 column 10: The content of element type "taglib" is incomplete, it must match "(tlibversion,jspversion?,shortname,uri?,info?,tag+)".org.xml.sax.SAXParseException: The content of element type "taglib" is incomplete, it must match "(tlibversion,jspversion?,shortname,uri?,info?,tag+)".
//message end-----------------------------------------
How can I fix that one? I don't know where to find that "line 13 column 10" to debug it. Thank you very much. -
3. Re: EJB errors
jonlee May 15, 2003 7:22 PM (in response to substring)This second error is related to Tomcat having difficulty with parsing your tag library definitions. This is beyond the scope of this forum to handle specifically. You would need to examine the mapping of the included tag libraries specified in your WAR's web.xml, and then check the existence and content of the *.tld files defined in the mapping.
Go here for more references to tag libraries:
http://www.idg.net/ic_1188109_9700_1-5062.html