How to configure JMS queue on OC4J server. Development in JDeveloper 10G

Hi there,
I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
I am facing a problem on how to configure JMS queue.
Steps Followed are:
in the <JDevloperHome>/j2ee/home/config
1. Made the new queue and connection factory's JMS entry in jms.xml.
2. Specifed the queue in oc4j-connectors.xml.
3. played around with application.xml
and tried all combinations, but the message producer always failed to lookup the queue.
Need help on the steps to follow so that the producer can post the message in the queue.
Also please help how to configure the MDB to listen to the queue.
Thanx and Regards
Subham

If you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool.

Similar Messages

  • Oc4j server embeded in Jdeveloper 10g is not ruuning

    hi,
    1.
    I am trying to run ocrj server embede in Jdeveloper from command promt
    for which as given step in Jdevelioper handbook , i proceeded as executing
    setvars -go from directory jdev\bin , but i am getting the following error
    D:\JDev\jdev\bin>setvars -go
    Using JDeveloper installation in "D:\JDev\jdev\"
    Using JDeveloper root in "D:\JDev\"
    'findstr' is not recognized as an internal or external command,
    operable program or batch file.
    2. if i proceed next step without caring the previous step , the server is start but vanished instantly
    i am using Windows XP(sp 2) jdk 1.4
    pz can any one will guide me
    log file showing the following message
    06/02/13 20:25:11 Auto-unpacking D:\JDev\BC4J\redist\bc4j.ear...
    06/02/13 20:25:12 Auto-unpacking D:\JDev\BC4J\redist\bc4j.ear... done.
    06/02/13 20:25:19 Auto-unpacking D:\JDev\soap\lib\soap.ear...
    06/02/13 20:25:19 Auto-unpacking D:\JDev\soap\lib\soap.ear... done.
    06/02/13 20:25:19 9.0.4.0.0 Started
    06/02/13 20:26:34 9.0.4.0.0 Started
    06/02/14 18:23:07 9.0.4.0.0 Started
    06/02/14 18:23:14 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    06/02/14 18:23:14 Recovery completed, 0 connections committed and 0 rolled back...
    06/02/14 18:23:14 9.0.4.0.0 Started
    06/02/15 09:58:49 9.0.4.0.0 Started
    06/02/15 09:58:55 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    06/02/15 09:58:55 Recovery completed, 0 connections committed and 0 rolled back...
    06/02/15 09:58:55 9.0.4.0.0 Started
    06/02/15 10:03:58 9.0.4.0.0 Started
    06/02/15 10:03:58 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 10:04:13 9.0.4.0.0 Started
    06/02/15 10:04:14 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 10:41:12 9.0.4.0.0 Started
    06/02/15 10:41:13 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:20:46 9.0.4.0.0 Started
    06/02/15 12:20:46 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:21:02 9.0.4.0.0 Started
    06/02/15 12:21:02 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:21:26 9.0.4.0.0 Started
    06/02/15 12:21:27 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:21:34 9.0.4.0.0 Started
    06/02/15 12:21:35 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:21:43 9.0.4.0.0 Started
    06/02/15 12:21:44 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:28:23 9.0.4.0.0 Started
    06/02/15 12:28:23 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:29:45 9.0.4.0.0 Started
    06/02/15 12:29:46 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:30:37 9.0.4.0.0 Started
    06/02/15 12:30:37 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 12:43:34 9.0.4.0.0 Started
    06/02/15 12:43:35 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 13:01:43 9.0.4.0.0 Started
    06/02/15 13:01:43 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 14:59:13 9.0.4.0.0 Started
    06/02/15 14:59:13 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 14:59:32 9.0.4.0.0 Started
    06/02/15 14:59:33 9.0.4.0.0 Stopped (JVM termination)
    06/02/15 15:05:39 9.0.4.0.0 Started
    06/02/15 15:05:39 9.0.4.0.0 Stopped (JVM termination)
    Waiting for your response
    Rgds
    nripa

    Thaks Frank ! I did as your suggestion and in the command line the following message comes
    D:\JDev\j2ee\home>java -jar oc4j.jar
    06/02/16 10:53:01 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized
    I Assumed that oc4j server statrted , I test the server using the browser to connect to http://localhost:8888 i got
    You are not authorized to view this page
    You might not have permission to view this directory or page using the credentials you supplied.
    HTTP Error 403 - Forbidden
    Internet Explorer
    i checked the port number in relevent xml file
    pz if possible support me
    Rgds
    nripa

  • Create jms queue xml data server

    Hi,
    What's the difference between jms queue and jms queue xml data servers and how to create jms queue xml data server.
    Thanks.

    Hello,
    JMS messages can principally be processed by Oracle Data Integrator in two formats:
    - JMS Messages: containers for rows of data, handled through JMS Queue/JMS Topic Technologies. With JMS Queue/JMS Topic technologies, each JMS destination is defined similarly to a flat file datastore. Each message in the destination is a record in the datastore.
    - XML Messages: containers for XML files, handled through JMS XML Queue/JMS XML Topic Technologies. With JMS XML Queue/JMS XML Topic technologies, each messages payload contains a complete XML data structure. This structure is mapped into a relational schema (XML Schema) which appears as a model. This use the Oracle DI Driver for XML (see the driver documentation in Oracle DI documentation).
    Find below a step by step creation process for such a destination:
    1. Data Server
    To create a JMS XML Queue data server, you declare a simple JNDI connection. The only JMS XML specific information is added to the URL. This information defines the XML file format.
    The JNDI URL should be : <JMS_RESOURCE>?d=<DTD_FILE>&f=<XML_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>
    - JMS_RESOURCE: JNDI resource corresponding to your JMS queue that will contain the XML payload. You would specify this URL if you were managing normal JMS messages.
    - DTD_FILE: path to a DTD file that describes the XML structure. Mandatory if the parameter XML_FILE is omitted.
    - XML_FILE: path to the XML file with a structure similar to the expected XML messages. Mandatory if the DTD_FILE parameter is omitted.
    - SCHEMA: schema name that will contain the XML structure. This value must match the one set for the physical schema attached to this data server. This parameter is mandatory.
    - JMS_DESTINATION_NAME: name of the JMS queue or topic. This parameter is mandatory.
    2. Schema
    Creation is straightforward: In the Schema (Schema) and Schema (Work Schema), enter the name of the <SCHEMA> defined in the data server JNDI URL.
    3. Model
    Use standard reverse-engineering. As the Oracle DI Driver for XML is used the XML structure will be reversed as a relational structure.
    Regards,
    - FX

  • ODI 11g : JMS Queue XML Data Server creation

    Hi Everybody,
    I am facing a problem while i am trying to create a JMS Queue XML data server in ODI 11g. I have
    the following details of the queue.
    QueueManager=xxx;
    TransportType=1;
    HostName=ab.cde.fe.com;Port=77777;
    Channel=CLIENT.TO.xxx1
    destination name : SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01
    user : xyz
    password : 123
    I have sussefully created an jms datasouce in weblogic name 'eis/jms/abc' and also I have successfully
    retrived the xml message from queue in BPEL
    (using a jms adapter where
    JMS Provider : Third Party,
    Jms Provider Jndi Name -eis/jms/abc,
    Operation name : consume_message,
    destinamtion name is queue:///SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01?targetClient=1).
    But the new reqirement is to retive the xml data in ODI using "JMS Queue XML data server".I have tried
    several ways(reading from internet) but failed to configure physical dataserver and reverse the xml message.
    Also failed to understand properly the oracle post (http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/jms_xml.htm#CHDFCFBI).
    Speically this portion "JNDI URL: <JMS_RESOURCE>?d=<DTD_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>.".
    What will be the "JMS_RESOURCE" in my case.
    How can I configure JMS Queue XML?
    Please help!
    Note : I don't have the XML message structure of the Queue(also DTD file). So , I have to reverse it.
    Thanks & Regards,
    Subhra
    Message was edited by: SubhrajyotiKundu

    Hi Everybody,
    I am facing a problem while i am trying to create a JMS Queue XML data server in ODI 11g. I have
    the following details of the queue.
    QueueManager=xxx;
    TransportType=1;
    HostName=ab.cde.fe.com;Port=77777;
    Channel=CLIENT.TO.xxx1
    destination name : SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01
    user : xyz
    password : 123
    I have sussefully created an jms datasouce in weblogic name 'eis/jms/abc' and also I have successfully
    retrived the xml message from queue in BPEL
    (using a jms adapter where
    JMS Provider : Third Party,
    Jms Provider Jndi Name -eis/jms/abc,
    Operation name : consume_message,
    destinamtion name is queue:///SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01?targetClient=1).
    But the new reqirement is to retive the xml data in ODI using "JMS Queue XML data server".I have tried
    several ways(reading from internet) but failed to configure physical dataserver and reverse the xml message.
    Also failed to understand properly the oracle post (http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/jms_xml.htm#CHDFCFBI).
    Speically this portion "JNDI URL: <JMS_RESOURCE>?d=<DTD_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>.".
    What will be the "JMS_RESOURCE" in my case.
    How can I configure JMS Queue XML?
    Please help!
    Note : I don't have the XML message structure of the Queue(also DTD file). So , I have to reverse it.
    Thanks & Regards,
    Subhra
    Message was edited by: SubhrajyotiKundu

  • How to create JMS queues using Scripts

    Hi All,
    I want to create JMS queue in weblogic server 8.1 by running scripts .
    Can anybody provide me the scripts and how to run the scripts ...
    i have the WLshell scripts to create the JMS queues and JNDI , but i dont know how to run the scripts .
    Please help me on the same.
    Thanks,
    Kartheek

    Hi Brad ,
    Thanks for your reply.
    I went through the above link but I am gettint a error when I am executing the WLST script.
    Please look into the problem.
    wls:/offline> execfile
    <java function execfile at 1584086>
    wls:/offline> execfile ('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    wls:/offline> execfile ('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    wls:/offline> execfile('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    Thanks,
    Kartheek.

  • Creation of JMS queue in jboss server programmatically

    Hi Folks,
    How do we create a JMS queue in JBOSS server programmatically or dynamically?
    If anybody has a link or code that would be really helpful.
    Best Regards

    Hi,
    You can create a Queue programmatically. Once you've created a QueueSession, there is a method - QueueSession.createQueue( String name ). Just notice the JavaDoc:
    "This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable.
    Note that this method is not for creating the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API. The one exception is the creation of temporary queues, which is accomplished with the createTemporaryQueue method."
    I hope this helps?
    Regards,
    J.

  • How to configure Time-sheet in Project server 2013 please share the doc with screen shot

    How to configure Time-sheet in Project server 2013 please share the doc with screen shot
    Thanks and Regards, Rangnath Mali

    Hi,
    Please refer to the following Youtube video and article.
    https://www.youtube.com/watch?v=lZWvg4q17JE
    https://support.office.com/en-sg/article/Set-up-timesheets-and-task-status-672fa06f-8c4b-4e43-bfbc-4c355d681605
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • How to configure Sun Java System Application Server Enterprise Edition 8.1

    hi all,
    How to configure Sun Java System Application Server Enterprise Edition 8.1 to my IDE..( jstudio)
    I have installed jes for my windows system.. so that i have removed platform version of Application Server..
    I try to add the Enterprise application Server (Sun Java System Application Server Enterprise Edition 8.1) to JStudio IDE..
    but i couldn't;

    Configuring your IDE to integrate with Sun App Server is something you probably will have to ask in some sort of JStudio forum. Other than for Netbeans, Eclipse, or possibly IntelliJ IDEA, you might not have much luck answering an IDE question here. I could be wrong though. Maybe somebody will have an answer for you and set me straight.

  • How to delete JMS Queue using WSLT thru JNDI?

    How to delete JMS Queue using WSLT thru JNDI?

    Hi,
    You can use the following WLST script to delete the queue :-
    edit()
    cd('/JMSSystemResources/MyModule/JMSResource/MyModule')
    startEdit()
    cmo.destroyQueue(getMBean('/JMSSystemResources/MyModule/JMSResource/Mymodule/Queues/MyQueue'))
    activate()
    Is it what you are looking for?
    I hope this helps.
    Regards.
    Edited by: mchellap on Dec 11, 2008 4:27 PM

  • How to configure Custom Queues in B2B

    Hi B2B Gurus,
    Could any one tell us how to configure coustom queues in B2B
    1. I created a AQ's in B2B database using scripts , could any one tell us how to configure these in B2B. Please elobrate step by step
    2.In 10 G , document protocol parametrs we have interchange sender id and receiver ID, Group sender Id and receiver ID, but these parameters i am not able to find in 11G....
    Regards
    charls

    Francis wrote:
    Outbound:
    We need to configure all outbound queues in ( host tp---> channels--->..have to select INTERNAM. OR Administration--->Listening channels--->Have to select INTERNAL)-- Please let me know where i have to configure outbound
    Outbound:_ This the channel where you want the B2B to pick up messages and send to remote TP.
    This has to be configured via AdminServer -> Listening Channels -> Configure your Listening channel and tick "Internal" to true.
    Inbound:
    In the same way where we have to configure the INbound queues(TP1_IN_Queue,TP2_IN_QUEUE, TP3_IN_QUEUE, TP4_IN_QUEUE).
    Inbound:_ From what I understand, after processing messages received from Remote TP, you want B2B to pass messages to this channel.
    To do that-
    1.you need to configure the channel in Partners->Host->Channels-> Configure the channels here and ensure that the *"Internal"* property is set to true under the channel attributes.
    2. In the inbound agreement, use the channel by using the drop down box under the Host found in bottom left corner.
    Thanks,
    Varun

  • How to manage jms queue?

    How to manage jms queue. I want to do operation on messages on jms queue like deleting the messages and hold the message for some time . Please provide the sample code for that.

    Thanks a lot Tom for the reply, I have read about the descriptor setting 'max-beans-in-free-pool' and I searched this concept at the Administration Console without success.
    I suppose other way is create a “Session Pools” under the JMSServer, and then create a “Consumer” and define the setting “Messages Maximum”. One of the disadvantages is that “Session Pools” don’t support JTA, from the documentation:
    +Session pools enable an application to process messages concurrently. Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.+
    I continue reading the MDB chapter of the performance and tuning guide in the documentation, thanks for any contribution to the topic.
    Lucas.

  • Need assistance how to configure RDS on a standalone Server 2012 R2 not joined to a domain

    Hi,
    I need help on how to configure RDS on my standalone server 2012 R2 that is not joined to a domain.  I would also like to see the counterpart of Terminal Services Manager.
    I am familiar with Terminal Services on my old Server 2003 which I migrating.
    Thank you for your assistance.
    Sincerely,
    Ramon

    Hi,
    the dedicated RDS/TS forum is here:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=winserverTS
    Some useful articles, which seem to answer your questions:
    http://support.microsoft.com/kb/2833839
    http://ryanmangansitblog.com/2013/10/30/deploying-a-rdsh-server-in-a-workgroup-rds-2012-r2/
    http://support.risualblogs.com/blog/2014/03/10/setting-up-a-2012-r2-rds-gateway-for-a-workgroup/
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to configure JMS-Server to use username and password

    Hi
    Maybe this is a real stupid question, but please help me, I'm not very experienced using JMS:
    I'm using JMS (provided by OC4J / Application Server 10.1.3). I configured a ConnectionFactory (without username and password) and a Queue and there is also a application, which successfully opens the JMS-Connections.
    This works well as long as I do not provide a username und password in the ConnectionFactory (EnterpriseManager: OC4J/Admin/Services/JMS-provider...). If I do this, my application terminates with the following stacktrace:
    javax.jms.JMSSecurityException: JMSServer[aplora2:12602]: failed to authenticate "myuser/mypassword", no such user.
         at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1034)
         at com.evermind.server.jms.JMSUtils.toJMSSecurityException(JMSUtils.java:1090)
         at com.evermind.server.jms.JMSServer.getJMSServer(JMSServer.java:1237)
         at com.evermind.server.jms.JMSServer.getJMSServer(JMSServer.java:1213)
         at com.evermind.server.jms.InContainerProxy.getJMSServer(InContainerProxy.java:93)
         at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:103)
         at com.evermind.server.jms.EvermindQueueConnection.<init>(EvermindQueueConnection.java:62)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.unprivileged_createQueueConnection(EvermindQueueConnectionFactory.java:98)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.access$000(EvermindQueueConnectionFactory.java:42)
         at com.evermind.server.jms.EvermindQueueConnectionFactory$1.execute(EvermindQueueConnectionFactory.java:78)
         at com.evermind.server.jms.InContainerProxy.doSecureOp(InContainerProxy.java:157)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:75)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:66)
         at sam.model.messages.MessageManager.<init>(MessageManager.java:74)
    where "myuser" and "mypassword" are the username and password I entered in the ConnectionFactory. (My Application certainly uses the same username and password)
    I expected, that by entering username and password here I would configure my Queue to be protected by them. But obviously there are some very basic things I didn't understand. Can anyone give me a hint, how I can protect the (OC4J-) JMS-Server or the Queue by username and password?
    Thanks for your help
    Frank Brandstetter

    Hey Frank -
    Assuming you've set up users in the "Security Manager" for your application, you can specify what JNDI resources they can "read" (and thus also connect to) via the orion-application.xml file. Look at the following snippet from the orion-application.xml file:
         <namespace-access>
    <read-access>
    <namespace-resource root="jms/firstQueue">
    <security-role-mapping impliesAll="false" name="jmsSecurity">
    <user name="scooter"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    <read-access>
    <namespace-resource root="delme">
    <security-role-mapping impliesAll="false" name="jmsSecurity">
    <group name="messagingUsers"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    </namespace-access>
    This would say that only the user "scooter" that you've set up would have access to the Queue whose JNDI name begins with jms/firstQueue. Anyone you've set up and added to a messagingUsers group would have access to any Queues whose JNDI name begins with "delme". (I'm honestly not sure what exactly this line does: <security-role-mapping impliesAll="false" name="jmsSecurity">)
    This is the only way I've found to limit access to a particular Queue.
    HTH.
    Scott

  • How to configure JMS server in weblogic

    Hi,
    I want to configure JMS server in weblogic.So please send me needful link.
    Regards
    Anup

    Hi Anup,
    1. The first thing you have to do is create a filestore where messages will be stored. Look at the below link for more detailed instructions:
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/stores/CreateFileStores.html
    2. Next create a JMS server. Look at the below link for more detailed instructions
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_servers/ConfigureJMSServers.html
    3. Now, create a JMS System Module to hold the JMS resources like Queues, Topics, Connection Factory, SAF agents etc..
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/modules/ConfigureJMSModules.html
    4. Now, create a resource like connection factory OR queue etc.
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/modules/ConfigureJMSModuleResources.html
    For now, lets stick to the basics and create a basic queue using the below documentation unless you exactly know what resource you want to create
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/queues/CreateQueues.html
    5. You will also need to create a connection factory to use the resource. See below documentation
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/connection_factories/CreateConnectionFactories.html
    Please go through the below JMS architecture diagram as well as documentation that will tell you what JMS on WebLogic is all about in terms of configuration
    http://docs.oracle.com/cd/E23943_01/web.1111/e13738/overview.htm#i1084283
    Arun

  • How to consume JMS message in oc4j from web logic server 11.1.1.3

    Hi all,
    I would like to know how to consume the JMS messages in oc4j instance from 11.1.1.3 (web logic). Can anyone guide me any documentation? Thanks.
    Soe

    Hi,
    Have a luk at the below link
    http://blogs.oracle.com/TechMusings/2008/08/connecting_to_weblogic_jms_pro.html
    you also have other options like creating foreigh JNDI or JMS bridge.

Maybe you are looking for