Developing Custom Adapter in PI by using Sample Adapter provided

Hi Experts,
I am developing a custom adapter by looking into below link.
http://help.sap.com/saphelp_nwpi711/helpdata/en/69/e1e6667710415a9c331ec2e0715561/frameset.htm
Could anyone please clarify the below Queries.
1. Which project needs to be created as RAR file. Step1 or Step2 Project folder in NWDS?
2. How to create the RAR file.
Thanks in advance...

Hi Veerendra,
I was keep on trying the same from so many days. As you told, i have exported project "Test" as jar file and added it to connector module folder. Then, I exported "Test_RAR" as J2EE RAR and it was deployed with the following warnings.
1. Exception has been returned while the [sap.com/com.test.YourAdapterName.adapter.ra] was starting. Warning/Exception :[
][[ERROR CODE DPL.DS.6193] Error while ; nested exception is:
          com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: [server ID 5429350:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [sap.com/com.test.YourAdapterName.adapter.ra].
          at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:496)
          at com.sap.engine.services.deploy.server.application.ParallelAdapter.rollbackPart(ParallelAdapter.java:318)
          at com.sap.engine.services.deploy.server.application.StartTransaction.rollbackPart(StartTransaction.java:530)
          at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:380)
          at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhases(ParallelAdapter.java:428)
          at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhases(StartTransaction.java:499)
          at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1487)
          at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:806)
          at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:788)
          at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:776)
          at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:105)
          at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:78)
          at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
          at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
          at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:91)
          at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:61)
          at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:866)
          at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:814)
          at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:644)
          at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:363)
          at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:252)
          at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:897)
          at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:368)
          at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
          at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)
          at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)
          at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:977)
          at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)
          at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
          at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
          at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
          at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
Caused by: java.lang.UnsupportedClassVersionError: com/test/YourAdapterName/adapter/ra/SPIManagedConnectionFactory : Unsupported major.minor version 50.0
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:677)
          at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:183)
          at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:312)
          at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:271)
          at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:243)
          at com.sap.engine.services.connector.deploy.util.ResourceAdapterStarter.instantiateMCF(ResourceAdapterStarter.java:315)
          at com.sap.engine.services.connector.deploy.util.ResourceAdapterStarter.initResourceAdapter(ResourceAdapterStarter.java:122)
          at com.sap.engine.services.connector.deploy.ConnectorContainerImpl.prepareStart(ConnectorContainerImpl.java:303)
          at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.prepareStart(ContainerWrapper.java:363)
          at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:345)
          at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:300)
          at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:374)
          ... 28 more
and i have created NameSpace, Adapter metadata using YourAdapterName.xml and also Comm channel in ID. But while checking in Comm Channel monitoring it shows an error like... "No adapter registered for this channel".
While checking in sdn regarding the warnings in NWDS. It says that "application alias already exists". I couldn't figure it out.
Please let me know if u have any solution for this. Your reply is highly appreciated.

