WebLogic 12c custom Credential Mapper

I have developed a custom Credential Mapping Security Provider using the instructions here -
http://docs.oracle.com/cd/E24329_01/web.1211/e24486/design.htm#i1135866
I have followed these steps:
1) Created custom MDF file SIDCredentialMapperV2.xml in mbean/mdf
2) Copied commo.dtd to mbean/mdf
3) Executed MBeanMaker using command
java -DMDF=mdf\SIDCredentialMapperV2.xml -Dfiles=generated -DcreateStubs=true -DpreserveStubs weblogic.management.commo.WebLogicMBeanMaker
4) Edited file generated\SIDCredentialMapperV2Impl.java to implement following methods
public CredentialMapperV2 getCredentialProvider
public void initialize(ProviderMBean providermbean, SecurityServices securityservices)
public String getDescription()
public void shutdown()
public Object getCredential(Subject subject, String s, Resource resource, ContextHandler contexthandler, String s1)
public Object[] getCredentials(Subject subject, Subject subject1, Resource resource, ContextHandler contexthandler, String s)
5) Executed MBeanMaker using command
java -DMJF=jar\sidCredentialMapperV2.jar -Dfiles=generated -DIncludeSource weblogic.management.commo.WebLogicMBeanMaker
6) Copied sidCredentialMapperV2.jar to <MW_HOME>\wlserver\server\lib\mbeantypes
7) Configured an instance of the SIDCredentialMapperV2 on the default realm using Admin Console where I'm told to restart after updating configuration.
After restarting server I get the following error:
weblogic.security.service.SecurityServiceRuntimeException: [Security:090877]Service Common CredentialMappingService unavailable, see exception text: com.bea.common.engine.ServiceInitializationException: com.bea.common.engine.SecurityServiceRuntimeException: *[Security:097534]Failed to obtain an instance of class com.ing.sid.wls.SIDCredentialMapperV2Impl*.
     at weblogic.security.service.CredentialManager.initialize(CredentialManager.java:107)
     at weblogic.security.service.CredentialManager.<init>(CredentialManager.java:65)
I have verified that com.ing.sid.wls.SIDCredentialMapperV2Impl.class is in the sidCredentialMapperV2.jar and I've tried various methods to add the jar to the classpath, but nothing seems to work. Anyone have any suggestions to make my custom Credential Mapping security provider visible to the WebLogic CredentialManager?
Regards,
Avery D.
Edited by: 926717 on Feb 19, 2013 12:58 PM

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

