Want to see session information through coherence console

I use coherence*web to push the http session information in,and I changed the coherence.cmd to let the configuration point to session-cache-config.xml
which is like:
set java_opts=-Xms%memory% -Xmx%memory% -Dtangosol.coherence.distributed.localstorage=%storage_enabled% -Dtangosol.coherence.cacheconfig=session-cache-config.xml %jmxproperties%
%java_exec% -server -showversion %java_opts% -cp "%coherence_home%\lib\coherence.jar;E:\coherence-java-3.7.1.0b27797\coherence\lib\coherence-web.jar;E:\wls12c\oepe_12.1.1.0.0\plugins\javax.servlet_2.5.0.v201103041518.jar" com.tangosol.net.CacheFactory %1
when I start coherence.cmd and change to session-storage, I want to list the data,but get the nullpoint exception:
Map (session-storage): list
2012-06-08 13:34:38.675/11.309 Oracle Coherence GE 3.7.1.0 <Error> (thread=main,
member=5):
java.lang.NullPointerException
at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readAttribute
s(AbstractHttpSessionModel.java:1809)
at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readExternal(
AbstractHttpSessionModel.java:1735)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(Externa
lizableHelper.java:2041)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(Externaliza
bleHelper.java:2345)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(Externaliz
ableHelper.java:2746)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelpe
r.java:262)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedC
ache.CDB:4)
at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getValu
e(ConverterCollections.java:3548)
at com.tangosol.coherence.component.application.console.Coherence.doList
(Coherence.CDB:83)
at com.tangosol.coherence.component.application.console.Coherence.proces
sCommand(Coherence.CDB:450)
at com.tangosol.coherence.component.application.console.Coherence.run(Co
herence.CDB:37)
at com.tangosol.coherence.component.application.console.Coherence.main(C
oherence.CDB:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tangosol.net.CacheFactory.main(CacheFactory.java:827)
Map (session-storage):
Anyone have some experiences and can give me some suggestion?
I do not want to use the httpsession language in jsp, and I just want to use API to access the hpptsession information.
Thanks a lot!

Sharing the information directly by accessing the caches will be a bit difficult, because the data format for the session is highly optimized. For example, large attributes are often split out separate from the bulk of the "core" session data, to make moving the session around the network more efficient. What may be the simplest solution (depending on the application's needs) is to use a "back channel" from the ASP.NET application to the Java EE application, for example over REST. This would be a reasonable approach if there are a few items that you want to access and/or update in the session.
On the Java side, you can "get" a session using the HttpSessionContext interface, but you have to explicitly enable that feature (because it was deprecated in Servlet 2.1):
public HttpSession getSession(String sId)To enable the feature, you have to set the coherence-enable-sessioncontext property to true. This property is in the XML configuration file that is added to the WAR by Coherence*Web install (WebPluginInstaller) step. I'm not sure how this gets set up in WebLogic (since there is no separate "install" step), but it should still be supported.
Is this what you were looking for?
Peace,
Cameron.

Similar Messages

  • I want to see my app through Creative Cloud Installer, but they said there is an error??

    I want to see my app through Creative Cloud Installer, but they said there is an error??

    Te has dirigido a un Foro de Usuarios, en español.
    Comenta por favor en detalle el problema. Gracias.

  • Urgent:user dont want to see the information

    Hello Experts,
    user dont want to see the information like author of the query time etc when he
    executes the query are there any settings to change that?
    Regards,
    Yash

    Hi,
    In the analyzer go to Layout button (left of Tools)
    --> Text elements.
    Reward if usefull
    Udo

  • I want to see po details through that po material/material number,how?

    dear sap guru, i want to see the po details, i know that po material/material number, how it is?

    Hi
    Oneway of seeing this is use ME2M trxn
    Otherway Tcode SE16 and enter table name EKKO
    and enter the field EBELN - with your po no and excute
    It will show almost all the fields in PO.
    Regards,
    raman

  • HttpSessionDebug Not Working For Session Monitoring through Admin Console

    Hi,
    I want to Analyze the HttpSession Payload (Size) in the AdminConsole-->Diagnostics-->Log Files -->EventsDataArchive
    I followed the Link http://jayesh-patel.blogspot.com/2008_04_01_archive.html
    I am using "MyDiagnosticEar\META-INF\weblogic-diagnostics.xml" as following:
    <?xml version="1.0" encoding="UTF-8"?>
    <wldf-resource xmlns="http://www.bea.com/ns/weblogic/90/diagnostics">
    <instrumentation>
    <enabled>true</enabled>
    <wldf-instrumentation-monitor>
    <name>HttpSessionDebug</name>
    <enabled>true</enabled>
    </wldf-instrumentation-monitor>
    </instrumentation>
    </wldf-resource>
    I am using a Simple JSP page to set Some Attribute inside the newly Created Session
    MyDiagnosticEar\SimpleActionWebApp\index.jsp
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page session="false" %>
    <html>
    <body>
    <%
    HttpSession session=request.getSession(true);
    out.println("<h4>Session ID: "+session.getId());
    session.setAttribute("AAAAAAAAA","BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB");
    java.util.Vector v=new java.util.Vector();
    v.add(new java.util.Date());
    v.add(new java.util.ArrayList());
    v.add("AAAAABBCCCC");
    session.setAttribute("EEEEEEEEEEEEEE",v);
    %>
    Data is Set As an Attribute inside the HttpSession:
    session.setAttribute("AAAAAAAAA","BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB");
    session.setAttribute("EEEEEEEEEEEEEE",v);
    <%
    System.out.println((String)request.getSession().getAttribute("AAAAAAAAA"));
    System.out.println(session.getAttribute("EEEEEEEEEEEEEE"));
    %>
    </body>
    </html>
    Please let me know if there is any thing missing.....I have tested it in All WLS9.2, WLS10MP1 and WLS10.3 versions ..But no Success...
    I am not able to see anything After hitting the JSP...in AdminConsole-->Diagnostics-->Log Files -->EventsDataArchive
    But i can see that the Diagnostic Module has been Picked up successfully...
    AdminConsole--->Deployments--->MyDiagnosticEar -->Configuration--->Instrumentation page
    Thanks
    Jay SenSharma

    Hi Raj,
    Thanks for looking into this issue.
    I tried to Configure DiagnosticModule as well from Admin Console but could not make it work...Can u Please elaborate more on this...It will be really helpful.
    Below is the Diagnostic Module...Created using Admin Console....Diagnostics -> Diagnostics Modules.
    <?xml version='1.0' encoding='UTF-8'?>
    <wldf-resource xmlns="http://www.bea.com/ns/weblogic/weblogic-diagnostics" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-diagnostics http://www.bea.com/ns/weblogic/weblogic-diagnostics/1.1/weblogic-diagnostics.xsd">
    <name>Module-0</name>
    <instrumentation>
    <enabled>true</enabled>
    <wldf-instrumentation-monitor>
    <name>Connector_Around_Work</name>
    <description></description>
    </wldf-instrumentation-monitor>
    </instrumentation>
    <harvester>
    <enabled>true</enabled>
    <sample-period>3000</sample-period>
    <harvested-type>
    <name>weblogic.management.runtime.WebAppComponentRuntimeMBean</name>
    <harvested-attribute>SessionMonitoringEnabled</harvested-attribute>
    <harvested-instance>com.bea:ApplicationRuntime=TestDiagnosticsEAR,Name=AdminServer_/TestDiagnostics,ServerRuntime=AdminServer,Type=WebAppComponentRuntime</harvested-instance>
    <namespace>ServerRuntime</namespace>
    </harvested-type>
    </harvester>
    <watch-notification>
    <watch>
    <name>WatchA</name>
    <enabled>true</enabled>
    <rule-type>Harvester</rule-type>
    <rule-expression>(${ServerRuntime//[weblogic.management.runtime.WebAppComponentRuntimeMBean]com.bea:ApplicationRuntime=TestDiagnosticsEAR,Name=AdminServer_/TestDiagnostics,ServerRuntime=AdminServer,Type=WebAppComponentRuntime//SessionMonitoringEnabled} = '')</rule-expression>
    <alarm-type>AutomaticReset</alarm-type>
    <alarm-reset-period>60000</alarm-reset-period>
    </watch>
    </watch-notification>
    </wldf-resource>
    TestDiagnostics
    Thanks
    Jay SenSharma
    Edited by: Jay SenSharma on Jan 8, 2010 10:38 AM

  • I want to see more information from my marker names / comments in the overlay settings!

    Hi!
    Is there any way of seeing more than just first handful of characters or whatever from your marker names in the overlay? We make a lot of documentaries and having come over from Final Cut 7.0 I'm used to having more information available on the marker overlays but I can't seem to get much more out of premiere!  Being able to read the full marker on the source monitor would be bloody handy.
    ALSO - on the marker's window, I can't seem to find a way of expanding the column housing the marker name - so yet again all I can see is a marker name that gets cut off after 20 or so characters and the problem of not being able to read the full name of the marker.
    Am I missing a setting / function / switch?
    Thanks!
    Nath

    As you can see... The full comment goes on to say '...after a certain amount of characters'
    If I increase the font size so the marker text is actually readable and doesn't cause eye bleed even more words disappear - rendering the whole point of markers pretty pointless.

  • OC4J session information with App Server Console

    Hello
    I have installed BI&Forms 10.1.2.0.2.
    I have an application deployed to that app server.
    I would like to see session information against that app, and to be able to clear sessions down.
    Can this be done with App server Console and how?
    Thanks
    Andy

    Fixed this. The ServerName param in httpd.conf was incorrect.

  • Single Sign-On and session information

    I have an Oracle Portal application with many Java Web Applications. I wish to
    provide Single Sign-On to this applications. I know how to configure Single
    Sign-On and how to get the user login in Java. I want to store session
    information such as: User First and Last Name, User Social Security Number. I
    want to get this information from the database after authentication, store it
    in session and then access this information from all my applications.

    Are you familiarized with sys_context function?
    Hope this is useful help.
    BR,
    Marcos

  • I am not able to see Diagnostics logs in Admin Console

    Hi,
    I did some configuration changes in JDBC level and now i want to see diagnostics logs in admin console . But when i moved to Diagnostics--->log files---->server logs----> (selected managed server ) -->click view
    it doesn't display anything.
    Please tell me how to view the logs in admin console....

    Hi,
    First of all you have to do some tasks in order to get this data.
    1. Enter to WLS Administration Console.
    2. On the left panel go to Diagnostics > Diagnostic Images
    3. Select one of your servers using the radio button.
    4. Clic on Capture Image
    It will generate a zip file with a snapshot, or dump, of a server's state and configuration data.
    Best regards,
    Raúl

  • I have an issue installing photoshop CC trial, I currently have elements and wanted to see the differences before buying, when installing through the creative cloud app I get the error message  Exit Code: 7 Please see specific errors below for troubleshoo

    I have an issue installing photoshop CC trial, I currently have elements and wanted to see the differences before buying, when installing through the creative cloud app I get the error message  Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR: DW041 ...   -------------------------------------- Summary --------------------------------------   - 0 fatal error(s), 1 error(s)
    ERROR: DW041: INSTALLDIR Volume D:\ doesn't exist.  -------------------------------------------------------------------------------------  System Requirements  and it will not install, It says cant find the path D: im not sure why because as far as I can see its set to install on drive C: which is where I want it!

    Exit Code: 6, Exit Code: 7 Installation Errors - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs

  • WL 6.1 LDAPRealm -- Can't see users, groups through console

    I'm having some troubles setting up an LDAPRealm correctly. I've been
    searching through the ng, and have read the cnfgsec.html doc closely
    several times, but must be missing something. Here is the situation:
    Running WLS 6.1 on Win2k. What I want to do is create an LDAPRealm for
    authentication. Right now I have Iplanet/Netscape Directory server
    6.01 with the default schema. I have set up an LDAPRealm through the
    console.
    ie Security -> Configure a new LDAP Realm V1 (Deprecated)... uses
    class weblogic.security.ldaprealmv1.LDAPRealm. Filled out the
    appropriate user groups entries:
    Group DN:ou=topologymanagement,o=netscaperoot
    Group Name Attribute: cn
    Uncheck Group is Context
    Group Username attribute:groupOfUniqueNames
    User Auth: bind
    User Password Attribute: userPassword
    User DN: ou=SpecialUsers
    Username attribute: uid
    Then created the appropriate caching realm. The resulting related
    changes to config.xml are as follows:
    <LDAPRealm AuthProtocol="simple"
    Credential="eNcRyPtEdPaSsWoRd"
    GroupDN="ou=topologymanagement,o=netscaperoot"
    GroupIsContext="false" GroupNameAttribute="ou"
    GroupUsernameAttribute="groupOfUniqueNames"
    LDAPURL="ldap://machineName:389"
    Name="MyLDAP Realm V1 (Deprecated)" Notes="hi"
    Principal="Directory Manager" UserDN="ou=SpecialUsers"
    UserNameAttribute="uid" UserPasswordAttribute="userPassword"/>
    Now, I bounce the weblogic server and it comes up no complaints. But
    when I go to the console, to Security->Groups (mydomain> Realms>
    wl_default_realm> Groups is the title), I do not see any of the groups
    listed in the Directory server. Same for the users. Checking the
    directory server logs, I see the following each time I start the
    console:
    [22/May/2002:15:34:12 -0400] conn=0 op=20 SRCH base="cn=config"
    scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))"
    attrs="nsslapd-accesslog nsslapd-accesslog-list"
    [22/May/2002:15:34:12 -0400] conn=0 op=20 RESULT err=0 tag=101
    nentries=1 etime=0
    So it looks like it is connecting. Any suggestions, tips or pointers
    would be greatly appreciated. Does anybody have a doc of a simple walk
    through setting up LDAP realms? I've been unable to find a tutorial.
    I've read Weblogics docs, but I need an example to look at to put all
    the pieces together. Thanks for the help
    -k

    i got ldapv1 able to work with this following config.
    " <LDAPRealm AuthProtocol="simple" Credential="{3DES}nJfj4lzp6IM="
    GroupDN="o=abc.com,ou=Groups" GroupIsContext="false"
    GroupUsernameAttribute="uniquemember"
    LDAPURL="ldap://localhost:389"
    Name="MyLDAP Realm V1 (Deprecated)"
    Principal="uid=admin, ou=Administrators,ou=TopologyManagement,
    o=NetscapeRoot"
    UserAuthentication="bind" UserDN="o=abc.com,ou=people"
    UserNameAttribute="uid"/>
    thx
    kiran
    kj" <[email protected]> wrote in message
    news:[email protected]...
    I'm having some troubles setting up an LDAPRealm correctly. I've been
    searching through the ng, and have read the cnfgsec.html doc closely
    several times, but must be missing something. Here is the situation:
    Running WLS 6.1 on Win2k. What I want to do is create an LDAPRealm for
    authentication. Right now I have Iplanet/Netscape Directory server
    6.01 with the default schema. I have set up an LDAPRealm through the
    console.
    ie Security -> Configure a new LDAP Realm V1 (Deprecated)... uses
    class weblogic.security.ldaprealmv1.LDAPRealm. Filled out the
    appropriate user groups entries:
    Group DN:ou=topologymanagement,o=netscaperoot
    Group Name Attribute: cn
    Uncheck Group is Context
    Group Username attribute:groupOfUniqueNames
    User Auth: bind
    User Password Attribute: userPassword
    User DN: ou=SpecialUsers
    Username attribute: uid
    Then created the appropriate caching realm. The resulting related
    changes to config.xml are as follows:
    <LDAPRealm AuthProtocol="simple"
    Credential="eNcRyPtEdPaSsWoRd"
    GroupDN="ou=topologymanagement,o=netscaperoot"
    GroupIsContext="false" GroupNameAttribute="ou"
    GroupUsernameAttribute="groupOfUniqueNames"
    LDAPURL="ldap://machineName:389"
    Name="MyLDAP Realm V1 (Deprecated)" Notes="hi"
    Principal="Directory Manager" UserDN="ou=SpecialUsers"
    UserNameAttribute="uid" UserPasswordAttribute="userPassword"/>
    Now, I bounce the weblogic server and it comes up no complaints. But
    when I go to the console, to Security->Groups (mydomain> Realms>
    wl_default_realm> Groups is the title), I do not see any of the groups
    listed in the Directory server. Same for the users. Checking the
    directory server logs, I see the following each time I start the
    console:
    [22/May/2002:15:34:12 -0400] conn=0 op=20 SRCH base="cn=config"
    scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))"
    attrs="nsslapd-accesslog nsslapd-accesslog-list"
    [22/May/2002:15:34:12 -0400] conn=0 op=20 RESULT err=0 tag=101
    nentries=1 etime=0
    So it looks like it is connecting. Any suggestions, tips or pointers
    would be greatly appreciated. Does anybody have a doc of a simple walk
    through setting up LDAP realms? I've been unable to find a tutorial.
    I've read Weblogics docs, but I need an example to look at to put all
    the pieces together. Thanks for the help
    -k

  • Would Like to Get Report of Daily Emails In and Out from Members to a DL Exchange version : 2007 I am the supervisor for the group and want to quantify this information. I do not need to see the content, just quantity is it possible ?

    Would Like to Get Report of Daily Emails In and Out from Members to a DL
    Exchange version : 2007
    I am the supervisor for the group and want to quantify this information. I do not need to see the content, just quantity
    is it possible ?

    Well, distribution groups don't really have a concept of "in" or "out". They only serve to distribute messages sent to them -- unless you're asking to know who was a member of the distribution group at the time a message was sent to the DL.
    Message tracking logs hold the information you want, though. You'd have to look for EXPAND events that reference the distribution group and take the sender's e-mail address from that event. If the DL is a simple one that's not a member of any other groups
    you could also look for RECEIVE events sent to the e-mail address of the group and get the sender's name from that event.
    You can use Powershell extract the rows of data from the logs, but you'll have to write the code to get the data out of those rows and into a format you want. Perhaps LogParser could be useful in place of Powershell?
    --- Rich Matheisen MCSE&I, Exchange MVP

  • I set up Firefox sync from my old computer. This has had its hard drive replaced and been sold. I now want to retrieve the information and got my bookmarks on my new computer. I can't see any way to do this!

    I set up Firefox sync from my old computer. This has had its hard drive replaced and been sold. I now want to retrieve the information and get my bookmarks on my new computer. I can't see any way to do this!
    Help please

    To build on the second option provided by The Edmeister make sure that you have your Sync Key, if this is not the case Firefox Sync will not help you (data is encrypted with that Key).
    Finally, if the last sync happened long time ago, it may be the case that your data is not on the servers anymore. Firefox Syn wasn't designed as a back up service.

  • I want to see the bank key information

    While  defferent house banks assigning diffenrent bank keys . i want to see bank key information.  is there any  reposrt for bank key

    Hi,
    I don't think there is any report for this, but you can view in the House Bank details. Alternatively, you can also view from the table.
    Thanks
    Murali.

  • HT1692 IOS7 calendar.   I want to see all my events for a day listed when I go to that day, not have to scroll through 24 freakin' hours.  How do I manage that?

    When I go to a day, I want to see a list of my events for that day in order, together, not have to scroll through 24 hours. 

    You can tap on the magnifying glass in the upper right and see a list view.

