CLASSPATH ERROR for oimclient.jar in OIM webservice deployed on OIM Server

Hi All,
We have created a Webservice to be deployed on oim server (environment is OIM11gR2 PS1).
Deployment is successfull.Webservice Code has Reconciliation code for users,which is running fine when tested as stand-alone java code.
In code we are fetching OIM system Credentials from credential map code with Cred Map "oim". For oim related login and connection we are using OIM APIs. for that we need oimclient.jar in classpath for reference.
So,when we deployed same webservice on OIM server, we thought oimclient.jar will be referred automatically from location
But,when tested same webservice from WebLogic admin server console -> deployments ,we are facing issues refering to the oimclient.jar file.
Getting error like :
<S:Body>
    <S:Fault xmlns:ns4="http://schemas.xmlsoap.org/soap/envelope/">
      <S:Code>
        <S:Value>S:Receiver</S:Value>
      </S:Code>
      <S:Reason>
        <S:Text xml:lang="en">oracle/iam/platform/OIMClient</S:Text>
      </S:Reason>
      <Detail xmlns="http://www.w3.org/2003/05/soap-envelope">
        <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" class="java.lang.NoClassDefFoundError" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
          <message>oracle/iam/platform/OIMClient</message>
          <ns2:stackTrace>
            <ns2:frame class="com.persistent.seneca.OIMService" file="OIMService.java" line="88" method="dispose" />
            <ns2:frame class="com.persistent.seneca.OIMService" file="OIMService.java" line="72" method="createReconciliationEventinOIM" />
            <ns2:frame class="com.persistent.seneca.SenecaIDMService" file="SenecaIDMService.java" line="134" method="createIdentity" />
            <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="native" method="invoke0" />
            <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="39" method="invoke" />
            <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke" />
            <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="597" method="invoke" />
            <ns2:frame class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker" file="WLSInstanceResolver.java" line="92" method="invoke" />
            <ns2:frame class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker" file="WLSInstanceResolver.java" line="74" method="invoke" />
            <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="151" method="invoke" />
            <ns2:frame class="com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl" file="EndpointMethodHandlerImpl.java" line="268" method="invoke" />
            <ns2:frame class="com.sun.xml.ws.server.sei.SEIInvokerTube" file="SEIInvokerTube.java" line="100" method="processRequest" />
            <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="866" method="__doRun" />
            <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="815" method="_doRun" />
            <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="778" method="doRun" />
            <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="680" method="runSync" />
            <ns2:frame class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="403" method="process" />
            <ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="539" method="handle" />
            <ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="253" method="handle" />
            <ns2:frame class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="140" method="handle" />
            <ns2:frame class="weblogic.wsee.jaxws.WLSServletAdapter" file="WLSServletAdapter.java" line="171" method="handle" />
            <ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke" file="HttpServletAdapter.java" line="708" method="run" />
            <ns2:frame class="weblogic.security.acl.internal.AuthenticatedSubject" file="AuthenticatedSubject.java" line="363" method="doAs" />
            <ns2:frame class="weblogic.security.service.SecurityManager" file="SecurityManager.java" line="146" method="runAs" />
            <ns2:frame class="weblogic.wsee.util.ServerSecurityHelper" file="ServerSecurityHelper.java" line="103" method="authenticatedInvoke" />
            <ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter$3" file="HttpServletAdapter.java" line="311" method="run" />
            <ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter" file="HttpServletAdapter.java" line="336" method="post" />
            <ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="99" method="doRequest" />
            <ns2:frame class="weblogic.servlet.http.AbstractAsyncServlet" file="AbstractAsyncServlet.java" line="99" method="service" />
            <ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="820" method="service" />
            <ns2:frame class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction" file="StubSecurityHelper.java" line="227" method="run" />
            <ns2:frame class="weblogic.servlet.internal.StubSecurityHelper" file="StubSecurityHelper.java" line="125" method="invokeServlet" />
            <ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="301" method="execute" />
            <ns2:frame class="weblogic.servlet.internal.TailFilter" file="TailFilter.java" line="26" method="doFilter" />
            <ns2:frame class="weblogic.servlet.internal.FilterChainImpl" file="FilterChainImpl.java" line="56" method="doFilter" />
            <ns2:frame class="oracle.security.jps.ee.http.JpsAbsFilter$1" file="JpsAbsFilter.java" line="119" method="run" />
            <ns2:frame class="java.security.AccessController" file="AccessController.java" line="native" method="doPrivileged" />
            <ns2:frame class="oracle.security.jps.util.JpsSubject" file="JpsSubject.java" line="315" method="doAsPrivileged" />
            <ns2:frame class="oracle.security.jps.ee.util.JpsPlatformUtil" file="JpsPlatformUtil.java" line="442" method="runJaasMode" />
            <ns2:frame class="oracle.security.jps.ee.http.JpsAbsFilter" file="JpsAbsFilter.java" line="103" method="runJaasMode" />
            <ns2:frame class="oracle.security.jps.ee.http.JpsAbsFilter" file="JpsAbsFilter.java" line="171" method="doFilter" />
            <ns2:frame class="oracle.security.jps.ee.http.JpsFilter" file="JpsFilter.java" line="71" method="doFilter" />
            <ns2:frame class="weblogic.servlet.internal.FilterChainImpl" file="FilterChainImpl.java" line="56" method="doFilter" />
            <ns2:frame class="oracle.dms.servlet.DMSServletFilter" file="DMSServletFilter.java" line="139" method="doFilter" />
            <ns2:frame class="weblogic.servlet.internal.FilterChainImpl" file="FilterChainImpl.java" line="56" method="doFilter" />
            <ns2:frame class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction" file="WebAppServletContext.java" line="3730" method="wrapRun" />
            <ns2:frame class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction" file="WebAppServletContext.java" line="3696" method="run" />
            <ns2:frame class="weblogic.security.acl.internal.AuthenticatedSubject" file="AuthenticatedSubject.java" line="321" method="doAs" />
            <ns2:frame class="weblogic.security.service.SecurityManager" file="SecurityManager.java" line="120" method="runAs" />
            <ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2273" method="securedExecute" />
            <ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2179" method="execute" />
            <ns2:frame class="weblogic.servlet.internal.ServletRequestImpl" file="ServletRequestImpl.java" line="1490" method="run" />
            <ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="256" method="execute" />
            <ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="221" method="run" />
          </ns2:stackTrace>
        </ns2:exception>
      </Detail>
    </S:Fault>
  </S:Body>
  </S:Envelope>
