GetGroups() in WLS 7.0

Hi!
I have the following piece of code running in Weblogic 6.1:
Enumeration groups = ((ListableRealm)Security.getRealm()).getGroups();
while (groups.hasMoreElements()) {
grp = (Group)groups.nextElement();
if (grp.isMember(request.getUserPrincipal())) {
Then, I want to reach the same goal in weblogic 7.0 but... what can I do?
In WLS 7.0 getRealm() returns "null" and is deprecated. Javadocs say:
Replaced by Pluggable Security Infrastructure but... what is it??
Thanks a lot!

Have you defined a defaultwebapp for your WLS cluster ?
          Kumar Allamraju wrote:
          > Pls provide more details.
          > when does it happen? Can you consistently reproduce this stacktrace?
          >
          > thx
          > Kumar
          >
          > Marek wrote:
          >
          > > I have in my WLS 7.0 cluster enviroment error like this:
          > >
          > > java.lang.ClassCastException: weblogic.servlet.internal.session.MemorySessionContext Start server side stack trace: java.lang.ClassCastException: weblogic.servlet.internal.session.MemorySessionContext at weblogic.servlet.internal.session.SessionData.getContext(SessionData.java:359) at weblogic.servlet.internal.session.ReplicatedSessionData.becomeSecondary(ReplicatedSessionData.java:180) at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:34) at weblogic.cluster.replication.ReplicationManager$wroManager.create(ReplicationManager.java:339) at weblogic.cluster.replication.ReplicationManager.create(ReplicationManager.java:1059) at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:346) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:300) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:762) at weblogic.rmi.internal.Bas
          > icServerRef.handleRequest(BasicServerRef.java:295) at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) End server side stack trace
          > >
          Rajesh Mirchandani
          Developer Relations Engineer
          BEA Support
          

