5 Replies Latest reply on Jun 7, 2009 2:18 PM by René Simon

    samplePU

    Tom Baeyens Master

      when installing a clean jboss and then jbpm into jboss, i get this exception:

      [start-jboss] 12:08:10,562 INFO [STDOUT] [Server@5c6e55]: Database [index=0, id=1, db=file:C:\Software\jboss-5.0.0.GA\server\default\data\hypersonic\jbpm4DB, alias=] opened sucessfully in 172 ms.
      [start-jboss] 12:08:10,562 INFO [STDOUT] [Server@5c6e55]: Startup sequence completed in 234 ms.
      [start-jboss] 12:08:10,984 INFO [STDOUT] [Server@5c6e55]: 2009-04-27 12:08:10.984 HSQLDB server 1.8.0 is online
      [start-jboss] 12:08:10,984 INFO [STDOUT] [Server@5c6e55]: To close normally, connect and execute SHUTDOWN SQL
      [start-jboss] 12:08:10,984 INFO [STDOUT] [Server@5c6e55]: From command line, use [Ctrl]+[C] to abort abruptly
      [start-jboss] 12:08:11,531 INFO [TomcatDeployment] deploy, ctxPath=/gwt-console-server, vfsUrl=jbpm/gwt-console-server.war
      [start-jboss] 12:08:11,906 ERROR [STDERR] 62 [main] WARN org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap - The use of javax.ws.rs.core.Application is deprecated, please use javax.ws.rs.Application as a context-param instead
      [start-jboss] 12:08:11,922 ERROR [STDERR] 78 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider DataSourceProvider
      [start-jboss] 12:08:11,922 ERROR [STDERR] 78 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider DefaultTextPlain
      [start-jboss] 12:08:11,922 ERROR [STDERR] 78 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.StringTextStar
      [start-jboss] 12:08:11,937 ERROR [STDERR] 93 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.InputStreamProvider
      [start-jboss] 12:08:11,937 ERROR [STDERR] 93 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.ByteArrayProvider
      [start-jboss] 12:08:11,937 ERROR [STDERR] 93 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider
      [start-jboss] 12:08:11,937 ERROR [STDERR] 93 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider
      [start-jboss] 12:08:11,937 ERROR [STDERR] 93 [main] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.StreamingOutputProvider
      [start-jboss] 12:08:11,953 ERROR [STDERR] 109 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in provider org.jboss.resteasy.plugins.providers.IIOImageProvider
      [start-jboss] 12:08:12,687 ERROR [STDERR] 843 [main] INFO org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap - Deploying javax.ws.rs.core.Application: class org.jboss.bpm.console.server.ConsoleServerApplication
      [start-jboss] 12:08:12,687 ERROR [STDERR] 843 [main] INFO org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap - Adding singleton resource org.jboss.bpm.console.server.TestFacade from Application javax.ws.rs.core.Application
      [start-jboss] 12:08:12,719 ERROR [STDERR] 875 [main] INFO org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap - Adding singleton resource org.jboss.bpm.console.server.TaskListFacade from Application javax.ws.rs.core.Application
      [start-jboss] 12:08:12,734 ERROR [STDERR] 890 [main] INFO org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap - Adding singleton resource org.jboss.bpm.console.server.UserMgmtFacade from Application javax.ws.rs.core.Application
      [start-jboss] 12:08:12,750 ERROR [STDERR] 906 [main] INFO org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap - Adding singleton resource org.jboss.bpm.console.server.TaskMgmtFacade from Application javax.ws.rs.core.Application
      [start-jboss] 12:08:12,750 ERROR [STDERR] 906 [main] INFO org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap - Adding singleton resource org.jboss.bpm.console.server.ProcessMgmtFacade from Application javax.ws.rs.core.Application
      [start-jboss] 12:08:12,812 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#samplePU
      [start-jboss] 12:08:12,812 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#samplePU state=Create
      [start-jboss] java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named: samplePU
      [start-jboss] at org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:124)
      [start-jboss] at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:285)
      [start-jboss] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [start-jboss] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [start-jboss] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [start-jboss] at java.lang.reflect.Method.invoke(Method.java:585)
      [start-jboss] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
      [start-jboss] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
      [start-jboss] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      [start-jboss] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
      [start-jboss] at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
      [start-jboss] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
      [start-jboss] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
      [start-jboss] at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
      [start-jboss] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
      [start-jboss] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
      [start-jboss] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      [start-jboss] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      [start-jboss] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      [start-jboss] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
      [start-jboss] at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
      [start-jboss] at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
      [start-jboss] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      [start-jboss] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      [start-jboss] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      [start-jboss] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      [start-jboss] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      [start-jboss] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      [start-jboss] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      [start-jboss] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      [start-jboss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      [start-jboss] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      [start-jboss] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
      [start-jboss] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
      [start-jboss] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
      [start-jboss] at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
      [start-jboss] at org.jboss.Main.boot(Main.java:209)
      [start-jboss] at org.jboss.Main$1.run(Main.java:547)
      [start-jboss] at java.lang.Thread.run(Thread.java:595)
      [start-jboss] 12:08:17,453 INFO [TomcatDeployment] deploy, ctxPath=/gwt-console, vfsUrl=jbpm/gwt-console.war
      [start-jboss] 12:08:18,047 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
      [start-jboss] 12:08:18,265 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      [start-jboss]
      [start-jboss] *** CONTEXTS IN ERROR: Name -> Error
      [start-jboss]
      [start-jboss] persistence.unit:unitName=#samplePU -> java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named: samplePU
      [start-jboss]
      [start-jboss]
      [start-jboss] 12:08:18,281 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      [start-jboss] 12:08:18,328 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      [start-jboss] 12:08:18,344 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 1m:14s:344ms
      


      anyone have a clue where that could come from ?

      i have no clue how that samplePU persistence unit gets in there. i searched the jbpm codebase for samplePU and found nothing.