hi;

Just from a quick glance at the error, it looks like you have a syntax
error in your connect string and are missing the port number on the server,
which would lead to this sortof error. It should be in the format of
<machinename>:<portnum>:<sid>. Its even possible to have
<machinename>:<portnum> in certain cases. But omitting the portnum will not
work.

Have you tried running the
$ORACLE_HOME/javavm/demo/examples/ejb/session/clientserverserver on your
installation? All those samples are all configured to work on a typical
installation, and that particular one "clientserverserver" shows you an EJB
calling another EJB on the same server. If that sample doesnt work, then
something is wrong with your installation.

If that sample does work, then your installation is ok. If your program
still fails, and you cant spot the difference, let me know, ok?

take care
John.
=====
At 02:01 AM 10/29/99 , you wrote:
>Hello:
>
>I've problems when i try to communicate two differents EJB's in Oracle 8i
>deployed in the same machine, it returns me the exception:
>
>javax.naming.CommunicationException: Unknown service: 10.168.18.33:orcl
>
>If i try to catch the exception it returns me no error but is not able to
>call any method in the EJB.
>The communication between a client application and an EJB goes good.
>People form Oracle answered me that there must be an error in my DNS, but
>this can't be the problem because the three components of my testing
>environment are running in the same machine and the client application finds
>the first EJB without any problem and i've test in the URL direction for the
>lookup method the name of the machine, the IP direction, the localhost
>expresion and the IP 127.0.0.1 and it doesn't work.
>I've also tested the 'thisServer' option in the URL but if i change the
>second EJB location (in a different server) neither it works.
>
>Thanks a million!!!
>
>PS1: I can send you the source code to review it.
>
>PS2: Somebody in this forum (from Oracle) told me that i should ask this
>kind of questions in an Oracle forum, well, we're Oracle partners and this
>question has been inserted in two different Oracle forums and their answers
>were not correctly answered, by this, i'm asking you.
>
>===========================================================================
>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".
>

===========================================================================
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".

Reply via email to