HTTP 401 error for RosettaNet Request

I get a return code of 401 when I send a http request to another server. The private
process invokes a "Send Business Messgae" from the PIP3A2_Customer_RN2 public
workflow. In my Transport spec., I have specified the URI as http://199.22.31.222/Quantum
which is the destination machine. The full text of the messages displayed on
the console is shown below. I request is being sent as wlpisystem.
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:In
Servlet...>
****SendQPARequestTag.java:In Servlet...
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:**
**QPA Request: Message=<TextMessage[ID:P<286588.1008033356161.0>, <?xml version=
"1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wlpi.EventQueue>>
****SendQPARequestTag.java:****QPA Request: Message=<TextMessage[ID:P<286588.100
8033356161.0>, <?xml version="1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wl
pi.EventQueue>
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:**
**After receive queue init:>
****SendQPARequestTag.java:****After receive queue init:
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: Customer_PrivateWF started.>
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: Starting Public Workflow: <?xml version="1.0" encoding="UTF-8"?>
<Pip3A2PriceAndAvailabilityQuery>
<GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassificati
onCode>
<ProductPriceAndAvailabilityQuery>
<ProductPriceAndAvailability>
<ProductLineItem>
<ProductQuantity>5000</ProductQuantity>
<productUnit>
<ProductPackageDescription>
<unitPrice>
<FinancialAmount>
<GlobalCurrencyCode>USD</GlobalCurrencyCode>
<MonetaryAmount>3.50</MonetaryAmount>
</FinancialAmount>
</unitPrice>
<ProductIdentification>
<GlobalProductIdentifier>QPA88</GlobalProductIdentifier>
</ProductIdentification>
</ProductPackageDescription>
</productUnit>
</ProductLineItem>
</ProductPriceAndAvailability>
</ProductPriceAndAvailabilityQuery>
<fromRole>
<PartnerRoleDescription>
<GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassifi
cationCode>
<PartnerDescription>
<GlobalPartnerClassificationCode>Distributor</GlobalPartnerClassificat
ionCode>
<BusinessDescription>
<GlobalBusinessIdentifier>123456789</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
>
</BusinessDescription>
</PartnerDescription>
<ContactInformation>
<contactName>
<FreeFormText>Jane Doe</FreeFormText>
</contactName>
<telephoneNumber>
<CommunicationsNumber>7205286001</CommunicationsNumber>
</telephoneNumber>
<EmailAddress>[email protected]</EmailAddress>
</ContactInformation>
</PartnerRoleDescription>
</fromRole>
<toRole>
<PartnerRoleDescription>
<GlobalPartnerRoleClassificationCode>Product Supplier</GlobalPartnerRole
ClassificationCode>
<PartnerDescription>
<GlobalPartnerClassificationCode>Manufacturer</GlobalPartnerClassifica
tionCode>
<BusinessDescription>
<GlobalBusinessIdentifier>987654321</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
>
</BusinessDescription>
</PartnerDescription>
</PartnerRoleDescription>
</toRole>
<thisDocumentGenerationDateTime>
<DateTimeStamp>20010612T154020.123Z</DateTimeStamp>
</thisDocumentGenerationDateTime>
<thisDocumentIdentifier>
<ProprietaryDocumentIdentifier>myDoc</ProprietaryDocumentIdentifier>
</thisDocumentIdentifier>
<GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode>
</Pip3A2PriceAndAvailabilityQuery>
>
<Dec 10, 2001 5:15:58 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: PIP3A2_Customer_RN2 started. >
<Dec 10, 2001 5:15:58 PM PST> <Error> <B2B> <<HTTP-Transport> ERROR: HTTP error
during send to http://192.168.100.150:7001/Quantum: code=401, type=text/html,
re
sponse=...>
<Dec 10, 2001 5:15:58 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: PIP3A2_Customer_RN2Error sending message>
<Dec 10, 2001 5:15:58 PM PST> <Info> <WLPI> <<wlpirequest>
<started>2001-12-10 17:15:58.525</started>
<requestor>wlpisystem</requestor>
<templateid>1001</templateid>
<template-name>Customer_PrivateWF</template-name>
<templatedefinitionid>1001</templatedefinitionid>
<instanceid>27009</instanceid>
<actions>
</actions>
<completed>2001-12-10 17:15:58.525</completed>
</wlpirequest>
>
<Dec 10, 2001 5:15:59 PM PST> <Info> <WLPI> <<wlpirequest>
<started>2001-12-10 17:15:58.014</started>
<requestor>wlpisystem</requestor>
<templateid>1002</templateid>
<template-name>PIP3A2_Customer_RN2</template-name>
<templatedefinitionid>1002</templatedefinitionid>
<instanceid>27010</instanceid>
<actions>
<setvariable time="2001-12-10 17:15:58.014" variable="fromRole">Customer</se
tvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="fromService">Customer
Service</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="toRole">Product Suppli
er</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="toService">Product Sup
plier Service</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="businessActivityID">Qu
ery Price and Availability</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="actionCode">Price and
Availability Query</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="actionCodeVersion">1.3
</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="PIP">3A2</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="PIPVersion">1.3</setva
riable>
<setvariable time="2001-12-10 17:15:58.014" variable="retryCount">1</setvari
able>
<setvariable time="2001-12-10 17:15:58.014" variable="isSignal">false</setva
riable>
<setvariable time="2001-12-10 17:15:58.014" variable="SERVICE_CONTENT_SCHEMA
">3A2PriceAndAvailabilityQueryMessageGuideline_v1_3.xsd</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="DOC_TYPE"><!DOCTYPE
Pi
p3A2PriceAndAvailabilityQuery SYSTEM '3A2PriceAndAvailabilityQueryMessageGuideli
ne_v1_3.dtd'></setvariable>
<activatetask time="2001-12-10 17:15:58.034" taskid="960254416076" name="wai
t for workflow to timeout"/>
<settaskduedate time="2001-12-10 17:15:58.034" taskid="960254416076" name="w
ait for workflow to timeout">2001-12-11 17:15:58.034</settaskduedate>
<activatetask time="2001-12-10 17:15:58.044" taskid="990730869247" name="Sen
d Message"/>
<setvariable time="2001-12-10 17:15:58.054" variable="rnProcessInstanceId">T
eleplan10080333568524</setvariable>
<setvariable time="2001-12-10 17:15:58.485" variable="messageCode">401</setv
ariable>
<marktaskdone time="2001-12-10 17:15:58.485" taskid="990730869247" name="Sen
d Message"/>
<setvariable time="2001-12-10 17:15:58.485" variable="reason">Error sending
message</setvariable>
<workflowdone time="2001-12-10 17:15:59.697" name="PIP3A2_Customer_RN2"/>
</actions>
<completed>2001-12-10 17:15:59.697</completed>
</wlpirequest>
>
<Dec 10, 2001 5:16:00 PM PST> <Info> <WLPI> <<wlpirequest>
<started>2001-12-10 17:15:56.291</started>
<requestor>wlpisystem</requestor>
<templateid>1001</templateid>
<template-name>Customer_PrivateWF</template-name>
<templatedefinitionid>1001</templatedefinitionid>
<instanceid>27009</instanceid>
<actions>
<setvariable time="2001-12-10 17:15:56.301" variable="ProductID">QPA88</setv
ariable>
<setvariable time="2001-12-10 17:15:56.301" variable="ProductQuantity">5000<
/setvariable>
<setvariable time="2001-12-10 17:15:56.301" variable="ProductUnitPrice">3.50
</setvariable>
<activatetask time="2001-12-10 17:15:56.311" taskid="2" name="Start the Publ
ic Workflow"/>
<setvariable time="2001-12-10 17:15:56.321" variable="PIPInput">[B@7803ee</s
etvariable>
</actions>
<completed>2001-12-10 17:16:00.067</completed>
</wlpirequest>
>

Hi
We are also facing the same problem. but as you mentioned in solution.
user: <domain>/<admin-user>
pw: pw
I am getting the same problem of Error 401. Kindly describe in detail with example.
Thanks
Regards,
R Karthikeyan

Similar Messages

  • HTTP 401 error in CSADMIN for SAP content server on Linux OS and MaxDB

    Hi,
    We have installed content server on Linux OS.and DB as MaxDB.
    I created the repository using OAC0. The with same tab I went to CSADMIN.
    When I try to create repository with executing it , it ask for user name and password.
    I mentioned the SAPCS admin user name and password, but i got HTTP 401 error. Unauthorized user.
    Even i tried with prefixing domain name and with root user ID and password.
    But got the same error. Please help
    Regards,
    Hemant

    Hi
    We are also facing the same problem. but as you mentioned in solution.
    user: <domain>/<admin-user>
    pw: pw
    I am getting the same problem of Error 401. Kindly describe in detail with example.
    Thanks
    Regards,
    R Karthikeyan

  • 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

  • DMVPN and %DMVPN-3-DMVPN_NHRP_ERROR: Tunnel0: NHRP Encap Error for Resolution Request , Reason: protocol generic error (7) Error

      %DMVPN-3-DMVPN_NHRP_ERROR:  Tunnel0: NHRP Encap Error for  Resolution Request , Reason:  protocol generic error (7)
    I had pre-allocated tunnel ip's to remote spokes , some of them were implemented and put into production. Some of them got the config but the tunnel interfaces were left at shut.
    Its because of this reason that the DMVPN HUB keeps getting nhrp request from one of the inactive spokes.  Following is the sh ip nhrp extract :-
    10.x.x22/32
       Tunnel0 created 00:02:58, expire 00:00:06
       Type: incomplete, Flags: negative
       Cache hits: 7
    I just cant seem to find the spoke WAN ip to identify it. I tried debugs but just cant get it.
    From HUB:-
    Nov 30 10:36:31: %DMVPN-3-DMVPN_NHRP_ERROR:  Tunnel0: NHRP Encap Error for  Resolution Request , Reason:  protocol generic error (7) on (Tunnel: 10.x.x.1 NBMA: 20.x.x.x)
    Nov 30 10:36:32: NHRP: Send Resolution Request via Tunnel0 vrf 0, packet size: 86
    Nov 30 10:36:32:  (F) afn: IPv4(1), type: IP(800), hop: 255, ver: 1
    Nov 30 10:36:32:      shtl: 4(NSAP), sstl: 0(NSAP)
    Nov 30 10:36:32:      pktsz: 86 extoff: 52
    Nov 30 10:36:32:  (M) flags: "router auth src-stable nat ", reqid: 46113
    Nov 30 10:36:32:      src NBMA: 20.x.x.x.
    Nov 30 10:36:32:      src protocol: 10.x.x.1, dst protocol: 10.x.x.22
    Nov 30 10:36:32:  (C-1) code: no error(0)
    Nov 30 10:36:32:        prefix: 32, mtu: 17912, hd_time: 360
    Nov 30 10:36:32:        addr_len: 0(NSAP), subaddr_len: 0(NSAP), proto_len: 0, pref: 0 Nov 30 10:36:31: %DMVPN-3-DMVPN_NHRP_ERROR:  Tunnel0: NHRP Encap Error for  Resolution Request , Reason:  protocol generic error (7) on (Tunnel: 10.x.x.1 NBMA: 20.x.x.x)
    So my question is , How do i find out the spoke wan ip , so i can do something about it.  For now, its just filling up my logs on HUb router...not good ;-))

    Hello Marcin,
    If tunnel interface is shut no  NHRP activity should be going, on top, in debugs you point the hub is  sending resolution request, not receiving it.
    Agree, I expected the same, but unfortunately this is not the case. Spoke does sent out NHRP requests even with Tunnel status as admin shut.
    If your hub does not have NHS, it will not know where to send it's resolution request.
    I am still on DMVPN Phase 1, so Spokes dont talk to other spokes yet.
    Are  you positive that there is nothing that is sending packets towards  10.x.x.22 on hub side (sniffer trace of classyfing ACL on "LAN")?
    Other then a spoke, it cant be anthing, as the subnet is dedicted for tunnel interface's.
    If  you know it's not a misconfig and there is no traffic on hub side  initiated to 10.x.x.22, try removing and adding full tunnel  configuration. i.e. we want to make sure that crypto socket gets closed  and restrated.
    I can do this over weekend, but i am sure this is not going to fix the problem, reason being, that the HUB was setup before anything else and then we started migrating spokes from primary legacy gre tunnels to dmvpn tunnel as primary and legacy as a backup.
    Guess, I am still looking for the answer...Is there a WAN acl that i can use to filter the successfully migrated spokes and log the deny message as in to know what remote wan ip carries along the tunnel ip of .22 or any other debug ??

  • HTTP 401 Error when sending RosettaNet Message

    I get a return code of 401 when I send a http request to another server. The private
    process invokes a "Send Business Messgae" from the PIP3A2_Customer_RN2 public
    workflow. In my Transport spec., I have specified the URI as http://192.168.100.150:7001/Quantum
    which is the destination machine. The full text of the messages displayed on the
    console is shown below. I request is being sent as wlpisystem.
    <Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:In
    Servlet...> ****SendQPARequestTag.java:In Servlet... <Dec 10, 2001 5:15:56 PM
    PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:** **QPA Request: Message=<TextMessage[ID:P<286588.1008033356161.0>,
    <?xml version= "1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wlpi.EventQueue>>
    ****SendQPARequestTag.java:****QPA Request: Message=<TextMessage[ID:P<286588.100
    8033356161.0>, <?xml version="1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wl
    pi.EventQueue> <Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:**
    **After receive queue init:> ****SendQPARequestTag.java:****After receive queue
    init: <Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from
    Work flow: Customer_PrivateWF started.> <Dec 10, 2001 5:15:56 PM PST> <Info> <B2B>
    <<B2B-BPM-Plugin> INFO: Log from Work flow: Starting Public Workflow: <?xml version="1.0"
    encoding="UTF-8"?> <Pip3A2PriceAndAvailabilityQuery> <GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassificati
    onCode> <ProductPriceAndAvailabilityQuery> <ProductPriceAndAvailability> <ProductLineItem>
    <ProductQuantity>5000</ProductQuantity> <productUnit> <ProductPackageDescription>
    <unitPrice> <FinancialAmount> <GlobalCurrencyCode>USD</GlobalCurrencyCode> <MonetaryAmount>3.50</MonetaryAmount>
    </FinancialAmount> </unitPrice> <ProductIdentification> <GlobalProductIdentifier>QPA88</GlobalProductIdentifier>
    </ProductIdentification> </ProductPackageDescription> </productUnit> </ProductLineItem>
    </ProductPriceAndAvailability> </ProductPriceAndAvailabilityQuery> <fromRole>
    <PartnerRoleDescription> <GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassifi
    cationCode> <PartnerDescription> <GlobalPartnerClassificationCode>Distributor</GlobalPartnerClassificat
    ionCode> <BusinessDescription> <GlobalBusinessIdentifier>123456789</GlobalBusinessIdentifier>
    <GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
    </BusinessDescription> </PartnerDescription> <ContactInformation> <contactName><FreeFormText>Jane Doe</FreeFormText> </contactName> <telephoneNumber> <CommunicationsNumber>7205286001</CommunicationsNumber>
    </telephoneNumber> <EmailAddress>[email protected]</EmailAddress> </ContactInformation>
    </PartnerRoleDescription> </fromRole> <toRole> <PartnerRoleDescription> <GlobalPartnerRoleClassificationCode>Product
    Supplier</GlobalPartnerRole ClassificationCode> <PartnerDescription> <GlobalPartnerClassificationCode>Manufacturer</GlobalPartnerClassifica
    tionCode> <BusinessDescription> <GlobalBusinessIdentifier>987654321</GlobalBusinessIdentifier>
    <GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
    </BusinessDescription> </PartnerDescription> </PartnerRoleDescription> </toRole><thisDocumentGenerationDateTime> <DateTimeStamp>20010612T154020.123Z</DateTimeStamp>
    </thisDocumentGenerationDateTime> <thisDocumentIdentifier> <ProprietaryDocumentIdentifier>myDoc</ProprietaryDocumentIdentifier>
    </thisDocumentIdentifier> <GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode>
    </Pip3A2PriceAndAvailabilityQuery>
    <Dec 10, 2001 5:15:58 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log fromWork flow: PIP3A2_Customer_RN2 started. > <Dec 10, 2001 5:15:58 PM PST> <Error>
    <B2B> <<HTTP-Transport> ERROR: HTTP error during send to http://192.168.100.150:7001/Quantum:
    code=401, type=text/html, re sponse=...> <Dec 10, 2001 5:15:58 PM PST> <Info>
    <B2B> <<B2B-BPM-Plugin> INFO: Log from Work flow: PIP3A2_Customer_RN2Error sending
    message> <Dec 10, 2001 5:15:58 PM PST> <Info> <WLPI> <<wlpirequest> <started>2001-12-10
    17:15:58.525</started> <requestor>wlpisystem</requestor> <templateid>1001</templateid>
    <template-name>Customer_PrivateWF</template-name> <templatedefinitionid>1001</templatedefinitionid>
    <instanceid>27009</instanceid> <actions> </actions> <completed>2001-12-10 17:15:58.525</completed>
    </wlpirequest>
    <Dec 10, 2001 5:15:59 PM PST> <Info> <WLPI> <<wlpirequest> <started>2001-12-1017:15:58.014</started> <requestor>wlpisystem</requestor> <templateid>1002</templateid>
    <template-name>PIP3A2_Customer_RN2</template-name> <templatedefinitionid>1002</templatedefinitionid>
    <instanceid>27010</instanceid> <actions> <setvariable time="2001-12-10 17:15:58.014"
    variable="fromRole">Customer</se tvariable> <setvariable time="2001-12-10 17:15:58.014"
    variable="fromService">Customer Service</setvariable> <setvariable time="2001-12-10
    17:15:58.014" variable="toRole">Product Suppli er</setvariable> <setvariable time="2001-12-10
    17:15:58.014" variable="toService">Product Sup plier Service</setvariable> <setvariable
    time="2001-12-10 17:15:58.014" variable="businessActivityID">Qu ery Price and
    Availability</setvariable> <setvariable time="2001-12-10 17:15:58.014" variable="actionCode">Price
    and Availability Query</setvariable> <setvariable time="2001-12-10 17:15:58.014"
    variable="actionCodeVersion">1.3 </setvariable> <setvariable time="2001-12-10
    17:15:58.014" variable="PIP">3A2</setvariable>
    <setvariable time="2001-12-10 17:15:58.014" variable="PIPVersion">1.3</setva riable>
    <setvariable time="2001-12-10 17:15:58.014" variable="retryCount">1</setvari able>
    <setvariable time="2001-12-10 17:15:58.014" variable="isSignal">false</setva riable>
    <setvariable time="2001-12-10 17:15:58.014" variable="SERVICE_CONTENT_SCHEMA ">3A2PriceAndAvailabilityQueryMessageGuideline_v1_3.xsd</setvariable>
    <setvariable time="2001-12-10 17:15:58.014" variable="DOC_TYPE"><!DOCTYPE Pi p3A2PriceAndAvailabilityQuery
    SYSTEM '3A2PriceAndAvailabilityQueryMessageGuideli ne_v1_3.dtd'></setvariable>
    <activatetask time="2001-12-10 17:15:58.034" taskid="960254416076" name="wai t
    for workflow to timeout"/> <settaskduedate time="2001-12-10 17:15:58.034" taskid="960254416076"
    name="w ait for workflow to timeout">2001-12-11 17:15:58.034</settaskduedate>
    <activatetask time="2001-12-10 17:15:58.044" taskid="990730869247" name="Sen d
    Message"/> <setvariable time="2001-12-10 17:15:58.054" variable="rnProcessInstanceId">T
    eleplan10080333568524</setvariable> <setvariable time="2001-12-10 17:15:58.485"
    variable="messageCode">401</setv ariable> <marktaskdone time="2001-12-10 17:15:58.485"
    taskid="990730869247" name="Sen d Message"/> <setvariable time="2001-12-10 17:15:58.485"
    variable="reason">Error sending message</setvariable> <workflowdone time="2001-12-10
    17:15:59.697" name="PIP3A2_Customer_RN2"/> </actions> <completed>2001-12-10 17:15:59.697</completed>
    </wlpirequest>
    <Dec 10, 2001 5:16:00 PM PST> <Info> <WLPI> <<wlpirequest> <started>2001-12-1017:15:56.291</started> <requestor>wlpisystem</requestor> <templateid>1001</templateid>
    <template-name>Customer_PrivateWF</template-name> <templatedefinitionid>1001</templatedefinitionid>
    <instanceid>27009</instanceid> <actions> <setvariable time="2001-12-10 17:15:56.301"
    variable="ProductID">QPA88</setv ariable> <setvariable time="2001-12-10 17:15:56.301"
    variable="ProductQuantity">5000< /setvariable> <setvariable time="2001-12-10 17:15:56.301"
    variable="ProductUnitPrice">3.50 </setvariable> <activatetask time="2001-12-10
    17:15:56.311" taskid="2" name="Start the Publ ic Workflow"/> <setvariable time="2001-12-10
    17:15:56.321" variable="PIPInput">[B@7803ee</s etvariable> </actions> <completed>2001-12-10
    17:16:00.067</completed> </wlpirequest>
    >
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I found the response to the problem. I summarize the solution in the following point :
    1- when you connect to a standalone content services server via the webservices api, you get a single String as cookie and to upload a document to server you use the same single cookie.
    2- bu when you connect to cluster content services via the webservices api, you get an Array of String as cookies and to upload a document to server you need to transform the array of cookie into a single String cookie to be able to be authenticated by the http server, look to the following code
    String cookie="";
         for(int i=0;i < connection.getCookie().length;i++) {
              cookie = cookie + connection.getCookie() +";";

  • Oracle ADF Secured App Gives HTTP 401 Error

    I am new to Oracle ADF Framework. I develop on JDeveloper 11g R2 with Weblogic 10.3.5.0. I developed an project like described in a Firebox training video on Youtube link: [http://bit.ly/HT1HZ9] . You can download my project from http://db.tt/Y8J3fj3y
    The video was about creating a custome login page. You have to create login,error anad the target pages. When you try to open target page login page comes then you enter your credentials. After success yoou should be directed to the target page. I used a backing bean to process credentials but instead of redirected to target page the response page gives:
    Error 401--Unauthorized From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.2 401 Unauthorized
    And the weblogic console this error:
    Target URL -- http://127.0.0.1:7101/Deneme-ViewController-context-root/faces/protectedPage.jspx
    <ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    java.lang.IllegalStateException: Cannot forward a response that is already committed
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:167)
    at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
    at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:341)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:982)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Apr 18, 2012 3:21:24 PM EEST> <Error> <HTTP> <BEA-101020> <[ServletContext@28001210[app:Deneme module:Deneme-ViewController-context-root path:/Deneme-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.IllegalStateException: Cannot forward a response that is already committed
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
    Truncated. see log file for complete stacktrace
    >
    <Apr 18, 2012 3:21:24 PM EEST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Apr 18, 2012 3:21:24 PM EEST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Apr 18, 2012 3:21:24 PM EEST SERVER = DefaultServer MESSAGE = [ServletContext@28001210[app:Deneme module:Deneme-ViewController-context-root path:/Deneme-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.IllegalStateException: Cannot forward a response that is already committed
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:167)
    at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
    at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:341)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:982)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = Metasis-PC TXID = CONTEXTID = 922cea34c05f1394:4758d71c:136c5648195:-8000-0000000000000074 TIMESTAMP = 1334751684128
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Apr 18, 2012 3:21:26 PM EEST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\metasis\appdata\roaming\jdeveloper\system11.1.2.1.38.60.81\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_39 with a lockout minute period of 1.>
    My backing bean java code:
    public String doLogin() {
    String un = _username;
    byte[] pw = _password.getBytes();
    FacesContext ctx = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
    Subject mySubject;
    try {
    mySubject = Authentication.login(new URLCallbackHandler(un, pw));
    ServletAuthentication.runAs(mySubject, request);
    ServletAuthentication.generateNewSessionID(request);
    String loginUrl = "/adfAuthentication?success_url=/faces/protectedPage.jspx";
    HttpServletResponse response = (HttpServletResponse)ctx.getExternalContext().getResponse();
    RequestDispatcher dispatcher = request.getRequestDispatcher(loginUrl);
    dispatcher.forward(request, response);
    //response.sendRedirect(loginUrl);
    } catch (FailedLoginException e) {
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Invalid Username or Password", "Invalid Username or Password");
    ctx.addMessage(null, msg);
    } catch (Exception e) {
    e.printStackTrace();
    return null;
    And before the application start there is an interesting error code:
    [03:20:38 PM] Redeploying Application...
    <CodebasePolicyHandler> <migrateDeploymentPolicies> Migration of codebase policy failed. Reason: oracle.security.jps.JpsException: java.lang.reflect.InvocationTargetException.
    <AppPolicyHandler> <migrateAppPolicies> Migration of application policy failed. Reason: oracle.security.jps.JpsException: java.lang.reflect.InvocationTargetException.
    [03:20:55 PM] Application Redeployed Successfully.
    Thanx for the help!

    Hi
    i have created a similar adf project from the same site.
    i am facing the same issue.
    i deleted the anonymous role but i still get the HTTP 404 error
    here is my jazn.data.xml file
    Please help out on this
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <jazn-data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-data-11_0.xsd">
    <jazn-realm default="jazn.com">
    <realm>
    <name>jazn.com</name>
    <users>
    <user>
    <name>bob</name>
    <credentials>{903}roINL8sMhkkl2tkXbhufyu80sTkEtEBXt79hzI/P3uI=</credentials>
    </user>
    <user>
    <name>julie</name>
    <credentials>{903}sS25AaE6ZE1B3sqmsWr0DmNcDbY+id0734qTxK6bam8=</credentials>
    </user>
    </users>
    <roles>
    <role>
    <name>managerGroup</name>
    <members>
    <member>
    <type>user</type>
    <name>bob</name>
    </member>
    </members>
    </role>
    </roles>
    </realm>
    </jazn-realm>
    <policy-store>
    <applications>
    <application>
    <name>adf_security</name>
    <app-roles>
    <app-role>
    <name>manager</name>
    <class>oracle.security.jps.service.policystore.ApplicationRole</class>
    <members>
    <member>
    <name>managerGroup</name>
    <class>oracle.security.jps.internal.core.principals.JpsXmlEnterpriseRoleImpl</class>
    </member>
    </members>
    </app-role>
    </app-roles>
    <jazn-policy>
    <grant>
    <grantee>
    <principals>
    <principal>
    <name>manager</name>
    <class>oracle.security.jps.service.policystore.ApplicationRole</class>
    </principal>
    </principals>
    </grantee>
    </grant>
    </jazn-policy>
    </application>
    </applications>
    </policy-store>
    </jazn-data>
    Thenx

  • Suspended Workflow in SharePoint 2013 with HTTP 401 Error!

    I have a list workflow which starts automatically when creating an item to generate a serial number. But when any user create
    a new item, the workflow suspend with the following details, and only the users with "Full Control" permissions can make the workflow work:
    RequestorId: eda26c74-95ef-2733-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow
    instance. Exception details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["88"],"SPRequestGuid":["eda26c74-95ef-2733-87b9-028d0512861d"],"request-id":["eda26c74-95ef-2733-87b9-028d0512861d"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"Cache-Control":["max-age=0,
    private"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM","Basic realm=\"sp.contoso.com\""],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Sun, 27 Apr 2014 11:13:07 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

    Hi AmrHanmam,
    According to your description, my understanding is that SharePoint 2013 workflow suspend with 401 error.
    For resolving your issue , please do as the followings:
    Be sure User profile synchronization is started.
    The user by whom you are logged is available in User Profile list.
    Final step full synchronization of User Profile Application.
    Here is a similar post for your reference:
    http://social.technet.microsoft.com/Forums/en-US/8671e31e-fde2-454c-aba4-0fc6484dd873/sharepoint-2013-workflow-suspend-with-401-error?forum=sharepointcustomization
    In addition, there is another reason for this issue, please take a look at:
    http://support.microsoft.com/kb/2839070/en-us
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • 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]

  • 401 Error for all files after CF8 install?

    After I install coldfusion 8 on windows server 2008 with IIS7, I get a 401 "Unauthorized user" error for every page, regardless of whether its a CFM page or not. When I uninstall CF8 the error goes away. Has anyone else had this issue? Is there a resolution?

    I was getting the same "-36" error while trying to backup to a Lacie firewire external drive.
    I had a lot of people telling me to re-format, erase, reinstall, run utility programs ... yada, yada, yada.
    First off, test to see if it is the connection type (firewire). I reconnected the offending external drive via USB, restarted the drive and ... BINGO! ... all transfers went perfectly.
    Once i knew it was the firewire connection and not the drive itself i simply unplugged my iSight camera (the only other firewire device connected to my machine), reconnected my external drive via firewire and the problem is now corrected.
    Firewire buses seem to be very finicky things ... i would suggest eliminating all firewire devices from the machine (except, of course, the external drive you're trying to transfer to) and see if the problem goes away.
    Like i said, i simply unplugged my iSight camera and the transfer to my external drive went perfect and my transfer rates went from an average of 4MB/sec to over 19MB/sec.
    P.S. BTW - prior to the error and after i corrected the error by unplugging the iSight camera, my internal and external drives all checked out 100% on Disk Utility, Disk Warrior and TechTool Pro.

  • Http 401 unauthorized for domain user

    I am having an issue with SCCM reporting. One particular domain user is getting 401 error;unauthorized. The user has the identical rights as the other users (based on security group membership) but gets the error when clicking on reports > create report.
    In addition, the user doesn't get the default listing for the reports. Even more peculiar the user can access both the report server and manager URLs.
    Win 2008 R2 w/ SCCM 2012 and SQL server 2008 R2 (runs the reporting site role)

    What is the Security role of this user? Normally, if you give the proper rights for the user in SCCM console, SCCM will take care the security settings in Reporting Service. Anyway, check the settings by accessing SCCMreportserver/reports
    Juke Chou
    TechNet Community Support

  • Http 401 error

    I am sending data from R/3 to XI through abap Proxy .
    Data is not going to XI.
    It gives error
    HTTP status code 401 : Unauthorized
    I have checked the sm59 transaction of R/3.I have test the connection there but it gives message Http 1.0 empty
    request recieved.
    Do I have to make some configuration on XI side.
    thanx in advance.

    Hi Rekha,
    The following is the link to the LATEST XI3.0 Configuration guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/configuration guide - sap xi 3.0.pdf
    Regards,
    Sridhar

  • Http 401 error when uploading file to content services

    Hi,
    When i try to upload a document, the document is created in the folder with empty content and i have the 401 http error.
    Someone can help me to resolve thise problem.
    Thank's for advance.

    I found the response to the problem. I summarize the solution in the following point :
    1- when you connect to a standalone content services server via the webservices api, you get a single String as cookie and to upload a document to server you use the same single cookie.
    2- bu when you connect to cluster content services via the webservices api, you get an Array of String as cookies and to upload a document to server you need to transform the array of cookie into a single String cookie to be able to be authenticated by the http server, look to the following code
    String cookie="";
         for(int i=0;i < connection.getCookie().length;i++) {
              cookie = cookie + connection.getCookie() +";";

  • HTTP 404 Error for CF9 Administrator

    I get the following error when trying to start the Cold Fusion Administrator after installing CF9 on Windows 7 64 bit with IIS:
    HTTP Error 404.3 - Not Found
    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
    What to do?

    Hi,
    I would suggest posting this query in the Cold Fusion Forum for a quicker and specific response.
    Thanks

  • Mutli threading in Server Socket giving error for parallel requests

    HI, I wrote a ServerSocketProgram.java which listens to client and receives data. I used multithreading on each request it receives . But when two clients parallelly send data the server is struck at the iStream.read() operation. I have given setSoTimeOut(20000) . So its giving me a socketTimeOut Exception .If I removed the time out , It gave SocketException : socket closed. And there's no response to the client.
    Please tell me the reason for the above problem . The sample program is below.
    while ((clientSocket=serverSocket.accept())!=null){
                        System.out.println("in side main "+clientSocket.getInetAddress());
                        Thread c= new Thread(new ServerSocketProgram(clientSocket));
                        c.setDaemon(true);
                        c.start();
    The Constructor is :
    public ServerSocketProgram(Socket clientSocket){
              this.socket = clientSocket;
              try {
                   oStream =new DataOutputStream(socket.getOutputStream());
                   iStream =new DataInputStream(socket.getInputStream());
              } catch (IOException e) {
                   e.printStackTrace();
    The run method :
    public void run() { 
              int op=0;
              try {
                   while ((op=iStream.read())!=0){
                        System.out.println(op);
                   oStream.writeBytes("hi success ");
                   oStream.flush();
              } catch (IOException e) {
                   e.printStackTrace();
              try{
                   oStream.close();
                   iStream.close();
                   socket.close();
              }catch(Exception e){
                   e.printStackTrace();
    Thanks in advance ,
    Sow
    Message was edited by:
    sow_Yarr

    Your end-of-stream test should be looking for -1, not zero. Zero is a possible data value, but you're probably never receiving it so you're never getting to the output statement following your read loop.

  • Import Error for the request - pl URGENt

    Hi Team,
    I've cretaed a request and transport to test box while import th request I'm getting the below error message.
    Activation of the update rules <cube Name>.
    Pl advise.
    Regards,
    Senthil

    Hi Raja,
    Look at all the data flows from that datasource.
    Sometimes the update rules of another cube coming from the same datasource are inactive.
    So go to the datasource, show the dataflow and check all paths from that flow.
    The error message does not always name the correct cube.
    Succes,
    Udo

Maybe you are looking for

  • Statistics report using ABAP- SXMB_MONI output

    Dear all, I would like to create an ABAP report which should  giveme the details of one particular interface. The details are like How many messages processed, how many of them are success status and how many of them are in error status on daily basi

  • INTERNAL" HTTP_RESP_STATUS_CODE_NOT_OK

    Hi experts, I am getting the error when i am posting IDOC to XI . INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Adapter   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmln

  • Cropping to paper size?

    Can I pre-set the cropping tool so that the final image will fit correctly on a specific size of paper? For example, if I plan to print an image on 8x10 photo paper, I want the cropping tool to maintain the 8x10 ratio no matter how large or small I m

  • Refer to mxml component within the same package

    Hello How can I refer to the same mxml component both of which live in the same package?  For example, I have myHbox and myTabNav in the same package named ui.  I am already referring to the myHBox mxml class in the Application class through the line

  • I have installed CS5 on my new computer and cannot make a contact sheet

    I have installed CS5 on my new computer and cannot make a contact sheet. I have used CS5 for a number of years making contact sheets of my daily shoots, but now when I go to file, automate there is no 'contact sheet' selection.  Would you please answ