当前位置: 技术问答>java相关
请教大虾:jb5+weblogic6运行jsp出错......
来源: 互联网 发布时间:2015-02-11
本文导语: 错误信息如下: Enter password to boot WebLogic server:11111111 Starting WebLogic Server .... *************************************************************************** The WebLogic Server did not start up properly. Exception raised: weblogi...
错误信息如下:
Enter password to boot WebLogic server:11111111
Starting WebLogic Server ....
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: weblogic.management.configuration.ConfigurationException: error settin attribute Path to value D%|/samplejsp1 for mydomain:Name=JBuilder_WebRun,Type=Application - with nested exception:
[javax.management.MBeanException]
javax.management.MBeanException
at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1162)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:773)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:750)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:256)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttributes(ConfigurationParser.java:318)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:184)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1233)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:209)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: error settin attribute Path to value D%|/samplejsp1 for mydomain:Name=JBuilder_WebRun,Type=Application - with nested exception:
[javax.management.MBeanException]
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttributes(ConfigurationParser.java:320)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:184)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1233)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:209)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
***************************************************************************
还有请问各位大虾如何在jb5中配置weblogic的密码,才不用手动输入?
Enter password to boot WebLogic server:11111111
Starting WebLogic Server ....
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: weblogic.management.configuration.ConfigurationException: error settin attribute Path to value D%|/samplejsp1 for mydomain:Name=JBuilder_WebRun,Type=Application - with nested exception:
[javax.management.MBeanException]
javax.management.MBeanException
at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1162)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:773)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:750)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:256)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttributes(ConfigurationParser.java:318)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:184)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1233)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:209)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: error settin attribute Path to value D%|/samplejsp1 for mydomain:Name=JBuilder_WebRun,Type=Application - with nested exception:
[javax.management.MBeanException]
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttributes(ConfigurationParser.java:320)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:184)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1233)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:209)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
***************************************************************************
还有请问各位大虾如何在jb5中配置weblogic的密码,才不用手动输入?
|
对于密码的问题:在命令行中有一个定义,
好像类似于: -Dxxx.xxx.password=1111111,
你可以察看一下mydomain下的几个.cmd文件,里面有例子
好像类似于: -Dxxx.xxx.password=1111111,
你可以察看一下mydomain下的几个.cmd文件,里面有例子
|
在JB5的
project
project properties
run
ejb
vm parameters
的最后加入:
-Dweblogic.management.password=YourPassword
即可。
project
project properties
run
ejb
vm parameters
的最后加入:
-Dweblogic.management.password=YourPassword
即可。
|
对于Unable to create path to .D%¦samplejsp1的问题,将jbuilder与工程路径(也许还要包括weblogic)设置在同一驱动器下面,你可以试一下。这样这个问题应该可以解决。
有问题再说。 chesterwoo@yahoo.com.cn
有问题再说。 chesterwoo@yahoo.com.cn
|
运行jb5不用输入weblogic密码的设置:
修改project->project properties和default project properties中的VM Parameters:我机器上是-ms64m -mx64m -Djava.library.path=d:/weblogic/wlserver6.1/bin -Dbea.home=d:/weblogic -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Dweblogic.management.password=yourpassword -Djava.security.policy==F:/weblogic/wlserver6.1/lib/weblogic.policy
修改project->project properties和default project properties中的VM Parameters:我机器上是-ms64m -mx64m -Djava.library.path=d:/weblogic/wlserver6.1/bin -Dbea.home=d:/weblogic -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Dweblogic.management.password=yourpassword -Djava.security.policy==F:/weblogic/wlserver6.1/lib/weblogic.policy