Weblogic saml2 Custom Principal cannot be added to the subject

Dear All
I have written a custom Identity Asserter Attribute Name Mapper in the SP side.In that I was trying to add the custom attributes to the subject Via Custom principals.
The Subject came there as read only .hence i could not be able to add the principal to the subject.
kindly help to modify the subject to not read only.
looking forward for your assistance.
Thanks.

Hi Luis
The same result .
Is there anything wrong in the config.? Did u check the process attributes in the configuration ?
This is the server log from service provider site.
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Service> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188354> <BEA-000000> <BASE64 decoded saml message:<?xml version="1.0" encoding="UTF-8"?><samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Destination="https://sp.com:7006/saml2/sp/acs/post" ID="_0xeadf112ac6bd6c448bd4bdb81f7fbfbe" InResponseTo="_0x75109051ae8761fe4f2e862fd2dbe869" IssueInstant="2012-08-16T07:13:08.292Z" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://idp.com:7004/saml2</saml:Issuer><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#_0xeadf112ac6bd6c448bd4bdb81f7fbfbe">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds saml samlp xs xsi"/></ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>LxiHUPO8Ca0CVwYGJFvzl/KgilUaITagkH1qyag/mmE=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
iJstKuFt6h4nTzNh5uAkfQN7m4zH/J0DKJIKE39gUzHaOshK7aoV/KQxsiZEcxDPewCMp+Oj22la
m2AxQmeLmw==
</ds:SignatureValue>
</ds:Signature><samlp:Status><samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/></samlp:Status><saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="_0x4d674d13663a689439f99e1f1c8e15f4" IssueInstant="2012-08-16T07:13:08.260Z" Version="2.0"><saml:Issuer>https://idp.com:7004/saml2</saml:Issuer><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#_0x4d674d13663a689439f99e1f1c8e15f4">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds saml xs"/></ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>se+lgzg7x4j4kud7pX8DjH2xQPruzD5kG+hqQFryCaA=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
Z2JD6v9MbGmNEauonipP4cGTnWKFrGvbeVJUQcKxHTnpeeVqc/ad+1d8lvHvYKxSx8F0gMJZZ1uA
zXUArbKQnA==
</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>
MIIB7TCCAZcCEInOSDhbrVINiTj9abj9o8AwDQYJKoZIhvcNAQEEBQAweTELMAkGA1UEBhMCVVMx
EDAOBgNVBAgTB015U3RhdGUxDzANBgNVBAcTBk15VG93bjEXMBUGA1UEChMOTXlPcmdhbml6YXRp
b24xGTAXBgNVBAsTEEZPUiBURVNUSU5HIE9OTFkxEzARBgNVBAMTCkNlcnRHZW5DQUIwHhcNMTIw
NjI2MTEyMjM4WhcNMjcwNjI3MTEyMjM4WjB7MQswCQYDVQQGEwJVUzEQMA4GA1UECAwHTXlTdGF0
ZTEPMA0GA1UEBwwGTXlUb3duMRcwFQYDVQQKDA5NeU9yZ2FuaXphdGlvbjEZMBcGA1UECwwQRk9S
IFRFU1RJTkcgT05MWTEVMBMGA1UEAwwMdnNvbHYtZGUtMjI0MFwwDQYJKoZIhvcNAQEBBQADSwAw
SAJBALcEvvxiYtHI/Hhqz1ftNTFsqkNh0kbk7JqnQ569OmiTZYwiIPUM1xggYAUfeJGXJ/jcBycR
0iyXrvxMyMgXF3kCAwEAATANBgkqhkiG9w0BAQQFAANBAA7zQ0oy3AM/N6Pzt4jMF3pHBtvtZk+2
ay+Ce+0HPozcELKGySgy9bo/R7v7SJr6PGA1RlM4lZdkAk8xgHbRzuY=
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature><saml:Subject><saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" NameQualifier="idprec.com">weblogic</saml:NameID><saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"><saml:SubjectConfirmationData InResponseTo="_0x75109051ae8761fe4f2e862fd2dbe869" NotOnOrAfter="2012-08-16T07:15:08.260Z" Recipient="https://sp.com:7006/saml2/sp/acs/post"/></saml:SubjectConfirmation></saml:Subject><saml:Conditions NotBefore="2012-08-16T07:13:08.260Z" NotOnOrAfter="2012-08-16T07:15:08.260Z"><saml:AudienceRestriction><saml:Audience>https://sp.com:7006/saml2</saml:Audience></saml:AudienceRestriction></saml:Conditions><saml:AuthnStatement AuthnInstant="2012-08-16T07:13:08.260Z"><saml:AuthnContext><saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml:AuthnContextClassRef></saml:AuthnContext></saml:AuthnStatement><saml:AttributeStatement><saml:Attribute Name="loginid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">mylogin</saml:AttributeValue></saml:Attribute><saml:Attribute Name="role" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">value</saml:AttributeValue></saml:Attribute></saml:AttributeStatement><saml:AttributeStatement><saml:Attribute Name="Groups" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">Administrators</saml:AttributeValue></saml:Attribute></saml:AttributeStatement></saml:Assertion></samlp:Response>>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Service> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188464> <BEA-000000> <<samlp:Response> is signed.>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2IdentityAsserterProvider: start assert SAML2 token>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2IdentityAsserterProvider: SAML2IdentityAsserter: tokenType is 'SAML2.Assertion.DOM'>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: Start verify assertion signature>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: The assertion is signed.>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: End verify assertion signature>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: Start verify assertion attributes>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: End verify assertion attributes>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: Start verify assertion issuer>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: End verify assertion issuer>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: Start verify assertion conditions>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: End verify assertion conditions>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: Start verify assertion subject>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2Assert: End verify assertion subject>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188479> <BEA-000000> <SAML2NameMapperCache.getNameMapper: Not found name mapper in the cache, try to create one>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <SAML2Assert.processAttributes - processAttrs: true, processGrpAttrs: true>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <SAML2Assert.processAttributes - NumOfAttrStatements: 2
SAML2AttributeStatement - NumOfAttrs: 2
attrName=loginid, attrNameFormat=urn:oasis:names:tc:SAML:2.0:attrname-format:basic, attrFridentlyName=null, NumOfAttrValues=1
value=mylogin
attrName=role, attrNameFormat=urn:oasis:names:tc:SAML:2.0:attrname-format:basic, attrFridentlyName=null, NumOfAttrValues=1
value=value
SAML2AttributeStatement - NumOfAttrs: 1
attrName=Groups, attrNameFormat=urn:oasis:names:tc:SAML:2.0:attrname-format:basic, attrFridentlyName=null, NumOfAttrValues=1
value=Administrators
>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <SAML2Assert.processAttributes - Attributes will be stored in ContextHandler's ContextElement named com.bea.contextelement.saml.AttributePrincipals>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <SAML2Assert.processAttributes - #NumOfMappedAttributes: 2>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <SAML2Assert.createNameMapperInfo - attrName=Groups, attrNameFormat=urn:oasis:names:tc:SAML:2.0:attrname-format:basic, attrFridentlyName=null, NumOfAttrValues=1
value=Administrators
>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <SAMLIACallbackHandler: SAMLIACallbackHandler(true, weblogic, [Administrators])>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Atn> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <SAMLIACallbackHandler: callback[0]: NameCallback: setName(weblogic)>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Service> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <Using redirect URL from request cache: 'https://sp.com:7006/sp/index.jsp'>
####<Aug 16, 2012 12:43:08 PM IST> <Debug> <SecuritySAML2Service> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345101188495> <BEA-000000> <Redirecting to URL: https://sp.com:7006/sp/index.jsp>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param verbose initialized to: true>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param packagePrefix initialized to: jsp_servlet>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param compilerclass initialized to: null>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param compileCommand initialized to: javac>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param compilerval initialized to: javac>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param pageCheckSeconds initialized to: 1>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param encoding initialized to: null>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param superclass initialized to null>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: param workingDir initialized to: C:\Oracle\Middleware\user_projects\domains\sp_domain\servers\AdminServer\tmp\_WL_user\sp\whuuni>
####<Aug 16, 2012 12:43:08 PM IST> <Info> <ServletContext-/sp> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345101188510> <BEA-000000> <JspServlet: initialization complete>
####<Aug 16, 2012 12:43:17 PM IST> <Info> <Health> <vsolv-de-224> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <> <1345101197854> <BEA-310002> <57% of the total memory in the server is free>
Thanks.