Is there anyway to refer to this oimclient.jar which is used by the web service?
Thank in Advance !!
RPB

I have updated my weblogic.xml file in WAR application folder WEB-INF/ folder as
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <context-root>SenecaIdMWebService</context-root>
  <container-descriptor>
    <prefer-application-packages>     
        <package-name>oracle.iam.*</package-name>
    </prefer-application-packages>
  </container-descriptor>
</weblogic-web-app>
But,where should i put my oimclient.jar .
1. Should i put it in Application/WEB-INF/lib folder ..which is not working.This scenario is giving error...
weblogic.application.ModuleException: Failed to load webapp: 'SenecaIdMWebService.war'
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
        at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
        at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
        at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
        at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
        at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
        Truncated. see log file for complete stacktrace
Here, i have also put all dependedncies of oimclient.jar in same folder Application/WEB-INF/lib  ,thoes jars are:
     spring.jar
     jrf-api.jar
     wlfullclient.jar
     common-logging.jar
Still, i cant get rid of this issue.Is there any other jar which is required for oimclient.jar for any reference
So i removed oimclient.jar from WEB-INF/li/ folder but getting old exception :
  <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" class="java.lang.NoClassDefFoundError" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
          <message>oracle/iam/platform/OIMClient</message>
          <ns2:stackTrace>
            <ns2:frame class="com.persistent.seneca.OIMService" file="OIMService.java" line="88" method="dispose" />
            <ns2:frame class="com.persistent.seneca.OIMService" file="OIMService.java" line="72" method="createReconciliationEventinOIM" />
            <ns2:frame class="com.persistent.seneca.SenecaIDMService" file="SenecaIDMService.java" line="134" method="createIdentity" />
            <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="native" method="invoke0" />
            <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="39" method="invoke" />
