Please help!!
Regards,
Sandeep
[ Attached Message ]
From: | |
To: | |
Date: | Mon, 18 Sep 2000 21:18:53 +0530 |
Local: | Mon, Sep 18 2000 11:48 am |
Subject: | Output of using Oracle8i "deployejb" tool |
Hi,
To deploy the EJB successfully, Oracle recommends that we deploy their
Sample EJB's, which ships with Oracle8i product,
before proceeding with our EJBs. This would help us verify the
installation.
The sample EJB's are available at
%ORACLE_HOME%\javavm\demo\demo.zip.When the demo.zip file is extracted,
a
folder \examples\ejb\basic\helloworld, is created in the extracted
path.The makeit.bat and runit.bat files in this folder
should run successfully to deploy the EJB in the DB.
When I attempt to execute, makeit.bat doesnot run properly.The output is
pasted here for your reference.As you may notice,
ClassCastException occurs, when a call is given to deployejb, through
the makeit.bat file.
*************************************************************************** C:\Oracle8i\javavm\demo\extract\examples\ejb\basic\helloworld>call -s sess_iiop://localhost:2481:oracle8i -descriptor hello.ejb server.jar at at at at *************************************************************************** Any help/comments on this would be appreciated. Thanks,
deployejb -republish -temp temp -u scott -p tiger
Exception in thread "main" java.lang.ClassCastException:
com.sun.corba.se.internal.iiop.ORB
at
oracle.aurora.jndi.orb_dep.IRFinder.getObject(IRFinder.java:24)
at
oracle.aurora.jndi.orb_dep.IRFinder.initialReferences(IRFinder.java:78)
at
oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.java:499)
oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:35)
at
oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:130)
oracle.aurora.jndi.sess_iiop.ServiceCtx.login(ServiceCtx.java:295)
at
oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession(ToolImpl.ja
oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(ToolImpl.java:21
oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:121)
at
oracle.aurora.ejb.deployment.GenerateEjb.main(GenerateEjb.java:445)
Sandeep
vgdesai.vcf
< 1K
Download
vgdesai.vcf
< 1K
Download