aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss 6.1 EAP - war file deployment error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss 6.1 EAP - war file deployment error" Watch "Jboss 6.1 EAP - war file deployment error" New topic
Author

Jboss 6.1 EAP - war file deployment error

Vijaykumar Ramalingam
Greenhorn

Joined: Mar 03, 2011
Posts: 15
Hello,
I am using JBoss 6.1 for the first time. I have a war file which uses osgi.I have osgi jars in WEBINF/lib. I am getting the following exception when I deploy the war file. Could you please tell me what I am missing here or what I have to do.I am trying to use osgi jars from my war. I am not sure whether I must use Jboss Server inbuilt Osgi jars.

15:23:08,104 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sae]] (ServerService Thread Pool -- 72) Error generating extension bundle: java.io.FileNotFoundException: c:\work\eclipse\plugins\org.eclipse.equinox.servletbridge.extensionbundle_1.0.0.jar (Access is denied)
at java.io.FileOutputStream.open(Native Method) [rt.jar:1.6.0_32]
at java.io.FileOutputStream.<init>(FileOutputStream.java:194) [rt.jar:1.6.0_32]
at java.io.FileOutputStream.<init>(FileOutputStream.java:145) [rt.jar:1.6.0_32]
at org.eclipse.equinox.servletbridge.FrameworkLauncher.deployExtensionBundle(FrameworkLauncher.java:237) [classes:]
at org.eclipse.equinox.servletbridge.FrameworkLauncher.deploy(FrameworkLauncher.java:195) [classes:]
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeServlet.java:74) [classes:]
at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_32]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_32]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_32]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_32]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_32]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

15:23:08,119 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sae]] (ServerService Thread Pool -- 72) Error copying resources: java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method) [rt.jar:1.6.0_32]
at java.io.File.createNewFile(File.java:883) [rt.jar:1.6.0_32]
at org.eclipse.equinox.servletbridge.FrameworkLauncher.copyResource(FrameworkLauncher.java:547) [classes:]
at org.eclipse.equinox.servletbridge.FrameworkLauncher.deploy(FrameworkLauncher.java:196) [classes:]
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeServlet.java:74) [classes:]
at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_32]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_32]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_32]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_32]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_32]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

15:23:08,158 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sae]] (ServerService Thread Pool -- 72) JBWEB000289: Servlet equinoxbridgeservlet threw load() exception: java.lang.RuntimeException: Could not find framework
at org.eclipse.equinox.servletbridge.FrameworkLauncher.buildInitialPropertyMap(FrameworkLauncher.java:417) [classes:]
at org.eclipse.equinox.servletbridge.FrameworkLauncher.start(FrameworkLauncher.java:287) [classes:]
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeServlet.java:75) [classes:]
at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_32]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_32]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_32]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_32]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_32]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

Thanks,
-Vijay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss 6.1 EAP - war file deployment error