users@glassfish.java.net

Re: App deployment failure in GF 3.1.1.Error occurred during dep

From: <forums_at_java.net>
Date: Fri, 6 Jan 2012 14:30:54 -0600 (CST)

  It says that in the logs but resources are enabled  but if I restart th
DAS  it's working fine on local node but not on remote node ,this is the
message when I redeployed on remote instances,I am providing the error in
 the logs ,can you pls help me ..

 Command succeeded with Warning
"http://localhost:4848/management/domain/applications/application/CDRXDSTest"
created successfully. WARNING: Command _deploy did not complete successfully
on server instance CCD_CMTST1102: remote failure: Failed to load the
application on instance CCD_CMTST1102. The application will not run properly.
Please fix your application and redeploy. Exception while preparing the app :
org.hibernate.ejb.Ejb3Configuration (initialization failure). Please see
server.log for more details. WARNING: Command _deploy did not complete
successfully on server instance CCD_CMTST1101: remote failure: Failed to load
the application on instance CCD_CMTST1101. The application will not run
properly. Please fix your application and redeploy. Exception while preparing
the app : org.hibernate.ejb.Ejb3Configuration (initialization failure).
Please see server.log for more details. WARNING: Command _deploy did not
complete successfully on server instance CCD_CMTST1102: remote failure:
Failed to load the appl .... msg.seeServerLog

 

[#|2012-01-06T14:25:47.215-0600|SEVERE|glassfish3.1.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=14;_ThreadName=Thread-12;|Exception
while preparing the app|#]

[#|2012-01-06T14:25:47.216-0600|SEVERE|glassfish3.1.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=14;_ThreadName=Thread-12;|org.hibernate.ejb.Ejb3Configuration
(initialization failure)

java.lang.NoClassDefFoundError: org.hibernate.ejb.Ejb3Configuration
(initialization failure)

        at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)

        at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:71)

        at
org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:205)

        at
org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:119)

        at
org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:214)

        at
org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:483)

        at
org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:221)

        at
org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:167)

        at
com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)

        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)

        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

        at
org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:186)

        at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)

        at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)

        at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1045)

        at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)

        at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)

        at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)

        at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)

        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)

        at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)

        at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

        at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)

        at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)

        at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)

        at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)

        at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)

        at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

        at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

        at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

        at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

        at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

        at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

        at java.lang.Thread.run(Thread.java:736)

 

--
[Message sent by forum member 'chaitanya.gf']
View Post: http://forums.java.net/node/880866