How to resolve Response status: 500 in URL service

I had created a web provider integrated with my external application (which called OA)using JPDK URL service ,and it has two portlets .I put this two portlet to my homepage,then when OA works well ,the portlet works well too .But when OA down or has some errors to login ,the whole homepage can not be displayed.
I found the errors in jserv.log:
gzmoa/Response status: 500 : oracle.portal.provider.v1.AccessControlException: Failed to read contents from : http://172.20.1.7:8080/ch/demo/worklist_zancun_portal.jsp
gzmoa/checkLogin:IOException encountered
java.net.ConnectException: Connection refused
And I set my web provider's timeout to 300 seconds ,but it seems does not work ,The hompage will not be displayed anymore after 300 second.
How can I display my homepage with that portlets even the OA system does not work well ?
Thanks

If the issue is with the timing out of JSP, you can try to increase the provider time-out value through provider's registration screen. But if the jsp is down because of some other reason, the portlet cannot contact it and it results in the internal server error.
-AMJAD.

Similar Messages

  • Segmentation Error : Server returned HTTP response code: 500 for URL

    Hi,
    when we do customer segmentation in Applet Java Builder, we create a target group using 2 or more criterion, then it prompts us an error "Communication Error" - Server returned HTTP response code: 500 for URL: http//xxxxxxxxxxx/bc/bsp/sap/CRM_MKTTG_SEGAP/communication.do
    we're in CRM 7.0 SP 6.
    What we have done
    - activated the service CRM_MKTTG_SEGAP
    - implement sap note 1481289, 1359890, 1161753
    any info is really appreciated.
    Thanks
    JD

    HI ,
    Communication error occurs because of two active versions of segment builder jar files are appearing , deletion of older version resolves this issue .
    Go to SE80 u2013 Select the BSP Application - CRM_MKTTG_SEGAP and check segmentbuilder.jar Segment Builder Applet under MIME folder and check the size and delete the older version .
    Regards,
    Satish Bondu

  • Java.io.IOException: Server returned HTTP response code: 500 for URL:

    Hi,
    I am using java.net.URLConnection to invoke servlet which uses oracle.xml.sql.dml.OracleXMLSave for dml operations.
    I am facing below exception.
    09/05/26 17:47:50 java.io.IOException: Server returned HTTP response code: 500 for URL: http://xxx.com/servlets/com.xxx.qu.XMLDocPostOracleInsert
    09/05/26 17:47:50 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpConnection.java:)
    09/05/26 17:47:50 at com.xxx.util.http.HTTPRequester.makePostRequest(HTTPRequester.java:)
    09/05/26 17:47:50 at com.xxx.qu.PostReceiver.doPost(PostReceiver.java:145)
    09/05/26 17:47:50 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    09/05/26 17:47:50 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    09/05/26 17:47:50 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
    09/05/26 17:47:50 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    09/05/26 17:47:50 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    09/05/26 17:47:50 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    09/05/26 17:47:50 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    09/05/26 17:47:50 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    09/05/26 17:47:50 at java.lang.Thread.run(Thread.java:534)
    The oraclexmlsave operations are with in try-catch block as shown below, but its not getting caught there(Donnno Whyy????).Instead its giving
    exception at HttpURLConnection.getInputStream
    try{
    System.out.println("entered try :1");
    String Query="SELECT * from global_name";
    Statement CntStmt=con.createStatement();
    ResultSet rsEmailAlertQuery=CntStmt.executeQuery(Query);
    while(rsEmailAlertQuery.next()){
    System.out.println(rsEmailAlertQuery.getString(1));
    OracleXMLSave oxs = new OracleXMLSave(con,insertObject);
    System.out.println("MI B: ");
    oxs.setRowTag("row");
    oxs.setIgnoreCase(true);
    int rowsInserted = oxs.insertXML(xd);
    System.out.println("MI C: ");
    out.println("<success>TRUE</success>");
    con.commit();
    System.out.println("MI D: ");
    catch(OracleXMLSQLException e){
    System.out.println("OracleXMLSQLException");
    e.printStackTrace();
    catch(SQLException e){
    System.out.println("SQLException");
    e.printStackTrace();
    catch(Exception e){
    System.out.println("Exception");
    e.printStackTrace();
    Normal jdbc queries(rsEmailAlertQuery) are working properly.The problem is only with OracleXMLSave.
    Any help would be greatfull.
    Edited by: suryaraj on 29-May-2009 06:45

    Hi,
    May be you can get the description of the error on the server log of the server running on ip:url
    -Priyanka

  • IOEXCEPTION:sever returned response code 500:for url:-----

    hello sir we are developing a project for a transportation company in java with tomcat server 4.1 and the backend used is the sql server 7.0.In this software we are getting a problem while entering a particular date such as 24/04/2003 for storing it in the database for further processing. While entering other dates for processing we are not getting any problem. The error what we are getting is
    ioexception:http response code 500 for specified url.
    sun.httpconnectionurl.this project is mainly based on the accouting years we are storing for example an accounting year may be in this form like 01/04/2003 to 31/03/2004. so please find a solution as early as possible for me.

    Generally, if you're getting a 500 error on a JSP/Servlet, it's because an Exception is being thrown and not caught. If you are using a JSP, you can make a generic errorPage to handle all errors. For a quick fix for debugging purposes, though, just put all your code in a try {} block, and catch all Exceptions and print out the error message.

  • How to resolve HTTPS status code 404 using WinHTTP?

    I am getting status code 404 for the below code snippet.
    Note: please add `<HOSTNAME>` when you are trying to figure out the issue.
    HINTERNET m_hConnect;
    HINTERNET m_hSession;
    HINTERNET m_hRequest;
    m_hSession = WinHttpOpen(userAgent,
    WINHTTP_ACCESS_TYPE_NO_PROXY,
    WINHTTP_NO_PROXY_NAME,
    WINHTTP_NO_PROXY_BYPASS, 0);
    if (!m_hSession) {
    printf("WinHttpOpen:Error %d has occurred.",GetLastError());
    return 0;
    // connect to the IPP server on the given port
    m_hConnect = WinHttpConnect( m_hSession, <HOSTNAME>, 443, 0);
    if (!m_hConnect) {
    printf("WinHttpConnect: Error %d has occurred.",GetLastError());
    return 0;
    // Create an HTTP Request handle.
    m_hRequest = WinHttpOpenRequest(m_hConnect, L"POST" ,L"/ipp",
    L"HTTP/1.1", WINHTTP_NO_REFERER,
    WINHTTP_DEFAULT_ACCEPT_TYPES,WINHTTP_FLAG_SECURE);
    if (!m_hRequest) {
    printf("WinHttpOpenRequest:Error %d has occurred.",GetLastError());
    return 0;
    DWORD secureflags = SECURITY_FLAG_IGNORE_UNKNOWN_CA | SECURITY_FLAG_IGNORE_CERT_CN_INVALID |SECURITY_FLAG_IGNORE_CERT_WRONG_USAGE | SECURITY_FLAG_IGNORE_CERT_DATE_INVALID;
    BOOL bResult= WinHttpSetOption(m_hRequest, WINHTTP_OPTION_SECURITY_FLAGS, (LPVOID)&secureflags, sizeof(secureflags));
    if (!bResult) {
    printf("WinHttpSetOption:Error %d has occurred.",GetLastError());
    return 0;
    bResult = WinHttpSendRequest(m_hRequest, WINHTTP_NO_ADDITIONAL_HEADERS,0,WINHTTP_NO_REQUEST_DATA,0,0,0);
    if (!bResult) {
    printf("WinHttpSendRequest:Error %d has occurred.",GetLastError());
    return 0;
    if( !WinHttpReceiveResponse( m_hRequest, NULL ) )
    if( GetLastError( ) == ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED )
    HCERTSTORE hMyStore = 0;
    PCCERT_CONTEXT pCertContext = 0;
    WCHAR szCertName[256]={0};
    //MY is the store the certificate is in.
    hMyStore = CertOpenSystemStore( 0, TEXT("MY") );
    if( hMyStore )
    pCertContext = CertFindCertificateInStore( hMyStore,
    X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
    0,
    CERT_FIND_SUBJECT_STR,
    (LPVOID) szCertName, //Subject string in the certificate.
    NULL );
    if( pCertContext )
    WinHttpSetOption( m_hRequest,
    WINHTTP_OPTION_CLIENT_CERT_CONTEXT,
    (LPVOID) pCertContext,
    sizeof(CERT_CONTEXT) );
    CertFreeCertificateContext( pCertContext );
    CertCloseStore( hMyStore, 0 );
    // NOTE: Application should now resend the request.
    bResult = WinHttpSendRequest(m_hRequest, WINHTTP_NO_ADDITIONAL_HEADERS,0,WINHTTP_NO_REQUEST_DATA,0,0,0);
    if (!bResult) {
    printf("WinHttpSendRequest:Error %d has occurred.",GetLastError());
    return 0;
    DWORD dwStatusCode = 0;
    DWORD dwSize = sizeof(DWORD);
    BOOL bResults = true;
    bResults = WinHttpQueryHeaders( m_hRequest, WINHTTP_QUERY_STATUS_CODE | WINHTTP_QUERY_FLAG_NUMBER, NULL, &dwStatusCode, &dwSize, NULL );
    Result: I am getting status code of 404. I am not able to figure out why it is happening.
    FYI, Using `WinINet`,  I have followed the same procedure, I am getting status code of 200, which is success. But my requirement is to use only `WinHttp`.
    Could any one please help me out to solve this issue. This is very urgent for me.
    SivaV

    Dear Henri,
    Thanks for your reply, it was really very helpful.
    I debugged
    HTTP session with Fiddler,
    I am getting certificate error.
    When I say 'Yes' in Fiddler, I am getting 200 success.
    Could you please help me out how to
    "Ignore certificate errors" using WinHTTP
    API's.
    Thanks in Advance.
    Best Regards,
    Siva
    SivaV

  • How to read the status of Installation and service order for a BP

    Hi Experts,
    1. I have a business partner and i would like to know  the staus of the installation(Disconnected or connected etc.,)  existed for this business partner. For this Please provide me the tables which i can use to get the above information.
    2. I have a business partner and i would like to know the status of the service orders(open, completed etc.,) existed for this business partner. For this please provide me the tables which i can use.
    Contributions will be highly appriciated. Thanks
    Regards,
    Lakshmana.P

    Hi,
    I propose to check this thread
    List of ISU Tables
    Best regards
    Vlado

  • How to resolve resource exception in a web-service

    Hi
       I have created a web-service which is using KM .It is giving resource exception.
       What application references should be added ?I have already included security-api ,   
       com.sap.km.trex.client and com.sap.km.application.
       Thanks in advance.

    Hi Shaily,
    maybe you forgot to add the cluster.jar to your Web Service project.
    Here you will find a good tutorial for creating web services based on portal applications:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca4ce590-0201-0010-0ab8-a15f313012d8
    Bye Steve

  • Windows Azure Pack - Server returned HTTP response code: 500 error while accessing the public tenant API

    Hi,
    We are facing the following error while trying to access the given Windows Azure Pack Public tenant API to query the virtual machines list along with network adaper details - 
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10000&$skip=0
    The response is proper when we access the following URL - 
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines
    Only on adding the $expand=VirtualNetworkAdapters, url parameter we are getting the above error.
    Where can we check for the error logs on the Azure Pack server ? We checked for the logs using Windows Event Viewer but did not find any for the public tenant API.
    What should be the cause for such an error and how can we fix this to get the proper data?
    Thanks in advance.

    Yes, we tried this, $top=10&$skip=0 works for the following url
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$top=10&$skip=0
    It is only when we add $expand=VirtualNetworkAdapters,
    the server returns the mentioned error response - 
    URL for which the server returns the 500 error -
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10&$skip=0
    Can
    you point to the error logs for Windows Azure Pack and SPF ?

  • HTTP Status 500 Exception

    Were other institutions getting this HTTP Status 500 Exception earlier this week? We were getting the exception intermittently, before iTunes U launched, and sometimes while navigating around within iTunes U.
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: ActionBean execution threw an exception.
    edu.udayton.elearn.hbm.AbstractTransactionFilter.doFilter(AbstractTransactionFi lter.java:58)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: 96)
    root cause
    net.sourceforge.stripes.exception.StripesServletException: ActionBean execution threw an exception.
    net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.j ava:179)
    net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.ja va:61)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:18 1)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
    edu.udayton.elearn.hbm.AbstractTransactionFilter.doFilter(AbstractTransactionFi lter.java:26)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: 96)
    root cause
    java.lang.AssertionError: ITunesU.invokeAction(): I/O Exception java.io.IOException: Server returned HTTP response code: 500 for URL: https://deimos.apple.com/WebObjects/Core.woa/Browse/udayton.edu
    edu.udayton.learn.stripes.actionbeans.ITunesUd.invokeAction(ITunesUd.java:494)
    edu.udayton.learn.stripes.actionbeans.ITunesUd.invokeItunesU(ITunesUd.java:141)
    edu.udayton.learn.stripes.actionbeans.ITunesUd.launchItunes(ITunesUd.java:117)
    sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelpe r.java:410)
    net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.ja va:157)
    net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(Befor eAfterMethodInterceptor.java:107)
    net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.ja va:154)
    net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java: 73)
    net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(Dispatch erHelper.java:408)
    net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(Dispatc herServlet.java:241)
    net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.j ava:154)
    net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.ja va:61)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:18 1)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
    edu.udayton.elearn.hbm.AbstractTransactionFilter.doFilter(AbstractTransactionFi lter.java:26)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: 96)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Apache Tomcat/5.5.20

    It means that you have a syntax error in your JSP and the server can not compile the file into a servlet.

  • Server returned HTTP response code: 500

    Hi,
    First time in here, so please be patient...
    This is the error message I get on the Java Console.
    I suspect that the problem is related to the DB. (MYSQL)
    Can someone elaborate more on this error message? It is the first time I encounter such an error.
    Any help will be appreciated.
    2008-06-11 11:55:21,312  Chart - createLowerChart(int) - end
    2008-06-11 11:55:21,312  Chart - createLowerCharts() - end
    2008-06-11 11:55:21,328  Chart - populateToolBar(JToolBar) - start
    2008-06-11 11:55:21,359  AxisZoomHistory - addHistoryListener(HistoryListener) - start
    2008-06-11 11:55:21,359  AxisZoomHistory - addHistoryListener(HistoryListener) - end
    2008-06-11 11:55:21,359  BackwardAction - computeEnabled() - start
    2008-06-11 11:55:21,359  BackwardAction - computeEnabled() - end
    2008-06-11 11:55:21,375  AxisZoomHistory - addHistoryListener(HistoryListener) - start
    2008-06-11 11:55:21,375  AxisZoomHistory - addHistoryListener(HistoryListener) - end
    2008-06-11 11:55:21,437  Chart - populateToolBar(JToolBar) - end
    2008-06-11 11:55:21,609  Chart - installDefaultInteractors() - start
    2008-06-11 11:55:21,609  Chart - installDefaultInteractors() - end
    2008-06-11 11:55:21,609  Chart - loadPatient(JFrame) - start
    2008-06-11 11:55:21,625  Chart - startLoading() - start
    2008-06-11 11:55:21,625  Chart - startLoading() - end
    network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with proxy=DIRECT
    start : calling patient servlet 16
    end : called patient servlet 16
    network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with cookie "__utma=212142292.1094118687.1212604421.1213197694.1213199701.38; __utmz=212142292.1212604421.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=212142292; appname=e4095ce3ceadc7b3d8900bd7ba07113c; __utmc=212142292"
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://xxx.xxx.xxx.xxx/patientfile/PatientFile
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at utility.ServletConnection.GetPatientFile(ServletConnection.java:128)
         at graphModule.Chart.loadPatient(Chart.java:1849)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
         at java.util.Vector.get(Unknown Source)
         at graphModule.Chart.loadPatient(Chart.java:1856)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
         at java.util.Vector.get(Unknown Source)
         at graphModule.Chart.loadPatient(Chart.java:1856)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    ...

    Why do you think this an appropriate forum to discuss a PHP and/or Apache configuration error?

  • Server returned HTTP response code: 500.. i need help

    i have this applet that communicates with a servlet.. when the applet connects to the servlet, i get the Server returned HTTP response code: 500 error.. when i am testing in my own pc, everything is fine.. when i tried deploying it in a server, the error occurs.. i do not have any idea what is wrong.. please help

    sir, what do you mean by trace?
    here is what i got from the java console..
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://mental_boi.s46.eatj.com/myServlet/loadMap?action=load&fileName=http://mental_boi.s46.eatj.com/CityNavigator/mapSpain.svg
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at edu.citynavigator.map.editor.MapEditor.loadMap(MapEditor.java:685)
         at edu.citynavigator.map.editor.MapEditor.init(MapEditor.java:130)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at java.io.StringReader.<init>(Unknown Source)
         at edu.citynavigator.map.editor.MapEditor.stringToSVG(MapEditor.java:703)
         at edu.citynavigator.map.editor.MapEditor.init(MapEditor.java:131)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    and does the applet have to be signed?
    Message was edited by:
    hardcoder

  • Error:unknown error has occured;server returned http response code :500

    Hi,
       I deployed one custom action block on 12.0 server.
       It creates a pdf doc and saves it under c:\sample on MII server.
       But when I run the action block in  a trax, an error was logged: unknown error has occurred; server returned http response code :500 <server URL>
    Need immediate help on this.
    Thanks

    Does the failure occur within the action, and if so can you identify where? It is always a good idea to put some logging at the debug level in your actions to help identify exactly where a failure is occuring.

  • Java.io.IOException: Server returned HTTP response code: 500

    Hi,
    I am connecting to a servlet from an applet to send and receive data using the following code.
    try
    URL servletURL = new URL("http://www.progressivecoding.com/servlet/gatesqlang");
                   URLConnection servletConnection = null;
                   URLConnection servletConnection = servletURL.openConnection();
                   servletConnection.setDoOutput(true);
                   servletConnection.setUseCaches(false);
                   PrintStream out = new PrintStream(servletConnection.getOutputStream());
                   out.println("hhd8836gh828dhhskjdhn38847gosf747");
                   out.close();
                   InputStream in = servletConnection.getInputStream();
                   StringBuffer response = new StringBuffer();
                   int chr;
                   while ((chr=in.read())!=-1)
                        response.append((char) chr);
                   in.close();
                   return response.toString();
              catch (IOException e)
              e.printStackTrace();
              tfTxtFile.setText(e.toString());
              return "An error occurred: " + e.toString();
    Everything was working well and fine. All of a sudden without any change of code. It began to return this error to applet
    An error occurred: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.progressivecoding.com/servlet/gatesqlang
    But I am able to access the same URL from a browser.
    Someone please tell me what could be the problem

    hi, that error got solved, the SessID i was receiving in that code had some leading or trailing white spaces. so SessID = SessID.trim() did the job.
    But i have a question. This program workd fine when i compile and run from my local system. But when i port this on to the oracle server (JAVA_TOP) and access this from a JSP, then the program performs very un-reliably.
    The first data transfer works fine, i get the SessID, when i pass that SessID along with the DTSSessionID to the server, the server says that i doesn't recognise my SessID, and throws a client.Authentication Error.
    So there goes the parsing out of the window for the data in the second iteration.

  • Response Status Code

    Hi,
    How to get Response status code of the request. In response stream we are getting Statuscode and Status Message along with many data. But I want only status message and code. How to get this.
    Thanks

    Its working.....
    ServiceResponse serviceResponse = idcClient.sendRequest(userContext, requestDataBinder);
    DataBinder responseBinder = serviceResponse.getResponseAsBinder(false);
    int statusCode = responseBinder.getLocalData().getInteger("StatusCode");
    String statusMessage = responseBinder.getLocal ("StatusMessage");
    System.out.println(" Status: " + statusCode + " - " + statusMessage);
    Thanks,
    Jayam

  • URGENT! url services portets do not render anything

    I have followed the steps to install sample url services and tested successfully the provider. When I try to access them, I do not see anything.
    I even changed one of the pageUrl's to a url located in my own webserver to make sure I am able to access the url.
    I still do not see anything.
    I checked the Jserv log and found the following errors.
    [25/06/2002 18:54:49:983 CDT] page/JNI: mMode=IGNORE. Cache write but cannot open for write.
    [25/06/2002 18:56:02:907 CDT] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [25/06/2002 18:56:02:907 CDT] urlsample/Entering URLSecurityManager hasAccess(PortletReference,ProviderUser) *****************
    [25/06/2002 18:56:02:907 CDT] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [25/06/2002 18:56:02:917 CDT] urlsample/renderBody : Entering render ********************************
    [25/06/2002 18:56:02:917 CDT] urlsample/getURLStream Inside
    [25/06/2002 18:56:02:927 CDT] urlsample/Response status: 500 : oracle.portal.provider.v1.AccessControlException: Failed to read contents from : http://www.stardeveloper.com/activeserverpages.asp
         at oracle.portal.provider.v1.ContainerException.fillInStackTrace(ContainerException.java:58)
         at java.lang.Throwable.<init>(Throwable.java, Compiled Code)
         at java.lang.Exception.<init>(Exception.java, Compiled Code)
         at oracle.portal.provider.v1.ContainerException.<init>(ContainerException.java:19)
         at oracle.portal.provider.v1.PortletException.<init>(PortletException.java:13)
         at oracle.portal.provider.v1.AccessControlException.<init>(AccessControlException.java:16)
         at oracle.portal.provider.v1.http.URLRenderer.getURLStream(URLRenderer.java:579)
         at oracle.portal.provider.v1.http.URLRenderer.renderBody(URLRenderer.java:292)
         at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:165)
         at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(ServletProviderResponse.java:524)
         at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.java:660)
         at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:390)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:435)
         at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
         at java.lang.Thread.run(Thread.java:479)
    Can anyone please advice on what am I doing wrong. I followed the exact steps in the installation guide.
    I am kind of stuck with this.
    Thanks in advance,
    Mainak

    Mainak,
    Looks like the correct proxy configuration information is not
    specified in provider.xml. If you need proxy to view external urls
    then the same needs to be specified through provider.xml.
    For example,
         <proxyInfo class="oracle.portal.provider.v1.http.ProxyInformation">
              <httpProxyHost>YOUR_PROXY_SERVER</httpProxyHost>
              <httpProxyPort>YOUR_PROXY_PORT</httpProxyPort>
         </proxyInfo>
    -aMJAD.

Maybe you are looking for