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

EAServer 6.3 PowerBuilder 11.5

56 views
Skip to first unread message

Pete

unread,
Jan 6, 2010, 5:47:01 PM1/6/10
to
I recently installed a clean version of EAServer 6.3 on a
WinXP machine. I deployed a couple of our existing PB10.5.2
components and they worked without issue. I then upgraded
those 10.5.2 components to PB 11.5 and deployed them. I've
had no luck getting them to work. Is there something
special that I have to do to enable pb11.5 in easerver 6.3?
I can see PBVM105 and PBVM115 in the shared directory.
There isn't much in the logs. Basically, I'm getting a null
pointer when I try to get my component using the following:
PBReportsV11.GeneratePBReportHelper.narrow(generatorFactory.create
())

This is the trace from my logs. Actually, it looks very
much like the successful calls.
2010-01-06 15:11:59.240 TRACE btpool0-0 >
ejb.components.pbreportsv11.GeneratePBReportRemoteHome.create()
2010-01-06 15:11:59.240 TRACE btpool0-0 <
ejb.components.pbreportsv11.GeneratePBReportRemoteHome.create
=
ejb.components.pbreportsv11.GeneratePBReportRemote_DJC@2c1b13
2010-01-06 15:11:59.240 TRACE btpool0-0 |
ejb.components.pbreportsv11.GeneratePBReportRemote[SessionCache.addCreate]
2010-01-06 15:11:59.240 TRACE btpool0-0 | session =
11854399539162.11854399539162.1262812319240.15000000000002

Any thoughts?

TIA,
Pete

Pete

unread,
Jan 7, 2010, 2:45:31 PM1/7/10
to
The problem had to do with java Stubs/interfaces. As you
may have found out, there is a bug in the easerver 6.3 Stub
Generation logic, in which it runs into a compiler error
during stub generation. My initial work around was to
convert my old PB10.5 stubs for use by 11.5 components -
this solution obviously didn't work.

To make a long story short, Sybase support gave me a
workaround. I then regenerated the stubs and copied them to
my java application, then created and deployed a new WAR. I
can now call PB11.5 componenets from a java application.

The workaround for the Java Stub compiler error is to open
C:\yourEAServerDirectory\deploy\webapps\console.console\easmgmplugin\easMBeanNode\generateStubsWizard\displayWizardResult.jsp
then add a semi-colon after
response.setCharacterEncoding("utf-8")

> I recently installed a clean version of EAServer 6.3 on a
> WinXP machine. I deployed a couple of our existing
> PB10.5.2 components and they worked without issue. I then
> upgraded those 10.5.2 components to PB 11.5 and deployed
> them. I've had no luck getting them to work. Is there
> something special that I have to do to enable pb11.5 in
> easerver 6.3? I can see PBVM105 and PBVM115 in the shared
> directory. There isn't much in the logs. Basically, I'm
> getting a null pointer when I try to get my component
> using the following:
> PBReportsV11.GeneratePBReportHelper.narrow(generatorFactor

> y.create ())


>
> This is the trace from my logs. Actually, it looks very
> much like the successful calls.
> 2010-01-06 15:11:59.240 TRACE btpool0-0 >
> ejb.components.pbreportsv11.GeneratePBReportRemoteHome.cre

> ate() 2010-01-06 15:11:59.240 TRACE btpool0-0 <
> ejb.components.pbreportsv11.GeneratePBReportRemoteHome.cre
> ate =
> ejb.components.pbreportsv11.GeneratePBReportRemote_DJC@2c1
> b13 2010-01-06 15:11:59.240 TRACE btpool0-0 |
> ejb.components.pbreportsv11.GeneratePBReportRemote[Session
> Cache.addCreate] 2010-01-06 15:11:59.240 TRACE btpool0-0

0 new messages