SOAP - HTTP 401 Unauthorised error

Hi,
THe scenario is FILE - XI - WEB SERVICE.
My SOAP receiver communication channel throws the following error:
"Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized"
If I try to send the data through XML SPY I get the same 401 exception. But when I open the portal through browser with the same user ID and password ,it opens the portal view.
Please suggest
Thanks,
Tiny

Hi Tiny,
Any of the following could be the reason:
u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
u2022 If the error is in Adapter Engine
u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
u2022 May be wrong password for user XIISUSER
u2022 May be wrong password for user XIAFUSER
u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
Regards,
Divya

Similar Messages

  • 401:Unauthorised error

    Hi All
    i uasually get this 401: Unauthorised error. and when i remove the anonymous role from jazn.xml it works fine.
    i think that anonymous role causes issue.
    is it so?...if not what could be the issue?
    Thanks
    Edited by: AdfNew-b on May 18, 2012 5:18 AM

    Can you please check if your system-jazn-data.xml file is updated with jazn-data.xml data. If not, please update it with the data from jazn-data.xml.
    System-jazn-data.xml can be found at: system11.1.2.0.38.60.17\DefaultDomain\config\fmwconfig
    Hope this helps.

  • SOAP Asynch Message Giving HTTP 401 Unauthorized error

    Hi experts,
    <Br>
    We are sending ORDERS IDOC Asynchronously from ECC To XI and XI is sending it to Vendor using SOAP.
    This interface was working OK and now we had HTTP 401 error. Checked URL,Username and password to the Vendor. It looks OK. It is working OK if I try it in browser.
    </br>
    <Br>
    I tried to refresh the object by changing values and reactivating,did cache refresh..Still didn't work.When I try to check for the problem found J2EE_GUEST user was locked.Same was unlocked and tried again.
    </BR>
    <BR>
    This IDOC is requesting for acknowledgement( trying to suppress ack by running IDX_NOALE).
    But now I need to reprocess these failed messages.I was trying in different ways and it is not going thru.
    Any pointers are really appreciated.
    </BR>
    Adapter Engine Log is as follows:
    <BR>
    2009-10-27 16:37:30 Success The message was successfully retrieved from the receive queue.
    <BR>
    2009-10-27 16:37:30 Success The message status set to DLNG.
    <BR>
    2009-10-27 16:37:30 Success Delivering to channel: CC_ORDERS05_TO_XYZ_SOAP
    <BR>
    2009-10-27 16:37:30 Success MP: Entering module processor
    <BR>
    2009-10-27 16:37:30 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    <BR>2009-10-27 16:37:30 Success SOAP: request message entering the adapter with user J2EE_GUEST
    <BR>2009-10-27 16:37:30 Error Exception caught by adapter framework: SOAP: response message contains an error <BR>XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success SOAP: completed the processing
    <BR>2009-10-27 16:37:30 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - <BR>HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success SOAP: sending a delivery error ack ...
    <BR>2009-10-27 16:37:30 Success SOAP: sent a delivery error ack
    <BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: SystemErrorAck
    <BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: AckNotSupported
    <BR>2009-10-27 16:37:30 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: <BR>response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: SystemErrorAck
    <BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: AckNotSupported
    <BR>2009-10-27 16:37:30 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System <BR>failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error <BR>XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized.
    <BR>2009-10-27 16:37:30 Error The message status set to NDLV.
    <BR>
    <BR>Regards,
    <BR>Ramesh
    Edited by: RameshK99 on Oct 28, 2009 1:57 AM

    Can you run a sniffer tool & see the actual reason for 401 unauthorized error? 6172 weblog: Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway by Stefan Grube...
    Generally, 401 unauthorized is when the target system rejects the request...  Also, What type of authentication does the target webservice have.?? B'cos i ran into a similar problem with Ms-Webservice. (they were using NTLM authentication). It works from a browser but not from PI. So we installed SOAP-AXIS adapter to support NTLM based authentication.
    Regards,
    Siva Maranani

  • HTTP 401 Unauthorized, error in proxy to SOAP Scenario

    Hi all,
    We got the below error in our proxy to SOAP Scenario.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
    We configured User Authentication,Proxy and Proxy User Authentication for the Receiver Communication Channel correctly still we are getting this error.
    So please let me know what could be the possible reasons behind it and how to resolve it.
    Waiting for your valuable response.

    Hi,
    Consider the parameters connection pool size and connection wait time:
    ume.r3.connection.master.poolmaxsize
    ume.r3.connection.master.poolmaxwait
    These parameters are described in the note below:
    #821026 - AdapterEngine messaging URL returns HTTP 401 under high load
    Also, ensure you have maintained the correct password, which MUST be the same, for all the service users
    on XI. You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..
    Please kindly check the note below:
    PI 7.1:
    #999962 - PI 7.10: Change passwords of PI service users
    XI 7.0
    #936093 - XI 7.0: Changing the passwords of XI service users
    XI 3.0
    #721548 - XI 3.0: Changing the passwords of the XI service users
    And ensure that the user has the correct role as per link below:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm
    Regards,
    Caio Cagnani

  • HTTP 401 Authorization error in DMS KPro implementation

    Experts,
    We had setup the DMS KPro with Http Content Server. Getting error '401' HTTP Authorization.
    Please suggest on action to be taken - We are stuck up. CSADMIN - not allowing even if 'Everyone' authorization given in the OS.
    Any suggestions?
    Thanks/Regards
    Dhasarathy

    How can I do to make this password check??? where and how to ??
    Thanks

  • 401 Unauthorised Error in SAP BPC Client

    Hello Experts,
    Recently we have moved to new facility of our company from where we are trying to access BPC Admin client and web url.
    We have BPC 7.5 NW version of BPC Server.
    In our previous location we had Windows XP workstation with IE 7 and we were able to acess with no problem.
    In the new location we have desktops with Windows 7 and IE8. Are there any additional security settings we need to take care of in Windows 7?
    Also from both locations we are accessing BPC server through VPN. IS there any additional setting for accessing BPC server through VPN?
    Please share some tips for the above issue.
    Thanks.

    Hi Mak,
    Can you please look into SAP Note: 1540512. Here are the excerpts:
    Issue was fixed in BPC NW 7.0 SP08 and is schedulled for fix in BPC NW 7.5 SP06
    Workaround solution 1 is to attempt to connect with the same user to BPC Admin client once and then try to access web page again
    Workaround solution 2:
    a. in BW run SE16 and view table UJA_LAST_USER where USER_ID = domain\username
    This table defines which system was last accessed by the user
    b. Check that application set in APPSET_ID and application in APPL_ID are currently accessible for this user
    c. Only if the application set mentioned was removed, please edit both APPSET_ID and APPL_ID to a correct value of an application set and application the user has access to (you can copy the value from another user's).
    Hope this resolves your issue.
    Rgds,
    Poonam

  • HTTP Sender Adapter 401 Unauthorised

    Hi,
    I am using a sender HTTP Adapter of PI 7.1
    when I use the link in browser it gives me 401 unauthorised error.
    but when i use the test tool from one of the blogs it gives me the response properly.

    The link is
    http://<host>:<port>/sap/xi/adapter_plain?namespace=http%3A//rediff/ProjectSTAR/Vendor&interface=SI_SYN_OU_TO_TO_SAP&service=BS_VENDOR&party=&agency=&scheme=&QOS=BE&sap-user=piappluser&sap-password=redi#pid12&sap-client=210&sap-language=EN
    This link when I copy paste in browser leads to a login popup asking for credentials.
    When I enter the proper credentials , It gives 401 error .
    Same happens when I use it in  a Java code for HTTP connection.

  • SOAP Adapter - HTTP 401

    Hi all,
    i'm pretty new to SAP-PI and need some help.
    We have following asynchronous scenario : XI-Adapter >>>  XI >>> SOAP-Adapter to transfer data from ERP to a 3rd Party-System.
    After some changes by the Web-Service-Provider ( certificate & user creditentials) we get a HTTP 401 - Unauthorized Error.
    What we did:
    imported the new certificate
    set the new creditentials in the communication channel for authentification

    Hi,
    many thank for your quick responses!
    Yesterday evening i decided to do a full cache refresh. Now i am receiving following error:
    Error in call over HTTP: HTTP 0 null
    [EXCEPTION]
    java.io.Exception: Failed to get the input stream from socket: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier...
    After that i tried to set the parameter
         Module key: soap
         paramname: trustStore
         paramvalue: TrustedCAs
    for the the module XISOAPAdapterBean in the CC,  but i'm still receiving the same error.
    So i think something is wrong with the new certificate. Our Basis-Team is checking this atm.
    Regards
    Kai

  • Error in HTTP framework - 401 unauthorised while creating a service consume

    Hi,
    I am trying to create a service consumer in SE80 by specifying a WSDL URL of a webservice ( I created this webservice from an inbound service interface ).....but at the last step it asks for user id and pwd......after specifying the user / pwd it says Error in HTTP framework - 401 unauthorised
    what may be the problem....the user has all tha required authorisation as I can use the same user to test in wsnavigator.

    In my experience this problem was always found to be around authorizations necessary for execution of specific activity. I would strongly advise you to speak with your Security/Authorization consultant to help you.

  • Provider-hosted Apps debug error: The remote server returned an error: (401) unauthorised

    Hi,
    Any help appreciated!!
    I'm getting this error: "The remote server returned an error: (401) unauthorised when I debug a provider-hosted app.  I get the error on this line:  
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    See code below
    I created a high trust development environment following the instructions provided here:
    http://msdn.microsoft.com/en-us/library/office/fp179901(v=office.15).aspx and
    http://msdn.microsoft.com/library/office/fp179923
    I created a provider-hosted app with the intent to:
    create a SharePoint list in the appweb
    Use self-signed certificate, tokenhepler.cs and sharepointcontext.cs to retrieve current user context and access on SharePoint.  (No changes were made to tokenhelper.cs and sharepointcontext.cs)
    retrieve list items from the SharePoint list in a button click event handler on a default.aspx of the remote web
    What happens:
    The app is deployed successfully to the Dev site
    The SharePoint feature is deployed and activated
    The default.aspx page of the remote web loads
    The error (see image) is returned on clicking of the button
    My environment is an on-premise SharePoint 2013 with AD and my dev box is standalone windows 8.1 running Visual Studio Professional 2013 Update 3.
    The code block below is a copy of the default.aspx code-behind
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Microsoft.SharePoint.Client;
    using Microsoft.IdentityModel.S2S.Tokens;
    using System.Net;
    using System.IO;
    using System.Xml;
    using System.Data;
    using System.Xml.Linq;
    using System.Xml.XPath;
    namespace Idea.GeneratorWeb
    public partial class Default : System.Web.UI.Page
    SharePointContextToken contextToken;
    string accessToken;
    Uri sharepointUrl;
    protected void Page_PreInit(object sender, EventArgs e)
    Uri redirectUrl;
    switch (SharePointContextProvider.CheckRedirectionStatus(Context, out redirectUrl))
    case RedirectionStatus.Ok:
    return;
    case RedirectionStatus.ShouldRedirect:
    Response.Redirect(redirectUrl.AbsoluteUri, endResponse: true);
    break;
    case RedirectionStatus.CanNotRedirect:
    Response.Write("An error occurred while processing your request.");
    Response.End();
    break;
    protected void Page_Load(object sender, EventArgs e)
    //// The following code gets the client context and Title property by using TokenHelper.
    //// To access other properties, the app may need to request permissions on the host web.
    var spContext = SharePointContextProvider.Current.GetSharePointContext(Context);
    //var spContext = new ClientContext("MySPDevInstance");
    //spContext.Credentials = new NetworkCredential("username", "password");
    //using (var clientContext = spContext.CreateUserClientContextForSPHost())
    // clientContext.Load(clientContext.Web, web => web.Title);
    // clientContext.ExecuteQuery();
    // Response.Write(clientContext.Web.Title);
    string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);
    if (contextTokenString != null)
    // Get context token
    contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, Request.Url.Authority);
    // Get access token
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    accessToken = TokenHelper.GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken;
    // Pass the access token to the button event handler.
    Button1.CommandArgument = accessToken;
    protected void Button1_Click(object sender, EventArgs e)
    // Retrieve the access token that the Page_Load method stored
    // in the button's command argument.
    string accessToken = ((Button)sender).CommandArgument;
    if (IsPostBack)
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    // REST/OData URL section
    string oDataUrl = "/_api/Web/lists/getbytitle('Diagrams In Idea Generator')/items?$select=Title,Diagram,SharingStatus";
    // HTTP Request and Response construction section
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + oDataUrl);
    request.Method = "GET";
    request.Accept = "application/atom+xml";
    request.ContentType = "application/atom+xml;type=entry";
    request.Headers.Add("Authorization", "Bearer " + accessToken);
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    // Response markup parsing section
    XDocument oDataXML = XDocument.Load(response.GetResponseStream(), LoadOptions.None);
    XNamespace atom = "http://www.w3.org/2005/Atom";
    XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
    XNamespace m = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
    List<XElement> entries = oDataXML.Descendants(atom + "entry")
    .Elements(atom + "content")
    .Elements(m + "properties")
    .ToList();
    var entryFieldValues = from entry in entries
    select new
    Character = entry.Element(d + "Title").Value,
    Actor = entry.Element(d + "Diagram").Value,
    CastingStatus = entry.Element(d + "SharingStatus").Value
    GridView1.DataSource = entryFieldValues;
    GridView1.DataBind();
    Any ideas what I might be doing wrong

    Hi ,
    Use the below code
    Public string GetAccessToken(){
    string sharePointSiteUrlHost =  Page.Request["SPHostUrl"].Tostring();
    string AccessToken = tokenHelper.GetS2SAccessTokenWithWindowsIdentity(sharePointSiteUrlHost, Request.LogonUserIdentity);
    return accessToken;
    Than initialize the ClientCOntext with the below Method
     private static ClientContext GetClientContextWithAccessTokenString(string targetUrl, object accessToken)
                ClientContext clientContext = new ClientContext(targetUrl);
                clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous;
                clientContext.FormDigestHandlingEnabled = false;
                clientContext.ExecutingWebRequest +=
                    delegate(object oSender, WebRequestEventArgs webRequestEventArgs)
                        webRequestEventArgs.WebRequestExecutor.WebRequest.UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
                        webRequestEventArgs.WebRequestExecutor.RequestHeaders["Authorization"] =
                            "Bearer " + accessToken;
                return clientContext;
    use this clientCOntext and it will work.
    Do not use
    SharePointContextProvider
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • HTTP 401 error while connecting SAP PI 7.1 with SOAPAdapter

    Hello,
    I am trying to call webservice on R/3 system using SAP PI 7.1 but I am getting HTTP 401 error.
    Following is the error for more detail:
    Message: Server returned error code = 401 for URI : http://sapxx03x:50000/XISOAPAdapter/MessageServlet?channel=:BS_xxxxxxxxxxx_50:CC_xxxxxxxxxxxxx_WSDL_Sender.
    same url when I use with SAP XI 3.0 it works fine. It is only giving problem with PI 7.1
    I know this issue is related to authentication but what problem I am facing is how to pass the credentical with the url to
    resolve this authentication issue? Are there any settings I am missing? or Any other way of doing it?
    I have already tried following things to resolve this issue:
    1. tried giving user id & password in URL but still having same error HTTP 401.
    2. tried one of the SAP note (891877) regarding Netweaver Administration to change ROLE settings but problme still persist.
    3. Checked SAP Help settings
    4. Did changes to web.xml file to comment the security part and restarted the system
    But, Problem still exist.
    Please let me know what will be the solution for this issue.
    Thanks,
    Anand

    Hello Abhishek,
    Fine I will try using new URL but user id  & password are working fine with PI 7.1.
    I tried running URL directly and it is working fine and giving following message:
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.adapter.soap.web.MessageServlet (Version $Id: //tc/xpi.adapters/NWxx_xx_xxx/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of $Proxy45_10002
    ModuleProcessorRemote not instantiated
    Any other pointers,
    Thanks,
    Anand

  • PI 7.0 - Error HTTP 401 when calling XISOAPAdapter/MessageServlet

    Hi experts,
    I am trying to call a web service, published from our XI system. (SAP PI 7.0 SP 15).
    I generated the Web Service & saved the WSDL successfully from Integration Directory.
    The whole scenario is well designed and configured, because it had been working well for some time.
    I am using XMLSpy to send a request (something that have been working well) but now, we are unable to log on to the system.
    It doesnt matter with which user we try to log on. Its simply not possible. It raises a HTTP 401 ERROR.
    The configuration channel SOAP SENDER is configured like this.
    - SOAP - SENDER
    - Transport Protocol HTTP
    - HTTP Security Level : HTTP
    - QOF - BEST EFFORT.
    Another symptom
    when i call the service http://<host>:<50nn00>/XISOAPAdapter/MessageServlet (on DEV system) it doesnt work.
    "401   Unauthorized
      Cannot authenticate the user.
      Details:   No details available"
    when i call the same service (but on QA system) it works well.
    (the calls from XMLSpy work fine, and the interface executes well)
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    I will appreciate if you could give me some advice, which configuration i need to check, or any usefull information.
    Thanks!
    Cristian.

    Hi Supriya, thanks for your reply.
    I ve tryed with my user, which is not locked, and also with other users, none of them locke. With SAP_ALL and SAP_NEW profiles. And it didnt work.
    The url is something like that.
    for DEV:
    http://myhost:50000/XISOAPAdapter/MessageServlet
    for QA:
    http://myhost:50200/XISOAPAdapter/MessageServlet
    Since DEV and QA instances are on the same server.
    Thanks.
    Cristian.

  • Receiver SOAP Adapter Problem-HTTP 401 Unauthorized

    We are using XI-7.0. We have scenario IDOC >> XI >> SOAP by making asynchornous call.
    Vendor has two web server - A and B. Both the servers set up are identical in the vendor system.
    Web server "A" works fine from XML spy tool as well as XI for sending service order SOAP messages.
    Web server "B", we are able to send SOAP messages from XML spy successfully and vendor also confirms that it updates database in their system.
    But we are not able to send SOAP messages from XI on Server "B". We are getting following error message in the adpter engine.
    Can someone please help me?   Thanks!
    <i>SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized.</i>
    Thanks!
    MP

    Hi Riya,
    For SSL configuration you can check,
    Rajendra's blog http://scn.sap.com/people/rajendra.badi/blog/2011/11/23/pi-711-transport-level-secuirty-communicating-with-external-web-service-from-soap-adapter-through-ssl
    Khade's blog http://scn.sap.com/people/s.khade/blog/2011/09/06/secured-connection-to-external-web-service-using-sap-xipi.
    Regards.

  • Http status code 401 : unauthorised

    Hi all,
    We are using EP6 SP9 with KM SP9, TREX 6.1 SP9. We are using file system based repositories with custom properties for upload & search.
    Indexing fails with 'Queue entry' showing the documents as 'Preparation failed' with return message "http status code 401:unauthorised".
    Has anyone come across this error ? Please suggest ways to rectify.
    Thanks & regards,

    I have an alternative URL set in the URL generator and I also have an unlocked index_service user, but I am getting the same 401 (6401 TREX error) problems as others.
    Anybody know how to solve this problem?
    How does TREX authenticate with the portal using the index_service user? How does TREX know what credentials to use? If it is ticket based authentication, how is this ticket set in the TREX system?
    Thanks,
      Tom
    http://tomparle.com/
    http://deadlytech.co.uk/

  • Http 401 error starting a managed server

    Hi,
    I'm new to wl and am setting up a managed server on wl6.0.
    I read and followed the instructions in the admin guide - really!
    I have an admin server running under the petstore domain,
    on port 7001 and am trying to run a managed server under
    "devdomain".
    Below is the java command my startup script is using
    to start the managed server. It is failing with a security
    error (http 401). I don't see anything in the dox about an
    additional userid/password control at the http level.
    When I browse directly to http://webdev:7001/Bootstrap,
    I get http password pop-up. The system userid and password
    does not work.
    What dox can I go to for help on this?
    Thx
    Jim Brockman
    java -ms64m -mx64m -classpath
    /opt/bea/wlserver6.0:/opt/bea/wlserver6.0/lib/weblogic_sp.jar:/opt/bea/wlser
    ver6.0/lib/weblogic.jar:/opt/bea:/opt/bea/wlserver6.0/lib/jdbctype4drivers/c
    lasses12.zip -Dweblogic.Domain=devdomain -Dweblogic.Name=devserver -Dweblogi
    c.management.server=webdev:7001 -Djava.security.policy=/opt/bea/wlserver6.0/
    lib/weblogic.policy -Dweblogic.management.username=system -Dweblogic.managem
    ent.password=xxxxxxxx weblogic.Server
    Starting WebLogic Server ....
    Connecting to http://webdev:7001...
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException:
    connecting to http://webdev:7001/Bootstrap/ - with nested exception:
    [weblogic.net.http.HttpUnauthorizedException: 401]
    weblogic.net.http.HttpUnauthorizedException: 401
    at
    weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
    8)
    at
    java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
    at
    weblogic.management.Admin.getBootstrapLocalServer(Admin.java:825)
    at weblogic.management.Admin.initialize(Admin.java:274)

    I solved the problem in this command.....
    /opt/bea/wlserver6.0:/opt/bea/wlserver6.0/lib/weblogic_sp.jar:/opt/bea/wlser
    ver6.0/lib/weblogic.jar:/opt/bea:/opt/bea/wlserver6.0/lib/jdbctype4drivers/c
    lasses12.zip -Dweblogic.Domain=devdomain -Dweblogic.Name=devserver -Dweblogi
    c.management.server=webdev:7001 -Djava.security.policy=/opt/bea/wlserver6.0/
    lib/weblogic.policy -Dweblogic.management.username=system -Dweblogic.managem
    ent.password=xxxxxxxx weblogic.Server
    When I put the password in the script, the problem is disapeared...
    Jim Brockman wrote:
    Hi,
    I'm new to wl and am setting up a managed server on wl6.0.
    I read and followed the instructions in the admin guide - really!
    I have an admin server running under the petstore domain,
    on port 7001 and am trying to run a managed server under
    "devdomain".
    Below is the java command my startup script is using
    to start the managed server. It is failing with a security
    error (http 401). I don't see anything in the dox about an
    additional userid/password control at the http level.
    When I browse directly to http://webdev:7001/Bootstrap,
    I get http password pop-up. The system userid and password
    does not work.
    What dox can I go to for help on this?
    Thx
    Jim Brockman
    java -ms64m -mx64m -classpath
    /opt/bea/wlserver6.0:/opt/bea/wlserver6.0/lib/weblogic_sp.jar:/opt/bea/wlser
    ver6.0/lib/weblogic.jar:/opt/bea:/opt/bea/wlserver6.0/lib/jdbctype4drivers/c
    lasses12.zip -Dweblogic.Domain=devdomain -Dweblogic.Name=devserver -Dweblogi
    c.management.server=webdev:7001 -Djava.security.policy=/opt/bea/wlserver6.0/
    lib/weblogic.policy -Dweblogic.management.username=system -Dweblogic.managem
    ent.password=xxxxxxxx weblogic.Server
    Starting WebLogic Server ....
    Connecting to http://webdev:7001...
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException:
    connecting to http://webdev:7001/Bootstrap/ - with nested exception:
    [weblogic.net.http.HttpUnauthorizedException: 401]
    weblogic.net.http.HttpUnauthorizedException: 401
    at
    weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
    8)
    at
    java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
    at
    weblogic.management.Admin.getBootstrapLocalServer(Admin.java:825)
    at weblogic.management.Admin.initialize(Admin.java:274)--
    Doyoung Im
    Bea Systems Korea
    Sales Engineer/Pre Sales
    H.P) 82-11-9727-8923
    DID) 82-2 -7676-823
    Fax) 82-2 -783-7102
    mail)[email protected]

