EJB & OAS Question
Date: Thu, 10 Jun 1999 16:02:37 GMT
Message-ID: <7jonik$ll1$1_at_nnrp1.deja.com>
Hello,
I am trying to run the EJB demo that comes with the Oracle Application Server (Stack Demo example).
This is how far I got:
- I was able to compile the Server & Client, used jdk1.1.4
- Was able to install the Server 'jar' in the OAS following the documented instruction's, I Named the application 'StackDemo'
- PROBLEM : when i run the client 'rundemo.sh' script I am unable to connect. Actually it fails on line 68:Demo.java, in the 'lookup()' method.
I run the demo as : "rundemo.sh oas://javalot:7776" the hostname is 'javalot' and the listner is running on port '7776'.
Lookup error: [Root exception is java.net.SocketException: Socket closed]javax.naming.NamingException: Cannot access IOR ; nested exception:
java.net.SocketException: Socket closed [Root exception is java.net.SocketException: Socket closed]javax.naming.NamingException: Cannot access IOR ; nested exception:
java.net.SocketException: Socket closed at oracle.oas.jndi.BeanContext.getObject(BeanContext.java:344) at oracle.oas.jndi.BeanContext.lookup(BeanContext.java:163) at oracle.oas.jndi.BeanContext.lookup(BeanContext.java:357) at javax.naming.InitialContext.lookup(InitialContext.java:288) at Demo.main(Demo.java:68)
Is there something wrong I am doing ? Has anyone been able to run this demo ? Please help.
Thanks,
Harkeerat Sandhu
Here is my environment setting's:
PATH=/opt/SUNWspro/bin:/vgi/ORACLE/app/oracle/product/8.1.5/OAS/ows/4.0/ jdk/bin:/opt/perl/bin:/opt/gnu/bin:/opt/local/bin:/bin:/usr/bin/:/usr/op enwin/bin:/usr/dt/bin:/usr/ccs/bin:/usr/ucb:.
CLASSPATH=/vgi/ORACLE/app/oracle/product/8.1.5/OAS/ows/4.0/classes/wrbji dl.jar:/vgi/ORACLE/app/oracle/product/8.1.5/OAS/ows/4.0/jbeans/lib/jbrt. jar:/vgi/ORACLE/app/oracle/product/8.1.5/OAS/ows/4.0/jbeans/lib/jbapi.ja r:/vgi/ORACLE/app/oracle/produAS/ows/4.0/jdk/lib/classes.zip
JDK_HOME=/vgi/ORACLE/app/oracle/product/8.1.5/OAS/ows/4.0/jdk
ORACLE_HOME=/vgi/ORACLE/app/oracle/product/8.1.5/OAS
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Thu Jun 10 1999 - 18:02:37 CEST