Not working from a web connection!


[ Follow Ups ] [ Post Followup ] [ Message Board ]

Posted by [IP Address: 63.93.104.6] 'Jake' on September 19, 2001 at 21:11:11 EST:

Hi There,
I use VAJ 3.5 for sap r/3 connection. We are still in development and analysis stage so i use Websphere Test Environment from VAJ to execute my development No Weabsphere yet.

I wrote few beans using SAP Connection pool to grab a connection and exec BO method on SAP. It works great when i run from console, and i am using JNI as middleware. (To mention again i am working only in VAJ with WebSphere Test Environment .. no real web server involved yet)
When i call this bean from a servlet (i dont know how it makes a difference, if it makes i appreciate any explanation) it wouldnt work.

I pinpointed the problem. It appears to be when I am trying to set middleware info.

String[] str = { "-conn", "JNI"};
MiddlewareInfo aMiddlewareInfo = new MiddlewareInfo(str) ;
System.out.println("SAPPoolConnection: setMiddlewareinfo - Instantiation
complete. ");

Its not responding at this place and surprisingly it doesn’t even throw an exception. I am not getting the message Instantiation complete message.

I verified it many times and this problem persists only when i try to access this bean from servlet. When I run this bean from console every thing works fine.

I appreciate any help and pointers in this regard.

Thanks



Follow Ups:



Post a Followup


Name:
E-Mail:
Subject:

Message:


[ Follow Ups ] [ Post Followup ] [ Message Board ]