Maybe you are looking for

  • Launch apps one at a time and disable iTunes at startup

    Hey guys I have two questions: The first one is, is there any way to launch apps at Login but one after the other and not all at the same time? For instance, I would like to launch Adobe Ps, then Ai after Ps loaded, then Mail, and then others. Is thi

  • Attaching a pdf document to a sales order

    We are trying to link pdf documents to sales orders in VA02/03 using the object services toolbar in the sales order.  We can specify attachments and it appears to work fine.  Our main question is were are these attachments saved.  We do not want them

  • IGS - UNIX Some Words are Illegible

    Hello,   I have a great problem. I possess IGS version UNIX installed in development and quality and the IGS version Windows installed in production.    IGS in the version Unix the sources don't appear in a correct way. I make alteration in WebApplic

  • Assign Reference Documents

    Hi, Can we assign more than 1 XML result to an XML output property of a transaction? Like, "XMLOutput = Query_1.Results & Query_2.Results". Regards, Chanti.

  • CS6 "notwendige verknüpfte Dateien können nicht verpackt werden"

    Ich habe eine ID Datei, die nicht verpackt werden kann, zwecks oben genanntem Fehler. Nachdem ich auf eine immense Anzahl an Verknüpfungen komme - gibt es eine einfache Möglichkeit herauszufinden woran bzw. an welcher Verknüpfung das Problem liegt? D