-
1. Re: [Beta-Build] Server doesnt start
jaikiran Nov 24, 2011 9:15 AM (in response to lostiniceland)lostiniceland wrote:
Hi
I downloaded the new Beta from github and built the server with Maven (while skipping the tests).
Beta? Or CR1 snapshot? What repo and URL did you get it from?
lostiniceland wrote:
I am trying to start the standalone server, and I get the error in Eclipse and using the Script. Is anyone having the same issues or able to help me out here? Thanks
What command do you use to start the server? Can you post the entire console log?
-
2. Re: [Beta-Build] Server doesnt start
lostiniceland Nov 25, 2011 2:32 PM (in response to jaikiran)Sorry for the late response,
I downloaded this zipfile https://github.com/jbossas/jboss-as/zipball/7.1.0.Beta1 which is found under tags in the github-repo.
When running the script, I am getting a strange errormessage.
{code}
C:\JBoss AS\jboss-as-7.1.0.Beta1\bin>standalone.bat
Calling "C:\JBoss AS\jboss-as-7.1.0.Beta1\bin\standalone.conf.bat"
Could not locate "J:\JBoss\jboss-5.1.0.GA\jboss-modules.jar".
Please check that you are in the bin directory when running this script.
Press any key to continue . . .{code}
I have no idea where this drive J is coming from and neither do I have any JBoss 5 installation on this machine (never had before).
The consolelog from eclipse, using the Jboss Server Adapter, is the one in my original post.
-
3. Re: [Beta-Build] Server doesnt start
jaikiran Nov 25, 2011 9:24 PM (in response to lostiniceland)Post the output of
echo %JBOSS_HOME%
Maybe someone has set that value as an environment variable (which is never recommended).
-
4. Re: [Beta-Build] Server doesnt start
lostiniceland Nov 26, 2011 6:37 AM (in response to jaikiran)jaikiran pai schrieb:
Post the output of
echo %JBOSS_HOME%
Maybe someone has set that value as an environment variable (which is never recommended).
That did indeed solve the console problem. Thanks for your help.
But still I get the logmanager error. This is the complete log
{code}
C:\JBoss AS\jboss-as-7.1.0.Beta1\bin>standalone.bat
Calling "C:\JBoss AS\jboss-as-7.1.0.Beta1\bin\standalone.conf.bat"
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\JBoss AS\jboss-as-7.1.0.Beta1
JAVA: C:\Program Files\Java\jdk1.6.0_29\bin\java
JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -server
===============================================================================
WARNING: No log manager service descriptor found in specified logmodule org.jboss.logmanager:main
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:90)
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.modules.Module.run(Module.java:243)
at org.jboss.modules.Main.main(Main.java:313)
Caused by: java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at org.jboss.logmanager.log4j.BridgeRepositorySelector.<clinit>(BridgeRepositorySelector.java:42)
... 7 more
Press any key to continue . . .
{code}
As I mentioned before when I set -Djava.util.logging.manager=org.jboss.logmanager.LogManager I get a ClassNotFoundException.
-
5. Re: [Beta-Build] Server doesnt start
lostiniceland Nov 27, 2011 3:36 PM (in response to lostiniceland)It looks like I have to put the jboss-logmanager.jar into the bootclasspath. How do I do this? I tried putting the file from jboss-as-7.1.0.Beta1\modules\org\jboss\logmanager\main into jboss-as-7.1.0.Beta1\standalone\lib but it didnt work.
-
6. Re: [Beta-Build] Server doesnt start
wkraemer58 Dec 1, 2011 4:13 AM (in response to lostiniceland)I've got a notion to have the same problem. To solve the problem I try some variants to declare LogManager and the path to find jboss-logmanager.jar. But I get no success. Later I get a tip from friends that there are problems with blanks in folder names. In a new try I use an folder for jboss without blanks. And now it's run. I see you use the folder '
C:\JBoss AS\jbo...'
. May be, it's the some cast. -
7. Re: [Beta-Build] Server doesnt start
lostiniceland Dec 5, 2011 9:49 AM (in response to wkraemer58)wkraemer58 schrieb:
I've got a notion to have the same problem. To solve the problem I try some variants to declare LogManager and the path to find jboss-logmanager.jar. But I get no success. Later I get a tip from friends that there are problems with blanks in folder names. In a new try I use an folder for jboss without blanks. And now it's run. I see you use the folder '
C:\JBoss AS\jbo...'
. May be, it's the some cast.I was about to write that the problem is solved by moving to Linux. But out of curiousity I tried renaming the folder and voila...it works. Thanks a lot (because I have to run Windows on my Business Laptop).
-
8. Re: [Beta-Build] Server doesnt start
samyomar82 Dec 30, 2011 4:35 PM (in response to lostiniceland)thanks this helped me too