Hello,

Are you using JDK 1.2 on the client to talk to Oracle 8i(8.1.5)?  In
that case please note that JDK 1.2 is not supported with 8.1.5. You need
8i release 2 (8.1.6) to be able to use JDK 1.2 based EJB clients.

The FAQ at
http://technet.oracle.com/products/oracle8i/htdocs/jserver_faq/815faq0012.html
discusses this in detail .

If you have more questions, please feel free to post them on the
'JDeveloper' forum at http://technet.oracle.com

Regards,
Arun


>Date:         Sun, 16 Jan 2000 17:31:15 -0800
>Reply-To:     A mailing list for Enterprise JavaBeans development
>              <[EMAIL PROTECTED]>
>Sender:       A mailing list for Enterprise JavaBeans development
>              <[EMAIL PROTECTED]>
>From:         John Sinnott - ClassiFIND <[EMAIL PROTECTED]>
>Subject:      Problem with Oracle 8i and deployejb
>Content-Type: text/plain; charset="iso-8859-1"

>Hello -
>
>        I'm new to EJB and am experimenting with it using Oracle 8i.  I have setup
>Oracle 8i's listenter service to listen for IIOP connections on port 2481.
>I can connect to it properly using sess_sh.  After compiling my classes and
>placing them in a jar file, I try to use deployejb.  I get the following
>errors:
>
>[D:\Java\productSearcherImpl] call deployejb -verbose -republish -temp
>d:\temp -user demo -password demo -service sess_iiop://localhost:2481:oracle
> -descriptor productSearcher\ProductSearcherTDD.ejb
>ProductSearcherApp.jar -verbose
>
>Exception in thread "main" java.lang.ClassCastException:
>com.sun.CORBA.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.initializeSessio(ToolImpl.java
>:101)
>        at
>oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(ToolImpl.java,
>compiled code)
>        at
>oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:121)
>        at
>oracle.aurora.ejb.deployment.GenerateEjb.main(GenerateEjb.java:445)
>
>Any help appreciated -
>
>Thanks
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
begin:vcard
n:Arun;Srinivasan
tel;fax:650.506.7582
tel;work:650.506.8841
x-mozilla-html:FALSE
org:Oracle Corp.;Java Tools
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principal Product Manager
fn:Srinivasan Arun
end:vcard

Reply via email to