Ahmet Ekrem SABAN
asked on
Problems while trying to start JBoss 7.1 server
Hello!
I am in a Java EE project, where we use eclipse as our IDE. I was waiting at our customer for an account to access the notebook they gave me, but that took several months. In the meantime, I used the account of another colleague in the project. All the software etc. was installed under that account. The notebook was assigned to the other colleague, where he had administrative rights. I could run the JBoss 7.1 server and then start the client, where my GUI dialogues are.
Now, at last, I received my account, but I run into problems when starting the JBoss 7.1. First, I thought that my problems arise of the fact that the new account is not an administrator on this notebook. Although I got the administrative rights today, the problem with the JBoss server persists. The message is receive is
Can you help me?
Thank you very much in advance!
Notice: I couldn't find a topic for the IDE eclipse, so I selected "Misc Software".
JBoss-7.1-problem.png
I am in a Java EE project, where we use eclipse as our IDE. I was waiting at our customer for an account to access the notebook they gave me, but that took several months. In the meantime, I used the account of another colleague in the project. All the software etc. was installed under that account. The notebook was assigned to the other colleague, where he had administrative rights. I could run the JBoss 7.1 server and then start the client, where my GUI dialogues are.
Now, at last, I received my account, but I run into problems when starting the JBoss 7.1. First, I thought that my problems arise of the fact that the new account is not an administrator on this notebook. Although I got the administrative rights today, the problem with the JBoss server persists. The message is receive is
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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:285)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:283)
at java.util.logging.LogManager.getLogManager(LogManager.java:266)
at java.util.logging.Logger.<init>(Logger.java:252)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1138)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1135)
at java.util.logging.LogManager$1.run(LogManager.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:175)
at org.jboss.modules.Main.main(Main.java:275)
Caused by: java.io.FileNotFoundException: C:\Program Files\Eclipse-Juno-x64\servers\jboss-as-7.1.1.Final\standalone\log\boot.log (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
at org.jboss.logmanager.handlers.FileHandler.setFile(FileHandler.java:152)
at org.jboss.logmanager.handlers.FileHandler.setFileName(FileHandler.java:183)
... 21 more
10:40:50,371 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
10:40:51,462 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:40:51,504 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
10:40:52,096 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.deployment-mount-provider: org.jboss.msc.service.StartException in service jboss.deployment-mount-provider: JBAS015843: Failed to create temp file provider
at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.start(DeploymentMountProvider.java:111) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
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:1110) [rt.jar:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
Can you help me?
Thank you very much in advance!
Notice: I couldn't find a topic for the IDE eclipse, so I selected "Misc Software".
JBoss-7.1-problem.png
ASKER
Thank you for your reply.
I am against installing all the stuff into root, as it was/is the case under UNIX or Linux. An application that is supposed to run under Windows should work when installed under the Program Files.
(By the way: do you know in Experts Exchange any topic for IDEs? I couldn't find a topic for them. Even better would be the topic "eclipse", but that of course does also not exist.)
Actually, we do not have any problems with the JBoss 7.1 installation, as it already run on this DELL notebook under Windows 7. But with my account I got last week, I cannot run it without the above errors... So, I think that the problem arises because of the new account. But I have no idea what to do.
I am against installing all the stuff into root, as it was/is the case under UNIX or Linux. An application that is supposed to run under Windows should work when installed under the Program Files.
(By the way: do you know in Experts Exchange any topic for IDEs? I couldn't find a topic for them. Even better would be the topic "eclipse", but that of course does also not exist.)
Actually, we do not have any problems with the JBoss 7.1 installation, as it already run on this DELL notebook under Windows 7. But with my account I got last week, I cannot run it without the above errors... So, I think that the problem arises because of the new account. But I have no idea what to do.
you should add admin privileges to your account then, so you can write in the program files directory. in order to avoid such issues, just install it on any other folder. I personally always create programs directory on my windows machines and doinstallations there
ASKER
I changed the privileges of my account from "Adminstrators" to "ora_db; Adminstrators" by selecting this Oracle DB Administrator role from the "groups" (see the images). But still, I get the same error ("Access is denied") for the log file.
I have to prepare some dialogues first. Then, I will continue with this issue. This may take several days.
User-Account-properties-old.png
Selecting-the-group.png
User-Account-properties.png
I have to prepare some dialogues first. Then, I will continue with this issue. This may take several days.
User-Account-properties-old.png
Selecting-the-group.png
User-Account-properties.png
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Yes, we moved these files in another root directory and changed the access rights so that the files belong me.
Thank you for your help!
Thank you for your help!
I would suggest install jboss at root of your drive, eg. C:\JBOSS7.1.1