Deploy play in JBoss 5.1.0

571 views
Skip to first unread message

Monteiro

unread,
Mar 30, 2010, 11:43:40 AM3/30/10
to play-framework
Hello,

I get the following error (logs) when I try to deploy the play
project.

Anyone knows what could be?


DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/opt/jboss-5.1.0.GA/server/default/deploy/
APPSurveysUL.war/" is in error due to the following reason(s):
org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema
nsURI= location=server

at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:
993)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:
939)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:
873)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:
128)
at
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:
369)
at
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:
255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
417)
at java.util.concurrent.FutureTask
$Sync.innerRunAndReset(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:146)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:170)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)

Nicolas Leroux

unread,
Mar 30, 2010, 11:51:15 AM3/30/10
to play-fr...@googlegroups.com
Hi,

Which version of Play are you using?

Nicolas

> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

Monteiro

unread,
Mar 30, 2010, 11:52:58 AM3/30/10
to play-framework
Play 1.0.1

Nicolas Leroux

unread,
Mar 30, 2010, 11:56:22 AM3/30/10
to play-fr...@googlegroups.com
Could you try with play 1.0.1 rc 2? I have fixed a bug about it no so long ago.

Nicolas

Monteiro

unread,
Mar 30, 2010, 12:00:04 PM3/30/10
to play-framework
ok, I'm going to try it.

Monteiro

unread,
Mar 30, 2010, 12:37:35 PM3/30/10
to play-framework
Just updated to play1.0.2 RC2.

I access to the context path, and i don't get an answer from the
webserver.

thanks by the way for the quick answers :)

I got the error in jboss log:
2010-03-30 17:26:21,748 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner)
deploy, ctxPath=/Play_SurveysUL
2010-03-30 17:26:22,101 INFO [STDOUT] (HDScanner) 17:26:22,100 INFO
~ Starting /opt/jboss-5.1.0.GA/server/default/deploy/
Play_SurveysUL.war/WEB-INF/application
2010-03-30 17:26:22,102 INFO [STDOUT] (HDScanner) 17:26:22,102 INFO
~ Module secure is available (/opt/jboss-5.1.0.GA/server/default/
deploy/Play_SurveysUL.war/WEB-INF/application/../modules/secure)
2010-03-30 17:26:22,102 INFO [STDOUT] (HDScanner) 17:26:22,102 INFO
~ Module crud is available (/opt/jboss-5.1.0.GA/server/default/deploy/
Play_SurveysUL.war/WEB-INF/application/../modules/crud)
2010-03-30 17:26:22,178 INFO [STDOUT] (HDScanner) 17:26:22,178 WARN
~ You're running Play! in DEV mode
2010-03-30 17:27:33,485 WARN
[org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator]
(ResourceContainer.invoker.daemon-5) Cannot create String name from
non-Simple property:
ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String},
value=null
2010-03-30 17:27:33,488 WARN
[org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator]
(ResourceContainer.invoker.daemon-5) Cannot create String name from
non-Simple property:
ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String},
value=null
2010-03-30 17:29:28,168 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler]
(ResourceContainer.invoker.nonDaemon-4) Begin start, [vfsfile:/opt/
jboss-5.1.0.GA/server/default/deploy/Play_SurveysUL.war/]
2010-03-30 17:29:28,170 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment]
(ResourceContainer.invoker.nonDaemon-4) undeploy, ctxPath=/
Play_SurveysUL
2010-03-30 17:29:28,173 ERROR [org.apache.catalina.core.ContainerBase.
[jboss.web].[localhost].[/Play_SurveysUL]]
(ResourceContainer.invoker.nonDaemon-4) Exception sending context
destroyed event to listener instance of class
play.server.ServletWrapper
java.lang.NullPointerException
at play.jobs.JobsPlugin.onApplicationStop(JobsPlugin.java:181)
at play.Play.stop(Play.java:406)
at play.server.ServletWrapper.contextDestroyed(ServletWrapper.java:
60)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:
3949)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:
4615)
at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:
1175)
at
org.apache.catalina.core.StandardContext.destroy(StandardContext.java:
4705)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:592)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
297)
at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
668)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performUndeployInternal(TomcatDeployment.java:
596)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performUndeploy(TomcatDeployment.java:
570)
at
org.jboss.web.deployers.AbstractWarDeployment.stop(AbstractWarDeployment.java:
480)
at org.jboss.web.deployers.WebModule.stopModule(WebModule.java:133)
at org.jboss.web.deployers.WebModule.stop(WebModule.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:592)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
206)
at $Proxy38.stop(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:
56)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:
37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:
79)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:
131)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:
58)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:
354)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:
1664)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:
1275)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
827)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:
688)
at org.jboss.system.ServiceController.stop(ServiceController.java:
510)
at
org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:
170)
at
org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:
150)
at
org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:
46)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:
69)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:
112)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:
196)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:
1469)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:
1376)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:
1369)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:
1331)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:
354)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:
1664)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:
1275)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
827)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:
694)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:
679)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:
117)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:
263)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:
177)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:
106)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:
305)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:
190)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:
231)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:
88)
at
org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:
120)
at
org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:
181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.rhq.core.pc.inventory.ResourceContainer
$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)


