1 Reply Latest reply on Feb 5, 2007 1:37 AM by Norman Richards

    Error in deployment

    md meraj Newbie

      Whaen I am trying to deploy Icefaces example I am facing foloowing error

      2007-02-05 12:00:48.687 ERROR J2EE EJB3027 [seam-icefaces] An error occured deploying EJB module: javax.ejb.EJBException: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.; nested exception is: java.lang.InstantiationException: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.
      2007-02-05 12:00:48.718 NOTIFICATION application : seam-icefaces is in failed state
      Feb 5, 2007 12:00:48 PM com.evermind.server.Application setConfig
      WARNING: Application: seam-icefaces is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.; nested exception is: java.lang.InstantiationException: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.
      07/02/05 12:00:48 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error initializing ejb-modules: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.; nested exception is: java.lang.InstantiationException: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.
      07/02/05 12:00:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:510)
      07/02/05 12:00:48 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:191)
      07/02/05 12:00:48 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
      07/02/05 12:00:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
      07/02/05 12:00:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
      07/02/05 12:00:48 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
      07/02/05 12:00:48 at java.lang.Thread.run(Thread.java:595)
      07/02/05 12:00:48 Caused by: java.lang.InstantiationException: Error initializing ejb-modules: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.; nested exception is: java.lang.InstantiationException: @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.
      07/02/05 12:00:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1056)
      07/02/05 12:00:48 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:210)
      07/02/05 12:00:48 at com.evermind.server.Application.setConfig(Application.java:391)
      07/02/05 12:00:48 at com.evermind.server.Application.setConfig(Application.java:308)
      07/02/05 12:00:48 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
      07/02/05 12:00:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:507)
      07/02/05 12:00:48 ... 6 more