Java client application + EJB + Corba Object problems
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aleksander_Placzek
Posted On:   Friday, January 25, 2002 07:05 AM

I'va got some code (EJB) which connect me to OLAPService on my 9i Oracle server. I deployed EJB to Oracle AS which is istalled on another machine. Then I wrote client application which has to connect to OAS and invoke EJB method to connect to OLAPService. The connection to EJB was successfully established (of course through a CORBA). But when EJB was trying to connect to Oracle9i I got such error : javax.naming.NameNotFoundException: sess_iiop:// : : /etc/OLAPServer/OLAPServer not found I think it something wrong with my OAS enviroment. I have tried to do my best , but still nothing .... When I'm starting EJB's code as client application everything is OK. The    More>>

I'va got some code (EJB) which connect me to OLAPService on my 9i Oracle server. I deployed EJB to Oracle AS which is istalled on another machine. Then I wrote client application which has to
connect to OAS and invoke EJB method to connect to OLAPService.
The connection to EJB was successfully established (of course through a
CORBA). But when EJB was trying to connect to Oracle9i I got such error :

javax.naming.NameNotFoundException:
sess_iiop:// : :
/etc/OLAPServer/OLAPServer not found



I think it something wrong with my OAS enviroment. I have tried to do my
best , but still nothing ....
When I'm starting EJB's code as client application everything is OK. The
connection to OLAPService is established every time. Also When I modyfied code for EJB (commenting code responsible for preparing InitailContextEnviroment
and connecting to OLAPService) everything was OK.
So :

1) I can connect and invoke EJB's method deployed to OAS.

2) I can connect to Oracle9i OLAPService and use OLAPAPI methods.

3) I can't do it when I try to connect to OLAPService through the OAS (where
is EJB)


I want to connect to OLAPService in this way:

client_application (java) ===CORBA===> OAS ( EJB with OLAPAPI) ==CORBA==>
OLAPService


Any idea ?


Thanks for helping me.    <<Less
About | Sitemap | Contact