1 Reply Latest reply on Feb 28, 2008 4:54 AM by 6416

    Deployment exception

    625609
      Getting following exception when I tries to deploy an ear file in oc4j server. Can any one help me in resolving this problem

      08/02/27 14:47:24 WARNING: DeployerRunnable.run java.lang.InstantiationException
      : Application: serena is in failed state as initialization failedoracle.oc4j.adm
      in.internal.DeployerException: java.lang.InstantiationException: Application: se
      rena is in failed state as initialization failed
      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126
      )
      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
      (OC4JDeployerRunnable.java:52)
      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
      yerRunnable.java:81)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
      sableResourcePooledExecutor.java:298)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.InstantiationException: Application: serena is in failed st
      ate as initialization failed
      at com.evermind.server.Application.setConfig(Application.java:496)
      at com.evermind.server.Application.setConfig(Application.java:339)
      at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
      r.java:1895)
      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
      tionDeployer.java:512)
      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
      ployer.java:196)
      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)

      ... 4 more
      Caused by: java.lang.InstantiationException: Error initializing ejb-modules: nes
      ted exception is: java.lang.reflect.InvocationTargetException
      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1064)

      at com.evermind.server.ApplicationStateRunning.initializeApplication(App
      licationStateRunning.java:217)
      at com.evermind.server.Application.setConfig(Application.java:438)
      ... 9 more
      Caused by: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
      tionTargetException
      at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365
      )
      at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:356
      )
      at com.evermind.server.ejb.BeanAnnotationListener.parseAnnotatedClass(Be
      anAnnotationListener.java:54)
      at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(An
      notationParser.java:201)
      at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationP
      arser.java:73)
      at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackage
      Deployment.java:939)
      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
      ... 11 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.evermind.server.ejb.BeanAnnotationListener.parseAnnotatedClass(Be
      anAnnotationListener.java:45)
      ... 15 more
      Caused by: java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTPClient
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
      at java.lang.Class.privateGetPublicMethods(Class.java:2519)
      at java.lang.Class.getMethods(Class.java:1406)
      at com.evermind.server.ejb.deployment.BeanDescriptorAnnotationParser.par
      seAnnotations(BeanDescriptorAnnotationParser.java:69)
      at com.evermind.server.ejb.deployment.BeanDescriptorAnnotationParser.par
      seAnnotations(BeanDescriptorAnnotationParser.java:48)
      ... 19 more