Similar Messages

  • 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

  • Weblogic 12c exam2

    Hi all, Does exactly know the answer to the following question.? Thanks
    Q. A customer has a development environment that uses the auto-deployment feature. The customer
    claims the application is not redeployed even if the new version is copied to an application
    subdirectory. Which two parameters of the configuration should you check?
    A. Checkif archive file in the compressed version has a new REDEPLOYfile.
    B. If serverwas started in the Development Mode. Auto-deploymentisnot supported in production
    mode.
    C. If the application includes anEJB 3module. Auto-deployment is not supported forEJBs.
    D. You changeJVM from HotSpot to JRockit. Auto-deployment is not supportedin HotSpot auto
    deployment.
    E. If the domain is a single-server domain. Auto-deployment is not supported in
    multiserverdomains.
    Q. A customer has a critical, performance-sensitive web application that connects to a multimode
    Oracle RAC database. Which feature of WebLogic can provide signification benefit?
    A. The Web Session Affinity feature of Active GridLink for RAC.
    B. WebLogic Clustering
    C. The Transaction Affinity feature of Active GridLink for RAC
    D. Coherence*Web Session Replication
    Q. What is the architectural benefit of keeping WebLogic Server transaction log in the database?
    A. Oracle does not allow replicating files between data centers, so keeping transaction log in
    database allows for replication.
    B. Many transactions in WebLogic are database centric, so keeping log in database makes Two
    Phase Commit protocol possible.
    C. It obviates the need to keep in sync two replication technologies (file and database) between
    data centers. The single replication technology is used for frequently changing data.
    D. Transaction log in a file system is extremely slow so it cannot beefficiently replicated.
    Q. Which two options best describe how the Maven Plugin for WebLogic enables WebLogic to be
    effectively used in a Continuous Integration environment?
    A. execution of unit and integration tests
    B. management of the life cycle of a WebLogic domain including creation, configuration, and
    server life-cycle management
    C. deployment and undeployment of applications
    D. Java profiling
    Q. A customer needs to analyze an application that was developed for Oracle Application Server
    10gR2 or 10gR3 (OC4J) in order to prepare to upgrade the infrastructure to WebLogic 12c.
    customer wants understand the changes required to be made to the application and how to
    configure WebLogic in to support the newly upgraded application.
    Which three actions would you recommend for upgrading the customer's application and server
    configuration?
    A. Use Oracle Upgrade Managerto create a new WebLogicdomain template from an
    OAS/OC4Jinstallation and redeploy the application.
    B. Use SmartUpgrade to analyze the OAS/OC4Jserver configuration and create
    WebLogicconfiguration files.
    C. Use SmartUpgrade to analyze the application archive (EAR/WAR/JAR) Source Directory
    orIDeveloperprojectand generate a report that describes the areas of the application that need
    tobe updated.
    D. Use the Configuration Wizard toextend an existing WebLogic domain with OAS/OC4Jsupport
    libraries and redeploy theapplication.
    E. Use SmartUpgrade to generate application artifacts and deployment descriptors that can
    bedeployed to WebLogic.

    Hi, I have checked your question and answer. And I agree with you.
    Q. A customer has a development environment that uses the auto-deployment feature. The customer
    claims the application is not redeployed even if the new version is copied to an application
    subdirectory. Which two parameters of the configuration should you check?
    -OK I Agree - Answer :
    E. If the domain is a single-server domain. Auto-deployment is not supported in
    multiserver domains.
    B. If server was started in the Development Mode. Auto-deployment is not supported in production
    mode.
    Q. A customer has a critical, performance-sensitive web application that connects to a multimode
    Oracle RAC database. Which feature of WebLogic can provide signification benefit?
    Maybe I'm not sure - Answer:
    A. The Web Session Affinity feature of Active GridLink for RAC.
    The above feature would maintain stickiness to the web session to the RAC Node.
    It is a new feature in WLS 12c and helps to enhance performance of web applications specifically.
    Q. What is the architectural benefit of keeping WebLogic Server transaction log in the database?
    -OK I Agree - Answer :
    C. It obviates the need to keep in sync two replication technologies (file and database) between
    data centers. The single replication technology is used for frequently changing data.
    Q. Which two options best describe how the Maven Plugin for WebLogic enables WebLogic to be
    effectively used in a Continuous Integration environment?
    -OK I Agree - Answer :
    B. management of the life cycle of a WebLogic domain including creation, configuration, and
    server life-cycle management
    C. deployment and undeployment of applications
    Q. A customer needs to analyze an application that was developed for Oracle Application Server
    10gR2 or 10gR3 (OC4J) in order to prepare to upgrade the infrastructure to WebLogic 12c.
    customer wants understand the changes required to be made to the application and how to
    configure WebLogic in to support the newly upgraded application.
    Which three actions would you recommend for upgrading the customer's application and server
    configuration?
    -OK I Agree - Answer :
    B. Use SmartUpgrade to analyze the OAS/OC4Jserver configuration and create
    WebLogicconfiguration files.
    C. Use SmartUpgrade to analyze the application archive (EAR/WAR/JAR) Source Directory
    orIDeveloperprojectand generate a report that describes the areas of the application that need
    tobe updated.
    E. Use SmartUpgrade to generate application artifacts and deployment descriptors that can
    bedeployed to WebLogic.

  • Step-by-step custom Credential Mapping using weblogic 10.3 SSPI

    Folks,
    I am trying to implement custom Credential Mapping using weblogic 10.3 SSPI. Am sure that few of you have already implemented the same. But here my questions in reagrds with the implementation
    Right now, I have below
    1.MyCredentialMapperImpl implements CredentialMapperV2
    1.Overridden getCredential and gerCredentials method.But I am not sure what are all the other methods , I should implement here.
    2.MyCredentialMapperProviderImpl implements CredentialProviderV2
    Questions.
    1.How to get ContextHandler to pass as param in MyCredentialMapperImpl -->gerCredentials method.
    2.Should I need set up a database after deploying the MBean ?
    3.How do I execute above implementation ?
    4.Can I see the SAML Token in my client ?
    If possible Please send me the step-by-step custom Credential Mapping implementation.
    Thanks in advance.
    Ravi

    Hi John,
    I would like magic of course. However, in this case I want something special: my authentication provider uses special means and contents of headers, cookies and service from external identity management systems to determine the user's identity.
    I do not want the application to present the login dialog! I want to derive the identity and the fact that the user is logged in from whatever the authentication provider returns in terms of Subject.
    Ideally, the flow is something like:
    - user accesses an unprotected resource - resource is shown, no interaction with authentication provider
    - user presses a link or button that takes him/her to a protected resource
    - the authentication provider is contacted to work with the identity asserter to establish the identity of the current user and create a subject object for this user
    - the application can access the subject and principals
    - ADF Security recognizes the identity and the roles (based on the principals) and coordinates access based on this.
    the authentication method is client certificate. presumably this prompts WebLogic/OPS to use an identity asserter to work with custom headers and cookies ("... when you configure a web application to use CLIENT-CERT authentication. In this case, WebLogic can perform identity assertion based on values from request headers and cookies. If the header name or cookie name matches the active token type for the provider, the value is passed to the provider."). No login form should be presented to the user, as all information required to perform the authentication is already available.
    I am trying to understand what I must do to have the ADF application adopt the subject set by the authentication provider - if anything?!
    If you more ideas to share - I would love to hear them.
    best regards,
    Lucas

  • SAML Credential Mapper Relying Party "Post Form"

    Hi,
    Has anybody used Custom Post Form for SAML credential Mapper Relying Party.
    If so can you pls tell the specs. It is saml V2
    I am trying like this in a html
    <input type="hidden" name="TARGET " value="ddddd" />
    <input type="hidden" name="SAML_AssertionConsumerURL" value="ddddddd" />
    <input type="hidden" name="SAML_AssertionConsumerParams" value="homogenousMap" />
    <input type="hidden" name="SAML_ITSRequestParams" value="" />
    But everytime it gives a Internal server error in the logs
    ####<Oct 13, 2008 2:16:19 PM PDT> <Debug> <SecuritySAMLService> <pd7000163> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1223932579244> <BEA-000000> <SAMLServlet (samlits): doGet(): Unexpected throwable while handling request, returning INTERNAL_SERVER_ERROR: java.lang.NullPointerException>
    I am also not finding any details about samlits servlet.
    WEblogic front line support also does not know. No weblogic documentation on the actual implementation.
    Thanks
    Vishnu

    Vishnu, you should also try cross-posting in the WLS-Security forum.
    WebLogic Server - Security

  • Null Pointer Exception while configuring SAML Credential Mapper

    Hi,
    I am trying to set up my customised SAML code for WLS 10.3. To test it , I have created a standalone suite with 2 applications,one as a source where the authentication will be through simple username and password and second as destination where the identity assertion will take place based on token generated in first app.
    So to achieve this , I am using a default SAMLCredentialMapperV2 for credential mapping at source site. But While configuring it, the management tab of the credential mapper shows null pointer exception.
    Can anyone point out whats wrong or if I am missing on anything?
    Steps to create:-
    1. Create a security realm
    2.Goto security realm ->Provider ->Credential Mapping tab.
    3.Create a credential mapper of type SAMLCredentialMapperV2 and with specifications as mentioned in http://www.oracle.com/technetwork/articles/entarch/sso-with-saml3-086457.html
    4. Click on the newly created mapper and go to management tab. It throws null pointer exception which is visible on the screen.
    Log Entries are as follows:-
    <Error> <Console> <BEA-240003> <Console encountered the following error java.lang.NullPointerException
         at com.bea.common.security.saml.registry.SAMLPartnerRegistry.<init>(SAMLPartnerRegistry.java:153)
         at com.bea.common.security.saml.registry.SAMLRelyingPartyRegistry.<init>(SAMLRelyingPartyRegistry.java:26)
         at weblogic.security.providers.saml.SAMLCredentialMapperV2Impl.init(SAMLCredentialMapperV2Impl.java:65)
         at weblogic.security.providers.saml.SAMLCredentialMapperV2Impl.listRelyingParties(SAMLCredentialMapperV2Impl.java:81)
         at weblogic.security.providers.saml.SAMLCredentialMapperV2MBeanImpl.listRelyingParties(SAMLCredentialMapperV2MBeanImpl.java:206)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
         at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source)
         at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
         at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544)
         at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380)
         at $Proxy144.listRelyingParties(Unknown Source)
         at com.bea.console.actions.security.providers.SAMLCredentialMapperV2ManagementPartnersTableAction.getSAMLCredentialMapperV2Partners(SAMLCredentialMapperV2ManagementPartnersTableAction.java:60)
         at com.bea.console.actions.security.providers.SAMLCredentialMapperV2ManagementPartnersTableAction.getCollection(SAMLCredentialMapperV2ManagementPartnersTableAction.java:42)
         at com.bea.console.actions.security.ManagementBaseTableAction.execute(ManagementBaseTableAction.java:82)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
         at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:266)
         at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107)
         at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292)
         at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
         at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
         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 weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         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:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    I've got the same issue too.
    My setup is to have one domain acting as both Source and Destination.
    For every 10 seconds, I'm seeing 4 of these logs, and the CPU consumption is 100% consistently.
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials: Subject initiator>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials(Subject): getCredentialInternal() called>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentialInternal(): SAML Credential Mapper does not support credential type: weblogic.UserPassword, returns null>
    Does anyone know what's happening? I've got one of the Security Provider = Active Directory, and thus there's no password returning. Could it be the root cause of the problem?

  • Inject User Attributes into SAML Credential Mapper V2 Assertions

    We are using SAML CMV2 on 10.0 MP1 and we would like to add user attributes in SAML assertions '<attributestatement>'.
    How do we inject attribute statements in assertions?
    [url http://e-docs.bea.com/wls/docs100/dvspisec/credmap.html]
    AT:
    - Do You Need to Develop a Custom Credential Mapping Provider?
    - 3rd paragraph, 4th sentence...
    States that the AttributeStatement can be configured to house user information. I have looked all over on how I can 'configure' the SAMLCMV2 to inject the user info we want (DN, favorite color, anything).
    Any input would be great,
    Thanks!
    Edited by dejavuuuuu at 03/18/2008 5:57 AM
    Edited by dejavuuuuu at 03/18/2008 5:59 AM

    Looks like it is not available in Weblogic 10 MP1 and we might have to wait for 10.3 where you get the SAMLCredentialAttributeMapper.
    http://edocs.bea.com/wls/docs100/javadocs/weblogic/security/providers/saml/SAMLCredentialAttributeMapper.html

  • Wlconfig with custom role mapper always fails FIRST time only

    WLS 8.1 sp2.
    I have a very strange problem, where I'm "coldstarting" a server and
    configuring it, much like the ant build script for medrec. Only I have a
    custom role mapper (medrec has a custom authentication provider). Anyway,
    the first time I execute this task (after a clean), it consistently fails
    like so:
    [wlconfig] OK
    [wlconfig] OK
    BUILD FAILED
    file:P:/dgs/build.xml:186: Unable to create mbean:
    weblogic.management.MBeanCreationException: - with nested exception:
    [java.lang.ClassNotFoundException:
    weblogic.management.configuration.com.combinenet.security.CNRoleMapperProvid
    erMBean]
    (that class looks bogus to me, BTW, as my provider class is
    com.combinenet.security.CNRoleMapperProvider)
    Now, the SECOND time I execute "coldstart", which runs wlconfig, the server
    starts up fine, and my custom role mapper is loaded successfully. So,
    obviously I figured something was left around the first time which somehow
    helped matters, but the strange thing is that I delete the entire domain
    directory before "coldstarting" the server, and I also re-copy the role
    mapper provider jar into the mbeantypes directory, so I'm very puzzled. I'm
    copying the coldstart task below (and the clean).
    Can anyone tell me what's wrong with this task that would make it fail the
    first time through after a clean? Is this a bug? And why would it succeed on
    all subsequent attempts (without a clean)? I just don't see anything wrong
    with what I'm doing.
    TIA,
    Miles
    <target name="coldstart"
    description="Start a new DGS Server with an empty config"
    depends="configServerEnv,startPointBase,configPointBase,dist" >
    <delete dir="${dgs.root}" quiet="true"/>
    <mkdir dir="${dgs.root}"/>
    <wlserver
    beahome="${bea.home}"
    dir="${dgs.root}"
    domainname="${dgs.domain}"
    host="${dgs.host}"
    port="${dgs.port}"
    servername="${dgs.serverName}"
    username="${wl.username}"
    password="${wl.password}"
    productionmodeenabled="false"
    generateconfig="true"
    action="start">
    </wlserver>
    <wlconfig url="t3://${dgs.host}:${dgs.port}"
    username="${wl.username}"
    password="${wl.password}">
    <query domain="${dgs.domain}" type="Server"
    name="${dgs.serverName}"
    property="dgs.server"/>
    <create type="JDBCConnectionPool"
    name="DgsPool"
    property="dgs.pool">
    <set attribute="CapacityIncrement" value="1"/>
    <set attribute="DriverName"
    value="com.pointbase.jdbc.jdbcUniversalDriver"/>
    <set attribute="InitialCapacity" value="1"/>
    <set attribute="MaxCapacity" value="10"/>
    <set attribute="Password" value="${pointbase.password}"/>
    <set attribute="Properties" value="user=${pointbase.username}"/>
    <set attribute="RefreshMinutes" value="0"/>
    <set attribute="ShrinkPeriodMinutes" value="15"/>
    <set attribute="ShrinkingEnabled" value="true"/>
    <set attribute="TestConnectionsOnRelease" value="false"/>
    <set attribute="TestConnectionsOnReserve" value="false"/>
    <set attribute="URL" value="jdbc:pointbase:server://localhost/demo"/>
    <set attribute="Targets" value="${dgs.server}"/>
    </create>
    <create type="JDBCTxDataSource" name="DGS Tx DataSource">
    <set attribute="JNDIName" value="DgsTxDataSource"/>
    <set attribute="PoolName" value="DgsPool"/>
    <set attribute="Targets" value="${dgs.server}"/>
    </create>
    <create type="JMSConnectionFactory" name="Queue">
    <set attribute="JNDIName" value="jms/QueueConnectionFactory"/>
    <set attribute="XAServerEnabled" value="true"/>
    <set attribute="Targets" value="${dgs.server}"/>
    </create>
    <create type="JMSJDBCStore" name="DgsJDBCStore"
    property="dgs.jdbcstore">
    <set attribute="ConnectionPool" value="${dgs.pool}"/>
    <set attribute="PrefixName" value="Dgs"/>
    </create>
    <create type="JMSServer" name="DgsJMSServer">
    <set attribute="Store" value="${dgs.jdbcstore}"/>
    <set attribute="Targets" value="${dgs.server}"/>
    <create type="JMSQueue" name="Registration Queue">
    <set attribute="JNDIName" value="jms/REGISTRATION_MDB_QUEUE"/>
    </create>
    </create>
    <create type="MailSession" name="Dgs Mail Session">
    <set attribute="JNDIName" value="mail/DgsMailSession"/>
    <set attribute="Properties"
    value="mail.user=joe;mail.host=mail.mycompany.com"/>
    <set attribute="Targets" value="${dgs.server}"/>
    </create>
    <create type="StartupClass" name="StartBrowser">
    <set attribute="Arguments" value="port=${dgs.port}"/>
    <set attribute="ClassName" value="com.combinenet.test.StartBrowser"/>
    <set attribute="FailureIsFatal" value="false"/>
    <set attribute="Notes" value="Automatically starts a browser on
    server boot."/>
    <set attribute="Targets" value="${dgs.server}"/>
    </create>
    <set mbean="Security:Name=myrealmDefaultAuthenticator"
    attribute="ControlFlag" value="SUFFICIENT"/>
    <set mbean="Security:Name=myrealmDefaultAuthenticator"
    attribute="MinimumPasswordLength" value="10"/>
    <set mbean="Security:Name=myrealm"
    attribute="DeployPolicyIgnored" value="false"/>
    <set mbean="Security:Name=myrealm" attribute="DeployRoleIgnored"
    value="false"/>
    <set mbean="Security:Name=myrealm"
    attribute="FullyDelegateAuthorization" value="true"/>
    <set mbean="Security:Name=myrealm"
    attribute="AuthenticationProviders"
    value="Security:Name=myrealmDefaultAuthenticator|Security:Name=myrealmDefaul
    tIdentityAsserter"/>
    <set mbean="Security:Name=myrealm" attribute="RoleMappers"
    value="Security:Name=myrealmDefaultRoleMapper|Security:Name=myrealmCNRoleMap
    perProvider"/>
    <create type="com.combinenet.security.CNRoleMapperProvider"
    domain="Security" name="myrealmCNRoleMapperProvider"/>
    <set mbean="Security:Name=myrealmCNRoleMapperProvider"
    attribute="Realm" value="Security:Name=myrealm"/>
    <query domain="${dgs.domain}" type="Server" name="DgsServer">
    <set attribute="StdoutEnabled" value="true"/>
    <set attribute="StdoutSeverityLevel" value="64"/>
    <set attribute="ListenAddress" value=""/>
    <set attribute="ListenPort" value="${dgs.port}"/>
    </query>
    <query domain="${dgs.domain}" type="WebServer" name="DgsServer">
    <set attribute="LogFileName" value="logs/access.log"/>
    </query>
    </wlconfig>
    <copy file="${dist}/lib/dgs.ear" todir="${dgs.root}"/>
    <wldeploy action="deploy"
    source="${dgs.root}/dgs.ear"
    name="dgsapp"
    user="${wl.username}"
    password="${wl.password}"
    verbose="true"
    adminurl="t3://localhost:7001"
    debug="true"
    targets="${dgs.serverName}"/>
    <!-- unfortunately BEA's wlserver task exits when ant's jvm
    exits -->
    <sleep hours="10"/>
    </target>
    <target name="clean"
    description="Clean the build tree(s)"
    depends="init">
    <delete dir="${build}" verbose="true"/>
    <delete dir="${dist}" verbose="true"/> (dist is where the ear file is
    created)
    </target>

    g_wolfman wrote:
    Are you using Parallels?
    Wolfman, thats a good hint!
    Additional info at --> http://reviews.cnet.com/8301-13727_7-20106682-263/macbook-airs-double-booting-wi th-parallels-and-filevault-enabled/
    Thanks for the input.
    Lupunus

  • Upgrading to weblogic 12c issue with JSF

    Migrating to the Weblogic 12c faced so many issue with the shared class library. After fixing all the issue stuck with JSF and on google everywhere it was mentioned error happening due to multiple JSF version colliding.
    My whole application works like a charm in 10.3.6 but same app not working after updating the spring 4 and hibernate 4.
    This is the error I am receiving below errors ...
    <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <JSF1029: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' does not implement the InjectionProvider interface. >
    1. Cause: Unable to create a new instance of 'org.springframework.web.jsf.DelegatingVariableResolver': javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
    2. Cause: Unable to create a new instance of 'org.springframework.web.jsf.DelegatingVariableResolver': javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
        at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.process(Unknown Source)
        at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Unknown Source)
        at com.sun.faces.config.processor.LifecycleConfigProcessor.process(Unknown Source)
        Truncated. see log file for complete stacktrace
    Caused By: javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
        at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(Unknown Source)
        at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.process(Unknown Source)
        at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Unknown Source)
        Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: org.springframework.web.jsf.DelegatingVariableResolver
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
        at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        Truncated. see log file for complete stacktrace
    3. ]] Root cause of ServletException.
    java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
        at javax.faces.FactoryFinderInstance.getFactory(Unknown Source)
        at javax.faces.FactoryFinder.getFactory(Unknown Source)
        at javax.faces.webapp.FacesServlet.init(Unknown Source)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
        Truncated. see log file for complete stacktrace
    4.Error> <javax.faces> <BEA-000000> <Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.>
    <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Unexpected exception when attempting to tear down the Mojarra runtime
    java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
        at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010)
        at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342)
        at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141)
        at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:583)
        Truncated. see log file for complete stacktrace
    I had the classloader from weblogic but unable to find if there is anything related with Multiple JSF versions colliding. Here is the classloader log
    **System Classloaders**
    Type: sun.misc.Launcher$ExtClassLoader
    HashCode: 1956433926
    Classpath:
    /C:/Java/jdk1.7.0_45/jre/lib/ext/access-bridge-64.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/dnsns.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/jaccess.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/localedata.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/sunec.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/sunjce_provider.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/sunmscapi.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/zipfs.jar
    Type: sun.misc.Launcher$AppClassLoader
    HashCode: 345487281
    Classpath:
    /C:/Oracle12c/Middleware/modules/features/weblogic.server.modules_12.1.1.0.jar
    /C:/Oracle12c/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar
    /C:/Oracle12c/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar
    /C:/Oracle12c/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar
    /C:/Oracle12c/Middleware/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/common/derby/lib/derbyclient.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/weblogic.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/weblogic_sp.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/webservices.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/xqrl.jar
    /C:/Program%20Files/Java/jdk1.7.0_45/lib/tools.jar
    Type: weblogic.utils.classloaders.GenericClassLoader
    HashCode: 1277718374
    Classpath:
    **Application Classloaders**
    Type: weblogic.utils.classloaders.FilteringClassLoader
    HashCode: 929366372
    Filter: [antlr.*, antlr.collections.*, antlr.collections.impl.*, antlr.debug.misc.*, com.sun.activation.*, com.sun.istack.*, com.sun.mail.*, com.sun.xml.*, org.apache.commons.*, org.joda.time.*, org.apache.xalan.*, org.apache.xml.*, org.apache.wml.*, org.apache.xerces.*, org.apache.xpath.*, com.ctc.wstx.*, org.slf4j.*, javax.faces.*, com.sun.faces.*, com.bea.faces.*, com.sun.el.*, javax.el.*, javassist.*]
    Classpath: empty
    Type: weblogic.utils.classloaders.GenericClassLoader
    HashCode: 2137066604
    Classpath:
    **Type: weblogic.utils.classloaders.FilteringClassLoader**
    HashCode: 1212049573
    Filter: []
    Classpath: empty
    Type: weblogic.utils.classloaders.ChangeAwareClassLoader
    HashCode: 1604673952
    Classpath:
    C:\s-ear-1.0-SNAPSHOT_4
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\classes
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\FastInfoset-1.2.12.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\_wl_cls_gen.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\acegi-security-1.0.7.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\activation-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\activation.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\antlr-2.7.7.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aopalliance-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aspectjrt-1.8.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aspectjweaver-1.8.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\backport-util-concurrent-3.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\bcprov-jdk16-140.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\cacauth-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\camel-core-2.5.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\camel-josql-2.5.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps-handshake-3.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2-liquibase-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2domain-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2util-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\cloning-1.7.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-beanutils-1.8.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-codec-1.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-collections-3.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-dbcp-1.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-digester-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-httpclient-3.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-io-1.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-lang-2.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-logging-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-logging-api-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-management-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-pool-1.5.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\dom4j-1.6.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\gentlyweb-utils-1.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-commons-annotations-4.0.4.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-core-4.2.18.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-entitymanager-4.2.18.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-jpa-2.0-api-1.0.1.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-validator-4.2.0.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-ace-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-compat-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icepush-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\itext-4.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\itextpdf-5.0.6.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-core-asl-1.9.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-core-lgpl-1.9.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-mapper-asl-1.9.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jasperreports-ca-4.8.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javassist-3.18.2-GA.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.el-api-2.2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.faces-2.2.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.inject-1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jax-qname.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-api-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-impl-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb1-impl.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxp-api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxws-api-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-archive-browsing-5.0.0alpha-200607201-119.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-logging-3.1.3.GA.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-logging-annotations-1.2.0.Beta1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-transaction-api_1.1_spec-1.0.1.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jcl-over-slf4j-1.5.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jersey-bundle-1.18.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\joda-time-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\joda-time-hibernate-1.3.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\josql-1.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\josql-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\json-20140107.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr173_1.0_api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr250-api-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr311-api-1.1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jstl-1.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jta-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\log4j-1.2.14.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\mail-1.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\mail.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\objenesis-1.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\opencsv-1.7.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\oro-2.0.8.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\portlet-api-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\primefaces-3.4.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\quartz-1.8.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-api-1.3.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-impl.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\serializer-2.7.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\serializer.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\service-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\servlet.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\slf4j-api-1.5.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\slf4j-log4j12-1.5.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-aop-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-aspects-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-beans-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-context-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-context-support-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-core-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-expression-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-jdbc-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-jms-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-orm-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-oxm-3.0.5.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-security-core-4.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-tx-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-web-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-webmvc-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-ws-core-2.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-ws-security-2.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-xml-2.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\stax-api-1.0-2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\3capture-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\s-beans-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.core-3.1.0.CR10.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.jodatime-1.9.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.spi-3.1.0.CR10.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\validation-api-1.0.0.GA.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\wss4j-1.5.8.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xalan-2.7.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xercesImpl-2.8.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xercesImpl.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xml-apis.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmldsig.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmlsec-1.4.3.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmlsec.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xws-security-3.0.jar
    jsf myfaces weblogic1
    Here are links for more details.
    http://stackoverflow.com/questions/29857571/weblogic-12c-java-lang-illegalstateexception-could-not-find-backup-for-factory
    http://www.coderanch.com/t/649308/JSF/java/Faces-Servlet-failed-preload-startup
    Sorry incase question not formatted. Any suggestions appreciated.

    hi.
    I had faced this behavior on weblogic 12c(12.1.1).
    Maybe This problem was solved by 12.1.2.
    But, when text item submitted together with a upload file, multibyte characters was garbage characters.
    See Multibyte character was garbage characters, when multipart requested (Multipartリクエストで文字化けが発生する) on WebLogic12(12.1.2.0)

  • Credential mapper not working

    "Please tell where I am wrong in configuring and calling credential mapper?????
    I wanted to achieve single sign on using Credential mapping feature of weblogic server.It means using weblogic inner capability.
    I thought of getting connected to pointbase server which can act as Enterprise Information System.
    I did following steps to achieve single sign on using Weblogic Server Credential mapping feature.
    Confuration Phase:
    Step 1) I configured Examples as username and Examples as password in pointbase server which will act as my Enterprise information system.
    Step 2) I wrote one connector class for connecting to pointbase server.
    Step 3) I deploy that connector class.
    Step 4) I configured Admin as username and Admin as password in my configured security realm which will act as Weblogic User.
    Step 5) I did credential mapping in the connector class for mapping my Weblogic (Admin)
         user to EIS(Examples) user.
    Calling Phase:
    Step 1) I deploy one application to call pointbase server using the connector class.
    Step 2) I try to get the connection to pointbase server using the follwing code
         getConnection("Admin","Admin");
         Where Admin username is my weblogic user mapped to Examples user of point base server whose mapping is already done in the connector class.
         I hope it to work for getting the connection.

    "Please tell where I am wrong in configuring and calling credential mapper?????
    I wanted to achieve single sign on using Credential mapping feature of weblogic server.It means using weblogic inner capability.
    I thought of getting connected to pointbase server which can act as Enterprise Information System.
    I did following steps to achieve single sign on using Weblogic Server Credential mapping feature.
    Confuration Phase:
    Step 1) I configured Examples as username and Examples as password in pointbase server which will act as my Enterprise information system.
    Step 2) I wrote one connector class for connecting to pointbase server.
    Step 3) I deploy that connector class.
    Step 4) I configured Admin as username and Admin as password in my configured security realm which will act as Weblogic User.
    Step 5) I did credential mapping in the connector class for mapping my Weblogic (Admin)
         user to EIS(Examples) user.
    Calling Phase:
    Step 1) I deploy one application to call pointbase server using the connector class.
    Step 2) I try to get the connection to pointbase server using the follwing code
         getConnection("Admin","Admin");
         Where Admin username is my weblogic user mapped to Examples user of point base server whose mapping is already done in the connector class.
         I hope it to work for getting the connection.

  • Weblogic 12c exam

    Does any one know answers for the below questions ??
    Question 1: Which four of the following NOT included in Weblogic lighter version (WLS Zip Distribution for only development)
    A. JVM
    B. Webserver plug-in
    C. Samples
    D. Smart update
    E. Deployment plan
    Question 2: A WebLogic team is developing an enterprise application from their desktop WebLogic environment. All development systems are connected to the same eight data sources for testing. As a WebLogic Administrator supporting this team, which two actions should you perform to free the developers from creating and configuring all the data sources on their desktop WebLogic environment?
    A. Provide the team with a WebLogic domain template with the testing data sources configured.
    B. Provide the development team with a preconfigured domain archive file.
    C. Provide the development team with the [datasource] -jdbc.xml file to overwrite their local copy.
    D. Create the data sources on behalf each of the developer.
    E. Provide the development team with WLST scripts to create and configure the testing data sources.
    Question 3: What are the three steps you should take to tune a JDBC Connection pool in WebLogic from the initial settings in a production environment?
    A. Ensure the maximum size is increased to an appropriate setting.
    B. Set the minimum and maximum size of the connection pool to the same value.
    C. Increase the statement cache size.
    D. Add more heap to the JVM.
    E. Add more nodes to the cluster.
    Question 4: A customer needs to ensure that the number of threads servicing an application does not exceed the number of database connections available to the application. What step must you take to address this situation?
    A. Configure a Max Threads Constraint and add your application to the list of applications for the Constraint.
    B. Configure a Work Manager with a Maximum Threads Constraint tied to the Connection Pool and configuration your application to use the Work Manager.
    C. Configure a Work Manager with a Minimum Threads Constraint tied to the Connection Pool and configure your application to use the Work Manager.
    D. Configure a global MaxThreads constraint and target it to the server or clusters where your application is deployed.
    E. Configure the startup parameter "-Dwls-maxThreads" to be the same as the number of database connections configured.
    Question 5: In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic. What configuration should you use to prevent possible out-of-memory error at high traffic and at the same time not losing messages?
    A. Configure a Work Manager for the MDB with a Maximum Thread Constraint.
    B. Configure a Work Manager for the MDB with a Minimum Thread Constraint.
    C. Configure a Work Manager for the MDB with a Maximum Thread Constraint and a Capacity Constraint.
    D. Configure a Work Manager for the MDB with a Minimum Thread Constraint and a Capacity Constraint.
    E. Configure a Work Manager for the MDB with both a Maximum Thread Constraint and Minimum Thread Constraint.
    Question 6: An airline is building a booking system for its premium and general customers. The goal is to ensure premium members are given higher access priority when user traffic is high.
    What configuration will achieve this goal?
    A. Configure a Work Manager for premium users with a Minimum Thread Constraint.
    B. Configure a Work Manager for premium users with a higher fair-share-request-class.
    C. Configure a Work Manager for premium users with a higher response-time-request-class.
    D. Configure a Work Manager general users with a Maximum Thread Constraint.
    E. Configure a Work Manager for premium users with a custom request-class.
    Question 7: Which WebLogic optimization allows one non-XA resource to participate in a distributed transaction?
    A. enabling Pinned to Thread
    B. enabling Logging Last Resource
    C. increasing the Statement cache size
    D. setting the statement cache type to LRU
    E. setting the initial and maximum capacity to the same number
    Question 8: You deploy two different applications to the WebLogic container. One application use Xerces parser version A and the other application uses Xerces parser version B. Both these versions are different from the parser version that the WebLogic server uses internally. You want to use the Filtering Classloader feature to solve this problem. What action would you take to generate proper filtering Classloader entries?
    A. Modify the applications to use the same version that WebLogic uses internally.
    B. Based on available examples of Filtering Classloader entries, try to modify get the proper entries.
    C. Deploy and use the Classloader Analyzing Tool to resolve all conflicts with conflicting libraries. This tool will generate all proper entries.
    D. Split the application into separate WebLogic containers and use different WLS versions of Xerces but identical that applications require.
    E. Look for a WebLogic release that uses the same version of Xerces that the applications use.
    Question 9: Identify the two options that can be used to patch WebLogic Server without Incurring application downtime.
    A. automated process using the Admin Server
    B. automated using JDeveloper
    C. manual process with or without Smart Update
    D. scripted with WLST
    E. automated process using Enterprise Manager 12c
    Question 10: WebLogic 12c, the Maven plug-in has been enhanced with which Maven goal?
    A. wls:unzip, wls:install-domain, wls:start-domain, wls:wlst, wls:appc
    B. wls:install, wls:install-domain, wls:start-domain, wls:wlst, wls:appc
    C. wls:unzip, wls:create-domain, wls:start-domain, wls:wlst, wls:appc
    D. wls:install, wls:create-domain, wls:start-server, wls:wlst, wls:appc:

    Hello user7776, I am also looking for answers to the above Questions. Can you please send me the correct answers if you got the answers already? I really appreciate your response. Thank you sir.
    -VCS

  • SAML Credential Mapper does not support credential type

    Has anybody any idea on what could be causing the message below, which is being logged several times?
    <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <1309285937475> <BEA-000000> <SAMLCredentialMapperV2: getCredentials(Subject): getCredentialInternal() called>
    <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <1309285937475> <BEA-000000> <SAMLCredentialMapperV2: getCredentialInternal(): **SAML Credential Mapper does not support credential type: weblogic.UserPassword, returns null**>
    Best regards
    Update: Forgot to mention this is SOA Suite 11G environment
    Edited by: user9501748 on Jun 28, 2011 11:53 AM

    I've got the same issue too.
    My setup is to have one domain acting as both Source and Destination.
    For every 10 seconds, I'm seeing 4 of these logs, and the CPU consumption is 100% consistently.
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials: Subject initiator>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials(Subject): getCredentialInternal() called>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentialInternal(): SAML Credential Mapper does not support credential type: weblogic.UserPassword, returns null>
    Does anyone know what's happening? I've got one of the Security Provider = Active Directory, and thus there's no password returning. Could it be the root cause of the problem?

  • Security:090802 PKI Credential Mapper has got an LDAP exception

    Weblogic Server 10.3, Oracle Service Bus, Red Hat Enterprise, AD integration, PKI infrastructure.
    I have the small erorr message that somewhere exists LDAP error, but cant understand how to read full text of exception or another additional information.
    OSB Security:387078Failed to bind key-pair credential for service key provider Troika.Domain.IC.ClientRegistry.Signature.20090521/IC.CR.WEbServiceUser.ServiceKeyProvider and purpose Encryption: Security:090802PKI Credential Mapper has got an LDAP exception.
    This error appears when i tried to browse encryption key from my identity keystore to service key provider.

    I had the exact same problem with an Oracle 10g Enterprise 10.2.0.1.0 database used as a security store under OSB 10.3.
    Fixed it by dropping the table and recreate it with all VARCHAR256 fields set to VARCHAR2048.
    In my case the CN and RN fields where probably the problem but I'll leave all fields to 2048 for now.

  • OSB 11.6 in weblogic 12c

    Hello All,
    I am trying to install OSB 11.6 in 12c, i am getting invalid OEPE Location.
    After installing Weblogic 12c, it contains OEPE12.1.1.0.0, is this is the home for OEPE.
    Regards
    Praveen

    I think it expects 11.1.1.6.
    When you install the OSB, you can also select custom installation and then de-select the IDE and examples (when you do not
    want a development environment).

  • Jdev 11g: No credential mapper entry found for password indirection user

    Hi,
    Ive been trying to deploy an application as described in http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcextservices.htm#ADFFD542
    When the application is installed into weblogic, I get the following error:
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=psa_dev for data source psa_dev

    Check out What does this message mean? thread

