Error at executing an external command! HElP!

Hi, I must do as homework an app that tries to collapse the resources of a remote machine (procesor, memory, bandwidth and HDD), ok to collapse the bandwidth I wanted to make many pings with 65500 bytes, anyway, the code seems to work perfectly when doing this.
Runtime.getRuntime ().exec ("well here goes the ping");
then the bandwith gets at 100%, but I cant controll the amount of pings I am doing, for example I made a code and everytime a button is pressed it executes an infinite 65500 bytes ping. To be able to control the number of pings I made this:
Process P=Runtime.getRuntime ().exec ("well here goes the ping");
and the code executes without problem but when I monitor the bandwidth usage is on 0% usually it goes to 99% with 100 pings but now I made 120 and is still on 0% just for asigning the returned Process to a variable!
Please I need urgent help for this project.

ok, well this is my problem: I need to consume bandwidth. I made some pings with 65500 bytes, ok now:
If I do:
Runtime.getRuntime ().exec ("ping 192.168.0.2 /l 65500 /t");
it works and gets all the usage of the network (99%) with about 110 pings, now if I do:
Process P=Runtime.getRuntime ().exec ("ping 192.168.0.2 /l 65500 /t");
the bandwidth is on 0% event with more than 180 pings.
This pings are obviously concurrents. Any clue.