Similar Messages

  • ADFBindingFilter error while deploying a war to WLS server using jdev 12c

    I've a OSB Server setup using XBUS_MAIN_GENERIC_120131.1402.S which is using JDEVADF_MAIN_GENERIC_120102.0032.6211.
    Launched the 12c Jdev and created a simple adfc web application with a test.jspx page and deployed in the OSB Server. The web app deployed and could launch the test page.
    I have added the page definition for that test page by 'Go to Page Definition' option.
    Now, If I try to deploy this web app war to the OSB Server, I'm getting the following exception in the jdev (Error1) and in the server log I could see the error (Error2).
    Any Idea how to resolve this issue?
    Error1 ( on Jdev )
    [03:15:08 AM] ---- Deployment started. ----
    [03:15:08 AM] Target platform is (Weblogic 10.3).
    [03:15:09 AM] Retrieving existing application information
    [03:15:09 AM] Running dependency analysis...
    [03:15:09 AM] Building...
    [03:15:15 AM] Deploying profile...
    [03:15:16 AM] Wrote Web Application Module to /scratch/sansrini/OSB_DEV/OSBMgmtTestApp/OSBMgmtTaskflowsTestApp/deploy/newosb2.war
    [03:15:16 AM] Deploying Application...
    [03:15:18 AM] [Deployer:149193]Operation "deploy" on application "newosb2" has failed on "AdminServer".
    [03:15:18 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application newosb2 on AdminServer.: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter.
    [03:15:18 AM] weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    [03:15:18 AM] Deployment cancelled.
    [03:15:18 AM] ---- Deployment incomplete ----.
    [03:15:18 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Error2 ( on wls log )
    <Feb 3, 2012 3:15:18 AM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:93)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    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:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Truncated. see log file for complete stacktrace

    I guess you should be asking on an internal forum somewhere, because we, the unwashed masses, don't have access to JDev 12c.
    John

  • Error:Unable to reserve .lok file for Integrated WLS server (DefaultServer)

    Hi,
    I am having jdev 11.1.1.1.0.
    Many times I get following error while running my application pages:
    Unable to reserve the .lok file for Integrated WLS server (DefaultServer). Typically this is because another instance of this server is already running in the WLS domain.
    The only way out is to close jdev, delete system11.1.1.1.33.54.07 folder and open jdev again.
    Why is this error dialog shown? Is there any permanent solution?
    TIA

    Thanks for quick reply!
    As suggested in the given thread, I logged into the weblogic console http://127.0.0.1:7101/console/ as 'weblogic' user.
    On the left hand side in the 'View changes and restarts' section, no pending changes are shown. It shows following text:
    Configuration editing is enabled. Future changes will automatically be activated as you modify, add or delete items in this domain.
    Please advise. I can share the application.zip if needed.
    Thanks

  • HP-UX Kernel Params for WLS 6.0SP2 Cluster to Avoid java.lang.outofmemory and/or thread death

              I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing heap and
              thread issues on start-up or invocation of my application as I deploy EJB's and create
              DB connection pools. These are fairly trivial tasks that don't give me any issues
              when starting the first node. It's only when I invoke the second node.
              I'm pretty sure that my issue is tied to the following kernel areas:
              1. Thread allocation
              2. Heap allocation
              3. Max Processes per user
              Can anyone make some kernel recommendations that might be beneficial to my deployment?
              My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I typically
              allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and allocate about
              1GB of RAM per node on a 4GB machine...
              Regards,
              Steve
              

    I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing          heap and
              > thread issues on start-up or invocation of my application as I deploy
              EJB's and create
              > DB connection pools. These are fairly trivial tasks that don't give me any
              issues
              > when starting the first node. It's only when I invoke the second node.
              >
              > I'm pretty sure that my issue is tied to the following kernel areas:
              >
              > 1. Thread allocation
              > 2. Heap allocation
              > 3. Max Processes per user
              >
              > Can anyone make some kernel recommendations that might be beneficial to my
              deployment?
              > My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I
              typically
              > allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and
              allocate about
              > 1GB of RAM per node on a 4GB machine...
              HP has some kernel tuning guidelines for Java server apps on their web site,
              and BEA has some notes as well in their platform support page.
              What issues specifically are you seeing?
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "Steve Feldman" <[email protected]> wrote in message
              news:3cdc046e$[email protected]..
              >
              

  • Java ftp server which can use LDAP, how to integrate with WLS' implementation of LDAP?

    Howdy.
    I'm setting up a java ftp server
    (http://www.mycgiserver.com/~ranab/ftp/index.html) which is capable of using
    LDAP for it's user security. I would like to integrate this ftp server with
    wls' implementation of LDAP so I only have to admin one user list.
    Does wls put it's user list in the LDAP or in it's own proprietary setup? I
    tried playing around with it, but the users don't seem to appear in the JNDI
    tree. Is this where the LDAP stuff is located? I thought it was in there?
    If it's in it's own setup, is there a way to propagate the users to LDAP?
    If these look like newbie Q&A, I guess they kind of are, I'm new to LDAP.
    Thanks for any input you might have.

    Peter,
    If you are talking about using the embedded LDAP server in WLS 7.0 for this purpose
    I think you are going done the wrong path.
    Look at the following URL on how to use an external LDAP server for your custom
    application
    http://e-docs.bea.com/wls/docs70/secmanage/realm.html#1172008
    Chuck Nelson
    DRE
    BEA Technical Support

  • WLS 9.1 - How to declare datasource for web service?

    If the code for a web service is generated (either a web application or ejb endpoint), how do I make sure the datasource mapping gets added to the appropriate descriptor file?
    I would like to avoid having to do this manually after running the web service compiler. Can anyone help me with this?
    Regards,
    Joshua

    James,
    Which version of Eclipse are you using? Do you have Oracle Enterprise Pack for Eclipse installed? Which version?
    According to the docs, OEPE 11.1.1.6 (the latest of this post) supports WLS back to version 9.2.
    http://download.oracle.com/docs/cd/E15315_05/help/oracle.eclipse.tools.common.doc/html/index.html
    Make sure that you have a WLS 9.2 Server Runtime defined.
    Window->Prefereces->Server->Runtime Environments
    Add a BEA System, Inc WLS 9.2 server runtime and make sure it is pointing to the right place on your file system and try creating your Web Service project again.
    If you still have issues, try the OEPE forum.
    Enterprise Pack for Eclipse

  • How to enable web-app "parent-last" classloading in WLS 10.3?

    Hello,
    We are having some issues when using Groovy to execute ant tasks in a webapp. They are due to the classloading order in WLS.
    The problem is this :
    - Our webapp is using Groovy 1.5.6.
    - Groovy 1.5.6 uses ant 1.7. When groovy calls ant tasks such as <untar>, <unjar>, etc, it is passing the <mapper> element, which is supported in ant 1.7.
    - When this webapp is deployed in WLS 10.3, Groovy tries to call these ant tasks, but WLS has ant 1.6 which does not support the nested <mapper> element groovy is trying to pass.
    - The groovy script blows up with an ant error because of the unsupported element.
    - We are packaging ant 1.7 jars in the WEB-INF/lib dir of our WAR file, but WLS is loading the classes from it's own classpath first, so we do not get the 1.7 impl loaded.
    The solution is to enable "parent-last" classloading for this webapp, but I can not find any documentation on how to do this.
    In Websphere you can set a checkbox for it in the console.
    In Orion, you add to the orion-web.xml file this tag <web-app-class-loader search-local-classes-first="true"/>
    ** In WebLogic, how do you do this?
    I have been searching the documentation and asking around, and I can not find an answer yet. Thanks in advance for your help!

    Try either a filtering classloader as described here:
    http://edocs.bea.com/wls/docs103/programming/classloading.html#wp1097187
    Or prefer-web-inf-classes in weblogic.xml:
    http://edocs.bea.com/wls/docs103/programming/classloading.html#wp1082452

  • Applets not working in WLS 6.1

              I am migrating an application from WLS 5.1 SP 9 to WLS 6.1 SP 1. This
              application contains several applets and ran without error or problems
              under WLS 5.1. However I'm seeing strange behaviour/errors under WLS
              6.1.
              Environment:
              Unix box:
              Sun Solaris - SunOS dargo 5.6 Generic_105181-28 sun4u sparc
              SUNW,Ultra-Enterprise
              Oracle 8.1.7.2
              JDK 1.3.1 that was delivered with WLS 6.1
              Client -- Netscape 4.75 from Window 2000
              In my WLS 5.1 environment I delivered the applets to
              /opt/weblogic/myserver/applets and my JSPS/HTML to
              /opt/weblogic/myserver/public_html.
              In WLS 6.1 I'm currently working on deploying the application in
              exploded format for debugging. I delivered the jar'd up applets to
              /opt/fedex/crs/currentGUI/applets. The remainder of the application is
              in exploded format under /users/crs/{ApplicationName}.
              /users/crs/{ApplicationName} has the following structure:
              deploy
              META-INF -- Contains an application.xml
              astracons-web -- contains the JSPS/HTML
              WEB-INF
              classes -- contains the compiled servlet classes
              lib -- empty
              astracons-ejb
              META-INF -- deployment descriptors for EJB
              com/.... top level of our package that contains our
              EJB.
              Application appears to work correctly with the exception of the
              applets.
              The applet jar files appear OK (jar tvf and jar xvf function correctly).
              Applet tag in JSP is:
              <applet width="180" height="335"
              codebase="/classes/"
              archive="treetable.jar"
              code="com.scand.treetable.JTreeGridApplet.class"
              CLASSPATH includes /opt/fedex/crs/currentGUI/applets/treetable.jar. Applet tag
              and classpath are
              consistent for the other applet (SelectedLocations).
              When I run the application and access the LocationLookupJSP, the
              SelectedLocations applet appears on the screen and appears to function
              correctly (despite the errors in the java console). The treetable
              applet shows the following error on the status line "Applet
              com.scand.treetable.JTreeGridApplet can't init: NEW". I also get the bad zip file
              format error in the
              console. Java console errors are:
              Netscape Communications Corporation -- Java 1.1.5
              Type '?' for options.
              Symantec Java! ByteCode Compiler Version 210.065
              Copyright (C) 1996-97 Symantec Corporation
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              # Unable to load archive
              http://dargo.rmtc.fedex.com:7009/classes/SelectedLocations.jar:
              java.io.IOException: bad zip file format
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              java.lang.ArrayIndexOutOfBoundsException
              at java.lang.Throwable.printStackTrace(Compiled Code)
              If I run the AstraconsSummaryReport.jsp everything appears to work correctly
              however the java
              console shows the following errors:
              Netscape Communications Corporation -- Java 1.1.5
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              # Unable to load archive
              http://dargo.rmtc.fedex.com:7009/classes/treetable.jar:
              java.io.IOException: bad zip file format
              I've searched through the newsgroups and the WLS 6.1 documentation but
              have reached a dead-end. Any help you can provide would be greatly
              appreciated.
              Terry Jahelka
              

    Terry:
              I recommend opening a case with BEA Support. I don't see a simple answer without someone taking
              the time to personally sort this out with you.
              Regards,
              Jim Brown
              Terry Jahelka wrote:
              > I am migrating an application from WLS 5.1 SP 9 to WLS 6.1 SP 1. This
              > application contains several applets and ran without error or problems
              > under WLS 5.1. However I'm seeing strange behaviour/errors under WLS
              > 6.1.
              >
              > Environment:
              >
              > Unix box:
              >
              > Sun Solaris - SunOS dargo 5.6 Generic_105181-28 sun4u sparc
              > SUNW,Ultra-Enterprise
              > Oracle 8.1.7.2
              > JDK 1.3.1 that was delivered with WLS 6.1
              >
              > Client -- Netscape 4.75 from Window 2000
              >
              > In my WLS 5.1 environment I delivered the applets to
              > /opt/weblogic/myserver/applets and my JSPS/HTML to
              > /opt/weblogic/myserver/public_html.
              >
              > In WLS 6.1 I'm currently working on deploying the application in
              > exploded format for debugging. I delivered the jar'd up applets to
              > /opt/fedex/crs/currentGUI/applets. The remainder of the application is
              > in exploded format under /users/crs/{ApplicationName}.
              >
              > /users/crs/{ApplicationName} has the following structure:
              > deploy
              > META-INF -- Contains an application.xml
              > astracons-web -- contains the JSPS/HTML
              > WEB-INF
              > classes -- contains the compiled servlet classes
              > lib -- empty
              > astracons-ejb
              > META-INF -- deployment descriptors for EJB
              > com/.... top level of our package that contains our
              > EJB.
              >
              > Application appears to work correctly with the exception of the
              > applets.
              >
              > The applet jar files appear OK (jar tvf and jar xvf function correctly).
              >
              > Applet tag in JSP is:
              >
              > <applet width="180" height="335"
              > codebase="/classes/"
              > archive="treetable.jar"
              > code="com.scand.treetable.JTreeGridApplet.class"
              >
              > CLASSPATH includes /opt/fedex/crs/currentGUI/applets/treetable.jar. Applet tag
              > and classpath are
              > consistent for the other applet (SelectedLocations).
              >
              > ____________________________________________________________________________________________
              >
              > When I run the application and access the LocationLookupJSP, the
              > SelectedLocations applet appears on the screen and appears to function
              > correctly (despite the errors in the java console). The treetable
              > applet shows the following error on the status line "Applet
              > com.scand.treetable.JTreeGridApplet can't init: NEW". I also get the bad zip file
              > format error in the
              > console. Java console errors are:
              >
              > Netscape Communications Corporation -- Java 1.1.5
              >
              > Type '?' for options.
              >
              > Symantec Java! ByteCode Compiler Version 210.065
              > Copyright (C) 1996-97 Symantec Corporation
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > # Unable to load archive
              > http://dargo.rmtc.fedex.com:7009/classes/SelectedLocations.jar:
              > java.io.IOException: bad zip file format
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > java.lang.ArrayIndexOutOfBoundsException
              > at java.lang.Throwable.printStackTrace(Compiled Code)
              >
              > _____________________________________________________________________________________________
              >
              > If I run the AstraconsSummaryReport.jsp everything appears to work correctly
              > however the java
              > console shows the following errors:
              >
              > Netscape Communications Corporation -- Java 1.1.5
              >
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > # Unable to load archive
              > http://dargo.rmtc.fedex.com:7009/classes/treetable.jar:
              > java.io.IOException: bad zip file format
              >
              > I've searched through the newsgroups and the WLS 6.1 documentation but
              > have reached a dead-end. Any help you can provide would be greatly
              > appreciated.
              >
              > Terry Jahelka
              Jim Brown
              Developer Relations Engineer
              BEA Support
              

  • Configuring WLS to invoke a web service on SSL

    Hi,
    It will be really helpful if I get some pointers on this. Stuck with this without any progress. I havent experimented too much working with Certificates and so on...
    I have a web service on my WLS...This has to invoke an external web service (provided by a third party).
    They have given me a url for WSDL.
    .p12 certificate - privateKeyEntry
    .cer certificate - trustCertEntry
    In my browser(IE), to display the WSDL page, I had to import this .p12 certificate in the "Personal" tab and .cer certificate in the "Trusted Root Certification Authorities" tab. It works !! I can see the WSDL.
    Now I have to do a equivalent setting in WLS so that my WS invokes the external WS. I can test this with the Weblogic Test Client for my WS.
    This is what I thought I had to do.
    Configure Custom Identity and Custom Trust in WLS.
    Custom Identity - directly used the .p12 file and specified type as PCKS12 with a password. That seems OK.
    Custom Trust - Since I didnt think I could use .cer file, I imported this certificate into .jks file using the below command
    keytool -import -trustcacerts -alias mykey -keystore mytrust.jks -file TestRootCert.cer -keyalg RSA
    configured this .jks file as a custom truststore.
    In the SSL tab, specified the alias name that existed in the PrivateKeyEntry(.p12 file) assuming this is used to identify myself to the external WS.
    Set -Dssl.debug=true -Dweblogic.StdoutDebugEnabled=true in the WLS startup file just to see some more additional info.
    When I invoke the external WS using the WLS test client, this is how the output on console looks..(sorry, had to edit some stuff related to company names etc.)
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <SSLSetup: loading trusted CA certificates>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <SSL enableUnencryptedNullCipher= false>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <SSLContextManager: loading server SSL identity>
    <Sep 16, 2010 5:35:02 PM CEST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias e74476a0b5a8cfce6e426c266aee9bbc_2d3fa38c-4f19-4115-b030-11acb1de5cd5 from the PKCS12 keystore file C:\PROGRA~2\Java\JDK16~1.0_2\jre\lib\security\TestPoints.p12.>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Loaded public identity certificate chain:>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Subject: [email protected], CN=Test , OU=Digital ID Class 1 - Microsoft Full Service, OU=Persona Not Validated, OU="www.verisign.com/repository/RPA Incorp. by Ref.,LIAB.LTD(c)98", OU=VeriSign Trust Network, O="VeriSign, Inc."; Issuer: CN=VeriSign Class 1 Individual Subscriber CA - G2, OU=Persona Not Validated, OU=Terms of use at https://www.verisign.com/rpa (c)05, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Using JCE Cipher: SunJCE version 1.6 for algorithm RSA/ECB/NoPadding>
    <Sep 16, 2010 5:35:02 PM CEST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the JKS keystore file C:\PROGRA~2\Java\JDK16~1.0_2\jre\lib\security\ebmscert.jks.>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <SSLContextManager: loaded 1 trusted CAs from C:\PROGRA~2\Java\JDK16~1.0_2\jre\lib\security\ebmscert.jks>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Subject: CN=VeriSign Class 1 Individual Subscriber CA - G2, OU=Persona Not Validated, OU=Terms of use at https://www.verisign.com/rpa (c)05, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US; Issuer: OU=Class 1 Public Primary Certification Authority, O="VeriSign, Inc.", C=US>
    <Sep 16, 2010 5:35:02 PM CEST> <Info> <WebLogicServer> <BEA-000307> <Exportable key maximum lifespan set to 500 uses.>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Filtering JSSE SSLSocket>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <SSLIOContextTable.addContext(ctx): 28972139>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <SSLSocket will be Muxing>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <write SSL_20_RECORD>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <isMuxerActivated: false>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <8413295 SSL3/TLS MAC>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <8413295 received HANDSHAKE>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: ServerHello>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: Certificate>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Cannot complete the certificate chain: No trusted cert found>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Validating certificate 0 in the chain: Serial number: 320858270326811821565694692014706744673
    Issuer:C=US, ST=UT, L=Salt Lake City, O=The USERTRUST Network, OU=http://www.usertrust.com, CN=UTN-USERFirst-Hardware
    Subject:C=SE, ?=19587, ST=None, L=country, ?=Test Address, O=CompanyName Denmark-Norway-Sweden, OU=DK Wintel AS, OU=Hosted by Melbourne IT Corporate Brand Services, OU=Comodo PremiumSSL, CN=a.b.com
    Not Valid Before:Thu Mar 19 01:00:00 CET 2009
    Not Valid After:Sun Mar 20 00:59:59 CET 2011
    Signature Algorithm:SHA1withRSA
    >
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Validating certificate 1 in the chain: Serial number: 109339514828885055587748732527481675047
    Issuer:C=SE, O=AddTrust AB, OU=AddTrust External TTP Network, CN=AddTrust External CA Root
    Subject:C=US, ST=UT, L=Salt Lake City, O=The USERTRUST Network, OU=http://www.usertrust.com, CN=UTN-USERFirst-Hardware
    Not Valid Before:Tue Jun 07 10:09:10 CEST 2005
    Not Valid After:Sat May 30 12:48:38 CEST 2020
    Signature Algorithm:SHA1withRSA
    >
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <validationCallback: validateErr = 16>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> < cert[0] = Serial number: 320858270326811821565694692014706744673
    Issuer:C=US, ST=UT, L=Salt Lake City, O=The USERTRUST Network, OU=http://www.usertrust.com, CN=UTN-USERFirst-Hardware
    Subject:C=SE, ?=19587, ST=None, L=country, ?=Test Address, O=CompanyName Denmark-Norway-Sweden, OU=DK Wintel AS, OU=Hosted by Melbourne IT Corporate Brand Services, OU=Comodo PremiumSSL, CN=a.b.com
    Not Valid Before:Thu Mar 19 01:00:00 CET 2009
    Not Valid After:Sun Mar 20 00:59:59 CET 2011
    Signature Algorithm:SHA1withRSA
    >
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> < cert[1] = Serial number: 109339514828885055587748732527481675047
    Issuer:C=SE, O=AddTrust AB, OU=AddTrust External TTP Network, CN=AddTrust External CA Root
    Subject:C=US, ST=UT, L=Salt Lake City, O=The USERTRUST Network, OU=http://www.usertrust.com, CN=UTN-USERFirst-Hardware
    Not Valid Before:Tue Jun 07 10:09:10 CEST 2005
    Not Valid After:Sat May 30 12:48:38 CEST 2020
    Signature Algorithm:SHA1withRSA
    >
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <weblogic user specified trustmanager validation status 16>
    <Sep 16, 2010 5:35:02 PM CEST> <Warning> <Security> <BEA-090477> <Certificate chain received from a.b.com - 194.182.249.133 was not trusted causing SSL handshake failure.>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Validation error = 16>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Certificate chain is untrusted>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <SSLTrustValidator returns: 16>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <Trust status (16): CERT_CHAIN_UNTRUSTED>
    <Sep 16, 2010 5:35:02 PM CEST> <Debug> <SecuritySSL> <BEA-000000> <NEW ALERT with Severity: FATAL, Type: 42
    If I understood rite, the external server is sending some certificates which is not there in the WLS trust store. Is this correct?
    Also tried to get these certificates into the truststore using the InstallCert.java utility class, but then I get a 403:Forbidden.
    So I have no clue at the moment. Basically, my WLS acts as a client to the external WS rite? so this is a one-way SSL. IS that correct?
    Can you help with some pointers please?
    best regards,
    Murali

    Hi,
    I just noticed this post and it seems that I had the same problem ( [see the relevant topic|http://forums.sun.com/thread.jspa?threadID=5378686] ) -- it is now answered.
    Simply follow the instructions on [this page|http://java.sun.com/developer/EJTechTips/2006/tt0527.html#1] - note that the answer was provided by Miroslav777.
    Bye
    Urbas

  • Topic consumer does not show up in destination after WLS restart

    Hello JMS cracks
              <p>We have following setup: <br>
              - 1 Admin and 2 Managed WLS 8.1 SP4 on same host:<br>
              - distributed topic destination<br>
              - external jms topic subscriber client (using weblogic.jar)
              </p>
              <p>
              The client subscribes to the topic in the following way:
              <p>
              TopicConnectionFactory fact = (TopicConnectionFactory) ctx.lookup("factName");<br>
              TopicConnection tcon = fact.createTopicConnection();<br>
              tcon.setExceptionListener(exceptionListener); <br>
              TopicSession tsession = tcon.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);<br>
              Topic topic = (Topic) ctx.lookup("logicNameOfDistributedTopic");<br>
              TopicSubscriber treceiver = tsession.createSubscriber(topic,selector,false);<br>
              treceiver.setMessageListener(messageListener);
              </p>
              <p>
              Test scenario: <br>
              - start admin WLS and both managed WLS with URLs t3://host1:27100 and t3://host1:27200, respectively<br>
              <br>
              - start client with URL t3://host1:27100<br>
              => client receives messages :-)<br>
              <br>
              - kill client and start client again with URL t3://host1:27200<br>
              => client receives messages :-)<br>
              <br>
              - kill client and start client again with URL t3://host1:27100,host1:27200<br>
              => client receives messages :-)<br>
              <br>
              - kill WLS instance, e.g. t3://host1:27100<br>
              => Two possibilies: <br>
              1) the client was connected to t3://host1:27100 and it has not to reconnect; it still receives messages :-) (however, an internal tester told me, that it also may stop receiving messages :-(<br>
              <br>
              2) client receives an Exception and reconnects to t3://host1:27200 (exceptionListener). It <b>may or may not receive messages</b> :-( <br>
              <br>
              - start WLS instance t3://host1:27100 again<br>
              - kill client which is connected to t3://host1:27200 and start client with URL t3://host1:27100<br>
              => client connects to t3://host1:27100, but it <b>may or may not receive messages</b> :-( <br>
              <br>
              - kill client which is connected to t3://host1:27100 and start client with URL t3://host1:27200<br>
              => client connects to t3://host1:27200, but it <b>may or may not receive messages</b> :-( <br>
              </p>
              <p>
              Going to the Weblogic console <myClusterDomain> > JMS Servers> <my JMS Server on t3://host1:27200> Active JMS Destinations one can see that the topic subscriber may or may not be added to the consumer count. If it is not added, the client does not receive any messages and vice versa.
              </p>
              <p>
              This is very very annoying.
              </p>
              <p>
              Please, can somebody tell me what can lead to this behaviour? Is something wrong with the configuration (if yes which parameter have I to adjust)? Is this just a timeing problem? Is there a workaround? Or is this normal (I hope not)?
              </p>
              <p>
              Thanks very much for your help.
              </p>
              <p>
              Peter
              </p>

    Please find below the relevant parts of our config.xml.
              Thanks for your help, Peter
              <?xml version="1.0" encoding="UTF-8"?>
              <Domain ConfigurationVersion="8.1.4.0" Name="devtClusterDomain">
              <Cluster ClusterAddress="zueux32.sma.ch:27100,zueux32.sma.ch:27200"
              MulticastAddress="237.0.0.1" MulticastPort="27900" Name="devtCluster"/>
              <Server AcceptBacklog="50" Cluster="" DefaultProtocol="t3"
              DefaultSecureProtocol="t3s" ExpectedToRun="false"
              HttpdEnabled="true" ListenAddress="zueux32.sma.ch"
              ListenPort="27000" Machine="zueux32" Name="devtAdmin"
              NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy"
              ServerVersion="8.1.4.0" StdoutDebugEnabled="false"
              StdoutSeverityLevel="32" TransactionLogFilePrefix="./logs/"
              TunnelingClientPingSecs="45" TunnelingClientTimeoutSecs="40">
              <WebServer AuthCookieEnabled="true"
              LogFileName="./logs/access.log" LoggingEnabled="true" Name="devtAdmin"/>
              <COM Name="devtAdmin"/>
              <ServerStart
              Arguments="-Dlog4j.configuration=file:/opt/bea/weblogic81/common/lib/workshopLogCfg.xml"
              BeaHome="/opt/bea/weblogic81"
              ClassPath="/opt/bea/weblogic81/server/lib/weblogic_knex_patch.jar:/opt/bea/weblogic81/common/lib/log4j.jar:/opt/bea/weblogic81/server/lib/debugging.jar:/opt/bea/weblogic81/server/lib/knex.jar:/opt/bea/weblogic81/javelin/lib/javelin.jar:/opt/bea/weblogic81/server/lib/wlw-lang.jar:/opt/bea/jdk142_05/lib/tools.jar:/opt/bea/weblogic81/server/lib/weblogic_sp.jar:/opt/bea/weblogic81/server/lib/weblogic.jar:/opt/bea/weblogic81/server/lib/ant/ant.jar:/opt/bea/jdk142_05/jre/lib/rt.jar::/opt/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/opt/bea/weblogic81/server/lib/webserviceclient.jar:/opt/bea/weblogic81/server/lib/webserviceclient+ssl.jar:/opt/bea/weblogic81/server/lib/xbean.jar:/opt/bea/weblogic81/server/lib/wlxbean.jar:/opt/bea/weblogic81/server/lib/xqrl.jar:/opt/bea/weblogic81/server/lib/netui/netui-compiler.jar:/opt/bea/weblogic81/server/lib/wli.jar:/opt/bea/weblogic81/server/lib/fop.jar:/opt/bea/weblogic81/integration/adapters/sample/lib/sample-eis.jar"
              JavaHome="/opt/bea/jkd142_05" Name="devtAdmin"
              RootDirectory="/var/bea/domains/devtClusterDomain" SecurityPolicyFile="/opt/bea/weblogic81/server/lib/weblogic.policy"/>
              <SSL Enabled="false" IdentityAndTrustLocations="KeyStores" Name="devtAdmin"/>
              <Log FileMinSize="20000" Name="devtAdmin" RotationType="bySize"/>
              <KernelDebug Name="devtAdmin"/>
              <KernelDebug Name="devtAdmin"/>
              <ServerDebug Name="devtAdmin"/>
              <ExecuteQueue Name="weblogic.kernel.Default"/>
              <JTAMigratableTarget Name="devtAdmin" UserPreferredServer="devtAdmin"/>
              </Server>
              <Server Cluster="devtCluster" ExpectedToRun="true"
              GracefulShutdownTimeout="30" ListenAddress="zueux32.sma.ch"
              ListenPort="27100" MSIFileReplicationEnabled="true"
              Machine="zueux32" Name="devtMan1" NativeIOEnabled="true" ServerVersion="8.1.4.0">
              <SSL Enabled="false" IdentityAndTrustLocations="KeyStores" Name="devtMan1"/>
              <ExecuteQueue Name="weblogic.kernel.Default"/>
              <ServerStart
              Arguments="-Dlog4j.configuration=file:/opt/bea/weblogic81/common/lib/workshopLogCfg.xml"
              BeaHome="/opt/bea/weblogic81"
              ClassPath="/opt/bea/weblogic81/server/lib/weblogic_knex_patch.jar:/opt/bea/weblogic81/common/lib/log4j.jar:/opt/bea/weblogic81/server/lib/debugging.jar:/opt/bea/weblogic81/server/lib/knex.jar:/opt/bea/weblogic81/javelin/lib/javelin.jar:/opt/bea/weblogic81/server/lib/wlw-lang.jar:/opt/bea/jdk142_05/lib/tools.jar:/opt/bea/weblogic81/server/lib/weblogic_sp.jar:/opt/bea/weblogic81/server/lib/weblogic.jar:/opt/bea/weblogic81/server/lib/ant/ant.jar:/opt/bea/jdk142_05/jre/lib/rt.jar::/opt/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/opt/bea/weblogic81/server/lib/webserviceclient.jar:/opt/bea/weblogic81/server/lib/webserviceclient+ssl.jar:/opt/bea/weblogic81/server/lib/xbean.jar:/opt/bea/weblogic81/server/lib/wlxbean.jar:/opt/bea/weblogic81/server/lib/xqrl.jar:/opt/bea/weblogic81/server/lib/netui/netui-compiler.jar:/opt/bea/weblogic81/server/lib/wli.jar:/opt/bea/weblogic81/server/lib/fop.jar:/opt/bea/weblogic81/integration/adapters/sample/lib/sample-eis.jar"
              JavaHome="/opt/bea/jkd142_05" Name="devtMan1"
              OutputFile="/var/bea/domains/devtClusterDomain/./NodeManagerClientLogs/devtClusterDomain_devtMan1/startServer_12_07_2006-16_42_57-4.log"
              PasswordEncrypted="{3DES}wgEfvC0PoLDAO9eJ0RGXBg=="
              RootDirectory="/var/bea/domains/devtClusterDomain"
              SecurityPolicyFile="/opt/bea/weblogic81/server/lib/weblogic.policy" Username="weblogic"/>
              </Server>
              <Server Cluster="devtCluster" ExpectedToRun="true"
              GracefulShutdownTimeout="30" ListenAddress="zueux32.sma.ch"
              ListenPort="27200" MSIFileReplicationEnabled="true"
              Machine="zueux32" Name="devtMan2" NativeIOEnabled="true" ServerVersion="8.1.4.0">
              <SSL Enabled="false" IdentityAndTrustLocations="KeyStores" Name="devtMan2"/>
              <ExecuteQueue Name="weblogic.kernel.Default"/>
              <ServerStart
              Arguments="-Dlog4j.configuration=file:/opt/bea/weblogic81/common/lib/workshopLogCfg.xml"
              BeaHome="/opt/bea/weblogic81"
              ClassPath="/opt/bea/weblogic81/server/lib/weblogic_knex_patch.jar:/opt/bea/weblogic81/common/lib/log4j.jar:/opt/bea/weblogic81/server/lib/debugging.jar:/opt/bea/weblogic81/server/lib/knex.jar:/opt/bea/weblogic81/javelin/lib/javelin.jar:/opt/bea/weblogic81/server/lib/wlw-lang.jar:/opt/bea/jdk142_05/lib/tools.jar:/opt/bea/weblogic81/server/lib/weblogic_sp.jar:/opt/bea/weblogic81/server/lib/weblogic.jar:/opt/bea/weblogic81/server/lib/ant/ant.jar:/opt/bea/jdk142_05/jre/lib/rt.jar::/opt/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/opt/bea/weblogic81/server/lib/webserviceclient.jar:/opt/bea/weblogic81/server/lib/webserviceclient+ssl.jar:/opt/bea/weblogic81/server/lib/xbean.jar:/opt/bea/weblogic81/server/lib/wlxbean.jar:/opt/bea/weblogic81/server/lib/xqrl.jar:/opt/bea/weblogic81/server/lib/netui/netui-compiler.jar:/opt/bea/weblogic81/server/lib/wli.jar:/opt/bea/weblogic81/server/lib/fop.jar:/opt/bea/weblogic81/integration/adapters/sample/lib/sample-eis.jar"
              JavaHome="/opt/bea/jkd142_05" Name="devtMan2"
              OutputFile="/var/bea/domains/devtClusterDomain/./NodeManagerClientLogs/devtClusterDomain_devtMan2/startServer_12_13_2006-14_29_44-4.log"
              PasswordEncrypted="{3DES}wgEfvC0PoLDAO9eJ0RGXBg=="
              RootDirectory="/var/bea/domains/devtClusterDomain"
              SecurityPolicyFile="/opt/bea/weblogic81/server/lib/weblogic.policy" Username="weblogic"/>
              </Server>
              <MigratableTarget Cluster="devtCluster" Name="devtMan1 (migratable)"
              Notes="This is a system generated default migratable target for a server. Do not delete manually." UserPreferredServer="devtMan1"/>
              <MigratableTarget Cluster="devtCluster" Name="devtMan2 (migratable)"
              Notes="This is a system generated default migratable target for a server. Do not delete manually." UserPreferredServer="devtMan2"/>
              <UnixMachine Name="zueux32" PostBindGID="gs-weblogic"
              PostBindGIDEnabled="true" PostBindUID="weblogic" PostBindUIDEnabled="true">
              <NodeManager ListenAddress="localhost" Name="zueux32"/>
              </UnixMachine>
              <ApplicationManager Name="devtClusterDomain"/>
              <Application Deployed="true" LoadOrder="1000"
              Name="JWSQueueTransport" Path="/opt/bea/weblogic81/server/lib"
              StagedTargets="devtMan1,devtMan2" TwoPhase="true">
              <EJBComponent Name="QueueTransportEJB" Targets="devtCluster" URI="QueueTransportEJB.jar"/>
              </Application>
              <SNMPAgent Name="devtClusterDomain"/>
              <Log FileMinSize="20000" FileName="./wl-domain.log"
              Name="devtClusterDomain" RotationType="bySize"/>
              <JMSConnectionFactory
              JNDIName="weblogic.jws.jms.QueueConnectionFactory"
              Name="cgQueue"
              Notes="User transactions must be enabled to ensure transaction coordination for persistence and asynchronous operations"
              Targets="devtCluster" UserTransactionsEnabled="true"/>
              <JMSDistributedQueue JNDIName="jws.queue"
              Name="dist_cgJWSQueue_auto" Targets="devtCluster">
              <JMSDistributedQueueMember JMSQueue="cgJWSQueue_auto_1" Name="cgJWSQueue_auto_1_OF_cgJMSServer_auto_1"/>
              <JMSDistributedQueueMember JMSQueue="cgJWSQueue_auto_2" Name="cgJWSQueue_auto_2_OF_cgJMSServer_auto_2"/>
              </JMSDistributedQueue>
              <JMSFileStore Directory="rmfilestore" Name="FileStore"/>
              <JMSJDBCStore ConnectionPool="cgJMSPool-nonXA"
              Name="cgJMSStore_auto_1" PrefixName="dev_1"/>
              <JMSJDBCStore ConnectionPool="cgJMSPool-nonXA"
              Name="cgJMSStore_auto_2" PrefixName="dev_2"/>
              <JMSServer Name="cgJMSServer_auto_1" Store="cgJMSStore_auto_1" Targets="devtMan1 (migratable)">
              <JMSQueue JNDIName="jws.queue_auto_1" Name="cgJWSQueue_auto_1"
              RedeliveryLimit="2" StoreEnabled="default"/>
              </JMSServer>
              <JMSServer Name="cgJMSServer_auto_2" Store="cgJMSStore_auto_2" Targets="devtMan2 (migratable)">
              <JMSQueue JNDIName="jws.queue_auto_2" Name="cgJWSQueue_auto_2"
              RedeliveryLimit="2" StoreEnabled="default"/>
              </JMSServer>
              <WSReliableDeliveryPolicy DefaultRetryCount="10"
              DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
              <JMSServer Name="WSStoreForwardInternalJMSServerdevtAdmin"
              Store="FileStore" Targets="devtAdmin">
              <JMSQueue CreationTime="1137587420880"
              JNDIName="jms.internal.queue.WSStoreForwardQueue"
              JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuedevtAdmin"/>
              <JMSQueue CreationTime="1137587421219"
              JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
              JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuedevtAdmin"/>
              </JMSServer>
              <JDBCConnectionPool ConnectionCreationRetryFrequencySeconds="30"
              ConnectionReserveTimeoutSeconds="30"
              DriverName="weblogic.jdbc.oracle.OracleDriver"
              InactiveConnectionTimeoutSeconds="30" InitialCapacity="3"
              MaxCapacity="10" Name="DataDispatcher Connection Pool"
              PasswordEncrypted="{3DES}JLyzhkaCG14="
              Properties="user=datdisp;SID=DWHDEVT"
              ShrinkFrequencySeconds="60" StatementCacheSize="50"
              Targets="devtMan1,devtMan2" TestConnectionsOnReserve="true"
              TestFrequencySeconds="240"
              TestTableName="SQL SELECT * FROM V_DB_STATUS" URL="jdbc:bea:oracle://zueux33:1521"/>
              <JDBCTxDataSource EnableTwoPhaseCommit="true"
              JNDIName="jdbc/datadispatcher" Name="DataDispatcher Data Source"
              PoolName="DataDispatcher Connection Pool" Targets="devtCluster"/>
              <JMSTemplate DeliveryModeOverride="Persistent"
              ExpirationPolicy="Log" MessagesMaximum="1000"
              Name="Default JMS Template" RedeliveryDelayOverride="1000" RedeliveryLimit="20"/>
              <JMSFileStore
              Directory="/var/bea/domains/devtClusterDomain/filestores/devtMan1/ddreceiver" Name="Receiver File Store Man1"/>
              <JMSFileStore
              Directory="/var/bea/domains/devtClusterDomain/filestores/devtMan2/ddreceiver" Name="Receiver File Store Man2"/>
              <JMSFileStore
              Directory="/var/bea/domains/devtClusterDomain/filestores/devtMan1/ddsender" Name="Sender File Store Man1"/>
              <JMSFileStore
              Directory="/var/bea/domains/devtClusterDomain/filestores/devtMan2/ddsender" Name="Sender File Store Man2"/>
              <JMSServer Name="Receiver JMS-Server Man1"
              Store="Receiver File Store Man1" Targets="devtMan1 (migratable)" TemporaryTemplate="Default JMS Template">
              <JMSQueue CreationTime="1137593696886"
              JNDIName="jms/dataDispatcher.receiver@Receiver JMS-Server Man1"
              Name="DataDispatcher Receiver Distributed Queue@Receiver JMS-Server Man1" Template="DataDispatcher Receiver Distributed Queue"/>
              </JMSServer>
              <JMSServer Name="Receiver JMS-Server Man2"
              Store="Receiver File Store Man2" Targets="devtMan2 (migratable)" TemporaryTemplate="Default JMS Template">
              <JMSQueue CreationTime="1137593696919"
              JNDIName="jms/dataDispatcher.receiver@Receiver JMS-Server Man2"
              Name="DataDispatcher Receiver Distributed Queue@Receiver JMS-Server Man2" Template="DataDispatcher Receiver Distributed Queue"/>
              </JMSServer>
              <JMSServer Name="Sender JMS-Server Man1"
              Store="Sender File Store Man1" Targets="devtMan1 (migratable)" TemporaryTemplate="Default JMS Template">
              <JMSQueue CreationTime="1137593759170"
              JNDIName="jms/dataDispatcher.sender@Sender JMS-Server Man1"
              Name="DataDispatcher Sender Distributed Queue@Sender JMS-Server Man1" Template="DataDispatcher Sender Distributed Queue"/>
              <JMSQueue CreationTime="1137593828640"
              JNDIName="jms/dataDispatcher.jmsHandlerQueue@Sender JMS-Server Man1"
              Name="JMSHandler Distributed Queue@Sender JMS-Server Man1" Template="JMSHandler Distributed Queue"/>
              <JMSTopic CreationTime="1138625625006"
              DeliveryModeOverride="Persistent"
              JNDIName="jms/dataDispatcher.jmsHandlerTopic@Sender JMS-Server Man1"
              Name="JMSHandler Distributed Topic@Sender JMS-Server Man1" Template="JMSHandler Distributed Topic"/>
              </JMSServer>
              <JMSServer Name="Sender JMS-Server Man2"
              Store="Sender File Store Man2" Targets="devtMan2 (migratable)" TemporaryTemplate="Default JMS Template">
              <JMSQueue CreationTime="1137593759133"
              JNDIName="jms/dataDispatcher.sender@Sender JMS-Server Man2"
              Name="DataDispatcher Sender Distributed Queue@Sender JMS-Server Man2" Template="DataDispatcher Sender Distributed Queue"/>
              <JMSQueue CreationTime="1137593828610"
              JNDIName="jms/dataDispatcher.jmsHandlerQueue@Sender JMS-Server Man2"
              Name="JMSHandler Distributed Queue@Sender JMS-Server Man2" Template="JMSHandler Distributed Queue"/>
              <JMSTopic CreationTime="1138625624566"
              DeliveryModeOverride="Persistent"
              JNDIName="jms/dataDispatcher.jmsHandlerTopic@Sender JMS-Server Man2"
              Name="JMSHandler Distributed Topic@Sender JMS-Server Man2" Template="JMSHandler Distributed Topic"/>
              </JMSServer>
              <JMSTemplate DeliveryModeOverride="Persistent"
              ExpirationPolicy="Log"
              Name="DataDispatcher Receiver Distributed Queue"
              RedeliveryDelayOverride="1000" RedeliveryLimit="20"/>
              <JMSDistributedQueue JNDIName="jms/dataDispatcher.receiver"
              Name="DataDispatcher Receiver Distributed Queue"
              Targets="devtCluster" Template="DataDispatcher Receiver Distributed Queue">
              <JMSDistributedQueueMember
              JMSQueue="DataDispatcher Receiver Distributed Queue@Receiver JMS-Server Man1" Name="DataDispatcher Receiver Distributed Queue@Receiver JMS-Server Man1"/>
              <JMSDistributedQueueMember
              JMSQueue="DataDispatcher Receiver Distributed Queue@Receiver JMS-Server Man2" Name="DataDispatcher Receiver Distributed Queue@Receiver JMS-Server Man2"/>
              </JMSDistributedQueue>
              <JMSTemplate DeliveryModeOverride="Persistent"
              ExpirationPolicy="Log"
              Name="DataDispatcher Sender Distributed Queue"
              RedeliveryDelayOverride="1000" RedeliveryLimit="20"/>
              <JMSDistributedQueue JNDIName="jms/dataDispatcher.sender"
              Name="DataDispatcher Sender Distributed Queue"
              Targets="devtCluster" Template="DataDispatcher Sender Distributed Queue">
              <JMSDistributedQueueMember
              JMSQueue="DataDispatcher Sender Distributed Queue@Sender JMS-Server Man2" Name="DataDispatcher Sender Distributed Queue@Sender JMS-Server Man2"/>
              <JMSDistributedQueueMember
              JMSQueue="DataDispatcher Sender Distributed Queue@Sender JMS-Server Man1" Name="DataDispatcher Sender Distributed Queue@Sender JMS-Server Man1"/>
              </JMSDistributedQueue>
              <JMSTemplate ExpirationPolicy="Log"
              Name="JMSHandler Distributed Queue"
              RedeliveryDelayOverride="1000" RedeliveryLimit="20"/>
              <JMSDistributedQueue ForwardDelay="60"
              JNDIName="jms/dataDispatcher.jmsHandlerQueue"
              Name="JMSHandler Distributed Queue" Targets="devtCluster" Template="JMSHandler Distributed Queue">
              <JMSDistributedQueueMember
              JMSQueue="JMSHandler Distributed Queue@Sender JMS-Server Man2" Name="JMSHandler Distributed Queue@Sender JMS-Server Man2"/>
              <JMSDistributedQueueMember
              JMSQueue="JMSHandler Distributed Queue@Sender JMS-Server Man1" Name="JMSHandler Distributed Queue@Sender JMS-Server Man1"/>
              </JMSDistributedQueue>
              <JMSTemplate DeliveryModeOverride="Persistent"
              ExpirationPolicy="Log" Name="JMSHandler Distributed Topic"
              RedeliveryDelayOverride="1000" RedeliveryLimit="20" TimeToLiveOverride="-1"/>
              <JMSDistributedTopic JNDIName="jms/dataDispatcher.jmsHandlerTopic"
              Name="JMSHandler Distributed Topic" Targets="devtCluster" Template="JMSHandler Distributed Topic">
              <JMSDistributedTopicMember
              JMSTopic="JMSHandler Distributed Topic@Sender JMS-Server Man2" Name="JMSHandler Distributed Topic@Sender JMS-Server Man2"/>
              <JMSDistributedTopicMember
              JMSTopic="JMSHandler Distributed Topic@Sender JMS-Server Man1" Name="JMSHandler Distributed Topic@Sender JMS-Server Man1"/>
              </JMSDistributedTopic>
              <Application Name="xplg" Path="/var/tmp"
              StagedTargets="devtMan1,devtMan2,devtAdmin" StagingMode="stage" TwoPhase="true">
              <WebAppComponent Name="xplg" Targets="devtCluster" URI="xplg"/>
              </Application>
              <JDBCConnectionPool DriverName="weblogic.jdbc.oracle.OracleDriver"
              Name="methodenPool" PasswordEncrypted="{3DES}NIZOVDL+tBI="
              Properties="user=meteoch;portNumber=1521;SID=dwhdevt;serverName=zueux33"
              Targets="devtCluster" TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:bea:oracle://zueux33:1521"/>
              <JDBCTxDataSource JNDIName="jdbc/methoden" Name="methodenDataSource"
              PoolName="methodenPool" Targets="devtCluster"/>
              <Application Name="ws_dwh_methodenSession"
              Path="/var/tmp/scp/ws_dwh_methodenSession.ear"
              StagedTargets="devtMan1,devtAdmin,devtMan2" StagingMode="stage" TwoPhase="true">
              <WebServiceComponent Name="dwh_methodenSession"
              Targets="devtCluster" URI="dwh_methodenSession.war"/>
              <EJBComponent Name="MethodenWebServiceEJB.jar"
              Targets="devtCluster" URI="MethodenWebServiceEJB.jar"/>
              </Application>
              <Server Cluster="c1" ExpectedToRun="true" ListenPort="1111"
              Machine="zueux32" Name="m1" ServerVersion="8.1.4.0">
              <ServerDebug Name="m1"/>
              <SSL IdentityAndTrustLocations="KeyStores" Name="m1"/>
              <KernelDebug Name="m1"/>
              <Log Name="m1"/>
              <ServerStart Name="m1"
              OutputFile="/var/bea/domains/devtClusterDomain/./NodeManagerClientLogs/devtClusterDomain_m1/startServer_12_07_2006-11_16_05-110.log"
              PasswordEncrypted="{3DES}wgEfvC0PoLDAO9eJ0RGXBg==" Username="weblogic"/>
              <WebServer Name="m1"/>
              <COM Name="m1"/>
              <IIOP Name="m1"/>
              <JTAMigratableTarget Name="m1" UserPreferredServer="m1"/>
              <JTARecoveryService Name="m1"/>
              </Server>
              <Server Cluster="c1" ExpectedToRun="true" ListenPort="2222"
              Machine="zueux32" Name="m2" ServerVersion="8.1.4.0">
              <ServerDebug Name="m2"/>
              <SSL IdentityAndTrustLocations="KeyStores" Name="m2"/>
              <KernelDebug Name="m2"/>
              <Log Name="m2"/>
              <ServerStart Name="m2"
              OutputFile="/var/bea/domains/devtClusterDomain/./NodeManagerClientLogs/devtClusterDomain_m2/startServer_12_07_2006-11_10_32-82.log"
              PasswordEncrypted="{3DES}wgEfvC0PoLDAO9eJ0RGXBg==" Username="weblogic"/>
              <WebServer Name="m2"/>
              <COM Name="m2"/>
              <IIOP Name="m2"/>
              <JTAMigratableTarget Name="m2" UserPreferredServer="m2"/>
              <JTARecoveryService Name="m2"/>
              </Server>
              <Cluster Name="c1"/>
              <MigratableTarget Cluster="c1" Name="m1 (migratable)"
              Notes="This is a system generated default migratable target for a server. Do not delete manually." UserPreferredServer="m1"/>
              <MigratableTarget Cluster="c1" Name="m2 (migratable)"
              Notes="This is a system generated default migratable target for a server. Do not delete manually." UserPreferredServer="m2"/>
              <JMSServer Name="j1" Targets="m1 (migratable)">
              <JMSTopic CreationTime="1165485063006" JNDIName="t1" Name="t1"/>
              </JMSServer>
              <JMSServer Name="j2" Targets="m2 (migratable)">
              <JMSTopic CreationTime="1165485075834" JNDIName="t2" Name="t2"/>
              </JMSServer>
              <JMSTemplate Name="d1"/>
              <JMSDistributedTopic JNDIName="d1" Name="d1" Targets="c1" Template="d1">
              <JMSDistributedTopicMember JMSTopic="t1" Name="dt1"/>
              <JMSDistributedTopicMember JMSTopic="t2" Name="dt2"/>
              </JMSDistributedTopic>
              <JMSConnectionFactory JNDIName="f1" Name="f1" Targets="c1"/>
              <Application Name="DataDispatcher"
              Path="/home/zue/users/kep/proj/datadispatcher/dist/DataDispatcher.ear"
              StagingMode="nostage" TwoPhase="true">
              <EJBComponent Name="DataDispatcherBeans.jar"
              Targets="devtCluster" URI="DataDispatcherBeans.jar"/>
              <WebAppComponent Name="DataDispatcherAdminWeb"
              Targets="devtCluster" URI="DataDispatcherAdminWeb"/>
              <WebAppComponent Name="ReceiverServlet" Targets="devtCluster" URI="ReceiverServlet"/>
              <WebAppComponent Name="SenderServlet" Targets="devtCluster" URI="SenderServlet"/>
              <WebAppComponent Name="datadispatcherui" Targets="devtCluster" URI="datadispatcherui"/>
              </Application>
              </Domain>
              Edited by peter05 at 12/18/2006 11:59 PM

  • APEX Listener on WLS Server Basic

    Hi,
    Does APEX Listener technically comply with restrictions for WLS Server Basic?
    Those are specified here.
    Thanks in advance for clarification.
    Karin

    One more question:
    If it technically complies is this valid for APEX Listener running in Standalone Mode as well?
    Thanks
    Karin

  • Problem with Application build in JDeveloper 11.1.5 to WLS 10.3.5

    Hi to everyone, I have a problem with a application build in JDeveloper 11.1.5 and deployed to a standalone WLS 10.3.5 ( with the JRF template appliied , to run adf applications )
    When I try access to the page : localhost:7001/myApp , it show me :
    "Error 403 Fordbbiben ".
    but when I put :
    localhost:7001/myApp/index.jspx, it show me :
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    and the log is :
    <May 8, 2012 9:06:22 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
    java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    What can I do to fix the problem ??
    Thanks

    Analyzing the problem, I created a new ADF application with only a web page (index.jspx) , and deploy it to the WLS, and I access to URL of page and it runs !! ( http:localhost:7001/myApp/faces/index.jspx ).
    But, when I ADD A TASK FLOW to the application and deploy to the WLS newly , and try to access to the URL application's ( http:localhost:7001/myApp/faces/index.jspx ) . It show me again :
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    and the log is :
    <May 10, 2012 19:02:57 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
    java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    Why it show me that error when I ADD a Task Flow to the Application ???
    Can Anyone help me please ?? I m varios days with this problem. Thanks

  • ADF application to access WLS data source .

    Hi,
    I have developed an ADF application in Jdeveloper 10.3.3 and deployed on Weblogic server. Now I want my application to access the data from data source created in WLS. I have created a data source (ds_demo) using the WebLoigc server option Services -> JDBC -> Data Sources.Target has been set to the default server where application is running.
    Now I want application to access the database over the data source ds_demo. How can I do that?. Please provide any pointers.
    Thanks & Regards,
    MB

    You should be able to use Java code like this to directly obtain the WLS data source if you're using a POJO/DAO :
    Context ctx = null;
    DataSource ds;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    ds = (DataSource)ctx.lookup("DataSourceJNDINameHere");
    This assumes you're deploying this on the same server hosting the datasource and that it's on port 7001.

  • Problem using integrated WLS in jDeveloper 11.1.2.1.0

    Hey there,
    I got a problem using the integrated WLS from the jDeveloper 11.1.2.1.0.
    After trying to deploy an ADF Web Application on the integrated WLS, I get the following log message:
    LOG
    +[Waiting for the domain to finish building...]+
    +[11:26:04 AM] Creating Integrated Weblogic domain...+
    +[11:28:13 AM] Extending Integrated Weblogic domain...+
    +[11:30:06 AM] Integrated Weblogic domain processing completed successfully.+
    *** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    +/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/bin/startWebLogic.sh+
    +[waiting for the server to complete its initialization...]+
    +.+
    +.+
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    +.+
    WLS Start Mode=Development
    +.+
    CLASSPATH=/home/robin/bin/wls/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/robin/bin/wls/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_oepe100/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/jdk160_29/lib/tools.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic_sp.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.jar:/home/robin/bin/wls/modules/features/weblogic.server.modules_12.1.1.0.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/webservices.jar:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/robin/bin/wls/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/robin/bin/wls/wlserver_12.1/common/derby/lib/derbyclient.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/xqrl.jar
    +.+
    PATH=/home/robin/bin/wls/wlserver_12.1/server/bin:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/bin:/home/robin/bin/wls/jdk160_29/jre/bin:/home/robin/bin/wls/jdk160_29/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin
    +.+
    +*  To start WebLogic Server, use a username and   *+
    +*  password assigned to an admin-level user.  For *+
    +*  server administration, use the WebLogic Server *+
    +*  console at http://hostname:port/console        *+
    starting weblogic with Java version:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
    Starting WLS with line:
    +/home/robin/bin/wls/jdk160_29/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.policy -Djavax.net.ssl.trustStore=/tmp/trustStore7618453572230021232.jks -Dhttp.proxyHost=emea-proxy.uk.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|localhost.localdomain|127.0.0.1|::1|MUELLER-BADY-GENTOO|MUELLER-BADY-GENTOO -Dhttps.proxyHost=emea-proxy.uk.oracle.com -Dhttps.proxyPort=80 -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -Djava.endorsed.dirs=/home/robin/bin/wls/jdk160_29/jre/lib/endorsed:/home/robin/bin/wls/wlserver_12.1/endorsed -da -Dplatform.home=/home/robin/bin/wls/wlserver_12.1 -Dwls.home=/home/robin/bin/wls/wlserver_12.1/server -Dweblogic.home=/home/robin/bin/wls/wlserver_12.1/server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=/home/robin/bin/wls/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain -Djrockit.optfile=/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/servers/DefaultServer -Doracle.domain.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/carml -Digf.arisidstack.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/robin/bin/wls/oracle_common/modules/oracle.ossoiap_11.1.1,/home/robin/bin/wls/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/oracle/store/gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/robin/bin/wls/patch_wls1211/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_oepe100/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server+
    +<Feb 10, 2012 11:30:09 AM CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>+
    +<Feb 10, 2012 11:30:10 AM CET> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>+
    +<Feb 10, 2012 11:30:11 AM CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>+
    +<Feb 10, 2012 11:30:12 AM CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >+
    +<Feb 10, 2012 11:30:15 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>+
    +<Feb 10, 2012 11:30:15 AM CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>+
    +<Feb 10, 2012 11:30:15 AM CET> <Notice> <Log Management> <BEA-170019> <The server log file /home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log is opened. All server side log events will be written to this file.>+
    Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager saveKeyStore
    WARNING: Failed to save farm keystore. Reason {0}
    Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager createKeyStore
    WARNING: Failed to save farm keystore. Reason {0}
    oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
    +     at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
    +     at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:64)+
    +     at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)+
    +     at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)+
    +     at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)+
    +     at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)+
    +     at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:850)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
    +     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)+
    +     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)+
    +     at java.lang.Class.newInstance0(Class.java:355)+
    +     at java.lang.Class.newInstance(Class.java:308)+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
    +     at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
    +     at weblogic.security.SecurityService.start(SecurityService.java:148)+
    +     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
    +     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
    +     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
    +<Feb 10, 2012 11:30:24 AM CET> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider>+
    +<Feb 10, 2012 11:30:24 AM CET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
    +     at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
    +     at weblogic.security.SecurityService.start(SecurityService.java:148)+
    +     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:293)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:899)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:860)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     Truncated. see log file for complete stacktrace+
    Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
    +     at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
    +     Truncated. see log file for complete stacktrace+
    +>+
    +<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>+
    +<Feb 10, 2012 11:30:24 AM CET> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>+
    +<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>+
    Process exited.
    */LOG*
    After that, I tried setting permissions for the cwallet.sso file to ugo+rwx, but this leads to the same problems as mentioned above.
    My second try was to setup an external WLS 12c, but it seems to be not yet possible to connect to a WLS 12c from within jDeveloper.
    Do you have any ideas ?
    Thank you in advance for your help.
    Regards,
    Robin

    After debugging the WLS Initialisation with jdb, I recognized that there was some trouble with dependent libraries.
    In the end, I solved my problem by using another OS (Ubuntu 11.10) for development. There, the WLS works out of the box, even with 64-Bit libraries.
    Thank you for your help.
    Regards,
    Robin

  • WLS 10.3 [weblogic.appc] - Unable to generate stub/skeleton for 1.5

    Hello,
    I want to deploy the application (EJB) in WLS 10.3 and client is using JDK 1.5.
    When we run the weblogic.appc on the .ear file, the stub and skeleton is created of 1.6 when we run the following command:-
    java weblogic.appc –source 1.5 –output temp_directory Myear-test.earHOwever when we specify the -source as 1.5 it has to create the stub and skeleton for JDK 1.5.
    When we check the version of the MyServiceBean_s_Impl.class file we could see its generating for 1.6, as also shown below:
    (to check the version, run the command “javap –verbose class_name”)
    SourceFile: "MyServiceBean_s_Impl.java"
    minor version: 0
    major version: 50
    I have tried the same thing on the simple EJB application(.jar), every thing works fine.
    Environment Details:-
    WLS 10.3
    JDK 1.6.0_05 (Server)
    JDK 1.5 (client)
    Please provide the provide the pointers.
    Edited by: As91 on Sep 11, 2009 12:05 AM

    we have the same problem with the OSB. The sbconsole was no longer working. I guess that is may be related to an open session during shutdown. Overnight the problem has gone away, and we could login to sbconsole again.
    BEA-423167
    An exception or error occurred in the backing file [com.bea.alsb.console.changemgmt.ChangeCenterBacking] while executing its preRender method. It was java.lang.IllegalStateException: Unable to get Configuration Session Manager java.lang.IllegalStateException: Unable to get Configuration Session Manager at com.bea.alsb.console.support.JMXHelper.sessionExists(JMXHelper.java:673) at com.bea.alsb.console.changemgmt.ChangeMgmtUIHelper.updateButtons(ChangeMgmtUIHelper.java:351) at com.bea.alsb.console.changemgmt.ChangeCenterBacking.preRender(ChangeCenterBacking.java:26) at com.bea.netuix.servlets.controls.Backable$Impl.preRender(Backable.java:191) at com.bea.netuix.servlets.controls.AdministeredBackableControl.preRender(AdministeredBackableControl.java:104) at com.bea.netuix.servlets.controls.window.Window.preRender(Window.java:432) at com.bea.netuix.servlets.controls.portlet.Portlet.preRender(Portlet.java:814) 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
    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)

Maybe you are looking for

  • SD Credit Mgmt: RVKRED06 Function

    Program RVKRED06 was executed in the background (Check blocked credit documents). The Overall status of credit checks (VBUK-CMGST) was changed in a standard order from 'B' (Credit check was executed, document not OK) to 'A' (Credit check was executed

  • Labview crashes without any warning or error messages

    Hi, I have been using Labview programs for the last 2 months without any problem. All of a sudden the program has started crashing while running. There are no error messages on the screen. The program runs for long hours and during my intermediate in

  • Possibillity to close yellow request with ABAP?

    Hello  experts, is there any possibility (function module, program, ...) to close the yellow request of a transactional cube ? The reason why we need this functionality is to load all data from our BCS cube to another cube during the day via process 

  • How to call a web that I made

    I want to call a web that I have made.Just like this: there is a butttom that if I impress it ,a web will be called.The web can be a user mannual or something else. And how to solve this problem? Thanks best regards!

  • TableSelectOne keeping state and initialising default

    I have a simple table and tableSelectOne to select a row. How can I set the first row to be defaulted and the state kept when the page is refreshed? Heres the table in the JSP: <af:table emptyText="#{wsfmsgs.tableNoItems}" rows="6" banding="row" band