at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)

2010-03-30 17:29:33,896 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment]
(ResourceContainer.invoker.nonDaemon-4) deploy, ctxPath=/
Play_SurveysUL
2010-03-30 17:29:34,151 INFO [STDOUT]
(ResourceContainer.invoker.nonDaemon-4) 17:29:34,151 INFO ~ Starting /
opt/jboss-5.1.0.GA/server/default/deploy/Play_SurveysUL.war/WEB-INF/
application
2010-03-30 17:29:34,152 INFO [STDOUT]
(ResourceContainer.invoker.nonDaemon-4) 17:29:34,151 INFO ~ Module
secure is available (/opt/jboss-5.1.0.GA/server/default/deploy/
Play_SurveysUL.war/WEB-INF/application/../modules/secure)
2010-03-30 17:29:34,152 INFO [STDOUT]
(ResourceContainer.invoker.nonDaemon-4) 17:29:34,152 INFO ~ Module
crud is available (/opt/jboss-5.1.0.GA/server/default/deploy/
Play_SurveysUL.war/WEB-INF/application/../modules/crud)
2010-03-30 17:29:34,214 INFO [STDOUT]
(ResourceContainer.invoker.nonDaemon-4) 17:29:34,214 WARN ~ You're
running Play! in DEV mode
2010-03-30 17:29:39,589 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler]
(ResourceContainer.invoker.nonDaemon-4) End start, [vfsfile:/opt/
jboss-5.1.0.GA/server/default/deploy/Play_SurveysUL.war/]
2010-03-30 17:29:49,322 WARN
[org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator]
(ResourceContainer.invoker.daemon-9) Cannot create String name from
non-Simple property:
ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String},
value=null
2010-03-30 17:29:49,325 WARN
[org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator]
(ResourceContainer.invoker.daemon-9) Cannot create String name from
non-Simple property:
ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String},
value=null

Nicolas Leroux

unread,
Mar 30, 2010, 12:47:31 PM3/30/10
to play-fr...@googlegroups.com
Hi,

On 30 mrt 2010, at 18:37, Monteiro wrote:

> Just updated to play1.0.2 RC2.
>
> I access to the context path, and i don't get an answer from the
> webserver.

What do you mean? The application does not deploy?

Something I am working on right now is document deployment with A.S , so your questions are really welcome :) I know that the 1.0 version of Play! did not work on jboss 5 (it did with jboss 4.2.x).

I forgot to tell you, for jboss as you need to do the following:

Create a file called jboss-web.xml in the WEB-INF/ directory container the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
com.example:archive=unique-archive-name
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>

4) Download hibernate-validator and hibernate annotation using the matrix compatibility (https://www.hibernate.org/6.html#A3). Play is using hibernate core 3.3.2 GA. Once you are done, place the relevant jars in the WEB-INF/lib directory. You should end up with:

hibernate-annotations.jar
hibernate-entitymanager.jar
hibernate-validator.jar
hibernate-commons-annotations.jar
hibernate-search-3.1.1.GA.jar
hibernate3.jar

Do not overwrite the hibernate3.jar as Play! has a modified version of it.

The application for my test I wrote does work with this setup, however the more feedback I get the better


>
> thanks by the way for the quick answers :)

