Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error with using getEJBHome method

1 view
Skip to first unread message

penry

unread,
May 7, 2003, 6:45:21 AM5/7/03
to

At first,I look up an EJBHome interface an store it's handel(use getHomeHandle()
method),then
I get the handle and use getEJBHome() to get the EJBHome interface,but exception
occurs:
java.lang.IllegalArgumentException: port out range:108001
at java.net.Socket.<init>(Socket.java:248)
at java.net.Socket.<init>(Socket.java:122)
at weblogic.rjvm.t3.T3JVMConnection.newSocket(T3JVMConnection.java:381)
at weblogic.rjvm.t3.T3JVMConnection.newSocketWithRetry(T3JVMConnection.j
ava:358)
at weblogic.rjvm.t3.T3JVMConnection.connect(T3JVMConnection.java:239)
at weblogic.rjvm.t3.T3JVMConnection.createConnection(T3JVMConnection.jav
a:291)
at weblogic.rjvm.Protocol.createConnection(Protocol.java:228)
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionMana
ger.java:1269)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:418)

at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:300)

at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java
:233)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:190)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:196
)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:22
5)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:165)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:262)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:323)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:221)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
60)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241
)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at weblogic.ejb20.internal.HomeHandleImpl.getEJBHome(HomeHandleImpl.java
:71)
at com.dvnchina.fw.tools.EJBHomeFactory.lookUpRemoteHome(EJBHomeFactory.
java:92)
at com.dvnchina.fw.tools.EJBHomeFactory.lookUpRemoteHome(EJBHomeFactory.
java:83)

why???

Sri

unread,
May 7, 2003, 5:07:07 PM5/7/03
to

Hi,

The port seems illegal. Last I checked the ports are shorts (at most 2^16 which
is about 64k) and this seem out of range.

To eliminate some wierd code path, Is the JVM you are trying to get reference
from handle is same as the JVM that has the EJBHome? If not check if the machine
having the home is reachable from the machine having the handle (check if the
loop back set even if both the handle and reference are on the same machine)?

Deyan D. Bektchiev

unread,
May 7, 2003, 4:56:45 PM5/7/03
to
Date: Wed, 07 May 2003 13:56:45 -0700
From: "Deyan D. Bektchiev" <dejan_b...@appl.net>
Organization: Application Networks
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en,bg
MIME-Version: 1.0
Newsgroups: weblogic.developer.interest.ejb
Subject: Re: error with using getEJBHome method
References: <3eb8d5b1$1...@newsgroups.bea.com>
In-Reply-To: <3eb8d5b1$1...@newsgroups.bea.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.166.152.62
X-Original-NNTP-Posting-Host: 64.166.152.62
Message-ID: <3eb9...@newsgroups.bea.com>
X-Trace: newsgroups.bea.com 1052341007 64.166.152.62 (7 May 2003 13:56:47 -0800)
X-Original-Trace: 7 May 2003 13:56:47 -0800, 64.166.152.62
Lines: 61
XPident: Unknown
Path: newsgroups.bea.com!not-for-mail
Xref: newsgroups.bea.com weblogic.developer.interest.ejb:37746

This looks like a Weblogic Server bug.

File a case with BEA Support.

--dejan

0 new messages