Netmask is not set properly in Solaris 10

Hi,
I am not able to change my netmask for bge0 NIC. I've just run Oracle CRS installer and it changed my netmask. I didn't install CRS.
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.160.19.49 netmask ff000000 broadcast 10.255.255.255
ether 0:14:4f:0:64:82
bge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.160.19.68 netmask fffffe00 broadcast 10.160.19.255
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.10.10.1 netmask fffffe00 broadcast 10.10.11.255
ether 0:14:4f:0:64:83
bash-3.00# cat /etc/netmasks
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
# network-number netmask
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
# 128.32.0.0 255.255.255.0
10.160.19.0 255.255.254.0
bash-3.00# cat /etc/hosts
# Internet host table
::1 localhost
127.0.0.1 localhost
10.160.19.49 sun3.testwaw.symantec.pl sun3
10.160.19.50 sun4.testwaw.symantec.pl sun4
10.160.19.66 sun3-vip
10.160.19.67 sun4-vip
10.10.10.1 sun3-priv
10.10.10.2 sun4-priv
bash-3.00# cat /etc/nsswitch.conf
# DNS service expects that an instance of svc:/network/dns/client be
# enabled and online.
passwd: files
group: files
# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns
# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
printers: user files
auth_attr: files
prof_attr: files
project: files
tnrhtp: files
tnrhdb: files
Any idea?

Was there ever a solution to nagardd's original post? I am experiencing the same issue w/ the netmask not being set even though it's setup to do so in /etc/netmasks.
My /etc/netmasks
root@fsintntwrkrus1 cat /etc/netmasks
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
# network-number netmask
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
# 128.32.0.0 255.255.255.0
172.25.40.0 255.255.255.0
*172.25.237.0 255.255.254.0*
My ifconfig after boot
root@fsintntwrkrus1 ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ipge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 172.25.40.10 netmask ffffff00 broadcast 172.25.40.255
ether 0:14:4f:22:21:20
ipge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 172.25.237.241 netmask ffff0000 broadcast 172.25.0.0
ether 0:14:4f:22:21:21