You are more than welcome,

Nicolas

Monteiro

unread,
Mar 31, 2010, 6:18:04 AM3/31/10
to play-framework
There is no matrix compatibility: https://www.hibernate.org/6.html#A3
(page not found)

I've the following hibernate jars:
- hibernate3.jar
- hibernate3-ast.jar
- hibernate-annotations
- hibernate-commons-annotations.jar
- hibernate-entitymanager.jar
- hibernate-search-3.1.1.GA.jar
- hibernate-validator (version 4.0.2GA)

I changed the HTTP_Port from 9000 to 8080 (that is the port of JBoss)
in the application.conf

It gives the following error:

2010-03-31 11:11:55,268 INFO [STDOUT] (main) 11:11:55,268 INFO ~
Starting /opt/jboss-5.1.0.GA/server/default/deploy/Play_SurveysUL.war/
WEB-INF/application
2010-03-31 11:11:55,269 INFO [STDOUT] (main) 11:11:55,269 INFO ~


Module secure is available (/opt/jboss-5.1.0.GA/server/default/deploy/
Play_SurveysUL.war/WEB-INF/application/../modules/secure)

2010-03-31 11:11:55,269 INFO [STDOUT] (main) 11:11:55,269 INFO ~


Module crud is available (/opt/jboss-5.1.0.GA/server/default/deploy/
Play_SurveysUL.war/WEB-INF/application/../modules/crud)

2010-03-31 11:11:55,428 INFO [STDOUT] (main) 11:11:55,428 INFO ~
Precompiling ...
2010-03-31 11:11:58,260 INFO [STDOUT] (main) 11:11:58,259 ERROR ~

@6236dj090
Cannot start in PROD mode with errors

Oops: UnexpectedException
An unexpected error occured caused by exception UnexpectedException:
Unexpected Error

play.exceptions.UnexpectedException: Unexpected Error
at play.vfs.VirtualFile.contentAsString(VirtualFile.java:176)
at play.templates.TemplateLoader.load(TemplateLoader.java:35)
at play.templates.TemplateLoader.scan(TemplateLoader.java:136)
at play.templates.TemplateLoader.getAllTemplate(TemplateLoader.java:
121)
at play.Play.preCompile(Play.java:439)
at play.Play.init(Play.java:248)
at play.server.ServletWrapper.contextInitialized(ServletWrapper.java:
52)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3910)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4393)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:
310)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:
142)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:
461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)


at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
206)

at $Proxy38.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
37)
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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:
286)
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.system.ServiceController.doChange(ServiceController.java:
688)

at org.jboss.system.ServiceController.start(ServiceController.java:
460)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:
163)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
99)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
46)
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.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.repository.ProfileDeployAction.install(ProfileDeployAction.java:
70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:
53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:
361)
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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:
306)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:
271)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:595)
Caused by: play.exceptions.UnexpectedException: Unexpected Error
at play.vfs.VirtualFile.inputstream(VirtualFile.java:107)
at play.vfs.VirtualFile.contentAsString(VirtualFile.java:174)
... 71 more
Caused by: java.io.FileNotFoundException: vfszip:/opt/jboss-5.1.0.GA/
server/default/deploy/Play_SurveysUL.war/WEB-INF/framework/templates
(No such file or directory) ---> I've this folder... Why is saying no
such file or directory?
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at play.vfs.VirtualFile.inputstream(VirtualFile.java:105)
... 72 more
2010-03-31 11:11:58,261 INFO
[org.jboss.bootstrap.microcontainer.ServerImpl] (JBoss Shutdown Hook)
Runtime shutdown hook called, forceHalt: true
2010-03-31 11:11:58,261 WARN
[org.jboss.system.server.profileservice.ProfileServiceBootstrap]
(JBoss Shutdown Hook) Error deactivating profile:
ProfileKey@13d5f21[domain=default, server=default, name=default]
org.jboss.profileservice.spi.NoSuchProfileException: No active profile
for: ProfileKey@13d5f21[domain=default, server=default, name=default]
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:
391)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:
327)
at
org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:
571)
at org.jboss.bootstrap.AbstractServerImpl
$ShutdownHook.run(AbstractServerImpl.java:909)
2010-03-31 11:11:58,755 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss
Shutdown Hook) undeploy, ctxPath=/jbossws
2010-03-31 11:11:58,759 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss
Shutdown Hook) undeploy, ctxPath=/web-console
2010-03-31 11:11:58,763 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss
Shutdown Hook) undeploy, ctxPath=/invoker
2010-03-31 11:11:58,774 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss
Shutdown Hook) undeploy, ctxPath=/admin-console
2010-03-31 11:11:58,776 INFO
[org.apache.catalina.core.StandardService] (JBoss Shutdown Hook)
Stopping service jboss.web

