Is it possible to make it work on JBoss+Tomcat? [originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
posted
0
Anonymous wrote:Is it possible to make it work on JBoss+Tomcat?
Well, some users told they can run on JBoss. I guess it will work, but I never tried it.
Rafael [originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
posted
0
Hi,
I've got some problem with installing JForum.
Server archtecture:
JBoss 5.1.0.CR1
Tomcat 6.0
Platform: Windows Vista SP1
when i add to JBoss JForum.war recieve this error message:
java.lang.Exception at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:99)
at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:129)
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.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:484)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.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)
Caused by: java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/C:/Program%20Files/JBoss/jboss-5.1.0.CR1/server/default/deploy/jforum-2.1.8.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/Program Files/JBoss/jboss-5.1.0.CR1/server/default/tmp/5c4o12s-ibw41h-fvf4rtjf-1-fvfrdntm-5dx/jforum-2.1.8.war/ deployment failed
at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)
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:95)
... 11 more
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/C:/Program%20Files/JBoss/jboss-5.1.0.CR1/server/default/deploy/jforum-2.1.8.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/Program Files/JBoss/jboss-5.1.0.CR1/server/default/tmp/5c4o12s-ibw41h-fvf4rtjf-1-fvfrdntm-5dx/jforum-2.1.8.war/ deployment failed
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.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:264)
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)
... 15 more
I've no idea why
Someone help me?
thx
lakisoft [originally posted on jforum.net by lakisoft]
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
posted
0
I don't use Jboss so these are just general suggestions... you might search the web for similar errors relating to JBoss doing deployments.
1) Copy or rename the war file so it has a zip extension. Then open it either with windows native zip handling or something like 7zip or winzip. Make sure that it looks right (has a WEB-INF directory with a web.xml file). If it won't open or doesn't have a WEB-INF directory in the root, try re-downloading it.
2) Try renaming the war file to something simpler like just jforum.war. The name of the war file is the name of the URL used to get to the deployed web app. Maybe JBoss doesn't like the dot or hyphen in the name.
[originally posted on jforum.net by monroe]
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.