首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

weblogic 怎么调试JSP

2012-02-03 
weblogic 如何调试JSP?大家好!我最近遇到一个weblogic 10.3 上的应用,JSP 编译错误 的问题!我们的web 应用

weblogic 如何调试JSP?
大家好!

我最近遇到一个weblogic 10.3 上的应用,JSP 编译错误 的问题!我们的web 应用基于 structs. 在winodws,
solaris, linux, hp 以及 aix上部署!现在只有AIX上有问题!

我们这次是做了weblogic 10.3 的升级,同时JDK也升级到6.0(weblogic 10.3要求的)!


报出的错:

1. 我检查了我的WEB-INF 目录,发现提示缺少的文件都在!
2. 我试过"tags/mdreport.tld" 或者直接换成http://struts.apache.org/tags-bean/
struts-bean.tld 之类的,也是报同样的错!
3. 这个问题我已经搞了快一周了,还是没有结果!本人之前没有接触过 structs, 请问用什么方法可以调试我的jSP?或者应该从哪里着手解
决问题啊?谢谢!

logon.jsp:2:5: Invalid tag library.
<%@ taglib uri="/WEB-INF/mdreport.tld" prefix="md" %>
  ^----^
logon.jsp:2:5: No tag library could be found with this URI. Possible
causes could be that the URI is incorrect, or that there were errors
during parsing of the .tld file.
<%@ taglib uri="/WEB-INF/mdreport.tld" prefix="md" %>
  ^----^
logon.jsp:2:5: Invalid tag library.
<%@ taglib uri="/WEB-INF/mdreport.tld" prefix="md" %>
  ^----^
logon.jsp:2:5: No tag library could be found with this URI. Possible
causes could be that the URI is incorrect, or that there were errors
during parsing of the .tld file.
<%@ taglib uri="/WEB-INF/mdreport.tld" prefix="md" %>
  ^----^
logon.jsp:3:5: Invalid tag library.
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  ^----^
logon.jsp:3:5: No tag library could be found with this URI. Possible
causes could be that the URI is incorrect, or that there were errors
during parsing of the .tld file.
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  ^----^
logon.jsp:3:5: Invalid tag library.
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  ^----^
logon.jsp:3:5: No tag library could be found with this URI. Possible
causes could be that the URI is incorrect, or that there were errors
during parsing of the .tld file.
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  ^----^
。。。

[解决办法]
你试试这个办法,如果不灵再试别的办法:
在你的WEB应用的WEB-INF目录,看看有没有weblogic.xml文件,如果没有就创建一个。内容如下:

<?xml version="1.0" encoding="ISO-8859-1"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>

WebLogic专业技术社区: http://www.weblogicfans.net

[解决办法]
这个文件支持weblogic9.2吗?我也出现同样的问题了. tomcat下跑没有报错, 一发布的weblogic就有这样的错..



"Timer-0" daemon prio=5 tid=0x2d253978 nid=0x154c in Object.wait() [0x2c85f000..0x2c85fc30]
at java.lang.Object.wait(Native Method)
- waiting on <0x067733d8> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x067733d8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"Low Memory Detector" daemon prio=5 tid=0x008cc840 nid=0x1450 runnable [0x00000000..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x2c2c1b28 nid=0xebc waiting on condition [0x00000000..0x2c64f694]

"Signal Dispatcher" daemon prio=10 tid=0x008cca00 nid=0xf70 runnable [0x00000000..0x00000000]

"JDWP Command Reader" daemon prio=5 tid=0x008cbb10 nid=0x1588 runnable [0x00000000..0x00000000]

"JDWP Event Helper Thread" daemon prio=5 tid=0x008ca9b0 nid=0x1460 runnable [0x00000000..0x00000000]



"JDWP Transport Listener: dt_socket" daemon prio=5 tid=0x008c0730 nid=0x1764 runnable [0x00000000..0x2c4ff938]

"Finalizer" daemon prio=9 tid=0x008aff80 nid=0x35c in Object.wait() [0x2c2bf000..0x2c2bfc30]
at java.lang.Object.wait(Native Method)
- waiting on <0x067734a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x067734a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x008ad9b0 nid=0x1294 in Object.wait() [0x2c27f000..0x2c27fcb0]
at java.lang.Object.wait(Native Method)
- waiting on <0x067734c8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x067734c8> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x0098b0a8 nid=0x784 in Object.wait() [0x0006f000..0x0006fbd0]
at java.lang.Object.wait(Native Method)
- waiting on <0x06773580> (a weblogic.t3.srvr.T3Srvr)
at java.lang.Object.wait(Object.java:474)
at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:730)
- locked <0x06773580> (a weblogic.t3.srvr.T3Srvr)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:380)
at weblogic.Server.main(Server.java:67)

"VM Thread" prio=10 tid=0x008abc50 nid=0x1158 runnable 

"VM Periodic Task Thread" prio=10 tid=0x00871ec0 nid=0x1444 waiting on condition 


热点排行