On Mar 30, 5:47 pm, Nicolas Leroux <nico...@lunatech.com> wrote:
> Hi,
>
> On 30 mrt 2010, at 18:37, Monteiro wrote:
>
> > Just updated to play1.0.2 RC2.
>
> > I access to the context path, and i don't get an answer from the
> > webserver.
>
> What do you mean? The application does not deploy?
>
> Something I am working on right now is document deployment with A.S , so your questions are really welcome :) I know that the 1.0 version of Play! did not work onjboss5 (it did withjboss4.2.x).
>

> I forgot to tell you, forjbossas you need to do the following:
>
> Create a file calledjboss-web.xml in the WEB-INF/ directory container the following:


>
> <?xml version="1.0" encoding="UTF-8"?>

> <!DOCTYPEjboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">

Nicolas Leroux

unread,
Mar 31, 2010, 6:32:31 AM3/31/10
to play-fr...@googlegroups.com
Argh, they removed the page!

http://74.125.77.132/search?q=cache:Q9VmeUcio1MJ:https://www.hibernate.org/6.html+https://www.hibernate.org/6.html%23A3&cd=1&hl=nl&ct=clnk&gl=nl&client=safari

The port parameter from your application.conf is not used when play is running in a war (with the servlet wrapper).

I will try to dig up the error, that is weird.

Nicolas

Monteiro

unread,
Mar 31, 2010, 6:37:07 AM3/31/10
to play-framework
When I put the war play application on JBoss, it forces other
applications to undeploy and I need to restart JBoss. Weird.

thanks :)

Hugo

On Mar 31, 11:32 am, Nicolas Leroux <nico...@lunatech.com> wrote:
> Argh, they removed the page!
>

> http://74.125.77.132/search?q=cache:Q9VmeUcio1MJ:https://www.hibernat...

> > [org.jboss.bootstrap.microcontainer.ServerImpl] (JBossShutdown Hook)


> > Runtime shutdown hook called, forceHalt: true
> > 2010-03-31 11:11:58,261 WARN
> > [org.jboss.system.server.profileservice.ProfileServiceBootstrap]

> > (JBossShutdown Hook) Error deactivating profile:


> > ProfileKey@13d5f21[domain=default, server=default, name=default]
> > org.jboss.profileservice.spi.NoSuchProfileException: No active profile
> > for: ProfileKey@13d5f21[domain=default, server=default, name=default]
> >    at
> > org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:
> > 391)
> >    at
> > org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:
> > 327)
> >    at
>

> ...
>
> read more »

Nicolas Leroux

unread,
Mar 31, 2010, 6:50:44 AM3/31/10
to play-fr...@googlegroups.com
Hi,

Could you retry with play 997 (just replace the drop the play jar into your war/WEB-INF/lib)?

Thanks

Nicolas

Monteiro

unread,
Mar 31, 2010, 9:02:40 AM3/31/10
to play-framework
I now have it working with the version I had, but I can't start the
WAR. It says it's deployed but it says that "The application is not
available" I try to start the war again, and is always "in progress",
not finishing deploying.

But I can update. Wait a sec. :)

