D
dhyzf
Unregistered / Unconfirmed
GUEST, unregistred user!
D:/JBuilder4/jdk1.3/bin/javaw -classpath "D:/Inprise/AppServer/lib/navigator.jar;D:/Inprise/AppServer/lib/vbdev.jar;D:/Inprise/AppServer/lib/vbejb.jar;D:/Inprise/AppServer/lib/vbjdev.jar;D:/Inprise/AppServer/lib/vbjorb.jar;H:/Documents and Settings/Administrator/jbproject/tescro_5/classes;D:/Inprise/AppServer/lib/ias.jar;D:/Inprise/AppServer/lib/jmclient.jar;D:/Inprise/AppServer/lib/jmserver.jar;D:/Inprise/AppServer/lib/migration.jar;D:/Inprise/AppServer/lib/pjbean.jar;D:/Inprise/AppServer/lib/servlet.jar;D:/JBuilder4/jdk1.3/demo/jfc/Java2D/Java2Demo.jar;D:/JBuilder4/jdk1.3/jre/lib/i18n.jar;D:/JBuilder4/jdk1.3/jre/lib/jaws.jar;D:/JBuilder4/jdk1.3/jre/lib/rt.jar;D:/JBuilder4/jdk1.3/jre/lib/sunrsasign.jar;D:/JBuilder4/jdk1.3/lib/dt.jar;D:/JBuilder4/jdk1.3/lib/tools.jar" com.inprise.ejb.Container ejbcontainer "H:/Documents and Settings/Administrator/jbproject/tescro_5/quick.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:/Inprise/AppServer/lib/navigator.jar : D:/Inprise/AppServer/lib/vbdev.jar : D:/Inprise/AppServer/lib/vbejb.jar : D:/Inprise/AppServer/lib/vbjdev.jar : D:/Inprise/AppServer/lib/vbjorb.jar : H:/Documents and Settings/Administrator/jbproject/tescro_5/classes : D:/Inprise/AppServer/lib/ias.jar : D:/Inprise/AppServer/lib/jmclient.jar : D:/Inprise/AppServer/lib/jmserver.jar : D:/Inprise/AppServer/lib/migration.jar : D:/Inprise/AppServer/lib/pjbean.jar : D:/Inprise/AppServer/lib/servlet.jar : D:/JBuilder4/jdk1.3/demo/jfc/Java2D/Java2Demo.jar : D:/JBuilder4/jdk1.3/jre/lib/i18n.jar : D:/JBuilder4/jdk1.3/jre/lib/jaws.jar : D:/JBuilder4/jdk1.3/jre/lib/rt.jar : D:/JBuilder4/jdk1.3/jre/lib/sunrsasign.jar : D:/JBuilder4/jdk1.3/lib/dt.jar : D:/JBuilder4/jdk1.3/lib/tools.jar=====================Initializing ORB........do
neInitializing JNS......do
neInitializing JTS....do
neInitializing JSS...Developer's License (no connection limit)Copyright (c) 1996-2000 Inprise Corporation. All rights reserved.License for JDataStore development only - not for redistributionRegistered to:
Inprise Application Server Development Licensee
Inprise Application Server Customer..do
neInitializing JDB......do
neInitializing EJBs.....java.lang.ClassNotFoundException: tescro_5.CabinHelperat 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.<init>(EJBHome.java:75)at com.inprise.ejb.EntityHome.<init>(EntityHome.java:21)at com.inprise.ejb.Container.load(Container.java:858)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 H:/Documents and Settings/Administrator/jbproject/tescro_5/quick.jarjava.lang.Error: Invalid helper class: tescro_5.CabinHelperat com.inprise.ejb.EJBHome.<init>(EJBHome.java:82)at com.inprise.ejb.EntityHome.<init>(EntityHome.java:21)at com.inprise.ejb.Container.load(Container.java:858)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 = H:/Documents and Settings/Administrator/jbproject/tescro_5/quick.jarThe home name is : Cabin.do
neContainer [ejbcontainer] is readyat com.inprise.ejb.Container.main(Container.java:1246)<<<< EJB LOG <<<<EJB Container Statistics
========================
TimeThu Oct 25 22:10:39 CST 2001
Memory (used)1122 Kb(max 1122 Kb)
Memory (total)2152 Kb(max 2152 Kb)
Memory (free)47.0%
------------------------
HomeCabin
Total in memory0
Total in use0
========================
运行客户端程序后是如下所一示:
D:/JBuilder4/jdk1.3/bin/javaw -classpath "H:/Documents and Settings/Administrator/jbproject/tescro_5/classes;D:/Inprise/AppServer/lib/ias.jar;D:/Inprise/AppServer/lib/jmclient.jar;D:/Inprise/AppServer/lib/jmserver.jar;D:/Inprise/AppServer/lib/migration.jar;D:/Inprise/AppServer/lib/navigator.jar;D:/Inprise/AppServer/lib/pjbean.jar;D:/Inprise/AppServer/lib/servlet.jar;D:/Inprise/AppServer/lib/vbdev.jar;D:/Inprise/AppServer/lib/vbejb.jar;D:/Inprise/AppServer/lib/vbjdev.jar;D:/Inprise/AppServer/lib/vbjorb.jar;D:/JBuilder4/jdk1.3/demo/jfc/Java2D/Java2Demo.jar;D:/JBuilder4/jdk1.3/jre/lib/i18n.jar;D:/JBuilder4/jdk1.3/jre/lib/jaws.jar;D:/JBuilder4/jdk1.3/jre/lib/rt.jar;D:/JBuilder4/jdk1.3/jre/lib/sunrsasign.jar;D:/JBuilder4/jdk1.3/lib/dt.jar;D:/JBuilder4/jdk1.3/lib/tools.jar" tescro_5.CabinClient
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFoundat org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:34)at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.extract(NotFoundHelper.java:50)at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:161)at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:324)at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:373)at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:351)at javax.naming.InitialContext.lookup(InitialContext.java:350)at javax.naming.InitialContext.lookup(InitialContext.java:350)at tescro_5.CabinClient.<init>(CabinClient.java:19)at tescro_5.CabinClient.main(CabinClient.java:46)
请问这是什么问题!
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:/Inprise/AppServer/lib/navigator.jar : D:/Inprise/AppServer/lib/vbdev.jar : D:/Inprise/AppServer/lib/vbejb.jar : D:/Inprise/AppServer/lib/vbjdev.jar : D:/Inprise/AppServer/lib/vbjorb.jar : H:/Documents and Settings/Administrator/jbproject/tescro_5/classes : D:/Inprise/AppServer/lib/ias.jar : D:/Inprise/AppServer/lib/jmclient.jar : D:/Inprise/AppServer/lib/jmserver.jar : D:/Inprise/AppServer/lib/migration.jar : D:/Inprise/AppServer/lib/pjbean.jar : D:/Inprise/AppServer/lib/servlet.jar : D:/JBuilder4/jdk1.3/demo/jfc/Java2D/Java2Demo.jar : D:/JBuilder4/jdk1.3/jre/lib/i18n.jar : D:/JBuilder4/jdk1.3/jre/lib/jaws.jar : D:/JBuilder4/jdk1.3/jre/lib/rt.jar : D:/JBuilder4/jdk1.3/jre/lib/sunrsasign.jar : D:/JBuilder4/jdk1.3/lib/dt.jar : D:/JBuilder4/jdk1.3/lib/tools.jar=====================Initializing ORB........do
neInitializing JNS......do
neInitializing JTS....do
neInitializing JSS...Developer's License (no connection limit)Copyright (c) 1996-2000 Inprise Corporation. All rights reserved.License for JDataStore development only - not for redistributionRegistered to:
Inprise Application Server Development Licensee
Inprise Application Server Customer..do
neInitializing JDB......do
neInitializing EJBs.....java.lang.ClassNotFoundException: tescro_5.CabinHelperat 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.<init>(EJBHome.java:75)at com.inprise.ejb.EntityHome.<init>(EntityHome.java:21)at com.inprise.ejb.Container.load(Container.java:858)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 H:/Documents and Settings/Administrator/jbproject/tescro_5/quick.jarjava.lang.Error: Invalid helper class: tescro_5.CabinHelperat com.inprise.ejb.EJBHome.<init>(EJBHome.java:82)at com.inprise.ejb.EntityHome.<init>(EntityHome.java:21)at com.inprise.ejb.Container.load(Container.java:858)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 = H:/Documents and Settings/Administrator/jbproject/tescro_5/quick.jarThe home name is : Cabin.do
neContainer [ejbcontainer] is readyat com.inprise.ejb.Container.main(Container.java:1246)<<<< EJB LOG <<<<EJB Container Statistics
========================
TimeThu Oct 25 22:10:39 CST 2001
Memory (used)1122 Kb(max 1122 Kb)
Memory (total)2152 Kb(max 2152 Kb)
Memory (free)47.0%
------------------------
HomeCabin
Total in memory0
Total in use0
========================
运行客户端程序后是如下所一示:
D:/JBuilder4/jdk1.3/bin/javaw -classpath "H:/Documents and Settings/Administrator/jbproject/tescro_5/classes;D:/Inprise/AppServer/lib/ias.jar;D:/Inprise/AppServer/lib/jmclient.jar;D:/Inprise/AppServer/lib/jmserver.jar;D:/Inprise/AppServer/lib/migration.jar;D:/Inprise/AppServer/lib/navigator.jar;D:/Inprise/AppServer/lib/pjbean.jar;D:/Inprise/AppServer/lib/servlet.jar;D:/Inprise/AppServer/lib/vbdev.jar;D:/Inprise/AppServer/lib/vbejb.jar;D:/Inprise/AppServer/lib/vbjdev.jar;D:/Inprise/AppServer/lib/vbjorb.jar;D:/JBuilder4/jdk1.3/demo/jfc/Java2D/Java2Demo.jar;D:/JBuilder4/jdk1.3/jre/lib/i18n.jar;D:/JBuilder4/jdk1.3/jre/lib/jaws.jar;D:/JBuilder4/jdk1.3/jre/lib/rt.jar;D:/JBuilder4/jdk1.3/jre/lib/sunrsasign.jar;D:/JBuilder4/jdk1.3/lib/dt.jar;D:/JBuilder4/jdk1.3/lib/tools.jar" tescro_5.CabinClient
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFoundat org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:34)at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.extract(NotFoundHelper.java:50)at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:161)at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:324)at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:373)at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:351)at javax.naming.InitialContext.lookup(InitialContext.java:350)at javax.naming.InitialContext.lookup(InitialContext.java:350)at tescro_5.CabinClient.<init>(CabinClient.java:19)at tescro_5.CabinClient.main(CabinClient.java:46)
请问这是什么问题!