Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ConfigurationException

0 views
Skip to first unread message

김석

unread,
Aug 28, 2000, 3:00:00 AM8/28/00
to
Hello,

I have a big problem

My System is

OS : Windows 2000 Server
EJB Server : Weblogic 5.1.0 and SP5
JDK1.2.2

My Configuration is
C:\weblogic\bin>wlconfig

WebLogic startup settings are presently:

CLASSPATH Prefix
d:\java\jdk122\lib\db.jar;d:\java\jdk122\lib\dt.jar;d:\java\
jdk122\lib\tools.jar;d:\java\j2ee\lib\j2ee.jar;d:\java\jswdk-1.0.1\lib;d:\ja
va\j
dk122\lib\xlnclient.jar;d:\java\jdk122\lib\xlnserver.jar;d:\java\jdk122\lib\
XlnW
ebServlet.jar;d:\java\jsdk20\lib\jsdk.jar;.;c:\weblogic\lib\weblogic510sp5bo
ot.j
ar
CLASSPATH
d:\java\jdk122\lib\db.jar;d:\java\jdk122\lib\dt.jar;d:\java\
jdk122\lib\tools.jar;d:\java\j2ee\lib\j2ee.jar;d:\java\jswdk-1.0.1\lib;d:\ja
va\j
dk122\lib\xlnclient.jar;d:\java\jdk122\lib\xlnserver.jar;d:\java\jdk122\lib\
XlnW
ebServlet.jar;d:\java\jsdk20\lib\jsdk.jar;.;c:\weblogic\lib\weblogic510sp5bo
ot.j
ar;d:\java\jdk122\lib\tools.jar;d:\java\jdk122\jre\lib\rt.jar;d:\java\jdk122
\jre
\lib\i18n.jar;C:\weblogic\license;C:\weblogic\classes\boot;C:\weblogic\class
es;C
:\weblogic\lib\weblogicaux.jar;C:\weblogic\eval\cloudscape\lib\cloudscape.ja
r

JAVA_HOME d:\java\jdk122
WEBLOGIC_LICENSEDIR C:\weblogic\license
WEBLOGIC_HOME C:\weblogic
system properties:
java.security.manager
java.security.policy==C:\weblogic\weblogic.policy
weblogic.system.home=C:\weblogic
java.compiler=symcjit

weblogic.class.path=c:\weblogic\lib\weblogic510sp5.jar;c:\we
blogic\license;c:\weblogic\classes;c:\weblogic\myserver\serverclasses;c:\web
logi
c\lib\weblogicaux.jar
INITIAL_HEAP 64 MB
MAX_HEAP 64 MB
SERVERCLASSPATH
d:\java\jdk122\lib\db.jar;d:\java\jdk122\lib\dt.jar;d:\java\
jdk122\lib\tools.jar;d:\java\j2ee\lib\j2ee.jar;d:\java\jswdk-1.0.1\lib;d:\ja
va\j
dk122\lib\xlnclient.jar;d:\java\jdk122\lib\xlnserver.jar;d:\java\jdk122\lib\
XlnW
ebServlet.jar;d:\java\jsdk20\lib\jsdk.jar;.;c:\weblogic\lib\weblogic510sp5bo
ot.j
ar;d:\java\jdk122\jre\lib\rt.jar;d:\java\jdk122\jre\lib\i18n.jar;C:\weblogic
\cla
sses\boot;C:\weblogic\eval\cloudscape\lib\cloudscape.jar

Type "wlconfig -help" for program usage.


My Weblogic Version is
D:\job\develop\trade>java weblogic.Admin t3://localhost:7001 VERSION
WebLogic Build: 5.1.0 Service Pack 5 08/17/2000 07:21:55 #79895