On Mar 31, 11:50 am, Nicolas Leroux <nico...@lunatech.com> wrote:
> Hi,
>
> Could you retry with play 997 (just replace the drop the play jar into your war/WEB-INF/lib)?
>
> Thanks
>
> Nicolas
> On 31 mrt 2010, at 12:37, Monteiro wrote:
>

> > When I put the war play application onJBoss, it forces other
> > applications to undeploy and I need to restartJBoss. Weird.

> ...
>
> read more »

Monteiro

unread,
Mar 31, 2010, 9:04:29 AM3/31/10
to play-framework
Where is play 997?
It's not in http://download.playframework.org/1.0-nightly/ ?


On Mar 31, 11:50 am, Nicolas Leroux <nico...@lunatech.com> wrote:
> Hi,
>
> Could you retry with play 997 (just replace the drop the play jar into your war/WEB-INF/lib)?
>
> Thanks
>
> Nicolas
> On 31 mrt 2010, at 12:37, Monteiro wrote:
>

> > When I put the war play application onJBoss, it forces other
> > applications to undeploy and I need to restartJBoss. Weird.

> ...
>
> read more »

Nicolas Leroux

unread,
Mar 31, 2010, 9:11:00 AM3/31/10
to play-fr...@googlegroups.com

What do you mean by "I now have it working"? It deploys but you can't access the application at http://localhost:8080/Play_SurveysUL/ 


Well you are out of luck launchpad is being maintained. It should be back shortly though.

Nicolas

Monteiro

unread,
Mar 31, 2010, 10:23:26 AM3/31/10
to play-framework
Hi again,

Now everything is working. The first problem was a library conflict
that I corrected when you gave me the hibernate compatibility matrix.

The second problem was a permissions problem. He couldn't access the
database. I had to contact the network administrators to give
permission for that.

Thanks for the help (and a lot of patience)

I'm going to make a little tutorial explaining how to deploy play
applications in JBoss :)

> ...
>
> read more »

Nicolas Leroux

unread,
Mar 31, 2010, 10:34:00 AM3/31/10
to play-fr...@googlegroups.com
Good to know! Is everything working with the 1.0.1 or the 1.0.2 RC 2 or the 1.0.2 r997?

Nicolas

Monteiro

unread,
Mar 31, 2010, 11:17:04 AM3/31/10
to play-framework
with 1.0.2 RC2.

I'm having only a problem with a lib (the jxl lib) that is saying
java.lang.UnsupportedClassVersionError and I don't understand why. I
know that UnsuportedClassVersionError is when you try to run an
application that was application with an upper version:

"2010-03-31 16:14:27,545 WARN
[org.jboss.detailed.classloader.ClassLoaderManager]
(http-0.0.0.0-8080-5) Unexpected error during load
of:jxl.write.WriteException
java.lang.UnsupportedClassVersionError: Bad version number in .class
file"

But yes, everything is working :) Tks!

On Mar 31, 3:34 pm, Nicolas Leroux <nico...@lunatech.com> wrote:
> Good to know! Is everything working with the 1.0.1 or the 1.0.2 RC 2 or the 1.0.2 r997?
>
> Nicolas
> On 31 mrt 2010, at 16:23, Monteiro wrote:
>
> > Hi again,
>
> > Now everything is working. The first problem was a library conflict
> > that I corrected when you gave me the hibernate compatibility matrix.
>
> > The second problem was a permissions problem. He couldn't access the
> > database. I had to contact the network administrators to give
> > permission for that.
>
> > Thanks for the help (and a lot of patience)
>
> > I'm going to make a little tutorial explaining how to deploy play

> > applications inJBoss:)

> ...
>
> read more »

Monteiro

unread,
Mar 31, 2010, 12:21:56 PM3/31/10
to play-framework
My problem it has something to do with using libraries and their
dependencies. I need to see it later.

Thanks by the way for all.

> ...
>
> read more »

Monteiro

unread,
Mar 31, 2010, 3:18:12 PM3/31/10
to play-framework
Everything is working now :)

> ...
>
> read more »

Reply all
Reply to author
Forward
Message has been deleted
0 new messages