URL exception: no protocol

I wrote a https-URL-Reader using JSDK 1.5 who includes the latest JSSE. First the https-URL-reader fetches a page from a server who uses url-rewriting for session-tracking. So far the first step is working well, I got the page content. Inside this page are hrefs pointing to follow-up-pages. These hrefs includes a url with a JSESSIONID and params who looks like this:
https://host.server.domain/path;JSESSIONID=id1...!id2..?name1=value&name2=value.
The prog gets a follow-up-href from the content extract the url and tried to fetch the related page. At this point everything went down the street ... with an URL-exception: no protocol! I guess its depending an the semi-colon inside the url!
I wondering getting a url with included JSESSIONID should be a daily task!
When I paste this URL into a browser (IE 6) it works!
So where is the mistake???
Any ideas and help are welcome.
Thanks a lot!
Detlev
Here are the related urls and the important code-parts:
          // The following string represents the Start-Page
          String requestedURL = "https://direkt.postbank.de/direktportalApp/index.jsp";
          /*The requestedURL is proceed with https-URL-Reader and creates a file which has the page
          content to the caller. It works fine!*/
          /* This next string shows the URL extract from a href which is given for
          a follow-up-page. This URL contains now the JSESSIONID and some params.*/
          String requestedURL = "https://direkt.postbank.de/direktportalApp/application;JSESSIONID_direktportalApp=CzJMF8h3LZzd7MnfsDDpFLKWp5y81s5FcGG9vkVnF6cyTKGnQvfv!824009080?origin=login.jsp&event=bea.portal.framework.internal.portlet.event&pageid=login&portletid=login&wfevent=button.info.weiter";
          /*With this requestedURL the https-URL-Reader is called again to fetch the follow-up-page.
          Immediately a malformedURLException is thrown and the game is over!*/
