Hi,

I have written a Java thread program which starts the
WLS 5.1 using (c:\weblogic\startweblogic.cmd).
The Java Thread program in turn has to call EJB
methods deployed in the WLS.

Now until the WLS is fully started, my java thread
program calls EJB methods and  i am getting  Error

>>>>>   javax naming communication Exception(Root
Exception is java.net.ConnectException
>>>>>   no server found at t3://10.3.10.156:7001)

only for 2 minutes(say) and then after the WLS is
fully started then i am getting the results from EJB
methods as expected.

Now you provide some sample programs which polls and
finds out whether the WLS is fully started
and then calls the EJB methods.

Logic needed:
-------------------

Thread Start {
        Start WLS using         c:\weblogic\startweblogic.cmd
        while( WLS is not started) {
                continue in the while loop until WLS is fully
started
        }
        //Please provide code for the above while loop
        //After WLS is fully started
        Do JNDI Look Up and call EJB methods-1
        Call EJB methods-2

} //End of Thread


Regards,
Vidyasagar



__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

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