• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

weblogic 9.2 jar problems

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys.

I have a weblogic problem for about a week.
So, i have an EAR with a EJB and other module (business logic, etc).
In my EJB I need to recover a reference of an implementation.
I'm using getBeanFactory().getBean(BEAN_NAME); in onEjbCreate, I have an .xml file with the bean definition to my implementation class.
I've did many tests, and my getBean work fine.
The problem is when I'm trying to execute a method from my implementation class. Error:
Exception in thread "main" java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.lang.NullPointerException
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:195)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at com.bnpparibas.eqd.symphony.hospital.patientService_xqdxdc_EOImpl_920_WLStub.handledPatientML(Unknown Source)
at com.bnpparibas.eqd.symphony.hospital.TestLocalhostEJBHospital.main(TestLocalhostEJBHospital.java:85)
Caused by: java.lang.NullPointerException
at com.bnpparibas.eqd.symphony.hospital.service.impl.PatientServiceImpl.handledPatientML(PatientServiceImpl.java:83)

The implementation class is PatientServiceImpl. This class is in a jar in the EAR.
Just for the test, I've put the implementation class in the same project as the ejb, and no error.
If it is in another project I have this error.
I've done many tests and I think that maybe the implementation class nees some jar, or something, but I don't knwo what.
The problem is that I cannot see too much error, only the error posted.
For the test, I've put all jars in webloggic classpath, and the same error.

I don't know what else to try.

Thanks.
Corneliu.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic