[JBoss-user] [Installation & Configuration] - Re: Migrating from 3.0.5 to 3.0.8 (redux!)
Hi I'm back and still cant make my webapp work. I validated and corrected all xml config files using the DTDs from jboss but still wont work on 3.0.8. Ive actually tried it on 3.0.6 and 3.0.8.. same result. basing from the stack traces, my untrained eye says that the prob is on the jaws.xml (the app is using ejb 1.1). here is the sample jaws.xml that i have (which jboss says erroneous) | 2004-03-22 16:06:30,399 WARN [org.jboss.system.ServiceController] Problem creating service jboss.j2ee:jndiName=catalyst.PrivilegeHome,service=EJB | org.jboss.deployment.DeploymentException: Document root element is missing.; - nested throwable: (org.xml.sax.SAXParseException: Document root element is missing.) | at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:311) | at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:255) | at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:227) | at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:211) | at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:200) | at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:70) | at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:144) | at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:104) heres my sample jaws.xml thats causing the prob(?) : | | | http://www.jboss.org/j2ee/dtd/jaws_2_4.dtd";> | | | CatalystDS | Oracle8 | | | privilege | | | userId | USERID | | | projectId | PROJECTID | | | privilege | PRIVILEGE | | | PRIVILEGE | false | | | | | any ideas? pls note that all xml descriptors was already validated and has no errors. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826809#3826809";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826809>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Migrating from 3.0.5 to 3.0.8 (redux!)
>the deployment (or the parser) was more lenient before that what i thought so. ill check it out. the stack trace was not very helpful on pinpointing the exact prob though. btw, im looking at ejb-jar.xml, jboss.xml, jaws.xml. each ejb has its own, separate, set of config files. heres my sample ejb-jar descriptor for privilegeHome (reported as errorneous by jboss 3.0.8) - http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> privilege com.cyberj.catalyst.ejb.entitybean.privilege.PrivilegeHome com.cyberj.catalyst.ejb.entitybean.privilege.Privilege com.cyberj.catalyst.ejb.entitybean.privilege.PrivilegeEJB Container com.cyberj.catalyst.ejb.entitybean.privilege.PrivilegePK False userId projectId privilege catalyst.consultant catalyst.client privilege * catalyst.consultant privilege * catalyst.superuser privilege * catalyst.consultant privilege * catalyst.admin privilege * privilege * Required -- am i looking at the right place? there are ejb references in web.xml too. any more ideas? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826499#3826499";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826499>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Migrating from 3.0.5 to 3.0.8 (redux!)
There's no new format, it appears your descriptors may have been flawed in the first place, but the deployment (or the parser) was more lenient before. It looks like SAX is not even able to find the root element. Try to validate your XML files and you'll see if there are any faults. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826497#3826497";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826497>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Migrating from 3.0.5 to 3.0.8 (redux!)
without changing a bit and replicating exact configuration, the web app works flawlessly in 3.0.5. does this mean 3.0.8 is not backward compatible? or has it introduced new format in xml configs? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826495#3826495";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826495>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user