Similar Messages

  • Where are attribute values when developing custom adapter?

    Hello,
    I am developing custom adapter for IDM 8. When the server wants to make reconciliation it calls method listObjects in my case and getUser. I wanted to ask if I am able to get values attributes of user which is passed to this method as parameter. Also how it is in general possible to get values of attributes in these methods. There is schemaMap which Maps names of resource attributes to IDM attributes (their names) but where do I get the values? Thank you very much for help.
    Martin
    PS: I have extended schema so not only AccountId which can be called by accountId = getIdentity(user). I need other atributes too.

    I have assigned work to implement custom adapter that can talk to our target applications? Can you please let me know the steps I need to follow to implement custom connector?
    Thanks
    Sudarsan

  • Developing Custom Adapter guide needed

    Can any one provide me the guide for developing custom adapter. Also provide the API for OIM 9.0.3.

    API Documentation is shipped along with the download. You should be able to access the same from the <DIR>documentation\ProductDocumentation\b25942\toc.htm (9011 Connector Pack). Check with Support if you haven't got it along with the product.
    Again, not sure if I understand the Q correctly, since I dont think there is a generic methodology for custom adapters. They range from usage in tasks of resources to custom scheduled task. Is is something specific you are looking for?
    Rgds, Ajay

  • Required JAR's for developing custom adapter modules for PI 7.31 SP 09

    Hello experts,
    I have a new development wherein i have to consume .xlsx files in PI 7.31
    i have gone through a lot of blogs but did not find any relevant JAR's specially for PI 7.31, I am planning  to go for custom module development for conversion of .xlsx file into xml
    so need your help for finding the JAR's for PI 7.31 and also some custom JAVA source code for conversion of excel spreadsheet into XML.
    Regards,
    Sushant.Shinde

    Hi sushant,
    The module key seems correct ffor you. But the blog you shared is cozy. I developed 4 adapter modules using a document. Please refer that.
    And NWDS EHP1 is available you can use that to be perfectly sure on compatibility.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?overridelayout=true
    use the above document to verify the steps you followed-
    Please provide following screenshots
    NWA->configuration->infrastructure->Application Modules-> and search for *xlmodule*
    if you find your module then click on it and at the bottom there will be a window with JNDI Name. Share that JNDI name and use that JNDI name in your Module. (localejbs/JNDIName).
    Also go to NWA->TroubleShooting-> JNDI Browser and see where is your Adapter module situated. I mean under which directory. Either directly inside root/localejbs/ or root/localejbs/sap.com.
    Please verify your steps according to that and redeploy and share result.
    and Go to NWA- Site Map-> find Start & Stop
    In that go to Java Applicaitons Tab and search for your module. It must be started. If it is stopped try starting it.
    Regards,
    Vikas

  • Developing Custom Adapter - Keep getting error: Unrecognized tag found in properties

    Hey All,<br /><br />I'm trying to configure some custom properties to pass through to my custom BlazeDS adapter, inside my remoting-config.xml.<br /><br />If you look here:<br />http://xml.pastebin.com/f17464dac<br /><br />This has been working perfectly for the destination id'd 'Conduit'. no problems there at all.<br /><br />For the destination id'd 'ConduitReverse', no matter what extra <tag> I put after <access>, I get the following exception:<br /><br />**** MessageBrokerServlet failed to initialize due to runtime exception:   Exception: flex.messaging.config.ConfigurationException: Unrecognized tag found in <properties>.  Please consult the documentation to determine if the tag is invalid or belongs inside of a different tag: <br />  '/foo' in destination with id: 'ConduitReverse' from file: remoting-config.xml<br />     at flex.messaging.config.MessagingConfiguration.reportUnusedProperties(MessagingConfiguratio n.java:750)<br />     at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:158)<br />     at coldfusion.flex.ColdFusionMessageBrokerServlet.init(ColdFusionMessageBrokerServlet.java:2 4)<br />     at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:94)<br />     at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)<br /><br />I've tried 'foo', 'fooBar', 'thisIsMyCustomProperty', and so far, I always get that error.<br /><br />I had thought I could put arbitrary values inside <properties>, without having to worry about validation, is that not the case?<br /><br />I'm running a daily build of BlazeDS 4.x, from about a month ago. I may try upgrading.<br /><br />Any help on this would be greatly appreciated.

    The source of the problem is here: flex.messaging.config.MessagingConfiguration.reportUnusedProperties(MessagingConfiguratio n.java:750)
    Your code is fine, it is BlazeDS bugs, that they don't want to fix, have a look at this bug: http://bugs.adobe.com/jira/browse/BLZ-143
    I still can't understand a rationale behind this, but this is the way it is.
    To get pass this error you HAVE to call
    properties.getPropertyAsString("fooBar", null);
    in
    public void initialize(String id, ConfigMap properties)
    method.
    Have a look at my adapter for example:
    http://code.google.com/p/flexserverlib/wiki/EJBAdapter
    http://code.google.com/p/flexserverlib/source/browse/trunk/java/src/flexserverlib/messagi ng/services/remoting/adapters/EJBAdapter.java

  • Batch File in custom adapter

    HI All,
    I have developed custom adapter, now i want to call one batch file inside the custom adapter.
    Can anyone help me in this?
    Regards,
    Kunaal

    Check the permissions of that batch file.
    It should be executable for the PI user (<sid>adm in Unix)
    Regards
    Stefan

  • Unable to get create_SDA.bat file for custom adapter development.

    Hi ,
    I am working on custom adapters development following the PDF(SOA361-how to develop an adapter in SAP Netweaver PI)  about using Sample Adapter .
    In section where we will create the SDA file and deploy it to the J2EE server.
    The create_SDA.bat file is unavailable , How can I get that file.
    Regards,
    Syed.

    This is the original content. Adjust it to your needs.
    set PATH=C:\j2sdk1.4.2_11\bin;%PATH%
    REM Create jar file
    cd ..\AdapterZIP
    jar cvf ..\AdapterZIP_RAR\zip_ra.jar *.xml  com\test\zip\adapter\ra\*.*
    REM Create rar file
    cd ..\AdapterZIP_RAR
    jar cvf ..\AdapterZIP_SDA\zip_ra.rar *.jar  META-INF\*.*
    cd ..\AdapterZIP_SDA
    jar cvf zip_ra.sda *.rar  META-INF\*.*
    pause

  • Custom Adapter Development - Some bugs is the development process

    hi
    I'm working through the steps in the document "BEA WebLogic Integration -
    Developing Adapters" - Chapter 4 Creating a Custom Environment.
    I'm using the version of WLS 8.1.1 on the dev2dev trial CD.
    I've encountered the following errors which I think are bugs and should be
    fixed:
    =========================================================
    1. Incorrect naming of a properties file
    =============================
    Step 2. Rebuild the Tree - when running "ant release" immediately after
    generation, the build fails with the following error:
    Buildfile: build.xml
    packages:
    [echo] Building NICOLSON_SAMPLE_1_0...
    generate_web_descriptors:
    [java] Substituting web descriptor variable: display-name
    [java] Substituting web descriptor variable: version
    [java] Substituting web descriptor variable: extra-jsp-servlets
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: request-handler-class
    [java] Substituting web descriptor variable: debug-setting
    [java] Substituting web descriptor variable: extra-jsp-servlet-mappings
    [java] Generated web.xml as:
    C:\software\devtools\bea\weblogic81\integratio
    n\adapters\nicolson\project\..\..\..\adapters\nicolson\src\war\WEB-INF\web.x
    ml
    merge_properties:
    [echo] Merging NICOLSON_SAMPLE_1_0-base.properties and ADK.properties
    [echo]
    props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\n
    icolson\project/../../../adapters/nicolson/src
    WLI_HOME=C:\software\devtools\bea
    \weblogic81\integration\adapters\utils\ant/../../..
    [concat] File
    C:\software\devtools\bea\weblogic81\integration\adapters\nicols
    on\src\NICOLSON_SAMPLE_1_0-base.properties does not exist.
    BUILD FAILED
    java.lang.NullPointerException
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at org.apache.tools.ant.taskdefs.Concat.catFiles(Concat.java:353)
    at org.apache.tools.ant.taskdefs.Concat.execute(Concat.java:271)
    at org.apache.tools.ant.Task.perform(Task.java:317)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:334)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:317)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:334)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at org.apache.tools.ant.Main.runBuild(Main.java:610)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Total time: 1 second
    This is occuring for because Step 1. Execute GenerateAdapterTemplate is
    generating an incorrectly named properties file in the src directory.
    i.e. it is generating NICOLSON_SAMPLE_1_0.properties when it should
    generate NICOLSON_SAMPLE_1_0-base.properties
    On correcting this problem, the next error will occur
    ==================================================
    2. Missing junit.jar in wli_home/lib
    ==========================
    Buildfile: build.xml
    packages:
    [echo] Building NICOLSON_GENERIC_1_0...
    generate_web_descriptors:
    [java] Substituting web descriptor variable: display-name
    [java] Substituting web descriptor variable: version
    [java] Substituting web descriptor variable: extra-jsp-servlets
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: request-handler-class
    [java] Substituting web descriptor variable: debug-setting
    [java] Substituting web descriptor variable: extra-jsp-servlet-mappings
    [java] Generated web.xml as:
    C:\software\devtools\bea\weblogic81\integratio
    n\adapters\sal\project\..\..\..\adapters\sal\src\war\WEB-INF\web.xml
    merge_properties:
    [echo] Merging NICOLSON_GENERIC_1_0-base.properties and ADK.properties
    [echo]
    props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\s
    al\project/../../../adapters/sal/src
    WLI_HOME=C:\software\devtools\bea\weblogic8
    1\integration\adapters\utils\ant/../../..
    [javac] Compiling 15 source files
    [javac]
    C:\software\devtools\bea\weblogic81\integration\adapters\sal\src\com
    \nicolson\base\integration\sample\jca\bea\sal\spi\NonManagedScenarioTestCase
    .jav
    a:9: package junit.framework does not exist
    [javac] import junit.framework.*;
    [javac] ^
    [javac]
    C:\software\devtools\bea\weblogic81\integration\adapters\sal\src\com
    \nicolson\base\integration\sample\jca\bea\sal\spi\NonManagedScenarioTestCase
    .jav
    a:20: cannot resolve symbol
    There was no junit.jar in WLI_HOME/lib. The problem disappears once this jar
    is added.
    ===============================================================
    3. Class not found error when running tests using "ant test"
    ==========================================
    Buildfile: build.xml
    packages:
    [echo] Building NICOLSON_SAMPLE_1_0...
    generate_web_descriptors:
    [java] Substituting web descriptor variable: display-name
    [java] Substituting web descriptor variable: version
    [java] Substituting web descriptor variable: extra-jsp-servlets
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: request-handler-class
    [java] Substituting web descriptor variable: debug-setting
    [java] Substituting web descriptor variable: extra-jsp-servlet-mappings
    [java] Generated web.xml as:
    C:\software\devtools\bea\weblogic81\integratio
    n\adapters\nicolson\project\..\..\..\adapters\nicolson\src\war\WEB-INF\web.x
    ml
    merge_properties:
    [echo] Merging NICOLSON_SAMPLE_1_0-base.properties and ADK.properties
    [echo]
    props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\n
    icolson\project/../../../adapters/nicolson/src
    WLI_HOME=C:\software\devtools\bea
    \weblogic81\integration\adapters\utils\ant/../../..
    test:
    [java] <3/10/2003 10:40:37 AM EST> <Debug> <NICOLSON_SAMPLE_1_0>
    <000000> <
    added new configuration from file 'NICOLSON_SAMPLE_1_0.xml' with root
    category '
    NICOLSON_SAMPLE_1_0' to category hierarchy for locale 'en_US'>
    [java] Loading
    com.nicolson.integration.bea.sample.spi.NonManagedScenarioTe
    stCase for inclusion in the test suite
    [java] Loading
    com.nicolson.integration.bea.sample.event.OfflineEventGenera
    torTestCase for inclusion in the test suite
    [java] EXCEPTION: attempted to load
    com.nicolson.integration.bea.sample.eve
    nt.OfflineEventGeneratorTestCase
    [java] java.lang.ClassNotFoundException:
    com.nicolson.integration.bea.sampl
    e.event.OfflineEventGeneratorTestCase
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    [java] at java.security.AccessController.doPrivileged(Native
    Method)
    [java] at
    java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    [java] at
    sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    [java] at
    com.bea.adapter.test.TestHarness.suite(TestHarness.java:61)
    [java] at
    com.bea.adapter.test.TestHarness.main(TestHarness.java:96)
    [java] java.lang.NoSuchMethodError:
    junit.textui.TestRunner.run(Ljunit/fram
    ework/Test;)V
    [java] at
    com.bea.adapter.test.TestHarness.main(TestHarness.java:96)
    [java] Exception in thread "main"
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 2 seconds
    The missing test case is being explicitly excluded from the build:
    <javac deprecation='true' debug='true'>
    <classpath refid='CLASSPATH'/>
    <src path="${SRC_DIR}"/>
    <include name="**/*.java"/>
    <exclude
    name="com/nicolson/integration/bea/sample/event/OfflineEventGeneratorTestCas
    e.java" />
    <exclude name="war/jsp_servlet/**"/>
    </javac>
    If it is included, the following compile error occurs...
    C:\software\devtools\bea\weblogic81\integration\adapters\nicolson\project>an
    t re
    lease
    Buildfile: build.xml
    packages:
    [echo] Building NICOLSON_SAMPLE_1_0...
    generate_web_descriptors:
    [java] Substituting web descriptor variable: display-name
    [java] Substituting web descriptor variable: version
    [java] Substituting web descriptor variable: extra-jsp-servlets
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: adapter-logical-name
    [java] Substituting web descriptor variable: request-handler-class
    [java] Substituting web descriptor variable: debug-setting
    [java] Substituting web descriptor variable: extra-jsp-servlet-mappings
    [java] Generated web.xml as:
    C:\software\devtools\bea\weblogic81\integratio
    n\adapters\nicolson\project\..\..\..\adapters\nicolson\src\war\WEB-INF\web.x
    ml
    merge_properties:
    [echo] Merging NICOLSON_SAMPLE_1_0-base.properties and ADK.properties
    [echo]
    props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\n
    icolson\project/../../../adapters/nicolson/src
    WLI_HOME=C:\software\devtools\bea
    \weblogic81\integration\adapters\utils\ant/../../..
    [javac] Compiling 1 source file
    [javac]
    C:\software\devtools\bea\weblogic81\integration\adapters\nicolson\sr
    c\com\nicolson\integration\bea\sample\event\OfflineEventGeneratorTestCase.ja
    va:1
    62:
    com.nicolson.integration.bea.sample.event.OfflineEventGeneratorTestCase.Test
    EventRouter should be declared abstract; it does not define getName() in
    com.nic
    olson.integration.bea.sample.event.OfflineEventGeneratorTestCase.TestEventRo
    uter
    [javac] class TestEventRouter
    [javac] ^
    [javac] 1 error
    BUILD FAILED
    file:C:/software/devtools/bea/weblogic81/integration/adapters/nicolson/project/b
    uild.xml:340: Compile failed; see the compiler error output for details.
    Total time: 2 seconds
    This is because an inner class used in the test case does not fully
    implement methods of the interface it realizes.
    In fact it is missing a number of methods.
    =========================================================
    Just as well I'm only doing a personal eval :)
    Regards
    Jim Nicolson

    Dear Aandi,
    I am really thankful to you for this. I will suggest this to the business and then they can contact adobe for this. Thanking you once again for providing me with all the valueable info. You have been instrumental in helping me out in my project.
    Best Regards,
    Deepak Goyal

  • Code to retrive the sender and receiver interface names using custome adapter module

    Hello Team,
    I want to develop an custom adapter module which could retrieve the names of the sender and receiver interfaces of the scenario and for that i am trying to use com.sap.aii.af.service.administration.api.monitoring.ProcessContextFactory.ParamSet but i don't know whether this API will support or not and also i don't know how to develop the code using this API so please suggest me some code for it so that i could retrieve the names.
    Thanks you all in advance.
    Regards,
    Avinash.   

    Hi,
    Just ASMA setting will do the needful. Are you planning to rename your target file name. If yes then only you will require UDF.
    Update: Since your directory name will be taken from source file name then you have to use mapping for this, else it will not be possible.
    I don't know if creating a new module for this will help you solve the issue, but in that case rather creating adapter module, mapping will be easier.
    Regards,
    Sarvesh
    Edited by: Sarvesh Singh on Dec 7, 2009 3:04 PM

  • Uses of custom adapter module

    hi all,
    I am doing a POC on exploring custom adapter modules. Can anyone please help me in understanding various possible uses of adapter module?
    I already know about creating PDF file, Reading/Writing Excel file, Encode/Decode, setting FileName, Sending attachment through Mail Adapter. Any other possible use of adapter module?
    Thanks,
    Mayank

    hi Jyothi,
    Now i am getting following error:
    Error jxl.read.biff.BiffException: Unable to recognize OLE stream
    My lines of code are:
                   System.out.println("01");
                   FileInputStream fis = new FileInputStream("C:
    Documents and Settings
    Mayank
    Desktop
    mayank1.xls");
                   System.out.println("001");
                   String str = fis.toString();
                   System.out.println("0001");
                   byte src [] = str.getBytes();
                   System.out.println("00001");
                   ByteArrayInputStream f5 = new ByteArrayInputStream(src);
                   System.out.println("000001");
                   Workbook workbook1 = Workbook.getWorkbook(f5);
                   System.out.println("000002");
    i am using lines because i will be converting xmlpayload to bytestream in actual module code.
    And output i am getting is:
    01
    001
    0001
    00001
    000001
    Error jxl.read.biff.BiffException: Unable to recognize OLE stream
    which means there is some problem in line
    Workbook workbook1 = Workbook.getWorkbook(f5);
    Also when i am reading file using:
    Workbook workbook = Workbook.getWorkbook(new FileInputStream("C:
    Documents and Settings
    Mayank
    Desktop
    mayank1.xls")); ,, it's working.
    Thanks,
    Mayank

  • When to use Custom Adapter, Event Beans and Spring beans

    Hi,
    I have basic question on when or on what basis/scenario the Custom Adapter, Event Beans or Spring beans should be used.
    All three has same implementation methods.
    Please help me in understanding when to use Custom Adapters, Event Beans or Spring beans.
    Thanks,
    Sri
    Edited by: 897694 on Mar 7, 2012 8:12 AM

    custom adapters:
    you have to use a custom adapter when you don't find any adapter in ocep which will serve your purpose.
    Most of the times you use an adapter to connect the application with external things like http server, etc It can be both to listen the events or to send the events outside.
    Event Beans:
    This type of beans does most of the work that an adapter code does but in convention beans are not used to connect the application with external stuff
    You can use Beans as event sink etc In this case using an using an adapter is not suggestable.
    If you implement Interfaces like Initializing Bean for an adapter code it won't work properly, you have to use an event Bean in that case.
    Spring beans:
    Spring beans are used when the bean code doesn't implement EventSink or EventSender.
    These beans are used to enable something (eg: make ${wlevs_dev_home}/abc/a/b.java this path is not understandable by java code unless you override the path using a spring bean)
    Most of the things which doesn't need a connection between components in the application (eg cache loader: you can do this using spring beans and event beans both but spring beans doesn't need a connection with cache)
    Hope this small writeup helps you :)
    Edited by: Patha on Mar 8, 2012 9:10 AM

  • How to develop custom page using Hgrid

    Hi,
    I have to develop one custom page with hierarchy. I think it will reach through hgrid. So how to develop page using hgrid.
    Thanks in advance,
    Hanimi....

    Hi,
    I have to develop Custom OAF page like following navigation for an employee position hierarchy from bottom to top. Can we achieve this requirement through custom OAF Page, If achieve How?
    If you go to HRMS Manager --> Work Structures --> Position --> Diagrammer. Here you can able to see the position hierarchy. Same as like this i have to develop one custom page. Pls let me know how to achieve this requirement.
    Thanks in advance,
    Hanimi...

  • Using OIM 11gR2 Deployment Manager to create a custom adapter

    I have been trying to create a custom adapter by importing an xml file using the OIM 11gR2 Deployment Manager, but so far it only results in this stack trace:
    +<Error> <XELLERATE.WEBAPP> <BEA-000000> <Class/Method: LoadDeploymentUtility/importSelected encounter some problems: Import failed for entity : 'adpADTESTADAPTER' which is of type : 'EventHandler', with the following error message :Unable to save dataobject for EVT+
    com.thortech.xl.ddm.exception.DDMException: Import failed for entity : 'adpADTESTADAPTER' which is of type : 'EventHandler', with the following error message :Unable to save dataobject for EVT
    +     at com.thortech.xl.ddm.engine.SchemaInstanceFacade.performImport(SchemaInstanceFacade.java:460)+
    +     at com.thortech.xl.ejb.beansimpl.tcImportOperationsBean.performImport(tcImportOperationsBean.java:1143)+
    +     at Thor.API.Operations.tcImportOperationsIntfEJB.performImportx(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)+
    +     at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)+
    +     at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +     at $Proxy342.performImportx(Unknown Source)+
    +     at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)+
    +     at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)+
    +     at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.performImportx(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)+
    +     at $Proxy360.performImportx(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)+
    +     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)+
    +     at $Proxy361.performImportx(Unknown Source)+
    +     at Thor.API.Operations.tcImportOperationsIntfDelegate.performImport(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)+
    +     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)+
    +     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)+
    +     at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)+
    +     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +     at $Proxy362.performImport(Unknown Source)+
    +     at com.thortech.xl.webclient.actions.LoadDeploymentUtilityAction.importSelected(LoadDeploymentUtilityAction.java:3516)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)+
    +     at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(tcLookupDispatchAction.java:133)+
    +     at com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:894)+
    +     at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)+
    +     at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)+
    +     at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)+
    +     at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)+
    +     at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)+
    +     at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)+
    +     at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)+
    +     at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)+
    +     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)+
    +     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)+
    +     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
    +     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)+
    +     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)+
    +     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)+
    +     at com.nexaweb.server.servlet.NexawebRequestDispatcher.doClientRequest(NexawebRequestDispatcher.java:346)+
    +     at com.nexaweb.server.servlet.NexawebRequestDispatcher.forwardClientRequest(NexawebRequestDispatcher.java:114)+
    +     at com.nexaweb.server.servlet.JspProcessor.processRequest(JspProcessor.java:137)+
    +     at com.nexaweb.server.servlet.RequestProcessor.dispatchRequest(RequestProcessor.java:463)+
    +     at com.nexaweb.server.servlet.RequestProcessor.processClientEvent(RequestProcessor.java:710)+
    +     at com.nexaweb.server.services.protocol.NexawebProtocolHandler.handleProcessEventCommand(NexawebProtocolHandler.java:1026)+
    +     at com.nexaweb.server.services.protocol.NexawebProtocolHandler.dispatchCommand(NexawebProtocolHandler.java:140)+
    +     at com.nexaweb.server.NexawebServer.doService(NexawebServer.java:420)+
    +     at com.nexaweb.server.NexawebServer.doGet(NexawebServer.java:335)+
    +     at com.nexaweb.server.admin.ServerAdmin.callNexawebServer(ServerAdmin.java:378)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at com.nexaweb.loader.xMethodInvoker.runInThread(xMethodInvoker.java:69)+
    +     at com.nexaweb.server.api.admin.ServerAdminProxy.callNexawebServer(ServerAdminProxy.java:551)+
    +     at com.nexaweb.redirect.RedirectServlet.doGet(RedirectServlet.java:18)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)+
    +     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
    +     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)+
    +     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)+
    +     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)+
    +     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)+
    +     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)+
    +     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)+
    +     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)+
    +     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)+
    +     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)+
    +     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
    +     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
    Caused By: com.thortech.xl.ddm.exception.DDMException: Unable to save dataobject for EVT
    +     at com.thortech.xl.ddm.repositories.rdbms.datatypes.data.TableInstance.finishDataObject(TableInstance.java:842)+
    +     at com.thortech.xl.ddm.repositories.rdbms.impl.RDBMSRepository.finishdataObject(RDBMSRepository.java:960)+
    +     at com.thortech.xl.ddm.engine.visitor.ImportVisitor.dataDependencyVisitComplete(ImportVisitor.java:636)+
    +     at com.thortech.xl.ddm.repositories.rdbms.impl.RDBMSRepository.handleDataBaseDependencies(RDBMSRepository.java:685)+
    +     at com.thortech.xl.ddm.engine.data.datatypes.SchemaInstance.traverse(SchemaInstance.java:282)+
    +     at com.thortech.xl.ddm.engine.SchemaInstanceFacade.performImport(SchemaInstanceFacade.java:436)+
    +     at com.thortech.xl.ejb.beansimpl.tcImportOperationsBean.performImport(tcImportOperationsBean.java:1143)+
    +     at Thor.API.Operations.tcImportOperationsIntfEJB.performImportx(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)+
    +     at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)+
    +     at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)+
    +     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)+
    +     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +     at $Proxy342.performImportx(Unknown Source)+
    +     at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)+
    +     at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)+
    +     at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.performImportx(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)+
    +     at $Proxy360.performImportx(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)+
    +     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)+
    +     at $Proxy361.performImportx(Unknown Source)+
    +     at Thor.API.Operations.tcImportOperationsIntfDelegate.performImport(Unknown Source)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)+
    +     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)+
    +     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)+
    +     at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)+
    +     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)+
    +     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +     at $Proxy362.performImport(Unknown Source)+
    +     at com.thortech.xl.webclient.actions.LoadDeploymentUtilityAction.importSelected(LoadDeploymentUtilityAction.java:3516)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)+
    +     at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(tcLookupDispatchAction.java:133)+
    +     at com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:894)+
    +     at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)+
    +     at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)+
    +     at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)+
    +     at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)+
    +     at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)+
    +     at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)+
    +     at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)+
    +     at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)+
    +     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)+
    +     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)+
    +     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
    +     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)+
    +     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)+
    +     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)+
    +     at com.nexaweb.server.servlet.NexawebRequestDispatcher.doClientRequest(NexawebRequestDispatcher.java:346)+
    +     at com.nexaweb.server.servlet.NexawebRequestDispatcher.forwardClientRequest(NexawebRequestDispatcher.java:114)+
    +     at com.nexaweb.server.servlet.JspProcessor.processRequest(JspProcessor.java:137)+
    +     at com.nexaweb.server.servlet.RequestProcessor.dispatchRequest(RequestProcessor.java:463)+
    +     at com.nexaweb.server.servlet.RequestProcessor.processClientEvent(RequestProcessor.java:710)+
    +     at com.nexaweb.server.services.protocol.NexawebProtocolHandler.handleProcessEventCommand(NexawebProtocolHandler.java:1026)+
    +     at com.nexaweb.server.services.protocol.NexawebProtocolHandler.dispatchCommand(NexawebProtocolHandler.java:140)+
    +     at com.nexaweb.server.NexawebServer.doService(NexawebServer.java:420)+
    +     at com.nexaweb.server.NexawebServer.doGet(NexawebServer.java:335)+
    +     at com.nexaweb.server.admin.ServerAdmin.callNexawebServer(ServerAdmin.java:378)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
    +     at java.lang.reflect.Method.invoke(Method.java:601)+
    +     at com.nexaweb.loader.xMethodInvoker.runInThread(xMethodInvoker.java:69)+
    +     at com.nexaweb.server.api.admin.ServerAdminProxy.callNexawebServer(ServerAdminProxy.java:551)+
    +     at com.nexaweb.redirect.RedirectServlet.doGet(RedirectServlet.java:18)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)+
    +     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
    +     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)+
    +     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)+
    +     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)+
    +     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)+
    +     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)+
    +     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)+
    +     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)+
    +     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)+
    +     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)+
    +     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
    +     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
    Has anyone attempted this and also failed or succeeded, or done something similar? I'd like to be able to use the Deployment Manager to create adapters because it's easier than dealing with the design console, especially for multiple adapters.
    I can also post the xml file I'm using if anyone would like to see it.
    Edited by: 939908 on May 29, 2013 11:33 AM
    Edited by: 939908 on May 29, 2013 11:34 AM

    XML file I'm trying to import:
    <?xml version='1.0' encoding='UTF-8'?>
    <xl-ddm-data database="jdbc:oracle:thin:@hostname:1521/serviceName" description="Active Directory adapter" user="xelsysadm" version="2.0.2.1">
    <EventHandler name="adpADTESTADAPTER" repo-type="RDBMS" subtype="TaskAdapter">
    <EVT_POST_INSERT>0</EVT_POST_INSERT>
    <EVT_POST_UPDATE>0</EVT_POST_UPDATE>
    <EVT_POST_DELETE>0</EVT_POST_DELETE>
    <EVT_PRE_DELETE>0></EVT_PRE_DELETE>
    <EVT_PRE_UPDATE>0</EVT_PRE_UPDATE>
    <EVT_PRE_INSERT>0</EVT_PRE_INSERT>
    <EVT_PACKAGE>com.thortech.xl.dataobj.rulegenerators</EVT_PACKAGE>
    <Adapter name="AD Test Adapter" repo-type="RDBMS">
    <ADP_STATUS>OK</ADP_STATUS>
    <ADP_DESCRIPTION>Simple test adapter</ADP_DESCRIPTION>
    <ADP_TYPE>P</ADP_TYPE>
    <ADP_DISABLED>0</ADP_DISABLED>
    <ADP_BUILD>0</ADP_BUILD>
    <AdapterTask name="Run Simple Test" repo-type="RDBMS">
    <ADT_SEQUENCE>0</ADT_SEQUENCE>
    <ADT_TYPE>JAVA</ADT_TYPE>
    <AdapterTaskParam name="::~~::1:Output:method" repo-type="RDBMS">
    <ATP_SEQUENCE>1</ATP_SEQUENCE>
    <ATP_TYPE>String</ATP_TYPE>
    <ATP_IMAGE>parameter.gif</ATP_IMAGE>
    <ATP_IN_OUT_FLAG>Output</ATP_IN_OUT_FLAG>
    <ATP_JAVA_METHOD_TYPE>method</ATP_JAVA_METHOD_TYPE>
    <AdapterDataMapping id="ADM1337" repo-type="RDBMS">
    <ADM_DISPLAY_VALUE>Return variable (Adapter Variable)</ADM_DISPLAY_VALUE>
    <ADM_MAP_TO>Adapter Variables</ADM_MAP_TO>
    <ADM_MAP_QUALIFIER>Return variable</ADM_MAP_QUALIFIER>
    <ADM_ADV_KEY Adapter="AD Test Adapter" AdapterVariable="Adapter return value" EventHandler="adpADTESTADAPTER"/>
    </AdapterDataMapping>
    </AdapterTaskParam>
    <AdapterJavaTask repo-type="RDBMS">
    <ADJ_STATIC>1</ADJ_STATIC>
    <ADJ_CONSTRUCTOR>0 public com.test.SimpleTest()</ADJ_CONSTRUCTOR>
    <ADJ_METHOD>simpleTest</ADJ_METHOD>
    <ADJ_METHOD_DISPLAY>14 public java.lang.String com.test.SimpleTest.simpleTest()</ADJ_METHOD_DISPLAY>
    <ADJ_API_NAME>com.test.SimpleTest</ADJ_API_NAME>
    <ADJ_JAR_FILE>SimpleTest.jar</ADJ_JAR_FILE>
    <RLO_KEY ExternalDirectory="JavaTaskJar"/>
    </AdapterJavaTask>
    </AdapterTask>
    <AdapterVariable name="Adapter return value" repo-type="RDBMS">
    <ADV_DESC>Return variable</ADV_DESC>
    <ADV_DISPLAY_VALUE>Return variable</ADV_DISPLAY_VALUE>
    <ADV_MAP_TO>USED</ADV_MAP_TO>
    <ADV_DATA_TYPE>Object</ADV_DATA_TYPE>
    </AdapterVariable>
    </Adapter>
    </EventHandler>
    </xl-ddm-data>
    Edited by: 939908 on May 30, 2013 6:50 AM

  • Posted a new wiki on "Developing custom Web Dynpro pplications using GRT"

    This article describes how to develop custom Web Dynpro Java ESS applications using Generic Reporting Tool (GRT) / Reporting Framework (RFW)
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=235966686

    Hi,
    Its an awesome WIKI, lots of inputs and a eye-opener which shows clearly how powerful FPM is and what we can do with existing components.
    Thanks for the Wiki.
    Regards
    Tushar Shinde

  • SAP PI crashes because of Custom Adapter module

    Hi,
    We are facing a strange problem. We have deployed a custom adapter module developed in java which accesses a Hardware Security Module(HSM) and uses the keys in HSM to digitally sign our data. Now, when I use particular methods in this code and deploy it on PI server, the server crashes while testing this out. As soon as I run the channel having this adapter module, PI server becomes unavailable. It restarts on its own after a few minutes.
    One of the reasons I identified to be causing this issue is the signing mechanism used in code. When I used a mechanism that was not supported or not correct, it crashed the server. If i corrected it, it worked fine. I found no other thing in my code causing this behaviour apart from this mechanism. But I am still not able to understand how a single method in a code can cause the whole server to crash. Has anybody here faced such a problem? Any pointers would be appreciated.
    We are using SAP PI 7.31 java only installation.
    Thanks,
    Ravi Desai

    Hi Ravi
    1. To check if it is a memory issue. Once you start the channel, check the memory usage in nwa. Check if the memory is increasing once the channel is started.
    2. Add debug statements to print logs in default traces at as many places as possible. Since your code is not reaching the Catch block, using the debug statement you can reach the line in the code which is causing this issue.
    Regards
    Osman Jabri

