Force re-inherit of subclassed property?

Hi!
While migrating from 6 to 6i, we notice that the meaning of the maximum length - property of all combo-box items has been changed. All my combo-boxes are subclassed, and now I want to edit the object library and add maximum length as a new property to be subclassed.
I do this, and regenerate all my forms using Project Builder. I then open the property sheet of a combo box, and the old value of the maximum length is still valid, but the property is indicated by a broken ineritance arrow. If I press the "Inherit" button, the new value from the object library is chosen.
How can I do this "re-inheritance" automatically, without having to open the property sheet of all my combo-boxes (several hundred...)?
Ketill

First question is: why do you even want to override a inherited property? Sounds like not a good idea, as if there is something changed in the reference the form overriding this reference doesn't change the behaviour. If you want to override or add some functionality in a referenced program unit an option might be to call a local (not inherited) procedure in the reference. By default this procedure does nothing, but as it's not inherited it can be changed formwise.
As for storing the XML files: I also thought about storing xml files (forms) and pld files (librarys) instead the binary files in our version control system as this would make a lot of things easier; however I opted not to do this as conversion tools might have bugs and you might loose something without noticing it. It makes the whole creating of the local working copy a little bit more complicated as the forms compiler touches the source files; however as your need to do a conversion of xml => fmb when creating the local working copy there already is a step for developers to do when initially checking out. So instead doing xml => fmb just copy all sourcefiles in a (non versioned) temp directory, compile them there and move the fmx/plx/mmx file back to folder under version control.
cheers