My Weblogic Server log is
Mon 8 Mon 28 16:07:02 GMT+09:00 2000:<I> <RMI> Registry started
Mon 8 Mon 28 16:07:02 GMT+09:00 2000:<I> <EJB> Enterprise JavaBeans
initializing
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <EJB JAR deployment
D:/job/develop/trade/
yTrader.jar>
EJB home interface: 'TraderHome' deployed bound to the JNDI name:MyTrader'
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <EJB JAR deployment
D:/job/develop/bank/M
Bank.jar> EJB home interface: 'BankHome' deployed bound to the JNDI name:
'MyBak'
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <EJB> 2 EJB jar files loaded,
containing EJBs
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <EJB> 2 deployed, 0 failed to
deploy.
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <HTTP> Log rotation is size based
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <ZAC> ZAC ACLs initialized
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <ZAC> ZAC packages stored in local
directry exports
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <ListenThread> Listening on port:
7001
<NT Performance Pack> NATIVE: created IoCompletionPort successfully.
IoPort=0x000028c
Mon 8 Mon 28 16:07:03 GMT+09:00 2000:<I> <SSLListenThread> Listening on
port: 7002
Mon 8Mon 28 16:07:04 GMT+09:00 2000:<I> <WebLogicServer> WebLogic Server
started


Sample program is weblogic sample program
Trader.java, TraderBean.java, TraderHome.java,
TraderResult.java,ProcessingErrorException.java, Client.java


I have got the error message after running Client program

D:\job\develop\trade>java Client "t3://localhost:7001"

Beginning statefulSession.Client...

The client was unable to lookup the EJBHome. Please make sure
that you have deployed the ejb with the JNDI name MyTrader on the WebLogic
serve
r at t3://localhost:7001
javax.naming.ConfigurationException. Root exception is
weblogic.rmi.server.Expo
rtException: A description for TraderBeanHomeImpl was found but it could not
be
read due to: [Failed to find a stub for [class TraderBeanHomeImpl]
implements at
least one interface [interface TraderHome] which extends Remote.]
weblogic.rmi.StubNotFoundException: Failed to find a stub for [class
TraderBeanH
omeImpl] implements at least one interface [interface TraderHome] which
extends
Remote.
at
weblogic.rmi.internal.DescriptorManager.resolveClass(DescriptorManage
r.java, Compiled Code)
at
weblogic.rmi.extensions.BasicDescriptor.<init>(BasicDescriptor.java,
Compiled Code)
at
weblogic.rmi.extensions.BasicRuntimeDescriptor.<init>(BasicRuntimeDes
criptor.java, Compiled Code)
at
weblogic.rmi.internal.DescriptorManager.resolveClass(DescriptorManage
r.java, Compiled Code)
at
weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManag
er.java, Compiled Code)
at
weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManag
er.java, Compiled Code)
at
weblogic.rmi.internal.OIDManager.getRequestDispatcher(OIDManager.java
-
-
-
-
-
at
weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.
ava:76)
at
weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WL
tub.java:246)
at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java,
Compi
ed Code)
at javax.naming.InitialContext.lookup(InitialContext.java:354)
at Client.lookupHome(Client.java:149)
at Client.<init>(Client.java:44)
at Client.main(Client.java:82)


Please help me!!!!!!!!!!!!!!!!
Thanks

e-mail : na...@altavista.co.kr

Michael Chein

unread,
Aug 29, 2000, 3:00:00 AM8/29/00
to
I encounter this problem before. I think there have some problem
when you use WLS 5.1.0 's EJB Deployer tool on win2k server.
EJB Deployer will create some container files for your EJB,
but if you use win2k, your will see some strange warining messages
below the console (something like "class::",I forget) and although it tell
your the
process is done,but actually it doesn's create enough container files.
So when your use client program to call EJB,you will find nothing because
your EJB doesn't deploy is WLS.

I don't know how to solve this problem,finally we change platform to winnt
4.0 server.
Does anybody know how to solve it?


"梯戮" <haea...@hanmail.net> 撰寫於郵件
news:39aa2abb$1...@newsgroups.bea.com...

0 new messages