JBoss 7.1.1 init service + jboss-cli.sh (Not Working) Help !!
alindbillore Jan 25, 2014 7:26 AMHello Everyone,
I am new to JBoss, please help me. I have three problems.
(1)
I had a working JBoss init,d script but my other team mate insatlled JBoss5.1.0 GA on same linux machine.
Since then when i stop the jboss with command "service jboss " i get this message.
[root bin]# service jboss stop Stopping jboss-as: [ OK ] [root bin]# *** JBossAS process (4573) received KILL signal *** grep: /var/run/jboss-as/jboss-as-standalone.pid: No such file or directory
Please help me whats wrong with this script, is this any kind of interference from jboss5 , my team mate also change the name of jboss script from jboss to jboss2, which i have reverted again to jboss.
(2)
I am unable to connect to localhost with "jboss-cli.sh" I get this message.
[root bin]# sh jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect localhost The controller is not available at localhost:9999 [disconnected /] connect localhost The controller is not available at localhost:9999
(3)
I am getting this error message , unable to create log file. In boot.log file
11:25:53,223 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.logging.handler.FILE: org.jboss.msc.service.StartException in service jboss.logging.handler.FILE: java.io.FileNotFoundException: /usr/share/jboss-as/standalone/log/server.log (Permission denied) at org.jboss.as.logging.handlers.file.PeriodicRotatingFileHandlerService.start(PeriodicRotatingFileHandlerService.java:72) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: java.io.FileNotFoundException: /usr/share/jboss-as/standalone/log/server.log (Permission denied) at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_25] at java.io.FileOutputStream.<init>(FileOutputStream.java:212) [rt.jar:1.7.0_25] at org.jboss.logmanager.handlers.FileHandler.setFile(FileHandler.java:152) [jboss-logmanager-1.2.2.GA.jar:1.2.2.GA] at org.jboss.logmanager.handlers.FileHandler.setFileName(FileHandler.java:183) [jboss-logmanager-1.2.2.GA.jar:1.2.2.GA] at org.jboss.as.logging.handlers.file.PeriodicRotatingFileHandlerService.start(PeriodicRotatingFileHandlerService.java:70) ... 5 more
Many thanks in advance...
Best Regards,
Alind Billore