MDBs in a clustered Domain

Hi,
Can anyone please help me with below question please?
1. Can MDBs actually behave as singleton service in a clsutered domain? How would they behave if implemented using Singleton Interface?
2. If above is possible, what would be the steps for configuring an MDB as a singleton service on a cluster?
What we need to implement is that the MDB should pick up a single message from the queue at a time and only after certain processing on the same, the next message should be taken up so as to maintain the sequence of processing the message as they arrived in the queue.
Thanks,
Himani

The following shows an example of how to implement the singletonservice interface
with message-driven beans.
Create your message-driven bean, for example
package model.logic;
import weblogic.cluster.singleton.SingletonService;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.TextMessage;
@MessageDriven(mappedName = "jms/SingletonMDBQueue", activationConfig = {
        @ActivationConfigProperty(propertyName = "destinationName", propertyValue = "jms/SingletonMDBQueue"),
        @ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "jms/SingletonMDBConnectionFactory"),
        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
public class SingletonMDB implements MessageListener, SingletonService {
    private String myResource;
    public SingletonMDB() {
    public void onMessage(Message message) {
        TextMessage text = (TextMessage)message;
        try {
            message.acknowledge();
            System.out.println("received the following message: " + text.getText() + myResource);
        } catch (JMSException e) {
            e.printStackTrace();
     * This method should obtain any system resources and start any services required for the singleton
     * service to begin processing requests. This method is called in the following cases:
     *  - When a newly deployed application is started
     *  - During server start
     *  - During the activation stage of service migration
    public void activate() {
        System.out.println("activating singleton service");
        myResource = "obtaining resources and start required services";
     * This method is called during server shutdown and during the deactivation stage of singleton
     * service migration. This method should release any resources obtained through the activate()
     * method. Additionally, it should stop any services that should only be available from one
     * member of a cluster.
    public void deactivate() {
        System.out.println("deactivating singleton service");
        myResource = null;
}Note that the only resource in the example is a String, which is initiated in the activate method
and released in the deactivate method. Usually, in a message-driven bean you would use the
lifecycle of an message-driven bean by using PostConstruct and PreDestroy annotations to respectivily initiate
the resources and release the resources used by the message-driven bean, for example,
    @PostConstruct
    public void activate() {
        try {
            Context context = new InitialContext();
            mailSession = (Session) context.lookup("mail/VideotheekMailSession");
        } catch (NamingException e) {
            e.printStackTrace();
        try {
            mailMessage = new MimeMessage(mailSession);
            mailMessage.setFrom(new InternetAddress(mailSession.getProperty("mail.from")));
            mailMessage.addRecipient(javax.mail.Message.RecipientType.TO,
                    new InternetAddress(mailSession.getProperty("mail.to")));
            mailMessage.setSubject("New Member Added");
        } catch (MessagingException e) {
            e.printStackTrace();
        try {
            mailTransport = mailSession.getTransport();
        } catch (NoSuchProviderException e) {
            e.printStackTrace();
    @PreDestroy
    public void deactivate() {
        try {
            if (mailTransport != null) {
                mailTransport.close();
        } catch (MessagingException e) {
            e.printStackTrace();
    }In the deployment override weblogic-ejb-jar.xml configure the free beans in the pool, for example
<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://www.bea.com/ns/weblogic/90
                  http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd">
    <weblogic-enterprise-bean>
        <ejb-name>SingletonMDB</ejb-name>
        <message-driven-descriptor>
            <pool>
                <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
                <max-beans-in-free-pool>1</max-beans-in-free-pool>
            </pool>
            <destination-jndi-name>jms/SingletonMDBQueue</destination-jndi-name>
        </message-driven-descriptor>
    </weblogic-enterprise-bean>
</weblogic-ejb-jar>The next step is to register the singleton service in the deployment override weblogic-application.xml, for example,
<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90"
                      xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd">
    <singleton-service>
        <name>SingletonMDB</name>
        <class-name>model.logic.SingletonMDB</class-name>
    </singleton-service>
</weblogic-application>Now we need to package our singleton service in, for example, an EAR file. The singleton service must
be in either the APP-INF/lib or the APP-INF/classes directory. So we have to make sure that the EJB
JAR file is placed in the APP-INF/lib directory. We have the following structure:
APP-INF
    lib
        Model.jar (contains the message-driven bean class)
META-INF
    application.xml
    weblogic-application.xmlThe file application.xml has the following contents:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
             version="5">
    <module>
        <ejb>/APP-INF/lib/Model.jar</ejb>
    </module>
</application>The file Model.jar has the following structure:
META-INF
    ejb-jar.xml
    weblogic-ejb-jar.xml
model
    logic
        SingletonMDB.classBefore you deploy the singleton service, you should configure Migration basis of the cluster.
In the admin console, click Environment, Clusters and choose the cluster to which
you want to deploy the singleton service. Click the Migration Configuration tab.
Select the candidate machine and choose , for example, Migration Basis - Consensus.
Also, adjust the Maximum Messages per Session. By default, WebLogic JMS sets this value
to 10 messages. In your situation you must change this value to 1. (Applications that
need strict ordered processing and are not using the Unit-of-Order feature
must set the value to 1. Setting it to anything else will cause messages to get out of order if
message processing fails and the message goes back to the destination for redelivery.)
The parameter can be set on the Client Configuration tab of your connection factory.
Now you can deploy the EAR file. From the documentation: Deployment of an application-scoped singleton service will happen
automatically as part of the application deployment. The candidate servers for the singleton service will be the cluster members
where the application is deployed. When you look in the logging of the respective servers in the cluster:
Log server1
####<Nov 4, 2010 11:08:53 AM CET> <Info> <Cluster> <lt1379> <Server1> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288865333078> <BEA-000187> <The Singleton Service SingletonMDB is now registered on this server. This server may be chosen to host this service.> Log server2
####<Nov 4, 2010 11:08:53 AM CET> <Info> <Cluster> <lt1379> <Server2> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288865333047> <BEA-000187> <The Singleton Service SingletonMDB is now registered on this server. This server may be chosen to host this service.>
####<Nov 4, 2010 11:09:02 AM CET> <Info> <Cluster> <lt1379> <Server2> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288865342406> <BEA-000189> <The Singleton Service SingletonMDB is now active on this server.>Some information about migration of the service can be found here:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/cluster/service_migration.html#wp1051458
and here
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/cluster/service_migration.html#wp1066042

Similar Messages

  • Mdb "JMSConnection Alive" False in clustered domain

    I have a clustered domain with 2 servers on 2 seperate boxes. The Queue is pinned to server1. I am seeing 1 consumer for the Queue when both servers are running. Server2 does not appear to connect to the Queue but there is nothing written to the logs to suggest it is not. I also have another domain exactly like the first on the same boxes with the same problem with the 2nd server. Any ideas? I have looked through the forums and everyone says to check the logs, but there is nothing written to our logs concerning this Queue.

    I have a clustered domain with 2 servers on 2 seperate boxes. The Queue is pinned to server1. I am seeing 1 consumer for the Queue when both servers are running. Server2 does not appear to connect to the Queue but there is nothing written to the logs to suggest it is not. I also have another domain exactly like the first on the same boxes with the same problem with the 2nd server. Any ideas? I have looked through the forums and everyone says to check the logs, but there is nothing written to our logs concerning this Queue.

  • Osb 11 : How to configure tuxedo business services in a clustered domain.

    Hi,
    We have a platform with a clustered domain Osb ( 1 admin server and 2 managed servers dispatch on several physical servers) and two Tuxedo instances offering the same service exported in 2 different gateways on each Tuxedo instance.
    How to configure a business service with tuxedo transport working on this platform with failover and load balancing ?

    Thanks for the answer but it doesn't work.
    The fact is that we work on OSB 11, not directly in WebLogic.
    And Osb always modify the WTC configuration even if we modify it before in weblogic.
    To define a business service with multiple remote access points and apply a load balancing algorythm, Osb need an URI for each remote access point (not for each imported service).

  • WLI clustering domain

    Hi,
    I created a clustered domain of integration, but unable to start the managed servers
    and the exceptions - can not load pointbase classes. I have no idea why? Any help,
    did some experience this kind of problem.
    Thanks,
    Gary

    The config.xml probably is use a pool pointing to pointbase database by
              default. the pointbase class jars are located in <your
              installation>\weblogic81\common\eval\pointbase\lib
              place them in the classpath and that shoudl take care of the problem. Your
              managed servers should startup, unless you need to do some additional
              configuration.
              Theoritically all this should work without you having to do anything. Please
              contact [email protected] to file a case.
              hth
              sree
              "Gary Hassan" <[email protected]> wrote in message
              news:40f469be$1@mktnews1...
              >
              > I created a domain using configuration wizard, I could not start managed
              servers.
              > The error message is it could not load pointbase classes. I do not know
              why. Any
              > help??
              >
              > Thanks,
              > Gary
              

  • Deployment of same EAR files to two separate clustered domains

    I am currently running all my portal applications and business objects from within one 8.1 clustered environment.
    However I would like to move to an architecture where we use two 8.1 clustered server domains.
    Where:
    Clustered domain 1 is used to service requests from back office applications from within the enterprise and
    Clustered domain 2 used to service requests for external facing applications from the portal jpf's.
    The deployment issue which concerns me is that each cluster will require an identical deployment of the same ear files.
    The datasources for each of the ear's will point to a common database.
    This solution is prefered over that of deploying the ear files to just one clustered domain and calling the application from the other clustered domain
    via the remote interface, as this would incure code changes and all the associated testing etc.
    I'd like to find out if there are any issues on of concurrency with this deployment model ?
    The business objects in the ears are comprised of mainly CMP EJB's and statless session beans.
    How will the container of each cluster manage the DB concurrency of the CMP EJB's when the datasource's of the ear files in each clustered domain
    point to the same DB ? Will this cause any concurrency conflicts?

    Sounds like you have some code that is not threadsafe. Instances are interacting, probably because you are using static data that is being shared between running instances in the same jvm. If so, convert to instance data if your code is the cause.
    Check this line of code, it may be the cause:
    at jep.MySimpleEventQueue.dispatchEvent(MySimpleEventQueue.java:59)

  • MDB behaviour in Clustered environment

    Hi, I am a bit confused with regards to how a message delivery will behave in a clustered environment on a app server.
    As far as Queue is concerned, I am clear that it will be delevered to one and only one of the MDBs.
    But for Topic, how can load balancing effect the Topic subscriptions? Does the Topic then behave in the same manner as the Queue?
    I have a J2EE app that is running in clustered env( can be any app server). It has one MDB. I need to send messages to all the application instances at the same time. I am not sure if this solution will work in a clustered environment with JMS load balancing, and I am afraid that this solution will misbehave. Hence the question :)

    Delivery to topics is based on subscriptions. One copy of a message is delivered to each subscription. A subscription is identified (in most providers) by the combination of the client id and subscription name. In a clustered environment, each node of the cluster will have a different client id and therefore get a different copy of a message.
    Some JMS providers allow for something called group or shared subscriptions where the client id is removed from the subscription identifier and replaced by a group id. This allows two nodes in a cluster to share a subscription to a topic allowing whichever client is up to consume exactly one copy of a message among all nodes in a cluster.
    I have to admit that I haven't gotten around to implementing such a feature in my own JMS implementation, but it is on the list.
    Dwayne
    ============
    http://dropboxmq.sourceforge.net

  • MDB's and clustered topics

              I am running WL 8.1 SP2 in a clustered configuration. I would like to use JMS for
              broadcasting message between the 2 nodes in my cluster, and have been trying to
              use an MDB subscribed (Nondurable) to a single JMS topic with no success.
              I have a single ConnectionFactory for the cluster, and a single migratable JMS
              server. The MDB's on each machine are identical, and both attempt to subscribe
              to the same Topic. The problem is only one of servers is able to make an active
              connection to JMS.
              I've read in previous posts about workarounds to make the clientID unique in order
              to get both servers to attach to the JMS topic, is this necessary for NonDurable
              subscriptions?
              Can anyone recommend a configuration to broadcast messages to all nodes in my
              cluster?
              

              Mike wrote:
              > I am running WL 8.1 SP2 in a clustered configuration. I would like to use JMS for
              > broadcasting message between the 2 nodes in my cluster, and have been trying to
              > use an MDB subscribed (Nondurable) to a single JMS topic with no success.
              >
              > I have a single ConnectionFactory for the cluster, and a single migratable JMS
              > server. The MDB's on each machine are identical, and both attempt to subscribe
              > to the same Topic. The problem is only one of servers is able to make an active
              > connection to JMS.
              >
              > I've read in previous posts about workarounds to make the clientID unique in order
              > to get both servers to attach to the JMS topic, is this necessary for NonDurable
              > subscriptions?
              No. Make sure that you haven't configured a connection-id on the
              connection factory you are using for the MDB (or simply don't specify
              a CF and use the default one). Make sure all servers
              are truly fully participating in the cluster.
              If you like, post your EJB and WebLogic descriptor files and
              I'll take a quick look. Actually, what would be most helpful
              is the log message and exception stack trace of the failing MDB.
              >
              > Can anyone recommend a configuration to broadcast messages to all nodes in my
              > cluster?
              I think your on the right track. Something basic is going wrong.
              

  • Example WLST scripts for creating clustered domain for soa suite 11.1.1.4?

    Hello,
    does anyone know sample wlst scripts for creating domain for soa suite 11.1.1.4 on top of weblogic 10.3.4?
    I try to create a domain having a cluster with two managed servers in two linux machines.
    Any help appreciated.
    regards, Matti

    Please refer -
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/domains.htm
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/intro.htm#WLSTG112
    Regards,
    Anuj

  • Single MDB on a clustered JMS queues(2)

    I have 2 JMS servers in a cluster and each server has a JMS queue, which forms the distributed destination. Now I need a MDB to listen on both these queues. Is it possible?
    Thanks
    -Ankur

    Yes - thats the usual purpose of distributed queues, to allow consumers to consume from the distributed queue (wherever its hosted).
    Though distributed destinations are JMS provider specific so do check your providers documentation on using distributed queues. In some providers, like ActiveMQ, distributed queues look and act just like regular queues so they just work from inside a JMS client or MDB.
    James
    http://logicblaze.com/

  • Message distribution in a clustered domain

    All,
    I have a domain with two Managed server (m1, m2). I have created a cluster and added the domain to this cluster.
    I have created physical queue Q1 and assigned it to m1 and Q2 to m2.
    Then I have created a distributed queue with (Q1, Q2) as members and the distributed queue was targeted to the cluster.
    I have a client that did a JNDI lookup of the distributed queue and publishing messages to the distributed queue. All of the published messages are going to Q1 on M1 even though I have selected 'Round-Robin' algorithm for the distributing the messages.
    Any help in resolving this problem is highly appreciated. I could not find anything obviously wrong..
    Thanks
    Raj

    Hi Yesh,
    Thank you for such a quick reply. I am assuming it is at the connection factory level.
    Thanks
    Raj

  • Problems with Apache Proxy to 3 clustered domains....

    I have 3 different domains (qa, stage, production) running on weblogic 81. I am trying to get Apache to route to the correct domains.
    ie...
    http://192.XXX.XXX.XXX/qa/application connects to 192.XXX.XXX.XX2:7001/application
    http://192.XXX.XXX.XXX/stage/application connects to 192.XXX.XXX.XX2:7002/application
    http://192.XXX.XXX.XXX/application (production) connects to 192.XXX.XXX.XX2:7003/application
    I got that to work, when the URL is first entered into the browser, but the problem is when I try to move around in the qa and stage apps, i lose the "/qa" or "/stage". So it is always goes to the production app.
    httpd.conf -->
    <Location /qa/application>
    SetHandler weblogic-handler
    WebLogicCluster one:7001,two:7001
    PathTrim /qa
    </Location>
    I understand what is happening, when I trim the /qa it is then no longer present in the URL when passed back to the client. So the next movement in the application is sent to
    http://192.XXX.XXX.XXX/application (the production URL). I guess I am unsure how to fix this....any help????
    Thanks...
    Nick

    Hello,
    From this it looks like you may be able to use PathPrepend to jimmy your URLs:
    PathPrepend : String that the plug-in prepends to the beginning of the original URL, after PathTrim is trimmed and before the request is forwarded to WebLogic Server.
    I would suggest it may be a good idea to have a seperate webserver for your production domain. In most places I have worked in every platform is configuered with its own resources e.g staging server has its own webserver and db. This affords the people that use those envrionments greater isolation.

  • Clustering Configuration with Primary & Secondary Domain Controllers

    Hello.
    I am trying to configure Failover Clustering on my Server 2012 computers.
    I have a primary domain, as well as a secondary domain.
    We will call them dc1.domain.com and dc2.domain.com.
    I have Failover Clustering Manager installed on both servers.
    Upon adding them both to the Create A Cluster Wizard, I receive the following error message on my report.
    (My account is fairly new, so it will not let me attach an image, but I assure you, it is safe)
    s14.postimg.org/lssjm2vu9/Screenshot_1.png

    More that trying to avoid clustering domain controllers, you simply cannot do it.  Active Directory has high availability built into it.  It is known as multimaster, meaning there is no primary and secondary domain controllers.  All are 'masters',
    meaning you can make changes on any domain controller and the change will be replicated to the other DCs.
    If you only have two physical servers and you want to cluster them, you will first need to install the Hyper-V role on the servers (it is not recommended to install both Hyper-V and Domain Controller on the same box, so we will get this fixed).  Once
    you have Hyper-V installed, build a VM on each server, join them to the domain, and promote them to domain controllers.  On one of the VMs, seize the FSMO roles from the FSMO master.  Then demote the physical hosts from being domain controllers. 
    You can now form a cluster of the two physical servers.
    . : | : . : | : . tim

  • WSS security and clustering  in SOA Suite 11g

    We are calling one composite from another as a reference. Both are on the same clustered domain.
    We are using AIA WSDLs so there is a default WSS username password token as policy.
    While on the single server domain, we do not need to pass the credentials since request was going on the same Weblogic server and it was running fine.
    But when we moved to the clustered domain, we changed the endpoints in composites to an external hardware load balancer and now it needs the sercurity credentials because the request is coming via the load balancer running on the different machine.
    I have two queries:
    1. Is there a way we can skip external load balancer while calling composites within the same clustered domain and still be able to route the requests to all managed servers instead of only one? (may be there is a way we can provide multuple URLs in the composite somehow or any other setting on cluster which would enable us to send all the requests to a common hostname which will route it to multiple managed servers in round robin)
    2. If above is not possible then we will have to use the external load balancer, in which case I need to set username password tokens while calling different composites. I need help in configuring this. It would be nice if anyone can provide me a link to a sample may be.
    Thanks

    In 11g, Oracle WSM Agent has been integrated into Oracle WebLogic Server. Please refer below link for more details -
    http://docs.oracle.com/cd/E15523_01/web.1111/b32511/intro.htm
    Regards,
    Anuj

  • Randomly occurring error while starting MDB transaction

    We have been seeing a strange intermittent problem with MDBs in a clustered WLS 9.1 environment. Our cluster consists of two managed servers, each of which runs on a separate Windows machine, and our application is targeted to both. We use container managed transactions. From time to time, one of the MDBs on the second managed server runs into a problem where it is unable to start a transaction, and the message is automatically transferred to the appropriate JMS error destination before the logic within the onMessage method is even invoked. This results in a situation where our app logs have no record that the message was ever received, so we continually have to go out to the error destinations to see if there are any messages. This problem does not appear to follow any pattern, and occurs randomly with pretty much all of our MDBs on the second server. The stack trace from the log is below. Any help in tracking down the cause of this problem would be greatly appreciated.
    Regards,
    Sabrina
    <Jun 12, 2006 2:02:47 PM EDT> <Error> <JMSClientExceptions> <BEA-055165> <The following exception has occurred:
    java.lang.RuntimeException: [EJB:010166]Error occurred while starting transaction: weblogic.jms.common.JMSException: Unexpected remote responsenull.
    java.lang.RuntimeException: [EJB:010166].
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:282)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         Truncated. see log file for complete stacktrace
    weblogic.jms.common.JMSException: Unexpected remote responsenull
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:53)
         at weblogic.jms.client.JMSSession.acknowledge(JMSSession.java:1775)
         at weblogic.jms.client.JMSSession.associateTransaction(JMSSession.java:1854)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:269)
         Truncated. see log file for complete stacktrace
    weblogic.jms.common.JMSException: Unexpected remote responsenull
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:63)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:51)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:803)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSyncTran(DispatcherImpl.java:197)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:51)
         Truncated. see log file for complete stacktrace
    weblogic.jms.common.JMSException: Unexpected remote responsenull
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:758)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSyncTran(DispatcherImpl.java:197)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:51)
         at weblogic.jms.client.JMSSession.acknowledge(JMSSession.java:1775)
         at weblogic.jms.client.JMSSession.associateTransaction(JMSSession.java:1854)
         Truncated. see log file for complete stacktrace
    weblogic.jms.common.JMSException: Unexpected remote responsenull
         at weblogic.jms.dispatcher.Request.getAppException(Request.java:42)
         at weblogic.messaging.dispatcher.Request.handleResult(Request.java:529)
         at weblogic.rmi.extensions.AsyncResultFactory$CallbackableResultImpl.setInboundResponse(AsyncResultFactory.java:75)
         at weblogic.rjvm.BasicOutboundRequest$BasicResponseListener.response(BasicOutboundRequest.java:217)
         at weblogic.rjvm.ResponseWithListener.notify(ResponseWithListener.java:25)
         Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
         at weblogic.rjvm.MsgAbbrevInputStream.readExtendedContexts(MsgAbbrevInputStream.java:216)
         at weblogic.rjvm.ResponseImpl.retrieveThreadLocalContext(ResponseImpl.java:126)
         at weblogic.rjvm.ResponseWithListener.unmarshalReturn(ResponseWithListener.java:43)
         at weblogic.rmi.internal.AsyncResultImpl.getResults(AsyncResultImpl.java:48)
         at weblogic.rmi.internal.AsyncResultImpl.getObject(AsyncResultImpl.java:98)
         Truncated. see log file for complete stacktrace
    >

    Hi Sabrina,
    Did you ever get a solution to this problem?
    We are seeing the same thing on WebLogic 9.1. It started happening in the past week.
    We have the same originating error ..
    java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
    Many thanks,
    Shane

  • Two soa domain with same name "TestSOADomain" sharing same SOA schema ?

    I tried creating two soa domain with same name "TestSOADomain" (different path) sharing same SOA schema .However one domain came UP to Running mode and other domain going to AdminMode and "soa-infra" application of that domain is not active.
    I do want to understand can this be possible with SOA ,ie. two soa domain sharing same SOA schema ?
    If possible what are all the problems might come
    1. While executing soa composites with asyncronous behaviour ?
    2. How the polling services will work ?
    3. will the XREF_DATA table ROW_NUMBER column inserted uniquely while inserting data from two different domain into same SOA schema ?
    4. Other issues ?
    Thanks

    Each domain is expected to refer to its own unique database schema. Same SOA schema should not be shared by multiple SOA clusters/domains. It is technically possible though, I suppose, and still can run fine any one SOA environment at any given time with the other SOA environments/domains (sharing the same SOA schema) shutdown. It is not the general/recommended practice to share SOA schema across domains and there could be potential implications and unexpected behavior, particularly when the SOA environments pointing to the same schema are all running at a time.

Maybe you are looking for

  • Authorization error in XI

    Hi guys I  am not sure whether this is an error related to BASIS or XI. I get this error in SXMB_MONI, at the Call Adapter stage The termination occurred in system ERQ with error code 403 and for the reason Forbidden Its Quality system. I am able to

  • Why does my Flash movie need to be clicked in twice

    I'm sure this is something really dumb and simple I haven't done correctly, but it's my first time actually running a Flash project inside q browser. I used the html that was generated by the publish process, and when the page launches, there is kind

  • Photos on my iPad Mini that I can't delete

    Bought a new iPad mini and moved a bunch of photos from my Macbook onto it. I have some pictures that I'd like to remove but when I click on the ones that I want to remove the "Delete" button won't let me delete them. How do I remove them?

  • Fit artboard to selected artwork including effects

    In Photoshop, if I have a layer with a style such as a drop shadow, and I click on Image > Trim, I can crop the canvas to the exact points where the drop shadow fades out. I want to do essentially the same thing in Illustrator. I have an object with

  • OS username & password

    Hi All, I have installed Oracle 10g(Version 10.1) in WindowsXP Environment, When I open Oracle Enterprise Manager, It is asking me for OS username and password below that Oracle username and password. My problem is, when I use PC Admin account, it sa