Have just fiugured this out.
The repository username/password must be the **weblogic** permissioned user, not Oracle user.
So....now I have a functioning PBSessionBean, but when I try and commit an abject it isn't persisted to Oracle (grrrrrrrrr!)
Here's the relevant method in PBSessionBean whcih runs fine without errors BUT the object doesn't get persisted -
public Object storeObject(Object object)
{
PersistenceBroker broker = null;
try
{
System.out.println("getting broker");
broker = getBroker();
if (broker!=null) {
System.out.println("GOT broker");
} else {
System.out.println("NOT got broker");
}
System.out.println("storing obj");
broker.beginTransaction();
broker.store(object);
broker.commitTransaction();
System.out.println("object stored!!!");
}
catch (Exception e) {
e.printStackTrace(System.out);
System.out.println("yikes and ojb error!!!!");
}
finally
{
if (broker != null) broker.close();
}
return object;
}Help! (again)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
