关于weblogic8.1的一个小问题==>>help

flyshp 2003-08-22 02:24:57
安我的理解 wb7.0 应该是8.1的过渡版本!!8.1在速度上 和功能上的优势很明显!
但是我在用8.1的时候遇到了这样的异常警告==>>
<2011-8-22 下午14时19分38秒 CST> <Warning> <EJB> <BEA-010001> <While deploying E
JB 'PublicFunEJB', class PublicFunPag.PublicFunEJB was loaded from the system cl
asspath. As a result, this class cannot be reloaded while the server is running.
To prevent this behavior in the future, make sure the class is not located in t
he server classpath.>
<2011-8-22 下午14时19分38秒 CST> <Warning> <EJB> <BEA-010001> <While deploying E
JB 'PublicFunEJB', class PublicFunPag.PublicFunEJBHome was loaded from the syste
m classpath. As a result, this class cannot be reloaded while the server is runn
ing. To prevent this behavior in the future, make sure the class is not located
in the server classpath.>
<2011-8-22 下午14时19分38秒 CST> <Warning> <EJB> <BEA-010001> <While deploying E
JB 'PublicFunEJB', class PublicFunPag.PublicFunEJBRemote was loaded from the sys
tem classpath. As a result, this class cannot be reloaded while the server is ru
nning. To prevent this behavior in the future, make sure the class is not locate
d in the server classpath.>
...全文
40 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
flyshp 2003-08-25
  • 打赏
  • 举报
回复
to : bdsc() , zhx_232(笨狗熊妹妹)

首先 感谢二位参与我的提问!!
我知道这个警告并不是错误,但是我说过这个提醒表明系统配置存在病态!

如果我不在 startWebLogic.cmd 里面手动的修改set calsspath 前台的jsp 无法找到我定义的类包. 既然 8.1 有很高的智能化,我想我的做法是多余的! 但我始终也找不到用什么样的方法才可以使jsp 找到对应的类方法! 只是在 console中 简单的设置就可以么?? 还是 .......
希望 二位给我帮助!
^_^ 谢谢
zhx_232 2003-08-23
  • 打赏
  • 举报
回复
在wls中可以在控制台发布ejb呀,我都是这样发布的。
bdsc 2003-08-23
  • 打赏
  • 举报
回复
如果你的应用要部署在其他的机子上,你不是要设置这些机子的classpath么?这是不好的(甚至是不可行的)。

wls8这样做是一个提醒,不是错误。如果你将应用作成*.ear,至少将web做一个*.war/ejbs作n个jars,你就不用设置target server's classpath.
flyshp 2003-08-22
  • 打赏
  • 举报
回复
可以具体的解释一下你说的么??

8.1我刚开始尝......
bdsc 2003-08-22
  • 打赏
  • 举报
回复
你可以想一下,如何将你的这个打成一个包进行分发。想通了,你的问题就解决了
flyshp 2003-08-22
  • 打赏
  • 举报
回复
这个警告信息虽然不影响我程序的正常运行
但是waring 的出现 很明显是病态的!! 希望有关方面的高手给我一指点......
有没有可能 8.1这个版本不同于7.0的编译机制?? 或者我应该用别的方法来调用ejb 呢??
希望大家帮助我 ^_^
flyshp 2003-08-22
  • 打赏
  • 举报
回复
说明:

产生这个问题的原因是(对于startWebLogic.cmd)我添加了
set SHP=f:\bea\user_projects\domains\mydomain\applications
set CLASSPATH=%SHP%\PublicFunPag.jar;%CLASSPATH%

在7.0中我一直是这样发布ejb的,如果去掉了这个 set classpath 在jsp调用ejb的时候就找不到已经在console中的类包!!

81,091

社区成员

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

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