O/R mapping tool with WebLogic

Hi
What is the most popular O/R mapping tool used with WebLogic - TopLink? CocoBase?
Anything else?
Also, does anyone have market share numbers for this tool, e.g. out of the total
number of O/R tools used with WebLogic, XYZ's share is 75%.
Thanks in advance!
Ashish Ray

(from toplink support)
Andrew,
Hi there. I've performed some research regarding
your question, and it appears that having an
"automatic" 1:1 indirect relationship between an EJB
2.0 Entity Bean and a dependent Java object is not
currently supported by TopLink. Examining the
documentation, this non-support unfortunately isn't
documented. I have entered a feature request on your
behalf so that we might be able to support it in a
future major version of TopLink.
However, there are a couple of alternatives which
you can use:
1) We do support non-indirect 1:1 relationships
between an EJB 2.0 Entity Bean and a dependent Java
object. You could disable indirection, and maybe
make the relationship a batch read relationship so
that your performance will not be degraded.
2) You can write a concrete getter and setter, and
provide an instance variable on the entity bean for
your dependent object of type ValueHolderInterface.
Provide the private getters and setters for set and
get -Holder. Map this normally using TopLink, and
make sure Indirection is specified in the Mapping
Workbench.
IMPORTANT: TopLink will handle the normal
persistence management for this relationship,
however you will need to handle the merging back of
this object yourself (you had to do this in EJB 1.1
in TopLink as well). Luckily there are good docs on
this, and it's covered in detail - look at the
TopLink for WebLogic documentation : Runtime
Considerations > Managing dependent objects.
Personally, I would implement solution 1) with batch
reading on the attribute, because the dependent
object shouldn't be that "big" (otherwise it would
be an entity bean). This is an easier solution,
however you should investigate 2) fully yourself.

