This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes while restart the jboss server  it give access denined problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "while restart the jboss server  it give access denined problem" Watch "while restart the jboss server  it give access denined problem" New topic
Author

while restart the jboss server it give access denined problem

Param Eswar
Greenhorn

Joined: May 22, 2008
Posts: 1
we are getting access denied problem. this issue is coming for Appadm user.Looks like User Privilege issue
please suggest some steps for this problem

exception in console i will reproduce here


2009-10-08 03:00:26,893 main INFO Queue.D - Bound to JNDI name: queue/D
2009-10-08 03:00:26,893 main INFO Queue.ex - Bound to JNDI name: queue/ex
2009-10-08 03:00:26,924 main INFO Topic.testTopic - Bound to JNDI name: topic/testTopic
2009-10-08 03:00:26,924 main INFO Topic.securedTopic - Bound to JNDI name: topic/securedTopic
2009-10-08 03:00:26,924 main INFO Topic.testDurableTopic - Bound to JNDI name: topic/testDurableTopic
2009-10-08 03:00:26,924 main INFO Queue.testQueue - Bound to JNDI name: queue/testQueue
2009-10-08 03:00:26,956 main INFO uil2.UILServerILService - JBossMQ UIL service available at : /0.0.0.0:8093
2009-10-08 03:00:27,002 main INFO Queue.DLQ - Bound to JNDI name: queue/DLQ
2009-10-08 03:00:27,096 main INFO connectionmanager.ConnectionFactoryBindingService - Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
2009-10-08 03:00:27,159 main INFO remote.WrapperDataSourceService - Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MSSQLDS' to JNDI name 'java:MSSQLDS'
2009-10-08 03:00:27,315 main INFO tc5.TomcatDeployer - deploy, ctxPath=/axis, warUrl=.../deploy/axis.war/
2009-10-08 03:00:28,221 main ERROR deployment.MainDeployer - Could not create deployment: file:/E:/Jboss/server/default/deploy/newClp.war/
java.lang.RuntimeException: java.io.IOException: Access is denied
at org.jboss.aop.deployment.JBossClassPoolFactory.create(JBossClassPoolFactory.java:71)
at javassist.scopedpool.ScopedClassPoolRepositoryImpl.createScopedClassPool(ScopedClassPoolRepositoryImpl.java:99)
at javassist.scopedpool.ScopedClassPoolRepositoryImpl.registerClassLoader(ScopedClassPoolRepositoryImpl.java:125)
at javassist.scopedpool.ScopedClassPoolRepositoryImpl.findClassPool(ScopedClassPoolRepositoryImpl.java:106)
at org.jboss.lang.AnnotationHelper.getCtClass(AnnotationHelper.java:111)
at org.jboss.lang.AnnotationHelper.getAnnotationsInternal(AnnotationHelper.java:98)
at org.jboss.lang.AnnotationHelper.getAnnotation(AnnotationHelper.java:76)
at org.jboss.lang.AnnotationHelper.isAnnotationPresent(AnnotationHelper.java:61)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.isWebserviceDeployment(DeployerInterceptorJSE.java:125)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:76)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:74)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy31.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at org.jboss.aop.deployment.JBossClassPoolFactory.createTempDir(JBossClassPoolFactory.java:82)
at org.jboss.aop.deployment.JBossClassPoolFactory.create(JBossClassPoolFactory.java:58)
... 84 more
2009-10-08 03:00:28,237 main ERROR scanner.URLDeploymentScanner - Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@23ed6e38 { url=file:/E:/Jboss/server/default/deploy/newClp.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: java.io.IOException: Access is denied
state: FAILED
watch: file:/E:/Jboss/server/default/deploy/newClp.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1254951028206
lastModified: 1242561147891
mbeans:


2009-10-08 03:00:28,284 main INFO http11.Http11BaseProtocol - Starting Coyote HTTP/1.1 on http-0.0.0.0-80
2009-10-08 03:00:28,331 main INFO common.ChannelSocket - JK: ajp13 listening on /0.0.0.0:8009
2009-10-08 03:00:28,346 main INFO server.JkMain - Jk running ID=0 time=0/31 config=null
2009-10-08 03:00:28,346 main INFO http11.Http11BaseProtocol - Starting Coyote HTTP/1.1 on http-0.0.0.0-443
2009-10-08 03:00:28,362 main INFO server.Server - JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 17s:266ms
2009-10-08 05:00:18,066 main INFO startup.Embedded - Catalina naming disabled
2009-10-08 05:00:18,097 main INFO startup.ClusterRuleSetFactory - Unable to find a cluster rule set in the classpath. Will load the default rule set.
2009-10-08 05:00:18,097 main INFO startup.ClusterRuleSetFactory - Unable to find a cluster rule set in the classpath. Will load the default rule set.
2009-10-08 05:00:18,316 main INFO http11.Http11BaseProtocol - Initializing Coyote HTTP/1.1 on http-0.0.0.0-80
2009-10-08 05:00:19,113 main INFO http11.Http11BaseProtocol - Initializing Coyote HTTP/1.1 on http-0.0.0.0-443
2009-10-08 05:00:19,113 main INFO startup.Catalina - Initialization processed in 1016 ms
2009-10-08 05:00:19,113 main INFO tc5.StandardService - Starting service jboss.web
2009-10-08 05:00:19,113 main INFO core.StandardEngine - Starting Servlet Engine: Apache Tomcat/5.5.20
2009-10-08 05:00:19,144 main INFO core.StandardHost - XML validation disabled
2009-10-08 05:00:19,160 main INFO startup.Catalina - Server startup in 47 ms
2009-10-08 05:00:19,285 main INFO tc5.TomcatDeployer - deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
2009-10-08 05:00:19,644 main INFO loader.WebappLoader - Dual registration of jndi stream handler: factory already defined
2009-10-08 05:00:19,941 main INFO tc5.TomcatDeployer - deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
2009-10-08 05:00:20,597 main INFO server.ServiceEndpointManager - WebServices: jbossws-1.0.3.SP1 (date=200609291417)
2009-10-08 05:00:20,706 main INFO tc5.TomcatDeployer - deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp9354jbossws-context-exp.war/
2009-10-08 05:00:20,894 main INFO tc5.TomcatDeployer - deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
2009-10-08 05:00:22,300 main INFO tc5.TomcatDeployer - deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
2009-10-08 05:00:22,863 main INFO mail.MailService - Mail Service bound to java:/Mail
2009-10-08 05:00:22,972 main INFO deployment.RARDeployment - Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
2009-10-08 05:00:23,003 main INFO deployment.RARDeployment - Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
2009-10-08 05:00:23,035 main INFO deployment.RARDeployment - Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Can you re-deploy a non-Struts app? Like a WAR with just a JSP and a servlet or something?
 
GeeCON Prague 2014
 
subject: while restart the jboss server it give access denined problem