Weblogic知识总结

来源:互联网 发布:淘宝店铺掌柜名能改吗 编辑:程序博客网 时间:2024/04/30 06:47

1.如果Weblogic配置连接池的时候报异常:JDBC驱动程序不在类路径中

Answer:首先看拷贝JAR包到db2java.jar、db2jcc.jar、db2jcc_javax.jar、db2jcc_license_cu.jar、db2policy.jar拷入%WL_HOME%\server\lib下面没有,同时

更新startWebLogic.cmd文件,classpath加入%WL_HOME%\server\lib\db2java.jar;%WL_HOME%\server\lib\db2jcc.jar;%WL_HOME%\server\lib\db2jcc_javax.jar;%WL_HOME%\server\lib\db2jcc_license_cisuz.jar;%WL_HOME%\server\lib\db2jcc_license_cu.jar;%WL_HOME%\server\lib\db2policy.jar;不能强制换行

 

部署的时候,core包部署在应用程序下面,web包部署在Web应用程序模块下面

 

2.第一次部署成功,但把Weblogic关闭之后再启动,报"thejndi notExist"Answer:部署的时候把WEB包的默认值100改为110,反正不能与core包的值相等且不能小。这样程序就会先加载core再加载web包

 

 

3.启动Weblogic的时候报错:ModuleName: ebills.core.jar, Error: [EJB:011024]The XML parser encountered an errorin your deployment descriptor. Please ensure that your deployment descripto

r corresponds to theformat in the DTD. The error was:

 Error parsing file 'META-INF/ejb-jar.xml' atline: 5671 column: 47.  Attribute

value"Session_CorpForExcManager" of type ID must be unique within thedocument.

Answer:如果是拷贝的其它业务的EJB,则注释名称要改变

 

4.Weblogic设置业务超时时间Answer:登录控制台-》-》服务-》JTA-》修改时间,退出,重新启动Weblogic

 

5.启动Weblogic的时候报错:ModuleName: ebills.core.jar, Error: [EJB:011024]The XML parser encountered an errorin your deployment descriptor. Please ensure that your deployment descripto

r corresponds to theformat in the DTD. The error was:

 Error parsing file 'META-INF/ejb-jar.xml' atline: 5671 column: 47.  Attribute

value"Session_CorpForExcManager" of type ID must be unique within thedocument.

 

Answer:如果是拷贝的其它业务的EJB,则注释名称要改变

 

6.进入页面报异常:weblogic.servlet.jsp.JspException:(line 1177): The TLD description for tag 'message' requires that the body beempty.

Answer:看struts标签写对没有,是否少了“”

 

7.编译后的工程路径:

 E:\task\qz_ebills\qzebills.core\release\ebills.core.ear

  104.部署CORE包出错

java.io.IOException:Compiler failed executable.exec

atweblogic.ejb20.ejbc.EJBCompiler.doCompile

Answer:查看D盘gjyw下的systemconfig.properties文件

 

8.清WEBLOGIC缓存

ANSWER:E:\bea\user_projects\domains\sdBankDomain\myserver\.wlnotdelete

 

原创粉丝点击