I can successfully start the Benchmark, but run into a problem when run the 
driver.

The error message likes this:

hpipvcq:./driver.sh
Apps server is jboss32
JAVA_HOME is /opt/java1.4
JAS_HOME is /opt/iexpress/SPECjAppServer2002
J2EE_HOME is /opt/iexpress/jboss
Driver Host: hpipvcq
Binding controller to //hpipvcq.cup.hp.com/Controller
Controller: Registering O1 on machine 15.13.137.129
O1 started ...
Controller: Registering M1 on machine 15.13.137.129
M1 started ...
Controller: Registering L1 on machine 15.13.137.129
L1 started ...
RunID for this run is : 51
Output directory for this run is : /opt/iexpress/SPECjAppServer2002/output/51

Java classpath is: 
/opt/iexpress/SPECjAppServer2002/jars/driver.jar:/opt/iexpress/jboss/client/jbossall-client.jar;/opt/iexpress/jboss/client/concurrent.jar;/opt/iexpress/jboss/client/log4j.jar;/opt/iexpress/SP
ECjAppServer2002/config;/opt/iexpress/SPECjAppServer2002/classes;/opt/iexpress/SPECjAppServer2002/jars:/opt/iexpress/jboss/server/default/lib
Exception in thread "main" java.rmi.RemoteException: InitialContext failed. 
javax.naming.NoInitialContextException: Cannot instantiate class: 
org.jnp.interfaces.NamingContextFactory [Root exception is java.lang
.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
        at org.spec.jappserver.driver.Auditor.getAuditBeans(Auditor.java:95)
        at 
org.spec.jappserver.driver.Auditor.validateInitialValues(Auditor.java:153)
        at org.spec.jappserver.driver.Driver.configure(Driver.java:278)
        at org.spec.jappserver.driver.Driver.(Driver.java:142)
        at org.spec.jappserver.driver.Driver.main(Driver.java:726)

The problem looks like the program can not find 

org.jnp.interfaces.NamingContextFactory

But I add a line 
      System.out.println("Java classpath is: " + 
System.getProperty("java.class.path"));


in file  
/opt/iexpress/SPECjAppServer2002/src/org/spec/jappserver/driver/Driver.java 

to print out the java classpath and find that "jbossall-client.jar" is in the 
path already. ( you can see the whole classpath in the above output) 

Did I miss something?

Thanks,

Andrew



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863019#3863019

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863019


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to