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?
>
>
>
>
>
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...
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.