FRM-92101 on client machines after physical move to new building

I'm relatively new to IAS (1.0.2.2.2a), Portal (3.0.9.8.5), Forms (6.0.8.25), etc. We recently moved most of our employees to a new building. The web server and DB server remains at the old location. External internet users continue to access the portal and Forms application successfully. Our Intranet users can access the portal. But after the Forms app URL is selected, the application login/mainmenu fails with FRM-92101: A failure has occurred on the server. You will need to reestablish your session.
The java console display on my workstation:
Forms Applet version is : 60825
oracle.forms.net.ConnectionException: Forms session <1,102> aborted: unable to communicate with runtime process.
     at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
     at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
     at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
     at oracle.forms.net.HTTPNStream.flush(Unknown Source)
     at java.io.DataOutputStream.flush(Unknown Source)
     at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
Anyone have any idea on how to begin chasing this down?

Thanks for the response. I've worked several days with with my Network IT dept to resolve this issue. So far, they see nothing. They opened up the firewalls completely with negative results. Network tracing has revealed nothing. I discovered workstation DNS calls from the server didn't work any longer after the move to the new building. That has been resolved with no effect on the Forms call. I have increased all the recommended timeout parameters per Note 204446.1. No impact. My failure is immediate when calling the form from my portal. It's as if workstation sessions are being rejected by the the Forms servlet process or the network. Any ideas on what else to look at?

