PKIX path building failed Jdeveloper Windows vs Linux

Dear all
I developed an application using Jdeveloper 11.1.1.3.0. This application has a WS client (developed using the Jdeveloper wizard).
The strange part is that in Linux I get a "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error, but in Windows the client works perfectly. The complete error message is below.
I did some research, and I found that I should import some certificates for this to work, but then again in Windows I did nothing like that.
Any idea?
Thanks a lot
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
     at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:138)
     at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:174)
     at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:111)
     at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
     at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
     at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
     at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
     at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
     at com.sun.xml.ws.client.Stub.process(Stub.java:259)
     at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
     at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
     at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
     at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)

Being a total novice on the https/SSL configuration side of things, I've finally managed to dig down to the fact that our external partner of course needs to have a certificate installed in order to run https.
I guess the browser did not prompt and ask for acceptance of this, because it was already verified through one of the standard issuers - VeriSign.
So was then able to export the certificate through IE's Properties>Certificate>Details>Copy To File...
Will then try to import this into the correct domain on the WebLogic server.
(A quick test of the web service from the EM console worked fine. Strange then that executing the service through a partner link in bpel does not work, but I guess it may have to do with a local bpel being exposed as a web service in itself, and that security on both sides is called for... maybe... :-) )
-Haakon-

Similar Messages

  • PKIX path building failed.  Windows vs Linux

    Dear all
    I developed an application using Jdeveloper 11.1.1.3.0. This application has a WS client (developed using the Jdeveloper wizard).
    The strange part is that in Linux I get a "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error, but in Windows the client works perfectly. The complete error message is below.
    I did some research, and I found that I should import some certificates for this to work, but then again in Windows I did nothing like that.
    Any idea?
    Thanks a lot
    com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:138)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:174)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:111)
    at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
    at com.sun.xml.ws.client.Stub.process(Stub.java:259)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)

    Hi Ganesh!
    Thanks a bunch for your quick response...
    So, just to be sure about what I need to do:
    1.- From the setDomainEnv.cmd I need to remove the part that reads “-Djavax.net.ssl.trustStore=%WL_HOME%\server\lib\DemoTrust.jks”...
    2.- In the Keystores tab found in WebLogic Console Home > Summary of Servers > AdminServer(admin), change the Keystores current value "Demo Identity and Demo Trust" to the "Custom Identity and Java Standard Trust" option found in the dropdown box.
    I have a doubt in number 2... Do I have to do this only in the AdminServer or I have to do it in both, the AdminServer and my ManagedServer (soa_server1)?
    Again, thanks for your help, this error was driving me crazy!

  • ODC: ERROR PKIX path building failed: to find valid certification path

    Hi to all,
    some one has experienced the error: PKIX path building failed: to find valid certification path to request target.... on the ODC while trying to connect
    we solved temporally adding the ssl to the java virtual machine, is there a path in the odc to set the ssl ?
    ODC 10.350
    Thanks!

    If you are trying to connect to UCM via SSL , Please check below note
    ODC - Errors Attempting to Connect to UCM Configured Through SSL (Doc ID 793137.1)

  • PKIX path building failed

    Hi,
    I am trying to send an email from Oracle SOA server. I have the latest java mail & jdk.
    I am using yahoo india smtp settings.
    smtp.mail.yahoo.co.in
    SSL
    465
    I tried it with gmail as well. Also i tried a sample program with yahoo/gmail, but still the same exception...
    Any help pls??
    [TopLink Info]: 2010.08.30 15:02:05.969--ServerSession(676145274)--businessrules_session_oracle login successful
    <Aug 30, 2010 3:07:11 PM EST> <Error> <oracle.sdp.messaging.driver.email> <SDP-25700> <An unexpected exception was caught.
    javax.mail.MessagingException: Exception reading response;
    nested exception is:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1369)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
    at javax.mail.Service.connect(Service.java:310)
    at javax.mail.Service.connect(Service.java:169)
    at javax.mail.Service.connect(Service.java:118)
    at oracle.sdpinternal.messaging.driver.email.EmailDriver.send(EmailDriver.java:781)
    at oracle.sdpinternal.messaging.driver.email.EmailManagedConnection.send(EmailManagedConnection.java:56)
    at oracle.sdpinternal.messaging.driver.DriverConnectionImpl.send(DriverConnectionImpl.java:41)
    at oracle.sdpinternal.messaging.dispatcher.DriverDispatcherBean.onMessage(DriverDispatcherBean.java:298)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Sample Program:
    import java.util.Properties;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.Message.RecipientType;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    import com.sun.mail.smtp.SMTPSSLTransport;
    public class SendMailExample {
    public static void main(String[] args) {
    String from = "[email protected]";
    String to = "[email protected]";
    String subject = "Test Message";
    String message = "This is A test message sent via Gmail ";
    SendMail sendMail = new SendMail(from, to, subject, message);
    sendMail.send();
    class SendMail {
    private String from;
    private String to;
    private String subject;
    private String text;
    public SendMail(String from, String to, String subject, String text){this.from = from; this.to = to; this.subject = subject;this.text = text;}
    public void send(){
    String host = "smtp.gmail.com";
    String userid = "xx";
    String password = "xx";
    try
    Properties props = System.getProperties();
    props.put("mail.smtp.starttls.enable", "true");
    props.put("mail.smtp.host", host);
    props.setProperty("mail.transport.protocol", "smtps");
    props.put("mail.smtp.user", userid);
    props.put("mail.smtp.password", password);
    props.put("mail.smtp.port", "465");
    props.put("mail.smtps.auth", "true");
    Session session = Session.getDefaultInstance(props, null);
    MimeMessage message = new MimeMessage(session);
    InternetAddress fromAddress = null;
    InternetAddress toAddress = null;
    try {
    fromAddress = new InternetAddress(from);
    toAddress = new InternetAddress(to);
    } catch (AddressException e) {
    e.printStackTrace();
    message.setFrom(fromAddress);
    message.setRecipient(RecipientType.TO, toAddress);
    message.setSubject(subject);
    message.setText(text);
    //SMTPSSLTransport transport =(SMTPSSLTransport)session.getTransport("smtps");
    Transport transport = session.getTransport("smtps");
    transport.connect(host, userid, password);
    transport.sendMessage(message, message.getAllRecipients());
    transport.close();
    } catch (MessagingException e) {
    e.printStackTrace();
    Thanks,
    Ganesh

    Hi Ganesh!
    Thanks a bunch for your quick response...
    So, just to be sure about what I need to do:
    1.- From the setDomainEnv.cmd I need to remove the part that reads “-Djavax.net.ssl.trustStore=%WL_HOME%\server\lib\DemoTrust.jks”...
    2.- In the Keystores tab found in WebLogic Console Home > Summary of Servers > AdminServer(admin), change the Keystores current value "Demo Identity and Demo Trust" to the "Custom Identity and Java Standard Trust" option found in the dropdown box.
    I have a doubt in number 2... Do I have to do this only in the AdminServer or I have to do it in both, the AdminServer and my ManagedServer (soa_server1)?
    Again, thanks for your help, this error was driving me crazy!

  • While deploying BPEL Process through JDeveloper 10.1.3.2 the BUILD FAILS

    While deploying a BPEL Process through JDeveloper 10.1.3.2 it says :-
    BUILD FAILED
    D:\Development_mywork\MemoApplication\Memo\MemoProcess\build.xml:79: A problem occured while connecting to server "boomidevp.alshaya.com" using port
    "7778":
    ### Steps to Reproduce ###
    The Connections Tab, Application Server details are as follows :-
    Type Tab :-
    Connection Type :- Oracle Application Server 10g 10.1.3
    Authentication Tab :-
    UserName :- oc4jadmin
    Password :- bpel123
    Connection Tab :-
    Connect to :- Single Instance
    Host Name :- 172.16.100.85
    OPMN Port :- 6004
    OC4J Instance Name :- oc4j_soa
    The Test was successful.
    The Integration Server details are as follows :-
    Connection Tab :-
    App. Server :- Same thing created earlier.
    Host Name :- 172.16.100.85
    Port Number :- 7778
    The Test Connection was successful.
    After the above steps, went to Application Navigator Tab and tried to Deploy a BPEL Process.
    While deploying this BPEL Process through JDeveloper 10.1.3.2 it says :-
    BUILD FAILED
    D:\Development_mywork\MemoApplication\Memo\MemoProcess\build.xml:79: A problem occured while connecting to server "boomidevp.alshaya.com" using port
    "7778":
    Alshaya eGroup Business Solutions Team
    www.alshaya.com

    Disable your proxy settings in JDeveloper.
    Marc

  • Error in Installing AIA FP 11gR1 - Linux - Build Failed - UrgentHelp

    Hi All.,
    Actually we are in process of setting up AIA FP 11gR1 (AIA 3.0) FMW environment in OEL 4 (Linux) platform.
    Everytime while installing the AIA FP we are facing the following errors during final stage of configurations setup of FP.
    PFB the error in Install Log File:
    [wlst]
    [wlst] Overriding the ListenPort or ListenAddress is not supported.
    [wlst] WLST will use the ListenPort and ListenAddress that are configured on the ServerMBean
    [wlst]
    [wlst] Server 'soa_server1' has already been started
    Starting server soa_server1 ....
    BUILD FAILED
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAInstallDriver.xml:146: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:102: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/aia_instances/AIAFP/tmp/AIDExecuteDP_temp_1331540314.xml:114: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:464: Traceback (innermost last):
    File "/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 25, in ?
    File "<iostream>", line 1280, in start
    File "<iostream>", line 1744, in raiseWLSTException
    WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Server with name soa_server1 failed to be started
    Use dumpStack() to view the full stacktrace
    Total time: 59 minutes 5 seconds
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    Deployment Command Return Value Configuration: 1
    progress in calculate progress20
    progress in calculate progress20
    Pointers on this could help us a lot .
    Thanks in advance.
    Regards,
    Ramnath

    Hi All,
    We are getting the following exception in installation of AIA FP 11gR1 on Linux installation during the final stage Configuration setup of AIA.
    The exact error is as follows :
    [wlst] Overriding the ListenPort or ListenAddress is not supported.
    [wlst] WLST will use the ListenPort and ListenAddress that are configured on the ServerMBean
    [wlst]
    [wlst] Server 'soa_server1' has already been started
    Starting server soa_server1 ....
    BUILD FAILED
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAInstallDriver.xml:146: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:102: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/aia_instances/AIAFP/tmp/AIDExecuteDP_temp_1995177724.xml:114: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:464: Traceback (innermost last):
    File "/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 25, in ?
    File "<iostream>", line 1280, in start
    File "<iostream>", line 1744, in raiseWLSTException
    WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Server with name soa_server1 failed to be started
    Use dumpStack() to view the full stacktrace
    Pointers in this would help us a lot..
    Regards,
    Ramnath

  • How to get the path of OS(whether it is linux or Windows or Mac OS)

    hi..
    i want to know the path of the operating system currently running(whatever it is windows or Linux or Mac).Is it possible to know.... please respond me if anyone knows

    Bharath.N.Kumar wrote:
    why im dying to write a file on OS drive is, my application is portable and he can carry that app in a Compact-Disc(CD), can run on any machine(OS).If he runs that application from CD,the file generated cant be written on CD,so that i need to create this file on a Common folder(folder which must exists and independent of OS) in that system.Since the "directory where the OS resides" is
    a.) a pretty pointless question in Unix and
    b.) definitely not writable by most users on all major operating systems
    I strongly suggest you choose another directory. "user.home" has already been mentioned. It is a System property that tells you where the current users home directory is. That's almost universally available and almost always writable, so that's definitely the better choice.

  • File Path for Windows and Linux

    hi can any one give solution how to implement code for odi file copy .
    i am using Same Code for Windows and Linux
    OdiFileCopy "-FILE=#Var_Lookup_File_Path \ Employee.csv" "-TOFILE=#Var_Lookup_File_Path_Backup\Employee.csv" "-RECURSE=NO" "-OVERWRITE=YES" "-CASESENS=NO"
    the problem of above code is
    it is working in windows but my Prod is Linux environment.
    in linux \ not works.. / will work
    please suggest how to concatnate variable and file without' \' '/'

    Thanks Phani
    i think in OS command also we may give path like #variable\File Name.
    So how it will replace \ with / in Linux.
    Could you give code for my Scenario..
    Thanks for helping

  • Running ant build scripts from cmd fails on Windows Server

    Hi all!
    I'm trying to build and package ME on a Windows Server calling the ant build script targets from cmd. This works fine on a Windows XP machine. On a Windows Server machine however the ant internal calls to nwcetool.bat are failing because -files are not found in DEPLOYARCHIVES. And these files are really not there although they should have been created by nwcetool.
    Does anyone have a clue why calling ant build script in cmd on a Windows XP machine will work but fails on Window Server?
    Thanks a lot!

    And this is part 2 :
    package.sca.impl:
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\create.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\create.application.xml
         echo 2011-04-07 09:33:45 Creating application descriptor.
         xslt Processing C:\SAP\SAPME\SDK\extension\META-INF\application.xml to C:\SAP\SAPME\SDK\build\results\server\create.application.xml\application.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\create-application-xml.xslt
         xslt ejbModule=
         xslt webModule=salt-webservice
         copy Copying 1 file to C:\SAP\SAPME\SDK\extension\META-INF
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
         echo 2011-04-07 09:33:45 Merging application descriptor "C:\SAP\SAPME\SDK\extension\META-INF/application.xml" with "C:\SAP\SAPME\SDK\build\results\server\master\resources\xml/application.xml".
         xslt Processing C:\SAP\SAPME\SDK\build\results\server\master\resources\xml\application.xml to C:\SAP\SAPME\SDK\build\results\server\merge.application.xml\merged.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\jee-application-merge.xslt
         xslt jee-application-merge: file to merge is C:\SAP\SAPME\SDK\extension\META-INF/application.xml
         xslt jee-application-merge: checking for module conflicts...
         xslt jee-application-merge: Base EJBs=me.activity.ejb-5.2.5.3-Base.jar m
    e.alarm.ejb-5.2.5.3-Base.jar me.appconfig.ejb-5.2.5.3-Base.jar me.backgroundproc
    ess.ejb-5.2.5.3-Base.jar me.browse.ejb-5.2.5.3-Base.jar me.common.frame.ejb-5.2.
    5.3-Base.jar me.container.ejb-5.2.5.3-Base.jar me.correctiveaction.ejb-5.2.5.3-B
    ase.jar me.customdata.ejb-5.2.5.3-Base.jar me.datacollection.ejb-5.2.5.3-Base.ja
    r me.dbsequence.ejb-5.2.5.3-Base.jar me.defaultvalue.ejb-5.2.5.3-Base.jar me.dem
    and.ejb-5.2.5.3-Base.jar me.integration.xml.ejb-5.2.5.3-Base.jar me.inventory.ej
    b-5.2.5.3-Base.jar me.nonconformance.ejb-5.2.5.3-Base.jar me.productdefinition.e
    jb-5.2.5.3-Base.jar me.production.ejb-5.2.5.3-Base.jar me.status.ejb-5.2.5.3-Bas
    e.jar me.numbering.ejb-5.2.5.3-Base.jar me.diagnostics.ejb-5.2.5.3-Base.jar me.d
    ocument.ejb-5.2.5.3-Base.jar me.httpserver.ejb-5.2.5.3-Base.jar me.integration.c
    nc.ejb-5.2.5.3-Base.jar me.integration.collaboration.ejb-5.2.5.3-Base.jar me.int
    egration.sap.ejb-5.2.5.3-Base.jar me.labor.ejb-5.2.5.3-Base.jar me.user.ejb-5.2.
    5.3-Base.jar me.ods.ejb-5.2.5.3-Base.jar me.plant.ejb-5.2.5.3-Base.jar me.produc
    tiondate.ejb-5.2.5.3-Base.jar me.reasoncode.ejb-5.2.5.3-Base.jar me.reporting.ej
    b-5.2.5.3-Base.jar me.rtw.ejb-5.2.5.3-Base.jar me.script.ejb-5.2.5.3-Base.jar me
    .security.ejb-5.2.5.3-Base.jar me.solutionverification.ejb-5.2.5.3-Base.jar me.t
    imegranularity.ejb-5.2.5.3-Base.jar me.tooling.ejb-5.2.5.3-Base.jar
         xslt jee-application-merge: SSP EJBs=
         copy Copying 1 file to C:\SAP\SAPME\SDK\build\results\server\sda\META-INF
         copy Copying 163 files to C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
          jar Building jar: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES\me.ear
         echo 2011-04-07 09:33:45 nwce.tool=C:\SAP\SAPME\SDK\build\tools\ceclt\nwcetool\nwcetool.bat, nwce.tool.lib=C:\SAP\SAPME\SDK\build\tools\ceclt\lib, CECLT JDK=C:Program Files (x86)Javajdk1.5.0_22
         echo 2011-04-07 09:33:45 Executing CECLT with the following arguments:
    -c "createsda -n me/ear -v sap.com -l local -type J2EE -counter 5.2.5.3.330 -scn
    ME -scv sap.com -deps sap.com:me/security/loginmodule BUILDARCHIVES\me.ear DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base" -e
         exec The filename, directory name, or volume label syntax is incorrect.
         exec Result: 1
    BUILD FAILED
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1665: The following error occurred while executing this line:
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1723: Warning: Could not find file C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base.ear to copy.

  • Ed.Lab build fails on linux

    I'm trying to install the 8.1 Ed.Labs environment on linux. After running the install.sh, I get the following error. Any help would be appreciated thanks.
    Ron
    BUILD FAILED
    file:/export/home/testwls/labs/utils/defaultbuild.xml:92: taskdef class com.bea.wlw.runtime.core.ear.CleanAppTask cannot be found

    Hi,
    I got quite the same error when recompiling the CDC 1.3 for Tornado (was on Win2k) :
    C:\cdc-sun\cdcfoundation\build\vxworks>make CPU=SIMNT CDC_DEBUG=true
    ../share/rules.mk:209: ../../build/vxworks/generated/empty.mk: No such file or directory
    ... mkdir ../../build/vxworks/generated/javavm/runtime
    ! was unexpected at this time.
    make: *** [../../build/vxworks/generated/javavm/runtime] Error 0x1
    I have MKS running so, I should be more or less in the same situation than you with Linux... If you get any clue, I would be grateful to get them ...
    You could even mail me at [email protected]
    Thnx & bye
    P.

  • BUILD FAILED java.lang.ExceptionInInitializerError in Jdeveloper

    When I try to deploy a BPEL process from JDeveloper 10.1.3.2.0 by right clicking on projectname and selecting deploy, I get following error.
    Buildfile: D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process DGA_HelloAppendProcess on punib.mycompany.com, port 7777
    [deployProcess] Deploying process D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\output\bpel_DGA_HelloAppendProcess_1.0.jar
    BUILD FAILED
    java.lang.ExceptionInInitializerError
    Total time: 6 seconds
    When i follow same procedure from another system it works fine.
    I am stuck here, please help to resolve this problem.

    James,
    While the upgrade of JDeveloper to 10.1.3.4 will take some time, let me clarify the situation.
    We have SOA suite and Oracle application server installed on a server machine and two client machines (one of which I am using) have Jdev installed on them. When I deploy the BPEL from Jdev running on my colleague's machine it works fine but fails when I try the same from Jdev running on my machine.
    The versions of Jdev are exactly the same on the two machines. And versions of SOA suite, Oracle application server etc are naturally same as it is being deployed on same server. Appreciate your valuable guidance.
    Thanks and Regards,
    Dhiraj.

  • Make fails while building cldc 1.1 on Linux

    Dear All,
    Following is the software config:
    javac : "1.4.2_08"
    linux version: redhat linux 9
    kernel: 2.4.20-8 on an i686
    I am building cldc 1.1 on linux. I am facing a strange problem. After doing a make, the build process stops after these lines
    ====>
    ../tools/preverifier/build/linux/preverify -d classes tmpclasses
    make[1]: *** [compilefiles] Error 1
    make[1]: Leaving directory `/users/in1222c/cldc1/api'
    make: *** [all] Error 1
    <====
    All java files (including custom files that I have included), get compiled to the corresponding class files, but just after the preverification message appears, the build gives an error as above.
    Anyone faced this problem yet? If yes, what is that happenning wrong here.
    I will be glad for your comment and support on this.
    Regards,
    Hrishi.

    Dear All,
    Following is the software config:
    javac : "1.4.2_08"
    linux version: redhat linux 9
    kernel: 2.4.20-8 on an i686
    I am building cldc 1.1 on linux. I am facing a strange problem. After doing a make, the build process stops after these lines
    ====>
    ../tools/preverifier/build/linux/preverify -d classes tmpclasses
    make[1]: *** [compilefiles] Error 1
    make[1]: Leaving directory `/users/in1222c/cldc1/api'
    make: *** [all] Error 1
    <====
    All java files (including custom files that I have included), get compiled to the corresponding class files, but just after the preverification message appears, the build gives an error as above.
    Anyone faced this problem yet? If yes, what is that happenning wrong here.
    I will be glad for your comment and support on this.
    Regards,
    Hrishi.

  • Building Raid0 with Windows &Linux

    So basically I've a MacBook Pro 17' late 2011.
    I've got the basic 750GB 7200rpm HDD  and a combo drive.
    I want to remove the combo drive as I never ever used DVD in it and put another 750GB HDD into it.
    It would be the best if I can use the RAID0 under OSX and both Windows and Linux.
    I would like to setup a three partition drive under RAID0.
    I would like to use the performance increase of raid0 under windows and linux aswell.
    I know there is only software raid available in OSX, which maybe means I can only use it under OSX?
    I've had a PC where I had hardware RAID0 and used it under windows and linux.
    Can I have any advice about this? Is there any nice guide how to set it up?
    If its not possible, I think it is still possible to use the 2x750GB and only use like 200-300GB as RAID0 and the rest as a normal partition and install the other OSs on the normal ones, without having the nice speed up of RAID0
    I am running the latest OSX, got a copy of Windows 7 Home Premium x64, and the linux would be Arch.

    Well you are really on the Apple Macbook Pro User to User hardware forum and what you are asking about has nothing to do with MBP hardware.
    Although you may get some responses to your question there are certainly better resources on the net for the question you asked.
    I have never done what you are asking but IMHO it is not possible. But hey what do I know?

  • Difference in read/write between Windows Vs Linux

    Hi,
    Can you please write, whether it is a bug or my ignorance. I thought, if a java program runs in Windows then it will run in other platform too, without editing any code. It proved me wrong. So is it a bug?
    Ref: Fedora linux version 5
    Kernel ver. 2.6.17
    jdk version - build 1.5.0_06-b05
    I was working on a web service. The server side program connects to an application using socket program and sends back data to client.
    While it was working very fine with Windows XP. When I moved the service to Linux (above said linux). The program stopped working. When I explored it, I found 3 things.
    1. I was using PrintWriter
    PrintWriter outputStream = new PrintWriter(new OutputStreamWriter(socket.getOutputStream()), true);
    to write into the socket. It works fine in Windows but not in Linux. ie. it sends different bytes in linux. Thus fails. When I changed it to BufferedOutputStream it works fine.
    BufferedOutputStream outputStream = new BufferedOutputStream (socket.getOutputStream());
    2. I was using BufferedReader to read
    BufferedReader inputStream = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    data from socket. It reads. But byte varies from expectation. The same program works very well with windows.
    I used DataInputStream now. that works. but..
    DataInputStream inputStream = new DataInputStream(socket.getInputStream());
    3. While reading it was suppossed to read 2098 bytes, instead it reads 1448 bytes. It reads correctly in Windows, but not in the above said linux.
    Is it a bug or there is a difference in reading and writing from socket between Windows and Linux ( even though it is same JVM).
    Thanks
    Sasi.

    Thanks a lot for both of you.
    I believe, \r\n Vs \n could not be the reason.
    Because, I was sending binary data.Then you should not be using Writer at all!
    >
    With regard to "utf-8", I thought of that but I did
    not try to issue it in the function. Because, I was
    trying to send and receive raw binary data.Then you should not be using Writer at all!
    >
    Now, You may ask that why did you use PrintWriter.
    Because, the data had unsigned byte values. Makes no difference - you should not be using Writer at all!
    So I
    converted everything in to char array and send it.Will cause you problems at some point on some platform unless you use Base64 or HEX encoding.
    especially, whereever unsigned byte was required, I
    used (byte & Oxff). It worked very well with
    Windows. So I just go ahead doing other things.I use byte & 0xff for dealing with unsigned valued but your use sounds dangerous.
    >
    Here my question is, I assumed that if a program is
    written in java and complied on jvm x, then
    irrespective of the underlying OS, if the jvm is the
    same x, then the program should run without error. Is
    it wrong. If it is not wrong, then is it a jre bug?Your program will work if you have not used any implicit or explicit platform dependencies. For example, if in your program then you have hard codes a path as "C:\Program Files" then it will work on Windows (but then only if it has a C drive) but not on Unix.
    Any program has to deal with a number of platform specific features and Java protects you from them as much as possible BUT you must deal with things like Locale, EOL and default character encoding.
    No! Of course it is not a jre bug. You have coded to a specific platform and are then are suprised when it fails on other platforms.
    >
    Did you see my third point of my original problem
    statement. How to solve that.Since I don't have a view of your code I can't make an informed comment. I think I can guess what the problem is but I won't speculate.

  • Remote debugging from Windows to Linux

    Is there a full description of every step needed to do remote cross-platform C++ debugging? I'm using the Indigo version of Eclipse CDT on Windows and would like to debug an application on a remote Linux machine.
    On Windows, I do not have the ability to install a compiler or cygwin, but I do have plink and ssh on Windows. I am able to access the remote machine via RSE SFTP (a la stackoverflow.com/questions/4216822/work-on-a-remote-project-with-eclipse-via-ssh). I do have VNC but I find that the Eclipse IDE is very unresponsive under that setup, hence the desire to develop and debug from a native Windows app.
    This FAQ is the most complete (wiki.eclipse.org/CDT/User/FAQ#How_do_I_debug_a_remote_application.3F), but doesn't discuss how to deal with Windows using backslash paths and having a different filesystem root compared to Linux and its forward slashes.
    I am able to get a remote connection by playing around with the suggestions here (www.eclipse.org/forums/index.php?S=5e54b35462bb80f79ebb9fbbaf93a288&t=msg&th=173880), resulting in console output that looks like:
    Last login: Fri Apr 6 20:19:09 2012 from foo.bar.com
    echo $PWD'>'
    /usr/bin/gdbserver :12345 /linux/path/to/my/binary args_to_my_binary;exit
    but it fails with "Error while launching command: gdb --version"
    The old FAQ is very incomplete and seems out of date: wiki.eclipse.org/TM_and_RSE_FAQ#How_can_I_do_Remote_Debugging_with_CDT.3F
    This suggests it's possible but does not have sufficient details on how to set the myriad configuration options in Eclipse: stackoverflow.com/questions/6044138/remote-debugging-in-eclipse-cdt
    I suspect many people would benefit if there was a clear set of instructions in one place on how to make this happen.
    --Gerald Dalley

    OK. I just spent the last two days figuring this out, so here are step-by-step instructions that hopefully will help others (This list is unusually anal by the standards of this group, but really simple concrete instructions would have helped me).
    on the target linux box, make sure you have gdbserver. If you don't, get the gdb sources. Note: Making gdb does not build gdbserver. Instead, you have to go into the gdbserver directory and configure/make there.
    Run gdb on the linux box. In the startup banner, it will say what its target is. This will be something like x86_64-unknown-linux-gnu or i686-pc-linux-gnu. Remember this for later.
    Install MinGW on your Windows box (I had trouble building gdb on cygwin, so I recommend MinGW).
    Download expat from http://sourceforge.net/projects/expat/files/expat/2.1.0/.Note: Do not download the Windows expat installer. Download the sources instead.
    In the expat directory. "./configure --enable-shared", make, make install.
    Download the gdb sources
    ../gdb-7.4/configure --with-expat --target=x86_64-unknown-linux-gnu --host=i686-pc-mingw32
    make, make install
    Time to test. On your linux box, create and compile hello.cpp to hello.
    On your linux box, gdbserver :4444 hello
    Note:If you are on a corporate network, non-standard ports may be blocked. Set up an ssh tunnel if necessary.
    Copy hello.cpp and hello to your Windows machine
    From the MinGW prompt, run "x86_64-unknown-linux-gnu-gdb ./Hello" Note: Substitute the name of the gdb you built as appropriate based on the target platform you got in step 2.
    In gdb, load the executable with "file hello"
    target remote localhost:4444 Note: This assumes that you have an ssh tunnel on localhost. Modify appropriately.
    Verify that gdb commands like break, cont, and run work here.
    Now we want to run it from outside of MinGW. In Control Panel/System/Advanced/Environment Variables add something like E:\MinGW\bin to the path. This is necessary for the loader to find libiconv_2.dll, etc. Now verify that you can do the preceding step from an ordinary Windows command prompt.
    Launch Eclipse (finally!). New debug configuration C/C++ attach to process.
    In Main, give path to the copy of the Linux executable on the Windows system.
    In Debugger tab, set Debugger dropdown to gdbserver. Set "GDB debugger" to something like "E:\MinGW\msys\1.0\local\bin\x86_64-unknown-linux-gnu-gdb.exe" based on where your gdb is. For Connection, choose TCP and fill in the hostname and port number you've been using from gdb in the previous steps.
    Make sure gdbserver is running (it often quits when the program ends) and launch the debug configuration
    In the gdb console, enter "file hello," "break main," and cont or run (sometimes it wants one. Sometimes the other) and voila, you should be there.
    Let me know if this works, and I'll post it somewhere better.
    Good luck,
    Mike

Maybe you are looking for

  • ITunes 7 Hates my Video Podcasts

    Hoping someone can help. iTunes 7 won't play my old movies, music videos or video podcasts, either on the computer or on the ipod. It recognizes that I have them, but won't play them on the computer, and though I've selected all podcasts (also tried

  • Touchscreen Worries

    Everyone once in a while my touchscreen won't work. Upon awakening the phone from sleep, the touchscreen doesn't respond to touch until I put it in sleep once again and then slide to unlock. I've already called Apple Care and the very polite guy on t

  • Transistion in SAP to know The Stock For List Of Material

    Dear Sir, Is there any transistion in SAP. To know the stock for list of material. For Ex= I want to know the stock for below material in one shot 1) A 2) B 3) C 4) D Pls solve my problem soon Thanks & Regards Ajay Pareek

  • Remove "sslVersion=3L," from Sample R Code Invoking a Web Service, as a Result of Azure Disabling SSLV3 Support

    Hello everyone, As part of January security updates, Azure has disabled SSLV3.0 support by default for Azure Cloud Services customers, effective 01/19/2015. For details, please check Security Bulletin. As a result, the sample code to invoke a web ser

  • Syncing will not complete for my ipad

    Can anyone advise as to why my iPad will not complete Syncing with iTunes? I ahve no problems with my iPhone. Thanks