-
1. Re: JBoss6 Not Starting
mp911de Aug 24, 2011 1:11 AM (in response to fernandoaugusto)1 of 1 people found this helpfulHi,
that looks like a misconfiguration of the run.* files or the command line. Can you post your run.conf and command pls?
Best regards,
Mark
-
2. Re: JBoss6 Not Starting
ronsen Aug 24, 2011 7:09 AM (in response to mp911de)In the worst case just use a fresh version...
-
3. Re: JBoss6 Not Starting
fernandoaugusto Aug 24, 2011 8:19 AM (in response to mp911de)run.config is:
## -*- shell-script -*- ######################################################
## ##
## JBoss Bootstrap Script Configuration ##
## ##
##############################################################################
### $Id: run.conf 104349 2010-04-29 21:58:52Z bstansberry@jboss.com $
#
# This file is optional; it may be removed if not needed.
#
#
# Specify the maximum file descriptor limit, use "max" or "maximum" to use
# the default, as queried by the system.
#
# Defaults to "maximum"
#
#MAX_FD="maximum"
#
# Specify the profiler configuration file to load.
#
# Default is to not load profiler configuration file.
#
#PROFILER=""
#
# Specify the location of the Java home directory. If set then $JAVA will
# be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
#
#JAVA_HOME="/opt/java/jdk"
#
# Specify the exact Java VM executable to use.
#
#JAVA=""
#
# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
fi
# Sample JPDA settings for remote socket debuging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
# Sample JPDA settings for shared memory debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
I have not changed any files in jboss...
So?
-
4. Re: JBoss6 Not Starting
fernandoaugusto Aug 24, 2011 8:19 AM (in response to ronsen)You mean JBoss7?
-
5. Re: JBoss6 Not Starting
jaikiran Aug 24, 2011 8:30 AM (in response to fernandoaugusto)1 of 1 people found this helpfulI think Ron meant a new copy of the current version you are using. By the way, is that the entire exception stacktrace? Post the complete logs including the echo statements that you see on the console when you start the server.
-
6. Re: JBoss6 Not Starting
ronsen Aug 24, 2011 8:39 AM (in response to jaikiran)jaikiran pai schrieb:
I think Ron meant a new copy of the current version you are using. By the way, is that the entire exception stacktrace? Post the complete logs including the echo statements that you see on the console when you start the server.
Exactly, I thinksthats the easiest way to get a running version as well as to exclude factors regarding a "miss configuration" especially in this case in which you said you haven't changed any of the bat files.
Did you change any other configuration files so far? And as Jaikiran mentioned, if you didnt, please add the entire stacktrace and logs.
-
7. Re: JBoss6 Not Starting
fernandoaugusto Aug 24, 2011 8:56 AM (in response to ronsen)Here are the complete log:
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/fernando/Arquivos de Programas/jboss-6.1.0.Final
JAVA: java
JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Dlogging.configuration=file:./logging.properties -Djava.library.path=/home/fernando/Arquivos de Programas/jboss-6.1.0.Final/bin/native/lib64
CLASSPATH: /home/fernando/Arquivos de Programas/jboss-6.1.0.Final/bin/run.jar
=========================================================================
Exception in thread "main" java.lang.NoClassDefFoundError: de
Caused by: java.lang.ClassNotFoundException: de
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: de. Program will exit.
fernando@fernando-Linux:~/Arquivos de Programas/jboss-6.1.0.Final/bin$
I think I've downloaded the latest version of the Jboss6-final...
Thanks so far
-
8. Re: JBoss6 Not Starting
jaikiran Aug 24, 2011 10:16 AM (in response to fernandoaugusto)/home/fernando/Arquivos de Programas/jboss-6.1.0.Final
Don't install JBoss (or Java) in a folder containing space in its path. Move it to some other location which doesn't have a space in its path. for example: /home/fernando/jboss-6.1.0.Final
-
-
10. Re: JBoss6 Not Starting
muraali Aug 14, 2012 5:43 AM (in response to fernandoaugusto)Is there any work around or a fix for this issue? There is a workflow where we need to install our application along with JBOSS under "C:\Program Files\<our app>"?
Regards
-murali