1 Reply Latest reply: Feb 8, 2012 2:15 AM by user12002847 RSS

    Cannot deploy a EJB 3.0 Session bean to the OAS 10.1.3.4

    user4529861
      Hi All,

      I am unable to deploy a EJB 3.0 Session bean with no deployment descriptors to OAS 10.1.3.4 App server.This Session bean is also exposed as a web service using annotations. I am able to deploy this bean to a standalone oc4j 10.1.3.x containers and test it successfully.

      i have written a simple stateless session bean ( exposed as webservice) and every bean is having issues with deployment having the same exception stated below

      Can some one please help as i need to deploy this urgently.


      below is the session bean code:

      import javax.ejb.Stateless;

      @Stateless(name="SiebelQuoteEJB")
      public class SiebelQuoteEJBBean implements SiebelQuoteEJBLocal,
      SiebelQuoteEJBWebService {
      public SiebelQuoteEJBBean() {
      }

      public String publishMessage(String message,String type) throws java.rmi.RemoteException {

      client.publishMessage(message,type);
      return "SUCCESS";

      }


      }

      Below is the error while deploying:

      11/01/06 15:03:49 WARNING: Application.setConfig Application: javasso is in failed state as initialization failed.
      java.lang.NullPointerException
      11/01/06 15:03:50 WARNING: Application.setConfig Application: SiebelQuoteEJB is in failed state as initialization failed.
      java.lang.InstantiationException: Error initializing ejb-modules: null Error parsing application-server config file: null
      11/01/06 15:03:50 java.lang.NullPointerException
      at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogLevels(ObjectReferenceCleaner.java:166)
      at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:88)
      at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:248)
      at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1113)
      at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1041)
      at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1171)
      at com.evermind.server.Application.stateCleanUp(Application.java:3635)
      at com.evermind.server.Application.setConfig(Application.java:506)
      at com.evermind.server.Application.setConfig(Application.java:355)
      at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
      at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1651)
      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1034)
      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
      at java.lang.Thread.run(Thread.java:736)