当前位置: 技术问答>java相关
运行 EJB 容器出错, 这是为什么? 请大家帮忙看看。
来源: 互联网 发布时间:2015-01-03
本文导语: D:JBuilder4jdk1.3binjavaw -classpath "D:InpriseAppServerlibnavigator.jar;D:InpriseAppServerlibvbdev.jar;D:InpriseAppServerlibvbejb.jar;D:InpriseAppServerlibvbjdev.jar;D:InpriseAppServerlibvbjorb.jar;E:projectquickstartclasses;D:InpriseAppServerlibias.jar;D:InpriseAppServerlibjmclien...
D:JBuilder4jdk1.3binjavaw -classpath "D:InpriseAppServerlibnavigator.jar;D:InpriseAppServerlibvbdev.jar;D:InpriseAppServerlibvbejb.jar;D:InpriseAppServerlibvbjdev.jar;D:InpriseAppServerlibvbjorb.jar;E:projectquickstartclasses;D:InpriseAppServerlibias.jar;D:InpriseAppServerlibjmclient.jar;D:InpriseAppServerlibjmserver.jar;D:InpriseAppServerlibmigration.jar;D:InpriseAppServerlibservlet.jar;D:InpriseAppServerlibpjbean.jar;D:JBuilder4jdk1.3demojfcJava2DJava2Demo.jar;D:JBuilder4jdk1.3jrelibi18n.jar;D:JBuilder4jdk1.3jrelibjaws.jar;D:JBuilder4jdk1.3jrelibrt.jar;D:JBuilder4jdk1.3jrelibsunrsasign.jar;D:JBuilder4jdk1.3libdt.jar;D:JBuilder4jdk1.3libtools.jar" com.inprise.ejb.Container ejbcontainer "E:projectquickstartquickstart.jar" -jts -jns -jss -jdb
Inprise EJB Container
=====================
server version : 4.1.1
server build date : Aug 18, 2000
java version : 1.3.0
java vendor : Sun Microsystems Inc.
heap size : 1984 Kb
java class path : D:InpriseAppServerlibnavigator.jar
: D:InpriseAppServerlibvbdev.jar
: D:InpriseAppServerlibvbejb.jar
: D:InpriseAppServerlibvbjdev.jar
: D:InpriseAppServerlibvbjorb.jar
: E:projectquickstartclasses
: D:InpriseAppServerlibias.jar
: D:InpriseAppServerlibjmclient.jar
: D:InpriseAppServerlibjmserver.jar
: D:InpriseAppServerlibmigration.jar
: D:InpriseAppServerlibservlet.jar
: D:InpriseAppServerlibpjbean.jar
: D:JBuilder4jdk1.3demojfcJava2DJava2Demo.jar
: D:JBuilder4jdk1.3jrelibi18n.jar
: D:JBuilder4jdk1.3jrelibjaws.jar
: D:JBuilder4jdk1.3jrelibrt.jar
: D:JBuilder4jdk1.3jrelibsunrsasign.jar
: D:JBuilder4jdk1.3libdt.jar
: D:JBuilder4jdk1.3libtools.jar
=====================
Initializing ORB...... done
Initializing JNS..... done
Initializing JTS... done
Initializing JSS...Developer's License (no connection limit)
Copyright (c) 1996-2000 Inprise Corporation. All rights reserved.
License for JDataStore development only - not for redistribution
Registered to:
Inprise Application Server Development Licensee
Inprise Application Server Customer
......... done
Initializing JDB............ done
Initializing EJBs....java.lang.ClassNotFoundException: quickstart.TellerHelper
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.findSystemClass(ClassLoader.java:620)
at com.inprise.ejb.util.ClassLoaderDriver$LocalClassLoader.loadClass(ClassLoaderDriver.java:472)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253).
at com.inprise.ejb.Global.loadClass(Global.java:116)
at com.inprise.ejb.EJBHome.(EJBHome.java:75)
at com.inprise.ejb.StatelessSessionHome.(StatelessSessionHome.java:14)
at com.inprise.ejb.Container.load(Container.java:854)
at com.inprise.ejb.Container.run(Container.java:597)
at com.inprise.ejb.Container.run(Container.java:1241)
at com.inprise.ejb.Container.main(Container.java:1246)
>>>> EJB LOG >>>>
Could not deploy ejb-jar E:projectquickstartquickstart.jar
java.lang.Error: Invalid helper class: quickstart.TellerHelper
. at com.inprise.ejb.EJBHome.(EJBHome.java:82)
at com.inprise.ejb.StatelessSessionHome.(StatelessSessionHome.java:14)
at com.inprise.ejb.Container.load(Container.java:854)
at com.inprise.ejb.Container.run(Container.java:597)
at com.inprise.ejb.Container.run(Container.java:1241)Undoing effects of a partial deployment ...
Jar name = E:projectquickstartquickstart.jar
The home name is : TellerHome
. done
Container [ejbcontainer] is ready
at com.inprise.ejb.Container.main(Container.java:1246)
Inprise EJB Container
=====================
server version : 4.1.1
server build date : Aug 18, 2000
java version : 1.3.0
java vendor : Sun Microsystems Inc.
heap size : 1984 Kb
java class path : D:InpriseAppServerlibnavigator.jar
: D:InpriseAppServerlibvbdev.jar
: D:InpriseAppServerlibvbejb.jar
: D:InpriseAppServerlibvbjdev.jar
: D:InpriseAppServerlibvbjorb.jar
: E:projectquickstartclasses
: D:InpriseAppServerlibias.jar
: D:InpriseAppServerlibjmclient.jar
: D:InpriseAppServerlibjmserver.jar
: D:InpriseAppServerlibmigration.jar
: D:InpriseAppServerlibservlet.jar
: D:InpriseAppServerlibpjbean.jar
: D:JBuilder4jdk1.3demojfcJava2DJava2Demo.jar
: D:JBuilder4jdk1.3jrelibi18n.jar
: D:JBuilder4jdk1.3jrelibjaws.jar
: D:JBuilder4jdk1.3jrelibrt.jar
: D:JBuilder4jdk1.3jrelibsunrsasign.jar
: D:JBuilder4jdk1.3libdt.jar
: D:JBuilder4jdk1.3libtools.jar
=====================
Initializing ORB...... done
Initializing JNS..... done
Initializing JTS... done
Initializing JSS...Developer's License (no connection limit)
Copyright (c) 1996-2000 Inprise Corporation. All rights reserved.
License for JDataStore development only - not for redistribution
Registered to:
Inprise Application Server Development Licensee
Inprise Application Server Customer
......... done
Initializing JDB............ done
Initializing EJBs....java.lang.ClassNotFoundException: quickstart.TellerHelper
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.findSystemClass(ClassLoader.java:620)
at com.inprise.ejb.util.ClassLoaderDriver$LocalClassLoader.loadClass(ClassLoaderDriver.java:472)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253).
at com.inprise.ejb.Global.loadClass(Global.java:116)
at com.inprise.ejb.EJBHome.(EJBHome.java:75)
at com.inprise.ejb.StatelessSessionHome.(StatelessSessionHome.java:14)
at com.inprise.ejb.Container.load(Container.java:854)
at com.inprise.ejb.Container.run(Container.java:597)
at com.inprise.ejb.Container.run(Container.java:1241)
at com.inprise.ejb.Container.main(Container.java:1246)
>>>> EJB LOG >>>>
Could not deploy ejb-jar E:projectquickstartquickstart.jar
java.lang.Error: Invalid helper class: quickstart.TellerHelper
. at com.inprise.ejb.EJBHome.(EJBHome.java:82)
at com.inprise.ejb.StatelessSessionHome.(StatelessSessionHome.java:14)
at com.inprise.ejb.Container.load(Container.java:854)
at com.inprise.ejb.Container.run(Container.java:597)
at com.inprise.ejb.Container.run(Container.java:1241)Undoing effects of a partial deployment ...
Jar name = E:projectquickstartquickstart.jar
The home name is : TellerHome
. done
Container [ejbcontainer] is ready
at com.inprise.ejb.Container.main(Container.java:1246)