Skip to Content
Former Member
Mar 20, 2007 at 01:35 PM

Connect to the portal DB from an EJB


Hello all,

I'm writing an EJB for accessing the portal DB (SQL server).

I'm using the business methods of the EJB from a web dynpro application to connect/read/update the DB.

Before useing an EJB: I did everything in the web dynpro. it worked fine.

Now when writing the exact same code in an EJB I get the following exception when trying to connect (con = ds.getConnection()):

<b>I/O operation failed :</b>

Does anybody know what can be the problem?

Thanks, Adi.