Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 1st, 2012  |  syntax: None  |  size: 2.46 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. EJB deployment error when migrating to jboss 6.1
  2. 12:00:23,184 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=ZServer.ear/#ZPersistCtx
  3. 12:00:23,204 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=ZServer.ear/#ZPersistCtx state=Create: java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider
  4.         at org.jboss.jpa.builder.DefaultCEMFBuilder.build(DefaultCEMFBuilder.java:46) [:1.0.2-alpha-4]
  5.         at org.jboss.as.jpa.scanner.HackCEMFBuilder.build(HackCEMFBuilder.java:49) [:6.1.0.Final]
  6.         at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:275) [:1.0.2-alpha-4]
  7.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_26]
  8.         .
  9.         .
  10.         .
  11.         at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
  12.         at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.1.0.Final]
  13.         at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]
  14.         at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
  15.         at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
  16.         at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
  17.  
  18. 12:00:23,442 INFO  [EJBContainer] STARTED EJB: com.al.sqlgen.ejb.ResponseListnerMDBBean ejbName: ResponseListnerMDBBean
  19. 12:00:23,751 WARN  [TimerServiceContainer] EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers
  20.        
  21. dohan@mypc:~/usr/local/jboss-6.1.0.Final/server/all/deploy/ZServer.ear/lib> ls
  22. antlr-2.7.6.jar                flex-messaging-remoting.jar
  23. asm-attrs.jar                  hibernate3.jar
  24. asm.jar                        hibernate-annotations.jar
  25. cglib-2.1.3.jar                hibernate-commons-annotations.jar
  26. commons-collections-2.1.1.jar  hibernate-entitymanager.jar
  27. commons-io-1.4.jar             hibernate-tools.jar
  28. commons-logging-1.1.jar        HsmSEE.jar
  29. dom4j-1.6.1.jar                javassist.jar
  30. ehcache-1.2.3.jar              jdbc2_0-stdext.jar
  31. ejb3-persistence.2.jar         jta.jar