Getting host name and IP address
I have develop different types of forms which resides on server and clients are acessing it.Now from my end i want to track that which user is accessing my forms on the server i.e i want to know the client IP address and host name.When the user execute some query on the database then i will get it easily using sys_context function but if it perform some functions within the form and i catch the host name then it returns the server host name where the actual forms resides not the client host name and i want to know the client host name and IP address who is running the forms.Plz let me know the way so i can do that easily .
thanks
Hi Grant,
I want to get ip/address host name of reports server, sitting on forms server.
can you tell me how to do this.
in a web base environment.
i have several report server instances running on different machines.
when i run a report using RUN_REPORT_OBJECT using report_server=mac_rep1
i want to know mac_rep1 resides on which host/ip machine.
regds
Similar Messages
-
Change Host Name and IP Address on machine running WLS 9.2
Hello,
I am new to this community, so please forgive any unintended missteps.
I have an installation of BEA WebLogic Server 9.2 running on Windows 2003 Server SP2. This installation is running on a virtual server, which was created using some VMware product that copies or clones production environments. The purpose of this new, cloned environment is to act as a development environment. This new DEV server has a different host name and IP address from the source PROD server.
WLS is not starting up properly. It complains about the license.bea file not being valid. To try to fix that, I manually changed the IP address listed within that file, from that of the original system to that of the current system, but that did not change the error message I get during startup.
I imagine that this instance of WLS needs to be re-licensed to account for the change in IP address. Besides that, are there any other configuration parameters in text files, registry settings, etc., that need to be modified in order to allow the new instance of WLS to work the same as the old instance?
Please note that we want both DEV and PROD to run simultaneously, so we need to take steps to ensure they (and the applications running on WLS) don't talk to each other.
I tried to search the BEA sites and found a few resources, but related to some other products (ALES?), not WLS.
Thoughts, suggestions, feedback, or pointers to documentation would be greatly appreciated.
Thanks,
JPG.Hi JPG,
The BEA license files are tied to IP address. Editing the license.bea to change the IP address file will not work.
Any reason why you cannot use a 5 user dev license for your environment?
If you break the 5 user limit then use IIS or Apache to front-end the the WLS instance.
Cheers
Mike -
Get Attachment Name and from address of mail in bpel process
Hi All,
I am using UMS Adapter to poll email server and getting the attachment and saving it to local disk.
In Payload from UMS adapter i am getting href of the attachment but I am not able to figure out as to how to get Attachment Name and From Address of a mail in my Bpel process.
please guide me in getting them .
Thanks in Advance
Divyanshu1. Double click on your composite receive activity.
2. Go to Properties tab in your receive activity.
3. Click "+".
4. Window that pops up,scroll down and select "jca.ums.from" and store it in some variable say fromAddress (Make sure before adding this property u create fromAddress variable of string data type).
5. Click OK.
6. In the same way add property for "jca.ums.msg.content-description" from drop down and assing it to some variable.
you are good to go.
Hope this helps.
Regards,
Karan
Oracle Fusion Middleware Blog -
Solution Manager 7 EHP1 - Chage Host name and IP Address
Dear All,
I have installed Solution Manager 7 EHP1 (ABAP+JAVA Stack) on Windows 2003 64bit and working fine.
I need to change HOST name and IP Address of the machine.
In SAP where I need to change or reconfig ?
Thanks in advance,
NiravHello Nirav,
first of all: welcome to a big adventure!
There are some configurations you should face and prepare yourself before you change the hostname, or IP-Adress.
1. Be aware of the SMD-Agents. You should activate the Maintenace Mode in Diagnostics just before changing the hostname.
2. Do the changes in ABAP (profile parameters, transport configurations, RFC-connection settings, reorganization of table entries). The systemcopy guide is a good place for informations. Don't forget to recreate the trusted connections to and from the connected managed systems.
3. Do the changes in Java (use system copy guide for informations).
4. Every SMD-Agent in your system landscape must be reconfigured after you change the hostname and did the adjustments in ABAP and Java. Have look into the Diagnostics setup Guide for a detailed information about changing the conection parameters
5. If you are using a central DBACOCKPIT management in SolMan and Oracle, the TNSNAMES entry should be changed.
6. SAP likes to connect to SolMan, so the SAPROUTER entries schould be changed also.
7. Perhaps you are monitoring your system landscape with SAPCCMS Agents, then all agents in your landscape have to be changed in their configurations.
8. I have BI installed within SolMan and got an error page after changeing the hostname. Try this URL to make some corrections:
http://<hostname>:<Port>/webdynpro/dispatcher/sap.com/tcsmde2ewa/E2ewaConfig
Changing the hostname of SolMan isn't a small job and done in 60s. I suggest a detailed planning and to make a roadmap of all doings.
Have a lot of fun!
Sascha -
Getting host name and port number from application
Does anyone know how I would be able to get the host name
and port number from an application launched by java webstart ?
This is the host and port of the URL that this application is launched from.A couple of suggestions:
-The note is about 6.40. Doesn't fit for your server
-Don't!
-Reinstall!
Regards,
Benny -
Getting host name and port number from an application
Does anyone know how I would be able to get the host name
and port number from an application launched by java webstart ?
This is the host and port of the URL that this application is launched from.A couple of suggestions:
-The note is about 6.40. Doesn't fit for your server
-Don't!
-Reinstall!
Regards,
Benny -
GETTING PC NAME AND IP ADDRESS
Hello,
I want to Get a PC Name and IP Address through Oracle.
Anyone Help Please.
Thank in Advance.
Muhammad FarooqHi,
I check the V$session Dynamic View to get the machine name. But We Also get the
IP Addres of PC.
When we run the following statement the following error occur.
SQL> SELECT SYS_CONTEXT('USERENV', 'IP_ADDRESS') FROM DUAL;
SELECT SYS_CONTEXT('USERENV', 'IP_ADDRESS') FROM DUAL
ERROR at line 1:
ORA-00904: invalid column name
I am using a Oracle 8.0.5 Enterprise Edition.
Let me knoow that where is the SYS_CONTEXT procedure or function or package.
Please Help.
Muhammad Farooq -
Get Machine Name and IP Address from Air Flex App
New to Air..... Is there a way to get the name of the machine
and the ip address for the client running the Air application? Not
that this matters, but the applcation would be a Flex 3 application
built specifically to be deployed to the Air runtime. I need to be
able to have the Air/Flex application know what the client's
machine name and ip address is. Can this be done?
ThanksHi Frank,
Well I am using Developer Suite 10g Release (10.1.2.0.2) ..I've gone thru the link what you have sent me and noticed that whatever updations of conf file or classpath its already there so i guess needn't to modify cause I think my release 10.1.2.0.2 has did already as webutils been bundled with it.
Well What i did is to double click on ATTACH LIBRARY and browse the location to find webutil.pll and finally attached it...even though its showing me all the procedures like clientinfo and others...
on my block's canvas I've put a button and used this trigger to get client info function like this.
when-button-pressed trigger of INFOBUTTON
DECLARE
o_clientinfo varchar2(50) := Webutil_clientinfo.GET_HOST_NAME ;
begin
message(o_clientinfo);
end;
but when I am trying to open this form its simply not showing up..strange thing is that there is no error as well...so plz kindly guide me how to get clientinfo hostname or ipaddress using that library function.
thanks -
Hi, i create a audit table , which save every action of the user on the client machines.,,,
i run this command on the SQLPLUSW Prompt, and it works well and return host name and ip adress ,,
select SYS_CONTEXT('USERENV','HOST') host,
SYS_CONTEXT('USERENV','IP_ADDRESS') ip_address from dual;
but when i write this command in the insert query it give me error that
bad behind variable SYS_CONTEXT
so tell me how i save the information through forms..
thanks for helping meINSERT INTO AUDIT_DETAIL
ENTRY_NO ,
USER_NAME ,
ACTION ,
VOUCHER_NO ,
DATE ,
TIME ,
REMARKS,
DEPT ,
SCREEN ,
HOST ,
IP_ADDRESS
VALUES
ENTRY_NO,
USER_NAME ,
ACTION ,
VOUCHER_NO ,
DATE ,
TIME ,
REMARKS,
DEPT ,
SCREEN ,
SYS_CONTEXT('USERENV','HOST') , -- Here I want to save host name
SYS_CONTEXT('USERENV',IP_ADDRESS’) Here I want to save host name
) -
Get host name and ip addrees of the client machine for window VISTA
Hello Friends !!
I have write the following code to get the ip adress and host name of the client machine ..
it works fine for windows xp and 2000 but in vista it gives this type of out put.
host name = 0:0:0:0:0:0:0:1
ip addresss = 0:0:0:0:0:0:0:1
what i have to make changes in my code to get the proper ip address and hostname for vista...
My code is listed below....
code ::
InetAddress remoteAddress = null;
// Setting Host Name...
request.setAttribute("reportHostIP", request.getRemoteAddr());
// Setting Host IP Address...
try
remoteAddress = InetAddress.getByName(request.getRemoteAddr());
//This will give you the full qualified domain name of the client
request.setAttribute("reportHostName", remoteAddress.getCanonicalHostName());
catch(Exception e)
logger.error(e.getMessage(), e);
}BIJ001 wrote:
Is it not IPv6 by any chance?It is. And if I remember correctly, then "0:0:0:0:0:0:0:1" (or "::1" for short) is the IPv6-equivalent to "127.0.0.1", i.e. it's the loopback device. -
How to get Host name and SQL Instance Name by T-SQL
I am using SQL 2000, 2005 and 2008. I have few multi instances SQL servers. I would like to gather following information:
Host Name
SQL Instance Name
SQL Version
Server1
Server1
SQL 2000
Server1
Server1\ABC
SQL 2005
Server1
Server1\XYZ
SQL 2008
Server2
Server2
SQL 2008
Is there any way I can get it by T-SQL? Any help would be appreciated.
Thanks
SaumenSELECT
SERVERPROPERTY('MachineName') AS [ServerName],
SERVERPROPERTY('ServerName') AS [ServerInstanceName],
SERVERPROPERTY('InstanceName') AS [Instance],
SERVERPROPERTY('Edition') AS [Edition],
SERVERPROPERTY('ProductVersion') AS [ProductVersion],
Left(@@Version, Charindex('-', @@version) - 2) As VersionName
|
Blog: MSBICOE.com |
MCITP - BI, SQL Developer & DBA
Hate to mislead others, if I'm wrong slap me. Thanks! -
How to get Host name and port inside UDF
Hi,
I want to access the Host and port in UDF to pass it to a link http://host:port/AdapterFramework/ChannelAdminServlet?party=&service=&channel=*&action=status dynamically.
How can I acieve it?
ManishaHi
With this code. I am getting error:
try
java.net.InetAddress addr = java.net.InetAddress.getLocalHost();
String host = addr.getCanonicalHostName();
catch (UnknownHostException e){}
if (ProcessMode.equals("P"))
try{
String xyz="/AdapterFramework/ChannelAdminServlet?party=&service=&channel="Name"&action=stop";
URL server = new URL("http", host, 8XXX, xyz);
tring userPassword =Userid + ":" + Password;
String encoding = new sun.misc.BASE64Encoder().encode (userPassword.getBytes());
URLConnection uc=server.openConnection();
uc.setRequestProperty ("Authorization", "Basic " + encoding);
BufferedReader br = new BufferedReader(new InputStreamReader(uc.getInputStream()));
while ((inputLine = br.readLine()) != null)
output+=inputLine;
br.close();
catch (Exception e){}
ERROR:
cannot resolve symbol
symbol : variable host location: class com.sap.xi.tf._MM_CommunicationChannel_Stop
_ URL server = new URL("http", host, 8xxx, xyz);
^ 1 error
Any other way to get host and port?
Manisha -
How can I get the host name from Email address?
hi
When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanksStripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
http://www.stopspam.org/email/headers/headers.html
Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
Sean -
I am not able to use the ftp export in Muse. When I enter my host, name and password, I get a long interlude of rainbow wheel and finally the message that my ftp host cannot be found. I have verified the name and that it is port 21. I can export to html and use another ftp client to upload (to the same server) but this is tedious and making minor changes is painful. Have you encountered this and found a solution?
Hi Susan,
In that case I will recommend that you consult a local technician/IT team and see if there is some network connectivity issue with your machine.
- Abhishek Maurya -
Hello all,
yesterday I got one task in that I have to stored procedure for getting host name, host instance and status of that host is it running or stopped.
any body knows where exactly, In which table this details are there in BizTalk databases.
thanksStatus of the host instance is not stored in the SQL database for you to query the status using stored procedure. You have to either use Powershell or WMI to get the status.
In SQL, following table contains the details about the host like Name, LoginName, IsDisables etc but status of the host instance is not stored in the database.
SELECT * FROM BizTalkMgmtDb..adm_HostInstance
Powershell to get the status:
http://axonolympus.nl/?page_id=186&post_id=969&cat_id=6&lang=en
WMI to get the status:
https://msdn.microsoft.com/en-us/library/aa561820.aspx?f=255&MSPPError=-2147217396
https://msdn.microsoft.com/en-us/library/aa578621.aspx
Regards,
M.R.Ashwin Prabhu
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.
Maybe you are looking for
-
Multiple Users Can't Access Time Capsule Data
My wife and I have two separate Apple MacBooks that share a Time Capsule. We have different account names on these respective computers. I initially set up my Time Capsule and created folders that I can access from Finder.app when I connect over our
-
Data allowance and overages AM I CRAZY?
For the past 3 months, I have gotten the warning that I am approaching my data allowance early in my cycle period. The first month I chalked it up to my son being out of school for the summer and thought, we probably WERE using more data between us.
-
I can see photos on my iPhone iOS5 only vertical, how can i see them in orizontal?
i can see photos on my iPhone iOS5 only in vertical way, how can i see them in orizontal?
-
HI, i bought my i touch 4th gen from the philippines, and i transferred here in the US. i would like to purchase an application here in the US but i wont allow me to. and i have been trying to change my address and country but it wont let me too.
-
My Ipod is Classic is not showing any podcasts which I have downloads either on the library within itunes or on the ipod but is showing in the syncing section some 3300 plus podcasts but even after syncing they are noty showing on the library or on t