|
| Deployment Failure With WebLogic 10.0 |
 |
Thu, 15 May 2008 11:28:54 -070 |
I have an EAR file containing two WAR files that deploys and runs fine on
WebLogic 8.1.6.
I'd like to port the app to run under WebLogic 10.0. I created a version 10
user domain, added the appropriate JDBC and JMS services, and modified the XML
configuration files to use the new schemas instead of DTDs.
When I start the app server I see the following exception in the log:
[pre]
weblogic.application.ModuleException: Failed to load webapp: 'X'
[/pre]
'X' is the name of the WAR file.
A bit further down in the stack trace I see this:
[pre]
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java
:98)
at
com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.
createDocumentBuilderFactory(DefaultDocumentLoader.java:88)
at
com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.
loadDocument(DefaultDocumentLoader.java:70)
at
com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReade
r.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
at
com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReade
r.loadBeanDefinitions(XmlBeanDefinitionReader.java:340)
at
com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReade
r.loadBeanDefinitions(XmlBeanDefinitionReader.java:317)
at
com.bea.core.repackaged.springframework.beans.factory.support.AbstractBeanDefini
tionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:125)
at
com.bea.core.repackaged.springframework.beans.factory.support.AbstractBeanDefini
tionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:141)
at
com.bea.core.repackaged.springframework.jee.server.Bootstrap.<init>(Bootst
rap.java:81)
[/pre]
None of the classes in the stack trace are mine.
I pasted the error into Google and got this back:
http://forums.bea.com/thread.jspa?threadID=600014830
I tried adding the following to my weblogic.xml, but no joy:
[pre]
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90
http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
[/pre]
What's the solution? This is a long-standing problem, and it's not fixed in
version 10. Did I do something wrong?
I'm going to try it in version 9.2 to see if skipping a version made my lif |
| Post Reply
|
|
|
|
|
|
|
|
|
|