Similar Messages

  • Problems with Mapping Tool in Tutorial

    Hello,
    I am having problems with section 2.3 in the tutorial, even with the
    completed solutions of the tutorial. In particular, I cannot add Rabbit
    and Snake to the petshop. I get the following errors:
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>javac *.java
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>jdoc package.jdo
    578 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Animal".
    907 INFO [main] kodo.Tool - The class is already persistence capable -
    no enhancement performed.
    907 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Dog".
    907 INFO [main] kodo.Tool - The class is already persistence capable -
    no enhancement performed.
    907 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Rabbit".
    985 WARN [main] kodo.Enhance - Type "class tutorial.Rabbit" has no
    metadata; enhancing as persistence aware. If you intended for "class
    tutorial.Rabbit" to be persistence-capable, then this means that Kodo
    could not find any JDO metadata for "class tutorial.Rabbit". This can
    happen if the directory containing your metadata is not in your CLASSPATH,
    or if your JDO metadata files are not named in accordance with the JDO
    specification. See the Metadata Placement section of the Java Data Objects
    documentation distributed with Kodo JDO for more information.
    985 INFO [main] kodo.Tool - The class does not have JDO metadata -
    enhanced as persistence-aware.
    1063 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Snake".
    1094 WARN [main] kodo.Enhance - Type "class tutorial.Snake" has no
    metadata; enhancing as persistence aware. If you intended for "class
    tutorial.Snake" to be persistence-capable, then this means that Kodo could
    not find any JDO metadata for "class tutorial.Snake". This can happen if
    the directory containing your metadata is not in your CLASSPATH, or if
    your JDO metadata files are not named in accordance with the JDO
    specification. See the Metadata Placement section of the Java Data Objects
    do
    cumentation distributed with Kodo JDO for more information.
    1094 INFO [main] kodo.Tool - The class does not have JDO metadata -
    enhanced as persistence-aware.
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>mappingtool -action refresh
    package.jdo
    3812 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Animal" with action "refresh".
    4047 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal" or its schema since it was last mapped, or
    the mapping you defined is invalid: "The table "ANIMAL" specified in the
    mapping for type "tutorial.Animal" does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.<version-indicator>" or its schema since it
    was last mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for the version indicator on type
    "tutorial.Animal.<version-indicator>" is missing or names a column
    "JDOVERSION" that does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.<class-indicator>" or its schema since it
    was last mapped, or the mapping you defined is invalid: "The
    "class-column" attribute/extension for the class indicator on type
    "tutorial.Animal.<class-indicator>" is missing or names a column that does
    not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.name" or its schema since it was last
    mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for field "tutorial.Animal.name" is missing or names a
    column "NAME0" in table "ANIMAL" that does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.price" or its schema since it was last
    mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for field "tutorial.Animal.price" is missing or names
    a column "PRICE" in table "ANIMAL" that does not exist."
    4078 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Dog" with action "refresh".
    4078 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Rabbit" with action "refresh".
    Exception in thread "main" kodo.meta.JDOMetaDataNotFoundException: No JDO
    metadata was found for type "class tutorial.Rabbit". Ensure that your JDO
    metadata files are accessible via resource lookup at runtime (typically
    this means they must be in your CLASSPATH), and that they are located in
    one of the JDO standard locations.
    at
    kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.java:131)
    at
    kodo.meta.DelegatingJDOMetaDataRepository.getMetaData(DelegatingJDOMetaDataRepository.java:123)
    at
    kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:161)
    at kodo.jdbc.meta.MappingTool.refresh(MappingTool.java:576)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:909)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:850)
    at kodo.jdbc.meta.MappingTool.main(MappingTool.java:783)
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>

    It sounds like your CLASSPATH is not set up correctly. Did you follow
    the instructions in the README for setting up your environment?

  • Differentiating Between Windows XP and Windows XP Embedded with MAP Tool

    Hi All,
    I have a customer who has multiple Windows XP Embedded Thinclients.  When he runs the MAP tool they show up as Windows XP devices.  I have personally not seen this yet since he hasn't shared the MAP data yet but does anyone know if the MPA tool
    can differentiate between Windows XP desktops and Windows XP embedded Thinclients or are they all lumped together?  Does the MAP tool show for example versioning that might help differentiate?   Any help would be greatly appreciated.

    When queried by MAP, the WMI service in the Windows XPe machines are reporting back as “Microsoft Windows XP Professional” and since MAP can only report what WMI tells it, that is what shows up in the reports. This is an artifact of Windows XPe because it
    starts out as a full version of XP Pro and then each OEM can choose what parts they want to remove, if any. If the OEMs don’t modify the WMI class to show the product as XP Embedded, it will continue to show up with its original description of Windows XP Professional.
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • Anyone able to run SOAP over SSL with Weblogic 5.1 and without purchasing third party tools???  If so, how???

    Anyone able to run SOAP over SSL with Weblogic 5.1??? If so, how??? And
    without purchasing third party tools??? Thanks.
    -Freddie

    Anyone able to run SOAP over SSL with Weblogic 5.1??? If so, how??? And
    without purchasing third party tools??? Thanks.
    -Freddie

  • Problem with weblogic deployment descriptor tool (DDInit)

    Hi,
    I'm just playing with weblogic ... following their tutorual but I can't seem to run their deployment descriptor tool:
    java weblogic.ant.taskdefs.war.DDinit <folderName> gives me a NoClassDefFoundError.
    I have weblogic6.0sp1 installed with an evaluation license which has not yet expired. I have d:\bea\wlserver6.0sp1\lib in mt classpath so weblogic.jar is n there.
    When I check out the contents of the weblogic.jar file .. I can't seem to find this tool.
    Can anyone give me a clue as to what I am doing wrong?

    Here's a link describing the process. If this is what you are doing then your problem may be that 6.0 doesn't support this.
    http://edocs.bea.com/wls/docs61/programming/packaging.html#pack004

  • Issue while integrating external LDAP with weblogic

    Hi,
    i am trying integrating external LDAP (OpenLdap) with weblogic 10.3. I created a provider and provided required credentials and able to see users and group of the LDAP into the weblogic console. I am also able to login in the weblogic console with the users available in the LDAP after assigning the admin role to the ldap group. But i when i see the user's property (by clicking on the user in the admin console) it only shows the tabs for General, Password and Group only. on the other hand if i see the users from DefaultAuthenticator, it shows the Attribute tab apart from the General, Password and Group.
    Can anyone let me knwo how can we get the Attribute tab for the Ldap users.
    thx,
    Ajay

    Hi Ajay
    By default Weblogic has READ ONLY adapters for any External Security Providers that are configured like any AD Providers. READ ONLY means, you can only read the data from the ldap but not modify it, hence may be its not showing the Attributes tag. For Default Authenticator, see the first paragraph note in Attributes tab, that says the same thing. NOW, may be WLS can atleast show Attributes in READ only format, but it needs some sort of mappings to be defined. Say on Weblogic side, we have like firstName, lastName which on any typical AD will be like sn (surname = lastname), givenname (firstname) etc etc. This mapping is tough to generalize.
    One thing for sure is, from Weblogic you cannot modify or edit any attributes for any user in external AD. If you really want to get those attributes, you may need to use some javax.ldap apis or some 3rd party ready to use tools/apis. I remember Weblogic Portal has a facility to configure a xml file that defines attributes mapping and get all attributes for any user. But again thats in Weblogic Portal product and not part of weblogic server.
    If you have any SOA Software, they have some utilities for the same.
    Thanks
    Ravi Jegga

  • IIS configuration with Weblogic 10gR3

    Hi All,
    We are using IIS 6.0 as the proxy server in our portal application. The portal server is Weblogic 10gR3. I have followed some documents to configure it. (http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs103
    /plugins/isapi.html). But I am not able to configure that. Can any body help me in configuring IIS server as a proxy server.
    Thanks & Regrads
    Abani R. Behera

    Configure IIS Plug-in with Weblogic Server
    1. Make a directory on the IIS box for the plug-in.
    For instance: c:\Inetpub\WLS_IIS_Plugin\
    2. Copy iisforward.dll and iisproxy.dll to this new directory.
    These files are located at:
    10.0: \wlserver_10.0\server\plugin\win\32
    10.3: \wlserver_10.3\server\plugin\win\32
    3. To install iisforward.dll as an ISAPI filter, do the following:
    Go to Start->Administrative Tools->Internet Information Services
    (IIS) Manager
    In the left pane, drill down to the active website
    (like "Default Web Site")
    Right-click the active website and select Properties
    Select the ISAPI Filters tab and press the Add button
    Filter name: WLS IIS Plugin
    Or whatever you want
    Executable: C:\Inetpub\WLS_IIS_Plugin\iisforward.dll
    Or whatever path you created
    Press OK twice
    IIS6 does not allow the iisforward.dll ISAPI Extension to run by default.
    To enable:
    In the left pane of the Internet Information Services (IIS) Manager,
    click on Web Service Extension (located under the computer name)
    In the right pane, highlight All Unknown ISAPI Extensions and press
    the Allow button
    4. To map .wlforward to use iisproxy.dll, do the following:
    a. In the left pane, drill down to the active website (like
    "Default Web Site")
    b. Right-click the active website and select Properties
    c. Select Home Directory tab
    d. Click the Configuration... button.
    e. In the Application Mapping tab, click the Add... button.
    a. Executable: C:\Inetpub\WLS_IIS_Plugin\iisproxy.dll
    b. Extension: .wlforward
    f. Uncheck Verify that file exists
    g. IMPORTANT: Ensure .wlforward is not mapped to iisforward.dll.
    While this seems intuitive, it is wrong. .wlforward maps to
    iisproxy.dll.
    h. Press OK three times
    i. Exit the IIS Manager MMC console.
    5. Create a text file named iisproxy.ini and place it in the plug-in
    directory (e.g. c:\Inetpub\WLS_IIS_Plugin\iisproxy.ini)
    iisproxy.ini
    WebLogicCluster=localhost:7001,localhost:7003
    WlForwardPath=/
    Debug=ALL
    DebugConfigInfo=ON
    WLLogFile=c:/temp/iisproxy.log
    6. Restart IIS using the following CLI statement: iisreset /restart
    7. Use a browser to access IIS. This will 'turn on' the IIS->WLS
    ISAPI filter.
    8. Relaunch the IIS Manager and check the ISAPI filter tab to ensure
    the iisforward.dll is now 'turned on', as evidenced by a green arrow.

  • Bug in exists() function of XI Graphical Mapping Tool?

    Hi!
    If I connect a source field with the exists() function in XI Graphical Mapping Tool and the tag exists it returns TRUE, otherwise it returns FALSE, so everything works as expected.
    But I have to connect a user-defined function with exists(). The user-defined function will either calculate a value or set Resultset.SUPPRESS.
    If there is a value the exits() function returns TRUE, however if Resultset.SUPPRESS is set it does also return TRUE! This looks to me like a bug in exists() function. Shouldn't it always return FALSE if the input is Resultset.SUPPRESS?
    Regards, Tanja

    Hi Stefan!
    > The exists() function checks, if a queue is empty.
    > An empty queue is <b>not</b> represented by the
    > SUPPRESS value.
    > If inside a queue there is a SUPPRESS value, the
    > queue is <b>not</b> empty.
    Ok, so it's not a bug and the exists() function is working as expected.
    > If you want the exist() function after a UDF, provide
    > an empty queue, or easier: return the values "true"
    > or "false" directly from the UDF.
    Yes, that's how I actually solved the problem. The UDF was used at several places where the ResultList.SUPPRESS output was needed. So I copied the UDF and changed it so that the output was TRUE or FALSE instead.
    Regards, Tanja

  • Deploy web application in jbuilder 9 with weblogic 7 problem

    when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
    where options include:
    -help Print this help message.
    -version Print version information.
    -adminurl <https://<server>:<port>> The URL of the administration server: default
    http://localhost:7001
    -user <user> A user other than the default of
    "installadministrator"
    -password <password> Specifies the password on the command line.
    If this option is absent the user is
    prompted.
    -verbose Displays additional status during the
    deployment process, including notifications
    when the application is prepared and
    activated on each target.
    -debug Displays debug level messages to the standard
    output.
    -examples Display example usage of this tool.
    -upload Causes the specified source file(s) to be
    transferred to the adminstration server. This
    is used when the Deployer tools is not being
    used on the same machine as the adminstration
    server and the user does not otherwise have
    access to place the targeted files on the
    adminstration server.
    -delete_files Causes the server to remove the files that
    are specified in the file list and leave the
    application activated. This option is valid
    only for unarchived web applications.
    -remote Signals that the tools is not runnning on the
    same machine as the adminstration server and
    that the source path should be made passed
    through unchanged as it represents the path
    on the remote server.
    -nostage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged and the
    original source is be used.
    -external_stage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged but the
    value of the staging path will be used when
    preparing the application.
    -stage Sets the stagingMethod staging attribute on
    the application when it is created so that
    the application will always be staged. This
    value will override the stagingMethod
    attribute on any targeted servers.
    -nowait Once the action is initiated the tool will
    print the task id and exit. This is used to
    initiate multiple tasks and then monitor them
    later using the -list action.
    -timeout <seconds> The maximum time in seconds to wait for the
    completion of the deployment task. When the
    time expires the current status is printed
    and the program exits.
    -source <archive file or directory> Location of the file or directory that
    represents the enterprise component or
    application tha is being (re)activated. If
    the source file is relative it is relative to
    the current directory, unless the -remote
    option is used. To specify individual files
    within an application for reployment or
    addition list them at the end of the command
    line.
    -name <application name> The name of the application being deployed.
    -targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
    cluster names. Each target may be qualified
    with a J2EE component name. This enables
    different components of the archive to
    deployed on different servers.
    -id <task identifier> Optional client supplied unique identifier
    for the deployment task. The id is first
    specified to -activate, -deactivate,
    -unprepare or -remove. It is then used later
    as an argument to -cancel or -list.
    -activate (Re)activates the <source> application on the
    <targets> with the <name>.
    -deactivate Deactivates the application <name> on the
    <targets> leaving an staged application files
    in a state where the may be quickly
    reactivated.
    -unprepare Deactivates and unloads classes for the
    application <name> on the <targets> leaving
    an staged application files in a state where
    the may be quickly reloaded.
    -remove Deactivates the application <name> on the
    <target> and removes any files that were
    staged for this application. If there are no
    longer any targets for the application, the
    associated configuration is completely
    removed.
    -cancel Atempts to cancel the task <id> if it is has
    not yet completed.
    -list Lists the target status of each task <id>
    -deploy a convenient alias for activate.
    -undeploy a convenient alias for unprepare.
    Optionally a list of the specific files in the archive that are to be
    redeployed may be specified. If a directory is specified the entire subtree is
    redeployed.
    Full documentation on this tool is available at:
    http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
    No actions was specified. Please specify one and only one of:
    -activate, -deactivate, -cancel, -remove, -unprepare, or -list.
    Type java weblogic.Deployer -examples for example usage.

    you use "deploy" under DOS-Mode to deploy your web application?
    i found some differences between "deploy" and "redeploy" function in jbuilder 9.
    when i choose "deploy" ,jbuilder shows me the commond below:
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility

  • Has anyone used JAAS with WebLogic?

    Has anyone used JAAS with Weblogic? I was looking at their example, and I have a bunch of questions about it. Here goes:
    Basically the problem is this: the plug-in LoginModule model of JAAS used in WebLogic (with EJB Servers) seems to allow clients to falsely authenticate.
    Let me give you a little background on what brought me to this. You can find the WebLogic JAAS example (to which I refer below) in the pdf: http://e-docs.bea.com/wls/docs61/pdf/security.pdf . (I believe you want pages 64-74) WebLogic, I believe goes about this all wrong. They allow the client to use their own LoginModules, as well as CallBackHandlers. This is dangerous, as it allows them to get a reference (in the module) to the LoginContext's Subject and authenticate themselves (i.e. associate a Principal with the subject). As we know from JAAS, the way AccessController checks permissions is by looking at the Principal in the Subject and seeing if that Principal is granted the permission in the "policy" file (or by checking with the Policy class). What it does NOT do, is see if that Subject
    has the right to hold that Principal. Rather, it assumes the Subject is authenticated.
    So a user who is allowed to use their own Module (as WebLogic's example shows) could do something like:
    //THEIR LOGIN MODULE (SOME CODE CUT-OUT FOR BREVITY)
    public class BasicModule implements LoginModule
    private NameCallback strName;
    private PasswordCallback strPass;
    private CallbackHandler myCB;
    private Subject subj;
             //INITIALIZE THIS MODULE
               public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
                      try
                           //SET SUBJECT
                             subj = subject;  //NOTE: THIS GIVES YOU REFERENCE
    TO LOGIN CONTEXT'S SUBJECT
                                                     // AND ALLOWS YOU TO PASS
    IT BACK TO THE LOGIN CONTEXT
                           //SET CALLBACKHANDLERS
                             strName = new NameCallback("Your Name: ");
                             strPass = new PasswordCallback("Password:", false);
                             Callback[] cb = { strName, strPass };
                           //HANDLE THE CALLBACKS
                             callbackHandler.handle(cb);
                      } catch (Exception e) { System.out.println(e); }
         //LOG THE USER IN
           public boolean login() throws LoginException
              //TEST TO SEE IF SUBJECT HOLDS ANYTHING YET
              System.out.println( "PRIOR TO AUTHENTICATION, SUBJECT HOLDS: " +
    subj.getPrincipals().size() + " Principals");
              //SUBJECT AUTHENTICATED - BECAUSE SUBJECT NOW HOLDS THE PRINCIPAL
               MyPrincipal m = new MyPrincipal("Admin");
               subj.getPrincipals().add(m);
               return true;
             public boolean commit() throws LoginException
                   return true;
        }(Sorry for all that code)
    I tested the above code, and it fully associates the Subject (and its principal) with the LoginContext. So my question is, where in the process (and code) can we put the LoginContext and Modules so that a client cannot
    do this? With the above example, there is no Security. (a call to: myLoginContext.getSubject().doAs(...) will work)
    I think the key here is to understand JAAS's plug-in security model to mean:
    (Below are my words)
    The point of JAAS is to allow an application to use different ways of authenticating without changing the application's code, but NOT to allow the user to authenticate however they want.
    In WebLogic's example, they unfortunately seem to have used the latter understanding, i.e. "allow the user to authenticate however they want."
    That, as I think I've shown, is not security. So how do we solve this? We need to put JAAS on the server side (with no direct JAAS client-side), and that includes the LoginModules as well as LoginContext. So for an EJB Server this means that the same internal permission
    checking code can be used regardless of whether a client connects through
    RMI/RMI-IIOP/JEREMIE (etc). It does NOT mean that the client gets to choose
    how they authenticate (except by choosing YOUR set ways).
    Before we even deal with a serialized subject, we need to see how JAAS can
    even be used on the back-end of an RMI (RMI-IIOP/JEREMIE) application.
    I think what needs to be done, is the client needs to have the stubs for our
    LoginModule, LoginContext, CallBackHandler, CallBacks. Then they can put
    their info into those, and everything is handled server-side. So they may
    not even need to send a Subject across anyways (but they may want to as
    well).
    Please let me know if anyone sees this problem too, or if I am just completely
    off track with this one. I think figuring out how to do JAAS as though
    everything were local, and then putting RMI (or whatever) on top is the
    first thing to tackle.

    Send this to:
    newsgroups.bea.com / security-group.

  • Mapping tool creates new columns one at a time

    Hi All,
    I'm using Kodo 3.2.2 with MySql 4.1. I have a fairly large table (over
    2million rows) representing one persistent class. I need to add several
    new fields to the object, which will require a refresh mapping on the
    database to add new columns for the fields.
    It seems when I run refresh mapping on the database, Kodo is adding each
    new field individually in seperate ALTER TABLE statements, rather than
    adding all the columns in one ALTER TABLE statement.
    With MySQL and large tables, this can really increase the time required to
    refresh the mapping - I've tried with MSSQL and that database must handle
    ALTER TABLE commands differently because it doesn't take a fraction of the
    time that MySQL takes.
    Is this a bug (I doubt it), but rather a feature improvement?
    Thoughts?
    Thanks,
    Brendan

    Thanks Abe for the reply - I've been meaning to look at the process of
    creating SQL scripts to perform the refresh mappings on our databases.
    I'll have a look at this process before we talk contracting!
    Thanks,
    Brendan
    Abe White wrote:
    Unfortunately, we don't have any immediate plans to optimize ALTER TABLEsince
    it's not a runtime operation, and as you say most DBs don't have a problemwith
    it. Also, note that the documentation shows how to get Kodo to create SQL
    scripts rather than directly modify the DB; you could easily edit thescripts
    Kodo generates to make them more efficient before piping the SQL to MySQLusing
    its client app. (Note that Kodo 3.3 introduces the ability to generate SQL
    scripts directly from the mapping tool, rather than having to take an extrastep
    through the schema tool).
    If getting Kodo to combine ALTER statements is important to you, you couldalso
    contact [email protected] about contracting us to expedite this work.

  • Mapping problem with compressed key update record (target format)...

    Hi Guys,
    Getting below error while replication from Source to target. Source table is having NOT NULL Column, but on target replicat process giving error about some NULL value ??
    How to overcome this issue, any idea...
    2011-08-04 10:35:04 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK starting.
    2011-08-04 10:35:05 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK started.
    2011-08-04 10:35:06 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: OCI Error ORA-01407: cannot update ("INFRA"."CUST"."CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE" = :a4,"ORD_QTY" = :a5,"ORD_PRICE" = :a6,"CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.
    2011-08-04 10:35:06 WARNING OGG-01004 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Aborted grouped transaction on 'INFRA.CUST', Database error 1407 (ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL).
    2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
    2011-08-04 10:35:06 *WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: SQL error 1407 mapping INFRA.CUST to INFRA.CUST OCI Error ORA-01407:* *cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE"=:a4,"ORD_QTY"*
    *= :a5,"ORD_PRICE" = :a6,"SCRP_CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.*
    2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
    2011-08-04 10:35:06 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Error mapping from INFRA.CUST to INFRA.CUST.
    2011-08-04 10:35:06 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: PROCESS ABENDING.
    Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-04 10:35:05
    Current time: 2011-08-04 10:35:06
    Discarded record from action ABEND on error 1407
    OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
    (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
    Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
    error at seqno 68708 rba 44132192
    Problem replicating INFRA.CUST to INFRA.CUST
    *Mapping problem with compressed key update record (target format)...*
    ORD_QTY = 500
    ORD_PRICE = 37430
    SCRP_CODE =
    MKRT_CODE = N
    Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-
    04 10:35:05
    Current time: 2011-08-04 10:35:06
    Discarded record from action ABEND on error 1407
    OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
    (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
    Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
    error at seqno 68708 rba 44132192
    Problem replicating INFRA.CUST to INFRA.CUST
    Mapping problem with compressed key update record (target format)...
    ORD_QTY = 500
    ORD_PRICE = 37430
    SCRP_CODE =
    MKRT_CODE = N
    Any inputs / help would be appreciated.
    Regards,
    Manish

    The SCRP_CODE column has a NOT NULL constraint. The ORA-01407 error is telling you that you cannot update or set a value for this column to null because of the constraint. This has absolutely nothing to do with an index. You can use a marker/sentinel value in lieu of using NULL. For a numeric field, where everything is positive, a negative value (-1) can be decoded as meaning null. For a character field, a code such as NA can represent NULL.
    This also has nothing to do (directly) with GoldenGate failing because of this error. The underlying SQL statement will fail everywhere, regardless of the tool or application. It is not a case of failing only in GoldenGate.

  • Different mapping tools in the market --  For BPM mapping in XI

    Hi All
         I am more intersted in learning the BPM mapping tools(3rd party or any)
         Can any list out the different tools and which are the best ?
         Our company looking forward to implement XI (BPM's) with mapping tools
        Can any help me on this
    Regards
    Rakesh

    Hi Rakesh,
    plz have a look to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">SAP Library: SAP Exchange Infrastructure</a> for understanding XI, BPM and Mappings.
    BPM has no special mapping tool. You can use Java, ABAP, XSLT and graphical Mapping (Message Mapping) at XI, for any case - BPM or not. 3rd Party has nothing to do with BPM or Mapping. That means a non SAP system.
    Regards,
    Udo

  • Mapping tools ?

    Hi,
    Most of my flows are <b>"IDoc -> file" or "file -> Idoc"</b>, and I need to manage several transcodification tables for different countries (I prefer a DDIC table to FixValue or Value mapping) and with an amount of Business systems (more than 300).
    Before this week, I used <b>Graphical mapping</b>... but with some difficults to manage correctly several levels of IDoc segments. Graphical mapping is easy to use when there are one or two "0...unbound" segments but no more. And you cannot have an easy access to a DDIC (need to use an RFC in BPM).
    Since I'm trying to use <b>abap mapping</b>... but with some difficults to manage correctly the creation of an "0..unbound" messages, in order to distribute them to one or several receivers. Abap mapping is esay to use when there is only one receiver (no management before a block "Multiline to single line"; and it is interresting for requests on DDIC tables (very easy). But it seems there is some differences between a testing with tcode "sxi_mapping_test" (thus in foreground ==> easy to debug) and with the execution of the scenario (thus in background ==> difficult to debug).
    I don't know yet the XSLT mapping and the Java mapping (a complete one, not a java function inside graph mapping).
    Inside XI 3.0, for such flows, is there a <b>mapping tool</b> which is better than the other with IDocs?
    Regards.
    Mickael.

    You can call Java programs from XSLT mapping.
    So any lookups you can code in Java and call it from XSLT program.
    Below is the link to know more on XSLT Mapping with Java Enhancement.
    http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
    There are couple of blogs on the same.
    Hope it helps,
    Regards,
    Satish

  • JnlpDownloadServlet with Weblogic 6.1 - Null Pointer Exception

    Hi,
    I am using Web Start with Weblogic 6.1 and I keep getting the exception
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:181)
    at com.sun.javaws.servlet.DownloadRequest.<init>(DownloadRequest.java:62)
    at com.sun.javaws.servlet.JnlpDownloadServlet.handleRequest(JnlpDownloadServlet.java:94)
    at com.sun.javaws.servlet.JnlpDownloadServlet.doGet(JnlpDownloadServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Web start itself does not even startup !
    If I don't use the JnlpDownloadServlet I can get a simple example to work.
    The jnlp file I am using is
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SwingSet2 Demo Application -->
    <jnlp
    spec="1.0+"
    codebase="$$codebase" href="$$name">
    <information>
    <title>Test Application</title>
    <vendor>BD</vendor>
    <description>Demo Application</description>
    <offline-allowed/>
    </information>
    <!-- security>
    <all-permissions/>
    </security-->
    <resources>
    <j2se version="1.3"/>
    <jar href="testWebStart.jar" main="true" download="eager" />
    </resources>
    <application-desc main-class="testMClient" />
    </jnlp>
    The web.xml file is;
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <welcome-file-list>
    <welcome-file>
    index.html
    </welcome-file>
    </welcome-file-list>
    <!-- Used to do mime mapping but it is not needed
    since we are now using the JNLP sdervlet ! -->
    <servlet>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jar</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jnlp</url-pattern>
    </servlet-mapping>
    </web-app>
    Any help would be greatly appreciated,
    Thanks,
    Brian

    I have exactly the same problem running JBoss 3-Tomcat-4.0.1. After some investigation it seems that the problem is because of dependency on creating File objects using getRealPath()
    The problem manifests itself on several places but for instance:
    DownloadRequest Constructor:
    if(_context != null && !_path.endsWith("/")) {
    String s1 = context.getRealPath(path);
    File file = new File(s1);
    if(file != null && file.exists() && file.isDirectory())
    _path += "/";
    s1 is null so a nullpointer is thrown. Instead do something like:
    if (_context != null && !_path.endsWith("/")) {
    String s1 = context.getRealPath(path);
    if (s1 != null) {
    File file = new File(s1);
    if (file.exists() && file.isDirectory())
    _path += "/";
    But it is harder to fix on other places such as
    ResourceCatalog.scanDirectory(String path)
    File file = new File(_servletContext.getRealPath(s));
    This will faile since getRealPath returns null resulting in a nullpointer exception which will make it impossible to download versioned jars.
    The documentation for ServletContext says that getRealPath will return null if the application is packaged in a war file but this is strange since it worked fine for me for running JBoss-2.4.0_Tomcat-3.2.3. Maybe this is new behaviour for the 2.3 servlet spec ( i assume WL 6.1 is also 2.3 compliant)?

Maybe you are looking for

  • Import statement using DATA BUFFER

    Hi All, I am using RFC enabled FM using STARTING NEW TASK, We cannot import data from FM back to the program when we use this statement. So I am exporting data into DATA BUFFER in the FM and trying to import data in the main program. Can you please t

  • How to go back to the same directory after opening one bookmark instead of having to browse the directory tree again to open another bookmark from the same dir

    I regularly need to check several bookmarks that are stored in the same directory, which usually is a couple of clicks from the main bookmarks menu. When I select a bookmark in the tree that I created to organize my bookmarks and it does not give met

  • Selecting a portion of an image

    Hello I am having an image displayed in the front panel. Now i want to select a portion of the image such that when i select that particular portion in the front panel , the result is displayed. Is this possible? AT present what i have done is, i tak

  • Is the ADF API 11.1.1.2.0 latest?

    Hi, Want to know if the API given @ http://www.oracle.com/technology/documentation/jdev/111110/apirefs.html the latest for ADF 11.1.1.2.0. When I click the links under the section 11.1.1.2.0 the API it opens still shows 11.1.1.1.

  • Store Images application on the Nokia PC Suite is ...

    Hi, I have an N73 and I recently upgraded my FW and my PC Suite to 6.85.14.1. Then I noticed when I plug my phone via the USB cable the Store Images doesn't (does NOT) start, its as if I pressed on nothing. Please help, thanks. p.s. I have downgraded