[EMAIL PROTECTED] on behalf of Scott Ferguson wrote:
> On Oct 3, 2007, at 3:59 AM, Phillpotts, James wrote:
> 
> > Hi all,
> >
> > I'm trying to port an EJB that we have previously used in weblogic 
> > over to resin - so far this has been very simple. However, in one of

> > the EJB calls, I get a whole lot of hex output, and then an
> > IOException:
> 
> Can you try 3.1.2?  I've reported this as a bug, but we have already
made a 
> good number of IIOP fixes in the 3.1 branch.
> 
> -- Scott

Hi Scott,

I've given this a quick go - but with 3.1.2 I get the following
exception:

[17:51:39.532] java.lang.NullPointerException
[17:51:39.532]  at
com.caucho.iiop.IiopReader.read_value(IiopReader.java:595)
[17:51:39.532]  at
com.caucho.iiop.IiopReader.read_value(IiopReader.java:525)
[17:51:39.532]  at
com.caucho.iiop.orb.StringMarshal.unmarshal(StringMarshal.java:50)
[17:51:39.532]  at
com.caucho.iiop.SkeletonMethod.service(SkeletonMethod.java:83)
[17:51:39.532]  at
com.caucho.iiop.IiopSkeleton.service(IiopSkeleton.java:97)
[17:51:39.532]  at
com.caucho.iiop.IiopRequest.handleRequest(IiopRequest.java:233)
[17:51:39.532]  at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)
[17:51:39.532]  at
com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)
[17:51:39.532]  at
com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)
[17:51:39.532]  at java.lang.Thread.run(Thread.java:595)

This is delivered to the client side as follows:

rmi exception thrown when trying to call getUserDetails, attempting to
reload companion adapter and retry java.rmi.UnexpectedException:
RMI:java.lang.NullPointerException:2E921E9DEB124A7F:47A5A18EFF31E1B8
   at registration.adapter._CompanionAdapter_Stub.getUserDetails(Unknown
Source)
   ...

So this is happening when the actual call is made, once InitialContext
and bean have been created - while calling the bean.getUserDetails
method.

I think I've set up the 3.1 resin.conf ok - but have a attached it in
case.

Cheers,
James



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

Attachment: resin.conf
Description: resin.conf

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to