Maybe you are looking for

  • Re: Availability of Windows 7 Beta Device Drivers for some Lenovo Thinkpads

    I think another point I need to throw in is this, sorry if it annoys the moderators but anyway, If you are going to post beta drivers into a beta forum full of Lenovo technical users looking to try the latest stuff, then it's probably a good idea to

  • Disabling the 'reset' function in Safari

    I wish to disable the "Reset Sarfari" function (in the pull down menu under Safari Version 2.0.4). Is this possible?? G5   Mac OS X (10.4.7)  

  • Illustrator cc will not startup (please enable verdana font)

    When I try to start illustrator cc if says "illustrator has stopped working, please enable verdana font/s and relaunch illustrator. but it keep saying the same thing even though font is running.

  • Adobe Save For Web Error???

    i have a core2duo, xp sp3 running 8GB of ram 3.5GB as my main memory, 4.5GB as my virtual memory. setup by Gavotte Ramdisk. and my photoshop cs3 scratch disk is set to a 500GB drive with more 300GB of free space. and i let photoshop cs3 uses upto 100

  • Forecast Comsumption

    Dear Guru's,         Scenario:Forecast is released in DP on 10th of the every Month, on 15th the SNP run is planned for that the forecast is released to SNP. but between 10 to 15th some actual billing takes place hence the forcast needs to be reduced