用Weblogic 7 发布jive的war包后找不到在jive_init.properties中定义的jiveHome路径中的文件

03-11-29 北漂男人

找不到jive-config.xml文件.

报错如下:

Error creating XML parser in PropertyManager.java

com.jivesoftware.jdom.JDOMException: Error in building: /home/zd/bea/weblogic700

/server/bin/WEB-INF/jive_config.xml (No such file or directory)

at com.jivesoftware.jdom.input.SAXBuilder.build(SAXBuilder.java:306)

at com.jivesoftware.jdom.input.SAXBuilder.build(SAXBuilder.java:621)

at com.jivesoftware.jdom.input.SAXBuilder.build(SAXBuilder.java:603)

at com.bonc.common.util.tools.confunc.XMLProperties.<init>(XMLProperties

.java:57)

at com.bonc.common.util.tools.BoncGlobals.loadProperties(BoncGlobals.jav

a:302)

at com.bonc.common.resource.initServlet.loadProperties(initServlet.java:

61)

at com.bonc.common.resource.initServlet.init(initServlet.java:30)

at javax.servlet.GenericServlet.init(GenericServlet.java:258)

at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl

etStubImpl.java:1075)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic

eManager.java:744)

at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm

pl.java:899)

at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub

Impl.java:833)

at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI

mpl.java:773)

at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS

ervletContext.java:2763)

at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp

ServletContext.java:2720)

at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp

ServletContext.java:2706)

at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp

pServletContext.java:2681)

at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java

:552)

at weblogic.servlet.internal.WebService.preloadResources(WebService.java

:476)

at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic

eManager.java:744)

at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)

at java.lang.Thread.run(Thread.java:479)

Root cause: java.io.FileNotFoundException: /home/zd/bea/weblogic700/server/bin/W

EB-INF/bonc_config.xml (No such file or directory)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:59)

at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection

.java:64)

at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon

nection.java:128)

at java.net.URL.openStream(URL.java:793)

at com.jivesoftware.crimson.parser.InputEntity.init(InputEntity.java:209

)

at com.jivesoftware.crimson.parser.Parser2.parseInternal(Parser2.java:47

1)

at com.jivesoftware.crimson.parser.Parser2.parse(Parser2.java:305)

at com.jivesoftware.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.jav

a:433)

at com.jivesoftware.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:3

71)

at com.jivesoftware.jdom.input.SAXBuilder.build(SAXBuilder.java:287)

at com.jivesoftware.jdom.input.SAXBuilder.build(SAXBuilder.java:621)

at com.jivesoftware.jdom.input.SAXBuilder.build(SAXBuilder.java:603)

at com.bonc.common.util.tools.confunc.XMLProperties.<init>(XMLProperties

.java:57)

at com.bonc.common.util.tools.BoncGlobals.loadProperties(BoncGlobals.jav

a:302)

at com.bonc.common.resource.initServlet.loadProperties(initServlet.java:

61)

at com.bonc.common.resource.initServlet.init(initServlet.java:30)

at javax.servlet.GenericServlet.init(GenericServlet.java:258)

at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl

etStubImpl.java:1075)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic

eManager.java:744)

at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm

pl.java:899)

at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub

Impl.java:833)

at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI

mpl.java:773)

at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS

ervletContext.java:2763)

at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp

ServletContext.java:2720)

at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp

ServletContext.java:2706)

at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp

pServletContext.java:2681)

at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java

:552)

at weblogic.servlet.internal.WebService.preloadResources(WebService.java

:476)

at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic

eManager.java:744)

at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)

at java.lang.Thread.run(Thread.java:479)

哪位遇到过这个问题?希望帮助解决或给出建议,谢谢

北漂男人
2003-11-30 12:15

我已经解决了,论坛人气不太旺啊。

jiaming
2003-12-08 10:41

请问你怎么改的,我也遇到了同样问题,而且连class都找不到,请赐教。