warning! connectivity to backend database not verified. this is either because required connection pool attribute "testconnectionsonreserve" has not been enabled, or an invalid value has been specified for attribute "testtablename". please check the server log for more details..
正式部署时出现异常:
error digester []: parse error at line 2 column
15: document root element "struts-config", must match doctype root "null".
org.xml.sax.saxparseexception: document root element "struts-config", must match
doctype root "null".
需要在struts-config.xml中第二行加入<!doctype struts-config public "-//apache software foundation//dtd struts configuration 1.2//en" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
完整错误信息:
java.io.filenotfoundexception: f:\bea\wlserver_10.0\samples\domains\workshop\servers\cgserver\tmp\_wl_user\prj_fbysss\mlh5uz\war (拒绝访问。)
at java.io.fileinputstream.open(ljava.lang.string;)v(native method)
at java.io.fileinputstream.<init>(fileinputstream.java:106)
at workshop.util.filesystem.file.wlfilesystem.getinputstream(wlfilesyste
m.java:148)
at workshop.util.filesystem.fs.getinputstream(fs.java:262)
at javelin.jsp.jspparser.readstaticinclude(jspparser.java:3261)
at javelin.jsp.jspparser.parsestaticinclude(jspparser.java:3198)
at javelin.jsp.jspparser.processimplicitincludes(jspparser.java:3289)
at javelin.jsp.jspparser.jspparse(jspparser.java:703)
at javelin.jsp.jspparser._parse(jspparser.java:504)
at javelin.jsp.jspparser.parse(jspparser.java:497)
at javelin.jsp.jspanalyzer.parsefile(jspanalyzer.java:113)
at javelin.jsp.jspanalyzer.parse(jspanalyzer.java:101)
at javelin.proxysourcefile.parse(proxysourcefile.java:117)
at javelin.sourcefile.getast(sourcefile.java:542)
at javelin.sourcefile.getast(sourcefile.java:516)
at javelin.proxysourcefile.codegen(proxysourcefile.java:215)
at javelin.sourcefile.codegen(sourcefile.java:310)
at javelin.client.clientutilsimpl$codegenjob.run(clientutilsimpl.java:11
05)
at javelin.client.job.performjob(job.java:81)
at javelin.client.threadpool$workerthread.run(threadpool.java:215)
<2008-8-23 下午07时15分11秒 cst> <error> <http> <bea-101017> <[weblogic.servlet.
internal.webappservletcontext@36b25e - appname: prj_fbysss, name: 'prj_fbysss', context-path: '/prj_fbysss] root cause of servletexception.
java.lang.nullpointerexception
at javelin.jsp.jspanalyzer.parse(jspanalyzer.java:104)
at javelin.proxysourcefile.parse(proxysourcefile.java:117)
at javelin.sourcefile.getast(sourcefile.java:542)
at javelin.sourcefile.getast(sourcefile.java:516)
at javelin.proxysourcefile.codegen(proxysourcefile.java:215)
truncated. see log file for complete stacktrace
>
failures were detected while initiating redeploy task for application 'prj_fbysss'. error is: '
[deployer:149163]the domain edit lock is owned by another session in non-exclusi
ve mode - this deployment operation requires exclusive access to the edit lock a
nd hence cannot proceed.'>
解决:进入http://localhost:7001/console,释放配置,再次部署即可。