Code-Snippet https-URL-Reader (only the important lines):
     String requestURL(String requestedURL){
     try{     ......
          URL search = new URL(requestedURL);                    
          URLConnection httpscon = search.openConnection();
          File outputFile = new File(dir,file);          
          FileWriter out = new FileWriter(outputFile);
          BufferedReader in = new BufferedReader(new InputStreamReader(httpscon.getInputStream()));
          while ((inputLine = in.readLine()) != null){
                    buffer.append(inputLine+"\n");
                    out.write(buffer.toString());
                    out.flush();
                    buffer.delete(0, buffer.length()-1);
          in.close();
          return (file);
     catch (Exception e){ 
          System.out.println("Error: "+e);     }
p.s.
I apologize for my bad english

The prob is solved.

Similar Messages

  • URL object with https string throws malformed url exception: unknown protocol: https

    In WebLogic I am trying to connect to an HTTPS url by passing that url
    string into the contructor for URL object. This throws a Malformed URL
    Exception : unknown protocol: https.
    When i run this same block of code outside of weblogic (in a stand-alone
    app), it runs perfectly. (not exceptions when creating the URL object).
    why do i get this exception in weblogic?
    could weblogic be loading its own URL class rather than the java.net.URL
    class (which supports ssl)? if so how do i override that classloading?
    is there a weblogic security "feature" that prevents opening an ssl
    connection?
    thanks for any help
    mike
    [email protected]

    You need to modify your weblogic.policy file to allow you to change the
    the property java.protocol.handler.pkgs ... and any other properties
    that you may probably change using JSSE (for example:
    javax.net.ssl.trustStore for storing certificates of servers that you
    want to connect to from WLS )
    Regards,
    John Salvo
    Michael Harrison wrote:
    >
    thanks for the help dennis, but still get the "unknown protocol https".
    the URL object sees that the URLStreamHandler ==null and get the value for
    java.protocol.handler.pkgs (which should be
    com.sun.net.ssl.internal.www.protocol) then it tries to load that class. i
    believe that the GetPropertyAction("java.protocol.handler.pkgs","") is not
    returning com.sun.net.ssl.internal.www.protocol. therefore the class is not
    getting loaded
    i think that my classpath is set up properly for classpath and
    weblogic_classpath so i think that i me calling
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol"); is not effective.
    do you know anyway i can trouble shoot this.
    thanks
    mike
    Dennis O'Neill <[email protected]> wrote in message
    news:39d23c28$[email protected]..
    Https is an add-in so to speak. Try this before you create your url:
    System.setProperty ("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    // add the default security provider (again, in JSSE1.0.1)
    int iap = java.security.Security.addProvider(new
    com.sun.net.ssl.internal.ssl.Provider() );
    dennis

  • JRT: CreateUIXPage Exception: no protocol:

    Hi,
    I created a simple JHeadstart application, based upon the "Greedy Gourmet" case/tables. In Jdeveloper 9i I can do a UIX-preview of the page. But when I access it through the browser it gives an error in the console of the OC4J-server:
    CreateUIXPage Exception: no protocol: IngredientsGroupPage.uix
    java.net.MalformedURLException: no protocol: IngredientsGroupPage.uix
    followed by more java errors.
    I don't know where to look for the error, can some of you help me?
    Greetz,
    Guido

    Guido,
    In the JHeadstart 9i production version, we changed the way UIX pages are retrieved.
    We now specify a relative URL as argument for the CreateUIXPage process. A typical create page process will now look like this:
    <!-- Create select Department page process -->
    <process name="SelectDepartmentPage" class="oracle.jheadstart.process.CreateUIXPage" end="true">
    <!-- Name of uix file -->
    <argument type="String" value="/uix/SelectDepartmentPage.uix"/>
    </process>
    If you are using an older version where the uix file name is not specified as a relatrive URL, you should make sure that either the
    uix page is copied to the the web-inf\classes directory before you run your app, or you should include the web\uix directory as
    library path in the server.xml
    Can you check your page process definition in the Service xml file?
    Which JHeadstart version are you using, how did you obtain it?
    JHeadstart Team.

  • Block all URL except one or two in WRSV4400N

    Hi,
         I have a WRSV4400N router and I need to block all URL except one or two. Can I do it with or whitout TrendMicro ProtectLink??
    Thank you

    Hi Axondigital,
    Your english is very good.  I did say "check and see"  in my earlier post and not here is a solution.
    To answer your original question , the answer is NO.
    URL filtering is a limitation you will find in a product like the WRVS4400N, but you will not find that limitation in the new and more powerful SA520 which has an URL allowed and blocked list.
    My advice would be, evaluate trendmico protectlink if you wish and see what you think.  send a email to the following address to get a evaluation license;
    [email protected]
    But try a SA500,  if that customer  really needs a low cost, but capable router that requires URL allowed list.
    regards Dave

  • Invalid URL Exception while opening a file using external window in webdynp

    I am trying open an URL ythru external window on click of button in my webdynpro.
    This is the URl I am trying to open
    File://mww/Documents/Attachments/2008/10/56254/{FD803B0D-157F-47F9-A5A8-C687E1DC6B96}_break.JPG
    if I try to open from a from the browser it works fine but thru webdynpro it is throwing the error.
    mww is another system where the file is residing.
    But I am using the same techniue in other component where I am able to open file from an external window.
    File://mww/Documents/Attachments/2008/10/56254/some.jpg
    The only difference in  the URL is {FD803B0D-157F-47F9-A5A8-C687E1DC6B96}Since this URL is generated by another system I do not have any other aletrnative but I have live with this URL.
    can some body please give some idea how to fix this
    if I use java.net.URLEncoder.encode() then I am not getting any error , buit file is not opening in the browser( external window)
    below is the error stack I am getting.  
    com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=File://mww/Documents/Attachments/2008/10/56254/{FD803B0D-157F-47F9-A5A8-C687E1DC6B96}_break.JPG
    at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.checkURL(AbstractURLGenerator.java:699)
    at com.sap.tc.webdynpro.services.sal.url.core.URLGeneratorInternal.checkURL(URLGeneratorInternal.java:390)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createNonModalExternalWindow(ClientComponent.java:1037)
    at com.gis.dcww.findsrch.AttachmentView.onActionOpen_Attachement(AttachmentView.java:179)
    at com.gis.dcww.findsrch.wdp.InternalAttachmentView.wdInvokeEventHandler(InternalAttachmentView.java:203)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    thanks
    PK

    Hi Armin, Josue
    Thanks for the reply
    Please note I am able to open an external window( browser ) thru my code with "File" protocol.
    I have no issue opening an external window or using File protocol.
    I am able to open an image/doc with a normal URL as follows
    File://mww/documents/image.jpg
    or
    File://mww/document/temp.csv
    But My URL has some system( thru Other applications ) generated charaters in it , I need get the path from DB( which I have done ) and pass this URL to the ExternalNonModalWindow as paramter.
    MY code is opening successfully the external  window for any URL .
    but for URL which has these character { }  is throwing the invalid URL error 
    for the below URL, I am getting the error
    File://mww/Documents/Attachments/2008/10/56254/{FD803B0D-157F-47F9-A5A8-C687E1DC6B96}_break.JPG
    thanks
    PK
    because of the flower bracket it is throwing the error.
    thansk
    PK

  • Can't access ABS URL and autodiscover.sipdomain URLs externally - SSL protocol error

    Problems:
    - Can't sync Address Book for external or internal clients (I can do searches however just fine so I'm not sure what protocol is used to perform those, if not with address book)
    - Can't connect  to Lync mobile.
    What I discovered was common with these issues is when I go to try and manually enter in the browser either:
    https://lyncdiscover.sipdomain.com/ (to test mobile autodiscover connectivity)
    or
    https://"extwebservicesURL"/abs  (to test address book)
    I get same response from google: Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
    I also ran Test-CsMcxP2PIM and got this:
    TargetUri  : https://pitlyncpool01.pit.local:443/CertProv/CertProvisioningService.svc
    TargetFqdn : pitlyncpool01.pit.local
    Result     : Failure
    Latency    : 00:00:00
    Error      : ERROR - No response received for Web-Ticket service.
                 Inner Exception:The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be
                 sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.o
                 rg/TR/xhtml1/DTD/xhtml1-strict.dtd">
                 <html xmlns="http://www.w3.org/1999/xhtml">
                 <head>
                 <title>IIS 7.5 Detailed Error - 500.0 - Internal Server Error</title>
                 <style type="text/css">
    And similar result when I test with "Test-CsAddressBookService"
    TargetUri  : https://pitlyncpool01.pit.local:443/groupexpansion/service.svc
    TargetFqdn : pitlyncpool01.pit.local
    Result     : Failure
    Latency    : 00:00:00
    Error      : ERROR - No response received for Web-Ticket service.
                 Inner Exception:The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be
                 sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.o
                 rg/TR/xhtml1/DTD/xhtml1-strict.dtd">
                 <html xmlns="http://www.w3.org/1999/xhtml">
                 <head>
                 <title>IIS 7.5 Detailed Error - 500.0 - Internal Server Error</title>
    The only search on google that I found on this is to uninstall IIS and Lync web components and reinstall. Which I tried, but Lync web components wouldn't install back (error), so I restored server back from the snapshot and back to square one..
    Also tried https://www.testocsconnectivity.com to run test on mobile autodiscovery and got this:
    ExRCA is attempting to obtain the SSL certificate from remote server lyncdiscover.sipdomain.com on port 443.
    ExRCA wasn't able to obtain the remote SSL certificate.
    Additional Details
    The certificate couldn't be validated because SSL negotiation wasn't successful. This could have occurred as a result of a network error or because of a problem with the certificate installation.
    Is there anything else I can look into to find out why am I getting these errors? Maybe to try OCS logging utility? But I don't know which components to checkmark for logging..
    Thank you for any help and Happy New Year!
    Sergey

    Hi,
    It seems the web service url is not valid or the web service not function. Is it Lync Standard Edition or Enterprise? Did the mobility issue also happen for external? Have you assigned a public certificate for reverse proxy correctly?
    1. Please go to topology builder and check which FQDN you did put in for internal and external web service. For Lync Server Standard Edition, the internal web base URL should be same with your front end server FQDN.
     If the internal domain name is different with external domain name, for example, your internal domain is contoso.net, but your external domain name is contoso.com. The external base URL should use the contoso.com domain name.
    2. Please make sure the certificate has been assigned on front end server successfully. Please go to Lync Server deployment wizard to check it.
    3. In IIS, please make sure Lync Server Internal Web Site is configured on ports 80 and 443 and Lync Server External Web is configured on ports 8080 and 4443.
    More details about configuring reverse proxy for your reference:
    http://social.technet.microsoft.com/wiki/contents/articles/9807.configuring-forefront-tmg-2010-as-reverse-proxy-for-lync-server-2010.aspx
    If the issue persists, please try to enable logging tool and reproduce the issue to get report for further troubleshooting.
    http://blog.schertz.name/2011/06/using-the-lync-logging-tool/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information
    found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Kent Huang
    TechNet Community Support

  • Correct JDBC url using IPC protocol

    What is correct url to connect to db with orcl SID using IPC protocol? Couldn't find this in documentation....
    jdbc:oracle:oci:@[WHAT GOES HERE?]

    If you are having problems with TCP then you should find and fix those problems. Many thousands of others use TCP with, and without, Glassfish and it works just fine for them. That indicates you have an issue with one, or more of those four things I ask you to provide but chose not to.
    Fix would be to upgrade DB to 12.1.0.2 or downgrade to 11, where I haven't got any problems with connection pool.
    SHOW US (don't just tell us):
    1. WHAT you are doing - that means posting the code and ALL relevant info about TNSNAMES and other properties/settings being used such as connection pool settings.
    2. HOW you are doing it - that means showing a copy of the console that shows the LAUNCH and EXECUTION of the code
    3. WHAT results you get - that means showing a copy of the console showing any results or exceptions you are getting
    4. WHAT results you expected to get
    You should also do basic troublshooting:
    1. confirm that you can connect to the DB without using JDBC
    2. confirm that you can connect and work properly WITHOUT using a connection pool
    That other link you provided shows pool settings that are pretty much guaranteed to cause the pool to close connections. An idle timeout of only 60 seconds greatly increases the possibility that a connection that is checked out of the pool and still in use may get closed if it isn't returned to the pool properly.
    This link describes the attirbutes  and their defaults:
    https://docs.oracle.com/cd/E19316-01/820-4338/abhcy/index.html
    You are using SEVERAL non-default settings - and you are having a problem. That suggests you should go back to the defaults and test again.
    We can NOT see your computer screen or SEE what you are doing. We can NOT debug code that we can't see.
    Are you a bot? Or are you using some replay templates? Have you read my first post? Do I ask for help in debug any code? What code you are taking about? I ask for proper url using OCI driver over IPC protocol.
    This is my tnsnames.ora
    ORCL_IPC =
      (DESCRIPTION =
        (ENABLE = BROKEN)
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(Key = ORCL))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ORCL)
    and jdbc config
    <jdbc-connection-pool validation-table-name="DUAL" datasource-classname="oracle.jdbc.pool.OracleDataSource" max-pool-size="50" res-type="javax.sql.DataSource" steady-pool-size="10" statement-cache-size="100" name="c2onlinePool" statement-timeout-in-seconds="30" is-connection-validation-required="true" idle-timeout-in-seconds="7200" max-wait-time-in-millis="10000" validate-atmost-once-period-in-seconds="60">
          <property name="driverClass" value="oracle.jdbc.OracleDriver"></property>
          <property name="user" value="***"></property>
          <property name="url" value="jdbc:oracle:thin:@127.0.0.1:1521/orcl"></property>
          <property name="password" value="***"></property>
          <property name="portNumber" value="1521"></property>
          <property name="databaseName" value="orcl"></property>
          <property name="serverName" value="127.0.0.1"></property>
    </jdbc-connection-pool>
    which is working (I'm testing with ping from glassfish web console), I just want to switch to IPC protocol.
    I tried with
    jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY = LISTENER))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ORCL)))
    but every time JVM crashes with stackoverflow, as soon as I click on ping in console.
    Maybe it's just another driver bug. I have similar situation with thin driver - version 12.1.0.1 didn't work, but version 12.1.0.2 worked ok.

  • Pinterest still blocked, even after adding to custom URL exception

    Hi,
    In WSA I have a custom URL list for exception which are allowed from Proxy.
    I have added pinterest.com in the exceptions list. For some users website work perfectly fine via proxy, but the users which are using the global policy cannot open this website. In global policy that custom URL is allowed, even policy trace with that AD users shows that URL is allowed via custom URL list but user gets proxy error denied?
    Is there something I am missing in configuration?
    Regards,
    Sakun Sharma

    Hi Sakun,
    the best way to troubleshoot this kind of issue is to grep/tail logs from WSA, policy trace is not always accurate. So :
    - connect to your WSA via ssh and type the 'grep' command;
    - at the following prompt select 'accesslogs'
    - at the prompt Enter the regular expression to grep insert the ip address of a user that cannot display the website
    - at the prompt Do you want this search to be case insensitive? [Y]> press enter
    - at the prompt Do you want to search for non-matching lines? [N]> press enter
    - at the prompt Do you want to tail the logs? [N]> type 'y' and press enter
    - at the prompt Do you want to paginate the output? [N]> press enter
    then from the client with ip address you inserted before try to connect to pinterest, on WSA you will see the logs, to stop log collection press CTRL+C . Post here the output of the logs.
    Regards,

  • Connection Refused Exception (imap protocol configuration in james server)

    hai if i use pop3 protocol i can read the message from the james server
    but if i use imap protocol i'm getting the exception connection refused.
    what shall i do?

    Sounds like a question to ask in the Apache James forum.
    The server doesn't seem to be set up to accept IMAP connections.

  • DRM-61027: URL Exception net.tcp://localhost:5274/Oracle/Drm/Engine/Session

    Hi All,
    I have installed DRM with hyperion foundation services aling with LDAP. but when trying to invoke the below webservice it is giving below exception....
    http://localhost:8001/oracle-epm-drm-webservices/DrmService?wsdl
    DRM-61027: The following unexpected error occurred communicating with URL 'net.tcp://localhost:5274/Oracle/Drm/Engine/SessionMgrInternal'
    Can anybody has configured DRM with weblogic. if possible could just reply back to this thread please.
    As it is very urgent your help will be highly appreciated.
    Regards,
    Ch

    Murali,
    I ran the .exe and
    1) Updated the .exe to point the appropriate application
    2) Enter "2" and enter the administrator user that will run for the the windows account I am currently logged in as
    3) Enter User ID - admin
    4) Enter Password - <the password>
    5) Re-entered the Password
    6) Receive confirmation that the user ID and password has been assigned to the Windows account I am logged in as.
    I also updated my .cfg file and left the User ID and Password blank like below:
    UserName=
    Password=
    However, when I manually run the .bat file under the same Windows account, I receive the error 200 which based on the user guide equates to "Error occurred during initialization of the Batch Client".
    What am I missing?
    Thanks again for your help.

  • URL Exception

    Hi,
    When i am trying to read a URL i am getting  follwoing exception.
    "ERRORjava.net.ProtocolException: Server redirected too many  times (20)"
    Code :
    URL resutlsURL = new URL(file);
    BufferedReader in = new BufferedReader(     new InputStreamReader(resutlsURL.openStream()));
    BufferedWriter out=new BufferedWriter(new FileWriter("c:/folder.xml"));
    String inputLine;
    while ((inputLine = in.readLine()) != null)
    out.write(inputLine );
    in.close();
    out.close();
    Where file  http://dptest:3080/WebAS/AUTOTEST/630_SP_TEST_2K/index.xml
    Please let me know the solution.
    Thanks & Regards
    Anilkumar

    Hi Anilkumar,
    401 is "Unauthorized". I don't know how the request is handled at your server, but there must be some authorization action. The "normal" behaviour for a 401 response is that the client may repeat the request with a suitable Authorization header field. Maybe (I'm not sure) Java in this case in fact tries to start the request again (but in fact without authorization). Maybe (again) this is counted internally as a redirect. If all this is the case, it would be obvious that this happens "infinitely" - here up to 20 times, than Java says "enough is enough".
    So the next try should be:
    a) Disable the Authorization action at server side.
    OR
    b) Add an Authorization header field (this would mean to open a regular HttpURLConnection as shown in the testing example).
    Hope it helps
    Detlev

  • Malformed URL Exception

    hi,
    SAOP -> XI -> File is my scenario
    i got an error because i have entered a wrong url in integration engine configuration in (sxmb_adm) while configuring is_url.
    so got an error in my scenario stating...
    Transmitting the message to endpoint "http:///<hostname>:<port>/sap/xi/engine?type=entry" using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.MalformedURLException: For input string: "<hostname>:<port>".
    but the problem is even after rectifying the mistake am getting the same error constantly... how to solve this issue?
    please tell your suggestion....
    Krish
    Edited by: Krish Krish on Sep 2, 2008 12:17 PM
    Edited by: Krish Krish on Sep 2, 2008 12:17 PM

    Efectively this URL is wrong:
    Delete the secong':'
    Wrong: http://:sapsrv02:50200/sap/xi/engine?type=entry
    Right: http://sapsrv02:50200/sap/xi/engine?type=entry
    You have to change it in SLD --> Business System --> Select you PI Business System --> Integration Section --> Change Pipe Line Url.
    Save the changes.
    Maybe you should restart your system.
    Regards,
    Carlos

  • Malformed URL Exception causing discussion channels to fail.

    Hello,
    I created several new discussion channels in role level DisplayProfileXML files using DiscussionsProvider. The channels are not displaying proper content but are displaying error messages: ERROR: Content is not available
    This function worked previously using the defalt discussions channel that was already created with the install of the sample portal
    I have tried restarting the server, doing the redeploy command.
    Here is the error text. Any help would be appreciated!
    11/17/2005 12:56:49:836 AM EST: Thread[Thread-98,5,main]
    ERROR: JspServletEnvironment.getRealPath():
    java.net.MalformedURLException: JspServletEnvironment.getResource(): not found for channelName=LDTLaunchDiscussionChannel, path=discussionContent.jsp
    at com.sun.portal.providers.jsp.JspServletEnvironment.getResource(JspServletEnvironment.java:206)
    at com.sun.portal.providers.jsp.JspServletEnvironment.getRealPath(JspServletEnvironment.java:133)
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:706)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:56:49:886 AM EST: Thread[Thread-98,5,main]
    ERROR: ProviderCaller.run(): exception thrown from LDTLaunchDiscussionChannel
    com.sun.portal.providers.ProviderException: JSPProvider.getJspWrapper(): jsp=discussionContent.jsp, com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:763)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:710)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:57:26:769 AM EST: Thread[Thread-103,5,main]
    ERROR: JspServletEnvironment.getRealPath():
    java.net.MalformedURLException: JspServletEnvironment.getResource(): not found for channelName=MLTDiscussionChannel, path=discussionContent.jsp
    at com.sun.portal.providers.jsp.JspServletEnvironment.getResource(JspServletEnvironment.java:206)
    at com.sun.portal.providers.jsp.JspServletEnvironment.getRealPath(JspServletEnvironment.java:133)
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:706)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:57:26:769 AM EST: Thread[Thread-103,5,main]
    ERROR: ProviderCaller.run(): exception thrown from MLTDiscussionChannel
    com.sun.portal.providers.ProviderException: JSPProvider.getJspWrapper(): jsp=discussionContent.jsp, com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:763)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:710)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)

    Found it - stepping into the remoteObject.execute() call in debug mode, I eventually got to the class that throws the error (com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable).  In the catch block of the operation invoke call, the actual error object is visible in the NWDS variables list - it was an XmlMarshallException:
    "com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [LOVLanguageMode] of class [com.bp.models.siebel.servicerequest.ServiceRequestQueryPage_Input] must exist and can not be null. This is required by schema description."
    So I hadn't populated a mandatory field in the xml!
    Russell.

  • Invalid url exception when calling webservice

    Hi,
    Im trying to create a LinkToURL component with a reference to a webservice which returns a document. When running the app it crashes with the message that the URL is invalid but when i input it into a browser, it works fine and opens the document. The url looks like:
    http://nlvdhb300:10013/contract?D:\EAI\HR\Contracts\00300901-20061002113009.doc
    Can anyone tell me why this doesnt work?
    Much thanks..
    Hugo Hendriks

    Found the solution....The backslashes where the problem...replaced them with forward ones and it works now.
    greetz
    Hugo

  • Firefox opens all URLs except Google. It throws up Error 404.

    "Google 404. That's an error. The requested URL/cgi-bin/redirect.ha was not found on this server. That's all we know."
    I can open all other sites, Facebook, CNN, my bank, credit cards, etc. But Google will not load. I get the above message every time.

    I forgot to mention that I am using a Mac and that Google will open in Safari, but not in Firefox.

Maybe you are looking for

  • No Business Systems refresh in Integration Directory

    Hello, I'm working with an installation of XI NW 7.0 SR3 ABAP+JAVA on Windows MSSQLServer. I've created many outbound and inbound interfaces and imported idocs too in a specific software component. I've imported the busines system linked to the softw

  • Work Flow HR

    Hi Every one, Re: Work FLow Termination Action With respective HR. I am getting an Termination Action Error In Work Flow so can any guide what procesdure should be followed to analyize the error, where it has occured and what has to be done., Can any

  • Storage Location Determination / Phantom Part

    Experts, for production orders system determines the SLoc out of the work center for components of phantom assy instead of using the Sloc given by the default supply area in MM (MRP2). What needs to be changed that system determines SLoc given by def

  • VK11/12- Warning pop up

    Hii All There is a requiement in condition record where we want to have a warning pop up when we enter the valid from date i.e. whenever the valid from date is in past the system should give a pop up message. Can anyone let me know the settings where

  • Column name update

    Hai all, Can anubody explain me how to Change the Column names . Regards, Srinath