Issue with MDB (jms Queue) in weblogic 8.1

          Hi all...
          I'm facing a strange kind of problem with MDB using weblogic 8.1.
          The code worked perfectly in weblogic 7.0.
          This is wht i'm trying to achieve..
          i'm having a MDB which implements a onMessage().
          I'm publishing message thru a standalone client. Publishing works fine..
          The problem is onMessage(javax.jms.Message msg) is never been called :-(.
          when i monitor it shows that messages are recieved..
          Am is missing something that is really important..
          here is my code
          package com.csxwt.zodiac.service.domain;
          import javax.ejb.*;
          import javax.jms.*;
          import javax.naming.*;
          import java.io.Serializable;
          //import com.csxwt.zodiac.service.domain.TestObject;
          public class MDBTestBean implements MessageDrivenBean, MessageListener {
          MessageDrivenContext messageDrivenContext;
          public void ejbCreate() throws CreateException {
          System.out.println("into the ejb create");
          /**@todo Complete this method*/
          public void ejbRemove() {
          /**@todo Complete this method*/
          public void onMessage(javax.jms.Message msg) {
          System.out.println("into the onMessage method 1 ");
          ObjectMessage objectMsg = null;
          String strObject = "Test";
          try
          System.out.println("into the onMessage method 2 ");
          if (msg instanceof ObjectMessage)
          System.out.println("into the onMessage method 3");
          objectMsg = (ObjectMessage) msg;
          Serializable serializableObj = objectMsg.getObject();
          String test = serializableObj.toString();
          System.out.println("value of the message sent " + test);
          TestObject test1 = null;
          if(serializableObj instanceof TestObject )
          test1 = (TestObject) serializableObj;
          System.out.println("after getting the test value ");
          System.out.println("getting the test object valuye " + test1.getName());
          else
          return;
          catch (Exception e)
          System.out.println("Message Bean:unexpected Exception thrown ");
          e.printStackTrace();
          public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
          System.out.println("into MDB context");
          this.messageDrivenContext = messageDrivenContext;
          here are the 2 xml files....
          <ejb-jar>
          <enterprise-beans>
          <message-driven>
          <display-name>MDBTest</display-name>
          <ejb-name>MDBTest</ejb-name>
          <ejb-class>com.csxwt.zodiac.service.domain.MDBTestBean</ejb-class>
          <transaction-type>Container</transaction-type>
          <message-selector>GATE_LANE</message-selector>
          <message-driven-destination>
          <destination-type>javax.jms.Queue</destination-type>
          </message-driven-destination>
          </message-driven>
          </enterprise-beans>
          <assembly-descriptor>
          <container-transaction>
          <method>
          <ejb-name>MDBTest</ejb-name>
          <method-name>*</method-name>
          </method>
          <trans-attribute>Required</trans-attribute>
          </container-transaction>
          </assembly-descriptor>
          </ejb-jar>
          <weblogic-ejb-jar>
          <weblogic-enterprise-bean>
          <ejb-name>MDBTest</ejb-name>
          <message-driven-descriptor>
          <pool>
          <max-beans-in-free-pool>200</max-beans-in-free-pool>
          <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
          </pool>
          <destination-jndi-name>zodiac.jms.queue.HardWareOutMessageQueue</destination-jndi-name>
          </message-driven-descriptor>
          </weblogic-enterprise-bean>
          </weblogic-ejb-jar>
          Am i missing something somewhere?????
          any help in this is highly appreciated..
          thanks in advance.
          r
          sasi
          

Check your log for error and warning messages. If there
          are some, they should help trace down the problem. If there
          aren't any, try confirm that your MDB is deploying in
          the first place.
          The MDB below is a Q MDB, but you write below that your client
          is a "publisher". "Publisher" implies a topic producer, not
          a queue producer, and topic producer can't publish to queues.
          Tom
          T. Sasii Dharma wrote:
          > Hi all...
          >
          > I'm facing a strange kind of problem with MDB using weblogic 8.1.
          > The code worked perfectly in weblogic 7.0.
          > This is wht i'm trying to achieve..
          > i'm having a MDB which implements a onMessage().
          > I'm publishing message thru a standalone client. Publishing works fine..
          > The problem is onMessage(javax.jms.Message msg) is never been called :-(.
          > when i monitor it shows that messages are recieved..
          > Am is missing something that is really important..
          >
          > here is my code
          >
          > package com.csxwt.zodiac.service.domain;
          >
          > import javax.ejb.*;
          > import javax.jms.*;
          > import javax.naming.*;
          > import java.io.Serializable;
          > //import com.csxwt.zodiac.service.domain.TestObject;
          >
          > public class MDBTestBean implements MessageDrivenBean, MessageListener {
          > MessageDrivenContext messageDrivenContext;
          > public void ejbCreate() throws CreateException {
          > System.out.println("into the ejb create");
          > /**@todo Complete this method*/
          > }
          > public void ejbRemove() {
          > /**@todo Complete this method*/
          > }
          > public void onMessage(javax.jms.Message msg) {
          > System.out.println("into the onMessage method 1 ");
          > ObjectMessage objectMsg = null;
          > String strObject = "Test";
          > try
          > {
          > System.out.println("into the onMessage method 2 ");
          > if (msg instanceof ObjectMessage)
          > {
          > System.out.println("into the onMessage method 3");
          > objectMsg = (ObjectMessage) msg;
          > Serializable serializableObj = objectMsg.getObject();
          > String test = serializableObj.toString();
          > System.out.println("value of the message sent " + test);
          > TestObject test1 = null;
          > if(serializableObj instanceof TestObject )
          > {
          > test1 = (TestObject) serializableObj;
          > System.out.println("after getting the test value ");
          > System.out.println("getting the test object valuye " + test1.getName());
          > }
          >
          > }
          > else
          > {
          > return;
          > }
          >
          > }
          > catch (Exception e)
          > {
          > System.out.println("Message Bean:unexpected Exception thrown ");
          > e.printStackTrace();
          > }
          >
          > }
          > public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
          > {
          > System.out.println("into MDB context");
          >
          > this.messageDrivenContext = messageDrivenContext;
          > }
          > }
          >
          >
          > here are the 2 xml files....
          >
          > <ejb-jar>
          > <enterprise-beans>
          > <message-driven>
          > <display-name>MDBTest</display-name>
          > <ejb-name>MDBTest</ejb-name>
          > <ejb-class>com.csxwt.zodiac.service.domain.MDBTestBean</ejb-class>
          > <transaction-type>Container</transaction-type>
          > <message-selector>GATE_LANE</message-selector>
          > <message-driven-destination>
          > <destination-type>javax.jms.Queue</destination-type>
          > </message-driven-destination>
          > </message-driven>
          > </enterprise-beans>
          > <assembly-descriptor>
          > <container-transaction>
          > <method>
          > <ejb-name>MDBTest</ejb-name>
          > <method-name>*</method-name>
          > </method>
          > <trans-attribute>Required</trans-attribute>
          > </container-transaction>
          > </assembly-descriptor>
          > </ejb-jar>
          >
          > <weblogic-ejb-jar>
          > <weblogic-enterprise-bean>
          > <ejb-name>MDBTest</ejb-name>
          > <message-driven-descriptor>
          > <pool>
          > <max-beans-in-free-pool>200</max-beans-in-free-pool>
          > <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
          > </pool>
          > <destination-jndi-name>zodiac.jms.queue.HardWareOutMessageQueue</destination-jndi-name>
          > </message-driven-descriptor>
          > </weblogic-enterprise-bean>
          > </weblogic-ejb-jar>
          >
          > Am i missing something somewhere?????
          > any help in this is highly appreciated..
          >
          > thanks in advance.
          >
          > r
          > sasi
          

Similar Messages

  • Issue with internal JMS queue

    Hi,
    We discovered following issue with Netweaver version:
    SAP EP 6.0 ON WEB AS 6.20
    J2EE version:
    Cluster-Version: 6.40   PatchLevel 106831.313
    Build-On:Thursday, October 26, 2006 18:56 GMT
    Perforce-Server:
    Project-Dir:JKernel/630_VAL_REL
    JKernel Change-List:106831
    Build machine:SAPInternal
    Build java version:1.3.1_18-b01 Sun Microsystems Inc.
    SP-Number: 19
    Source-Dir: D:\make\engine\630_VAL_REL\builds\JKernel\630_VAL_REL\archive\dbg
    During sending messages into internal JMS queue we sent messages bigger than 1MB. After that, JMS queue was not able to process any other messages even if it was smaller than 1MB. Same issue occured if there was more smaller messages sent in short time (e.g. in 2 seconds). We don't have any significant error message in any log.
    See information thath we have found in dump stack trace file (ix.log):
    "SAPEngine_Application_Thread[impl:3]_25" prio=5 tid=0x0000000101f5ebf0 nid=0x37 in Object.wait() [fffffffe0bdfd000..fffffffe0bdff8b0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xfffffffe2ebfa1b8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:429)
    at com.sap.jms.client.memory.MemoryManager.allocate(MemoryManager.java:132)
    - locked <0xfffffffe2ebfa1b8> (a java.lang.Object)
    at com.sap.jms.client.memory.MemoryManager.allocateMemoryForBigMessage(MemoryManager.java:92)
    - locked <0xfffffffe2ebfa1b8> (a java.lang.Object)
    at com.sap.jms.client.session.Session.processFinalMessage(Session.java:1732)
    at com.sap.jms.client.session.Session.run(Session.java:675)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    which indicates to us that initializing of memory is locked.
    Please let us know:
    -if there is any log which indicates this behaviour without making thread dump
    -which limits must be fulfilled to process messages without this error
    -how to unblock this lock for processing correct messages without restarting NW - or if there is any predefined timout which kill this locked session and disable uncorrect message
    -how to manage records in bc_jmsqueue table for removing big messages from queue if there were loaded already
    -how to stop application which caused this problem. If we try to stop it through standard stop_App, application stays in Stopping mode forever.
    This problem occured in test environment and also in productive environment using the same SAP NW. Now - we do not have any work around solution..... therefore periodically we need to restart SAP NW....
    Thx for any suggestions.....

    Hi,
    We are also facing the same problem of restarting the SAP NW each time, if you have found the solution, please let me know.
    Thx in advance.
    Ramanath

  • Publishing message to JMS Queue on Weblogic from OSB proxy service

    Hi,
    1. I have created a JMS module: testModule and a JMS queue: testQueue in the weblogic admin console.
    2. Created a business service with the above queue as endpoint.
    3. Created a proxy service which publishes the message to the queue using the business service. I have used Publish activity to publish the message to the business service.
    When i run the proxy service with the request message, then, no error is coming but, in the admin console when i click on JMS module->testModule->testQueue->Monitoring tab, i see nothing. There are no entries in the table so, how can i check if the message is properly published to the queue or not.
    The queue is not listened by any service for consuming the messages.
    Kindly help me in figuring out this issue.
    Thanks in advance.

    If the destination was a topic, the behavior would be expected. Messages only stays on a topic and are delivered to consumers if there are consumers or durable subscribers.
    Did you check the server logs and see if there are any exceptions or warnings?
    You can also turn on jms debugging by adding the following to your server startup script.
    -Dweblogic.debug.DebugJMSFrontEnd=true
    -Dweblogic.debug.DebugJMSBackEnd=true
    The debugging messages wiill show up in the server log.

  • JMS Queue in Weblogic Server

    Hi,
    We have created a Connection Factory and a JMS queue in the Weblogic Server and configured it for "Unit of Order" delivery mechanism.
    We have done the restart for the changes done. But the restart is not successful and it is throwing "NULL poniter Exception".
    Kindly provide any suggestion for this issue.
    Thanks,
    Arun

    You can enable the below debug flags.
    -DebugJMSBackEnd
    -DebugJMSMessagePath
    http://weblogic-wonders.com/weblogic/2010/11/18/weblogic-server-debug-flags/
    Refer the below link for a working sample of Unit Of Order feature.
    http://weblogic-wonders.com/weblogic/2011/03/11/unit-of-order-with-distributed-destinations/
    Regards,
    Anandraj
    http://weblogic-wonders.com

  • Migration of JMS Queues from Weblogic 10.3 to 12c

    Hi - We are currently planning to move our JMS Queues from existing 10.3 server to 12c and for the same we are looking for some feedback : 
    We need to define a rollback strategy in case our migration to 12c does not work well and we need to revert back to using weblogic 10.3. Are messages sent to weblogic 12c backward compatible with version 10.3? As part of rollback, business would want to drain out any remaining messages from 12c and feed them back to 10.3 queues to allow them for processing. Is this feasible? If yes then, could you please suggest how, If not then could you please suggest a strategy for rollback and process remaining messages in 12c?
    We would also want to know if we can keep the same Database for both 10.3 and 12c JMS persistent stores for the same queues or should we define a completely new DB? With weblogic we can define prefixes for the DB stores which would make queue tables to have different names between 10.3 and 12c for same queues. However we are not sure if there are any other internal tables that JMS creates in the persistent stores DB, not using these prefixes, which would then corrupt the data since both 10.3 and 12c tables would be on the same DB.
    Thanks
    Nitin

    Hello,
    the final release for WLP is 10.3.6, running on WebLogic Server 10.3.6.
    Emmanuel

  • How can  SAP XI JMS Queue communicate with external JMS Queue

    Dear All ,
    we are Implementing SAP XI . Sender business system is splitting a file into small files and keeping them into JMS queues we want SAP XI JMS queue should communicate directly with the sender JMS queue (which is an external JMS queue) without any Adapter ,programming efforts and Middleware.
    Can you please tell me is it possible?

    I dont think it is possible directly without adapter

  • Error While accessing JMS Queue on Weblogic***** ASSERTION FAILED *****[ Environment not found on thread ]

    Hi,
    I am trying to read response from JMS Queue hosted on Weblogic server and getting below exception. Any help on this will be appreciable.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]
          at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:148)
          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:274)
          at java.lang.Class.newInstance0(Class.java:308)
          at java.lang.Class.newInstance(Class.java:261)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:90)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:356)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
          at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:95)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:425)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:117)
          at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
          at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          at weblogic.jms.dispatcher.DispatcherImpl_1035_WLStub.dispatchSyncNoTranFuture(Unknown Source)
          at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:341)
          at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1735)
          at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:1296)
    Thanks

    Hi,
    I am trying to read Queue standalone. Please find the code snippet below.  code highlighted in  where i am getting exception.
    public static void main(String[] args) {
    String jmsServerUrl = "t3://10.51.245.45:5858";
    String jmsUserName = "weblogic";
    String jmsPassword = "welcome123";
    String jndiFactory = "weblogic.jndi.WLInitialContextFactory";
    String jmsFactory = "jms/CBCMReplyConnectionFactory";
    String qName = "jms/CBCMOrderReplyQueue";
    QueueReceiver qReciever = null;
    JMSQueueReader.getQueueSession(jmsServerUrl,jmsUserName,jmsPassword,jndiFactory,jmsFactory);
    qReciever = JMSQueueReader.getQueueReceiver(qName);
    if (qReciever == null) {
    System.out.println("Unable to find JMS Queue Reciever for Queue Name: "
    + qName + " and JMS Server URL:"
    + jmsServerUrl);
    //isProcess = false;
    private static InitialContext getInitialContext(String url, String userName, String password,  String jndiFactory) throws NamingException {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, jndiFactory);
    env.put(Context.PROVIDER_URL, url);
    env.put(Context.SECURITY_PRINCIPAL, userName);
    env.put(Context.SECURITY_CREDENTIALS, password);
    return new InitialContext(env);
    public static QueueReceiver getQueueReceiver(String qName) {
    try {
    if(qReceiver == null || !qName.equals(queueName))
    queueName = qName;
    if(qReceiver != null)
    qReceiver.close();
    qReceiver = null;
    javax.jms.Queue queue = qSession.createQueue(queueName);
    //qReceiver = qSession.createReceiver(queue);
    qReceiver = qSession.createReceiver(queue, "JMSCorrelationID LIKE '"+SOHConstant.CBCM_BSCS_CORRELATION_ID_PREFIX+"%'");
                } catch (Throwable e) {
    e.printStackTrace();
    return qReceiver;

  • IWeb 09 issue with displaying MobileMe Galleries in Weblog

    Hello everyone,
    I searched but did not see this exact issue. I upgraded to iLife 09 this week and my site from iWeb 08 opened successfully in iWeb 09 (although everything was Red). After adding 3 new blog entries, I decided to publish today. At first, the publish entire site errored out with the progress circle half way. I simply tried again and it finally completed the publish entire site.
    I checked my website on-line on a Mac using Safari, and on Windows using I.E. and Safari, and have the same problem on all three.
    All of my weblog entries that contain a MobileMe Gallery (both photos and videos) are fine in iWeb just as they were before the upgrade. However, when I view the weblog on line, the Web Galleries do not show up on any of the blog entries. There is just a blank space where they used to be.
    I also checked my actual Web Gallery on both Mac and Windows and can view content on both. I repaired permissions before my publish and I have noticed one item since I upgraded to 10.5.6 this week (also). I get a permission error related to "Library/PrivateFrameworks/iLifeMediaBrowser.Framework" that does not appear to get repaired because it shows up every time I repair permissions. I also get another unrepaired permission related to "CoreServices/RawCamera.bundle" but I don't think that is related to this issue.
    I have always received excellent help on this forum when encountering an issue and am hoping there is one for this issue. Any and all help is greatly appreciated.
    Having read many of the comments here on this forum, I feel fortunate that my issues were not worse. Here is the URL of a weblog entry that should have 4 MobileMe Galleries at the bottom:
    http://web.me.com/sabretado/sabretado/Weblog/Entries/2009/2/19Monterey_Bay_Aquarium_and_Fisherman’sWharf.html
    Thanks in advance,
    Santiago

    http://web.me.com/sabretado/sabretado/Weblog/Entries/2009/2/19Monterey_Bay_Aquarium_and_Fisherman’sWharf.html
    Your URL contains apostrophe character, iweb javascript code had been changed in web09.
    It converts special character in your URL path to UTF escape codes and lost in translation when try to use it.
    You galleries are there in the widget mark files, but iweb javascript can not read its own (LOL!) widget markup URL:
    http://web.me.com/sabretado/sabretado/Weblog/Entries/2009/2/../../../../Weblog/E ntries/2009/2/19Monterey_Bay_Aquarium_and_Fisherman%E2%80%99s_Wharf_files/widget2markup.html
    notice the %E2%80%99, that's UTF character.
    Try to remove the apostrophe character from your page name and give them feedback: http://www.apple.com/feedback/iweb.html

  • Error while connecting to JMS queue of weblogic

    Hi
    I have a bpel process which connects to weblogic queues and puts a message.
    These days am getting the following error randomly
    WSIF JCA Execute of operation 'Produce_Message' failed due to: ERRJMS_TRX_BEGIN.
    CCI Local Transaction BEGIN failed due to: ERRJMS_GET_TRANSACTED_FAIL.
    nested exception is:
         ORABPEL-12100
    ERRJMS_TRX_BEGIN.
    CCI Local Transaction BEGIN failed due to: ERRJMS_GET_TRANSACTED_FAIL.
    Session.getTransaction() failed
    Please examine the log file to determine the problem.
    If i resubmit after some time this error goes away.
    Can any one give me some idea on what the root cause of the problem is
    Thanks
    Vamsi

    Hi
    Thanks for the reply. I have checked out and we are using weblogic.jms.ConnectionFactory. And XA transaction feature is disabled at the weblogic end.
    But still the error persists.
    The following entries are in the oc4j-ra.xml file
         <connector-factory location="eis/wljms/Queue" connector-name="Jms Adapter">
              <config-property name="connectionFactoryLocation" value="Sample.QueueConnectionFactory"/>
              <config-property name="factoryProperties" value="java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://<IP address>:7001"/>
              <config-property name="acknowledgeMode" value="CLIENT_ACKNOWLEDGE"/>
              <config-property name="isTopic" value="false"/>
              <config-property name="isTransacted" value="true"/>
              <config-property name="username" value=""/>
              <config-property name="password" value=""/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    Any further suggestions pls
    Thanks
    Vamsi

  • Issues with spring application deployment on weblogic

    Hi,
    We have a weblogic server which doesn't have access to internet. I am trying to deploy a spring application, i get the following error. Can somebody suggest how to fix this issue.
    [12:31:58 PM] Entering Oracle Deployment Plan Editor
    [12:32:22 PM] Redeploying Application...
    [12:33:04 PM] [Deployer:149191]Operation 'deploy' on application 'TEST_application1' is initializing on 'server1'
    [12:33:12 PM] [Deployer:149193]Operation 'deploy' on application 'TEST_application1' has failed on 'server1'
    [12:33:12 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TEST_application1 on bi_cluster.: :oracle.xml.parser.schema.XSDException:Tried all: '1' addresses, but could not connect over HTTP to server: 'www.springframework.org', port: '80'.
    [12:33:12 PM] Weblogic Server Exception: weblogic.application.ModuleException: :oracle.xml.parser.schema.XSDException:Tried all: '1' addresses, but could not connect over HTTP to server: 'www.springframework.org', port: '80'
    [12:33:12 PM] See server logs or server console for more details.
    [12:33:12 PM] weblogic.application.ModuleException: :oracle.xml.parser.schema.XSDException:Tried all: '1' addresses, but could not connect over HTTP to server: 'www.springframework.org', port: '80'
    [12:33:12 PM] #### Deployment incomplete. ####
    [12:33:12 PM] Remote deployment failed
    I am expecting, the validator should pick up the xsd/DTD from the classpath instead of going over the internet, isn't it?
    Versions
    Jdeveloper : 11.1.1.6.0
    Weblogic : 10.3
    Thanks

    **Is it recommended have a managed server for each and every deployment or can we have multiple deployments under one managed server.
    --You can deploy multiple applications of one single managed server.
    **Will there be any performance issues when multiple deployments are running on one managed server?
    --There will not be performance issue as such; however you have to make sure that the system and server configurations meets the requirements.
    --WebLogic Server allows you to configure a work manager where you define the rules and constraints for your application to boost the performance.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_wls/self_tuned.html
    **Also can we have each deployment on one managed server listen on common http port?
    --Just to make sure if I understood correctly, did you mean one deployment per managed server listen on same http port?
    --If yes, each managed server will have its own unique http port. So application deployed on that will be using a port associated with that managed server.
    --In case if you want all the applications to use a same IP/Port, you can use proxy which will route the requests to these applications deployed on different managed servers.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/overview.html

  • Issues with Deploying Struts application on Weblogic Server 10.3.3

    We are trying to deploy a web application on Weblogic 10.3 server domain. The configuration is we have 2 physical boxes with one box running an Admin Server and one managed Server and the other box running only a Managed server. Both these servers are in one cluster. When we deploy a Struts 2 web application on this domain, it works as expected on the managed server running on the same box and Admin server. However, when we do the same action on the managed server, we get an error. In the application we are using Interceptor and the error we see in the log file is Action Interceptor Result ---exception.
    Any help would be greatly appreciated as we have been struggling with this for a few days.
    Thank you
    Sam

    Sounds to me as if you are saving the users' uploaded images somewhere in your application's directory structure - which is going to get blown away each time you redeploy. Why not store uploaded images in a database (there are blogs showing how to upload and display images to/from a DB in ADF if you don't know how). If you search {forum:id=83}, you can find them easily.
    John

  • OutOfMemory issue with Axis 1.3 and Weblogic 10.3.6

    Hi All,
    We are facing OutofMemory issue (permGen memory) when we do hot deployment of a web application to Weblogic 10.3.6. We have hosted some webservices in this application using Axis 1.3. When i remove Axis configuration from application the issue is gone. Heap dump analysis is showing some weblogic ThreadLocale classes which are holding references to Axis generated classes. Did any one face this issue?. Or any patch provided by Oracle.
    Thanks,
    Arif.

    GlassFish V3 reports the following for the same issue - note: Illegal character ((CTRL-CHAR, code 31)):
    SEVERE: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 31))
    at [row,col {unknown-source}]: [1,1]
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 31))
    at [row,col {unknown-source}]: [1,1]
            at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)
            at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
            at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)

  • Enterprise Link with external JMS queue

    We have an external Non-Oracle JMS server and queue setup on a different box.
    How do I use Architect/Admin to configure it and then use it as an Enterprise Message Source? I followed the guide , but when I run the Plan in Elink Studio, I get java.lang.ClassNotFoundException.
    Any clues/ideas please?
    Thanks

    Not knowing your complete configuration and lib path etc. Let me try to anwer your questions. I can only suggest these work arounds or verifications (refer fig 1 in pg 4, of doc cookbook-9x-OracleBAM-AQ-Db-config in your training docs)
    (a) You have to set your webmethods libraries (complete path incl filename to all the required **.jar files for webmethods queues).
    (b) preserve start quote, end quote, no-spaces in dir names, start of JMS*".....
    (c) You should make the change in webmethods definition and ALL other message types. (duplicate this entry in all other places)
    (c) Restart all BAM services for this to take effect
    Let me know if this helps.

  • How to debug signal related issues with mdb

    I have a C++ application and occassionally it core dumps receiving a SIGABRT signal. We are not able to find the source of the SIGABRT signal. All we have is the core. Is there a way to find out who sent SIGABRT to our process? For that matter if someone sends our application a SIGABRT using kill cmd asynchronously, how does one find out who has sent the same? We can't keep truss'ing the process as it's a production env. Is there a way to find this out from the core file?

    I don't have a specific suggestion, but these ideas might help you.
    I assume by 'cannot be resumed' that you are able to launch the application, but after leaving the application and returning back to it, the app crashes? Or is it that you can run the app once but never a 2nd time (even after it fully closes)?
    What kind of app is it? WP7, WP8, WP8.1? Silverlight or WinRT? It might not make a difference but it might make it easier to find a solution. I suggest looking up the application life cycle relevant to the version you are targeting.
    Is your app.xaml.cs doing anything out of the ordinary or is it just the default code?
    Here's what I would try: put a breakpoint at the start of every method in App.xaml.cs/VB and hope one is hit! Not very helpful, but you might get lucky. I'm not too well versed in app resuming, but is the app navigating back to the page it was on when tombstoned?
    Perhaps the issue is in the page OnNavigatedTo or the Loaded event handler (if you have one).
    When my apps fail to launch and don't hit any breakpoints it usually ends up being an issue in XAML, not code behind. But I don't think your problem fits that becuase you can clearly launch the app, just not resume it.
    I'm sure you've probably tried most of those things, but hopefully I thought of something you missed and it turns out to help :)
    Visit http://blog.grogansoft.com/ for Windows development fun.

  • Errors with PTP JMS queue

    here the command from the c prompt and the message I get
    C:\JAVA>java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQue
    ueSender MyQueue 3
    Queue name is MyQueue
    ERROR! Shared library ioser12 could not be found.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: specialLoadClass at com.sun.corba.ee.internal.util.JDKClassLoader.specialLoadClass(Native
    Method)
    at com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoade
    r.java:58)
    at com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:18
    0)
    at com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:83)
    at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.loadClass(Util.java:37
    8)
    at javax.rmi.CORBA.Util.loadClass(Unknown Source)
    at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(Unknown Sour
    ce)
    at javax.rmi.PortableRemoteObject.<clinit>(Unknown Source)
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:57)
    at com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
    at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(
    SerialInitContextFactory.java:54)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at SimpleQueueSender.main(SimpleQueueSender.java:40)

    There is a DLL file located in the nativelib directory of the J2EE installation directory called ioser12.dll. That file needs to be placed in a directory in the library path (e.g., the windows system directory) or the nativelib directory needs to be added to the PATH (I'd choose the latter). I suspect you are running Win95 as WinNT environments don't need to take that extra step of adding the nativelib directory to the PATH.

Maybe you are looking for

  • HT1338 HOW TO FORCE shut a program

    what are the keys to use to force shut a non-responsive program?

  • Oracle 8i vs Windows 2000 profesional

    Hi! Guys Need help please! I 'm trying to install Oracle 8i on windows 2000 and I keep getting the error "No top level NT products". I tried chnging the symcjit.dll to symcjit.old as sugested in other forums but I'm still not winning. Please help guy

  • Tech System in SLD and RZ70 in 4.6c and 4.7 systems

    Hi, We have two legacy systems R3 4.6C and R3 4.7 Systems in our landscape and we are using PI 7.1. we are setting up configurations for IDOC communications 1) between 4.7 and PI 2) between 4.6C and PI for registering 4.7 system in SLD, we used RZ70

  • How important is it to have non-flash content for iPAD?

    Hi there. I'm busy building a site with an image rotater in the header with a couple of images from the products. This rotater works with flash which does not work with iPAD. How important do you rate it to definitely have non-flash content as to hav

  • DNG converter for RAW files

    I have been using Dng converter to convert RAW files from an unsupported camera (Olympus sp350) for importing into iphoto. Unfortunately the latest version of iphoto (9.2) does not seem to be compatible with the latest Adobe dng converter (6.3.0.79).