-
1. Re: Error for Run the Name Service for Deploying BLACKTIE
tomjenkinson Sep 8, 2009 3:28 AM (in response to shary)Hi Sharareh,
It looks like you are trying to deploy the minimal configuration of JBoss Transactions and the CORBA naming service. Can I ask, are you following the instructions from:
https://www.jboss.org/community/wiki/DeployingBlacktie
If so, can you tell me are you executing the ns command with the -DOAPort=3258 parameter?
Also, can you post the output from the ns command please?
I would actually recommend deploying the full application server instead (follow the short section entitled "Installing JBoss Application Server 5.1.0.GA" on the same page) as the minimal deployment does not support clustering of your Application Programs.
Tom -
2. Re: Error for Run the Name Service for Deploying BLACKTIE
shary Sep 14, 2009 10:15 AM (in response to shary)Hi Tom,
Yes, I follow the instruction from https://www.jboss.org/community/wiki/DeployingBlacktie.
I should install "jboss-5.1.0.GA-jdk6" or " jboss-5.1.0.GA"?
The message Error is:
Exception in thread "main" java.lang.NoClassDefFoundError: /usr/lib/jvm/ java-6-openjdk
Caused by: java.lang.ClassNotfoundException: .usr.lib.jvm.java-6-openjdk
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: /usr/lib/jvm/ java-6-openjdk. Program will exit.
I edited $JACORB_HOME/bin/jaco with these locations:
: ${JRE_HOME:="/usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre"}
: ${JACORB_HOME:="$BLACKTIE_UTILS_HOME/jacORB/JacORB-2.2.3"}
export JACORB_HOME
: ${JVM_FLAGS:="/usr/lib/jvm/java-6-openjdk"}
: ${JAVA_HOME:="/usr"}
export JAVA_HOME
Thanks in advance -
3. Re: Error for Run the Name Service for Deploying BLACKTIE
tomjenkinson Sep 14, 2009 10:27 AM (in response to shary)Hi Sharareh,
For the moment all our testing is done with JDK 1.5 so I would suggest if possible you should use JDK 1.5 to test BlackTie.
It looks like the error that you have is due to the following line:
: ${JVM_FLAGS:="/usr/lib/jvm/java-6-openjdk"}
Which is being provided as the "main class" to the java executable and is causing your error. I think you need to remove that line and change JAVA_HOME to be /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/
However, if you move to the "Installing JBoss Application Server 5.1.0.GA" instructions you will not have that problem as the application server launches its own naming service.
Tom