java publish_publish一个java对象时遇到的问题。版主一定要救命。

错误信息:

$ sess_sh -u scott/tiger -s sess_iiop://netra20:2481:cctest1

javax.naming.CommunicationException: Unknown service: :session1 [Root exception is

javax.naming.CommunicationException: Unknown service: ***.***.***.***:2481:cctest1]

查看listener.log,竟然是登录成功。

10-JUN-2003 15:31:52 * SUCCESS * (ADDRESS=(PROTOCOL=tcp)(HOST=***.***.***.***)(PORT=3

8833)) * establish * giop * 0

10-JUN-2003 15:31:52 * service_update * cctest1 * 0

10-JUN-2003 15:32:34 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=netra20)(USER=oracle))(CO

MMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=150999040)) * services * 0

而使用lsnrctl service,发现该连接请求被拒绝:Service "cctest1" has 2 instance(s).

Instance "cctest1", status UNKNOWN, has 1 handler(s) for this service...

Handler(s):

"DEDICATED" established:0 refused:0

LOCAL SERVER

Instance "cctest1", status READY, has 2 handler(s) for this service...

Handler(s):

"D000" established:0 refused:6 current:0 max:972 state:ready

DISPATCHER

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=netra20)(PORT=38759))(PRESENTATI

ON=oracle.aurora.server.SGiopServer)(SESSION=RAW))

listener.trc中得到的跟踪信息为(trc_level=5):

nsopen: transport is open

nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd

nsopen: global context check-in (to slot 8) complete

nsanswer: deferring connect attempt; at stage 5

nscon: doing connect handshake...

nscon: got NSPTCN packet

nsevdansw: exit

nscon: sending NSPTAC packet

nscon: doing connect handshake...

nscon: nsctxinf[0]=0xd, [1]=0xc

nsdo: 2038 bytes to NS buffer

nsdo: 2038 bytes to NS buffer

nsdo: 2038 bytes to NS buffer

nsdo: 2038 bytes to NS buffer

nsdo: 2038 bytes to NS buffer

nsdo: 1036 bytes to NS buffer

nstimarmed: no timer allocated

nsclose: closing transport

nsclose: global context check-out (from slot 8) complete

请高手帮忙解决一下(已经困扰我一个星期了)。这里先多谢了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值