Hi, all,
Sorry for bother you. I didn't find answer of my question from the archive.
I coded a HelloWorld and tried to deploy it on Weblogic.
It seems that server runs correctly.
But client cannot find the server. (I believe jndi name and url/port are set
correctly)
The Code is like this:
------------------------------------------------------
try {
Get an InitialContext
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.TengahInitialContextFactory");
h.put(Context.PROVIDER_URL, url);
return new InitialContext(h);
}
catch (NamingException ne) {
log("We were unable to get a connection to the WebLogic server at
"+url);
log("Please make sure that the server is running.");
throw ne;
}
---------------------------------------------------------------
Output:
We were unable to get a connection to the WebLogic server at
t3://localhost:7001
Please make sure that the server is running.
---------------------------------------------------------------
At the same time, I tried examples provided by weblogic. There is no problem
about client-server interaction of their example.
---------------------------------------------------------------
Question:
Do you have some suggestion what is the problem?
Thanks a lot!!!
Kai
===========================================================================
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".