Maybe you are looking for

  • How to change font size for tracks in Songs view, iTunes 11?

    I'm wondering which field in TextStyles.plist for the new iTunes 11 (I've gotten rid of Helvetica for Lucida Grande thanks to another forum on here!) - controls the font size for track title, time, artist, album, etc. as seen here - I would like to h

  • Deleting photo's not working

    I recently upgraded to iphoto '11, everything seems to work fine apart from one thing the abillity to delete photo's. The delete key, dragging to the trash and arrow down trash option are all not working. Anyone any ideas? any help would be appreciat

  • I asked this question before but I can't find it now. Anyway, I'm trying to import a DVD video that was made on a MAC and use it on a new iMovie project.

    I asked this question before but I can't find it now. Anyway, I'm trying to import a DVD video that was made on a MAC and use it on a new iMovie project. How do I do the importing.

  • Microsoft Office error message

    Hi, I downloaded some bad application on my new intel 17" 2 GHz C2D machine and then my word wouldn't work at all. So I went to the application file where the 2004 office was stored and then tried excel etc. and they were all dead. So I restarted my

  • Low audio recording

    Hello - When I tried speaking into the built-in microphone on my iMac G5, & record onto iMovie it came out very very low. What I would eventually like to do is lay down a piano track in Garage Band, then record my song over it, but, need to know how