try
System.getProperty("weblogic.system.bindAddr");
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Vidyasagar Jeyakumar
Sent: Friday, July 21, 2000 9:06 AM
To: [EMAIL PROTECTED]
Subject: Getting IP Address of WLS
Hi,
When i start the weblogic using startWeblogic.cmd i
give the bind address of the Weblogic Server as below:
-Dweblogic.system.bindAddr=10.3.10.156
Now how to get back the Bind Address programatically
inside the EJB methods.
Please reply.
EJB method start
------------------
************************
************************
//How to get back the bindAddr back inside the EJB
method
String getIpAddress = ******************;
Socket client=null;
client = new Socket(getIpAddress,7001);
ObjectOutputStream oout = new
ObjectOutputStream(client.getOutputStream() );
oout.writeObject( hash );
ObjectInputStream oin = new
ObjectInputStream(client.getInputStream() );
flag = (String)oin.readObject();
client.close();
************************
************************
Regards,
Vidyasagar
__________________________________________________
Do You Yahoo!?
Get 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".
===========================================================================
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".