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.

Powerbuilder Jboss Error

5 posts in Java J2EE specific Last posting was on 2010-03-09 08:48:22.0Z
Everson Posted on 2008-10-23 10:57:26.0Z
From: "Everson" <everson@useall.com.br>
Newsgroups: sybase.public.easerver.j2ee
Subject: Powerbuilder Jboss Error
Lines: 6569
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49005896@forums-1-dub>
Date: 23 Oct 2008 03:57:26 -0700
X-Trace: forums-1-dub 1224759446 10.22.241.152 (23 Oct 2008 03:57:26 -0700)
X-Original-Trace: 23 Oct 2008 03:57:26 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7892
Article PK: 208320

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?

imagem1.JPG
error.JPG
imagem4.JPG
imagem3.JPG
imagem2.JPG

Evan Ireland [Sybase] Posted on 2008-10-23 22:39:55.0Z
Message-ID: <4900FD3B.5000800@sybase.com>
From: "Evan Ireland [Sybase]" <eireland@sybase.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
Newsgroups: sybase.public.easerver.j2ee
To: Everson <everson@useall.com.br>
Subject: Re: Powerbuilder Jboss Error
References: <49005896@forums-1-dub>
In-Reply-To: <49005896@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 23 Oct 2008 15:39:55 -0700
X-Trace: forums-1-dub 1224801595 10.22.241.152 (23 Oct 2008 15:39:55 -0700)
X-Original-Trace: 23 Oct 2008 15:39:55 -0700, vip152.sybase.com
Lines: 65
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7893
Article PK: 208315

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 Posted on 2008-10-24 10:54:20.0Z
From: "Everson" <everson@useall.com.br>
Newsgroups: sybase.public.easerver.j2ee
References: <49005896@forums-1-dub> <4900FD3B.5000800@sybase.com>
Subject: Re: Powerbuilder Jboss Error
Lines: 78
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4901a95c$1@forums-1-dub>
Date: 24 Oct 2008 03:54:20 -0700
X-Trace: forums-1-dub 1224845660 10.22.241.152 (24 Oct 2008 03:54:20 -0700)
X-Original-Trace: 24 Oct 2008 03:54:20 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7894
Article PK: 208319

my connection

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



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

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


Evan Ireland [Sybase] Posted on 2008-11-11 23:04:58.0Z
Message-ID: <491A0F99.6010605@sybase.com>
From: "Evan Ireland [Sybase]" <eireland@sybase.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
Newsgroups: sybase.public.easerver.j2ee
To: Everson <everson@useall.com.br>
Subject: Re: Powerbuilder Jboss Error
References: <49005896@forums-1-dub> <4900FD3B.5000800@sybase.com> <4901a95c$1@forums-1-dub>
In-Reply-To: <4901a95c$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 11 Nov 2008 15:04:58 -0800
X-Trace: forums-1-dub 1226444698 10.22.241.152 (11 Nov 2008 15:04:58 -0800)
X-Original-Trace: 11 Nov 2008 15:04:58 -0800, vip152.sybase.com
Lines: 91
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7896
Article PK: 208321

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.

Everson wrote:
> my connection
>
> Application = "app"
> Driver = "AppServer"
> UserID = "admin@system"
> Password = "password"
> Location = "iiop://everson:9000
>
>
>
> "Evan Ireland [Sybase]" <eireland@sybase.com> escreveu na mensagem
> news:4900FD3B.5000800@sybase.com...
>> 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?
>>>
>>>
>>>
>>>
>


Muruganathan Posted on 2010-03-09 08:48:22.0Z
Sender: 7a45.4b95ea5d.1804289383@sybase.com
From: Muruganathan
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Powerbuilder Jboss Error
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b960b56.7f2f.1681692777@sybase.com>
References: <4901a95c$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Mar 2010 00:48:22 -0800
X-Trace: forums-1-dub 1268124502 10.22.241.41 (9 Mar 2010 00:48:22 -0800)
X-Original-Trace: 9 Mar 2010 00:48:22 -0800, 10.22.241.41
Lines: 78
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7920
Article PK: 208337


> my connection
>
> Application = "app"
> Driver = "AppServer"
> UserID = "admin@system"
> Password = "password"
> Location = "iiop://everson:9000
>
>
>
> "Evan Ireland [Sybase]" <eireland@sybase.com> escreveu na
> mensagem news:4900FD3B.5000800@sybase.com...
> >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? >>
> >>
> >>
> >>
>