Error while initializing OIM from eclipse

Hi All,
I am trying to connect OIM deployed on WAS 6.1 through eclipse. Connection is getting established but when I am calling finduser api getting error
Below is the error:
Exception in thread "P=727545:O=0:CT" java.lang.NullPointerException
     at Thor.API.Operations.tcUserOperationsClient.findAllUsers(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:618)
     at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(AccessController.java:214)
     at javax.security.auth.Subject.doAs(Subject.java:495)
     at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)
     at Thor.API.Security.LoginHandler.websphereLoginSession.runAs(Unknown Source)
     at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
     at $Proxy0.findAllUsers(Unknown Source)
     at com.anz.ts.DelAdmin1.findUserKey(DelAdmin1.java:56)
     at com.anz.ts.DelAdmin1.main(DelAdmin1.java:203)

Ya we are trying different options..
For your error "0000002c SecurityColla A SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)ejb/tcUserOperations create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User "
If you are using Websphere then you must add 'User' role to your user through WAS console.

Similar Messages

  • Getting error while upgrading OIM from 9101 to 9102

    I am trying to upgrade OIM from 9101 to 9102 but getting following error.
    bash-3.00$ sh ./LoadXLIF.sh jdbc:oracle:thin:@DB_HOST_IP:SID <Database User Name> <Database Password> AUDITCOMPLIANCE
    /opt/oracle/oim/jdk_1.5.0_06/bin/java -cp /:/lib/xlUtils.jar com.thortech.xl.util.LoadXLIF Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@DB_HOST_IP:SID <Database User Name> <Database Password> xliff/XLIFsequence.properties xliff AUDITCOMPLIANCE
    Exception in thread "main" java.lang.NoClassDefFoundError: com/thortech/xl/util/LoadXLIF
    I confirmed that /xellerate/lib/xlUtils.jar has com/thortech/xl/util/LoadXLIF.class
    Thanks.
    Vinay

    Hi, please update the reason and how you were able to resolve the issue. So that it will help other users too.

  • Error while initializing OIM API in 11G

    I am trying to deploy a webservice exposing some of the OIM API's in 11G[11.1.1.5]. I am using the OIMClient API to initialize the API's. The following code works fine when I run with in the eclipse but doesnt work when it is deployed on the weblogic server[10.3.5]. This is a standalone server where no other web app is deployed. Has anyone faced this issue before. Any pointers on this would be helpful. Thnaks in advance.
    System.setProperty("java.security.auth.login.config", "./authwl.conf");
    Hashtable<String, String> env = new Hashtable<String, String>();
                   env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, providerURL);
                   env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL, OIMClient.WLS_CONTEXT_FACTORY);
                   oimClient = new OIMClient(env);
    oimClient.login(userName, password.toCharArray());
    The exception is :
    java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
    java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
    at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:130)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:58)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
    at au.com.suncorp.oim.custom.spml.SuncorpOIMOperations.getInitializedOIMClient(SuncorpOIMOperations.java:113)
    at com.suncorp.test.oim.custom.spml.OIMWebServiceSoapBindingImpl.identitySearchByName(OIMWebServiceSoapBindingImpl.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    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:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    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:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: vindla on 16-Feb-2012 01:10
    Edited by: vindla on 16-Feb-2012 01:14

    1) please ensure that the war file which you deploy in WLS is pointing to the authwl.conf file on the machine hosting the war.
    2) apart from that make sure you have the following jars added to the calss path or added to the lib folder of the war.
    commons-logging-1.1.1.jar;
    oimclient.jar;
    spring.jar
    try removing extra libraries and jars from the war file. it sometimes give errors.
    i have done exactly the same thing and it works fine.
    rest it looks fine
    ======code snippet====
    System.setProperty("java.security.auth.login.config","/path/authwl.conf");
    System.setProperty("OIM.AppServerType", "weblogic");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://host:14000/oim");
    try {
    oimClient.login("xelsysadm", "password");
    } catch (LoginException e) {
    e.printStackTrace();
    OIMClient oimClient = new OIMClient(env);

  • EPM Configurator Error "Failed to navigate from RegistryWizardState: Error while initializing registry.

    Hi,
    I am getting Below error in RHEL 6.5
    EPM Configurator Error "Failed to navigate from RegistryWizardState: Error while initializing registry. See logs for more details"  while configuring Essbase Server on 64 bit OS using Oracle Database
    Any help...?

    Hi ,
    This community is to discuss Oracle Application Server specific issues, you can post this query in the below Hyperion Forms for better response:
    Hyperion EPM
    [OR]
    Oracle Hyperion EPM (MOSC)
    [OR]
    Hyperion Certification for EPM (MOSC)
    Regards,
    Prakash.

  • EPM configuration ESSBASE Failed to navigate from RegistryWizardState:Error while initializing registry.

    When I was in the configuration ESSBASE, ran into trouble.
    Failed to navigate from RegistryWizardState:Error while initializing registry.
    soft: EPM 11.1.2.3  
    OS: linux redhat6.1
    Two planing server configuration
    A server configuration essbase and install oracle relational database
    Planning configuration is successful, but the first step in essbase Shared servers failed, the error is:Failed to navigate from RegistryWizardState:Error while initializing registry.
    What should I do?
    Please

    If you are using Oracle database, Create a user(schema) with the below previliges
    Roles:
    DBA, Resource, Connect
    privileges:
    CREATE ANY SYNONYM,CREATE CLUSTER,CREATE INDEXTYPE,CREATE PROCEDURE,CREATE SEQUENCE,CREATE SESSION,CREATE TABLE,CREATE TRIGGER,CREATE TYPE,CREATE VIEW,DROP ANY SYNONYM
    Thanks,
    mady

  • Error while patching OIM with BP06

    Hi ,
    I am facing error while patching OIM 11.1.1.5.0 with BP 06.
    Please see the logs below:-
    patch:
    [input] skipping input as property weblogic_password has already been set.
    [echo] unzipping the archives.....
    explode-archived-apps:
    [delete] Deleting directory /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
    [delete] Deleting directory /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
    [mkdir] Created dir: /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
    [mkdir] Created dir: /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
    [unzip] Expanding: /apps/oracle/middleware/Oracle_IDM1/server/patching/oim.ear into /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
    [unzip] Expanding: /apps/oracle/middleware/Oracle_IDM1/server/patching/Nexaweb.ear into /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
    [echo] archives unzipped successfully.....
    [echo]           seeding the out of the box jobs into db
    seed-ootb-jobs:
    seed-ootb-jobs:
    [echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS
    [java] Mar 25, 2013 7:32:31 PM org.quartz.core.QuartzScheduler <init>
    [java] INFO: Quartz Scheduler v.1.6.0 created.
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport initialize
    [java] INFO: Using thread monitor-based data access locking (synchronization).
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport cleanVolatileTriggerAndJobs
    [java] INFO: Removed 0 Volatile Trigger(s).
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport cleanVolatileTriggerAndJobs
    [java] INFO: Removed 0 Volatile Job(s).
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreTX initialize
    [java] INFO: JobStoreTX initialized.
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.StdSchedulerFactory instantiate
    [java] INFO: Quartz scheduler 'OIMQuartzScheduler' initialized from an externally provided properties instance.
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.StdSchedulerFactory instantiate
    [java] INFO: Quartz scheduler version: 1.6.0
    [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler shutdown
    [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED shutting down.
    [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler standby
    [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED paused.
    [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler shutdown
    [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED shutdown complete.
    [echo] ----> SEEDING COMPLETE LOG FILE
    [echo] ----> LOG FILE : ${work.dir}
    [echo] jobs seded succefully.....
    [echo]           updating the oes out of the box policies in oim db
    update-oes-ootb-policies:
    update-oes-ootb-policies:
    [echo] ----> UPDATING OUT OF THE BOX OES POLICIES     
    [java] [EL Info]: 2013-03-25 19:32:45.952--ServerSession(139722802)--EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634
    [java] [EL Info]: 2013-03-25 19:32:48.824--ServerSession(139722802)--file:/apps/oracle/middleware/Oracle_IDM1/modules/oracle.oes_11.1.1/jps-internal.jar-JpsDBDataManager login successful
    [echo] ----> SEEDING COMPLETE LOG FILE
    [echo] ----> LOG FILE : /apps/oracle/middleware/Oracle_IDM1/server/seed_data/Seed/OESPolicies
    [echo] oes policies updated successfully..
    [echo]           upgrading the oes-ootb policies accordin g to the patched xml
    upgrade-oes-ootb-policies:
    upgrade-oes-ootb-policies:
    [echo] ----> UPDATING OUT OF THE BOX OES POLICIES     
    [java] java.io.IOException: No such file or directory
    [java]      at java.io.UnixFileSystem.createFileExclusively(Native Method)
    [java]      at java.io.File.createNewFile(File.java:883)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoadDataLogger.createLogFile(PolicyLoadDataLogger.java:68)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:196)
    [java] Exception in thread "Main Thread" java.lang.NullPointerException
    [java]      at java.lang.Throwable.printStackTrace(Throwable.java:508)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoadDataLogger.createLogFile(PolicyLoadDataLogger.java:73)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:196)
    BUILD FAILED
    /apps/oracle/middleware/Oracle_IDM1/server/setup/deploy-files/setup.xml:94: The following error occurred while executing this line:
    /apps/oracle/middleware/Oracle_IDM1/server/setup/deploy-files/setup.xml:215: The following error occurred while executing this line:
    /apps/oracle/middleware/Oracle_IDM1/server/seed_data/seed-rcu-data.xml:136: Java returned: 1
    Total time: 2 minutes 25 seconds
    I have seen similar error on forum but it has not been answered.
    I have set all variables correctly and the directory has all permissions as well.
    Please let me know what I am missing here.
    Thanks in advance.

    Hi,
    Thanks for your help.
    The directory was already created during patch execution.
    My error was related to MDS password.
    The password for mds was different from OIM password so the patch errored out.
    Once the mds password was updated correctly in the profile file, the patch executed successfully.

  • Error while runnig OIM task purging script OIM_TasksArch.sh

    Error while runnig OIM task purging script OIM_TasksArch.sh
    ## Enter date in YYYYMMDD format
    (All the task data for users which have been disabled/deleted on or before the entered date would be archived) :
    ## All the task data for users which have been disabled/deleted on or before TODAY's date would be archived,
    Do you want to continue [y,Y,n,N]? :
    y
    Calculating the number of records that would be archived,
    this may take some time, please wait...
    ERROR ==> An error has occurred during the process
    Please check logs created at /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log and try again
    ./OIM_TasksArch.sh: test: argument expected
    bash-3.00$ cat /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log
    -- Task Archival Execution Status
    Task Data Archival Summary
    ORA-00942: table or view does not exist

    In this link you resolved this issue by giving all privileges to DEV_OIM...
    Re: Getting error while running OIM in built purging script OIM_ReconArch.sh
    Now if again this ORA-00942: table or view does not exist is coming, possibility is that there is no issue regarding privileges as you already have given all privileges to DEV_OIM...
    Anyway try again giving full permissions to it just in case for some reasons permissions might have reset...
    Now the only option is to study OIM_TasksArch.sh and figure out which tables or view it wants to refer to and is not available to it..
    *./OIM_TasksArch.sh: test: argument expected*
    The above line means that this sh file needs some arguments... Please study a bit more to figure out those arguments.. It will work...
    *23.2.1 Understanding the Task Archival Utility*
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/archival_utilities.htm#OMADM3033
    Following Parameters i.e. Arguments  are needed
    # File : OIM_TasksArch.sh
    # Purpose : To archive data from active task tables to archival task
    # tables and to delete data from active task tables.
    # Arguments : 1 --> Location of the Oracle Home(ORACLE_HOME)
    # 2 --> Oracle Identity Manager Database Name
    # 3 --> Oracle Identity Manager Database User Name
    # 4 --> Password for the Oracle Identity Manager Database User

  • Error while sending data from XI to BI System

    Hello Friends,
    I m facing an error while sending data from XI to BI. XI is successfully recived data from FTP.
    Given error i faced out in communication channel monitoring:-
    Receiver channel 'POSDMLog_Receiver' for party '', service 'Busys_POSDM'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR partner '10.1.45.35:sapgw01' not reached
    TIME Fri Apr 16 08:15:18 2010
    RELEASE 700
    COMPONENT NI (network interface)
    VERSION 38
    RC -10
    MODULE nixxi.cpp
    LINE 2823
    DETAIL NiPConnect2
    SYSTEM CALL connect
    ERRNO 10061
    ERRNO TEXT WSAECONNREFUSED: Connection refused
    COUNTER 2
    Error displaying in message monitoring:-
    Exception caught by adapter framework: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '10.1.45.35:sapgw01' not reached TIME        Fri Apr 16 08:15:18 2010 RELEASE     70
    Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '10.1.45.35:sapgw01' not reached TIME.
    Kindly suggest me & provide details of error.
    Regards,
    Narendra

    Hi Narendra,
    Message is clearly showing that your system is not reachable
    102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached
    Please check to ping the BI server  IP 10.1.45.35 from your XI server , in case its working you can check telnet to SAP standard port like 3201/3601/3301/3901 etc.
    It seems to be connectivity issue only.
    Make sure your both the systems are up and running.
    Revert back after checking above stuff.
    Regards,
    Gagan Deep Kaushal

  • "llegal character in path at index" Error While Using wsimport from ant.

    Hi,
    I am getting the following error, while using wsimport from ant build script. you have the details below. I dont have a clue on this error.
    Error :
    wsimport:
    [echo] Generating the client stubs
    [wsimport] error: Unable to parse "HelloService_schema1.xsd" : Illegal character in path at index 25: file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] line 0 of file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] error: Unable to parse "HelloService_schema1.xsd" : Illegal character in path at index 25: file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] line ? of file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] error: Element "{http://endpoint.helloservice/}sayHello" not found.
    Java WebService :
    package helloservice.endpoint;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService()
    public class Hello {
    private String message = new String("Hello, ");
    @WebMethod()
    public String sayHello(String name) {
    return message + name + ".";
    Ant Build.xml
    <project name="${project.name}" basedir="." default="ear">
         <property file="WS_build.properties"/>
         <target name="init">
              <!-- Path Setting-->
              <echo description="Setting the path for the project"/>
              <path id="classpath">
                   <fileset dir="${lib.dir}" includes="*.jar"/>          
                   <fileset dir="${commonWSLib.dir}" includes="*.jar"/>
              </path>
              <!-- WSGen -->
              <echo description="WSGEN Definition"/>
              <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
                   <classpath>
                        <path refid="classpath"/>
                   </classpath>
              </taskdef>
              <!-- WS Import-->
              <echo description="WSImport Definition" />
              <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
                   <classpath>
                        <path refid="classpath"/>
                   </classpath>
              </taskdef>
         </target>
         <target name="Compile" depends="init">
              <echo description="Compiling the project"/>
              <mkdir dir="${build.dir}"/>
              <mkdir dir="${build.dir}/classes"/>
              <javac destdir="${build.dir}/classes" srcdir="${java.base}">
                   <classpath>
                        <path refid="classpath"/>
                   </classpath>
              </javac>
              <copy todir="${build.dir}/classes">
                   <fileset dir="${java.base}" excludes="**/*.java"/>
              </copy>
         </target>
         <target name="wsgen" depends="Compile">
                   <echo message="Generating the wsdl file[${project.name}Service.wsdl]" />
                   <mkdir dir="${service.dir}"/>
                   <mkdir dir="${service.dir}/server"/>
                   <mkdir dir="${service.dir}/server/classes"/>
                   <mkdir dir="${service.dir}/server/src"/>          
                   <mkdir dir="${service.dir}/server/wsdl"/>                    
                   <wsgen sei="${sei.class}" destdir="${service.dir}/server/classes" genwsdl="true"
                   sourcedestdir="${service.dir}/server/src" resourcedestdir="${service.dir}/server/wsdl">
                        <classpath>
                             <path refid="classpath" />
                             <pathelement location="${build.dir}/classes" />
                        </classpath>
                   </wsgen>
         </target>
         <target name="copy" depends="wsgen">
                   <echo message="Copying class and config files into ${web-inf.dir} folder" />
                   <copy todir="${web-inf.dir}">
                        <fileset dir="${build.dir}"/>
                        <fileset dir="${service.dir}/server" includes="**/*.class"/>
                        <fileset dir="." includes="${lib.dir}/*.jar"/>
                   </copy>
                   <copy todir="${web-inf.dir}/${lib.dir}">
                        <fileset dir="${commonWSLib.dir}" includes="*.jar"/>
                   </copy>
                   <copy todir="${web-inf.dir}">
                        <fileset dir="${web-inf.dir}" includes="**/*.xml"/>
                   </copy>
         </target>
         <!-- Create the WAR file     -->
         <target name="war" depends="copy">
              <echo message="Creating the war file [${project.name}.war]" />     
              <mkdir dir="${dist.dir}"/>
              <mkdir dir="${dist.dir}/server"/>
              <war destfile="${dist.dir}/server/${project.name}.war" webxml="${web-inf.dir}/web.xml" basedir="${web.dir}"/>
         </target>
         <target name="wsimport" depends="war">
              <echo message="Generating the client stubs" />          
              <mkdir dir="${service.dir}"/>
              <mkdir dir="${service.dir}/client"/>
              <mkdir dir="${service.dir}/client/classes"/>
              <mkdir dir="${service.dir}/client/src"/>     
              <wsimport wsdl="${basedir}/${service.dir}/server/wsdl/${project.name}.wsdl"
                   destdir="${service.dir}/client/classes"
                   package="${wsimport.package}"
                   sourcedestdir="${service.dir}/client/src">
              </wsimport>
         </target>
         <target name="clientjar" depends="wsimport">
    <echo message="Creating the client jar file [${project.name}Client.jar] " />
    <copy todir="${service.dir}/client/classes">
    <fileset dir="${service.dir}/client/src"/>
    </copy>
    <mkdir dir="${dist.dir}/client"/>
                   <tstamp>
                   <format property="TODAY" pattern="yyyy-MM-dd hh:mm:ss" />
                   </tstamp>
    <jar destfile="${dist.dir}/client/${project.name}Client.jar"
    basedir="${service.dir}/client/classes">
                   <manifest>
                   <attribute name="Built-By" value="${user.name}"/>
                   <attribute name="Built-Date" value="${TODAY}"/>
                   <attribute name="Implementation-Version" value="${version}-b${build.number}"/>
              </manifest>
              </jar>          
    <mkdir dir="${dist.dir}/client"/>
         </target>
         <!-- JAR THE ENGINE -->
         <target name="enginejar" depends="clientjar">
         <echo message="Creating the engine jar file for local call [${project.name}.jar] " />
              <!-- <copy todir="${build.dir}/classes">
                        <fileset dir="." includes="${config.dir}/hibernate.cfg.xml"/>           
         </copy> -->
              <tstamp>
                   <format property="TODAY" pattern="yyyy-MM-dd hh:mm:ss" />
              </tstamp>
         <jar destfile="${dist.dir}/server/${project.name}.jar"
         basedir="${build.dir}/classes">
                   <manifest>
                        <attribute name="Built-By" value="${user.name}"/>
                        <attribute name="Built-Date" value="${TODAY}"/>
                        <attribute name="Implementation-Version" value="${version}-b${build.number}"/>
              </manifest>
              </jar>          
              </target>
              <!-- GENERATE EAR FOR THE ENGINE -->
              <target name="ear" depends="enginejar" >
                   <echo message="Creating the ear file [${project.name}.ear]" />
                   <ear destfile="${dist.dir}/server/${project.name}.ear" appxml="META-INF/application.xml">
                   <fileset dir="${dist.dir}/server" includes="${project.name}.war"/>
              </ear>
                   <antcall target="clean"></antcall>
              </target>
              <!-- CLEAN UP THE FOLDERS     -->
              <target name="clean">
                   <echo message="Cleaning up folders " />          
                   <delete dir="${build.dir}"/>
                   <delete dir="${service.dir}"/>
                   <delete dir="${web-inf.dir}/classes"/>
                   <delete dir="${web-inf.dir}/lib"/>
                   <echo message="${project.name}.ear, ${project.name}.war, ${project.name}.jar and ${project.name}Client.jar is available in project's ${dist.dir} folder"/>
              </target>
    </project>
    Generated wsdl(HelloService.wsdl) :
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <definitions targetNamespace="http://endpoint.helloservice/" name="HelloService" xmlns:tns="http://endpoint.helloservice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <xsd:schema>
    <xsd:import namespace="http://endpoint.helloservice/" schemaLocation="HelloService_schema1.xsd"/>
    </xsd:schema>
    </types>
    <message name="sayHello">
    <part name="parameters" element="tns:sayHello"/>
    </message>
    <message name="sayHelloResponse">
    <part name="parameters" element="tns:sayHelloResponse"/>
    </message>
    <portType name="Hello">
    <operation name="sayHello">
    <input message="tns:sayHello"/>
    <output message="tns:sayHelloResponse"/>
    </operation>
    </portType>
    <binding name="HelloPortBinding" type="tns:Hello">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="sayHello">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="HelloService">
    <port name="HelloPort" binding="tns:HelloPortBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
    </service>
    </definitions>
    Generated : HelloService_schema1.xsd
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xs:schema version="1.0" targetNamespace="http://endpoint.helloservice/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="sayHello" type="ns1:sayHello" xmlns:ns1="http://endpoint.helloservice/"/>
    <xs:complexType name="sayHello">
    <xs:sequence>
    <xs:element name="arg0" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="sayHelloResponse" type="ns2:sayHelloResponse" xmlns:ns2="http://endpoint.helloservice/"/>
    <xs:complexType name="sayHelloResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    If u need any other information let me know.

    This has been resolved by uploading relevant jar file

  • Error while initiating Travel Form

    I received the error 'Error while initiating form' in Travel Expense. It is linked to Message no. 56568. Does anyone know how I can fix this? I currently do not have access to OSS Note.
    Thanks.

    Hi,
    It seems to be a config issue.
    If you don't use Adobe but  ABAP Forms check/change one of:
    1) the customizing in the IMG activity "<i>Travel Expenses Control (Expert View)</i>":
    Set the indicator "<i>Other Settlement</i>" in the column 24 for the appropriate trip provision variant to the value: 0 (active), 1 (not active), 2 (not active only in PR05 and PR04)
    or
    2) the data in the table <i>V_T702N_A</i> - double click your variant on "A<i>ccounting Control in Expert View:Overview</i>" screen and change the value as above on Deails screen.
    Solution taken from (and checked with ECC 6.0 SP9):
    PR05 - Error while initiating travel form
    and
    http://sap.ittoolbox.com/groups/technical-functional/sap-hr/error-when-simulating-result-in-travel-management-1622499
    Let us know whether it helps.
    Regards,
    Przemek

  • Essbase 11.1.2.1 configuration error " Error while initializing registry."

    I have installed Essabase 11.1.2.1 components successfully in linux(RHEL 5) and while configuring the shared services first time getting the error :Error while initializing registry. unable to navigate from registry wizard state"
    In the configtool log I found the below exeptions and errors:
    [2011-12-28T13:05:48.798-05:00] [EPMCFG] [TRACE] [EPMCFG-01857] [oracle.EPMCFG] [tid: 16] [ecid: 0000JI5qMtcFO9EpJ44Eyf1EypdL000003,0] [SRC_CLASS: com.hyperion.config.wizard.impl.RegistryWizardState] Creating a new registry: DBtype is ORACLE
    [2011-12-28T13:05:48.798-05:00] [EPMCFG] [TRACE] [EPMCFG-01858] [oracle.EPMCFG] [tid: 16] [ecid: 0000JI5qMtcFO9EpJ44Eyf1EypdL000003,0] [SRC_CLASS: com.hyperion.config.wizard.impl.RegistryWizardState] JDBC URL: jdbc:oracle:thin:@devdwdb.newcorp.com:1531:DEVDW
    [2011-12-28T13:05:48.803-05:00] [EPMCFG] [TRACE] [EPMCFG-01319] [oracle.EPMCFG] [tid: 16] [ecid: 0000JI5qMtcFO9EpJ44Eyf1EypdL000003,0] [SRC_CLASS: com.hyperion.cis.config.ConfigRegistryUtils] Creating system component: component type = SYSTEM9
    [2011-12-28T13:05:49.014-05:00] [EPMCFG] [TRACE] [EPMCFG-01321] [oracle.EPMCFG] [tid: 16] [ecid: 0000JI5qMtcFO9EpJ44Eyf1EypdL000003,0] [SRC_CLASS: com.hyperion.cis.config.ConfigRegistryUtils] Creating product component: component type = FOUNDATION_SERVICES_PRODUCT
    [2011-12-28T13:05:49.025-05:00] [EPMCFG] [TRACE] [EPMCFG-01323] [oracle.EPMCFG] [tid: 16] [ecid: 0000JI5qMtcFO9EpJ44Eyf1EypdL000003,0] [SRC_CLASS: com.hyperion.cis.config.ConfigRegistryUtils] Creating Registry database connection component: component type = DATABASE_CONN
    [2011-12-28T13:05:49.040-05:00] [EPMCFG] [TRACE] [EPMCFG-01321] [oracle.EPMCFG] [tid: 16] [ecid: 0000JI5qMtcFO9EpJ44Eyf1EypdL000003,0] [SRC_CLASS: com.hyperion.cis.config.ConfigRegistryUtils] Creating product component: component type = SHARED_SERVICES_PRODUCT
    [2011-12-28T13:05:49.129-05:00] [EPMINS] [ERROR] [EPMINS-00001] [oracle.EPMINS] [tid: 16] [ecid: 0000JI5qMtcFO9EpJ44Eyf1EypdL000003,0] [SRC_CLASS: com.hyperion.hit.wizard.Wizard] trace: Error:[[
    com.hyperion.hit.wizard.FailedButRetryPossibleException: Error while initializing registry.
         at com.hyperion.config.wizard.impl.RegistryWizardState$1$1.commit(RegistryWizardState.java:394)
         at com.hyperion.hit.wizard.Wizard$NextClass.run(Wizard.java:515)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
         at com.hyperion.config.document.Storage.setLink(Storage.java:398)
         at com.hyperion.cis.config.ConfigRegistryUtils.createProductComponent(ConfigRegistryUtils.java:81)
         at com.hyperion.cis.config.ConfigRegistryUtils.initializeRegistry(ConfigRegistryUtils.java:419)
         at com.hyperion.config.wizard.impl.RegistryWizardState$1$1.commit(RegistryWizardState.java:277)
    Here I am wondering that I have installed and configure successfully in dev environment with the same DB privileges and folder permissions,as well same character set details and the same install files every thing is same as dev environment, but the same approach is failing in prod environment.
    I am unable to figure out what exactly issue is,
    Can any one please help me out in this regard.
    Edited by: 900598 on Dec 29, 2011 11:48 PM

    Hi John,
    We are using the different schemas(ESHSRVC for dev and ESHSRVC4 for prod)and different user ids as well in the db server( devdwdb.newcorp.com:1531:DEVDW)
    where the DEVDW is the sid for both schemas.
    Here the HSS tables created in ESHSRVC and working fine for dev.
    but in the new installation and config with the ESHSRVC4 schema the config is failing and throwing the error msg..
    I am sure the new installation is not pointing to the old HSS populated schema(ESHSRVC) and I have given the connection details of ESHSRVC4(new schema) while config the shared services for new one.
    I cross checked the both schema's have the same privileges and character sets.
    but in the new config with new schema is unable to create the registry and throwing error.
    I have uninstalled and deleted the entire folder and created new schema's and started the new install and config still getting same error.
    .

  • Mapping debbuging error:DBG1006: Error while initializing test data

    Hi,
    I have created a mapping in which I am trying to delete data from a table based on exisitence of rows in another table with a filter condtion in between them.When i try to run the debbugger, it throws following error:
    ============
    Analyzing map for debug...
    Retrieving Control Center connection info...
    Connecting to Control Center schema...
    Checking character set of Control Center schema...
    Configuring sources and targets...
    Mapping Debugger Error:
    oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1006: Error while initializing test data for sources and targets:
    oracle.wh.repos.sdk.CMPException: Trying to access invalid Object.
    Element ID: 110138
    Status: 4
    Owning FCO: 98409
    ==================
    Any idea what could be the possible cause?
    Query which I am trying to simulate is of following type:
    Delete from TableA t1
    where exits(select 1 from TableB t2 where t1.col1 = t2.col1 and t2.col2 = 'delete')
    Thanks
    AJ.

    Oops..thats weird.
    Tell me one thing...then how gud is the code generated in terms of working...if someone has to really test the code pre-hand for expected business logicWhy i am raising this concern is becoz there are many features for which OWB provides support in indirect way(workaround) like exists/not exists.
    Do we need to deploy mapping each time and then test through a run from Control centre?
    Other thing, As far i understand, the code generated is not in such a format that one can directly copy paste it in any sql/plsql editor and test it...
    Regards
    AJ.

  • Error while initializing the work area SYST

    Hi Experts,
    we did a kernel upgrade in NW 2004 from Kernel 640 to Kernel 700.
    OS : UNIX DB: Oracle
    At Os Level SAP and Oracle started.
    when we try starting the SAP,
    it shows the following error : error while initializing the work area SYST
    Thanks in Aavance,
    Satish T.

    > Did you get the solution for this? if so, could you please share the same with me. I also got same error after installing the SAP. From OS level everything looks fine but getting the same error while trying to login from SAP GUI as you reported.
    The answer is simple: Use the proper kernel
    If this is a new installed system and you can't logon please post the logfile dev_w0 here.
    Markus

  • PR05 Travel Expense Manager.Messag : Error while initiating travel form

    Hi,
    We're upgrading from 4.6C to ECC6.0 . With transaction PR05 we're getting error message .
    Transaction PR05 -> entered in personnel no XXXXXXXXX and pressed the green checkmark. I then select a line - for this I selected the second line that said Transferred PAY. I then hit the RESULTs button on the menu bar and get the following error message:
    "Error while initiating travel form"
    Message no. 56568
    Please advise how to fix issue.
    Thanks.
    Saeed

    HI,
    My first participation.
    Entry the transaction SE16N in the table V_T702N_A and click F8.
    Select your variant code and double click.
    Displays 30 column (3 groups with 10 column)  and 6 lines.
    Change the column 4 (third group) and line 5 (Others calculation), is satisfied with 0, should change to 1.
    Helped ?

  • ECC6 - PR05 - Error while initiating travel form

    Hello Everybody,
    With the new version ECC6, I have this error message  "Error while initiating travel form" when I launch the results with the PR05 transaction.
    Thanks in advance for your help
    Best Regards

    We can not have PDF forms since it requires Java stack which is not
    installed on the system. we looked into the option of
    changing config to use the old ABAP form instead.
    We changed the config from 0 to 1 to desactivate the PDF form  and issue is resolved.
    Thanks.
    Saeed
    Edited by: Saeed Ahmad on Apr 3, 2010 2:09 PM

Maybe you are looking for

  • Significance of Long and short text Objects

    Hi all, I want to know the difference between Long and short texts and scenarios in which long texts are better to use than short texts.

  • Load jar from jar in applet

    hi i made an applet that read xml files. i using in jaxp.jar and in parser.jar currently i put them in ext folder in plug in. is there any other way to put them in my jar applet file and to load them from there.

  • Permission Denied error generating XML file

    We're using ODI to write out files to a Windows CIFS file system through an agent installed on the ODI Unix server. In order to do this, we had to create the agent using a user ID that had permission to write to the Windows file system. For writing o

  • Iphoto will not print in color?

    I cannot get iphoto to print in color, only black and white.  Every other document or picture prints in color. This just started.

  • How to unlock my iphone5S

    hello, I have a this iPhone 5S and I want to unlock it because I currently live in argentina. How do I get this done through apple? Thanl you