[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [Help] Resources In Jars in Deployment EAR

Mazinger do-not-reply at jboss.com
Tue Mar 4 18:08:18 EST 2008

"Mazinger" wrote : I am attempting to adapt my company's product for deployment on JBoss.  We are currently capable of easy deployment with the WebSphere and Weblogic application servers and are looking to expand it's compatibility and ease of use.
  | Our product uses several properties and XML schema files which are bundled within jar files that, such as config.jar and schemas.jar.  These files are then added to the EAR as part of the deployment.
  | When I attempt to start the server and deploy the EAR, I get errors stating that the XML schemas cannot be found.  This leads me to believe that our CatalogManager.properties cannot be found, even thought it in the ear.
  | The error starts out like:
  | 17:39:02,391 INFO  [ProxyFactory] Bound EJB Home 'P12StorageDataAccess' to jndi 'P12_STORAGE_DATA_ACCESS'
  |   | 17:39:04,825 INFO  [EJBDeployer] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp38619.ear-contents/ejb.jar
  |   | 17:39:05,479 INFO  [ProxyFactory] Bound EJB Home 'FailedTolecResponseDataAccessSession' to jndi 'FAILED_TOLEC_RESPONSE_SESSION'
  |   | 17:39:06,658 INFO  [EJBDeployer] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp38619.ear-contents/ejb2.jar
  |   | 17:39:06,762 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp38619.ear-contents/cc-exp.war/
  |   | 17:39:12,558 ERROR [STDERR] Cannot find CatalogManager.properties
  |   | 17:39:18,601 WARN  [XMLUtilsImpl] ** Warning, line 6, uri file:///var/testharness/dtdCache/
  |   |    org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://localhost/workbench/2005/10/31/webapp.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
  |   | 17:39:18,602 ERROR [XMLUtilsImpl] XMLUtils.createDocument(String) - Exception

I feel like I messed something up in my server config, but class loaders are a little outside my realm.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134073#4134073

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134073

More information about the jboss-user mailing list