JiveJdon Community Forums
在线313人   首页   主题表   培训咨询   标签   精华   查搜   注册    登陆 RSS
首页 » 论坛 » J2EE/JavaEE/JEE/EJB/JSF等技术讨论
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表
???en_US.forumThreadNext.name??? 下一主题
Go 总共有 1 回复 / 1
 发表新帖子   回复该主题贴
zonda

悄悄话
发表文章: 2
注册时间: 2003年11月17日 16:35
请教:为什么我在weblogic下,得不到Digester的对象 2003年11月17日 16:38 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
标签列表
环境如下:
app server: weblogic 6.1
web server: tomcat4.0
打了一个EJB包,并将相关jar(commons-digester.jar等等几个相关的jar)也已经一起配置在weblogic下了,编译没有问题。但是EJB中如下程序
import java.io.File;
import org.apache.commons.digester.Digester;
import org.apache.commons.digester.xmlrules.DigesterLoader;
…………
File inputXMLFile = new File(m_strXMLFile);
File rules = new File(m_strRuleFile);
try
{
// get rule
Digester digester = DigesterLoader.createDigester(rules.toURL());
//check validate By Dtd?
digester.setValidating(true);
BusinessAll objBusinessAll = (BusinessAll)digester.parse(inputXMLFile);
m_BussinessInfo = objBusinessAll.getBusinessAll();
}
…………
走到Digester digester = DigesterLoader.createDigester(rules.toURL());这一句就不再执行了。具体就是Digester digester = new Digester()就不能执行。
我试过了,在web server上相同程序可以正常运行得到结果。但是weblogic上就是不行。
另外,我的weblogic有如下的出错信息:
<Error> <ConnectionManager> <tokyo> <myserver> <ExecuteThread: '12' for queue: 'default'> <> <> <000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@36507e' because of: 'Server received a message over an uninitialized connection: 'JVMMessage from: 'null' to: '8534209706014373881S:10.20.0.71:[7001,7001,7002,7002,7001,7002,-1]:mydomain:myserver' cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '9', flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '239'''>
<Error> <ConnectionManager> <tokyo> <myserver> <ExecuteThread: '14' for queue: 'default'> <> <> <000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@c34a9' because of: 'Server received a message over an uninitialized connection: 'JVMMessage from: 'null' to: '8534209706014373881S:10.20.0.71:[7001,7001,7002,7002,7001,7002,-1]:mydomain:myserver' cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '269', flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '34'''>

请各位dx帮忙看看。多谢多谢!
zonda

悄悄话
发表文章: 2
注册时间: 2003年11月17日 16:35
Re: 请教:为什么我在weblogic下,得不到Digester的对象 2003年11月17日 16:41 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
出错信息:
<Error> <ConnectionManager> <tokyo> <myserver> <ExecuteThread: '12' for queue: 'default'> <> <> <000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@36507e' because of: 'Server received a message over an uninitialized connection: 'JVMMessage from: 'null' to: '8534209706014373881S:10.20.0.71:[7001,7001,7002,7002,7001,7002,-1]:mydomain:myserver' cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '9', flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '239'''>
这个主题有 1 回复 / 1Go
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表    返回页首返回页首
???en_US.forumThreadNext.name??? 下一主题
热点TAG: AOP cache 缓存 DDD EJB 集群 设计模式 Hibernate IOC JiveJdon OO RBAC Seam Spring Struts
正在读取,请等待...
google yahoo 新浪ViVi 365Key网摘 天极网摘 CSDN网摘 添加到百度搜藏 POCO网摘 博采网摘
查询本论坛内 回复超过的热门帖子
     回复该主题贴
标题
 
粗体 斜体 下划线 插入图片 插入代码 插入url链接 插入附件
内容
  发贴前查询 标签列表勿重复发表问题

RSS 手机阅读 add to google add to yahoo
解惑之道在J道 ,打造中国最具影响力的的企业软件社区
OpenSource JIVEJDON v3.0 Powered by JdonFramework Code © 2002-08 jdon.com
anti spam