Url.openConnection with PROXY

How can I do a url.openConnection through a proxy WITHOUT CHANGING THE SYSTEM PARAMETERS ??

You can build the HttpURLConnection as follows
HttpURLConnection url = new sun.net.www.protocol.http.HttpURLConnection(url,  hostname, port);http://www.sourcebot.com/sourcebot/decompile.cgi?url=http://www.sourcebot.com/sourcebot/sun/net/www/protocol/http/HttpURLConnection.class

Similar Messages

  • URLConnection with Proxy (yeah URL's again but not simmilar to others;))

    Hy all,
    What i try to do: getting the content of a website over a Proxy.
    Well it took me some time to google and stuff and i found out this is something many ppl. are stuck at.
    The most common solution to do that is something like where i am at this point, there is a commented version of the code at the
    end of this post (And please note that my exception Handling should be taken as a 'how to not do' solution^^).
    public static void main(String[] args){
            java.net.URL url = null;
            URLConnection  con = null;
            InputStream in = null;
            String user = "usr";
            String passwd = "�pwd";
            try{
              url = new URL("http", "anyProxy.com", 80, "http://www.google.ch");
              con = url.openConnection();
            }catch(Exception e){
                e.printStackTrace();
            con.setDoInput(Boolean.TRUE);
            con.setReadTimeout(10);
            con.setRequestProperty("Accept","text/xml,text/*,text/html");
            con.setRequestProperty("Cache-Control","no-cache");
            con.setRequestProperty("Proxy-Authorization", "Basic " + new sun.misc.BASE64Encoder().encode((user + ":" + passwd).getBytes()) );
            try{
                con.connect();
                in = con.getInputStream();
            }catch(IOException e){
                e.printStackTrace();
            BufferedReader reader = new BufferedReader(new InputStreamReader(in));
            String fullFile = "";
            try{
                for (String line = ""; line != null; line = reader.readLine()) {
                   fullFile += line;
            }catch(Exception e){
                e.printStackTrace();
            try{in.close();reader.close();}catch(Exception e){e.printStackTrace();};
            url = null;
            con = null;
            in = null;
            reader = null;
            System.out.println(fullFile);
        }So after this you should be able to read a url... but wait, there is MY problem, i get the content of the proxyserver delivered but not the site i want the content to be delivered AFTER passing the proxy (google in this case).
    I found about 30 Forums/ Posts that recomend that solution, 1 or 2 are mentioned that there wont be any content of the following site (google in this example) but NONE of these has a solution or a link to any informations how to solve that problem.
    Thank you for taking the time to read this Post, also thank you for any tips/links etc. that could solve this problem.
    I wish you a nice day;)
    Regards
    Balsi
    The commented solution should not be taken to seriously, this is how I interprete the solution and how i assume it works. It should not be taken
    word by word but at least help to understand a bit. Please post any badly wrong informations so i can delete/ change the comment, there is enoth
    of wrong information already out there...
    public static void main(String[] args){
            /*The URL just specifies a Resource, which means stuff like:
             *    - Protocoll => Which protocoll is needet, http, ftp, file etc. (File is used if URL represents a local file)
             *    - Adress, Proxys usw. Check out the API for overall Informations
            java.net.URL url = null;
            /*The URLConnections represents a specified Connection, note that the connection from
             *url.getConnection() is not yet a successfull connection to the adress specified
            URLConnection  con = null;
            //The InputStream will be used to get the Data from the Site
            InputStream in = null;
            //This is a proxy User if a proxy is between you and the internet
            String user = "usr";
            //This is the pw you need to authentificate  the user defined above when connecting to the proxy
            String passwd = "pwd";
            try{
            /* The Url now gets inicialised, the delivered parameters are:
             * String protocol: The protocoll we want to use (since we use a Proxy its http)
             * String host: The Proxyserver itself, can be the dns name or the ip
             * int Port: The Proxyservers port he's listening and accepting requests
             * String file: The URL we want to get after Proxy authentification
            url = new URL("http", "anyProxy.com", 80, "http://www.google.ch");
            /* We now open the connection, note that opening the connection does not mean
             * accutally connecting to a server! It just represents a Connection, in the real
             * World this would be the idear to open a browser and later type in a Url and press enter
            con = url.openConnection();
            }catch(Exception e){
                e.printStackTrace();
            // We need to indicate that we want to read content from that connection by setting true
            con.setDoInput(Boolean.TRUE);
            // Timeout if needet, default is somewhere between 10-30secs
            con.setReadTimeout(10);
            //Filter what date this connection accepts
    //        con.setRequestProperty("Accept","text/xml,text/*,text/html");
            //Filter weather we accept cached site data
            con.setRequestProperty("Cache-Control","no-cache");
            /* Now this is important, we specifie that this Connection will use a Proxy by setting the Attribute
             * Proxy-Authorizasion to a Base64 Encoded value which contains our user as well as the Password
            con.setRequestProperty("Proxy-Authorization", "Basic " + new sun.misc.BASE64Encoder().encode((user + ":" + passwd).getBytes()) );
            try{
            /* We now finally acctually connect to the server this is equal to pressing enter inside a
             * We-explorer such as IE, Mozilla etc. after typing in a URL
             * NOTE: This is not the same like IE, Mozilla etc. displaying something afterwards!
             *       (No worry, this will come soon)
            con.connect();
            /* There we go, we connected to the server and open a InputStream to get the data from it
            in = con.getInputStream();
            }catch(IOException e){
                e.printStackTrace();
            // We use a BufferedReader to read the InputStream
            BufferedReader reader = new BufferedReader(new InputStreamReader(in));
            // For now we use a String, note that a StringBuffer would be more effective looking at the performance
            String fullFile = "";
            try{
                for (String line = ""; line != null; line = reader.readLine()) {
                   fullFile += line;
            }catch(Exception e){
                e.printStackTrace();
            /* It's very recomendet to close all the connections/streams etc. especially if your application
             * isnt just a mainprogramm like this to show a simple example. If you would open serval connetions
             * parallely (Threads) not closing the streams/connections will fastly kill your memory;)
            url = null;
            con = null;
            //expecially the Streams&Buffers need to be closed but can throw a exception while trying it
            try{in.close();reader.close();}catch(Exception e){e.printStackTrace();};
            in = null;
            System.out.println(fullFile);
        }

    Hy and thanks for the fast replie, i will check out the Authenticator as well as the java.net.Proxy for further information, hopefully i get a sollution i then can post here;)
    Yeah, i wanted to comment that readTimeout but forgot, doesnt seem to work for me, no matter what i set there (had ranges from 1- 99999) the timeout always occurs after about 20 seconds (but it could also be that there is something like a not working authentication mechanism abortin my connection hu?)
    Well, going to check out the other two classes mentioned, of course going to reward you if this gets me to my aim;)
    Regards
    Balsi
    (oh well and sorry for my probably not that nice english, not my motherlanguage;))

  • Problem with url.openConnection

    Hi everyone. I have created an applet that runs ok in appletviewer. The problem is that if I load it from IE an exception occurs. THis is because, at some point I want to read a file, and I do url.openConnection. The getContentLength() method of the urlconnection then returns -1 instead of the real file's size. I have to notice, that I have created .jar file for my classes and I use signatures for loading my applets in the browser.
    Any ideas?
    Thanx in advance,
    Theodore

    That made sense, so I changed my imports from:
    import com.sun.net.ssl.internal.www.protocol.https.*;
    import com.sun.net.ssl.internal.ssl.*;
    to
    import javax.net.ssl.*;
    and successfully recompiled. It was hopeful at first because It crashed on some permissions. As soon as I corrected the permissions in java.policy, that damn ClassCastException was back.
    Is this still the way to do it using javax.net.ssl?
    System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new sun.security.provider.Sun());
    URL url = new URL(authurl);
    HttpsURLConnection connection = HttpsURLConnection)url.openConnection();
    Thanks for your time...

  • URL call with input form data

    Hi experts,
    I need to call a URL with POST request and need send the form input data with request, how can i modify below code to get that done, i tried to find API and falied to find so.,
    Lets assume i want to send "MessageId" and "MessageType" as in POST method, rather than sending in QueryString.
    public class TestURL{
    static public void main(String args[]) throws Exception{
    URL url = new URL("http://www.myurl.com/myMessageHanlerservlet");
    URLConnection conn = url.openConnection();
    //Need help here to add my input paras
    connection.setRequestMethod("POST");
    connection.setDoInput(true);
    connection.setDoOutput(true);
    //how to set MessageId and MessageType
    InputStreamReader content
    = new InputStreamReader(conn.getInputStream());
    for (int i=0; i != -1; i = content.read())
    System.out.print((char) i);
    Thanks
    Jay

    Try this code, it comes from javaalmanac.
        try {
            // Construct data
            String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
            data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
            // Send data
            URL url = new URL("http://www.myurl.com/myMessageHanlerservlet");
            URLConnection conn = url.openConnection();
            conn.setDoOutput(true);
            OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
            wr.write(data);
            wr.flush();
            // Get the response
            BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            while ((line = rd.readLine()) != null) {
                // Process line...
            wr.close();
            rd.close();
        } catch (Exception e) {
        }

  • Got problems with firefox 3.x, 4.x and 5 on win 7 x86 or x64 with proxy autodetection although it works on winXP

    at work we use to setup browsers with proxy autodetection activated and it worked perfectly on all platforms we use win XP,7 and linux and with all browsers i tried (ie : IE7,8,9), firefox 3.x,4.x,5 and other ones. below a post of the original wpad.dat that worked with everything (every IP or fqdn replaced with x):
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.x")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.X", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"xxx.xxxx.xx"))
    return "DIRECT";
    else
    return "PROXY xxxxx.xxx.xxxx:3128";
    Today i decided to manage other sites with wpad.dat, and to customize proxy for each site that points to wpad.dat.
    below the new wpad.dat:
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.xx")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"x.x.xx"))
    return "DIRECT";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY x.X.x:3128";
    else if (shExpMatch(myIpAddress(), "x.x.x.*"))
    return "PROXY y.y.y:8181";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY z.z.z.z:8181";
    Since those changes it doesn't work anymore with firefox on linux and win7, but still works with any browsers on winXP and most surprising works on win7 with ie8 or ie 9 not tested with ie7.

    at work we use to setup browsers with proxy autodetection activated and it worked perfectly on all platforms we use win XP,7 and linux and with all browsers i tried (ie : IE7,8,9), firefox 3.x,4.x,5 and other ones. below a post of the original wpad.dat that worked with everything (every IP or fqdn replaced with x):
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.x")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.X", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"xxx.xxxx.xx"))
    return "DIRECT";
    else
    return "PROXY xxxxx.xxx.xxxx:3128";
    Today i decided to manage other sites with wpad.dat, and to customize proxy for each site that points to wpad.dat.
    below the new wpad.dat:
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.xx")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"x.x.xx"))
    return "DIRECT";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY x.X.x:3128";
    else if (shExpMatch(myIpAddress(), "x.x.x.*"))
    return "PROXY y.y.y:8181";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY z.z.z.z:8181";
    Since those changes it doesn't work anymore with firefox on linux and win7, but still works with any browsers on winXP and most surprising works on win7 with ie8 or ie 9 not tested with ie7.

  • Communication problem with proxy server

    We have establish the configuration of an iPad to access the enterprise net, but when trying to access any webpage we get the next message: Safari can not open the page. Error:"There is a communication problem with proxy web server (HTTP)"
    The access has no problems with other movile devices.
    Ahy help?

    Hi,
    I am not sure whether you have already solved the problem or not....
    Do the following to deploy MobileBIService.war file on tomcat
    1.Stop Tomcat Web application server.
    2.Copy the file, MobileBIService.war from [Install directory]\Mobile 14\Client to the Tomcat's "Webapps" directory.
    In my case, I copied the MobileBIService.war from C:\Program Files (x86)\SAP BusinessObjects\Mobile14\Client to C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps. ( I used BO 4.0 SP02)
    3.     Start Tomcat.
    Restarting Tomcat would automatically deploy war file as a Web App
    One folder u201CMobileBiServiceu201D will appear in webapps folder when MobileBIService.war is deployed successfully.
    Hope it helps.
    Regards,
    Ankur

  • Administration of APEX in SQL Developer with Proxy Authentication impossibl

    Hello!
    We are using latest version of SQL Developer to administer APEX. We are connecting to the database with proxy authentication. The syntax is:
    personal_user[apex_ws_owner]
    e.g.: mdecker[apex_demo]
    When trying to deploy APEX application I go to "Database Object" -> Application Express -> Application1 [100] -> right mouse click: "Deploy Application". Then I select the appropriate database identifier and next, I am presented with a screen showing import options. In second line, it says: "Parsing Schema: MDECKER".
    This is wrong: it has to be Parsing Schema: APEX_DEMO. It seems that managing APEX with SQL Developer does not support Proxy Authentication.
    Could you please confirm?
    Is there a way to formally ask for this enhancement?
    Best regards,
    Martin
    Update:
    I found out that if I check the flag "Proxy Authentication" in the connect details and provide both passwords, the deploy application parsing schema is set to the correct APEX_DEMO account. However, we are using Proxy Authentication in order to avoid having to know the application password.
    Edited by: mdecker on Jan 28, 2013 4:48 PM

    There is a write-up about connecting to APEX here: <a href ="http://www.oracle.com/technology/products/database/application_express/html/sql_dev_integration.html" >SQL Dev Oracle APEX Integration</a>
    <p>You do need to have updated to Oracle APEX 3.0.1.
    <p>Regards <br>
    Sue

  • Online college, open document, how to find URL associated with document

    I am currently enrolled in an online college.  For APA formatting, we are supposed to find the URL associated with an online document.  For example:  on the college website I click on a link that takes me to the open/save box.  I open the file, at the top of the page is the name: sn_2010_writing_scholarly_voice-1.  On a PC we are supposed to cut/paste that into our web browser to come up with the URL.  I'm not seeing how to do this on a MAC. 

    Here's a code snipet with null checks removed:
    UID MyClassName::GetFrameForXMLElement(IIDXMLElement* inXMLElement)
        InterfacePtr< ITextModel > textModel( Utils< IXMLUtils >()->QueryTextModel( inXMLElement ) );
        InterfacePtr< IFrameList > frameList( textModel->QueryFrameList() );
        UID aFrameUID = frameList->GetNthFrameUID( 0 );
        return aFrameUID;

  • JAX-WS client - WebLogic - SSL with proxy server

    Good night!
    I'm having trouble communicating with webservices using certificate authentication (weblogic.wsee.jaxws.sslclient.PersistentSSLInfo) through and going through a proxy server (weblogic.wsee.jaxws.proxy.ClientProxyFeature) .
    If communication with the webservice is done directly (no proxy server) everything happens perfectly, but to set the proxy server I get the exception "BAD_CERTIFICATE." it is as if the certificate was not attached in the request.
    The webservice client was generated by JDeveloper.
    Has anyone experienced this problem?
    Sorry for my bad english
    Exception
    javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
         at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
         at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
         at com.sun.xml.ws.client.Stub.process(Stub.java:272)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
         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:136)
         at $Proxy30.cleCadastroLote(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
         at $Proxy31.cleCadastroLote(Unknown Source)
         at br.com.tbl.ws.CleCadastroPortClient.main(CleCadastroPortClient.java:51)
    Webservice client with proxy server (error)
    import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
    import javax.xml.ws.BindingProvider;
    import weblogic.wsee.jaxws.JAXWSProperties;
    import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
    import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
    public class CleCadastroPortClient
    public static void main(String [] args)
    try{
    CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
    CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
    String clientKeyStore = "C:\\certificados.jks";
    String clientKeyStorePasswd = "xxxxx";
    String clientKeyAlias = "xxxxx";
    String clientKeyPass = "xxxxx";
    String trustKeystore = "C:\\keystore_completo.jks";
    String trustKeystorePasswd = "xxxxx";
    PersistentSSLInfo sslInfo = new PersistentSSLInfo();
    sslInfo.setKeystore(clientKeyStore);
    sslInfo.setKeystorePassword(clientKeyStorePasswd);
    sslInfo.setKeyAlias(clientKeyAlias);
    sslInfo.setKeyPassword(clientKeyPass);
    sslInfo.setTrustKeystore(trustKeystore);
    sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
    ClientProxyFeature clientProxy = new ClientProxyFeature();
    clientProxy.setProxyHost("proxy.com");
    clientProxy.setProxyPort(Integer.parseInt("3128") );
    clientProxy.setProxyUserName("user");
    clientProxy.setProxyPassword("pass");
    clientProxy.attachsPort(cleCadastro);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
    ((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
    String retorno = cleCadastro.cleCadastroLote("xml", "xml");
    }catch(Exception ex){
    ex.printStackTrace();
    Webservice client without proxy server (OK)
    import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
    import javax.xml.ws.BindingProvider;
    import weblogic.wsee.jaxws.JAXWSProperties;
    import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
    import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
    public class CleCadastroPortClient
    public static void main(String [] args)
    try{
    CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
    CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
    String clientKeyStore = "C:\\certificados.jks";
    String clientKeyStorePasswd = "xxxxx";
    String clientKeyAlias = "xxxxx";
    String clientKeyPass = "xxxxx";
    String trustKeystore = "C:\\keystore_completo.jks";
    String trustKeystorePasswd = "xxxxx";
    PersistentSSLInfo sslInfo = new PersistentSSLInfo();
    sslInfo.setKeystore(clientKeyStore);
    sslInfo.setKeystorePassword(clientKeyStorePasswd);
    sslInfo.setKeyAlias(clientKeyAlias);
    sslInfo.setKeyPassword(clientKeyPass);
    sslInfo.setTrustKeystore(trustKeystore);
    sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
    ((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
    String retorno = cleCadastro.cleCadastroLote("xml", "xml");
    }catch(Exception ex){
    ex.printStackTrace();
    }

    Hi,
    I tried to use the option "-DUseSunHttpHandler=true" and enabled "JSSE SSL", but it did not work, now showing the exception "General SSLEngine problem".
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <javax.xml.ws.WebServiceException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at $Proxy308.cleCadastroLote(Unknown Source)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.Stub.process(Stub.java:272)>

  • I continue to receive an error message "can't conect to server the URL adresses with "file:" are not compatible, what is that?

    I continue receiving an error message, I'll translate fron spanish:
    Ha habido un problema al conectar con el servidor. Las direcciones URL con el tipo "file:" no son compatibles.
    There has been a problem conecting to the server. URL addresses with the "file:" type are not compatible.
    Anyone knows what this means?
    Thanks.

    I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
    I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
    I was afraid of rebooting and possibly losing track even of the ghost.
    I did not try EasyFind - I'll keep that in mind next time.
    Thanks for all the comments.

  • URL - Iview with LogonUser as parameter in Url-string

    Hi,
    i want to create an URL-Iview with additional URL-parameters. One of the parameters (in between) should be the LogonUser like: http://www.abc.de/param1/LogonUser/param2. Does someone know the syntax for that ?
    Frank

    Hi Erik,
    thanks for your answer, but this not exactly what i need. I want to use the standard URL-Iview. Some of the parameters are static but not the username this one should be the name of the logged on portaluser: E.g. in the Url Iview editor the Url looks like: http://www.abc.de/test/<b><userid></b>/yourpage.htm in the runtime iview it has to be http://www.abc.de/test/<b>kunath</b>/yourpage.htm

  • Strange behaviour when using connection pooling with proxy authentication

    All
    I have developed an ASP.NET 1.1 Web application that uses ODP.NET 9.2.0.4 accessing Oracle Database 8i (which is to be upgraded to 10g in the coming months). I have enabled connection pooling and implemented proxy authentication.
    I am observing a strange behaviour in the live environment. If two users (User 1 and User 2) are executing SQL statements at the same time (concurrent threads in IIS), the following is occurring:
    * User 1 opens a new connection, executes a SELECT statement, and closes this connection. The audit log, which uses the USER function, shows User 1 executed this statement.
    * User 2 opens the same connection (before it is released to the connection pool?), excutes an INSERT statement, and closes this connection. The audit log shows User 1, not User 2, executed this statement.
    Is this a known issue when using connection pooling with proxy authentication? I appreciate your help.
    Regards,
    Chris

    Hi Chris,
    I tried to reproduce your complaint, but was unable to. I didnt use auditting however, just a series of "select user from dual" with proxy authentication. You might want to see if you can put together a small complete testcase for this and open a sr with support.
    Cheers
    Greg

  • SRT Framework exception: The WSDL document is not compatible with proxy

    hello,
    I'd like to create a logical port to my web service but when I create this type of error:
    SRT Framework exception: The WSDL document is not compatible with proxy class "YAIRPORT_CO_AIRPORT_SOAP": "Unsupported Operation (s): getAirportInformationByISOCountryCode, getAirportInformationByAirportCode, getAirportInforma
    someone has an idea?
    thank you

    Hi,
    Most probably your class YAIRPORT_CO_AIRPORT_SOAP was't automatically generated by SAP from the .wsdl file. If so, then you have to generate it from this file and then create the logical port. For this purpose, go to se80, display the function group there you want to add the class, right-click it and choose Create -> Web Service. Then on the following screens choose Service Consumer, Local File and specify the .wsdl file for the web service you want to use. Finally specify a Package, Prefix and Transport Request, activate the changes and you're done. Now you can create the Logical Port.
    Hope this helps,
    Greg

  • Question about (HttpURLConnection)url.openConnection();

    Greetings Java Experts.
    I have a question about the following code snippet.
    As you can see below this snippet will establish a connection.
    Question how long will it allow for the connection to be established - for example if the web traffic is taking an unusually long period of time can I set it to a higher value ?
    connection = (HttpURLConnection)url.openConnection();
         HttpURLConnection.setFollowRedirects(true);
         connection.setInstanceFollowRedirects(true);
         connection.setUseCaches(false);
    stev

    forever, unless you set SO_TIMEOUT

  • Sending url not with UTF-8

    Hi,
    In internet explorer, when I try to download some files via a non english ( or non UTF-8? I am not really sure ) http link, I can unselect the "send url only with UTF-8" in perference of IE.
    Can I do the same thing in tiger and safari? is this the case?

    What problem are you having with your browser operations? Can you provide a url where this problem occurs?
    I can unselect the "send url only with UTF-8" in perference of IE.
    Where is this in the preferences exactly?

Maybe you are looking for

  • A/R Down Payment Full Applied - Open Item

    Forum, We have raised an A/R Down Payment Invoice against an order for 100% - we have then assigned an incoming payment to this A/R Invoice. The status of the A/R Down Payment invoice is 'Closed' however it still appear under the 'Open Item' list for

  • Connecting a Mac to a shared printer

    Hello, I was wondering if there was any way to connect my mbp to my network with a canon mp830 printer being shared on it? I have heard that a mac cannot connect to a canon printer over a network. Also I have a dlink dir-625 wireless n router with a

  • Contents of the MacBook Pro Box (13.3 Inch, Late 2011)

    Hi, I bought a new MacBook Pro more or less exactly two weeks ago, took the system out of the box, the power adaptor, extension cord and so on all present and correct. I know perfectly well how to use OSX and Macs in general so I didn't even thing to

  • Which jar file include class - weblogic.utils.UnsyncStringBuffer?

    When I compile my JSP file by using JDeveloper, but I got "Error: java.lang.NoClassDefFoundError: weblogic/utils/UnsyncStringBuffer". I don't know which jar file is including this class file, and where I can get that jar file? This is my JSP file hea

  • Updating ipad and stuck in iTunes

    was  uptaing my ipas and it got frozen all i see is the Itune icone and the arrow under cant go back to main menu or setting i turn it off and on still the sam i hoolked it to my computer so it will updat iTunes but it still wont do any thing????