2. Should i put it in DOMAIN_HOME/lib folder of Weblogic Server where i am deploying my webservice as war application  instead of putting it in  application war  file itself?
Thanks,
RPB

Similar Messages

  • [svn:fx-trunk] 10055: localized classpath fix for mxmlc.jar,compc. jar and asdoc.jar - add mxmlc_ lang .jar to the path.

    Revision: 10055
    Author:   [email protected]
    Date:     2009-09-08 09:41:10 -0700 (Tue, 08 Sep 2009)
    Log Message:
    localized classpath fix for mxmlc.jar,compc.jar and asdoc.jar - add mxmlc_.jar to the path.  Without these localized errors and warnings aren't generated.
    QE notes: ensure the errors and warnings are generated properly
    Doc notes: no
    Bugs: sdk-22806
    Reviewer:
    Tests run: checkintests:pass
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-22806
    Modified Paths:
        flex/sdk/trunk/modules/compiler/build.xml

    So do you know how I can get JavaStudio to add
    library classes and JAR''s into the packaged dist
    file?I was wrong in my previous post. Sorry.
    It's impossible to specify additional classpath with '-jar' option.
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html#options
    �-jar
    When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored. �
    So the only solution is to add libs into jar file and declare them in manifest.
    One possible way of how to do it in JSE8 is:
    1. Put all necessary lib jars to some place under src folder.
    2. Add those jars into Compile-time libraries list (Project properties -> Libraries) for correct compilation
    3. Switch to 'Files' JSE8 tab, open manifest.mf file (it's in projects root) and add your lib jars to it.
    Syntax is:
    Class-Path: relative URLs
    That's it.

  • App Insights for web application not working when deployed to Dev server

    App Insights is not sending telemetry data for ASP.NET MVC web *requests* (page views from the JS instrumentation are fine) when the app is deployed to the Dev or Test IIS servers.  On local IIS express it works perfectly fine.    I have
    no idea how to troubleshoot this problem.
    Bert Jackson

    - the AI.config file is both in the root of the site, and the /bin folder (which was confusing the other day).  Both are correct.
    - it looks like a local browser can go to https://dc.services.visualstudio.com (it results in a 403 since its just a GET to the root).  During this test, I found that this server did NOT have the Root trust certificate (Baltimore cybertrust), which
    would cause problems when using IE locally to browse the app; the javascript AI logging was not working, because it couldnt fetch the ai.0.js file).  I got the proper root certificate installed on the server, but request logging still not working.  I
    dont believe the firewall is a problem.
    - I've verified that all binaries are indeed deployed in to the bin folder on the server
    - web.config does have the AI http module; I've verified via logging that the ApplicationInsightsWebTracking is loaded.  However, I have custom Context/Telemetry initializers, and their Initialize() methods are *NOT* being called when deployed on the
    server.  I've tried both ways of registering the initializers; via code in the Application_Start() event and also in the ApplicationInsights.config file.
    I don't know how to troubleshoot any further, to figure out if AppInsights is actually *trying* to send telemetry out and failing, or if its not actually even trying.
    Bert Jackson

  • Need help with classpath configuration for external jar files

    We have coded our own JAAS login module, and it uses classes located in jar files, and these jar files were not created using SAP dev studio, e.g. they were provided by a third party vendor as a set of tools.
    So, how do we deploy these jar files so that our SAP JAAS login module can find them ? We found we can run consoleconfig.sh to change the classpath which SAP J2EE engine uses, but we wondered if there was a better way to do this. Of course, if the jar files were created by us, we can include them in the dev studio project and they would be deployed using SDM, and this would not require any changes to classpath using consoleconfig.sh
    Thankyou in advance for your help.

    I noticed nobody has sent any feedback on this yet, so I wondered if I have posted to the wrong forum ? Any thoughts on this ?
    Thanks,
    Tim

  • Best practices for managing jar files

    just wondering what anyone's thoughts are on managing jar files. I have read that instead of adding the jar files to your CLASSPATH environment variable, you can just extend the jdk. This is accomplished by inserting the jar files into the C:\jdk1.3.1_01\jre\lib\ext directory. I suspect that if the latter option is truly feasible, it would be preferred to adding entries to the CLASSPATH variable for every jar file you want to use. You could end up with hundreds of entries into the CLASSPATH variable if you have that many jar files in use.
    Any thoughts, comments, or links to where I can find any info on this?...
    thanks for any information.....

    In my company, we use scripts (in UNIX system) to handle this problem. The following scripts can iterate jar files in a given directory:
    for i in ${YOUR_LIB_DIR}/*.jar
    do
    YOUR_CLASSPATH=${YOUR_CLASSPATH}:$i
    done
    With this simple script, you can use any directory in the same way as the ext\ direcotry (just copy the jar file in it), and you still have the flexibility of maintaining jar files in different directories, say a number of projects.
    but i don't know whether .bat/.cmd scripts for windows have the same function.

  • RFC system error for destination GTADIR_SERVER

    I just installed trial version 7.0 ABAP SP12. I started the learning path displayed in SE80, create a table and some class for working with it.
    When trying to create a data-element I get the error "RFC system error for destination GTADIR_SERVER". Any hints about what this server is and how to set it up?

    This message is not supposed to appear for customers, but it doesn't cause any harm either.  You can click through and ignore it. 
    The message is removed for customers in SP13.  Check OSS Note 1063482.

  • Worklist client webservice deployment problem

    Hi Guys,
    I am very new to BPEL.
    we have custom worklist app client deployed as webservice which returns the tasks and status of the tasks.
    it works ok on my local local environment ( it returns the status of the task).
    I deployed this web service on our server (created connection to the server in Jdeveloper and deployed to the server). and I can see the webservice deployed on the server. when I invoked the server with instance id it does not return anything.
    I tried one of the instances of the Bpel process from my local environment it returned the status of the instance.
    what's happening is even though I deployed it to the server it still looks at the BPEL process instances on my local environment not the server.
    How can fix this? any ideas.
    I hope this make sense.

    Hi Satinder,
    I have changed the <serverURL> in wf_client_config.xml to our server on my local machine. But it is still not working.
    I deployed the web service to the server and it does not return the status of the task.
    When i invoked the web service with one of the instance id on my local machine it returns the status.I think it is still looking at the local machine.
    Please Help.

  • Error: Exception while jar file setup for uri

    Our environment is set up as
    Adminserver running on one machine.
    Managed servers running on another machine.
    Communication via node manager.
    Machines physically in the same location.
    Trying to deploy application using the wldeploy script or the weblogic console.
    I get the following error while deploying my application on one of the managed
    server
    Can anybody throw some light on what could be wrong ?
    ####<Apr 19, 2004 2:30:11 PM PDT> <Error> <Deployer> <tin.rose.hp.com> <GSOeProc-EMEA_3_0_AM_tin_AM>
    <ExecuteThread: '23' for queue: 'default'> <kernel identity> <> <149201> <The
    Slave Deployer failed to complete the deployment task with id 16 for the application
    GSOeProc-EMEA_3_0_55.>
    weblogic.management.ApplicationException: Module creation failed. Task Id = 16
    Module Name: email_mdb.jar, Error: Exception while jar file setup for uri : email_mdb.jar
    in Module :
    TargetException: java.util.zip.ZipException: error in opening zip file
    at weblogic.j2ee.J2EEApplicationContainer.addFindersForAllModules(J2EEApplicationContainer.java:660)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:554)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1096)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

    Does your app work if you deploy it to a single server environment?
    It's complaining that it can't find the email_mdb.jar file.
    -- Rob
    Satya wrote:
    Our environment is set up as
    Adminserver running on one machine.
    Managed servers running on another machine.
    Communication via node manager.
    Machines physically in the same location.
    Trying to deploy application using the wldeploy script or the weblogic console.
    I get the following error while deploying my application on one of the managed
    server
    Can anybody throw some light on what could be wrong ?
    ####<Apr 19, 2004 2:30:11 PM PDT> <Error> <Deployer> <tin.rose.hp.com> <GSOeProc-EMEA_3_0_AM_tin_AM>
    <ExecuteThread: '23' for queue: 'default'> <kernel identity> <> <149201> <The
    Slave Deployer failed to complete the deployment task with id 16 for the application
    GSOeProc-EMEA_3_0_55.>
    weblogic.management.ApplicationException: Module creation failed. Task Id = 16
    Module Name: email_mdb.jar, Error: Exception while jar file setup for uri : email_mdb.jar
    in Module :
    TargetException: java.util.zip.ZipException: error in opening zip file
    at weblogic.j2ee.J2EEApplicationContainer.addFindersForAllModules(J2EEApplicationContainer.java:660)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:554)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1096)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

  • Thawte certificate signing error for jar file

    We are running im version 7.2-28 (patch 118786-28). When connecting to im via the web (which we are serving from webserver version 7) user are prompted by certificate error for the im java application -- not to be confused with the web server certificate.
    This seems like one of those things I miss in the release notes, find later and feel stupid, but I've not found it yet.
    The certificate details are:
    L=Palo Alto,
    ST=California,
    C=US,
    OU=Secure Application Development,
    O=Sun Microsystems Inc.,
    CN=Sun Microsystems Inc.
    MD5:0D:62:CF:DA:1F:0F:00:E3:02:2F:B6:3A:A8:36:4B:DC
    With validity:
    [From: Wed Jan 05 15:02:33 GMT 2005,
    To: Mon Jan 15 18:21:35 GMT 2007]
    It is signed by Thawte, but the CA certificates look fine.
    Any advice on what I'm missing would be appreciated.
    Thanks,
    Ethan

    Hi,
    You are facing this issue coz the certificate used to sign im-client jars is expired.This is a known issue and will be fixed in the upcoming release.
    Regards,
    Swetha

  • Classpath Settings for Accessing methods in another Jar

    The Problem description is as given below:
    EAR
    |
    |---------->WAR
    | |
    | |----------> JAR1
    | |----------> JAR2
    |
    |----------> JAR3
    Please note that EAR in the structure above will be Deployed in the WebLogic Server
    .... The requirement is, The methods of the classes in the JAR1 and JAR2 files
    should be in a position to call the methods of classes in JAR3 classes and vice
    versa..... How can this be achieved ??
    Regards
    Sudhindra

    Went through the articles and found them to be very very useful.
    However there is one question that I have for you.
    Is it possible to package an application that uses webflows and pipelines into
    an ear file and then deploy it?
    If this is possible then where do I package my webflow files(.wf)?
    This is something that I have been trying but not been able to acheive. Would
    really appreciate a quick response from your side.
    Andrey Myatlyuk <[email protected]> wrote:
    Hello!
    http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html
    http://www.onjava.com/pub/a/onjava/2001/07/25/ejb.html
    http://dev2dev.bea.com/articlesnews/discussion/thread.jsp?thread=musser
    Hope this helps.
    Andrey.
    Sudhindra wrote:
    The Problem description is as given below:
    EAR
    |
    |---------->WAR
    | |
    | |----------> JAR1
    | |----------> JAR2
    |
    |----------> JAR3
    Please note that EAR in the structure above will be Deployed in theWebLogic Server
    .... The requirement is, The methods of the classes in the JAR1 andJAR2 files
    should be in a position to call the methods of classes in JAR3 classesand vice
    versa..... How can this be achieved ??
    Regards
    Sudhindra

  • Compile error for BPEL process

    I am attempting to compile the second BPEL tutorial (the one that connects to a service) using Jdeveloper. I am running into the following error:
    Error: C:\Oracle\jdeveloper\webservices\lib\jaxr_api.jar (The system cannot find the file specified)
    This file is clearly there and I even tried adding it explicitly to the properties for included jars.
    Any thoughts??
    Search here and on the web resulted in zero hits.

    <?xml version = '1.0' encoding = 'UTF-8'?>
    <jpr:project xmlns:jpr="http://xmlns.oracle.com/ide/project">
    <hash n="component-versions">
    <value n="oracle.adf.dt.migration.ProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdt.controller.jsf.addin.JSFProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdt.controller.struts.addin.db.ADFStrutsProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdt.controller.struts.addin.StrutsProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdtinternal.view.faces.addin.ADFFacesLibraryMigrator" v="10.1.3.2.0"/>
    <value n="oracle.bm.commonIde.ProjectUpgrader" v="10.1.3.2.0"/>
    <value n="oracle.ide.model.Project" v="10.1.3.2.0"/>
    <value n="oracle.ide.model.ResourcePathsMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jbo.dt.jclient.migrator.JCProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jbo.dt.jdevx.ui.appnav.APProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdeveloper.dbmodeler.migration.ProjectMigratorHelper" v="10.1.3.2.0"/>
    <value n="oracle.jdeveloper.ejb.EjbMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdeveloper.offlinedb.migration.OfflineDBProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdevimpl.jsp.JsfLibraryMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdevimpl.jsp.JspMigrator" v="10.1.3.1.0"/>
    <value n="oracle.jdevimpl.runner.RunConfigurationsMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdevimpl.webservices.WebServicesMigratorHelper" v="10.1.3.2.0"/>
    <value n="oracle.tip.tools.ide.pm.addin.PMProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.toplink.addin.migration.TopLinkProjectMigrator" v="10.1.3.1.0"/>
    </hash>
    <list n="contentSets">
    <string v="oracle.jdeveloper.model.PathsConfiguration/javaContentSet"/>
    <string v="oracle.ide.model.ResourcePaths/resourcesContentSet"/>
    <string v="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings/offlineDBContentSet"/>
    <string v="oracle.jdeveloper.model.J2eeSettings/webContentSet"/>
    <string v="oracle.toplink.addin.TopLinkProjectSettings/toplinkContentSet"/>
    <string v="oracle.bm.commonIde.data.project.ModelerProjectSettings/modelersContentSet"/>
    <string v="oracle.tip.tools.ide.pm.addin.PMProjectSettings/Integration_Content"/>
    </list>
    <value n="defaultPackage" v="BusinessProcess"/>
    <value n="Namespace" v="http://xmlns.oracle.com/CtmPocDciSyncBpel"/>
    <hash n="oracle.bm.commonIde.data.project.ModelerProjectSettings">
    <hash n="modelersContentSet">
    <list n="url-path">
    <url path="model/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.ide.model.ResourcePaths">
    <hash n="resourcesContentSet">
    <list n="pattern-filters">
    <string v="+*"/>
    </list>
    <list n="url-path">
    <url path="."/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.ide.model.TechnologyScopeConfiguration">
    <list n="technologyScope">
    <string v="WebServices"/>
    <string v="XML"/>
    <string v="Java"/>
    <string v="Integration"/>
    </list>
    </hash>
    <hash n="oracle.jdeveloper.compiler.OjcConfiguration">
    <list n="copyRes">
    <string v=".gif"/>
    <string v=".jpg"/>
    <string v=".jpeg"/>
    <string v=".png"/>
    <string v=".properties"/>
    <string v="-apf.xml"/>
    <string v=".ejx"/>
    <string v=".xcfg"/>
    <string v=".cpx"/>
    <string v=".dcx"/>
    <string v=".wsdl"/>
    <string v=".ini"/>
    <string v=".tld"/>
    <string v=".tag"/>
    </list>
    <value n="internalEncoding" v="Cp1252"/>
    </hash>
    <hash n="oracle.jdeveloper.model.J2eeSettings">
    <value n="j2eeWebAppName" v="PocExtension-CtmPocDciSyncBpel-webapp"/>
    <value n="j2eeWebContextRoot" v="PocExtension-CtmPocDciSyncBpel-context-root"/>
    <hash n="webContentSet">
    <list n="url-path">
    <url path="public_html/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.jdeveloper.model.PathsConfiguration">
    <hash n="javaContentSet">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="src/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings">
    <hash n="offlineDBContentSet">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="database/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.jdeveloper.runner.RunConfigurations">
    <hash n="runConfigurationDefinitions">
    <hash n="Default">
    <value n="custom" v="false"/>
    <value n="name" v="Default"/>
    </hash>
    </hash>
    <list n="runConfigurationList">
    <string v="Default"/>
    </list>
    </hash>
    <hash n="oracle.jdevimpl.config.JProjectLibraries">
    <list n="exportedReferences">
    <hash>
    <value n="id" v="Jaxr-api.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XML Parser v2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="J2EE"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="JAX-RPC Client"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Commons Logging 1.0.3"/>
    <value n="isJDK" v="false"/>
    </hash>
    </list>
    <hash n="internalDefinitions">
    <list n="libraryDefinitions">
    <hash>
    <list n="classPath">
    <url path="../../../../oracle/jdeveloper/webservices/lib/jaxr-api.jar" jar-entry=""/>
    </list>
    <value n="deployedByDefault" v="true"/>
    <value n="description" v="Jaxr-api.jar"/>
    <value n="id" v="Jaxr-api.jar"/>
    <value n="locked" v="true"/>
    </hash>
    </list>
    </hash>
    <list n="libraryReferences">
    <hash>
    <value n="id" v="Jaxr-api.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XML Parser v2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="J2EE"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="JAX-RPC Client"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Commons Logging 1.0.3"/>
    <value n="isJDK" v="false"/>
    </hash>
    </list>
    </hash>
    <hash n="oracle.jdevimpl.config.JProjectPaths">
    <url n="outputDirectory" path="output/"/>
    </hash>
    <hash n="oracle.tip.tools.ide.pm.addin.PMProjectSettings">
    <hash n="Integration_Content">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="bpel/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.toplink.addin.TopLinkProjectSettings">
    <hash n="toplinkContentSet">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="toplink/"/>
    </list>
    </hash>
    </hash>
    <value n="ProcessName" v="CtmPocDciSyncBpel"/>
    <value n="Template" v="BPEL_SYNC_PROCESS"/>
    <value n="Version"/>
    </jpr:project>

  • Classpath error while building the web dynpro project

    Hi
    I have created an application in which on clicking the button on one view , next view opens and data is displayed in the tables. This data i am giving as static, and for that i have created a java file. this java file is located in the subfolder i have created in the package path i have given. While building the application, i get these two errors :
    1) The project was not built due to classpath errors (incomplete or involved in cycle).
    2) Missing required source folder 'BPOutageTable/BPOT'
    BPOutageTable is the application name, and BPOT is the subfolder in which java file is present.
    This application is similar to "The Master/Detail Viewer Application" example in the tutorials.
    Can anybody please help in this?
    Thanks & regards,
    Anupreet

    Hi,
       You have give your classpath in your "lib" folder of the Dynpro application.
       check your lib folder shows exact class path or not.
    if you wish to add any jar files import it to your lib folder so you will not have compilation problem.
    Hope it helps.If it is then close this thread.
    Regards,
    Guru

  • Error while creating jar from source folder

    Hi,
    i have source folder and i added log4j.properties
    i try to build for creating jar (sourcecode.jar) by ant build (build.xml)
    it is throwing error and saying that "package org.apache.log4j does not exist"
    i spend more time to resolve this error , but i could not find any solution.
    what is the error on this.. below the build.xml code which i try to build jar
    <project name="MyProject" default="dist" basedir=".">
        <description>
            simple example build file
        </description>
      <!-- set global properties for this build -->
      <property name="src" location="src"/>
      <property name="build" location="build"/>
      <property name="dist"  location="dist"/>
      <target name="init">
        <!-- Create the time stamp -->
        <tstamp/>
        <!-- Create the build directory structure used by compile -->
        <mkdir dir="${build}"/>
      </target>
         <path id="classpath">
                 <fileset dir="${src.dir}">
                 <include name="log4j-1.2.16.jar"/>
                 </fileset>
         </path>
         <target name="compile" depends="init"
            description="compile the source " >
        <!-- Compile the java code from ${src} into ${build} -->
        <javac srcdir="${src}" destdir="${build}"/>
      </target>
      <target name="dist" depends="compile"
            description="generate the distribution" >
        <!-- Create the distribution directory -->
        <mkdir dir="${dist}/lib"/>
        <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
        <jar jarfile="${dist}/lib/EscapeIncontra.jar" basedir="${build}"/>
      </target>
      <target name="clean"
            description="clean up" >
        <!-- Delete the ${build} and ${dist} directory trees -->
        <delete dir="${build}"/>
        <delete dir="${dist}"/>
      </target>
    </project>i am using log4j.properties inside source folder also added in eclipse class path..
    Thanks
    Rosina

    user13836688 wrote:
         <path id="classpath">
                 <fileset dir="${src.dir}">
                 <include name="log4j-1.2.16.jar"/>
                 </fileset>
         </path>
    maybe you ment<path id="classpath">
                 <fileset dir="${src.dir}">
                 </fileset>
                 <pathelenemt path="${your_lib_folder_path}/log4j-1.2.16.jar"/>
         </path>bye
    TPD

  • Classpath error in portal application

    Hi
    <b>first problem</b>
    when i am going to deploy the sample portal application for example displaying the "Hello world" message in the output, so i am getting the classpath error as displayed below.
    <b>"The project was not built due to classpath errors(imcomplete or involved in cycle)"</b>
    can any one help where should i change the classpath and all to deploy the portal application successfully".
    <b>second problem</b>
    when i am going to write the code in the dynpage in the portal for example
    suppose if i want to add group to form then i type
    formobjectname.groupname;
    when i press . the entire list of possiblites are not apperaing in the list.
    pls help on this two.
    will award max points, if i slove
    Regards
    Sunil

    Dear Sunil,
    To answer your second question first:
    You ae'nt getting the list of methods/possibilities because the correct package/class is not imported. e.g. If you do not include com.sap.security.api.* you will not get the list of methods associated with any class falling under that package.
    The first problem: I really suggest that you download classlocator from sourceforge.net. It is easily plugges into NWDS. Double Click the error message and see it completely. I guess you would get one more message stating which class cannot be found. Once you install Class locator, you can easily type the class in the application and it will automatically add that Jar file in your classpath thus solving your issue.
    Regards,
    Prem
    SAP.

  • Could not find the main class error with executable jar

    Hello,
    I have troubles creating an executable jar file and I ran out of ideas how to solve it so I would appreciate some help.
    I have created a jar file with the export function in eclipse
    the Manifest.MF file contains:
    Manifest-Version: 1.0
    Main-Class: view.AppTennisViewI tried starting the file with a batch file which contains following code:
    @echo off
    javaw -classpath c:\TennisHSQLDB_GC2\tennisApp.jar
    @start javaw -jar tennisApp.jar
    exitthe batch file and the jar are both located in c:\TennisHSQLDB_GC2.
    When i try command line I get the same result.
    I also tried alternate statements such as SET CLASSPATH iso javaw -classpath and including the classpath in the manifest file but no luck. It keeps given me the error: could not find the main class. program will exit
    Anyone any suggestions for my problem?

    nevermind, found it.
    classpath in manifest was incorrect

Maybe you are looking for

  • XML publisher report with a template file missing

    I get the following error Active template file not found in the template definition <TEMPLATE_NAME> for date <EFFDT>. (235,2515) PSXP_RPTDEFNMANAGER.TemplateDefn.OnExecute Name:GetActiveTemplateFile PCPC:15872 Statement:346 but in Reporting Tools > X

  • How do you know what the password on the ipad is using itunes

    My Ipad is locked but someone told me I can use itunes to figure out the password.

  • Apache / JRUN setting up trust between two app servers

    Hi, I have two applications running on Apache web server and JRUN app server. How can i setup a trust domain between the two jrun app servers so that the user doesnt have to enter authentication credentials in both the servers when forwarded from app

  • Mounting Cdrom Drive In Guest Domain running 1.0.3

    Folks, I have followed the Admin guide on how to export Cdrom/Dvd drive from Service Domain to Guest Domain, however once allocated to the guest domain we are unable to mount the device. Any help is appreciated. Here are my bindings ldm list-bindings

  • Analytic function

    Hi all I created sript to get lag days or differential of tstdate every wzoneid by month, please help select xox.gs, xox.grid, xox.mnth as "Month", xox.last_test, /*xox.lag1,*/ (CASE WHEN lag1 >200 THEN null when lag1 = 0 then null else lag1 END) lag