jbuilder5集成weblogic6运行jsp出现问题.请高手帮助解决.

spczhou 2002-02-26 02:18:29
环境: win2K+jbuilder5+weblogic6.0
我在jbuilder5中集成了weblogic6.0 做了一个没有useBean的简单的jsp文件.
当执行web run时,jbuilder启动weblogic报错如Error1 :但jsp能正确执行.当在jsp
中useBean调用bean时,总是提示cann't create bean错误如Error 2.
Error1:
D:\jdk1.3\bin\javaw -hotspot -classpath "D:\bea\wlserver6.0\lib\weblogic.jar;D:\bea\wlserver6.0\lib\weblogic_sp.jar;D:\bea\wlserver6.0\lib\weblogic.jar;D:\bea\wlserver6.0\lib\weblogic_sp.jar;D:\jdk1.3\jre\lib\i18n.jar;D:\jdk1.3\jre\lib\jaws.jar;D:\jdk1.3\jre\lib\rt.jar;D:\jdk1.3\jre\lib\sunrsasign.jar;D:\jdk1.3\lib\dt.jar;D:\jdk1.3\lib\tools.jar;D:\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;D:\jdk1.3\other\ejs.jar;D:\jdk1.3\other\ujc.jar;D:\jdk1.3\other\servlet.jar;D:\jdk1.3\other\smtp.jar;D:\jdk1.3\other\mail.jar;D:\jdk1.3\other\mailapi.jar;D:\jdk1.3\other\pop3.jar;D:\jdk1.3\other\imap.jar;D:\jdk1.3\other\activation.jar;D:\jdk1.3\other;D:\jdk1.3\mycode" -ms64m -mx64m -classpath .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver "-Dbea.home=d:\bea" "-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.policy" -Dweblogic.management.password=xxxxxx weblogic.Server weblogic.Server
Starting WebLogic Server ....

##############################

# SCOTCH #

##############################

<2002-2-26 下午12时31分01秒> <Notice> <Management> <Loading configuration file .\config\mydomain\config.xml ...>

log file: D:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log

<2002-2-26 下午12时31分05秒> <Info> <Logging> <Only log messages of severity "Error" or worse will be displayed in this window. This can be changed at Admin Console> mydomain> Servers> myserver> Logging> General> Stdout severity threshold>

<2002-2-26 下午12时31分25秒> <Notice> <WebLogicServer> <WebLogic Server started>

<2002-2-26 下午12时31分25秒> <Notice> <WebLogicServer> <ListenThread listening on port 7001>

<2002-2-26 下午12时31分25秒> <Notice> <WebLogicServer> <SSLListenThread listening on port 7002>

<2002-2-26 下午12时31分25秒> <Error> <Performance Pack> <Unable to load performance pack, using Java I/O.

java.lang.UnsatisfiedLinkError: no wlntio in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)

at java.lang.Runtime.loadLibrary0(Runtime.java:749)

at java.lang.System.loadLibrary(System.java:820)

at weblogic.socket.NTSocketMuxer.<init>(NTSocketMuxer.java:173)

at java.lang.Class.newInstance0(Native Method)

at java.lang.Class.newInstance(Class.java:237)

at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:126)

at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)

at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)

>

Error2:
Parsing of JSP File '/Jsp2.jsp' failed: /Jsp2.jsp(8): Could not create a bean of type: untitled6.Jsp2Bean: java.lang.ClassNotFoundException: untitled6.Jsp2Bean and java.lang.ClassNotFoundException: untitled6.Jsp2Beanprobably occurred due to an error in /Jsp2.jsp line 8:<jsp:useBean id="Jsp2BeanId" scope="session" class="untitled6.Jsp2Bean" /> Tue Feb 26 14:11:10 CST 2002


请高手指点为什么会出现这两个错误 ?

...全文
36 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
spczhou 2002-02-27
  • 打赏
  • 举报
回复
呵呵,问题已经自己搞定了.不过还是要谢谢大家的支持.其实问题的原因是
设置的weblogic的vm参数中缺少了java.library.path和classpath设置不全.
希望大家共同进步.马上就发分了.
Mars_lee 2002-02-27
  • 打赏
  • 举报
回复
I've got this message:

The WebLogic Server Native I/O Performance Pack currently cannot be used when running the server in VisualAge. This option is enabled by default in the server properties. To avoid receiving this error message, you should turn it off by setting:

weblogic.system.nativeIO.enable=false

try it!
good luck
spczhou 2002-02-27
  • 打赏
  • 举报
回复
我已经在系统的path中添加了%BEA_HOME%\wlserver6.0\bin没有作用.另外,我
还在jbuilder的项目的properties中的path中添加了试了一下,也不行.不知为什么.
我查了一下,\wlserver6.0\bin下确实有一个wlntio.dll文件.难道启动weblogic时找不到这个文件吗?
bob 2002-02-27
  • 打赏
  • 举报
回复
在你的Path环境变量中加上,试一下,应该没问题
%BEA_HOME%\wlserver6.0[sp1]\bin
try it !
spczhou 2002-02-27
  • 打赏
  • 举报
回复
怎么没有人回答啊?
111222 2002-02-26
  • 打赏
  • 举报
回复

只需要人民币20元,

你就可以获得本灌水机的程序和Visual C++源代码,

并获得永久性技术支持。

还等什么?灌水等着你!

就在今夜!元宵佳节!

(可怜我信誉)
spczhou 2002-02-26
  • 打赏
  • 举报
回复
竟然没有人回答.难道这也是个难题吗?
spczhou 2002-02-26
  • 打赏
  • 举报
回复
呵呵,再加50分.不好意思,可能是我觉得这个问题对于用过的人不算什么吧.所以先前给的分太少了.其实,概括起来就是两个问题
1.jbuilder中启动weblogic时出现了
<2002-2-26 下午12时31分25秒> <Error> <Performance Pack> <Unable to load performance pack, using Java I/O.
java.lang.UnsatisfiedLinkError: no wlntio in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
2.useBean为什么无法建立.
to chenyuan_tongji:我已经将Application Server is web server选中.并且
将jsp文件放到相应的目录.jsp执行是正确的.(jsp中没有调用bean)

chrischen79 2002-02-26
  • 打赏
  • 举报
回复
如果只是web run一个jsp,web server指定为tomcat就行了。
如果你想在app server(如websphere)下运行jsp,因该先将其打包到一个web application的文件中,在app server下部署,在运行

that's my two pennies
HndyLiu 2002-02-26
  • 打赏
  • 举报
回复
大虾,我想应该有人知道怎么去解决它!(声明:我是菜鸟)
50=?=这么一堆错误!
兄弟,这个问题,我看你来个500分绝对有人会马上给你解决的!相信我,没的错!

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