Output of using Oracle8i "deployejb" tool

Output of using Oracle8i "deployejb" tool

Post by Sandeep Desa » Sun, 31 Dec 1899 09:00:00



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
deployejb -republish -temp temp   -u scott -p tiger

-s sess_iiop://localhost:2481:oracle8i -descriptor hello.ejb

server.jar
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)

                                           at
oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:35)
                                           at
oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:130)

                                           at
oracle.aurora.jndi.sess_iiop.ServiceCtx.login(ServiceCtx.java:295)
                                           at
oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession(ToolImpl.java:101)

                                           at
oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(ToolImpl.java:213)

                                           at
oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:121)
                                           at
oracle.aurora.ejb.deployment.GenerateEjb.main(GenerateEjb.java:445)

**************************************************************************************************************************************************

Any help/comments on this would be appreciated.

Thanks,
Sandeep

  vgdesai.vcf
< 1K Download

  vgdesai.vcf
< 1K Download
 
 
 

Output of using Oracle8i "deployejb" tool

Post by Dasar » Sun, 31 Dec 1899 09:00:00


you need to run ORACLE_HOME/javavm/initjvm.sql connected as SYS and then try
your stuff.

HTH
Dasari


Quote:> Please help!!

> Regards,
> Sandeep