Maybe you are looking for

  • How do I add an email address for a family member to my .mac account?

    Can I add an email address for my mother to my .mac account?  I'd like to set up, manage and pay for an email address for her use.  I thought this was possible but can't seem to navigate myself to the place where I can get an additional address.

  • PO price changes after partial MIGO

    Dear All, I have created a PO for 100 Pcs with Rs 100 per Pc & have done GR for 50 Pcs. After 10 days i will get the remaining 50Pcs but the price has gone upto Rs 110 due to variations in market. So accordingly i changed the price in PO to Rs 110 &

  • Replace function for HTML tags

    Hie Guys, I would like to get rid of the HTML tags from a column/object in my report using the "Replace" function. Basically, I want to replace whatever the content is between "<" & ">" i.e. the opening and closing tags. I know I can use the "Pos" fu

  • Palm tx only works with charger plugged in

    My palm tx only works when plugged into ac charger.  Symptoms began after I left device unused for about 2 weeks.  When plugged in I get the battery charging symbol.  The battery icon says 100%.  As soon as I unplug charger, the device dies.  I have

  • CFMAIL: How to open an email for further editing before it is sent?

    I'd like to know if there is a way, using CFMAIL, to create the email in the code but instead of sending the email, have the email open in the client email program so that the user can further edit this email if they so wish before they manually hit