Similar Messages

  • Dynamic resizing in JDialog using setSize not working properly on solaris

    can anyone help..
    Dynamic resizing in JDialog using setSize is not working properly on solaris, its work fine on windows.
    i have set Jdialog size to setSize(768,364),
    when i dynamically resizing it to setSize(768,575); it doesn't get change but when i move dialog using mouse it gets refreshed.
    this problem is only happening on solaris not on windows.

    Hi,
    It's only an approach but try a call of validate() or repaint() after re-setting the size of your dialog.
    Cheers, Mathias

  • Select() function is not working properly in solaris 10.

    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.
    Thanks a lot.
    Regards,
    Srikanth.

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

  • DataGrid column width is not set properly

    Hi,
            In the below example I has called the OptimizeDataGrid method on Button Click event to resize the Column according to the data. First time of the button click event it called the function whereas the Datagrid Column width alone is not set properly.whereas on second time it is working properly.
    For Eg : In the below statement the text value is coming as 55 and widthPadding is comes as 25. but the sum of these two value is not in the dg.columns[col].width.
    dg.columns[col].width = text + widthPadding;
    But the same is working on the second time of the Button click event. is any help me out to resovle this issue. Thanks in Advance.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        width="100%" height="100%" >
        <mx:Script>
            <![CDATA[
                import mx.utils.ObjectUtil;
                import mx.collections.ArrayCollection;
                import mx.core.UITextField;
                import mx.events.AdvancedDataGridEvent;
                import mx.binding.utils.BindingUtils;
                import mx.controls.Alert;           
                import mx.controls.AdvancedDataGrid;
                import mx.controls.advancedDataGridClasses.*;
                import mx.controls.DataGrid;
                import mx.controls.dataGridClasses.*;
                [Bindable]
                private var dpFlat:ArrayCollection = new ArrayCollection([            
                  {Region:"aabbCC", Territory:"Central Californiaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000}, 
                  {Region:"AAbbcc", Territory:"Nevada",
                      Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000}
                private function optimizeDataGrid(dg:Object,widthPadding:uint = 0,heightPadding:uint = 0):void
                    if ((!dg is DataGrid))
                        return;
                    var col:uint;
                    var colWidth:uint;
                    var tf:TextFormat;
                    var renderer:UITextField;
                    var widths:Array = new Array(dg.columnCount);
                    var height:uint = 0;
                    var dgCol:Object;
                    var text:uint = 0;
                    if (dg.columnCount > 0 && dg.dataProvider != null)
                        for (col = 0; col < dg.columnCount; ++col)
                            widths[col] = 0;
                        for each (var item:Object in dg.dataProvider)
                            for (col = 0; col < dg.columnCount; ++col)
                                renderer = new DataGridItemRenderer();
                                dg.addChild(renderer);
                                dgCol = dg.columns[col];
                                renderer.text = dgCol.itemToLabel(item);
                                widths[col] = Math.max(renderer.measuredWidth, widths[col]);
                                height = Math.max(renderer.measuredHeight, height);
                                dg.removeChild(renderer);
                        for (col = 0; col < dg.columnCount; ++col)
                            dg.addChild(renderer);
                            renderer.text = dg.columns[col].headerText;
                            widths[col] = Math.max(renderer.measuredWidth,widths[col]);
                            dg.removeChild(renderer);
                            text = widths[col];
                            dg.columns[col].width = text + widthPadding;
                        if (height != 0)
                            dg.rowHeight = height + heightPadding;
            ]]>
        </mx:Script>
        <mx:DataGrid id="myADG"
               dataProvider="{dpFlat}" rowCount="{dpFlat.length}" sortableColumns="false">       
                 <mx:columns>
                    <mx:DataGridColumn dataField="Region" />              
                    <mx:DataGridColumn dataField="Territory_Rep" headerText="Territory Rep" />
                     <mx:DataGridColumn dataField="Territory" />
                    <mx:DataGridColumn dataField="Actual" />
                    <mx:DataGridColumn dataField="Estimate" />
                </mx:columns>
       </mx:DataGrid>
       <mx:Button label="click" id="click" click="optimizeDataGrid(myADG,25,5);"/>
    </mx:Application>
    Regards
    Harikumar

    With horizontalScrollPolicy="off" (the default), it is hard to control
    column widths because the columns are sometimes overridden to make sure they
    fit on the screen.

  • TS3899 I'm trying to reply to an email on my iPhone, but I get a message "the recipient was rejected by the server" What have I not set properly?

    I'm trying to reply to an email on my iPhone, but I get the message "the recipient was rejected by the server". What have I not set properly?

    Go to Settings > Mail, Contacts, Calendars > Your Account > Account Name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and enter your email account and password. Make sure things are filled in properly.

  • NLS_LANG not set properly for printing

    Dear all,
    Am setting up pasta for printing using note : How to Setup Pasta Quickly and Effectively (Doc ID 356501.1) 12.0.4 on solaris 10
    a)    Verify the instance’s character set and ensure that the “ICX: Client IANA Encoding” and the “FND: NATIVE CLIENT ENCODING” profiles match the instance’s character set.
    select value from nls_database_parameters
    where parameter = 'NLS_CHARACTERSET';
    AR8MSWIN1256
    b)    Verify that the “Tk2Motif*fontMapCs” parameter within the file Tk2Motif.rgb or Tk2Motif_UTF8.rgb (for UTF8 instances) specifies the correct character set.
    EBS Release 12
    grep MapC $ORACLE_HOME/guicommon/tk/admin/Tk2Motif.rgb
    bash-3.00$ grep MapC $ORACLE_HOME/guicommon/tk/admin/Tk2Motif.rgb
    !Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2
    !Tk2Motif*fontMapCs: iso8859-15=WE8ISO8859P15
    c)    Verify that the NLS_LANG within the Apps listener shows the correct character set.
    grep envs $TNS_ADMIN/listener.ora
    bash-3.00$ grep envs $TNS_ADMIN/listener.ora
                     ( envs='MYAPPSORA=/sets/backup/mar20/appl/MAR19/apps/apps_st/appl/APPSMAR19_setshapps01.env,PATH=/usr/bin:/usr/ccs/bin:/bin,FNDSM_SCRIPT=/sets/backup/mar20/appl/MAR19/inst/apps/MAR19_setshapps01/admin/scripts/gsmstart.sh' )
                     ( envs='EPC_DISABLED=TRUE,NLS_LANG=American_America.AL32UTF8,LD_LIBRARY_PATH=/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib32:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib:/usr/dt/lib:/usr/openwin/lib:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc/native_threads,SHLIB_PATH=/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib32:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib:/usr/dt/lib:/usr/openwin/lib:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc/native_threads,LIBPATH=/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib32:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib:/usr/dt/lib:/usr/openwin/lib:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc/native_threads,APPLFSTT=MAR19,APPLFSWD=/sets/backup/mar20/appl/MAR19/inst/apps/MAR19_setshapps01/appl/admin;/sets/backup/mar20/appl/MAR19/inst/apps/MAR19_setshapps01/appltmp;/sets/backup/mar20/appl/MAR19/apps/apps_st/comn/webapps/oacore/html/oam/nonUix/launchMode/restricted' )The above doesn't reveal my character set properly. is this normal ?.. can I ignore this ?.If I have to change, how to change this ?
    Please advise
    Kai
    Edited by: KaiS on Mar 21, 2010 12:39 AM

    Kai,
    bash-3.00$ grep MapC $ORACLE_HOME/guicommon/tk/admin/Tk2Motif.rgb
    !Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2
    !Tk2Motif*fontMapCs: iso8859-15=WE8ISO8859P15Change the above to:
    Tk2Motif*fontMapCs: iso8859-6=AR8MSWIN1256
    See (Note: 816879.1 - HOW TO CONFIGURE PASTA FOR ARABIC) for details.
    bash-3.00$ grep envs $TNS_ADMIN/listener.ora
    ( envs='MYAPPSORA=/sets/backup/mar20/appl/MAR19/apps/apps_st/appl/APPSMAR19_setshapps01.env,PATH=/usr/bin:/usr/ccs/bin:/bin,FNDSM_SCRIPT=/sets/backup/mar20/appl/MAR19/inst/apps/MAR19_setshapps01/admin/scripts/gsmstart.sh' )
    ( envs='EPC_DISABLED=TRUE,NLS_LANG=American_America.AL32UTF8,LD_LIBRARY_PATH=/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib32:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib:/usr/dt/lib:/usr/openwin/lib:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc/native_threads,SHLIB_PATH=/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib32:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib:/usr/dt/lib:/usr/openwin/lib:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc/native_threads,LIBPATH=/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib32:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/lib:/usr/dt/lib:/usr/openwin/lib:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc:/sets/backup/mar20/appl/MAR19/apps/tech_st/10.1.2/jdk/jre/lib/sparc/native_threads,APPLFSTT=MAR19,APPLFSWD=/sets/backup/mar20/appl/MAR19/inst/apps/MAR19_setshapps01/appl/admin;/sets/backup/mar20/appl/MAR19/inst/apps/MAR19_setshapps01/appltmp;/sets/backup/mar20/appl/MAR19/apps/apps_st/comn/webapps/oacore/html/oam/nonUix/launchMode/restricted' )Change the "NLS_LANG=American_America.AL32UTF8" to "NLS_LANG=American_America.AR8MSWIN1256) -- You could also leave the same line as you should be able to print Arabic with "AL32UTF8".
    Once you are done, bounce all the application services (including the CM) and check then.
    Regards,
    Hussein

  • RTSP packet header information not set properly

    How does the QuickTime Streaming Server set the field "Owner/Creator, Session Id (o):" in the RTSP packet header.
    When analyzing the packets we get "Owner/Creator, Session Id (o): - 58 2721648327 IN IP4 127.0.0.0" which is not our Server's external IP.
    When trying to connect threw a stateful packet inspection firewall, we can't connect to our stream because of the field "o" not being set properly.

    Was there ever a solution to nagardd's original post? I am experiencing the same issue w/ the netmask not being set even though it's setup to do so in /etc/netmasks.
    My /etc/netmasks
    root@fsintntwrkrus1 cat /etc/netmasks
    # The netmasks file associates Internet Protocol (IP) address
    # masks with IP network numbers.
    # network-number netmask
    # The term network-number refers to a number obtained from the Internet Network
    # Information Center.
    # Both the network-number and the netmasks are specified in
    # "decimal dot" notation, e.g:
    # 128.32.0.0 255.255.255.0
    172.25.40.0 255.255.255.0
    *172.25.237.0 255.255.254.0*
    My ifconfig after boot
    root@fsintntwrkrus1 ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    ipge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 172.25.40.10 netmask ffffff00 broadcast 172.25.40.255
    ether 0:14:4f:22:21:20
    ipge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 172.25.237.241 netmask ffff0000 broadcast 172.25.0.0
    ether 0:14:4f:22:21:21

  • Adclonectx.pl throwing classpath is not set properly error

    I recreated the appsutil folder on DB tier and now when I am running the below command to create the context file I am getting error.
    perl adclonectx.pl outfile=E:\R12\11.1.0\appsutil
    The above command is giving error, 'Please ensure that Classpath is set properly'
    Even though I have set the classpath to the below I am getting the error.
    SET CLASSPATH=E:\R12\11.1.0\jdbc\lib\ojdbc5.jar;E:\R12\11.1.0\appsutil\java\xmlparserv2.jar;E:\R12\11.1.0\appsutil\java;E:\R12\11.1.0\jlib\netcfg.jar;E:\R12\11.1.0\jlib\ldapjclnt11.jar
    SET PERL5LIB=E:\R12\11.1.0\perl\5.8.3\lib\MSWin32-X64-multi-thread;E:\R12\11.1.0\perl\5.8.3\lib;E:\R12\11.1.0\perl\site\5.8.3\lib\MSWin32-X64-ulti-thread;E:\R12\11.1.0\perl\site\5.8.3\lib;E:\R12\11.1.0\appsutil\perl

    Sami,
    Are you passing the template in the command as in (R12 adbldxml.pl AutoConfig Tool to Generate the Context File on the Database Tier [ID 1079053.1])?
    If this is a RAC-to-RAC cloning, please see (R12 RAC to RAC cloning fails with 'Please ensure that Classpath is set properly' [ID 966321.1]).
    Thanks,
    Hussein

  • Cannot execute autocheck DISPLAY variable not set Oracle 10g Solaris 10

    Hallo!I am a total Solaris newbie. I am trying to install Oracle 10g on Solaris 10 but when I run the runInstaller,th following error appears
    Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<I have set the display parameters in the oracle user via command
    $ export DISPLAY=joey-solaris:0.0
    The SUNWxwplt is installed.
    How do I resolve this?
    Thanks

    4joey1 wrote:
    xclock can run as root user but not as oracle user
    by doing
    $ export DISPLAY=joey-solaris:0.0
    I think its similar to
    $ DISPLAY=workstation_name:0.0
    $ export DISPLAY
    as shown from your reference http://download.oracle.com/docs/cd/B19306_01/install.102/b15697/app_ts.htm#sthref1226 but still the error appears.
    Thanks.Assuming you are connecting to the solaris box from you workstation via telnet or ssh ...
    Do you have an x-server (such as Exceed or xming) running on your workstation?
    Did you set DISPLAY to the ip of your workstation, not the solaris server?
    DISPLAY is redirecting "x" output to the specified location (your workstation), and there needs to be an x-server running at that location.

  • Have windows 7 w/email address, click on address & firefox says email default not set properly, i say ok, it transfers the email address to yahoo mail, but it always has firefoxhtml after it & i have to delete that portion, help

    I hit ctrl key & click on the email address in windows 7 that I am sending an email to. Firefox gives me the message "Could not perform this operation because the default mail client is not properly installed". I click the OK option & the person's email address appears in yahoo mail ready for me to compose my email, but it always puts FirefoxHTML right after the person's email address & I have to go up & delete that portion. If I forget, the email is returned as error. Please help.

    The "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.
    Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".
    "Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a checkmark.
    You need to remove the checkmark on "Always use private browsing mode" to leave Private Browsing mode or chose the "Remember History" setting.
    *https://support.mozilla.org/kb/Private+Browsing

  • Attachment in DocumentReview Demo Example is not shown properly in Solaris.

    I deployed the DocumentReview Demo Example on Solaris O/S.
    On the Initiate tab of DocumentReview BPEL Process, I specified the following :-
    documentTitle :- Alshaya XLS File
    documentName :- alshaya.xls
    URI :- file:/home/soa/attachments/alshaya.xls
    assignees :- jcooper.
    alshaya.xls file is in /home/soa/attachments folder on Solaris O/S.
    But when I login into the WorkList Application using "jcooper", the attachment (alshaya.xls) file doesn't opens up properly.
    It opens up in some wierd format in IE 6.0 or IE 7.0.
    Please do suggest a proper solution for the same, so that the attachment opens up properly.
    The proplem is with all the extensions (.doc, .xls, .pdf).
    Gopal D. Kalsekar
    M.H. Alshaya Co. WLL.
    Off. Tel. :- 00965-224-3598
    Email :- [email protected]

    The following worked for me in 10.1.3.1, basically the mimeType of the
    attached file needed to be specified in Solaris O/S, Please see the below code :-
    I was calling the BPEL Process from my JSP Page, so had to do the following from JSP :-
    "<Attachment_1Name><![CDATA[" + actualFileName + "]]></Attachment_1Name> " +
    "<Attachment_1CT><![CDATA[" + multi.getContentType(parameterName) + "]]></Attachment_1CT> " +
    "<Attachment_1Present>true</Attachment_1Present> " +
    "<Attachment_1><![CDATA[" + "file:/home/soa/attachments/" + actualFileName + "]]></Attachment_1> ";
    Changes in .bpel file :-
    <copy>
    <from>
    <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
         <taskDefinitionURI/>
         <priority/>
         <title/>
         <payload/>
         <creator/>
         <ownerUser/>
         <identityContext/>
         <attachment>
         <name/>
         <URI/>
         <mimeType/>
         <content/>
         </attachment>     
         <userComment>
         <comment/>
         </userComment>
         <processInfo>
         <domainId/>
         <instanceId/>
         <processId/>
         <processName/>
         <processType/>
         <processVersion/>
         </processInfo>
         <systemAttributes/>
         <systemMessageAttributes/>
         <callback/>
    </task>
    </from>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task"/>
    </copy>
    <switch name="Switch_Attachment_1">
    <case condition="bpws:getVariableData('inputVariable','payload','/ns1:SwipeCardRequest/ns1:Attachment_1Present')= 'true'">
         <bpelx:annotation>
         <bpelx:pattern>Attachment 1 Present</bpelx:pattern>
         </bpelx:annotation>
         <assign name="Assign_Attachment_1">
         <copy>
              <from expression="substring-after(bpws:getVariableData('inputVariable','payload','/ns1:SwipeCardRequest/ns1:Attachment_1Name'),'___')"/>
              <to variable="initiateTaskInput" part="payload"
              query="/taskservice:initiateTask/task:task/task:attachment[2]/task:name"/>
         </copy>
         <copy>
              <from expression="bpws:getVariableData('inputVariable','payload','/ns1:SwipeCardRequest/ns1:Attachment_1CT')"/>
              <to variable="initiateTaskInput" part="payload"
              query="/taskservice:initiateTask/task:task/task:attachment[2]/task:mimeType"/>
         </copy>
         <copy>
              <from expression="ora:readFile(bpws:getVariableData('inputVariable','payload','/ns1:SwipeCardRequest/ns1:Attachment_1'))"/>
              <to variable="initiateTaskInput" part="payload"
              query="/taskservice:initiateTask/task:task/task:attachment[2]/task:content"/>
         </copy>
         </assign>
    </case>
    <otherwise/>
    </switch>
    Thanks,
    Gopal D. Kalsekar
    M.H. Alshaya Co. WLL.
    Off. Tel. :- (965) 224 3598
    Email :- [email protected]

  • Static library not accessed properly after Solaris Kernel patch update !

    Hi,
    We are facing a sever issue in our application after our customer updated the Solaris 10 kernel patch u9 to u10.
    We have two static libraries libdlib.a and libDLIB.a, with exactly same code base, but these two libraries are scattered across the code base and linked by many shared objects in our application.
    However, one of the shared objects that links to "libdlib.a" library tries to access a function from "libDLIB.a". This behavior is causing a crash at a later point, since that shared object is supposed to access the function from "libdlib.a". Moreover, we found this is happening through the use of dbx.
    I'm unable to understand why this problem surfaced after kernel patch update, though still the shared object works fine on Solaris 10 u9 patch.
    Flow is something like this :
    1. syslogrecorder.so gets loaded by one of the processes.
    2. syslogrecorder.so is linked to "libdlib.a" at compile time, so it uses "libdlib.a" function DLIB_LoadLibrary and gets a handle to all the function pointers of the loaded library ( The purpose of DLIB_LoadLibrary is to load a shared library dynamically using dlopen )
    3. syslogrecorder.so tries to do a "dlsym" and to do that it needs access to the library handle which we got in previous call DLIB_LoadLibrary. So syslogrecorder.so calls another function from DLIB_ProcAddress, which actually gives back the access to the loaded shared library.
    Here is a catch in step 3, it is supposed to call DLIB_ProcAddress from the libdlib.a but as we observed from dbx output it does so by calling DLIB_ProcAddress from libDLIB.a and hence fails to give back the access to loaded shared library, causing crash at a later point in code.
    Can someone put some light here that why this could happen ??
    Thanks
    Kuldeep

    To clarify: You did not modify or rebuild any of your binaries, but after installing a kernel patch, the application stopped working. Most likely, something about your application depended on a accidental behavior of the runtime loader. That accidental behavior changed due to the patch, and your application failed.
    For example, if there is a circular dependency among shared libraries, the loader will break the cycle at an arbitrary point to establish an initialization order. By accident, that order might work, in the sense of not causing a problem. A change to the loader could cause the cycle to be broken at a different point, and the resulting initialization order could cause a now-uninitialized object to be accessed. I'm not saying this is what is wrong, but this is an example of a dependency on accidental loader behavior.
    Finding your actual problem will require tracing the sequence of operations leading up to the failure. You are more likely to find help in a Solaris linker forum. AFAIK, there are currently no Oracle forums for Solaris, and the old OpenSolaris forums have been converted to mailing lists. You can try the "tools-linking" list found on this page:
    http://mail.opensolaris.org/mailman/listinfo
    I also suggest you review the paper on best practices for using shared libraries written by Darryl Gove and myself:
    http://www.oracle.com/technetwork/articles/servers-storage-admin/linkinglibraries-396782.html
    If you have a service contract with Oracle, you can use your support channel to get more help.
    Edited by: Steve_Clamage on May 18, 2012 3:21 PM

  • FileLock not working properly in Solaris

    I tried to obtain the lock of a file using
    fileLock = fileChannel.tryLock();
    In Window,
    First called fileChannel.tryLock() on a file and obtained the lock successfully
    Again i tried to obtain the lock of the same file using fileChannel.tryLock() & it returns null (means that lock is already obtained). No problem in windows.
    But In Solaris,
    First called fileChannel.tryLock() on a file and obtained the lock successfully
    Again i tried to obtain the lock of the same file using fileChannel.tryLock() & it again returns the lock successfully which is not the expected behavior. Why is it so?
    Thanks,
    Deepak

    If you are callinf FileLock from within the same JVM, yes it will succeed. The API docs themselves say that it is use for use between processes, not within the JVM, as it is the OS that determines it's behaviour, and on many OSes it is perfectly legal and valid for the same process to request a lock on a file that it already holds.

  • Time offset is not set properly when db is in Eire timezone

    Hi,
    We are using oracle 10g database (10.2.0.4) on Solaris box (sparc) for an enterprise product in Eire timezone. we see Oracle time offset set as "+01:00" for one of the db column whose data type is TIMESTAMP(6) WITH TIMEZONE. As per the Eire timezone, time offset should be
    March 27, 2011 to Oct 30, 2011 --> +01:00
    Oct 31, 2010 to March 26, 2011 --> +00:00
    So time offset set in the oracle db is incorrect. Please let us know whether this is known issue on this db version and any configuration missed in the db.
    Thanks,
    Periyasamy

    With horizontalScrollPolicy="off" (the default), it is hard to control
    column widths because the columns are sometimes overridden to make sure they
    fit on the screen.

  • Can't open document in InfoView, Rights not set properly?

    Hi Experts
    I think somewhere in one of BO's security layers I'm missing something...
    As a general user, with access level: Full Control, I cannot open a document in infoView...
    I get a Cannot open document (Error: INF)
    In the logs i find stuff like:
    .\kbolapp.cpp:1239:long __thiscall BOLApp::OpenDocument(const char *,struct _BOOpenDocStructure &,class BOString &,class BOString &,class BOString &): TraceLog message 1
    2011/09/08 08:16:22.054|>>|E| | 4984|7120| |||||||||||||||Document not yet opentd - open it
    SessionFacade.cpp:400:void __thiscall SessionFacade::checkAppViewRight(const class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 10
    2011/09/12 12:13:54.262|>>|E| | 4984|2836| |||||||||||||||in SessionFacade::checkAppViewRight at SessionFacade.cpp:400: sessInfo.isSystemRightGranted() failed for view right
    SessionFacade.cpp:379:void __thiscall SessionFacade::openSession(class IRepoAccessTypes::SessionSpec &,class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 11
    2011/09/12 12:13:54.293|>>|E| | 4984|2836| |||||||||||||||in SessionFacade::openSession at SessionFacade.cpp:379: got exception: [repo_proxy 13] Application has no view rights
    SessionFacade.cpp:84:void __thiscall SessionFacade::openSession(class IRepoAccessTypes::SessionSpec &,class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 12
    2011/09/12 12:13:54.293|>=|E|X| 4984|2836| |||||||||||||||Uncaught Exception in SilentScope: cdzSessionFacade:openSession: 0.266
    .\kbolapp.cpp:1045:long __thiscall BOLApp::InternalLogon(struct _BOOpenDocStructure &): TraceLog message 13
    2011/09/12 12:13:54.340|>>|E| | 4984|2836| ||||||||||||||| BOLApp::InternalLogon() failed!
    SessionFacade.cpp:400:void __thiscall SessionFacade::checkAppViewRight(const class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 14
    2011/09/12 12:13:54.481|>>|E| | 4984|2836| |||||||||||||||in SessionFacade::checkAppViewRight at SessionFacade.cpp:400: sessInfo.isSystemRightGranted() failed for view right
    SessionFacade.cpp:379:void __thiscall SessionFacade::openSession(class IRepoAccessTypes::SessionSpec &,class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 15
    2011/09/12 12:13:54.481|>>|E| | 4984|2836| |||||||||||||||in SessionFacade::openSession at SessionFacade.cpp:379: got exception: [repo_proxy 13] Application has no view rights
    SessionFacade.cpp:84:void __thiscall SessionFacade::openSession(class IRepoAccessTypes::SessionSpec &,class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 16
    2011/09/12 12:13:54.496|>=|E|X| 4984|2836| |||||||||||||||Uncaught Exception in SilentScope: cdzSessionFacade:openSession: 0.156
    .\kbolapp.cpp:1045:long __thiscall BOLApp::InternalLogon(struct _BOOpenDocStructure &): TraceLog message 17
    2011/09/12 12:13:54.496|>>|E| | 4984|2836| ||||||||||||||| BOLApp::InternalLogon() failed!
    .\kbolapp.cpp:1525:long __thiscall BOLApp::InternalOpenDocument(struct _BOOpenDocStructure &,bool): TraceLog message 18
    2011/09/12 12:13:54.512|>>|E| | 4984|2836| |||||||||||||||BOLApp::InternalOpenDocument ERROR1
    SessionFacade.cpp:400:void __thiscall SessionFacade::checkAppViewRight(const class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 19
    2011/09/12 12:13:54.653|>>|E| | 4984|2836| |||||||||||||||in SessionFacade::checkAppViewRight at SessionFacade.cpp:400: sessInfo.isSystemRightGranted() failed for view right
    SessionFacade.cpp:379:void __thiscall SessionFacade::openSession(class IRepoAccessTypes::SessionSpec &,class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 20
    2011/09/12 12:13:54.668|>>|E| | 4984|2836| |||||||||||||||in SessionFacade::openSession at SessionFacade.cpp:379: got exception: [repo_proxy 13] Application has no view rights
    SessionFacade.cpp:84:void __thiscall SessionFacade::openSession(class IRepoAccessTypes::SessionSpec &,class IRepoAccessTypes::SessionInfo &) throw(class RepoAccessException): TraceLog message 21
    2011/09/12 12:13:54.668|>=|E|X| 4984|2836| |||||||||||||||Uncaught Exception in SilentScope: cdzSessionFacade:openSession: 0.156
    .\kbolapp.cpp:1045:long __thiscall BOLApp::InternalLogon(struct _BOOpenDocStructure &): TraceLog message 22
    2011/09/12 12:13:54.668|>>|E| | 4984|2836| ||||||||||||||| BOLApp::InternalLogon() failed!
    As an administrator I can open the document in InfoView... Bot the general user and teh administrator have Full Controll access level on the folder containing the document...
    Any Ideas ?
    Thanks in advance !
    P
    By the way, when i create a report and I try to open it as the general user, I get a Session is closed message... Again, it works as administrator... What am I doing wrong?
    Edited by: PGeudens on Sep 12, 2011 4:54 PM

    Its definitely a rights issue... Migrated security is a spiderweb...
    I've re-imported everything without the security settings... Where do I start, giving people rights to the reports they need to see??? Don't have any knowledge on Universe security and I think that is the problem...
    Can someone post me all necesary rights one must have to refresh data in a report? It would be nice if you also mention the collection and the type besides the right name...
    Thanks in advance !!
    P

Maybe you are looking for

  • Store report output to blob column

    Hi, I would like to know whether it is possible to execute a report built using Report 10G and store its output, e.g. PDF content, onto a blob column of a table directly? If it's possible, could anyone show me an example in achieving it. Thank you. R

  • SOA Infra is failing to start

    Hi, I'm trying to start soa_server1 and everything starts fine, except soa_infra. I'm using following version of software Database: win32_11gR2_database_1of2.zip win32_11gR2_database_2of2.zip RCU: ofm_rcu_win32_11.1.1.3.3_disk1_1of1.zip Weblogic: wls

  • Webcam and MSN messenger

    I have a MacBook Aluminium version with latest OS software. When using webcam (icam) on MSN messenger through both aMSN and Mercury applications why is the invited contact only able to see a blank screen even though they have accepted my invitation a

  • Adapter Variable creation

    Hi, I have >90 attributes to be passed to the application while provisioning the user. All these attributes are present in the OIM table. I have a doubt... if I have to create all >90 fileds in process form and map to adapter variables OR Is there an

  • Inner join two tables

    Hi Gurus I want to do inner join between two tables to extract customer name kna1.kunnr and kna1.name1 SELECT      FKDAT,  PKUNAG,  NAME1, VRKME, FKIMG, WERKS FROM        S903,KNA1 INNER JOIN KNA1                       ON S903.PKUNAG = KNA1.KUNNR WHE