JMX / MBeans Support in OC4J/JDev9i?

Hi all
Generally, is it possible to include self-written Managed Beans
(aka MBeans) into 9iAS? MBeans are components of the Java
Management Extension (JMX)
- If yes, where can I find a "How To" documentation?
- If no, at what time respectively in which release will be this
feature available in the future?
Thanx
Tino

Found something!
Not currently and not in the upcoming Oracle9iAS rel2. We are
looking into JMX support post rel2.

Similar Messages

  • How to expose JMX MBeans To Remote Clients ?

    Hi all,
    New to JMX...need some configuration guidance :)
    I'm trying to add a new JMX service - the will invoke an already existing service on my application...but I can't find a good example for exposing JMX MBeans to remote clients...
    I found this page http://wiki.jboss.org/wiki/en/JMXMBeanRemoteProxy?action=e&windowstate=normal&mode=view (fairly old...) but I'm not sure how to "create a proxy for the MBean and bind it under MyServiceInvokeTarget? JNDI name"
    Where can I find a good example for exposing app interface to JBoss JMX ?
    Thanks,
    Hadas
    Edited by: Hadas-David on May 28, 2008 7:36 AM

    I don't use JBoss, but because you have not received a reply yet, I'll throw some possible references out. You might try [Section 2.7|http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch2.chapter.html#ch2.remoteaccess.sect] ("Remote Access to Services, Detached Invokers") of the [JBoss 4 Application Server Guide|http://docs.jboss.org/jbossas/jboss4guide/r5/html/] (PDF) to get more information. I listed some additional references that a JBoss developer might want to check out in [another entry in this same forum|http://forum.java.sun.com/thread.jspa?threadID=5295861&tstart=0] as well as [still another entry in this forum|http://forum.java.sun.com/thread.jspa?threadID=5298128&tstart=0]. The [JBoss Wiki|http://wiki.jboss.org/wiki/] entry [JMX_Remoting_service_configuration|http://wiki.jboss.org/wiki/JMX_Remoting_service_configuration] looks like a potentially useful resource for using JMX on JBoss. Another entry on that same Wiki (JBossMX) states "JBoss MX supports version 1.2 of the JMX specification (JSR 003) since JBoss versions 3.2.5 and 4.0.0. *Support for the JMX Remote API (JSR 160) is under development*" (I added the bold emphasis). This last entry links to another entry ([Using the RMI Adaptor|http://wiki.jboss.org/wiki/UsingTheRMIAdaptor]) that might be exactly what you need.

  • Custom JMX MBeans not showing JRMC under Weblogic 10.3.1

    Hi,
    I have created some custom JMX MBeans and registered them with the Runtime MBean Server as described in the documentation in a ApplicationLifecycleListener. Even though the ObjectInstances I get back from the MBeanServer indicate that the MBean is registered, when I connect to the server using JRockit Mission Control I only see the standard Weblogic MBeans and my custom MBeans do not show.
    Side note, when I deploy my application in Weblogic 9.2.3 my custom MBeans do show in JRMC? Weird!!!! Both servers are in development mode and both are using JRockit as the JVM.
    Regards,
    Mark P Ashworth

    You should be able define a remote connection to the WLS MBean server in the JRMC Console in the same fashion as in JConsole. You will however loose a lot of functionality, since (I assume) the JVM MBeans in the platform MBean server will not be avilable from the WLS specific MBean server. Pretty much the only remaining tabs of interest will be MBean browser and the trigger tabs. I guess you could also redefine the other tabs to show WLS specific attributes of interest.
    If you wish to monitor the JVM MBeans in the platform MBean server together with the WLS MBeans, then you need to make WLS use the platform MBean server instead of its own, just like the previous entry suggested.

  • Is JMS 1.0.2 Supported in OC4J JMS 10.1.2 adaptor

    Hi
    I am wondering if JMS 1.0.2 is Supported in OC4J JMS 10.1.2 adaptor.
    Thank you
    Wade Adams
    Message was edited by:
    user617346

    Just wanted to update with what I found out incase anyone else needs this information:
    The SRE 505 eGate JMS Reference PDF file, indicates that SRE JMS is compliant with JMS version 1.0.2. In ICAN 505, the JMS server is compliant with JMS version 1.0.2b.
    Also OC4j 10.1.2 adaptor is compliant iwth JMS version1.0.2b.

  • How to deploy custom JMX Mbean in Weblogic

    Hi,
    I dont find any forum relevant to my topic. Hence i am posting my query here.
    I have a custom developed MBean running in a seperate JVM i need to deploy this in Weblogic Server JMX agent. How do i deploy this Mbean in Weblogic Server 9.2
    Suggest me please.
    Thanks and Regards,
    Rajashankar.R

    keerthijava wrote:
    Hi,
    I believe you would have got a solution for deploying JMX Mbean in Weblogic . Could you please suggest me .Please, don't resurrect old threads. The thread was posted almost a year ago. I'm locking it.
    Kaj

  • JSF 1.2 supported in OC4J (JDev 11g)

    Hello Everyone,
    How do you know if your container is supporting jsf 1.2 or not, as am wondering if Embedded OC4J in JDev 11g Technology Preview already supporting JSF 1.2 by default!?

    Hi,
    it does.
    Frank

  • JAXB 2.0 Support for OC4J 10.1.3.3

    http://java2go.blogspot.com/2008/01/jaxb-10-vs-20-in-jdeveloper-10g.html
    This blog entry talks about how to get JAXB 2.0 in JDeveloper 10g. I want to know whether JAXB 2.0 is supported or not for OC4J 10.1.3.3, before i start using it in JDeveloper.
    Chandresh.

    Has anyone ever tried using spring web services with oc4j? I tried using JAXB 2.0. But it gives lot of errors while deploying the example.
    Operation failed with error: Error creating bean with name 'messageReceiver' defined in class path resource [org/springframework/ws/samples/airline/ws/applicationContext-ws.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.ws.server.endpoint.adapter.GenericMarshallingMethodEndpointAdapter#0': Cannot resolve reference to bean 'marshaller' while setting bean property 'marshaller'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'marshaller': Invocation of init method failed; nested exception is org.springframework.oxm.jaxb.JaxbSystemException: Provider com.sun.xml.bind.ContextFactory_1_0_1 not found; nested exception is javax.xml.bind.JAXBException: Provider com.sun.xml.bind.ContextFactory_1_0_1 not found - with linked exception: [oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: com.sun.xml.bind.ContextFactory_1_0_1 Dependent class: javax.xml.bind.ContextFinder Loader: oracle.xml:10.1.0_2 Code-Source: /C:/oc4j/lib/xml.jar Configuration: (ignore manifest Class-Path) in META-INF/boot.xml in C:\oc4j\j2ee\home\oc4j.jar This load was initiated at airline.web.airline:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.]

  • Is "LIKE" supported in oc4j EJB QL

    Hello,
    I am wondering if any one has used "LIKE" statement in the finder methods.I have tried to change the query generated by oc4j but always get errors.
    Is it supported in this release and how about future versions ?
    Thank you

    Hi Madani ,
    Check the following link for ' LIKE ' usage in Custom finder method
    http://www.mail-archive.com/[email protected]/msg16466.html
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                               

  • XA Transaction Support In OC4J 10.1.2

    Does OC4J support XA transactions using non emulated data sources? Or does 10.1.2 support XA transactions at all (across datasources-db or jms)?

    The reason is that the commit coordinator lives in Oracle database for 10.1.2.x case. (you have to confiture the db link to do so)
    In OC4J 10.1.3, the transaction manager has been re-implemented and the transaction coordination functionality is now located in OC4J, replacing in-database coordination, which is now deprecated. Also, the middle-tier coordinator is now "heterogeneous", meaning that it supports all XA-compatible resources, not just those from Oracle.
    The middle tier coordinator provides the following features:
    - Supports any XA compliant resource
    - Supports interpositioning and transaction inflow
    - Last Resource Commit Optimization
    - Recovery Logging
    -Frances

  • PDK-Java support for oc4j?

    Hello. I am working with a customer who is responsible for building a web provider (the actual portal instance is being run by a separate division of the company). This customer is in the process of switching all of their generic servlet/jsps applications to the oc4j engine (now part of ias1022).
    They are highly interested in running the pdk-java on oc4j as well, so that they do not have to manage both JServ and oc4j applications. I have noticed that the June PDK seems highly tied to Jserv (there are explicit references to servlet2.0 and oracle.jsp.JspServlet in the code). This would make it not port to oc4j and my tests confirm this.
    Is there an announced roadmap for supporting the pdk-java on oc4j?
    null

    The next major release of PDK-Java will be Servlet 2.2 and hence OC4J compatible. You are right that the current version won't work in a Servlet 2.2 container, as it relies on ServletContext.getServlet(), a method which has been deprecated and returns null on Servlet 2.2.

  • Invoking MBean on multiple OC4J processes

    Hi
    I have an OAS with a OC4J instance that is running on multiple OC4J processes. Using the javax.management.remote classes how do I tell the JMXConnectorFactory class that it needs to connect to multiple OC4J processes to invoke the mbean methods?
    Regards,
    Néstor Boscán

    Hi
    I have an OAS with a OC4J instance that is running on multiple OC4J processes. Using the javax.management.remote classes how do I tell the JMXConnectorFactory class that it needs to connect to multiple OC4J processes to invoke the mbean methods?
    Regards,
    Néstor Boscán

  • Stop/Start service of Ear application from Jboss AS using JMX Mbean API.

    Hi Frendz,
    Please help me on this issue :)
    I would like to stop/start my ear applcation from JMX Client which is deployed on jboss server 4.2.0.
    Code:
    ObjectName name = new ObjectName("jboss.j2ee:service=EARDeployment,url='rr-jms-ejb3.ear' ");
    MBeanServerConnection connection = (MBeanServerConnection) ctx.lookup(invoker);
    connection.invoke(name, "stop", null, null);
    I can see the status(stared/stopped) on JMX Console based on my operation(stop/start).
    But my application is always running irrespective of operation i have provided to invoke method.
    My ear has both web and ejb modules and i would like to stop both modules services.
    Any idea? ...please help me on this.
    Cheers,
    Cap

    wow, you waited all of half an hour before becoming inpatient when noone dropped what they were doing to come at your beg and call?

  • Creating JMS Topic using JMX/MBeans Interface

    Hello,
    I'm trying to create a JMS Topic using MBeans. For this, I first
    create a JMSTemplateMBean, then I create a JMSServerMBean (do
    setTemporaryTemplate() and addTarget() on the latter) and finally
    create JMSTopicMBean. On the JMSTopicMBean, I do setJNDIName() and
    jmsServerMBean.addDestination(topicMBean).
    Problem is that when I look in the console, I see only the JMS
    Template and JMS Server (JMS Topic is NOT there). But if I try to
    rerun my program, it gives 'InstanceAlreadyExistsException' on the
    JMSTopic. Also, when I print out all the MBeans, the JMSTopic MBean is
    there i.e. its been created. So why won't it show up in the Console ?
    Any ideas are appreciated.
    Thanks
    -PG

    I'm having exact same problem, except I'm trying to go through the weblogic.Admin command-line tool. (I'm working with version 6.1) First I create a JMSServer and set its Targets property. It shows up in console and I see the entry in config.xml. Then I create a new JMSTopic and set its JNDIName (I can't see this new topic from console, but an entry is made in config.xml and I can't create the topic again.) Then I invoke the addDestination method on the JMSServer MBean and pass in my new topic. The method returns "false", with no futher explanations or exceptions. If I try to go through the setDestinations property of the JMSServer MBean, the same thing happens: a silent failure.
    I have no idea what to do! Is this a bug? Has anyone ever succeeded in doing this sort of thing?

  • Cache Size using JMX MBeans

    Hi All,
    I need some clarifications.
    The size of the cache retrived using a ObjectName("Coherence:type=Cache,service=DistributedCache,name=ABC,nodeId=1,tier=back") is specific to one node. if I have a 200 nodes in the cache the sum(all nodes size's) is the total cache size ?
    in the same way Total Gets, Total Puts and other per node attributes ?
    Is my assumption correct ?
    Is there any possibilites that the Total Puts is greater than the size per node ?
    Regards
    S.

    Hi S.
    As far as I know your assumptions are correct, the sizes and counts of puts and gets are per-node so you would need to sum the up for the whole cluster.
    The total puts can easily be greater than the size of the case for a number of reasons:
    1. You have done multiple puts with the same key
    2. You have deleted some entries
    3. You have enabled expiry which has removed entries
    JK

  • URgent !!!!!!!!! How do i add information to server.xml of tomcat

    Hi ,
    I want to add the conext information to my server.xml of tomcat for my hibernate configuration.....
    the conext information is as follows ....
    <Context path="/quickstart" docBase="quickstart">
    <Resource name="jdbc/quickstart" scope="Shareable" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/quickstart">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <!-- DBCP database connection settings -->
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/quickstart</value>
    </parameter>
    <parameter>
    <name>driverClassName</name><value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>quickstart</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>secret</value>
    </parameter>
    <!-- DBCP connection pooling options -->
    <parameter>
    <name>maxWait</name>
    <value>3000</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>100</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>10</value>
    </parameter>
    </ResourceParams>
    </Context>
    Where in my server.xml should i put
    the server.xml looks like this :
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.core.AprLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    </Host>
    </Engine>
    </Service>
    </Server>
    Can Some one Help me pleaseeeeee

    Please don't cross-post in multiple forums. I have answered
    this in your other thread.

Maybe you are looking for

  • Extra sound card no longer blacklisted after update, causing no sound

    I'm using ALSA and Pulse Audio, and an ASUS Xonar Essence ST sound card.  My ATi video card also has a sound card, which goes to my monitor using HDMI.  While the ATi card is in use, the ASUS card doesn't function, so previously I've blacklisted it w

  • Control of brightness and contrast of HP Pavilion G4-1310au

    Hello. I just got a new HP Pavilion G4-1310au.  My problem is that it did not have any OS installed and so no system drivers were installed either.   In the box I only got a CD that has HP manual in it and nothing else and the notebook  of course, th

  • Trigger oscillosco​pe on specific I2C write?

    Apologies for cross posting this from the Automotive and Embedded forum but there just doesn't seem to be much "traffic" there (no pun intended) I did a search and only found about four posts that even mention I2C. Most are about CAN. My only experie

  • How to used hyperlink

    Hi i do not really know how to use this options of hyperlink,  i would like to  call a pic from another pic, or maybe call a pic from tex, bur i do not know how to set all this. Thanks

  • Workflow for Purchase order

    Hi, Can anyone let me know the steps to activate workflow for purchase order so that workflow will be triggered after creation of PO and for any modification done after release. What are the customization and tcodes required for PO workflow and is th