Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unable to set property fileName on class org.jboss.logmanager.handlers.FileHandler: java.lang.reflect.InvocationTargetException
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:597)
at org.jboss.logmanager.PropertyConfigurator.configureProperties(PropertyConfigurator.java:187)
at org.jboss.logmanager.PropertyConfigurator.configureHandler(PropertyConfigurator.java:312)
at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:128)
at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:86)
at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:246)
at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:231)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:220)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:989)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:986)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at org.jboss.modules.Main.main(Main.java:271)
Caused by: java.io.FileNotFoundException: /usr/share/jboss-as-7.1.0.Beta1b/standalone/log/boot.log (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at org.jboss.logmanager.handlers.FileHandler.setFile(FileHandler.java:152)
at org.jboss.logmanager.handlers.FileHandler.setFileName(FileHandler.java:183)
... 21 more
19:24:29,845 INFO [org.jboss.modules] JBoss Modules version 1.1.0.CR4
19:24:30,234 INFO [org.jboss.msc] JBoss MSC version 1.0.1.GA
19:24:30,346 INFO [org.jboss.as] JBoss AS 7.1.0.Beta1b "Tesla" starting
19:24:30,356 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.as: org.jboss.msc.service.StartException in service jboss.as: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_13]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_13]
Caused by: java.lang.IllegalStateException: JBAS014922: Directory /usr/share/jboss-as-7.1.0.Beta1b/standalone/data/content is not writable
at org.jboss.as.server.deployment.repository.impl.ContentRepositoryImpl.<init>(ContentRepositoryImpl.ja va:74)
at org.jboss.as.server.deployment.repository.impl.ContentRepositoryImpl.addService(ContentRepositoryImp l.java:61)
at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:124) [jboss-as-server-7.1.0.Beta1b.jar:]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:]
... 3 more
19:24:30,367 ERROR [stderr] java.util.concurrent.ExecutionException: Operation failed
19:24:30,367 ERROR [stderr] at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
19:24:30,367 ERROR [stderr] at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
19:24:30,368 ERROR [stderr] at org.jboss.as.server.Main.main(Main.java:117)
19:24:30,368 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:24:30,368 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
19:24:30,368 ERROR [stderr] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
19:24:30,368 ERROR [stderr] at java.lang.reflect.Method.invoke(Method.java:597)
19:24:30,369 ERROR [stderr] at org.jboss.modules.Module.run(Module.java:243)
19:24:30,369 ERROR [stderr] at org.jboss.modules.Main.main(Main.java:313)
19:24:30,369 ERROR [stderr] Caused by: org.jboss.msc.service.StartException in service jboss.as: Failed to start service
19:24:30,369 ERROR [stderr] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
19:24:30,369 ERROR [stderr] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
19:24:30,369 ERROR [stderr] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
19:24:30,370 ERROR [stderr] at java.lang.Thread.run(Thread.java:619)
19:24:30,370 ERROR [stderr] Caused by: java.lang.IllegalStateException: JBAS014922: Directory /usr/share/jboss-as-7.1.0.Beta1b/standalone/data/content is not writable
19:24:30,370 ERROR [stderr] at org.jboss.as.server.deployment.repository.impl.ContentRepositoryImpl.<init>(ContentRepositoryImpl.ja va:74)
19:24:30,370 ERROR [stderr] at org.jboss.as.server.deployment.repository.impl.ContentRepositoryImpl.addService(ContentRepositoryImp l.java:61)
19:24:30,370 ERROR [stderr] at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:124)
19:24:30,371 ERROR [stderr] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
19:24:30,375 ERROR [stderr] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
19:24:30,375 ERROR [stderr] ... 3 more
Thor, thank you, am new to JBoss I followed the instructions given,when I tried ./standalone.sh the error shown above pope.At first it worked, there is nothing wrong but after restarting my machine it poped.
I think when he said "restarting my machine it poped", means that after restarting the machine he started to see the error messages. (like popup in past tense, poped-up...).
Hmm, okay...so, on to the problem at hand, then...big tnx scorpioz22
Okay, mikelesa, let's retrace the steps, shall we? What did you install before restarting the box? Did you do an update? That would be a reason to restart (kernel updated for one)...
Last edited by ButterflyMelissa; 01-02-2012 at 03:39 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.