[Design of POJO Server] - Re: Minimal now boots
by scott.stark@jboss.org
"adrian(a)jboss.org" wrote : The other cause of the classloading problems is that the unpacked
| deployments url is wrong.
|
|
| | 19:12:04,289 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@987a33, cl=org.jboss.mx.loading.UnifiedClassLoader3@12fb0af{ url=file:/home/ejort/mc-vdf-work/build/output/jboss-5.0.0.Beta/server/default/deploy/uuid-key-generator.sar ,addedOrder=0}
| |
|
| which should be:
|
| url=file:/home/ejort/mc-vdf-work/build/output/jboss-5.0.0.Beta/server/default/deploy/uuid-key-generator.sar/
|
| i.e. the contents of the directory not the directory.
|
We need to restore the TestFileVFS.testDirURLs test then as this was its purpose.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972001#3972001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972001
19 years, 6 months
[Deployers on JBoss (Deployers/JBoss)] - Error while trying to load schema
by mpipes
Hello, We are trying to run xml validation using xerces within JBoss. The error that we are getting is as follows:
java.lang.NoSuchMethodError: org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar([Lorg/apache/xerces/xni/p
arser/XMLInputSource;)V
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
at com.nielsenmedia.services.util.XMLValidator.(Unknown Source)
at com.nielsenmedia.services.util.XMLFileWriter.initialize(Unknown Source)
at com.nielsenmedia.services.util.XMLFileWriter.(Unknown Source)
The code that we are using run's in Eclipse Junit as well as on the command line. Can anyone tell me what we are doing wrong. The JBoss version that we are using is 4.01 sp1..
Our code is as follows:
factory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
File schemaLocation = new File(schemaFileName);
schema = factory.newSchema(schemaLocation);
validator = schema.newValidator();
Any suggestion would be greatly appreciated....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971999#3971999
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971999
19 years, 6 months