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

Problem invoking EJB Method

24 views
Skip to first unread message

Viji

unread,
Feb 24, 2010, 2:20:04 AM2/24/10
to
Environment:
Power builder 11.0
JDK 1.5
WebLogic Server 8.1

Hi..
I am able to create the connection to weblogic server, and lookup the
home interface - following the instructions given in the Powerbuilder
manual - Building an EJB client method
http://infocenter.sybase.com/help/topic/com.sybase.dc37774_1100/pdf/apptech.pdf

I am getting general exception when a Create method for the home
interface is called. I am not that good in java to debug the code.
can anypne help me in finding out how I can see were the problem is.
As per the example below- tradehome is the home interface and has only
create method which throws create or remote exceptions. And trade
class file has all the business methods.
When I invoke the below create script - it throws a general exception
not the create or remote exception.

example -
trade = tradehome.create()


Viji

unread,
Feb 24, 2010, 7:40:01 AM2/24/10
to
On Feb 24, 12:20 pm, Viji <ghvij...@gmail.com> wrote:
> Environment:
> Power builder 11.0
> JDK 1.5
> WebLogic Server 8.1
>
> Hi..
> I am able to create the connection to weblogic server, and lookup the
> home interface -  following the instructions given in the Powerbuilder
> manual - Building an EJB client methodhttp://infocenter.sybase.com/help/topic/com.sybase.dc37774_1100/pdf/a...

>
> I am getting general exception when a Create method for the home
> interface is called. I am not that good in java to debug the code.
> can anypne help me in finding out how I can see were the problem is.
> As per the example below- tradehome is the home interface and has only
> create method which throws create or remote exceptions. And trade
> class file has all the business methods.
> When I invoke the below create script - it throws a general exception
> not the create or remote exception.
>
> example -
> trade = tradehome.create()

I got it ... I had missed to add all the dependant jars in the
classpath.

0 new messages