- This topic has 7 replies, 4 voices, and was last updated 19 years, 9 months ago by Sylvain Bonnemaison.
-
AuthorPosts
-
ChampionMemberhi,
so here we are with jboss
I have instal jboss 4.0.1 J use VM 1.5 . I can start it outside eclipse but when I start it inside eclipse. I got this error:
The point is the file is not where it is waiting but into “server/all/conf”09:14:34,540 INFO [Server] Starting JBoss (MX MicroKernel)... 09:14:34,540 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944) 09:14:34,540 INFO [Server] Home Dir: F:\jboss-4.0.1 09:14:34,550 INFO [Server] Home URL: file:/F:/jboss-4.0.1/ 09:14:34,550 INFO [Server] Library URL: file:/F:/jboss-4.0.1/lib/ 09:14:34,550 INFO [Server] Patch URL: null 09:14:34,550 INFO [Server] Server Name: jboss 09:14:34,550 INFO [Server] Server Home Dir: F:\jboss-4.0.1\server\jboss 09:14:34,550 INFO [Server] Server Home URL: file:/F:/jboss-4.0.1/server/jboss/ 09:14:34,560 INFO [Server] Server Data Dir: F:\jboss-4.0.1\server\jboss\data 09:14:34,560 INFO [Server] Server Temp Dir: F:\jboss-4.0.1\server\jboss\tmp 09:14:34,570 INFO [Server] Server Config URL: file:/F:/jboss-4.0.1/server/jboss/conf/ 09:14:34,570 INFO [Server] Server Library URL: file:/F:/jboss-4.0.1/server/jboss/lib/ 09:14:34,590 INFO [Server] Root Deployment Filename: jboss-service.xml 09:14:34,600 INFO [Server] Starting General Purpose Architecture (GPA)... 09:14:35,191 INFO [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc. 09:14:35,191 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-b64,Sun Microsystems Inc. 09:14:35,191 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 09:14:35,682 INFO [Server] Core system initialized Failed to boot JBoss: org.jboss.deployment.DeploymentException: url file:/F:/jboss-4.0.1/server/jboss/conf/jboss-service.xml could not be opened, does it exist? at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:175) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
Riyad KallaMemberI just downloaded JBoss 4.0.1 and unzipped it, then I configured it in MyEclipse like so:
Home Dir: C:\Java\jboss-4.0.1
Server Name: default
Op Prog Args: <empty>
Op Shut Args: –shutdownThen I fired it up and got:
07:41:37,344 INFO [Server] Starting JBoss (MX MicroKernel)…
07:41:37,344 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)
07:41:37,344 INFO [Server] Home Dir: C:\Java\jboss-4.0.1
07:41:37,344 INFO [Server] Home URL: file:/C:/Java/jboss-4.0.1/
07:41:37,344 INFO [Server] Library URL: file:/C:/Java/jboss-4.0.1/lib/
07:41:37,344 INFO [Server] Patch URL: null
07:41:37,344 INFO [Server] Server Name: default
07:41:37,344 INFO [Server] Server Home Dir: C:\Java\jboss-4.0.1\server\default
07:41:37,344 INFO [Server] Server Home URL: file:/C:/Java/jboss-4.0.1/server/default/
07:41:37,344 INFO [Server] Server Data Dir: C:\Java\jboss-4.0.1\server\default\data
07:41:37,359 INFO [Server] Server Temp Dir: C:\Java\jboss-4.0.1\server\default\tmp
07:41:37,359 INFO [Server] Server Config URL: file:/C:/Java/jboss-4.0.1/server/default/conf/
07:41:37,359 INFO [Server] Server Library URL: file:/C:/Java/jboss-4.0.1/server/default/lib/
07:41:37,359 INFO [Server] Root Deployment Filename: jboss-service.xml
07:41:37,359 INFO [Server] Starting General Purpose Architecture (GPA)…
07:41:37,781 INFO [ServerInfo] Java version: 1.4.2_06,Sun Microsystems Inc.
07:41:37,781 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_06-b03,Sun Microsystems Inc.
07:41:37,781 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
07:41:38,265 INFO [Server] Core system initialized
07:41:40,156 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
07:41:40,281 INFO [WebService] Using RMI server codebase: http://esl-rsk:8083/
07:41:40,562 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
07:41:45,281 INFO [Embedded] Catalina naming disabled
07:41:46,140 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
07:41:46,203 INFO [Catalina] Initialization processed in 813 ms
07:41:46,203 INFO [StandardService] Starting service jboss.web
07:41:46,219 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
07:41:46,250 INFO [StandardHost] XML validation disabled
07:41:46,297 INFO [Catalina] Server startup in 94 ms
07:41:46,484 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/Java/jboss-4.0.1/server/default/deploy/http-invoker.sar/invoker.war/
07:41:47,719 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/Java/jboss-4.0.1/server/default/tmp/deploy/tmp53176jboss-ws4ee-exp.war/
07:41:47,953 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/Java/jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
07:41:48,437 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/Java/jboss-4.0.1/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
07:41:51,469 INFO [MailService] Mail Service bound to java:/Mail
07:41:52,047 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Java/jboss-4.0.1/server/default/deploy/jboss-local-jdbc.rar
07:41:52,234 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Java/jboss-4.0.1/server/default/deploy/jboss-xa-jdbc.rar
07:41:52,422 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Java/jboss-4.0.1/server/default/deploy/jms/jms-ra.rar
07:41:52,828 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Java/jboss-4.0.1/server/default/deploy/mail-ra.rar
07:41:53,906 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager ‘jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name ‘java:DefaultDS’
07:41:53,984 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no configured password!
07:41:54,719 INFO [A] Bound to JNDI name: queue/A
07:41:54,719 INFO [B] Bound to JNDI name: queue/B
07:41:54,719 INFO [C] Bound to JNDI name: queue/C
07:41:54,734 INFO [D] Bound to JNDI name: queue/D
07:41:54,734 INFO [ex] Bound to JNDI name: queue/ex
07:41:54,797 INFO [testTopic] Bound to JNDI name: topic/testTopic
07:41:54,797 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
07:41:54,797 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
07:41:54,797 INFO [testQueue] Bound to JNDI name: queue/testQueue
07:41:54,890 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
07:41:54,984 INFO [DLQ] Bound to JNDI name: queue/DLQ
07:41:55,312 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager ‘jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name ‘java:JmsXA’
07:41:55,359 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/Java/jboss-4.0.1/server/default/deploy/jmx-console.war/
07:41:55,625 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/Java/jboss-4.0.1/server/default/deploy/management/web-console.war/
07:41:56,781 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
07:41:57,094 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
07:41:57,094 INFO [JkMain] Jk running ID=0 time=0/32 config=null
07:41:57,140 INFO [Server] JBoss (MX MicroKernel) [4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)] Started in 19s:313msSo I’m thinking there is something going on with your setup… can you try and start a search in the root JBoss directory and look for the String “/server/jboss/conf/” within files? I don’t have that directory either, but my setup isn’t look for it, so I wonder why your’s is.
I’m also running JDK 1.4.2_06, not 1.5.
jpwinansMemberHello,
I am having this problem as well. When I try to start JBoss, I get the same warning, and the debugger pauses on the following stack:
Thread [main] (Suspended (exception ArrayIndexOutOfBoundsException)) DTMManagerDefault.getDTM(int) line: 628 XPathContext.getDTM(int) line: 141 ChildTestIterator(LocPathIterator).getDTM(int) line: 178 ChildTestIterator(LocPathIterator).executeCharsToContentHandler(XPathContext, ContentHandler) line: 241 ElemValueOf.execute(TransformerImpl) line: 273 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemLiteralResult.execute(TransformerImpl) line: 682 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemLiteralResult.execute(TransformerImpl) line: 682 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemLiteralResult.execute(TransformerImpl) line: 682 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemTemplate.execute(TransformerImpl) line: 393 ElemCallTemplate.execute(TransformerImpl) line: 247 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemChoose.execute(TransformerImpl) line: 127 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemLiteralResult.execute(TransformerImpl) line: 682 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemLiteralResult.execute(TransformerImpl) line: 682 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemTemplate.execute(TransformerImpl) line: 393 ElemCallTemplate.execute(TransformerImpl) line: 247 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemLiteralResult.execute(TransformerImpl) line: 682 ElemApplyTemplates.transformSelectedNodes(TransformerImpl) line: 395 ElemApplyTemplates.execute(TransformerImpl) line: 177 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 ElemLiteralResult.execute(TransformerImpl) line: 682 ElemApplyTemplates.transformSelectedNodes(TransformerImpl) line: 395 ElemApplyTemplates.execute(TransformerImpl) line: 177 TransformerImpl.executeChildTemplates(ElemTemplateElement, boolean) line: 2336 TransformerImpl.applyTemplateToNode(ElemTemplateElement, ElemTemplate, int) line: 2202 TransformerImpl.transformNode(int) line: 1276 TransformerImpl.transform(Source, boolean) line: 673 TransformerImpl.transform(Source, Result, boolean) line: 1192 TransformerImpl.transform(Source, Result) line: 1170 XSLSubDeployer.init(DeploymentInfo) line: 202 MainDeployer.init(DeploymentInfo) line: 828 MainDeployer.deploy(DeploymentInfo) line: 765 MainDeployer.deploy(URL) line: 738 GeneratedMethodAccessor47.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.invoke(Invocation) line: 144 Invocation.dispatch() line: 80 NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 122 Invocation.invoke() line: 74 ModelMBeanOperationInterceptor.invoke(Invocation) line: 131 Invocation.invoke() line: 74 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 249 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 642 MBeanProxyExt.invoke(Object, Method, Object[]) line: 177 $Proxy8.deploy(URL) line: not available URLDeploymentScanner.deploy(URLDeploymentScanner$DeployedURL) line: 305 URLDeploymentScanner.scan() line: 481 AbstractDeploymentScanner$ScannerThread.doScan() line: 204 URLDeploymentScanner(AbstractDeploymentScanner).startService() line: 277 URLDeploymentScanner(ServiceMBeanSupport).jbossInternalStart() line: 272 URLDeploymentScanner(ServiceMBeanSupport).jbossInternalLifecycle(String) line: 222 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.invoke(Invocation) line: 144 Invocation.dispatch() line: 80 Invocation.invoke() line: 72 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 249 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 642 ServiceController$ServiceProxy.invoke(Object, Method, Object[]) line: 891 $Proxy0.start() line: not available ServiceController.start(ObjectName) line: 416 GeneratedMethodAccessor9.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.invoke(Invocation) line: 144 Invocation.dispatch() line: 80 Invocation.invoke() line: 72 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 249 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 642 MBeanProxyExt.invoke(Object, Method, Object[]) line: 177 $Proxy4.start(ObjectName) line: not available SARDeployer.start(DeploymentInfo) line: 261 MainDeployer.start(DeploymentInfo) line: 964 MainDeployer.deploy(DeploymentInfo) line: 775 MainDeployer.deploy(URL) line: 738 MainDeployer.deploy(String) line: 722 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.invoke(Invocation) line: 144 Invocation.dispatch() line: 80 NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 122 Invocation.invoke() line: 74 ModelMBeanOperationInterceptor.invoke(Invocation) line: 131 Invocation.invoke() line: 74 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 249 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 642 MBeanProxyExt.invoke(Object, Method, Object[]) line: 177 $Proxy5.deploy(String) line: not available ServerImpl.doStart() line: 413 ServerImpl.start() line: 310 Main.boot(String[]) line: 162 Main$1.run() line: 423 Thread.run() line: 534
Did you ever find a solution?
Thanks,
James
Riyad KallaMemberJames,
Does JBoss run from the console when you run it standalone? What exactly are your settings for the JBoss connector? And what version of JBOss?
Sylvain BonnemaisonMemberI have the same problem when launching jboss 3.2.6 from eclipse. I guess the problem is due to a file security properties in JBoss server directories.
How can I specify JAVA_OPTS in MyEclipse?
How can I specify JBoss user account in MyEclipse?
Or what must be checked on my system?
Sylvain BonnemaisonMemberHere is the log generated in Eclipse
log4j:ERROR setFile(null,false) call failed. java.io.FileNotFoundException: /opt/jboss-3.2.6/server/default/log/boot.log (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at org.apache.log4j.FileAppender.setFile(FileAppender.java:272) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) at org.apache.log4j.LogManager.<clinit>(LogManager.java:113) at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63) at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320) at org.jboss.logging.Logger.<init>(Logger.java:78) at org.jboss.logging.Logger.getLogger(Logger.java:291) at javax.management.NotificationBroadcasterSupport.<clinit>(NotificationBroadcasterSupport.java:24) at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:142) at org.jboss.system.server.ServerImpl.init(ServerImpl.java:127) at org.jboss.Main.boot(Main.java:140) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Thread.java:534) 17:12:24,713 INFO [Server] Starting JBoss (MX MicroKernel)... 17:12:24,715 INFO [Server] Release ID: JBoss [WonderLand] 3.2.6 (build: CVSTag=JBoss_3_2_6 date=200502250820) 17:12:24,715 INFO [Server] Home Dir: /opt/jboss-3.2.6 17:12:24,716 INFO [Server] Home URL: file:/opt/jboss-3.2.6/ 17:12:24,716 INFO [Server] Library URL: file:/opt/jboss-3.2.6/lib/ 17:12:24,718 INFO [Server] Patch URL: null 17:12:24,719 INFO [Server] Server Name: default 17:12:24,719 INFO [Server] Server Home Dir: /opt/jboss-3.2.6/server/default 17:12:24,719 INFO [Server] Server Home URL: file:/var/lib/jboss/default/ 17:12:24,719 INFO [Server] Server Data Dir: /var/cache/jboss 17:12:24,720 INFO [Server] Server Temp Dir: /var/tmp/jboss 17:12:24,720 INFO [Server] Server Config URL: file:/var/lib/jboss/default/conf/ 17:12:24,720 INFO [Server] Server Library URL: file:/var/lib/jboss/default/lib/ 17:12:24,720 INFO [Server] Root Deployment Filename: jboss-service.xml 17:12:24,729 INFO [Server] Starting General Purpose Architecture (GPA)... 17:12:25,453 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc. 17:12:25,453 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_07-b05,Sun Microsystems Inc. 17:12:25,453 INFO [ServerInfo] OS-System: Linux 2.6.8.1-12mdk,i386 17:12:25,950 INFO [Server] Core system initialized 17:12:25,981 ERROR [MainDeployer] Could not make local copy for file:/var/lib/jboss/default/conf/jboss-service.xml java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1314) at java.io.File.createTempFile(File.java:1402) at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:990) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:673) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:145) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Thread.java:534) 17:12:26,837 ERROR [MainDeployer] Could not initialise deployment: file:/var/lib/jboss/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:522) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:145) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Thread.java:534) Failed to boot JBoss: org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:522) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:145) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Thread.java:534) 17:12:26,890 INFO [Server] JBoss SHUTDOWN: Undeploying all packages Shutting down Shutdown complete Halting VM
Riyad KallaMemberHow can I specify JAVA_OPTS in MyEclipse?
If you look at the JDK settings under the JBOss connector, you can pass optional arguments.
How can I specify JBoss user account in MyEclipse?
You can’t, it is run as the same user that you ran MyEclipse under. You will need to either open up the permissions or use a local install of JBoss under your /home account. Developing against a system-wide install of an app server isn’t the best idea (for exactly these reasons).
Sylvain BonnemaisonMemberI have soldev my problem by updating connector JDK settings as you advise, and I have update files and directories security settings in order to read/write files in JBoss server location.
Thanks. -
AuthorPosts