How to set proxy from CLI

I just finished my first Arch installation. I'm as green as they come, so your help and patience is appreciated!
Situation: I want to connect using my workplace's ethernet to the internet, so I can download a GUI. I've figured out how to assign a static IP, now I just need to know how to conifgure the proxy settings. How can I do this from the command line?
Thanks!

Clicky

Similar Messages

  • How to set proxy authentication using java properties at run time

    Hi All,
    How to set proxy authentication using java properties on the command line, or in Netbeans (Project => Properties
    => Run => Arguments). Below is a simple URL data extract program which works in absence of firewall:
    import java.io.*;
    import java.net.*;
    public class DnldURLWithoutUsingProxy {
       public static void main (String[] args) {
          URL u;
          InputStream is = null;
          DataInputStream dis;
          String s;
          try {
              u = new URL("http://www.yahoo.com.au/index.html");
             is = u.openStream();         // throws an IOException
             dis = new DataInputStream(new BufferedInputStream(is));
             BufferedReader br = new BufferedReader(new InputStreamReader(dis));
          String strLine;
          //Read File Line By Line
          while ((strLine = br.readLine()) != null)      {
          // Print the content on the console
              System.out.println (strLine);
          //Close the input stream
          dis.close();
          } catch (MalformedURLException mue) {
             System.out.println("Ouch - a MalformedURLException happened.");
             mue.printStackTrace();
             System.exit(1);
          } catch (IOException ioe) {
             System.out.println("Oops- an IOException happened.");
             ioe.printStackTrace();
             System.exit(1);
          } finally {
             try {
                is.close();
             } catch (IOException ioe) {
    }However, it generated the following message when run behind the firewall:
    cd C:\Documents and Settings\abc\DnldURL\build\classes
    java -cp . DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    at sun.net.www.http.HttpClient.New(HttpClient.java:315)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) at java.net.URL.openStream(URL.java:913) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    I have also tried the command without much luck either:
    java -cp . -Dhttp.proxyHost=wwwproxy -Dhttp.proxyPort=80 DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.yahoo.com.au/index.html
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at java.net.URL.openStream(URL.java:1009) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    All outgoing traffic needs to use the proxy wwwproxy (alias to http://proxypac/proxy.pac) on port 80, where it will prompt for valid authentication before allowing to get through.
    There is no problem pinging www.yahoo.com from this system.
    I am running jdk1.6.0_03, Netbeans 6.0 on Windows XP platform.
    I have tried Greg Sporar's Blog on setting the JVM option in Sun Java System Application Server (GlassFish) and
    Java Control Panel - Use browser settings without success.
    Thanks,
    George

    Hi All,
    How to set proxy authentication using java properties on the command line, or in Netbeans (Project => Properties
    => Run => Arguments). Below is a simple URL data extract program which works in absence of firewall:
    import java.io.*;
    import java.net.*;
    public class DnldURLWithoutUsingProxy {
       public static void main (String[] args) {
          URL u;
          InputStream is = null;
          DataInputStream dis;
          String s;
          try {
              u = new URL("http://www.yahoo.com.au/index.html");
             is = u.openStream();         // throws an IOException
             dis = new DataInputStream(new BufferedInputStream(is));
             BufferedReader br = new BufferedReader(new InputStreamReader(dis));
          String strLine;
          //Read File Line By Line
          while ((strLine = br.readLine()) != null)      {
          // Print the content on the console
              System.out.println (strLine);
          //Close the input stream
          dis.close();
          } catch (MalformedURLException mue) {
             System.out.println("Ouch - a MalformedURLException happened.");
             mue.printStackTrace();
             System.exit(1);
          } catch (IOException ioe) {
             System.out.println("Oops- an IOException happened.");
             ioe.printStackTrace();
             System.exit(1);
          } finally {
             try {
                is.close();
             } catch (IOException ioe) {
    }However, it generated the following message when run behind the firewall:
    cd C:\Documents and Settings\abc\DnldURL\build\classes
    java -cp . DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    at sun.net.www.http.HttpClient.New(HttpClient.java:315)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) at java.net.URL.openStream(URL.java:913) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    I have also tried the command without much luck either:
    java -cp . -Dhttp.proxyHost=wwwproxy -Dhttp.proxyPort=80 DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.yahoo.com.au/index.html
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at java.net.URL.openStream(URL.java:1009) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    All outgoing traffic needs to use the proxy wwwproxy (alias to http://proxypac/proxy.pac) on port 80, where it will prompt for valid authentication before allowing to get through.
    There is no problem pinging www.yahoo.com from this system.
    I am running jdk1.6.0_03, Netbeans 6.0 on Windows XP platform.
    I have tried Greg Sporar's Blog on setting the JVM option in Sun Java System Application Server (GlassFish) and
    Java Control Panel - Use browser settings without success.
    Thanks,
    George

  • How to set proxy server name in iasenv.ksh?

    How to set the proxy server host and port in the JAVA_ARGS list in the iasenv.ksh file? IAS 6.5 is the server being used.

    hi,
    Below is what needs to be done.
    1. Edit the variable JAVA_ARGS in iasenv.ksh to include the -Dhttp.proxyHost. For example, the JAVA_ARGS looks like this : JAVA_ARGS="-Xss512k -Xms64m -Xmx64m -Dhttp.proxyHost=proxy.myhost.com -Dhttp.proxyPort=8080"
    2. This JAVA_ARGS is the one under the kjs script settings. You will find this below the comment ## Set all user level JVM flags for KJS here.
    3. Now stop and restart the application server.
    4. Any new URL connections from the servlets/applications within the appserver will now go through the proxy server.
    I have tested this on iAS6.0 SP3. But this should work in 6.5 too. Please let me know if this helps.
    Cheers,
    Vasanth

  • How to set proxy while deploying a bpel proxy?

    Hi All,
    How can i set proxy while deploying a bpel process. I'm trying to deploy an async bpel process that requires proxy to be set coz to access one of the xsd file requires to go thru a proxy. I have actually set proxy in the following files, setenv.bat and bpel-install.properties under location soa_home\bpel\bin and soa_home\bpel\system\services\install\ant-tasks respectively. When i try to deploy the process through obant.bat, it compiles file but gives an error while deploying stating that it is not able to access the xsd file. While compiling, the proxy setting is taken from setenv.bat and hence compiles successfully, but while deploying it doesn't seem to take the proxy setting set in bpel-install.properties file. Can anyone help me out as to how i can set proxy while deploying???? I'm using soa suite 10.1.3.3.
    The following is the log file of obant execution :
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient>SETLOCAL
    ** OBANT is now deprecated. This will be removed in
    ** the next release. You should use ANT instead.
    Buildfile: build.xml
    Trying to override old definition of task customize
    pre-build:
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating workflow
    [echo] --------------------------------------------------------------
    [echo]
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Compiling bpel process PSFTAsyncCalcClient, revision 1.0
    [echo] --------------------------------------------------------------
    [echo]
    [bpelc] validating "C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\bpel\PSFTAsyncCalcClient.bpel" ...
    [bpelc] BPEL suitcase generated in: C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\output\bpel_PSFTAsyncCalcClient_1.0.jar
    deployProcess:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Deploying bpel process PSFTAsyncCalcClient on 10.176.162.42, port 8888
    [echo] --------------------------------------------------------------
    [echo]
    [deployProcess] Deploying process C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\output\bpel_PSFTAsyncCalcClient_1.0.jar
    BUILD FAILED
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\build.xml:79: A problem occu
    red while connecting to server "10.176.162.42" using port "8888": bpel_PSFTAsync
    CalcClient_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "P
    SFTAsyncCalcClient" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element
    In WSDL at "http://localhost/PSIGW/PeopleSoftServiceListeningConnector/ASYNCPSFT
    CALC.1.wsdl", message part element "{http://xmlns.oracle.com/Enterprise/Tools/sc
    hemas/PSFTCALCRESPONSEMESSAGE.V1}PSFTCalcResponseMessage" is not defined in any
    of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL impor
    t is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspat
    h domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.j
    ava:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(Deployment
    Manager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(Deploymen
    tManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainMana
    gerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
    java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoin
    PointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASIntercep
    tor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterce
    ptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxReq
    uiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.ja
    va:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(Stateless
    SessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:
    319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:3
    41)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.jav
    a:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispat
    cher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequ
    estDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandl
    er.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandle
    r.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketRead
    Handler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAc
    ceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHa
    ndler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSo
    cketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRes
    ourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 44 seconds
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient>obant >>C:\log.txt
    BUILD FAILED
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient\build.xml:79: A problem occu
    red while connecting to server "10.176.162.42" using port "8888": bpel_PSFTAsync
    CalcClient_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "P
    SFTAsyncCalcClient" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element
    In WSDL at "http://localhost/PSIGW/PeopleSoftServiceListeningConnector/ASYNCPSFT
    CALC.1.wsdl", message part element "{http://xmlns.oracle.com/Enterprise/Tools/sc
    hemas/PSFTCALCRESPONSEMESSAGE.V1}PSFTCalcResponseMessage" is not defined in any
    of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL impor
    t is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspat
    h domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.j
    ava:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(Deployment
    Manager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(Deploymen
    tManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainMana
    gerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
    java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoin
    PointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASIntercep
    tor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterce
    ptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxReq
    uiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSIntercept
    or.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationC
    ontextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.ja
    va:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(Stateless
    SessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:
    319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:3
    41)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.jav
    a:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispat
    cher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequ
    estDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandl
    er.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandle
    r.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketRead
    Handler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAc
    ceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHa
    ndler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSo
    cketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRes
    ourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 39 seconds
    C:\JDeveloper\jdev\mywork\Async\PSFTAsyncCalcClient>ENDLOCAL
    Thanks in advance...

    Hi all
    I want to connect a secured web service from BPEL 10g. There are no compilation errors. I am getting getting while deploying to BPEL Console.
    I am attaching the full console log.
    I am using JDeveloper 10.1.3.4. I am not getting any error when i deploy from my home PC. I am getting problem in my office only. There may be some blocks for some external URL. I am not able to find out how to resolve the issue.
    I am looking into it... Can you please help me out????
    I am attaching the console log from JDeveloper
    ======================================================================================
    Buildfile: D:\Debarshi\AllWorkspace\CRMOnDemandApplication\AccountObjectProject\build.xml
    [java] Java Result: 1
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process AccountObjectProject on CTSINCALSDV8, port 80
    [deployProcess] Deploying process D:\Debarshi\AllWorkspace\CRMOnDemandApplication\AccountObjectProject\output\bpel_AccountObjectProject_1.0.jar
    BUILD FAILED
    D:\Debarshi\AllWorkspace\CRMOnDemandApplication\AccountObjectProject\build.xml:78: A problem occured while connecting to server "CTSINCALSDV8" using port "80": bpel_AccountObjectProject_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "AccountObjectProject" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10010]: unresolved element
    [Description]: in line 57 of "C:\product\10.1.3.1\OracleAS_1\bpel\domains\default\tmp\.bpel_AccountObjectProject_1.0_c395168db42709156a3350fd7efbeaeb.tmp\AccountObjectProject.bpel", XML element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" of variable "SecurityHeaderVar" is not defined.
    [Potential fix]: Make sure the XML element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" is defined in one of WSDLs that are referenced by the deployment descriptor.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:804)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 12 seconds
    =========================================================================================
    Thanks in advance
    Deb

  • How to set proxy for the programme

    Hello Everyone
    I am learning Java Network programming. My connection to Internet has a proxy. When I use URL class to download the information from Internet, it cannot work. I think maybe I have not set the proxy in the programme. Does anybody know how to set it?
    Best wishes
    Aaron Cui Lu

    System.getProperties().put( "proxySet", "true" );
    System.getProperties().put( "proxyHost", "proxyMachineName/IP" );
    System.getProperties().put( "proxyPort", "proxyPort" );

  • How to set songs from music as ringtones for contacts

    How do I set songs from my music that is on the phone as ringtones for different contacts?

    Songs and ringtones have different formats.  They are not interchangeable.  You would have to convert a song into a ringtone.
    If you have a Mac, you could use the GarageBand app to do that.  If you have a PC, there are apps to do the conversion, but I cannot name one.

  • How to Set "delete from hub and server" for each account

    How can I set "delete from hub and server" differently for each account?
    I have 3 emails (2 shared, 1 personal).
    the personal is a 'hotmail' account which has device set to 'sync email', 'push', and 'Use SSL'.
    it will only sync one way (from desktop to device).
    I cannot set the global setting on the device to "delete from Hub and server" without affecting all accounts.
    I do not want to have to confirm delete on every item.
    previous to the 10.3 update this was not an issue.
    am i missing something? or is this another step backwards?

    The only other way would be to set it to prompt every time you get an email. Yeah, I know that defeats the purpose.. I guess in this aspect it is a step back

  • How to set classpath from java class ??

    I have tried to use System.setProperty("java.class.path", "my class path string ") to set classpath dynamically. But it is not working. How to set it dynamically from java class ?? Thanks , gary

    Look into the java.net.URLClassLoader. You can't set the classpath after the fact but you can specify URL's that will checked when you try to load a class with that loader.

  • How to set proxy setting in all application

    i am using college wifi system, it used by proxy setting and username and password for that,
    in the time of microsft updation I cant access internet, how to setup proxy for that??????

    Hi,
    Was your issue resolved?
    If no, please provide the detailed information of your issue for analysis.
    If the problem happened after Windows Update, let us know which update.
    You could set the proxy as below:
    1. Open Internet Explorer.        
    2. Click the Tools button, and then click
    Internet Options.
    3. Click the Connections tab, and then click
    LAN settings.
    4. Select the Use a proxy server for your LAN check box.
    5. In the Address box, type the address of the proxy server.
    6. In the Port box, type the port number.
    7. If your network requires separate proxy addresses for different services, such as HTTP, HTTPS, or FTP, click the
    Advanced button, and then type the individual proxy server addresses to use.
    8. When you are finished making changes, click OK until you return to Internet Explorer.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to set proxy for client-server socket connection?

    Hi,
    I'm using the code found on the following page to create a client (mobile) to server (pc) connection and send a text message.
    http://javafaq.nu/java-example-code-503.html
    This works with mobile operators without proxy, but does nothing when the operator uses a proxy. The question is, exactly how to set the proxy and port values for using that code.
    Any help is greatly appreciated, thanks,

    It's part of the cellular settings, and is usually set up by your 3G provider. You can't choose your own proxy server

  • [SOLVED]JDeveloper 10g and ADF: How to create proxy from WSDL behind SSL?

    Hi all,
    I have successfully created web service proxies using the "Create Web Service Proxy" wizard. However, when I attempt to generate proxy from a wsdl file behind a ssl connection, JDeveloper throws a "SSLHandshakeException". I have a working java keystore file which was verified by using the soapUI tool. Within the soapUI tool, there is a "SSL Settings" preference tab which allows me to point to a *.jks file/password. I tried looking for a similar setting in JDeveloper preference with no luck. Is anyone familiar with this type of request?
    Many thanks,
    Wes
    Edited by: Wes Fang on Sep 21, 2010 10:25 AM

    add certificate to java keystore with something similar to the following:
    C:\jdev10134\jdk\jre\lib\security>keytool -import -trustcacerts -file MYCERTIFICATE.cer -alias MYCERTIFICATEALIAS -keystore cacerts
    Enter keystore password: *******
    Certificate already exists in system-wide CA keystore under alias <MYCERTIFICATEALIAS>
    Do you still want to add it to your own keystore? [no]: yes
    Certificate was added to keystore
    The reason it said certificate already exist is because I also added it to the JAVA_HOME\ path.
    I restarted jdeveloper and used the proxy generation wizard again, everything worked fine.

  • How to set proxy to javamail?

    Hi friends:
    I want to receieve email using javamail. I use code:
    Properties prop=new Properties();
           prop.put("mail.pop3.host",host);
           prop.put("mail.smtp.auth","true");//
           Session session=Session.getDefaultInstance(prop);
           session.setDebug(true);
           Store store=session.getStore("pop3");
           store.connect(host,name,password);
           Folder inbox=store.getDefaultFolder().getFolder("INBOX");
           inbox.open(Folder.READ_ONLY);
           Message[] msg=inbox.getMessages();
           FetchProfile profile=new FetchProfile();
           profile.add(FetchProfile.Item.ENVELOPE);
           inbox.fetch(msg,profile);When I run it, I get exception:
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]
    POP3: connecting to host "pop.163.com", port 110
    javax.mail.MessagingException: Connect failed;
      nested exception is:
         java.net.ConnectException: Connection refused: connect
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)
         at javax.mail.Service.connect(Service.java:234)
         at javax.mail.Service.connect(Service.java:135)
         at com.developcentry.mail.MailTest.getMail(MailTest.java:44)
         at com.developcentry.mail.MailTest.getMsgList(MailTest.java:65)
         at com.developcentry.mail.MailTest.main(MailTest.java:60)
    Exception in thread "main" It maybe I am in the intranat,so It is limited by proxy. Is there any method to set proxy to javamail? For example:
    session.set("proxy","address");
    If it has ,how to do it? THKS!

    Hi Athos,
    Please refer to the help document below:
    Proxy authentication support for Creative Cloud products
    Hope that helps!
    Regards,
    Sheena

  • How to set value from one view to other view's context node attr b4 save

    HI all,
    My requirement is as below:
    There are two views in component BP_CONT.
    BP_CONT/ContactDetails    IMPL class
    BP_CONT/SalesEmployee   SALESEMPLOYEE    STRUCT.SALESEMPLOYEE
    I want to set value from first view to second view's context node's attribute.
    i get Sales Employee BP number in ContactDetails view, from here i want to set that value in to STRUCT.SALESEMPLOYEE
    of second view in the same component.
    please send me code snippet for doing the same.
    Thanks in advance.
    seema

    Hi Seema
    You can access the fields from different views by either using custom controllers or by using component controllers, in your case you can access the Sales employee BP number from the Component controller.
    first access the component controller  as below in BP_CONT/SalesEmployee  (in do_prepare_output method) or in (specific setter method)
    lv_compcontroller type ref to CL_BP_CONT_BSPWDCOMPONENT_IMPL,
    lv_partner type ref to cl_crm_bol_entity,
    lv_role type string,
    lv_partner_no type string.
    lv_employee TYPE REF TO if_bol_bo_property_access,
    lv_compcontroller  = me->COMP_CONTROLLER.
    lv_partner ?= lv_compcontroller  ->typed_context->-partner->collection_wrapper->get_current( ).
    lv_role = lv_partner->get_property( iv_attr_name = 'BP_ROLE' )
    IF LV_ROLE = 'SALESEMPLOYEE'
      lv_partner_no ?= lv_current->get_property( iv_attr_name = 'BP_NUMBER' ).
    endif.
    now set the value
    lv_employee ?= me->typed_context->salesemployee->collection_wrapper->get_current( )
    CHECK lv_employee IS BOUND.
        lv_employee->set_property( iv_attr_name = 'SALESEMPLOYEE' iv_value =  lv_partner_no  )
    Thanks & Regards
    Raj

  • How to set users from AD as UCM administrators

    Hi
    I need to set group from Active Directory as UCM administrators
    We have configured AD provider on WLS and group named MyGroup in AD
    I created role MyGroup in UCM and users from this AD group can login to UCM.
    I tried to create credentials map named "MyMap" with "MyGroup,admin" values,
    add "ProviderCredentialsMap=MyMap" to <domain>/ucm/cs/data/providers/jpsuserprovider/provider.hda
    and restart UCM
    But it not works.
    Please advice
    Thanks
    Leon

    Leon wrote:I created role MyGroup in UCM and users from this AD group can login to UCM.Try removing the role "MyGroup" you've defined in UCM from the User Admin applet. It's not needed in this case. The "MyGroup" should just "come over" from AD as a role, if you've configured the WLS AD provider correctly.
    Otherwise the mapping itself looks ok.

  • How to set proxy for 3G connection?

    Can anyone tell me where to set proxy for 3G connection?
    I think I've checked every section in Settings but failed to find anything.
    Thanks for your info.

    It's part of the cellular settings, and is usually set up by your 3G provider. You can't choose your own proxy server

Maybe you are looking for