Similar Messages

  • Error during executing the tp command 'tp Connect DEV...

    Dear All,
       There is error when I SPAM support package SAPKB70010.(SAP ECC6.0)
       Info:
       Import phase 'CHECK_REQUIREMENTSS'
       \HOSTNAME\SAPMNT\trans\bin\TPPARAM
       Error during executing the tp command 'tp connect DEV...'
       TP return cod:'0208', tp message:'error in transportprofil (param missing,unknow..'tp output
       sapmnt\trans\bin\TPPARAM could not be opened.
      EXIT
      ERROR:
    System: Parameter SAPEVTPATH not set. Batch jobs cannot be started.
      Error in
    hostname\sapmnt\trans\bin\TPPARAM: transdir not set.
      tp return code Summary:
      TOOLS:Hightest return code of single steps was:0
      ERRORS: Highest tp internal error was:0208
    My environment:
    Win2003 X64
    Oracle 10.2
    SAP ECC 6.0  Basis 700  09
    Kernel patch num:254
    How to solve the issue?
    Thank you very much!

    Hi
    2 possible problems.
    1) tp is using the wrong profile
    2) the profile is not complete
    For 1, specify the profile when using the tp command e.g. tp connect dr1
    pf='/usr/sap/trans/DR1/bin/TPPARAM'
    For 2 you need to edit the TPPARAM file and insert the correct values e.g.
    DR1/sapevtpath = /usr/sap/$(system)/SYS/exe/run/sapevt or you can add
    it into the command line with the -D option
    At the command prompt enter 'tp connect' and the help file will be
    displayed for that command with the available options
    Cheers
    Nirav Kundaria

  • Execute an external command!

    how to i.e execute an external command with java and then get the output into a string variable?
    thanks in advance!
    .leonard

    Did you search this forum before posting this question?
    It is very rude to post a question to a forum that has been answered so many times and that is easily findable in the forum...
    Process p = Runtime.getRuntime().exec("your command");
    BufferedReader read = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line = null;
    while( (line = read.readLine()) != null)
      System.out.println("OUT>>>" + line);
    //

  • Error when executing jar from command window pla help

    Hello
    I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
    I deployed the project in a jar file and included all the necessary libraries in it,
    but when executing the jar from command window I am getting the exceptions below
    the statement which cause the error is : PROXY= new JoPayWebServiceClient();
    please help
    Exception in thread "main" java.lang.NoClassDefFoundError
    at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
    tandardSOAPTypeMappings.java:125)
    at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
    tandardSOAPTypeMappings.java:558)
    at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
    va:259)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:236)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    ... 17 more
    C:\>

    Hi Arun
    I added all the jars I found in jdeveloper log as you told me , but still I have this error:-
    standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
    .xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
    saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:244)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    CAUSE:
    javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
    AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
    ot found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:244)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
    o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
    ry1_1Impl not found
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:95)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:62)
    at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
    nit>(LiteralAnyElementSerializer.java:16)
    at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
    nit>(StandardLiteralTypeMappings.java:198)
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:280)
    ... 14 more
    Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
    com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:93)
    ... 18 more
    CAUSE:
    javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
    AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
    ot found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:244)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
    o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
    ry1_1Impl not found
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:95)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:62)
    at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
    nit>(LiteralAnyElementSerializer.java:16)
    at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
    nit>(StandardLiteralTypeMappings.java:198)
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:280)
    ... 14 more
    Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
    com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:93)
    ... 18 more
    Exception in thread "main" java.lang.NullPointerException
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
    erializer(JoPayWebServiceService_SerializerRegistry.java:45)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:32)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    C:\>

  • Error when executing jar from command window PLZ HELP URGENT

    Hello
    I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
    I deployed the project in a jar file and included all the necessary libraries in it,
    but when executing the jar from command window I am getting the exceptions below
    the statement which cause the error is : PROXY= new JoPayWebServiceClient();
    please help
    Exception in thread "main" java.lang.NoClassDefFoundError
    at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
    tandardSOAPTypeMappings.java:125)
    at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
    tandardSOAPTypeMappings.java:558)
    at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
    va:259)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:236)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    ... 17 more
    C:\>

    I added all required jars but still I get this error :-
    standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
    .xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
    saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:244)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    CAUSE:
    javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
    AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
    ot found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:244)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
    o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
    ry1_1Impl not found
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:95)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:62)
    at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
    nit>(LiteralAnyElementSerializer.java:16)
    at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
    nit>(StandardLiteralTypeMappings.java:198)
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:280)
    ... 14 more
    Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
    com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:93)
    ... 18 more
    CAUSE:
    javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
    AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
    ot found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
    BasicService.java:244)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:26)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
    o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
    ry1_1Impl not found
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:95)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:62)
    at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
    nit>(LiteralAnyElementSerializer.java:16)
    at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
    nit>(StandardLiteralTypeMappings.java:198)
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
    .java:280)
    ... 14 more
    Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
    com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
    t>(LiteralFragmentSerializer.java:93)
    ... 18 more
    Exception in thread "main" java.lang.NullPointerException
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
    erializer(JoPayWebServiceService_SerializerRegistry.java:45)
    at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
    ry(JoPayWebServiceService_SerializerRegistry.java:32)
    at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
    ervice_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
    Impl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
    pl.java:121)
    at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
    at moict.Main.confirmPayment(Main.java:142)
    at moict.Main.main(Main.java:93)
    C:\>

  • How to execute a external command ?

    Hi all ,
            I would like to transfer the oracle data to sql2000 , my idea is :
               - 1. write a external java program ( call trans.jar ) on oracle db server machine ( call sql2000 server to invoke the dtsrun.exe )
               - 2. create a dts package on sql2000 server .
               - 3. write an abap program in sap ( when the end-user execute this program , the trans.jar will call the dts package on sql2000 server ) .
            I know that we can use sm69 to define the external program , but i don't know how to use abap/4 to invoke this external program ? has someone can tell me how to do ?
    Thanks a lot !
    Best Regards,
    Carlos

    You can use the function module <b>SXPG_COMMAND_EXECUTE</b> to execute external commands
    Please find my sample code for it.
    *&      Form  TRIGGER_EXT_OS_COMMAND
    *       text
    *      -->P_F_UNIX  text
    form TRIGGER_EXT_OS_COMMAND using P_F_UNIX type SXPGCOLIST-PARAMETERS.
      data: begin of IEPCOL occurs 100.
              include structure BTCXPM.
      data: end of IEPCOL.
    BTCXPM = Log message from external program to calling program
      data: W_STATUS like EXTCMDEXEX-STATUS.
    * EXTCMDEXEX = Parameters of SXPG_COMMAND_EXECUTE
      data: W_HOST like RFCDISPLAY-RFCHOST.
    * RFCDISPLAY = Display structure for RFCDES maintenance          "M5
    * The External operating system command ZECOM is created * using thetransaction SM69. For any changes to the
    * command goto SM69 and for executing and testing use
    * the transaction SM49.
      W_HOST = SY-HOST.
      call function 'SXPG_COMMAND_EXECUTE'
        exporting
          COMMANDNAME                   = 'ZECOM'
          ADDITIONAL_PARAMETERS         = P_F_UNIX
          OPERATINGSYSTEM               = SY-OPSYS
          TARGETSYSTEM                  = W_HOST
          STDOUT                        = 'X'
          STDERR                        = 'X'
          TERMINATIONWAIT               = 'X'
        importing
          STATUS                        = W_STATUS
        tables
          EXEC_PROTOCOL                 = IEPCOL
        exceptions
          NO_PERMISSION                 = 1
          COMMAND_NOT_FOUND             = 2
          PARAMETERS_TOO_LONG           = 3
          SECURITY_RISK                 = 4
          WRONG_CHECK_CALL_INTERFACE    = 5
          PROGRAM_START_ERROR           = 6
          PROGRAM_TERMINATION_ERROR     = 7
          X_ERROR                       = 8
          PARAMETER_EXPECTED            = 9
          TOO_MANY_PARAMETERS           = 10
          ILLEGAL_COMMAND               = 11
          WRONG_ASYNCHRONOUS_PARAMETERS = 12
          CANT_ENQ_TBTCO_ENTRY          = 13
          JOBCOUNT_GENERATION_ERROR     = 14
          others                        = 15.
      if SY-SUBRC <> 0.
        case SY-SUBRC.
          when 1.
            message E138(ZSM) with 'No permission to Execute ' 'External O/S command'.
          when 2.
            message E138(ZSM) with 'External O/S Command not found'.
          when 3.
            message E138(ZSM) with 'Parameters too long.' 'Exceeds the limit of 128 characters'.
          when 4.
            message E138(ZSM) with 'Security risk. ' 'The Command contains impermissible characters'.
          when 5.
            message E138(ZSM) with 'Wrong check call interface.  Check the command.'.
          when 6.
            message E138(ZSM) with 'Error while starting the External O/S Command'.
          when 7.
            message E138(ZSM) with 'Error getting the return ' 'code of the External O/S command'.
          when 8.
            message E138(ZSM) with 'Unknown error'.
          when 9.
            message E138(ZSM) with 'Some mandatory parameter is not supplied'.
          when 10.
            message E138(ZSM) with 'Too many parameters. ' 'Check the additional parameter'.
          when 11.
            message E138(ZSM) with 'Illegal command'.
          when others.
            message E138(ZSM) with 'Unknown error'.
        endcase.
      else.
        if W_STATUS = 'O'.
          if UNIX_FILE cs '.ES'.
            message S138(ZSM) with 'File FTP Successfull..!'.
    *        External O/S command to' 'FTP the above file to' 'ES FTP server succesfully!' P_F_UNIX.
          endif.
        else.
          message I138(ZSM) with 'Ext O/S command to FTP the ' 'abv file to ext UNIX system not executed due to:'.
          loop at IEPCOL.
            write:/ SY-TABIX, IEPCOL-MESSAGE,255 ' '.
          endloop.
        endif.
      endif.
    endform.                    " TRIGGER_EXT_OS_COMMAND
    Regards
    Gopi

  • Error while executing a java command

    Hi,
    When i am trying to excute the below i am geeting the error message
    Can some please help me in resolving this
    Command executed:
    java -jar eulbuilder.jar -connect user/a_password@instance
    Error:
    Picked up JAVAOPTIONS: -Dawt.toolkit=mercury.awt.awtSW -Xrunmicsupp -Xbootclas
    spath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;C:\PROGRA~1\COMM
    ON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes\mic.jar
    Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e file specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    -------------------------------------------

    dhilip wrote:
    Hi
    Execute this command "set CLASSPATH=./classes12.jar; " from your command prompt and then execute your jar.
    Thanks & Regards
    dhilipThere is so much so wrong with this "advice". For one thing the OP is not having a classpath issue. For another, it appears your "solution" to classpath issues is to try and use an Oracle JDBC driver... which is ... odd.
    You should at the very least investigate what the classpath is and how it works. Adding Oracle (or any other) JDBC jars to your classpath is not a magical solution to a classpath issue. Which again the OP isn't having anyway.

  • Error while Executing Unix Shell Commands Using Runtime clas

    I am trying to run the following code in java on unix machine to execute cat command.
    Runtime runtime = Runtime.getRuntime();
              try {
                   System.out.println("before catexecute");
                   Process process = runtime.exec("cat /export/home/shankerr/local.profile > /export/home/shankerr/local1.txt");
                   try {
                        if (process.waitFor() != 0) {
                        System.err.println("exit value = " +
                                  process.exitValue());
                        catch (InterruptedException e) {
                        System.err.println(e);
    But i get the following error on the console
    exit value = 2
    cat: cannot open >
    cat: cannot open /export/home/shankerr/local1.txt
    The same command if i run on unix console directly it creates a new file and copies the content into the new file local1.txt
    kindly help me on the same

    The redirection operator > along with stuff like pipe | history !$ etc. is interpreted by the shell, not by the cat program.
    When you do cat X > Ycat only sees the X. The rest is interpreted by the shell to redirect the cat program's stdout.
    However, when you Runtime.exec(), you don't have the shell, so cat sees X > Y as its arguments, and interprets them all as file names. Since there's no file named > you get the error.
    The solution is to first man cat on your system and see if it happens to have a -o or somesuch operator that lets it (rather than the shell) send its output to a file. If not, then you need to invoke a shell, and pass it cat and all of cat's args as the command to execute.
    Read the man pages for you shell of choice, but for bash, I believe you'd give Runtime.exec() something like /bin/bash -c 'cat X > Y'

  • Error when executing scenario use command prompt - startscen

    Hi All,
    Anyone know how to solve this error? I get this error message when I execute command prompt: startscen scenarioName version001 contextDevelopment "-v=2"
    The error message is:
    java.lang.NullPointerException
    at com.sunopsis.g.a.f.b(f.java)
    at com.sunopsis.tools.core.SnpsStringTools.a(SnpsStringTools.java)
    at com.sunopsis.dwg.DwgObject.snpsDecypher(DwgObject.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    I use JDK version 1.4.
    Thanks in advance.
    Regards,
    Sumardi

    Hi Sumardi,
    Trying to help you,
    Please cross check the repository configuration information in ODIPARAM.BAT file.
    Thanks,
    G

  • Error when execute an external-facing portal

    Hello world,
    I would like to make  an external-facing portal for anonymous users who want to access to my iviews created by Visual Composer (I don't know if it's possible)). I have read some documentation about it. I began create a Light Portal Desktop and a Light Framework Page, I gave permission to user called Guest to my Role,.... When I execute this link http://localhost:50000/portal/anonymous, I have this error in Log Viewer :
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : pcd:portal_content/com.bycn.fdContentBYCN/com.bycn.fdPortalDisplay/com.bycn.fdPortalDesktop/lightDesktop/frameworkPages/lightframeworkpage/com.sap.portal.lightinnerpage/com.sap.portal.lightDetailedNavigationTree
    Component class : com.sap.portal.navigation.LightDetailedNavigationTree
    User : Guest
    My version of SAP Netweaver is 2004s 7.00 SP11
    Have you an idea please ?
    Best regards
    Francois

    Hi marcus,
    Finally i use Default Desktop Portal instead of Light Desktop Portal because his limitation, and now I can
    see my iView (it a Visual Composer iView) always for anonymous user (here "Guest"). My problem is in my
    iView I have some drop down lists filled dynamically with the java web services. In fact, it seems these web
    services don't work with anonymous user, only with authenticated user.
    From portal System Administration / System configuration, I added to alias of the web
    service a permission for 'Guest' user ("Administrator" = "Read", "End User" = "checked") and in System
    administration / Permissions /  Security Zones / sap.com / Netweaver.Portal / low_safety /
    com.sap.portal.systems.webservices / components / webservice_system, I added also permission
    for 'Guest' user ("Administrator" = "Read", "End User" = "checked"). My web sefvices don't have authentication polycies and in his property the Logon Method = "NONE".
    With these modifications, the web services don't work always. Is it possible anonymous users cannot access to back-end system through iViews ?
    Best regards
    Francois

  • Error in executing deployed mapping.please help

    when executed the mapping,it display information:
    "ORA-04063: package body "OWB3.test" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1"
    I don't kown what it means?

    Hi
    Have you deployed the mapping to the target schema?
    Is there any procedure or function calling in the mapping (pre or post mapping process)?
    Is the package and the body valid in the db?
    Ott Karesz
    http://www.trendo-kft.hu

  • Error while executing the LOADJAVA command.

    Hi everybody,
    I am trying to load the following jar files:
    loadjava -u uname/pwd@DRDEV XXX.jar
    olite40.jar
    wsclient.jar
    orabpel-ant.jar
    ojdbc14.jar
    orabpel-boot.jar
    orabpel-common.jar
    orabpel-thirdparty.jar
    orabpel.jar
    bpm-services.jar
    soap.jar
    orasaaj.jar
    xml.jar
    oc4jclient.jar
    jazncore.jar
    bpm-infra.jar
    xmlparserv2.jar
    It is giving an error that it could not refernce some other classes and loading only those classes with valid state which are not importing any other classes unavailable in the databse...in what order should I loasd them..or is there any way I could load them with looking for dependencies.
    Thanks
    Krrish

    loadjava relies on a correct JAVACLASSPATH environment variable.
    Other than that, this very much looks like a BPEL question, and this will probably have it's own forum. Various products require emendations to the standard JAVACLASSPATH.
    Sybrand Bakker
    Senior Oracle DBA

  • Error After executing adstrtal.sh command at Application Tier

    Hi,
    We are using,
    EBS : R12.1.1
    OS : OEL 5.6
    When i tried to start Application tier services got following error message,
    XML-20108: (Fatal Error) start of root element expected.
    The logfilefor this session is located at $INST_TOP/logs/appl/admin/log/adstrtal.log
    Exception in thread "main" java.lang.NullPointerException
    at Oracle.apps.ad.autoconfig.serviceControl.parseServices(ServiceControl.java:475)
    at Oracle.apps.ad.autoconfig.serviceControl.<init>(ServiceControl.java:319)
    at Oracle.apps.ad.autoconfig.serviceControl.main(ServiceControl.java:956)
    adstrtal.sh: Exiting with status 1
    How can i resolve this error and start my Application Tier?? Please guide..
    Regards,
    Priyanka

    Contents of the "/usrxit/devenv.env" file are,
    # $Header: devenv.env 120.1 2006/10/23 19:07:35 appldev ship $
    #=====================================================================+
    # Copyright (c) 1999 Oracle Corporation Belmont, California, USA |
    # All rights reserved. |
    #=====================================================================+
    # FILENAME
    # devenv.env
    # DESCRIPTION
    # Application Object Library developer's environment setup
    # This script is automatically called by fndenv.env so that
    # you can compile and link custom user exits (SQL*Forms and
    # SQL*ReportWriter) and concurrent programs with Oracle
    # Applications.
    # NOTES
    # Now we provide compilation flags compatible with the Makefile
    # in the $FND_TOP/usrxit directory.
    #     Changed $(ORACLE_HOME)/proc16/lib to $(ORACLE_HOME)/sqllib/public
    #      for 7.1 changes. -- JCM 7/13/94
    #     $(ORACLE_HOME)/sqllib/public to $(ORACLE_HOME)/precomp/public
    #     and $(ORACLE_HOME)/bin/proc16 to $(ORACLE_HOME)/bin/proc
    #          -- gling 1/21/97
    #=====================================================================*/
    # First we set all compilation flags from the Makefile for generic Unix.
    # Then we correct the generic settings based on the PLATFORM environment
    # variable set in the AutoInstall Environment file.
    if test "$PLATFORM" = ""; then
    echo "devenv.env: PLATFORM environment variable not set."
    echo "Please check your AutoInstall Environment file."
    exit 1
    fi
    # set Unix generic flags for Makefile
    # If any need to be overridden, this happens in the Platform-specific
    # case statement below
    CC='cc'
    # CFLAGS should be set to somethings like the following:
    # CFLAGS='-g $(INCLUDE_FLAGS)'
    CFLAGS='You_must_set_CFLAGS_for_your_platform_in_$$FND_TOP/usrxit/devenv.env'
    # You may need to modify the last entry in INCLUDE_FLAGS below if
    # oratypes.h is not located in the directory $ORACLE_HOME/rdbms/demo.
    INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo'
    PCC='$(ORACLE_HOME)/bin/proc'
    PCCFLAGS='include=$(PCCINC) ireclen=161 sqlcheck=none dbms=v6'
    PCCINC='. include=$(FND_TOP)/include include=$(ORACLE_HOME)/precomp/public'
    # LDFLAGS should be set to -g when using a debugger.
    # LDFLAGS='-g'
    CHMOD='chmod'
    MCS='echo mcs'
    RM='rm -f'
    CP='cp'
    # Platform-specific case statement
    case "$PLATFORM" in
    AIXRIOS) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-O -qmaxmem=-1 -qro -qspill=30000 -U__STR__ -DNLS_ASIA -DORE -D_BSD -DRIOS -DAIXRIOS $(INCLUDE_FLAGS)'
    #CFLAGS='$(INCLUDE_FLAGS) -U__STR__ -DAIXRIOS -DNLS_ASIA -DORE -D_BSD -DRIOS -qro -O -DAFSTUBS'
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    DCOSX) CFLAGS='-O -Wf,-Cs $(INCLUDE_FLAGS) -DDCOSX -DNLS_ASIA -Dconst= -DAFSTUBS';;
    DRS6000) CFLAGS='$(INCLUDE_FLAGS) -O -DDRS6000 -DNLS_ASIA -DAFSTUBS';;
    HP9000S800) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-Ae -O DD32 DA2.0 ESlit Z +objdebug -DNO_RC2 -DNO_RC5 -DNO_IDEA -DBSAFE -DHPUX -DHPUX11 -D_HPUX_SOURCE -DHP9000S800 -DNLS_ASIA $(INCLUDE_FLAGS)'
    #CFLAGS='-Aa O3 $(INCLUDE_FLAGS) -D_HPUX_SOURCE -DHP9000S800 -DNLS_ASIA ESlit ESsfc DA1.0 +DS1.1 -DAFSTUBS'
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    INTEL_386) CFLAGS='-O $(INCLUDE_FLAGS) -DSCO_UNIX -DNLS_ASIA -DINTEL_386 -DAFSTUBS';;
    M88OPEN) CFLAGS='$(INCLUDE_FLAGS) -DM88OPEN -DNLS_ASIA -O -DAFSTUBS';;
    M88OPEN) CFLAGS='$(INCLUDE_FLAGS) -DM88OPEN -DNLS_ASIA -O -DAFSTUBS';;
    NCR) CFLAGS='$(INCLUDE_FLAGS) -DNCR -DNLS_ASIA -O -Hon=Read_only_strings -Xa'
    LDFLAGS='-s -t -znorearrange'
    MCS='mcs -d';;
    ISVR4) CFLAGS='$(INCLUDE_FLAGS) -DNCR -DNLS_ASIA -O -Hon=Read_only_strings -Xa'
    LDFLAGS='-s -t'
    MCS='mcs -d';;
    OSF1) CFLAGS='$(INCLUDE_FLAGS) -O1 -Olimit 1300 -G 0 -std0 -DOSF1 -DA_OSF -DNLS_ASIA -DAFSTUBS -non_shared';;
    SCO_UNIX) CFLAGS='-O $(INCLUDE_FLAGS) -DSCO_UNIX -DSYSV_386 -DINTEL_386 -DNLS_ASIA -DAFSTUBS';;
    SYSV_386) CFLAGS='-O $(INCLUDE_FLAGS) -DSCO_UNIX -DSYSV_386 -DINTEL_386 -DNLS_ASIA -DAFSTUBS';;
    SEQ_DYNIX) CFLAGS='-O $(INCLUDE_FLAGS) -DSEQ_DYNIX -DNLS_ASIA -DAFSTUBS';;
    SEQ_PTX) CFLAGS='$(INCLUDE_FLAGS) -O -DSEQ_PTX -DNLS_ASIA -W0,-Nn5000 -W0,-xstring -Wc,-pw -Xo -Wp,-Ns14000 -Wp,-Nz200000 -W0,-Nd14999 -W0,-Nt3000 -DAFSTUBS -Dsigned=';;
    SUN_OS5) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-xO2 -mr -Xa -xarch=v8plusa -xtarget=ultra3 -xstrconst -restrict SUN_OS5 NLS_ASIA $(iINCLUDE_FLAGS)'
         LDFLAGS='-s -xcg92'
         CC=/opt/SUNWspro/bin/cc
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    SUN_SPARC) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-xO2 -mr -Xa -xarch=v8plusa -xtarget=ultra3 -xstrconst -restrict SUN_OS5 NLS_ASIA $(INCLUDE_FLAGS)'
    CC='/usr/5bin/cc'
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    #CFLAGS='$(INCLUDE_FLAGS) -O1 -DNLS_ASIA -DAFSTUBS'
    ULTRIX) CFLAGS='$(INCLUDE_FLAGS) -O -DNLS_ASIA -DAFSTUBS';;
    UTS) CFLAGS='$(INCLUDE_FLAGS) -DUTS -eft -DNLS_ASIA -DAFSTUBS';;
    LINUX) CFLAGS='$(INCLUDE_FLAGS) -Dlinux -DLINUX -DNLS_ASIA -D_GNU_SOURCE';;
    HPUX_IA64) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/plsql/public'
    CFLAGS='-O Onolimit Onoprocelim -Ae Olit=all DD32 +DSblended -D_HPUX_SOURCE -DHPUX -DHPUX_IA64 -DBUILD32 -DNLS_ASIA $(INCLUDE_FLAGS)'
    PCCFLAGS='include=$(PCCINC) ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes define=__hpux';;
    esac
    # Export all variables set to the environment
    export CC CFLAGS INCLUDE_FLAGS PCC PCCFLAGS PCCINC
    export CHMOD MCS RM CP
    # To use a user exit name other than #USR or a library name other than
    # libusr.a modify the variable LUSRLIB to point to your library
    LUSRLIB="${FND_TOP}/${APPLUSR}/libusr.a"
    export LUSRLIB
    # To use a SQL*Forms user exit name other than #USR modify the
    # variable LUSRIAP
    # LUSRIAP contains the name of the module which defines your custom user
    # exit reference list (xitXXX.o). By default, XXX is usr. You change
    # this value only if you do not use #USR when calling your user exits.
    # When linking your custom version of SQL*Forms (uaiap),
    # ${FND_TOP}/${APPLUSR}/xitiap.o defines the top-level user exit names
    # accessible from SQL*Forms, for example, #FND, #USR, or #FAC.
    # You can generate xitiap.o with genxtb or create from the
    # template .c file located in the ${APPLUSR} directory.
    LUSRIAP="${FND_TOP}/${APPLUSR}/xitusr.o"
    export LUSRIAP
    # To use a SQL*ReportWriter user exit name other than #USR modify the
    # variable LUSRSRW
    # LUSRSRW contains the name of the module which defines your custom user
    # exit reference list (xitXXX.o). By default, XXX is usr. You change
    # this value only if you do not use #USR when calling your user exits.
    # When linking your custom version of SQL*Forms (urunrep),
    # ${FND_TOP}/${APPLUSR}/xitsrw.o defines the top-level user exit names
    # accessible from SQL*Forms, for example, #FND, #USR, or #FAC.
    # You can generate xitsrw.o with genxtb or create from the
    # template .c file located in the ${APPLUSR} directory.
    LUSRSRW="${FND_TOP}/${APPLUSR}/xirusr.o"
    export LUSRSRW
    # To include custom immediate concurrent programs or create a new
    # concurrent program library, modify the variable LUSRPRG
    # LUSRPRG contains:
    # (1) the concurrent program library module which lists your
    # concurrent program catalogs.
    # If you wish to also link the Oracle Financials concurrent
    # program catalogs, make sure you list them in your concurrent
    # program library, "prglib.c".
    # (2) the concurrent program catalog module which lists your
    # immediate concurrent programs.
    # (3) the module that defines your function for the immediate
    #      concurrent program and your library.
    # The concurrent program library file and the concurrent program
    # catalog file may created from the template prglib.c and prgcat.c
    # files located in the ${APPLUSR} directory.
    LUSRPRG="${FND_TOP}/${APPLUSR}/prglib.o ${FND_TOP}/${APPLUSR}/prgcat.o ${FND_TOP}/${APPLUSR}/EXPROG.o"
    export LUSRPRG
    # The following are special environment variables designed to allow Oracle
    # Applications customers to link 3rd-party software into documented interface
    # points in Oracle Applications C code.
    # For each product listed below, there are two environment variables defined.
    # One is of the form: VND<PROD>SL
    # and the other is of the form: VND<PROD>PL
    # where <PROD> is replaced by the abbreviation for a specific product,
    # VND stands for Vendor (3rd-party vendor),
    # SL stands for Shared Libraries,
    # and PL stands for Private Libraries.
    # For example: VNDARSL, VNDARPL, VNDPAYSL, VNDPAYPL
    # Each Vendor Libraries variable defined below should be set to '' if you are
    # not linking in any 3rd-party software. If you are linking 3rd-party
    # software into a specific product, you must change the Vendor Libraries
    # variables for that product.
    # If you are linking in 3rd-party software, VND<PROD>SL and VND<PROD>PL
    # should be set to include: 1) the 3rd-party interface object modules, and
    # 2) the 3rd-party libraries (in that order).
    # For example:
    # VNDPAYSL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # Notes on setting the Vendor Libraries variables:
    # 1) You must enclose the value you assign to each vendor libraries variable
    # in single quotes as in the example above.
    # The right way to specify a value for a vendor libraries variable:
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # The wrong way to specify a value for a vendor libraries variable:
    # VNDPAYPL="$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)"
    # 2) You must enclose all environment variable references in parentheses, as
    # in the example above.
    # The right way to reference an environment variable:
    # $(PAY_TOP)/lib/py3c.o
    # The wrong way to reference an environment variable:
    # $PAY_TOP/lib/py3c.o
    # 3) Any user-defined environment variables (like VND_LINK in the example
    # above) must be set and exported in this file. There is a special
    # section for this purpose below.
    # Example:
    # Needed when linking in 3rd Party Software
    # VND_VERTEX='$(PAY_TOP)/vendor/quantum'
    # VND_LINK='$(VND_VERTEX)/lib/libvprt.a \
    # $(VND_VERTEX)/lib/libqutil.a \
    # $(VND_VERTEX)/lib/libloc.a \
    # $(VND_VERTEX)/lib/libcb63.a'
    # VNDPAYSL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # export VND_VERTEX VND_LINK VNDPAYPL VNDPAYSL
    # Needed when APPLPAYLINK!=cob
    # VNDPAYSL=''
    # VNDPAYPL=''
    # export VNDPAYPL VNDPAYSL
    # 4) Any user-defined environment variables (like VND_LINK in the example
    # above) must begin with 'VND_', or the Oracle Applications Relinking
    # Utility (adrelink) will remove them from the linking environment.
    # Note: COBDIR is an exception to this rule.
    # The right way to name a user-defined environment variable:
    # VND_LINK
    # The wrong way to name a user-defined environment variable:
    # VENDOR_LIBS
    # 5) You do not need to include the product library for the Oracle
    # Applications product into which you are linking your 3rd-party libraries
    # in the value you assign to each vendor libraries variable.
    # All you need is:
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # You don't need:
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK) $(LPAYLIB)'
    # End of notes on setting the Vendor Libraries variables
    # In general, you should set VND<PROD>SL and VND<PROD>PL to have the same
    # value. If you need to set them to different values for a given product,
    # this will be stated below or stated in the documentation that comes with
    # the product in question.
    # If there are no Vendor Libraries variables listed below for a given product,
    # that means the product in question does not have any documented interface
    # points for linking in 3rd-party software.
    # Please enter user-defined environment variables between this
    # comment section and the next comment section.
    # End section for user-defined environment variables
    # Vendor Libraries variables for Oracle Receivables (AR)
    VNDARSL=''
    VNDARPL=''
    export VNDARSL VNDARPL
    # Vendor Libraries variables for Oracle Payroll (PAY)
    VNDPAYSL=''
    VNDPAYPL=''
    export VNDPAYSL VNDPAYPL
    # End of Vendor Libraries variables list
    File is present at the $FND_TOP/usrxit folder ...
    Regards
    Priyanka

  • Re: Error while Execute External Operating System Command using T.code SM49

    Dear Experts,
    I Have uploaded one .exe file in the application server (eg: sum.exe) and created the OS command in SM69 transaction .
    And maintained the application server path in the 'operating system command' field in SM69 t.code.
    Our SAP system, oprating system is UNIX.
    After I have executed the external command using transaction SM49 , but I got the below error.
    Can not execute external program (permission denied) , External program terminated with exit code 1
    Immediately I run the SU53 transaction code to check the authorization, but Authorization was successful.
    Could any one please help on this error.
    Thanks in advance.

    >>Can not execute external program (permission denied) , External program terminated with exit code 1
    You need to give the permission as 755 to your file.
    >>I Have uploaded one .exe file in the application server (eg: sum.exe)
    You are on UNIX and do not expect to any result of .exe file as UNIX doesn't know about this.

  • How to execute external command from SAP

    Hi gurus,
    i need to execute an external command from a Sap (rel ECC.5.0) to a server UNIX (no SAP); precisely i have to write a file into a directory in unix server.
    I see transaction SM49 and Sm69 but i don't know how can i use these features.
    Please coul'd you help me or give me a documentation.
    Thank's in advance
    Maurizio Ortolani
    email. [email protected]

    Hi Maurizio,
    i do it in this way:
    CONSTANTS: CMD_LS(50)   VALUE 'ls -al /transfer/sap'.
      DATA: BEGIN OF ITAB_LS OCCURS 0,
              LINE(200),
            END   OF ITAB_LS.
      CALL 'SYSTEM'
        ID 'COMMAND' FIELD CMD_LS
        ID 'TAB'     FIELD ITAB_LS-SYS.
    How do you write the file, via an UNIX-COMMAND than try the above call
    with your command.
    Another way is to write the file via OPEN DATASET ..., TRANSFER ... TO ..., CLOSE DATASET.
    If you mean this i can give you an example.
    Hope it helps.
    Regards, Dieter

Maybe you are looking for

  • Media touch key no longer working - Nokia X6 16gb

    The dedicated media key on my new X6 16gb (firmware v12.0.091) suddenly stopped working. When I press it ,still get vibration feedback to indicate a key press has occurred but the pop down menu no longer appears. Can't link it to an specific event. W

  • Concerning iphoto 11

    Since upgrading to iphoto 11 I,m having difficulty viewing my photos in edit mode. On the quick scan of info mode the photos appear sharp, however in edit mode the edges blur up making it very difficult to edit properly, What is the problem here?  I

  • Custom Error Logging

    Hi All, I have a requirement to store the error message code returned from the oracle standard API'S. for example if the standard oracle error throws WSH_DEL_ASSIGNED_ERROR error with the token name DEL_NAME and token value wsh_new_deliveries_pvt.get

  • All currently logged in users

    does anybody have an idea, how i can get all of users that are currently logged into the/their workspace? My guess is the use a db-query from the "JdbcService", but to which table? thanks a lot for any help!

  • Go the the source of a TOC entry

    InDesign can navigate to the page source of a TOC entry using the Bookmarks panel. But there doesn't seem to be a way to navigate to the exact paragraph source of the TOC entry. If anyone is aware of a script that would add this capability to InDesig