Similar Messages

  • FRM-92101 when trying to launch test.fmx on new installation

    Hi,
    I installed AS10g 10.1.2.0.2 Infrastructure and BI Forms on OEL5, installation seemed to go fine, but when I tried to launch the demonstration form, I get this FRM-92101 error and a Java exception notification in the applet window. I'm pretty sure I have installed all the dependencies & prereqs. The global-application.log says:
    12/04/04 16:00:11 dms: Stopped
    12/04/04 16:00:11 defaultWebApp: Stopped
    12/04/04 16:00:11 Stopped (shutdown executed by jazn.com/admin from 127.0.0.1(localhost.localdomain))
    The Application log tells me the form session failed because there was an error loading shared libraries: libXm.so.2
    When I 'locate' this libXm.so.2 its there in $ORACLE_HOME/lib
    Can someone please point me in the right direction on this?
    Sean

    I recommend double-checking all of the configuration changes you made to ensure there are no typo's and all of the required libraries are referenced. For example, I've see where people have removed the frmall.jar assignment to the archive variable in the formsweb.cfg (archive=frmall.jar).
    Craig...

  • Change the hostname after Database move to new server in Windows

    We are moving database from one server to new server on Windows running 9.2.0.6. Temporarily the new server is named as XYZ after the database is moved. We want to change the servername to ABC , what changes is required ??
    I think only tnsnames and listener.ora is required to be changed. Is anything else need to be changed for Intellligent Agent to work properly ??? Nothing in Registry I believe ???
    Thanks
    Atul

    nothing to change in registry.Just stop the database and services and restart after renaming and rebooting.
    change the client tnsnames too if host name is specified.

  • HT4889 Using USB time machine drive to move to new rMBP and Migration assistant can't find my drive

    I have a time machine backup on my USB drive.  I can see it clearly in finder, then when I run migration assistant, it can't be found.
    I've tried repairing the disk, it's fine, it just can't find it.  Any ideas?
    Both machines are on the same rev of Mt. Lion, 2010 MBP and 2013 rMBP. . . .
    Please advise.
    --Andrew

    No, both the backup and the new system are OSX10.6.
    I'm afraid your solution doesn't work.  If I go through finder and open up the folders on the backup, and try, for example, to open my "Movies" folder (which is one I dearly hope to recover), I get a message that:
    "The folder "Movies" can't be opened because you don't have permission to see its contents."
    I have tried Repair Permissions, but this doesn't help.  All of the important folders have a little red stop sign on them.
    Thanks though.

  • Duplicate Items in Outlook After Mailbox Move to New Server

    We are performing a server migration and after moving a group of pilot users from Exchange 2003 to Exchange 2007, they are reporting duplicate items (emails, calendar, contacts, etc.) in Outlook.  What could be causing this to happen and how do we prevent
    it?  What's the best way to fix the existing duplicates?  The duplicates have sync'd to the server as they show up in Outlook Webmail as well.
    Thank you

    Hi,
    How do your move these mailboxes from Exchange 2003 to Exchange 2007? Using move request in Exchange 2007 or exporting/importing a PST file?
    Since the duplicate items don't shown in Outlook Web App, please create a new Outlook profile in Outlook to have a try:
    http://support.microsoft.com/kb/829918
    Additionally, here is a reference about how to move mailboxes from Exchange 2003 to Exchange 2007:
    http://exchangeserverpro.com/moving-mailboxes-from-exchange-2003-to-exchange-server-2007/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
    make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Cxlib-5-0.dll error resurfacing on client machine

    Hi All,
    The below error is shown in one of a client machine after resolving it earlier sometime back.
    As per solution given in the below thread it was carried out on that client machine few months back and got resolved.
    But the same error has resurfaced again on that machine:
    There has been no formatting done on that machine again nor client was uninstalled and re-installed. Could there be any reason for this issue?
    A solution is available via the SAP (Crystal Reports) website -scn.sap.com/thread/3203841
    Solution for 64 bit machines:
    Copy C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\cxlib-5-0.dll and cxlibw-5-0.dll
    to
    C:\windows\system32 and C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\cxlib-5-0.dll and cxlibw-5-0.dll to C:\windows\syswow64
    Solution for 32 bit machines:
    Copy C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\cxlib-5-0.dll and cxlibw-5-0.dll
    to
    C:\windows\system32
    Regards,
    Bharath

    Hi,
    It is an application error. Please check SAP note:
    1836086 - The program can´t start because cxlib-5-0.dll is missing from your computer
    Upgrade to 8.82 PL12 to fix this issue.
    Thanks & Regards,
    Nagarajan

  • Can I Use Time Machine Restore Files to a New Computer?

    I use Time Machine to backup my data to an external drive. Let's say that my computer crashes and I buy a new computer with Leopard installed.
    Two Questions:
    If I plug my Time Machine drive into the new computer, will I be able to recreate the old files and settings? Or does Time Machine only work to restore information on a specific computer?
    If Time Machine WILL restore the documents onto a new computer, what happens if the first computer is Power PC and the new one is Intel?
    Thanks!
    Message was edited by: Dan D\'Errico

    Dan D'Errico wrote:
    I use Time Machine to backup my data to an external drive. Let's say that my computer crashes and I buy a new computer with Leopard installed.
    Two Questions:
    If I plug my Time Machine drive into the new computer, will I be able to recreate the old files and settings?
    Yes - see my comments below regarding "Migrating User Data From One Mac to Another".
    Or does Time Machine only work to restore information on a specific computer?
    No
    If Time Machine WILL restore the documents onto a new computer, what happens if the first computer is Power PC and the new one is Intel?
    Then you should choose to Migrate your personal data over but NOT Applications. They may likely not be compatible with the new system.
    *_Migrating User Data From One Mac to Another_*
    *Firewire Disk Mode*
    If you have a FireWire cable, you can connect one Mac to the other via FireWire Disk Mode. Then use Migration Assistant to transfer all of your files and applications over from the older Mac. It should result in a virtually identical setup as your previous Mac. Follow the instructions in this KB article:
    “How to use FireWire target disk mode”
    http://support.apple.com/kb/HT1661
    *Using Time Machine Before Initial Launch of New Mac*
    Before starting the new Mac for the first time, attach the hard disk that contains the Time Machine backups from the old Mac.
    Start the new Mac and begin the setup process. At some point it will ask you if you would like to Migrate/Import user data from another computer or a Time Machine backup disk. Follow the prompts and select the date of the backup you would like to restore your user data from. Once the migration is complete use Disk Utility to repair any permissions issues.
    *Using Time Machine After Initial Launch of New Mac*
    If you have already created a User Account on the new Mac using a DIFFERENT Username and Password from the old Mac, then do the following:
    Attach the hard disk containing the previous Macs' Time Machine backups to the new computer.
    Go to Applications --> Utilities --> and launch Migration Assistant.
    At the welcome dialogue click "Continue." You may be required to enter your Admin password.
    For Migration Method chose "From a Time Machine backup or other disk".
    Select the hard disk containing the previous Time Machine backups. (Give Migration Assistant some time as it scans the disk for eligible data to migrate.)
    Now select which User Accounts you would like to migrate over.
    However, if you have already created a User Account on the new Mac using the SAME Username and Password as the old Mac, then you will need to do this:
    Create a new User Admin Account on the new Mac with a completely unique name.
    Now, delete the first User Account you created on the new Mac - The one that is identical to the old Mac. (Of course, backup any important files that were created using the new User Account before deleting it.)
    Finally, use Migration Assistant as described above to move the old User Account data over from the Time Machine backups.
    *Full Backup After Restore*
    Bear in mind that in all cases Time Machine will perform a full backup after a full restore. This is normal. Time Machine will resume incremental backups after the full backup has completed. To view previous backups, Control-click or right-click the Time Machine icon in your Dock or Option-click the Time Machine menu extra and Choose "Browse Other Time Machine Disks," then select your previous backup volume. You will enter Time Machine and be able to browse your previous back ups and restore files. (http://support.apple.com/kb/TS1338)
    Let us know if this was helpful.
    Cheers!

  • .itl file is locked error after installing new build - iTunes won't open

    After upgrading to the new build itunes won't open. I receive an error message "The iTunes Library .itl file is locked, on a locked disk, or you do not have write permission for this file." When I check permissions I have full control. I tried uninstalling all apple components - iTunes, Quicktime, apple updater - rebooting and then reinstalling but the same error message comes up when I try to start itunes.

    Even after uninstalling the .itl file remained in my itunes music folder. I deleted this file after uninstalling again and then reinstalled and the issue was resolved.

  • Tns entry on client machine for a physical standby!

    Hi all.
    i am working on 10gR2 on RHEL4.I have created a physical standby on the same host. The primary and the standby database has different sid as prod and prodsb
    can i have one tns entry on the client machine so that they can connect to the database even after teh switchover or failover??? or will they have to change the connection string while connecting to the database??

    Hi, you can use Oracle Transparent Failover, please review the next link for get more information.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1278
    Please let me know if you have some doubt or comment about this.
    Regards.

  • Frm-92101 there was a failure in the forms server during startup after R12.2

    Hi All,
    I have install the multinode(2 Node) R12.2 on CentOS 6 with no issues, while launching java forms it is showing "frm-92101 there was a failure in the forms server during startup"
    I had this same issue before when I install R12.1.1 so I check log file at $LOG_HOME/ora/10.1.3/opmn/forms_default_group_1/formsstd.out.
    I resolved the issue by installing openmotif package,However in 12.2 the file directory changes can you please help to resolve this issue.
    Please help me to resolve this issue in 12.2?
    Thanks & Regards,
    Rahul.k

    I have install the multinode(2 Node) R12.2 on CentOS 6 with no issues
    This is not a supported OS. The list of supported Linux OS is in (Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID 1330701.1)).
    while launching java forms it is showing "frm-92101 there was a failure in the forms server during startup"
    Is it from the same Linux server? If yes, Linux is not supported as a client tier node -- Recommended Browsers for Oracle E-Business Suite Release 12 (Doc ID 389422.1)
    Thanks,
    Hussein

  • FRM-92095 Oracle Jinitiator Version too low - dsiplayed on client machine

    Hi,
    When I login from my Windows/Xp client machine to my Linux Server running R12.1.1. I get the message below:
    "FRM-92095; Oracle Jinitiator Version too Low. Please install version 1.1.8.2 or higher"
    I really do not know what this means.
    Can some one give me the steps on how to fix this issue--when I open a form from the client machine.
    Thank you, in advance for your help.
    Edited by: user565503 on Aug 26, 2011 9:52 PM

    When I login from my Windows/Xp client machine to my Linux Server running R12.1.1. I get the message below:Was this working before? If yes, any changes have been done recently?
    "FRM-92095; Oracle Jinitiator Version too Low. Please install version 1.1.8.2 or higher"
    I really do not know what this means. Oracle EBS R12 comes with JRE so you are not supposed to download any Jinitator version. If you already have one installed, please uninstall it (via Control Panel > Add/Remove Software) and check then.
    Can some one give me the steps on how to fix this issue--when I open a form from the client machine.Can you reproduce the issue using a different browser? What if you try from a different machine?
    Please run AutoConfig and make sure it completes successfully.
    Thanks,
    Hussein

  • Client machine force reboot after apply window patch updated

    I found all of client machines will force reboot after window patching updated via SCCM 2012. Have any options in SCCM 2012 can let users to choose reboot their machine after patching ? likely WSUS, users can suspend the reboot request. Pls advice.

    The notification will happen automatically if ConfigMgr installs updates that require a reboot but a reboot is not initiated so there's nothing additional you need to do.
    Note however that allowing users to choose this instead of forcing it is generally bad practice because the updates aren't truly installed until the reboot happens and there have been a couple of updates of the years that cause flakiness until the system
    is rebooted also.
    Why not allow the users to install the updates when they want up until a deadline and then force the reboot at the deadline (if one hasn't already been performed)? This gives the user the control over the process but also forces it to happen if the user
    neglects performing it.
    Jason | http://blog.configmgrftw.com

  • R 12.1.1 After Installtion Forms Opening Error FRM-92101

    After installation of EBS R 12.1.1 on OEL 4.4 , forms opening failure due to following error.
    FRM-92101 : There was a failure in the forms server during startup.This could happen due to invalid configuration , please look into the web-server log file for details.
    When i open the application log file for forms.
    [oracle@test 04271114]$ cd /appshome/oracle/VIS/inst/apps/VIS_test/logs/ora/10.1.3/j2ee/
    [oracle@test j2ee]$ ll
    total 12
    drwxr-xr-x  3 oracle oinstall 4096 Apr 26 21:03 forms
    drwxr-xr-x  3 oracle oinstall 4096 Apr 26 21:03 oacore
    drwxr-xr-x  3 oracle oinstall 4096 Apr 26 21:03 oafm
    [oracle@test j2ee]$ cd forms/
    [oracle@test forms]$ ll
    total 4
    drwxr-xr-x  2 oracle oinstall 4096 Apr 26 21:03 forms_default_group_1
    [oracle@test forms]$ cd forms_default_group_1/
    [oracle@test forms_default_group_1]$ ll
    total 172
    -rw-r--r--  1 oracle oinstall  20449 Apr 27 11:19 application.log
    -rw-r--r--  1 oracle oinstall    418 Apr 27 11:10 global-application.log
    -rw-r--r--  1 oracle oinstall    194 Apr 27 11:10 jms.log
    -rw-r--r--  1 oracle oinstall   1688 Apr 27 11:10 log.xml
    -rw-r--r--  1 oracle oinstall    194 Apr 27 11:10 rmi.log
    -rw-r--r--  1 oracle oinstall 129772 Apr 27 11:56 server.log
    -rw-r--r--  1 oracle oinstall     82 Apr 27 11:10 system-application.log
    [oracle@test forms_default_group_1]$ vi application.log
    11/04/26 21:03:23.966 10.1.3.4.0 Started
    11/04/26 21:03:26.60 formsweb: FormsServlet init():
        configFileName:     /appshome/oracle/VIS/inst/apps/VIS_test/ora/10.1.2/forms/server/appsweb.cfg
        testMode:           false
    11/04/26 21:03:26.74 formsweb: 10.1.3.4.0 Started
    11/04/27 10:33:07.324 formsweb: ListenerServlet init()
    11/04/27 10:33:08.547 formsweb: Forms session <1> aborted: runtime process failed during startup with errors /appshome/oracle/VIS/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory
    For the above error resolution i got a doc 1192205.1 which recommend to install rpm openmotif-2.2.3-10.RHEL4.5 Which is already in my OEL 4.4 box.
    [oracle@test forms_default_group_1]$ rpm -qa | grep openmoti*
    openmotif-2.2.3-10.RHEL4.5
    openmotif-devel-2.2.3-10.RHEL4.5What could be other reason for causing above error?

    error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directoryPlease make sure you install all OS pre-req. packages.
    FRM-92101: Forms Server [ID 1192205.1]
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]
    Thanks,
    Hussein

  • Play a movie from client machine

    Hi,
    I'd like to play a movie file which is in a CD. So i must be able to find the CD-ROM first and then play the file from the CDROM (of client machine). Please help me to resolve this problem.

    Thank u my friend. Thats a good point. Actually in my application i'm going to handle a large number of video files. If i've to store all the files in the server, i've to pay more. So i'll place these video files in CD and give it to our clients(Business clients).
    Only the video will be left with the client and all the other information related to the video will be in my database. So the user should login to my webserver to access the information and by the same time he should be able to view the video. Though, your point is good and i'll reconsider this.

  • How to pick wireless physical address of client machine

    Dear memebers,
    Using the follwoing tutorail, I have picked the network card address ( MAC Address ).
    [forms java beans|http://forms.pjc.bean.over-blog.com/article-15985856.html]
    but this code dont' display / return the MAC address of wireless network card.
    the java code is here:
    package oracle.forms.fd;
    import java.net.InetAddress;
    import java.io.InputStream;
    import java.io.BufferedInputStream;
    import java.io.IOException;
    import java.text.ParseException;
    import java.util.StringTokenizer;
    import oracle.forms.ui.VBean;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
         * A Java Bean that returns Client machine info
         * code found on the java forum
         * http://forum.java.sun.com/thread.jspa?threadID=655913
         * @author Francois Degrelle (wrapper)
         * @version 1.1
    public final class ClientInfos extends VBean {
        private static final ID GETINFOS  = ID.registerProperty("GET_CLIENT_INFOS");
        private static final ID GETINFO   = ID.registerProperty("GET_CLIENT_INFO");
        private static final ID Operating = ID.registerProperty("OPERATING");
        private static final ID architecture = ID.registerProperty("ARCHITECTURE");
        private static final ID osVersion = ID.registerProperty("OSVERSION");
        private static final ID IP = ID.registerProperty("IP");
        private static final ID MAC = ID.registerProperty("MAC");
        private static final ID javaVersion = ID.registerProperty("JAVAVERSION");
        private static final ID javaVendor = ID.registerProperty("JAVAVENDOR");
        private static final ID javaVendorUrl = ID.registerProperty("JAVAVENDORURL");
        private static final ID javaHome = ID.registerProperty("JAVAHOME");
        private static final ID javaVmSpecificationVersion = ID.registerProperty("JAVAVMSPECIFICATIONVERSION");
        private static final ID javaVmSpecificationVendor = ID.registerProperty("JAVAVMSPECIFICATIONVENDOR");
        private static final ID javaVmSpecificationName = ID.registerProperty("JAVAVMSPECIFICATIONNAME");
        private static final ID userName = ID.registerProperty("USERNAME");
        private static final ID userHome = ID.registerProperty("USERHOME");
              private     String sInfos = "";
              private     String sOperating = "";
              private     String sarchitecture = "";
              private     String sosVersion = "";
              private     String sIP = "";
              private     String sMAC = "";
              private     String sjavaVersion = "";
              private     String sjavaVendor = "";
              private     String sjavaVendorUrl = "";
              private     String sjavaHome = "";
              private     String sjavaVmSpecificationVersion = "";
              private     String sjavaVmSpecificationVendor = "";
              private     String sjavaVmSpecificationName = "";
              private     String suserName = "";
              private     String suserHome = "";
        private boolean bInit = false ;
        public void init(IHandler handler)
          super.init(handler);
               try {
                  sOperating = System.getProperty("os.name");
                  sarchitecture = System.getProperty("os.arch");
                  sosVersion = System.getProperty("os.version");
                  sIP = InetAddress.getLocalHost().getHostAddress();
                  sMAC = getMacAddress();
                  sjavaVersion = System.getProperty("java.version");
                  sjavaVendor = System.getProperty("java.vendor");
                  sjavaVendorUrl = System.getProperty("java.vendor.url");
                  sjavaHome = System.getProperty("java.home");
                  sjavaVmSpecificationVersion = System.getProperty("java.vm.specification.version");
                  sjavaVmSpecificationVendor = System.getProperty("java.vm.specification.vendor");
                  sjavaVmSpecificationName = System.getProperty("java.vm.specification.name");     
                  suserName = System.getProperty("user.name");
                  suserHome = System.getProperty("user.home");          
                } catch(Throwable t) {
                  t.printStackTrace();
          public Object getProperty(ID pId)
             if(pId == GETINFOS)
                sInfos = "Operating System:" + sOperating ;
                sInfos += "\nOperating system architecture:" + sarchitecture ;
                sInfos += "\nOperating system version:" + sosVersion ;
                sInfos += "\nIP/Localhost:" + sIP ;
                sInfos += "\nMAC Address:" + sMAC ;
                sInfos += "\nJava Version:" + sjavaVersion ;
                sInfos += "\nJava Vendor:" + sjavaVendor ;
                sInfos += "\nJava vendor URL:" + sjavaVendorUrl ;
                sInfos += "\nJava installation directory:" + sjavaHome ;
                sInfos += "\nJava Virtual Machine specification version:" + sjavaVmSpecificationVersion;
                sInfos += "\nJava Virtual Machine specification vendor:" + sjavaVmSpecificationVendor;
                sInfos += "\nJava Virtual Machine specification name:" + sjavaVmSpecificationName;     
                sInfos += "\nUser Name:" + suserName;
                sInfos += "\nUser's home directory:" + suserHome ;
                return sInfos ;
            else if(pId == Operating) return sOperating;  
            else if(pId == architecture) return sarchitecture ; 
            else if(pId == osVersion) return sosVersion ;
            else if(pId == IP) return sIP ;
            else if(pId == MAC) return sMAC ; 
            else if(pId == javaVersion) return sjavaVersion ;  
            else if(pId == javaVendor) return sjavaVendor ;  
            else if(pId == javaVendorUrl) return sjavaVendorUrl ;   
            else if(pId == javaHome) return sjavaHome ;   
            else if(pId == javaVmSpecificationVersion) return sjavaVmSpecificationVersion ; 
            else if(pId == javaVmSpecificationVendor) return sjavaVmSpecificationVendor ;   
            else if(pId == javaVmSpecificationName) return sjavaVmSpecificationName ; 
            else if(pId == userName) return suserName ; 
            else if(pId == userHome) return suserHome ;
             return super.getProperty(pId);
      private final static String getMacAddress() throws IOException {
              String os = System.getProperty("os.name");
              try {
                   if(os.startsWith("Windows")) {
                        return windowsParseMacAddress(windowsRunIpConfigCommand());
                   } else if(os.startsWith("Linux")) {
                        return linuxParseMacAddress(linuxRunIfConfigCommand());
                   } else {
                        throw new IOException("unknown operating system: " + os);
              } catch(ParseException ex) {
                   ex.printStackTrace();
                   throw new IOException(ex.getMessage());
          * Linux stuff
         private final static String linuxParseMacAddress(String ipConfigResponse) throws ParseException {
              String localHost = null;
              try {
                   localHost = InetAddress.getLocalHost().getHostAddress();
              } catch(java.net.UnknownHostException ex) {
                   ex.printStackTrace();
                   throw new ParseException(ex.getMessage(), 0);
              StringTokenizer tokenizer = new StringTokenizer(ipConfigResponse, "\n");
              String lastMacAddress = null;
              while(tokenizer.hasMoreTokens()) {
                   String line = tokenizer.nextToken().trim();
                   boolean containsLocalHost = line.indexOf(localHost) >= 0;
                   // see if line contains IP address
                   if(containsLocalHost && lastMacAddress != null) {
                        return lastMacAddress;
                   // see if line contains MAC address
                   int macAddressPosition = line.indexOf("HWaddr");
                   if(macAddressPosition <= 0) continue;
                   String macAddressCandidate = line.substring(macAddressPosition + 6).trim();
                   if(linuxIsMacAddress(macAddressCandidate)) {
                        lastMacAddress = macAddressCandidate;
                        continue;
              ParseException ex = new ParseException
                   ("cannot read MAC address for " + localHost + " from [" + ipConfigResponse + "]", 0);
              ex.printStackTrace();
              throw ex;
         private final static boolean linuxIsMacAddress(String macAddressCandidate) {
              // TODO: use a smart regular expression
              if(macAddressCandidate.length() != 17) return false;
              return true;
         private final static String linuxRunIfConfigCommand() throws IOException {
              Process p = Runtime.getRuntime().exec("ifconfig");
              InputStream stdoutStream = new BufferedInputStream(p.getInputStream());
              StringBuffer buffer= new StringBuffer();
              for (;;) {
                   int c = stdoutStream.read();
                   if (c == -1) break;
                   buffer.append((char)c);
              String outputText = buffer.toString();
              stdoutStream.close();
              return outputText;
          * Windows stuff
         private final static String windowsParseMacAddress(String ipConfigResponse) throws ParseException {
              String localHost = null;
              try {
                   localHost = InetAddress.getLocalHost().getHostAddress();
              } catch(java.net.UnknownHostException ex) {
                   ex.printStackTrace();
                   throw new ParseException(ex.getMessage(), 0);
              StringTokenizer tokenizer = new StringTokenizer(ipConfigResponse, "\n");
              String lastMacAddress = null;
              while(tokenizer.hasMoreTokens()) {
                   String line = tokenizer.nextToken().trim();
                   // see if line contains IP address
                   if(line.endsWith(localHost) && lastMacAddress != null) {
                        return lastMacAddress;
                   // see if line contains MAC address
                   int macAddressPosition = line.indexOf(":");
                   if(macAddressPosition <= 0) continue;
                   String macAddressCandidate = line.substring(macAddressPosition + 1).trim();
                   if(windowsIsMacAddress(macAddressCandidate)) {
                        lastMacAddress = macAddressCandidate;
                        continue;
              ParseException ex = new ParseException("cannot read MAC address from [" + ipConfigResponse + "]", 0);
              ex.printStackTrace();
              throw ex;
         private final static boolean windowsIsMacAddress(String macAddressCandidate) {
              // TODO: use a smart regular expression
              if(macAddressCandidate.length() != 17) return false;
              return true;
         private final static String windowsRunIpConfigCommand() throws IOException {
              Process p = Runtime.getRuntime().exec("ipconfig /all");
              InputStream stdoutStream = new BufferedInputStream(p.getInputStream());
              StringBuffer buffer= new StringBuffer();
              for (;;) {
                   int c = stdoutStream.read();
                   if (c == -1) break;
                   buffer.append((char)c);
              String outputText = buffer.toString();
              stdoutStream.close();
              return outputText;
    how to pick the wireless physical address?
    Regards:

    Hi !
    our request object, which is available to all the jsp pages can access ip address and host name of client through these calls.
    request.getRemoteAddr()
    request.getRemoteHost()
    Interface "ServletRequest"
    getRemoteAddr ----
    public java.lang.String getRemoteAddr()
    Returns the Internet Protocol (IP) address of the client that sent the request. For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR.
    Returns:
    a String containing the IP address of the client that sent the request
    getRemoteHost
    public java.lang.String getRemoteHost()
    Returns the fully qualified name of the client that sent the request. If the engine cannot or chooses not to resolve the hostname (to improve performance), this method returns the dotted-string form of the IP address. For HTTP servlets, same as the value of the CGI variable REMOTE_HOST.
    Returns:
    a String containing the fully qualified name of the client
    All the Best!
    (Simmy)

Maybe you are looking for

  • Display issue in the report.

    Hi all,          I have 4 fields in my report which are compunded by Plant, in my query I'm alread filtering on this plant, but still the coumpounded field is showing up in those fields in the results section. Your input will be greatly appreciated.

  • Stop sleep mode when screen closed

    How do I stop my Macbook Pro going to sleep when I close the lid when I use an external monitor via the Miniport? Thanks Mick

  • Importing Premiere Pro project into After Effects ???

    When I import a Premiere Pro project into After Effects, it splits every shot onto a new track, ending up with a couple of hundred tracks at the end. Is there a way to avoid this ? Particularly, since I'd want to keep the option of bringing the proje

  • Class could not be found error

    Hi All, I'm trying to implement the BADI NETW_USER_FIELDS_F4 to be able to define a search help for an user field in transaction CJ20N. The Badi implemenation, class are active. But upon executing the F4 help, the program dumps with the following des

  • FLVPlayback dynamic buffering

    This is a multi-part request. I'm looking for a way to dynamically buffer progressive video using the AS3 FLVPlayback component. I am doing bandwidth detection using a SMIL file. I would like to set buffer via the clients bandwidth. I do not have FMS