roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matej Lazar <matejon...@gmail.com>
Subject deploy to jboss 5.1 - You have not defined a non-jta-data-source
Date Thu, 22 Oct 2009 07:27:59 GMT
First I tried to deploy roller 4.0.1 then latest from trunk, but allways get 
error mesage, that I have not defined "non jta data source".

I did just as it is described in installation guide... created datebase, 
created a roller-custom.properties (JDBC). Put it in WEB-INF\classes\ 
(tried also elsewhere - all meta-inf folders )

I have required libs in server lib dir
jboss-5.1.0.GA\server\default\lib\mysql-connector-java-5.0.8-bin.jar

Tried to deploy as war and as ear project, tried to play with 
resource-ref in web.xml

How can I check that roller-custom.properties file is loaded, because I 
get the same error if I remove it ?


thanks.


----
00:47:46,843 INFO  [TomcatDeployment] undeploy, ctxPath=/roller
00:47:53,734 INFO  [PersistenceUnitDeployment] Starting persistence unit 
persistence.unit:unitName=rollerEAR.ear/roller.war#RollerPU
00:47:53,734 ERROR [AbstractKernelController] Error installing to Start: 
name=persistence.unit:unitName=rollerEAR.ear/roller.war#RollerPU 
state=Create
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: RollerPU
   at 
org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:124)
   at 
org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:275)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at 
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
   at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
   at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
   at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
   at 
org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
   at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
   at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
   at 
org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
   at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
   at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
   at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
   at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
   at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
   at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
   at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
   at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
   at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
   at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
   at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
   at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
   at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
   at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
   at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
   at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
   at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
   at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
   at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
   at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
   at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
   at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
   at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
   at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
   at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
   at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
   at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
   at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
   at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
   at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
   at 
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
   at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
   at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
   at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown 
Source)
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown 
Source)
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown 
Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
00:47:53,765 INFO  [TomcatDeployment] deploy, ctxPath=/roller
00:47:53,921 WARN  [HDScanner] Failed to process changes




Mime
View raw message