Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

EJB Client to JBoss

2 posts in EJB Client Last posting was on 2004-10-06 06:39:27.0Z
JMGG Posted on 2004-10-05 22:51:25.0Z
Sender: 1bfc.41631f1c.1804289383@sybase.com
From: JMGG
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: EJB Client to JBoss
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41632567.1c7a.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 5 Oct 2004 15:51:20 -0700, 10.22.241.42
Lines: 13
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 5 Oct 2004 15:51:22 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 5 Oct 2004 15:51:25 -0700
X-Trace: forums-1-dub 1097016685 10.22.108.75 (5 Oct 2004 15:51:25 -0700)
X-Original-Trace: 5 Oct 2004 15:51:25 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:375
Article PK: 424550

I tried to connect an application EJBClient example to
JBoss. I use PB 9.0 with Java VM 1.4.0. This application
cause an error in the lookup method:
"Failed to lookup the EJB: test.session.MyTestSessionHome
javax.naming.CommunicationException[Root exception is
java.rmi.ConnectException: Connection refused to host
192.168.3.13; nested exception is:
java.net.ConnectException: Connection timed out: connect]"
Where is the problem?
The Jboss server have logs?.
I have configured the file vm.out but not the file never is
created.
Thanks.


Ben (bede) Posted on 2004-10-06 06:39:27.0Z
From: Ben (bede) <bedeNOSP@Msofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: EJB Client to JBoss
Message-ID: <MPG.1bcdb22a87f37da29896c6@forums.sybase.com>
References: <41632567.1c7a.1681692777@sybase.com>
Organization: Sofico
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
X-Original-Trace: 5 Oct 2004 23:39:22 -0700, uu194-7-38-226.unknown.uunet.be
Lines: 29
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 5 Oct 2004 23:39:24 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 5 Oct 2004 23:39:27 -0700
X-Trace: forums-1-dub 1097044767 10.22.108.75 (5 Oct 2004 23:39:27 -0700)
X-Original-Trace: 5 Oct 2004 23:39:27 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:376
Article PK: 424551

is the correct javaVM being loaded?
you may need to override PB's default VM setting using the registry (see
registry HKEY_LOCAL_MACHINE\Software\Sybase\PowerBuilder\9.0\Java)

does the classpath contain all required classes? (eg. JBoss-specific
classes)

vm.out will not be created if you use sun's 1.4 (apparently), best to
use another java version (1.3)

HTH,

Ben

In article <41632567.1c7a.1681692777@sybase.com>, JMGG says...

> I tried to connect an application EJBClient example to
> JBoss. I use PB 9.0 with Java VM 1.4.0. This application
> cause an error in the lookup method:
> "Failed to lookup the EJB: test.session.MyTestSessionHome
> javax.naming.CommunicationException[Root exception is
> java.rmi.ConnectException: Connection refused to host
> 192.168.3.13; nested exception is:
> java.net.ConnectException: Connection timed out: connect]"
> Where is the problem?
> The Jboss server have logs?.
> I have configured the file vm.out but not the file never is
> created.
> Thanks.
>