Similar Messages

  • Problem with IFCMP60, subclassing, property classes and Object Libraries

    I'm looking to write a little batch script that recompiles all my forms. I've got one off the net - Mine is a little more complicated but I'm basing it on
    FOR %%F in (*.fmb) do call ifcmp60 %%F userid=uname/pwd@dbase batch=YES Window_State=Minimize
    Many of my forms have those items shown on the canvas subclassed using a property class. Those property classes are held in an object library (.olb) and subclassed into the form. the .olb is resident in the same directory as the forms.
    When I run my batch script some forms compile okay but some don't. I've figured out that the ones that don't are the ones like the above - and looking at the .err produced, they fail on the subclassed fields.
    e.g.
    Compilation error on procedure PROCESS_MULTI_QUERY:
    PL/SQL ERROR 49 at line 139, column 33
    bad bind variable 'multi_query.input_file'
    there is a block multi_query with a field input_file and this field uses a property_class subclassed from the object library. So ifcmp60 doesn't realise that ":MULTI_QUERY.INPUT_FILE" refers to the block item. However it is just fine with the other items on the canvas that are not subclassed.
    Anyone else encountered this? Can I fix it without breaking all the subclassing?

    False alarm: A colleague had recompiled the OLB under 10g, so Forms 6i didn't recognise it.

  • Subclassing objects from Object Library

    Hi,
    We have an Object Library that is ever-changing.
    We have several procedures and function in the Object Lib. that
    we subclass in many different forms.
    I expect those subclassed proc/functions to inherit the new
    changes automatically when I re-compile, but I don't see any new
    changes. In fact, the red arrow(subclassed items have red-
    arrows to show that they are subclassed) disappear from the
    subclassed forms.
    I have a source form where I edit/write all the property
    classes, visual attributes, procedures, and functions. Once I
    write/edit them, then, I move(drag) them to object library. Am
    I doing something wrong?

    Once you have an object in the OLB and you dragged it to a form
    it will be marked with a red arrow as subclassed.
    Now if you change the object in the OLB (but keep the previous
    object name, you'll get a replace option message) and save the
    olb, you need to open the form that has the subclassed object
    and re compile it. Make sure the olb is also opened in the forms
    developer. This will make the changes appear in the form's
    object.
    If the arrow disapear then have a look at the subclass property
    of the item in question to see what went wrong.

  • Property Class

    We have used Visual attributes in our forms. Recently we had a few more properties which we wanted to standadise so I created property Class for all the items and add Visual attribute property in the Property Class. When I make changes to the Visual Attribute group the changes are not getting carried forward to the text items subclassed. Even if I change the properties of the property Class it doesn't seem to get carried forward it I have subclassed them.
    If I create a new form and copy the property Class and Visual attribute I can see the changed value but when I subclass they are retaining the same values as assigned on the time of creation.
    Help will be greatly appreciated. Thanks.

    Sudha,
    I have a object Group which has visual attributes, property classes and other things in it. I had a property class which had a Visual Attribute property in it. What we generally do when we create a form is subclass the object group and subclass all the individual items to the Visual attribute. When I created this property class we thought all I would have to do is subclass the item to the property class. When I made changes to the visual attribute this wasn't getting inherited into the items.
    Afetr I posted this message I tried to inherit some basic property and it wasn't inheriting for some reason ( I know for sure that it was able to inherit some properties yesterday) So I tried the same thing from another PC and it seems to work. Looks like I have some problem with my PC.
    I am going to reboot to see it this would make a difference. Thanks for your help.
    null

  • Forms 9i - Compilation on Linux - property class,VA from base form

    Hi all,
    We have got around 400 forms converted from forms 6i to forms 9i.
    We have subclassed property classes and visual attributes to most of the forms from the base form (say std.fmb).
    Now , we need them to be compiled on Unix / Linux for the first time.
    While compiling, we get message "FRM-18108: Failed to load the following objects." but the .fmx file is created.
    We understand that this is due to the reference of the source form as STD and not as std. How to correct this problem but without renaming the form std to STD or having one more copy of that as STD.fmb.
    Please suggest

    Hugo,
    the Forms module can be compiled without having to compile oracle.forms.demos.ProgressBarPJC. Just have the implementation class reference in teh Forms module and use the same jar file.
    Frank

  • Error while deploying SOA composite via ant

    I am getting following error while deploying SOA composite through ant from SOA server (UNIX).It is unable to get mds configuration.
    Jdeveloper is not installed in SOA server.
    I am trying to copy the SOA project from local machine to SOA server and trying to deploy from SOA server.
    Error
    Parse of component type files failed, check the adf-config.xml file : "oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
    MDS-00503: The metadata path "/u01/orasoa/Oracle/Middleware/Oracle_SOA1/integration" does not contain any valid directories.
    I checked /u01/orasoa/Oracle/Middleware/Oracle_SOA1 directory. Integretion directory is not available.
    Am I missing anything?
    *Please advise.*
    build.propeties
    ============
    # build file for HelloWorldComposite
    composite.name=AntScriptDeployPOCService
    # revision of the composite
    composite.revision=1.0
    # Set oracle.home to <JDEV_HOME>/jdeveloper, where <JDEV_HOME> is JDEV # installation directory
    #oracle.home=C:/Oracle/Middleware/jdeveloper
    oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    # soa-server side oracle home directory - needed for deployment plan
    # and the weblogic sca library deployment
    soa.server.oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    ###### Deployment server connection information
    # the admin server connection information
    admin.server.host=10.40.237.106
    admin.server.port=7001
    # the domain where soa infra is installed
    server.domain.name=soa_domain
    # connection information for the managed server, used for soa-deployment
    managed.server.host=10.40.237.106
    managed.server.port=8001
    # User and credentials for the servers
    server.user=weblogic
    server.password=<password>
    # wls server where soa is targeted.
    server.targets=soa_server1
    #local.java.home=C:/Oracle/Middleware/jdk160_14_R27.6.5-32
    local.java.home=/u01/orasoa/Oracle/Middleware/jdk160_14_R27.6.5-32
    Build.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="AntScriptDeployPOCService" default="all">
    <!-- build.properties -->
    <property file="build.properties"/>
    <property name="deploy.dir" value="../deploy"/>
    <!-- Add targets here -->
    <target name="compile-package">
    <property name="sca-inf.classes.dir" value="../SCA-INF/classes"/>
    <mkdir dir="${sca-inf.classes.dir}"/>
    <ant antfile="${oracle.home}/bin/ant-sca-package.xml" target="package" inheritall="false">
    <property name="oracle.home" value="${oracle.home}"/>
    <property name="compositeDir" value="${basedir}/../"/>
    <!-- needed for adf config -->
    <property name="scac.application.home" value="${basedir}/../.."/>
    <!-- name of the composite -->
    <property name="compositeName" value="${composite.name}"/>
    <!-- revision of the composite -->
    <property name="revision" value="${composite.revision}"/>
    <!-- java.passed.home passed to scac, this property will be
    overwritten to the env.JAVA_HOME if such env variable is defined in OS level-->
    <property name="java.passed.home" value="${local.java.home}"/>
              <!--property name="java.passed.home" value="C:/Oracle/Middleware/jdk160_14_R27.6.5-32"-->
    </ant>
    </target>
    <target name="deploy">
    <condition property="deploymentplan.name" value="null">
    <not>
    <isset property="${deploymentplan.name}"/>
    </not>
    </condition>
    <echo>Deploying to http://${managed.server.host}:${managed.server.port}/soa-infra/deployer</echo>
    <ant antfile="${oracle.home}/bin/ant-sca-deploy.xml" target="deploy" inheritall="false">
    <!-- reformat of prop names -->
    <property name="user" value="${server.user}"/>
    <property name="password" value="${server.password}"/>
    <!-- create the url for deployment -->
    <property name="serverURL" value="http://${managed.server.host}:${managed.server.port}/soa-infra/deployer"/>
    <!-- location of the sar -->
    <property name="sarLocation" value="${deploy.dir}/sca_${composite.name}_rev${composite.revision}.jar"/>
    <!-- force overwrite if already there -->
    <property name="overwrite" value="true"/>
    <!-- configplan-->
    <property name="configplan" value="${deploymentplan.name}"/>
    </ant>
    </target>
    <target name="all" depends="compile-package,deploy"/>
    </project>

    Check whether the adf-config.xml file in your app is having proper mds path similar to this:
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config">
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage id="mstore-usage_1">
    <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
    <property value="${oracle.home}/integration"
    name="metadata-path"/>
    <property value="seed" name="partition-name"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    "

  • Error while deleting file

    Hello,
    I want to remove a file from a content area. But when i do that i get th efollowing error message:
    An unexpected error has occurred (WWS-32100)
    An unexpected error has occurred (WWS-32100)
    ORA-1403: ORA-01403: no data found
    ORA-01403: no data found (WWC-36000)
    Unexpected error encountered in wwsec_api.remove_group_acl (ORA-01403: no data found
    ORA-01403: no data found) (WWC-41417)
    Looks familiar to anybody?
    Thanks.

    Set the "Inherit Folder Privilges" property in the access tab of the item property. Once set, you'll then be able to delete it.

  • Date format in XML Forms

    Hi all,
    I already have done my article using XML FORMS. I added into the article the date field that I needed. So, I would like to format the date output in Render List as “dd/mm/yyyy” instead of “mm/dd/yyyy”. It’s possible? Anyone knows how to do it?
    Thanks in advanced,
    Alcides Flach

    Hi,
    By adding in the Additional Metadata parameter the  entry "customFormat=dd.MM.yy", you'll force the display of this property to this format. Look at SAP note 816761 for more info about this.
    Patricio.

  • Struts and validation question ?

    hi,
    i am using the struts framework for my application, i have a simple jsp logon page (username, password)
    i have defined a validtion.xml file
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE form-validation PUBLIC
              "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
              "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
    <!--
        Validation Rules for the Struts Example Web Application
        $Id: validation.xml,v 1.8 2003/05/25 22:51:20 dgraham Exp $
    -->
    <form-validation>
        <!-- ========== Default Language Form Definitions ===================== -->
        <formset>
            <form name="logonForm">
                <field property="username"
                        depends="required, minlength,maxlength">
                    <arg0   key="prompt.username"/>
                    <arg1   key="${var:minlength}" name="minlength"
                       resource="false"/>
                    <arg2   key="${var:maxlength}" name="maxlength"
                       resource="false"/>
                    <var>
                        <var-name>maxlength</var-name>
                        <var-value>16</var-value>
                    </var>
                    <var>
                        <var-name>minlength</var-name>
                        <var-value>3</var-value>
                    </var>
                </field>
                <field property="password"
                        depends="required, minlength,maxlength">
                    <arg0   key="prompt.password"/>
                    <arg1   key="${var:minlength}" name="minlength"
                       resource="false"/>
                    <arg2   key="${var:maxlength}" name="maxlength"
                       resource="false"/>
                    <var>
                        <var-name>maxlength</var-name>
                        <var-value>16</var-value>
                    </var>
                    <var>
                        <var-name>minlength</var-name>
                        <var-value>3</var-value>
                    </var>
                </field>
            </form>
            <form name="registrationForm">
                <field property="fromAddress"
                        depends="required,email">
                    <arg0   key="prompt.fromAddress"/>
                </field>
                <field property="fullName"
                        depends="required">
                  <arg0     key="prompt.fullName"/>
                </field>
                <field property="replyToAddress"
                        depends="email">
                    <arg0   key="prompt.replyToAddress"/>
                </field>
                <field property="username"
                        depends="required">
                  <arg0     key="prompt.username"/>
                </field>
            </form>
        </formset>
    </form-validation>i have also the validation-rules.xml file provided by the struts lib.
    i would like to force the content of 'username' property to be alphabetic.
    i guess i have to create my own element
    <validator name="alphabeticString"...> inside the validation-rules.xml file, but i am newbie in javascript programming.
    i have tree question.
    1) why the validation code inside the validator element is written in javascript since it's not going to be executed at client side???
    2)can i use java instead ? (to code teh validation ...)
    3)has anyone got a code to solve this problem ?
    thanks for your help

    i would like to force the content of 'username' property to be alphabetic.
    i guess i have to create my own element
    <validator name="alphabeticString"...> inside the validation-rules.xml file,
    but i am newbie in javascript programming.Not for something that simple... there's a validator rule called mask, which takes a regular expression as an argument, so if you want only a-z: "[a-zA-Z]*" should work.
    1) why the validation code inside the validator element is written in javascript since it's not going to be executed at client side???It is validated on the client, or can be. You have to include the javascript with the html:javascript tag library tag and specify the form name. Then you need to put the onsubmit="return validateFormName();" attribute in the form tag. If JS isn't supported, it'll still default back to the server side validation.
    2)can i use java instead ? (to code teh validation ...)Don't include the JS stuff.

  • Putting a massive amount of data into a single variable

    I'm running a command to find the amount of space .xar files (it's a Citrix temp file of sort) are using on my organization's main file server. The server itself presents quite a few terabytes of data and all our user's profile folders are there, so we're
    talking about many thousands of folders with a whole mess of files. The command I was using is the following:
    (gci w: -r -force -include *.xar | measure -sum -property Length).Sum
    It took a long time to run, at least 5 hours, but it was finished when I got back to my desk this morning. Turns out we have 63 gigabytes of those .xar files.
    I have a few questions:
    1) Is this the best way to get that info?
    2) If I need to put that command into a variable {$size = (gci w: -r -force ... Length).Sum} to get other info, am I going to kill my poor server's memory?
    Thank you
    [email protected]

    I may need to correlate size across department as sorted by user, or get total number of instances.
    [email protected]
    Is that department / user information all contained in the path to the file, or do you need to do something like query the Owner from NTFS security on the file?
    Here's a quick C# function to search for files and output the full path and size of each to a CSV file.  If this still isn't fast enough, maybe speed can be improved more by using the Win32 API's FindFirstFile / FileNextFile / FindClose functions,
    but I'm not certain how much of a benefit that would give.
    Note:  This code requires at least .NET Framework 4.0, which means PowerShell 3.0.
    Add-Type -TypeDefinition @'
    using System;
    using System.IO;
    using System.Text;
    using System.Collections.Generic;
    public static class FileSearcher
    public static void DumpFileInfoToCsv(string directory, string filter, bool recurse, string csvFile)
    SearchOption searchOption = recurse ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly;
    if (directory == null)
    throw new ArgumentNullException("directory");
    if (csvFile == null)
    throw new ArgumentNullException("csvFile");
    DirectoryInfo dirInfo = new DirectoryInfo(directory);
    if (!dirInfo.Exists)
    throw new DirectoryNotFoundException(directory);
    using (StreamWriter csv = new StreamWriter(csvFile, false, Encoding.UTF8))
    csv.WriteLine("\"Path\",\"Size\"");
    if (string.IsNullOrEmpty(filter))
    filter = "*";
    foreach (FileInfo fileInfo in dirInfo.EnumerateFiles(filter, searchOption))
    csv.WriteLine("\"{0}\",\"{1}\"", fileInfo.FullName, fileInfo.Length);
    [FileSearcher]::DumpFileInfoToCsv('W:\', '*.xar', $true, "$home\XarFiles.csv")
    You could then examine the CSV file at leisure to group and total up sizes however you like. (Remember to convert the CSV's "Size" column from a string to a numeric type first.)

  • Getting Portrait Mode prior to X11 startup and in SLIM

    Hi all,
    I've been on Arch for about a week now and am having a fun time coding on it. I finally got an LCD stand that allows me to swivel my screen to portrait orientation so I suddenly have some great vertical real estate.
    My current setup is Arch Linux -> SLIM -> XFCE4 with X11 configured to run on Intel drivers rather than the standard VESA one. XFCE allows me to rotate my desktop from a simple GUI application. After doing some research, it seems that this is being accomplished by using xrandr - a utility that ships with X.org, which means this rotation is only happening with the benefit of being in an X environment.
    Before X boots up, the Linux terminal is outputting everything to the screen in regular landscape mode. I want to be able to work in portrait mode outside of an X environment (e.g. virtual terminals). I did some Googling and came across this:
    http://www.mjmwired.net/kernel/Document … /fbcon.txt
    It seems that fbcon (frame buffer console) can run a console with the benefit of VGA-driven frame buffer -- which would include screen rotation. Is this something that can be easily configured (e.g. pop open VIM, add a few lines and reboot) or is it far more complex than I think (e.g. rebuilding the Kernel).
    I also noticed SLIM starts up in landscape mode as well. I believe SLIM runs in X environment (correct me if I'm mistaken). It doesn't seem to be an option in SLIM to rotate, so I imagine I could have X start already rotated, in effect causing everything (SLIM, XFCE) to inherit the rotation property. I tried configuring things by creating a "10-monitor.conf" file in /etc/X11/xorg.conf.d/ according to this page:
    https://wiki.archlinux.org/index.php/Xo … r_settings
    ...with the addition of these changes:
    Section "Screen"
    +Option "RandRRotation" "on"
    +Option "Rotate" "CCW"
    EndSection
    Section "Device"
    Option "DRI" "false"
    Option "RandRRotation"
    Option "Rotate" "CCW"
    EndSection
    (ref: http://forums.linuxmint.com/viewtopic.php?f=49&t=26747)
    This did not do the trick for me and I'm still logging in by craning my neck... (just kidding; I swivel it back around).
    I'm somewhat new to Linux so if I miss any details please let me know.
    Any help is greatly appreciated.
    Thanks
    P.S. -- Extra info for my X configuration (to get SLIM rotated):
    /etc/X11/xorg.conf.d/10-monitor.conf file:
    Section "Monitor"
    Identifier "Monitor"
    EndSection
    Section "Device"
    Identifier "Device"
    Driver "intel"
    Option "DRI" "false"
    Option "RandRRotation" "on"
    Option "Rotate" "CCW"
    EndSection
    Section "Screen"
    Identifier "Screen"
    Device "Device"
    Monitor "Monitor"
    DefaultDepth 16
    Option "RandRRotation" "on"
    Option "Rotate" "CCW"
    EndSection
    Full output of Xorg.0.log in Codepad: http://codepad.org/6aM0gTvM
    Last edited by yodafingers (2011-01-13 00:17:15)

    UPDATE: Only solved one of my problems so far (getting virtual terminals to be in portrait mode) by modifying my grub bootlist:
    /boot/grub/menu.lst:
    title Arch Linux (portrait)
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/disk/by-uuid/991f0c73-38a8-444e-b1a4-41105c7d609c ro fbcon=rotate:3,scrollback=2048k
    initrd /kernel26.img
    I made a mistake in the previous post: uvesafb allows you to run the console in full resolution, fbcon rotation seems to be a separate matter.
    Still no luck yet getting SLIM into portrait mode. I tried various things, but it seems that the X Option for "Rotate" is unsupported by the Intel video driver. I chopped out the Device/Monitor/Screen sections from the xorg.conf that is created when you run "Xorg -configure" and tossed that into /etc/X11/xorg.conf.d/10-monitor.conf to no avail...
    /etc/X11/xorg.conf.d/10-monitor.conf:
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
    ### <percent>: "<f>%"
    ### [arg]: arg optional
    #Option "AccelMethod" # [<str>]
    #Option "DRI" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "VideoKey" # <i>
    #Option "FallbackDebug" # [<bool>]
    #Option "Tiling" # [<bool>]
    #Option "Shadow" # [<bool>]
    #Option "SwapbuffersWait" # [<bool>]
    #Option "XvMC" # [<bool>]
    #Option "XvPreferOverlay" # [<bool>]
    #Option "DebugFlushBatches" # [<bool>]
    #Option "DebugFlushCaches" # [<bool>]
    #Option "DebugWait" # [<bool>]
    Identifier "Card0"
    Driver "intel"
    BusID "PCI:0:2:0"
    # Tack on some rotation options
    Option "RandRRotation" "on"
    Option "Rotate" "CCW"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Xorg.0.log full version: http://codepad.org/mrsVi4QW
    Xorg.0.log excerpt:
    [ 14.511] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 14.511] (==) intel(0): DPMS enabled
    [ 14.511] (==) intel(0): Intel XvMC decoder disabled
    [ 14.511] (II) intel(0): Set up textured video
    [ 14.511] (II) intel(0): Set up overlay video
    [ 14.512] (II) intel(0): direct rendering: DRI2 Enabled
    [ 14.512] (WW) intel(0): Option "RandRRotation" is not used
    [ 14.512] (WW) intel(0): Option "Rotate" is not used
    [ 14.512] (--) RandR disabled
    [ 14.512] (II) Initializing built-in extension RANDR
    As you can see, the Intel chipset doesn't like those options so it seems I cannot set them statically using xorg.conf files.
    However, dynamically applying the rotation using xrandr seems to work. For example, I can open up a terminal right now and type `xrandr -o [orientation]` and rotate my screen on the fly. I tried this approach too, seeing if I could sneak in a call to xrandr before SLIM starts up. I was not able to get anywhere with this... I tried calling xrandr in:
    /root/.xinitrc   (I believe this runs when X logs into root)
    /etc/X11/Xsession.d/ (scripts in this directory are supposed to be executed upon X startup)
    None of this did the trick, SLIM still starts up in normal orientation. Has anyone here successfully rotated SLIM, or any login manager for that matter? I'm considering switching over to GDM to see if I have better luck (I believe GDM provides some form of pre-start configuration scripting), but would like to avoid moving to GDM if I can do this with SLIM.
    Any help with this would be hugely appreciated. Thanks
    Last edited by yodafingers (2011-01-13 05:53:09)

  • WCF-WebHttp Adapter issue?

    Hello guys
    I stumble on this problem while I was trying to develop a custom pipeline component that on runtime generates a GUID and affects it to the context and body of the message. That GUID is placed on Http Headers as a boundary (content type)
    and on the message body. What it happens is that, on the first message that I send, everything goes well (header GUID matches body GUID, the service response it’s not important here), after the first message all the following messages on the header will have
    the GUID from the first message that I send thought the port, although everything goes fine on the body. Like this:
    Request #1:
    Header: Content-Type: multipart/mixed; boundary=batch_bead1969-540e-4020-8b47-cf0fbcddef1c
    Body:
    bead1969-540e-4020-8b47-cf0fbcddef1ce
    Request #2:
    Header: Content-Type: multipart/mixed; boundary=batch_bead1969-540e-4020-8b47-cf0fbcddef1c
    Body:
    226dd0f5-501f-4da8-a871-b79e6ac512d0
    Request #3:
    Header: Content-Type: multipart/mixed; boundary=batch_bead1969-540e-4020-8b47-cf0fbcddef1c
    Body:
    98b7e6f9-c229-4a0b-a8f1-cd0c1f3e27e8
    As you can see in red, between multiple requests the GUID is always the same, and it shouldn’t be since on the body is changing correctly. After some analysis we realized that the problem was with the property “HttpHeaders” (WCF property
    schema), where we are writing the “content-type” in our custom pipeline component. It seems that for some reason the value of this property ain’t properly read after a first message went thought successfully.
    Why do I say successfully? Well…
    If there’s an error on send the message and the message gets dehydrated or suspended, the HttpHeaders seems to be “reseted” and read again, and everything goes as it should.
    If the message went to successfully regardless of the response, the issue that I describe will happen.
    Restarting the host instance seems to have no effect.
    Sometime after the first message went thought successfully, HttpHeaders seem to be “reseted” and read again. Although I don’t know how much time, at least something above 15min.
    Stop\Start the send seems to force an “reset” on the property.
    Just to make clear some eventual questions, HttpHeaders is correctly written into context before entering the adapter, after the message went thought the adapter, we can see on fiddler that the message isn’t as it should.
    I did some code to replicate this issue, and my Execute method on pipeline goes like this:
    public Microsoft.BizTalk.Message.Interop.IBaseMessage Execute(IPipelineContext pContext, Microsoft.BizTalk.Message.Interop.IBaseMessage pInMsg)
    Stream inMsgBodyStream = pInMsg.BodyPart.GetOriginalDataStream();
    pInMsg.Context.Write("HttpHeaders", "http://schemas.microsoft.com/BizTalk/2006/01/Adapters/WCF-properties",
    "content-type: multipart/mixed; boundary=batch_" + Guid.NewGuid().ToString());
    return pInMsg;
    I also try this behavior with the classic HTTP adapter, although another issues were raised, the fact is that Http Headers are correctly read between requests, so as far as we can tell this just happens with this adapter.
    Does anybody had similar issue? So far I haven’t found a solution.
    PS: I’m using Biztalk 2013 RTM
    Thanks

    Hey, someone else reported a similar issue with the WCF-WebHttp adapter for BizTalk 2013 - see this thread:
    http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/e477ad7a-505c-4f86-9556-8075d747e447. I will report your finding to Microsoft support.
    Thanks,
    If this answers your question, please use the "Answer" button to say so | Ben Cline

  • Question about inheritance

    I'm attempting to write Monopoly and I'm having some inheritance problems. Every space on the board is first and foremost of type BoardSpace however some of them are of type Property which extends BoardSpace and some are of type Chance/Community which also extend BoardSpace etc. Depending on what type of space it is something different happens. Right now heres how a couple of classes look. I'm having a problem where if I land on a space that doesn't define its own action method, it defaults to the BoardSpace action method as it should yet it goes into that if statement even when it clearly shouldn't be. Like if I land in jail, it will still go into that if statement, and it will print Jail (3 times). Is this something funky with inheritance?
    BoardSpace:
    public class BoardSpace extends JPanel
         Location loc;
         String name;
         public BoardSpace(String s, Location l)
              loc = l;
              name = s;
         public void action(Player p)
              if(name.equals("Go"));//If name is "go" how can it also be "jail" ?
                   System.out.println(name);
                   System.out.println(this.name);
                   System.out.println(p.spot.name);
                   p.money+=200;
    }Property:
    import javax.swing.*;
    public class Property extends BoardSpace
         Player owner = null;
         public Property(String s, Location l)
              super(s,l);
         public void action(Player p)
              if(owner!=null && owner!=p)
                   JOptionPane.showMessageDialog(this,"You landed on "+this.name+".\n This property is owned by Player" +owner.number+".\n You owe $5");
              else
                   JOptionPane.showInputDialog("Buy?");
    }

    duckbill wrote:
    Hint: you can launch JOptionPane dialogs without a single panel, frame etc...
    #You can also launch dialogs with panels, frames, etc... but without subclassing Property from JPanel
    Edited by: DrLaszloJamf on Oct 3, 2007 12:42 PM

  • Reg. METHOD redefnition

    Hi,
    I tried to inherit a subclass from super class. In se38, i created supercalss and subclasses as local classes. Here in subclass, the system was expecting the keyword REDEFINITION while resuing the same method in the subclass.
    But when i do the same thing in SE24 for creating a Global Class, the system was not asking to redefine the method.
    Can anyone tell me what could the difference?
    Regards,
    Prabu

    Hi Marcin,
    Thanks for your response.
    I still have the same doubt.
    See the following code, i ahve used the only method DISPLAY in both superclass and subclass. Here if i remove the keyword REDEFINITION from the subclass. I am getting the error as " method DISPLAY as already been declared "
    class lc_superclass DEFINITION.
      PUBLIC SECTION.
      METHODS : display.
    ENDCLASS.
    CLASS lc_superclass IMPLEMENTATION.
      METHOD display.
      ENDMETHOD.
    ENDCLASS.
    CLASS lc_subclass DEFINITION INHERITING FROM lc_superclass.
      PUBLIC SECTION.
      METHODS : display REDEFINITION.
    ENDCLASS.
    CLASS lc_subclass IMPLEMENTATION.
      METHOD display.
      ENDMETHOD.
    ENDCLASS.
    Can you please correct if i am wrong.
    Regards,
    Prabu

  • Blocking by too many (100) connections used

    Oracle9iAS (9.0.3.0.0) Containers for J2EE (build 020927.1699)
    I have a container managed transaction and within it I get several connections from an emulated datasource. These connections are supposed to be created within the scope of the transaction and in fact they are.
    The problem takes place when the transaction has many actions to perform and OrionCMTDataSource seems to block at 100. This is tested through the following command:
    java -jar admin.jar ormi://localhost admin *** -application default -dataSourceInfoDataSource info:
    com.evermind.sql.DriverManagerXADataSource/default/jdbc/xa/OracleXADS - cached:
    4 used: 1 total: 5
    com.evermind.sql.OrionPooledDataSource/default/jdbc/OraclePooledDS - cached: 0 u
    sed: 0 total: 0
    com.evermind.sql.OrionCMTDataSource/default/jdbc/OracleDS - cached: 0 used: 100
    total: 100
    Is there a limit of 100 connections defined anywhere?
    Is it configurable?
    Why does OC4J block if number 100 is reached?
    Isn't ejb-location (which i'm using) not supposed to be pooled?
    Any help would be appreciated. My data-source follows:
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
    location="jdbc/OracleCoreDS"
              pooled-location="jdbc/OraclePooledDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
    username="1234"
    password="1234"
    url="jdbc:oracle:thin:@systelab.izasa.es:1521:matrix"
    min-connections="5"
    max-connections="10"
    stmt-cache-size="200"
              inactivity-timeout="30"
         >
                   <property name="cacheScheme" value="FIXED_WAIT_SCHEME"/>
         </data-source>
    Thanks in advance.

    1) Are you using ejb-location for your lookup? If
    not, could you try that?Yes, I am always using ejb-location as was mentioned on the first message.
    2) Could you try the non-emulated data source
    instead?Ok. I've tried the non-emulated data source.
    It forces me to remove the property from data-sources.xml:
    <property name="cacheScheme" value="FIXED_WAIT_SCHEME"/>
    Running the same blocking code with the non-emulated data source causes:
    javax.ejb.NoSuchObjectLocalException: Session has timed out
    at com.evermind.server.ejb.StatefulSessionEJBObject.throwLocalPassivisat
    ionException(StatefulSessionEJBObject.java:213)
    at RequestSession_StatefulSessionBeanWrapper2.getList(RequestSession_StatefulSessionBeanWrapper2.java:1508)
    which is strange as there is no session timeout error when using the emulated data source.
    Maybe some additional details about the bean implementation will help. The SFSB has a member which has a Connection member. This could be dangerous, but I see no problem with it as calls to the bean always force creating and closing a new connection (so, an open connection is maintained just within a single call to the bean).
    Also, I do not understand the passivation exception. I see no need for the bean to be passivated immediately after call.
    I also got dataSourceInfo after exception:
    java -jar admin.jar ormi://localhost admin admin -application default -dataSourceInfo
    DataSource info:
    com.evermind.sql.OrionCMTDataSource/default/jdbc/OracleCoreDS - cached: 0 used: 0 total: 0
    com.evermind.sql.DriverManagerXADataSource/default/jdbc/xa/OracleXADS - cached: 4 used: 1 total: 5
    com.evermind.sql.OrionPooledDataSource/default/jdbc/OraclePooledDS - cached: 0 used: 0 total: 0
    com.evermind.sql.OrionCMTDataSource/default/jdbc/OracleDS - cached: 0 used: 2 total: 2
    I have performed an additional test on this issue. I changed SFSB for SLSB. I did this before, with emulated data source, and nothing changed. Different behaviour now:
    ***Creating new Instance of SessionBean
    ***Creating new Instance of SessionBean
    ***Creating new Instance of SessionBean
    ***Creating new Instance of SessionBean
    javax.ejb.EJBException: Transaction was rolled back: javax.transaction.SystemException: com.evermind.transaction.MarshallingXAException: Error closing connection for this TX: calling setAutoCommit(true) is not allowed on a container-managed transactions Connection
    at RequestSession_StatelessSessionBeanWrapper8.getList(RequestSession_StatelessSessionBeanWrapper8.java:1431)
    I do not explicitly call setAutoCommit on my code, so I assume the call is implicit.
    Getting dataSourceInfo again:
    java -jar admin.jar ormi://localhost admin admin -application default -dataSourceInfoDataSource info:
    com.evermind.sql.OrionCMTDataSource/default/jdbc/OracleCoreDS - cached: 0 used:0 total: 0
    com.evermind.sql.DriverManagerXADataSource/default/jdbc/xa/OracleXADS - cached:1 used: 4 total: 5
    com.evermind.sql.OrionPooledDataSource/default/jdbc/OraclePooledDS - cached: 0 used: 0 total: 0
    com.evermind.sql.OrionCMTDataSource/default/jdbc/OracleDS - cached: 0 used: 8 total: 8
    Thanks for help.
    Modulab

Maybe you are looking for

  • 5.0 free reader download

    I need help. My computer crashed and I lost everything. I'm trying to re-download everything. I have a Compaq with Windows 98 2nd Edition. I THINK I had Adobe 5.0, but can't remember for sure. I installed it when my computer was new back in 2000 and

  • Displaying remote panel on different screens with different screen resolution

    Hi I am running a vi on the PXI . But when i try to open the remote panel it gets shifted on different screens with different screen resolution. I have tried to set the windows run time position using the vi properies but to no avail. Can anyone help

  • Want to refresh table S032

    Hi Gurus, I would like to refresh the table S032 as it has got negative valuated stock,could you plz please provide me the function module which refreshes the tableS032. Thanks a lot in advance.

  • OSB - Setting http Authorization header with Proxy Service

    Hi, I have the following scenario: PS1 -> PS2 -> BS (with a SA configured to pass through) I need to set the Authorization http header based on some information in payload, so: PS1 receives the payload and route to PS2, where username/password are ex

  • Event on Equipment Change/Creation

    Dear SDN, unfortunately I haven't found any response for this question on this forum so far. Our business needs an IDoc Outbound to be generated every time an Equipment is Created or Changed. (this is a customized IDoc) All the IDoc configuration and