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

Re: Powerbuilder Jboss Error

11 views
Skip to first unread message

Evan Ireland [Sybase]

unread,
Oct 23, 2008, 6:39:55 PM10/23/08
to Everson
I wonder what properties have been set on the connection_object, before
connectToServer is called.

Apart from that, in the plugin installation directory, there is a logs
subdirectory. You should find log file(s) there which may contain useful
messages.

Everson wrote:
> Using:
> Powerbuilder 11.2
> Jboss 4.04
> PowerBuilder Application Server Plugin 1.0
>
>
> I developed an "Application Server Component" according the images 1,2,3
> attached
>
> Call in C:\Arquivos de programas\Sybase\PBAppServer1\bin\pb-server-test.bat
> It Worked aright (image 4)
>
>
> The statement below is an application made to call the of_sum function:
>
>
> long llretorno
> connection_object loconexao
> loconexao = create connection_object
>
> llretorno = loconexao.connecttoserver( )
>
> if llretorno <> 0 then
> return 0
> end if
>
> mycomp lo_object_name
>
> IF loconexao.CreateInstance(mycomp,'pbtest/MyComp') <> 0 THEN
> messagebox('Erro',string(loconexao.errcode) + ' '+ loconexao.errtext)
> destroy loconexao
> return 0
> end if
>
> messagebox('' ,string(lo_object_name.of_sum( 1, 2)))
>
>
>
> Return an error (image 5)
>
> ---------------------------
> Erro
> ---------------------------
> 50 Distributed Service Error: E13 Could not create object of class
> 'pbtest/MyComp'. (722)
> ---------------------------
> OK
> ---------------------------
>
> What Should I have to do to fix this application?
>
> What Must It be sent as parameter in the CreateInstance function?
>
>
>
>
>

Everson

unread,
Oct 24, 2008, 6:54:20 AM10/24/08
to
my connection

Application = "app"
Driver = "AppServer"
UserID = "admin@system"
Password = "password"
Location = "iiop://everson:9000

"Evan Ireland [Sybase]" <eire...@sybase.com> escreveu na mensagem
news:4900FD3B...@sybase.com...

Evan Ireland [Sybase]

unread,
Nov 11, 2008, 6:04:58 PM11/11/08
to Everson
Everson,

Sorry for the slow reply, I had an unexpected trip to Texas. Back now.

Use port 2000, not port 9000.

Port 9000 is for deployment, port 2000 is to call the proxy server which
then calls your app server.

Also, the userID / password should be JBoss credentials, not the
"admin@system" that is for deployment.

0 new messages