Similar Messages

  • Error occurred in deployment step 'Activate Features': Feature 'myfeature guid' is Site-scoped, and cannot be added to the Web.

    Error occurred in deployment step 'Activate Features': Feature 'e3d788e6-994d-446c-afbb-25ecf9907aeb' is Site-scoped, and cannot be added to the Web.
    ========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
    Hi,
     I have added a new eb part in my already existing SP solution.  but when I added 2 new web parts into this solution and trying  to depoy the same, am getting this error.
    can anybody pls help what am missing.
    the below is my feature manifest:
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="BApprove_Feature" Id="e3d788e6-994d-446c-afbb-25ecf9907aeb" Scope="Site"></Feature>
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
    <Module Name="BApprove" List="113" Url="_catalogs/wp">
    <File Path="BApprove\BApprove.webpart" Url="BApprove.webpart" Type="GhostableInLibrary" >
    <Property Name="Group" Value="Custom" />
    </File>
    </Module>
    </Elements>

    Hi SamolPP,
    Did you already have a look at following similar post?
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/a2af97c8-62db-4194-9fc5-cce6bc7e5d71/content-deployment-error-feature-is-site-scoped-and-cannot-be-added-to-the-web
    Hope this helps

  • Weblogic SAML2 Custom Credential Name Mapper Problem

    HI All
    I Have configured both the Identity Provider and SP in the same machine but in the different domains. It is working without any issues when it is configured with default Credential Name mapper .
    Since I was in need to add custom attributes in the assertion ,I have written a test custom credential name mapper as it is mentioned in the programming weblogic security document , made that Jar available in the system class path and configured successfully the Name mapper class name attribute under the Credential Mapping provider in the admin.
    But when i run the application , after getting credentials There was an ArrayStore exception occurred when it is trying to generate the assertions.
    please have a look at the following logs and give your valuable inputs.
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835090> <BEA-000000> <SAML2CredentialMapper: getCredentials: Subject initiator>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835090> <BEA-000000> <SAML2CredentialMapper: getCredentials(Subject): getCredentialInternal() called>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835090> <BEA-000000> <SAML2CredentialMapper: getCredentialInternal(): requestor = Subject: 2
         Principal = class weblogic.security.principal.WLSUserImpl("weblogic")
         Principal = class weblogic.security.principal.WLSGroupImpl("Administrators")
    >
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835090> <BEA-000000> <SAML2CredentialMapper: getCredentialInternal(): initiator = Subject: 2
         Principal = class weblogic.security.principal.WLSUserImpl("weblogic")
         Principal = class weblogic.security.principal.WLSGroupImpl("Administrators")
    >
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835090> <BEA-000000> <SAML2CredentialMapper: getCredentialInternal(): resource = type=<adm>, category=Credential Mapping, realm=realm, action=SAML2>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835090> <BEA-000000> <SAML2NameMapperCache.getNameMapper: Not found name mapper in the cache, try to create one>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835121> <BEA-000000> <SAML2CreateAssertion: Mapped subject 'Subject: 2
         Principal = class weblogic.security.principal.WLSUserImpl("weblogic")
         Principal = class weblogic.security.principal.WLSGroupImpl("Administrators")
    ' to: username='weblogic',qualifier='idprec.com',format='urn:oasis:names:tc:SAML:2.0:attrname-format:basic'>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835121> <BEA-000000> <SAML2CreateAssertion.getSAML2Assertion - attrStateInfo: [SAML2AttributeStatement - NumOfAttrs: 2
        attrName=loginid, attrNameFormat=urn:oasis:names:tc:SAML:2.0:attrname-format:basic, attrFridentlyName=null, NumOfAttrValues=1
          value=mylogin
        attrName=b, attrNameFormat=urn:oasis:names:tc:SAML:2.0:attrname-format:basic, attrFridentlyName=null, NumOfAttrValues=1
          value=value
    ]>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835121> <BEA-000000> <SAML2CreateAssertion: Groups attribute statement requested and group info is present>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835121> <BEA-000000> <SAML2CreateAssertion: Creating urn:oasis:names:tc:SAML:2.0:cm:bearer assertion>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835121> <BEA-000000> <SAML2CreateAssertion: Assertion IS signed>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835121> <BEA-000000> <SAML2CreateAssertion: KeyInfo IS NOT supplied>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835121> <BEA-000000> <AttrStmtInfo IS supplied>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835137> <BEA-000000> <SAML2CreateAssertion.generateSAML2Assertion - attributeOnly? false>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835137> <BEA-000000> <SAML2CredentialMapper: getCredentialInternal(): Exception while generating assertion credential: java.lang.ArrayStoreException>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2CredMap> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835137> <BEA-000000> <SAML2CredentialMapper: getCredentialInternal(): Returning null credential>
    ####<Jul 25, 2012 4:43:55 PM IST> <Debug> <SecuritySAML2Service> <vsolv-de-224> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343214835137> <BEA-000000> <[Security:096578]Can't generated assertion for the user.
    com.bea.security.saml2.service.SAML2DetailedException: [Security:096578]Can't generated assertion for the user.
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.getAssertionForUser(SSOServiceProcessor.java:403)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.sendResponse(SSOServiceProcessor.java:355)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.loginReturn(SSOServiceProcessor.java:234)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.process(SSOServiceProcessor.java:95)
    Thanks

    Dear all
    It has been resolved after I have done the following.
    In the CustomCredentialNameMapper , in the mapSubject method.
    I have passed the Set of <String> type as Grounames instead the Set of <WLSGroup> to the SAML2NameMapperInfo . They are expecting the Set<String> it seems.
    Thanks.
    Edited by: ravi_orcl on Aug 31, 2012 4:06 AM
    Edited by: ravi_orcl on Aug 31, 2012 4:07 AM

  • Custom fields to be added to the result list through AET

    Hi All,
               I have to add the custom fields to the Result list of the Ibase. I came to know that this can be achieved through the AET(application enhancement tool). I have done the following steps
    1. I  enabled the AET through personalization settings and i clicked on the show configurable area icon.
    2.I have chosen the reult view for which custom field (Zfield)  has to be added.
    3.One pop-up came, but the 'Create New Field' Button is in disable mode.
    Because of this i am not able to add the customi fields to the result list. Please provide me the solution to overcome this issue.
    Regards,
    Lakshman.P

    Hi,
    it is not recommended to create custom field manually. Adding a new field in a BOL structure is not enough. Because you need also the field in the database and maybe also in other structures, i.e. Middleware.
    As far as I know AET is able to enhance IBASE application. In the Config Tool, AET tries to determine which enhanced business object is relevant for the current application(in your case IBASE application). When AET is able to determine an enhanced business object, it will activate the "Create New Field".
    The determination of enhanced business object is based on the UI object type that is set in IBASE application.
    You need to make sure 2 points here.
    1. IBASE application has to set UI object type. Use tab to get the focus in any button of the view that you want to enhance, than press F2. You will get a popup and it shows a field "Object Type(Searched For)". That is the UI object type which is set by the application.
    2. Go to SE11 and open the UI object type table (BSP_DLC_OBJ_TYPE). Search for this object type which is set by the IBASE application and see whether the given result has also an EXT_BO. EXT_BO in this case is the enhanced business object which is used by AET.
    If you do not come any further, please create a CSN message.
    Regards,
    Steve

  • SAP Version to be added in the subject line while posting a question.

    Hi,
    We all have been posting and answering thousands of questions on the SDN. Many times I have seen moderators asking the person who posted a question to use a correct and informative subject line.
    With respect to that, I would like to suggest the moderators to add a rule in the rules of engagement asking the users to provide the SAP Version in the subject line while posting questions.
    This way the person answering the question can appropriately provide information based on that version only and would save the time and effort of everyone.
    Example subject line can be :
    ECC 6.0 Function module xyz is not returning correct results.
    I would like to know the opinion of other users too on what they think about this suggestion.
    Best regards,
    Advait

    In theory - a very good idea.
    In practice - hard to enforce.
    On second thoght, it could be a required parameter. It might have the added benefit of dissuading questions from people who can't figure out which version they have
    Rob
    Edited by: Rob Burbank on Jan 16, 2009 3:56 PM

  • Why is "[SPAM]" being added to the subject line on all my sent emails? see below

    [SPAM] Fwd: Help your friends recognize you

    Thunderbird does not use the word spam or modify subject lines. Look at your antivirus, and spam software or your providers spam filters.

  • New field (Customer group 5) to be added to the Catalog for Pricing.

    Hello friends,
    For the creation of a new Condition table, I require the field, KNVV-KVGR5 i.e Customer group 5 field present in Sales area data ->Extras -> Additional data in Customer master to be added to the Catalog of allowed fields since this field does not exist anywhere.
    I have already gone thru the threads available on adding New field for Pricing which has an example/detailed explanation with the Item category (PSTYVV) field.
    But the field I want i.e KNVV-KVGR5, is a part of Master data, so please guide me with the steps to follow to add this field in the field catalog and hence use it for creation of a new condition table.
    1) Should i add this field in KOMP (i.e item) or KOMK ( i.e Header) or KOMG?
    2) Should i include it in KOMKAZ or KOMPAZ?
    3) Should i create this field as data element or structure and what should be the domain used?
    4) For the value flow, should i use the Item -level user-exits or Header level mentioned in other threads?
    Please guide for the same urgently.

    Dear Friends,
    I was finally able to create a new field for Cust.grp.5 i.e ZZKVGR5 and added to Catalog to be used for Pricing.
    Then i faced a peculiar issue as below:
    For the business requirement, we defined a new tax condition table for determination of tax rates. For this, we are using both standard and custom fields to derive the correct tax rates in sales/billing documents like below
    A859: Country/Distr. Chl/Cust.grp.5/Material (Here Customer.grp 5 was added following the SAP Note: 531835)
    The field was inserted in the communication structure KOMKAZ which is included in both KOMK and KOMP.
    During the document processing, the pricing analysis view shows no value in the customer grp 5 field, though it is maintained for the customer used in the sales order. The code has been written in MV45 and RV60 both as guided in SAP Note: 531835. But the values are not flowing.
    Solved the above problem as below:
    M posting the answer to help the community for similar issue.
    Also, the new field tat i had added was Customer Grp 5 field of Customer master ->Extras->Additional field and I wanted the value to flow in the ZZKVGR5 field before the Pricing for the sales order was called.
    After trying all, we have finally fetched the value from KNVV-KVGR5 and got it moved to ZZKVGR5 field through ABAP coding.
    After this when i select/click on Pricing for a particular item, it gets picked up correctly and properly.
    Thanks to everyone for their valuable guidance and help.
    Regards to all.

  • How to store Custom principal in Oracle ADF security Framework

    Hi guys, hope somebody will help me out.
    I am facing the following issue, i need to have a custom principal instance after oracle adf security frame work does authenticate and authorize user.
    My custom principal instance should have per say addition attribute, say clientId. I am using Jdeveloper 11.1.2.4 and i setup weblogic to use ReadOnlySQLAuthenticator(it does most of desired functionality).
    As far as i get it, i would have to implement a custom provider to have a chance to implement a custom LoginModule, so i can set it up to use my custom principal, am i right ? and i am not sure how ReadOnlySQLAuthenticatorImpl that i chose in weblogic is bound to
    DBMSAtnLoginModuleImpl (i mean how does it knows what LoginModule should it use) and if i can , how can i make  ReadOnlySQLAuthenticatorImpl  use my custom LoginModule.
    Sorry if i violated forum rules.

    and i am not sure how ReadOnlySQLAuthenticatorImpl that i chose in weblogic is bound to
    DBMSAtnLoginModuleImpl (i mean how does it knows what LoginModule should it use)
    This info is returned by getLoginModuleConfiguration(): AuthenticationProvider (BEA WebLogic Server 10.0 API Reference)
    Dario

  • Associate a custom Principal with a request??

    I�m trying to get a grip about the security model for J2EE applications.
    Today im working on a webapplication where I want to be able to restrict resources via declaritve or programatically access to any resource defined (files, webpages, methods.)
    We use a LDAP directory for authentication (Novell eDirectory) but today we just initialize a user object that does�nt conform to the security model of J2EE.
    I understand (hopefully) that our authenticated user should be represented of a object of type java.security.Principal, but how do i associate a custom Principal object with the Http request that the user invokes?
    Niclas

    hi sri,
    thx for the information. i am ok with implementing the custom registry. i am also working on some server side acl stuff for programmatic authorization inside a container. for this i need to return a my own implementation of a principal in the getUserPrincipal() class. in weblogic and tomcat i am able to get them to return me my own principal implementation. i didnt see any mechanism by which i could do that in websphere. so the question. also i want both the servlet and the ejb containers to return me my implementation of the principal. any advice.
    regards
    vijay
    hey Vijay,
    Interesting you ask about WebSphere. i am currently
    working on WebSphere, and the way that we implemented
    Authentication is this :
    We had to write our class implementing the
    CustomRegistry interface in WebSphere. The
    CustomRegistry facility in WebSphere allows you to use
    any system you like to store the users and groups. The
    things yo need to do for this is:
    1)Create a Java Class that implements the
    CustomRegistry interface (com.ibm.websphere.security
    package) All the methods must be implemented.
    2)Select the Custom pluggable registry option in
    WebSPhere ADmin console Security Center, and select
    the class that was created in step 1.
    3)The websphere security server calls the
    CustomRegistry methods to perform authentication for
    the applications.
    Well, so now this is Container Managed Authentication.
    After authentication, the the information is made
    available thru the APIs supported by the application
    server -in all the containers managed by the server.
    For example, after successful authentication, the
    user's login name is made avaialble through the
    request.getUserPrincipal().getName() method from
    within the Web or EJB Containers. This info need not
    be passed in the application, it is automaitcally
    avaialble through the container.
    Here are some documents/websites that have
    informations. OK some of these are really based on
    AS/400 and Z/OS, but it would help to give an idea.
    Let me know if you need more information or need it to
    be explained more, and i will be glad to do so. I
    really learnt a lot about Container managed
    authentication done on WebSphere , and am excited
    about it ;-)
    http://www.redbooks.ibm.com/redpieces/pdfs/redp3664.pdf
    http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246520
    pdf
    http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246846
    pdf
    http://publib7b.boulder.ibm.com/wasinfo1/en/info/aes/ae
    welc_security.html
    Good Luck!!
    Sri.

  • The import weblogic.utils.collections.MultiMap cannot be resolved

    Hi,
    I imported a project from weblogic to eclipse. I'm getting the below mentioned error
    "The import weblogic.utils.collections.MultiMap cannot be resolved "
    Added the necessary weblogic jar files to the project in eclipse.
    Kindly help me.
    Thanks in advance.

    Please Close this thread and reopen it in
    Oracle Discussion Forums » Application Server » WebLogic Server - General

  • Error: 28005, Severity: 16, State: 2...An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impe

    I've seen some similar questions, but want to make sure I can get an answer quickly and how to fix.
    Thanks,
    Paul
    spid24s     Error: 28005, Severity: 16, State: 2
    spid24s     An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated,
    or you do not have permission.

    Hi Paul,
    I also had the same error on one of my servers, and it was because the user that created the database no longer worked for the company.
    So when his AD account got deleted, the database had NULL as owner
    Using the following query I asked for the owners of the databases:
    select name, suser_sname(sid) from master.dbo.sysdatabases
    So changing the owner of the databases that had a NULL owner solved the issue for me.
    use <databasesname>
    go
    exec sp_changedbowner 'sa'
    Thanks for triggering the solution.
    Peter

  • Error parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta name="generator" content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Transform</title>
    <link type="text/css" rel="stylesheet" href="css/CascadeMenu.css">
    </head>
    <body id="Bdy">
    Hello all, I've run into a perplexing problem with a new and unexptected error on a web application that resides in a JDeveloper 11g environment. I just run it from JDeveloper on my laptop. No deployement other than to the default server at run time Integratedweblogicserver. I am doing an XML transform using XSLT and it has been working fine until I tried to use the page yesterday. I get the following error. javax.servlet.ServletException: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417) at jsp_servlet.__transform._jspService(__transform.java:109) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) 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:292) at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94) 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.doFilter(JpsAbsFilter.java:138) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at oracle.xml.jaxp.JXSAXTransformerFactory.reportConfigException(JXSAXTransformerFactory.java:759) at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:371) at oracle.xml.jaxp.JXSAXTransformerFactory.newTransformer(JXSAXTransformerFactory.java:272) at weblogic.xml.jaxp.RegistryTransformerFactory.newTransformer(RegistryTransformerFactory.java:209) at org.apache.taglibs.standard.tag.common.xml.TransformSupport.doStartTag(TransformSupport.java:145) at jsp_servlet.__transform._jsp__tag2(__transform.java:223) at jsp_servlet.__transform._jspService(__transform.java:102) ... 25 more Caused by: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:357) ... 30 more ------------------------------------------------ I changed no code or moved any XML or XSLT file. I do see an error in the log regarding a bad URL ----------------------------------------------- XML-22108: (Error) Invalid Source - URL format is incorrect. XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). &lt;[ServletContext@10343785[app:QSBQAR module:QSBQAR-QSBQAR-context-root path:/QSBQAR-QSBQAR-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@699744[ GET /QSBQAR-QSBQAR-context-root/Transform.jsp?reqtype=1 HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: en-us User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; . ------------------------------ Here is the XML ------------------------------ <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    ACME Bird Seed Co. Capture the Road Runner using a boulder, rope and bird seed. Quinn Brian 00 00 00 00 00 00 00 00 00 11 08 08 08 08 00 43 43 Hours have been approved. APPROVED Smart Jean 00 00 00 00 00 00 00 00 00 Hours approved. APPROVED --------------------------------------------------------------------------------------- Here is the XSL --------------------------------------------------------------------------------------- <?xml version="1.0" encoding="windows-1252"?>
    <!-- Root template -->
    <h2>Project Hours Worked</h2>
    ----------------------------------------------------------------------------------------- Here is the JSP with the transform ----------------------------------------------------------------------------------------
    <table>
    <tr>
    <td>Week Ending Date:--</td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th>Client</th>
    <td></td>
    <th>Project</th>
    <td></td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th>Last Name</th>
    <th>First Name</th>
    <th>Task</th>
    <th>---</th>
    <th>Sun</th>
    <th>Mon</th>
    <th>Tue</th>
    <th>Wed</th>
    <th>Thu</th>
    <th>Fri</th>
    <th>Sat</th>
    <th>---</th>
    <th>Ttl</th>
    </tr>
    <tr>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td>---</td>
    <td>---</td>
    <td></td>
    <td>---</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td>---</td>
    <td></td>
    </tr>
    <tr>
    <td>Total Hours: </td>
    <td></td>
    <td></td>
    </tr>
    <%@ page contentType="text/html;charset=windows-1252"%><%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %></table>
    <script type="text/javascript" src="scripts/CascadeMenu.js">
    </script>
    <% int bad = 1; %>
    <div id="menuBar" class="menuBar">
    <div id="Bar1" class="Bar">Home</div>
    <div id="Bar3" class="Bar">Accounting</div>
    <div id="Bar4" class="Bar">Help</div>
    </div>
    <div style="background:#84ffff; color:Aqua; "><br>
    <br>
    <p style="color:Orange; font-size:x-large; font-style:italic; font-weight:bold;
    font-family:Arial, Helvetica, sans-serif; "><img src="images/logoqsq.jpg" style="border:1" height="120" width="120" alt="Q Squared">
    </p>
    </div>
    <div>
    <p style="color:Black; font-size:x-large; font-style:italic; font-weight:bold; font-family:Arial, Helvetica, sans-serif;"><img src="images/dilbert.gif" alt="Dilbert" height="100" width="100">
    ? ? Welcome to Q Squared-Brian Quinn Consulting - Manager Time Approval</p>
    </div>
    <div>
    <table width="100%" class="table1">
    <tr>
    <td style="width:15%; border-width:medium; background-color:silver ">
    <h3>Contractor Resources</h3>
    <ul style="list-style-type:circle; ">
    <li>Time Entry</li>
    <li>Profile</li>
    </ul>
    <h3>Manager Resources</h

    LOL - I didn't think about the forum message area having trouble displaying my XML XSLT problem
    It seemed to mix the code with the site XML.
    Oh brother
    The deal is this.
    The XML XSLT transform was working and now it is not and I think it has something to do with
    the HTTP links for either the Oracle core and/or XML TAGLIBs. Either that or the W3.org has
    outdated XSLT http links.
    Anyone know if changes have been made to any of these taglib links?
    This in the JSP
    <!--
    <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
    <c:import url="./HoursWorked3.xsl" var="xslt" charEncoding="windows-1252"/>
    <x:transform xml="${xmlHoursWorked}" xslt="${xslt}" />
    -->
    This in the XSL
    <!--
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    -->
    And the other JSP having the same problem.
    <!--
    <%@ page contentType="text/html;charset=windows-1252"
    import="java.util.List, qsbqar.XMLHandler, org.w3c.dom.NodeList,
    javax.xml.transform.*, javax.xml.transform.stream.*,
    org.w3c.dom.Node, oracle.xml.parser.v2.*, java.io.File,
    java.io.FileReader " %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
    <xsl:param name="employeeID" value="2"/>
    <%session.setAttribute("employee_ID", request.getParameter("consultantID")); %>
    <c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
    <c:import url="./HoursWorked4.xsl" var="xslt" charEncoding="windows-1252"/>
    <x:transform xml="${xmlHoursWorked}" xslt="${xslt}">
    <x:param name="employeeID" value="${sessionScope.employee_ID }"/>
    </x:transform>
    -->
    Edited by: B of Carbon on Dec 19, 2010 12:25 AM

  • Error occurred in deployment step 'Activate Features': Feature with Id 'GUID' is not installed in this farm, and cannot be added to this scope.

    Really frustrated!!! Using SP 2010 with VS 2010. Created a simple project with just 1 elements.xml file for adding 2 columns. Scope of the feature is "Site". When I right click and deploy it gives below error.
    Error occurred in deployment step 'Activate Features': Feature with Id 'GUID' is not installed in this farm, and cannot be added to this scope.
    If I look at the CA, I see the wsp is installed but NOT deployed (Status = "Not Deployed", "Deployed To" = None). I have checked the GUID in the error and its my feature id.
    Please let me know what is going wrong here! Thanks for your help.
    Please mark as 'Propose as Answer' or 'Vote' as appropriate.

    Hi Sagir,
    Try to check the GUID in error message to see if it’s in Feature1.Template.xml file.
    For more information, please refer to
    http://markviky.blogspot.com/2010/09/error-while-activating-feature.html
    http://alltoft.wordpress.com/2011/06/13/sp2010-error-occurred-in-deployment-step-activate-features/
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • I connected my iPad to my iMac and in iTunes I went to Apps File Sharing and added a video on my iMac to iPhoto on the iPad.   I cannot find the video that I added to the iPad. I looked in iPhoto and the camera roll. Any ideas? (BTW, this is a video whi

    I connected my iPad to my iMac and in iTunes I went to Apps > File Sharing and added a video on my iMac to iPhoto on the iPad.
    I cannot find the video that I added to the iPad. I looked in iPhoto and the camera roll. Any ideas? (BTW, this is a video which I previously had on the iPad but deleted and now I want to add it back.)

    Thanks for your reply. I looked in the Video app but it is empty. When I connect the iPad to iTunes on the iMac and look in  Apps > File Sharing > iPhoto, the video that I added is in iPhoto on the iPad but I cannot actually find the video in iPhoto on the iPad.

  • Customizing Audit Log Report - Adding/Removing Columns from Display

    Hi All -
    Has anyone tried adding/removing the columns from Out of Box Auditi Log report with minor customizations to the code/configuration files ? Right now , when the Audit Log report is executed, there are numbe of columns that appear on report (Server, Client IP etc) which are too technical for the client and requirement is remove some of these and add some more for the attributes that we are audit logging through Audit workflow service. If you have done something similar in the past, please provide me with some inputs. Any sample code, examples will be highly appreciated.

    Hello Gurus,
    I also have same kind of requirement.WE have to send a monthly report to customer where number of users created and deleted to be given to them.
    Its urgent.Please help
    Thanks in advance

Maybe you are looking for