Using AQ Topic in OC4J Cluster

Hello,
I want to load balance messages from an AQ JMS Topic to an OC4J JEE application running in an AS Cluster. I have that setup:
AQ: Topic / Durable Subscriber -> OC4J: 2 Containers
Comming from the BEA JMS terminology I used to configure a "Messaging Bridge" (singleton) which had managed a durable subscription to that topic. The "Messaging Bridge" then load balanced the incoming messages to local destinations using a "Distributed Destination" to each logical JVM.
Is here somebody how had before a similiar scenario? What's the concept of "Distributed Destinations" in OC4J?
grüße,
\thomas

This forum is "DATABASE >> AQ"
In what way does your question relate to the database and what version if it does?

Similar Messages

  • OAS(10.1.2.3) OC4J cluster

    Hi All,
    I am looking for a solution to cluster OC4J in active-active configuration.
    I need steps to cluster OC4J in OAS10gR2(10.1.2.3). The middle tier is installed as BI and Forms and not as J2ee and WC, therefore I cannot use DCM for clustering OC4J.
    The middle home is installed on two different nodes( each Windows 2003 server).
    Thanks for sharing the steps to cluster the same.

    Resolved. Command "dcmctl resetfiletransaction" and then opmnctl stop and startall cleared the process. It was dcm-daemon that was still alive.

  • Anyone using durable topics with high data volumes?

    We're evaluating JMS implementations, and our requirements call for durable subscribers, where subscribers can go down for several hours, while the MQ server accumulates a large number of messages.
    Is anyone using Sun MQ in a similar scenario? How is it holding up?
    Sun folks, do you know of production installations that use durable topics with high data volumes?
    thanks,
    -am

    We are using a cluster of Sun�s JMS MQ 3.6 with durable message queues and persistent topics. In a 4 hour window each night we run over 20,000 messages through a queue. The cluster sits on two Windows servers, the producer client is on a AIX box and the consumer is running on a iSeries. Within the 20,000 messages are over 400,000 transactions. Each message can have many transactions. Yes, the iSeries client has gone down twice and the producer continued with the message queue pilling up, as it should. We just use the topic to send and receive command and status inquiries to the clients. So every thing works fine. We have only had a couple issues with a client locking and that maybe fixed with sp3, we are in the process of installing that. The only other issue we have had is that once in a while the producer tries to send an object message with to many transactions and it throws and JMS exceptions. So we put a cap on the size of the messages, if its over a set number of transactions it send each transaction as separately, otherwise it sends all the transactions in one object type (linked list of transactions) message. Compare the cost of this JMS system with Tibco or Sonic and you�re looking at big savings.

  • Oc4j cluster how to?

    Hello,
    i have downloaded document from metalink and that seems to be very useful.
    What is your opinion about below?
    If something else is useful, kindly guide.
    Appriciate your help.
    Thanks and regards,
    Kash.
    summary is as below:
    Reference in metalink:
    Bulletin: Configuring Multiple OC4J Instances as a High Availability Cluster
    SUMMARY
    To configure multiple OC4J instances as a clustered environment with session
    replication between instances of the same cluster:
    [1] Configure the http-web-site.xml/default-web-site.xml file as follows:
    (a) Configure following attributes in <web-site> tag:
    - ensure HOST attribute provides fully qualified name of the machine.
    - ensure CLUSTER-ISLAND attribute provides same value for all
    instances of the cluster.
    (b) Add as a child element of <web-site> a <frontend> tag identifying
    the hostname and port of the "clusters" global name:
    <web-site
    display-name="kash:rmi(20001):web(28881)"
    host="kash..website.com"
    port="28881"
    cluster-island="21"
    >
    <frontend
    host="kash.website.com"
    port="28080"
    />
    [2] Ensure that each web applications "orion-web.xml" deployment descriptor contains or will get generated with a <cluster-config> tag. Ensure that the ID attribute of this tag is set the same for all orion-web.xml files on this container but that different values are used on other instances:
    <cluster-config
    id="20002"
    />
    [3] Edit the http-web-site.xml/default-web-site.xml file and ensure that the
    <web-app> tag for any application which propagates state information has a
    "load-on-startup" value of "true":
    <web-app
    application="BalanceTest"
    name="web"
    root="/bal"
    load-on-startup="true"
    />
    [4] Edit the "web.xml" deployment description for any web module which will replicate it's session information to other instances and ensure that a
    <distributable> tag is present:
    <web-app>
    <display-name>BalanceTest2881</display-name>
    <description>Test of servlet load balancing/failover</description>
    <distributable/>
    [5] Startup the load-balancer from %ORACLE_HOME%\j2ee\home directory by running:
    java -jar loadbalancer.jar -host <generic hostname> -port <port>
    -minimumIsland <min> -maximumIsland <max> -debug
    [6] Startup individual OC4J instances from %ORACLE_HOME%\j2ee\home directory by running:
    java -Dhttp.cluster.debug=true -Dcluster.debug=true -jar oc4j.jar
    -config <path to server.xml of instance> -verbosity 10
    [7] Browser requests can then be sent using the cluster wide hostname and port number associated with the load-balancer:
    http://kash.website.com:28080/bal/BalanceTest
    [8] The messages displayed to the console window for each instance can be used to identify the propagation of session state messages (both sent and
    received).
    Through these messages it is possible to identify and then terminate the
    OC4J instance which is currently associated with that session. After this,
    further requests to the same URL should will be dispatched to a different
    OC4J instance but the same session values will be seen.
    Edited by: user10419491 on Jun 23, 2009 10:42 PM

    Hello,
    There is another method to configure OC4J Cluster: From the Admin GUI (em)
    Seems its very easy and riskless.
    I have seen some recommendations to not configure from the flat files.
    Where i think if the em does not support you for some features, then we have no choice but use files.
    Any opinion please?
    Thanks and regards,
    -Kash.

  • OC4J cluster

    Hi All,
    I am looking for a solution to cluster OC4J in active-active configuration.
    I need steps to cluster OC4J in OAS10gR2(10.1.2.3). The middle tier is installed as BI and Forms and not as J2ee and WC, therefore I cannot use DCM for clustering OC4J.
    The middle home is installed on two different nodes(each Windows 2003 server).
    Thanks for sharing the steps to cluster the same.
    Regards,
    Ishar

    Hello,
    There is another method to configure OC4J Cluster: From the Admin GUI (em)
    Seems its very easy and riskless.
    I have seen some recommendations to not configure from the flat files.
    Where i think if the em does not support you for some features, then we have no choice but use files.
    Any opinion please?
    Thanks and regards,
    -Kash.

  • How to make an index in InDesign CC 2014.1 using a topics list?

    Hi all,
    I have read the long help document on how to make an index in InDesign CC 2014.1 using a topics list, and still can't work out what to do.
    I have done a 548 page book, using a document for each chapter, and a book file to put them all together in the right order.
    I now need to make an index at the back, as the author has many quotes throughout the book at the start of each chapter and section.
    I have a list of those people quoted and want to upload this list and get the index feature in InDesign to find all instances of the name occurring in the entire book.
    After reading the help document I still cannot work out how to do this.
    My questions are:
    1. Do you have to use an InDesign document as a source for the list of topics? If so, should the document be added to the book file or outside it?
    It seems a bit recursive to have the list of topics in an ID document that is in the book file.
    2. Once you have uploaded the topics into the Index feature, how do you get it to look for all instances of that 'topic' througout the entire book? I can't figure that out from the help documents. What do I select? Do I do it from the Index panel? Do I highlight the text in the source document? Not sure how to do this...
    3. I need the names to list surname first of the quoted authors in the index. This command seems to be different between various editions of ID. For ID CC 2014.1 is it ctrl+alt+shift+]
    4. To make the surname show first, what do I highlight? The topic? and then do ctrl+alt+shift+] and select find all as well? Or do I have to just go through the text and manually do this and ditch the idea of uploading topics first?
    I am confused as you can see and any help with this is appreciated.

    Sorry 007, I really thought you were posting a trick question as on the OCP tests.
    Anyway, as Justin mentioned, if you have an index on ename, it may be used when doing a comparison predicate statement with the ename value.
    What it depends on are several other things: stats, how many rows in the table, use of an index hint, etc.
    Rather than questioning the group on this, why not just turn on autotrace and run the query for the different scenarios.
    The output will show you if it used the index, number of rows returned, blocks read, etc.
    SQL> create table emp (ename  varchar2(40));
    Table created.
    SQL> insert into emp select username from sys.dba_users;
    25 rows created.
    SQL> commit;
    Commit complete.
    SQL> set autotrace on
    SQL> select * from emp where ename != 'SYSTEM';
    Execution Plan
    Plan hash value: 2951343571
    | Id  | Operation        | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |           |    24 |   528 |     1   (0)| 00:00:01 |
    |*  1 |  INDEX FULL SCAN | ENAME_IDX |    24 |   528 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("ENAME"<>'SYSTEM')As you can see, the above used an index, even though there were only 25 rows in the table.
    You can test each of your scenarios, one by one, including use of a hint.

  • Using a topic name marker in TCS2

    Hi everyone,
    I'm trying to set up FM to RH converstion for the first time since TCS1. I have TCS2 with FM 9.0p255 and RH 8.0.2.208.
    In my project, I'm attempting to use a topic name marker to specify the HTML filename and topic title in RH when I convert my FM files. It appeared to be working well but some in some linked topics, the topic title would be the filename rather than the title I'd specified in the FM marker. After some investigation, it seems that adding cross-references to a topic in FM breaks the topic title portion of the feature. Add the internal cross-reference in FM, update in RH, topic title = topic filename (though they are both specified in the marker). Remove the cross-reference in FM, update RH, and the filename and topic title are as expected.
    Has anyone else seen this issue and may know what I'm doing wrong or have found a workaround?
    I want to be able to create my TOC separately in RH rather than using the FM version. Not being able to control the topic titles is a big enough deal for me that I may have to abandon the project if I can't fix it.
    Thanks for any help,
    Glynnis

    In case anyone else has this problem, I eventually called Adobe tech support. My issue has been identified as a bug in both TCS2 and TCS3. With any luck, they'll fix it in an update.
    Glynnis

  • Can i use AD RMS licensing-only cluster for IRM integration?

    Hello,
    Can anyone help, I have some questiones about Exchange server IRM ,Can i use AD RMS licensing-only cluster for IRM integration? or what is the difference between a root cluster and lincesing-only cluster integrated with exchange IRM?

    Nobody who participates in these forums is authorized to quote licensing terms on behalf od Microsoft.  Please contact your Microsoft representative or reseller.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Deploy in oc4j cluster

    Do it is possible to deploy XML Publisher in AS 10.1.2 OC4J Cluster?
    Thanks

    Check [installation guide|http://download.oracle.com/docs/cd/E10391_01/doc.910/e10368/cluster.htm#CHDCIDAC]
    There are also some metalink notes about cluster configuration and oc4j with oim

  • Using equalizer with reports server cluster

    Hello World!
    Just wonder if anybody using equalizer with Reports servers cluster, if yes what type?
    what is the cluster architecture?
    such as Machine A, B, C.... machine A has infra and mid , machine B has only infra, machine C has only mid...
    The problem we are having when the second member of a cluster is down the report server component complaints with somw internal error...
    TIA

    3. Connection factories target: admin server; JMS server target: admin          server
              > -> Potential drawback - The MDB has to maintain a queue connection with a
              server
              > that is not part of the cluster. (Again, please correct me if I'm wrong.)
              I'm
              > not sure if this introduces extra time taken for the MDB to receive its
              messages
              > and for it to send the processed messages to the queue.
              Admin server is not supposed to participate in the cluster. I wouldn't
              deploy anything on the admin server.
              I think my personal preferene would be connection factories to the cluster
              and use distributed destinations.
              Regards...
              

  • Please use better topics!

    The more arch is growing and in the papers, the more nerdy noobish postings fill the forum. It is utterly exhausting to read cruddy topics like "install" (wtf ....) or "Argh! Hidden files!" (have someone been beaten? >>Attack of hidden files, Full colored movie, now in 3d!<<), "mysql help" (is help needed or offered?)....  :x
    I am not reading that stuff at all. Maybe I could offer some help here and there, but if I have to mine for subjects, I leave it undone.
    Please, consider to use "speaking" topics.
    Kind regards.

    That's more work for us (the moderators). For one thing, we can't remember all the posts from the past and what is a duplicate post!
    Any posts to the Newbie Forum are pretty much anything goes. Its meant as a safe place for new people to post without some arrogant guru telling him to STFW or STFF or RTFM or POST WITH A DECENT SUBJECT.  Its not just for people new to arch or to Linux, its also good for people new to forum software (ie: who haven't learned the general forum etiquette) and also new to our rather peculiar commuity (and our local etiquette).
    Posts outside the Newbie Corner that do not conform to the etiquette are generally organized or split later on. There is no way to insist that people use the proper etiquette without turning a lot of new users off both Arch and the AL forums; the nazi attitude just doesn't suit the friendly open spirit of Arch.
    We do move, delete, rename, and split topics in the background, generally after the topic has died out or been solved so as not to confuse the users involved in the topic.
    Any users that do not like 'proper' topic subjects are welcome to ignore them. I would do so if I didn't have the responsibility to edit the topic post. Also, I'd advise avoiding the Newbie Corner (in all honesty, I generally do).
    Dusty

  • OAS Cluster / OC4J Cluster without using LBR ?

    Hi all,
    In one of our client running OAS 10.1.3.3, there is requirement for High Availibility, but investing for a hardware LBR may be too much for them on this phase.
    We think of doing this : using two nodes for OAS :
    server_1 : OHS1 + OC4J1
    server_2 : OHS2 + OC4J2
    for Load Balancing we plan to use MOD_OC4J.
    Yes, we cannot do load balance between OHS1 & OHS2, so if server_1/OHS1 fails. Use has to manually access through OHS2.
    Without LBR, is there any better solution than this ?
    Thank you,
    xtanto

    You can also use Oracle Web Cache product which can not only do load balancing for you but at the same time provide other features like page caching and compression that will improve the performance.
    http://download.oracle.com/docs/cd/B32110_01/core.1013/b32196/reconfig.htm#i1010548
    Thanks
    Shail

  • AnnotatedNoClassDefFound error when using OracleXMLSQL (XSU) in oc4j 10.1.3

    This topic has been canvassed before in this forum, however, none of the replies/suggestions have worked in my case.
    I am running on a Solaris x86 5.10 64 bit server, oc4j is 10.1.3 standalone production, jdeveloper is 10.1.3 production. My app is using the Oracle XMLSQL libraries. I migrated an application from JRE 1.4.2 to JRE 1.5.0, and migrated the dev and oc4j standalone environments at the same time. The app worked originally without the need to do more than import the requisite libraries used in the app. You will see from the error reported below, that despite the correct importation of the XSU libraries (IE no compile errors), that oracle.xdb.XMLType is deemed to be missing.
    Here is the stack trace:
    500 Internal Server Error
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.xdb.XMLType
         Dependent class: the.package.path.XML
         Loader: the_app.web.the_app:0.0.0
         Code-Source: /opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes/
         Configuration: WEB-INF/classes/ in /opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes
    The missing class is available from the following locations:
         1. Code-Source: /opt/oc4j/j2ee/home/shared-lib/xdb/10.1.3/xdb.jar (from <code-source> in /opt/oc4j/j2ee/home/config/server.xml)
         This code-source is available in loader xdb:10.1.3.
         2. Code-Source: /opt/oc4j/j2ee/home/lib/ext/xdb.jar (from system property oc4j.ext.dirs)
         This code-source is available in loader oc4j:10.1.3.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [opt/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665) [opt/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1621) [opt/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1606) [opt/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at the.package.path.XML.writeFromXMLtoDB (XML.java:268) [opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes/ (from WEB-INF/classes/ in /opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes), by the_app.web.the_app:0.0.0]
         at au.gov.tas.dier.data.DataInterface.xmlToDBWrite (DataInterface.java:889) [opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes/ (from WEB-INF/classes/ in /opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes), by the_app.web.the_app:0.0.0]
         at au.gov.tas.dier.data.Control.doWriteAuditRecord (Control.java:248) [opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes/ (from WEB-INF/classes/ in /opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes), by the_app.web.the_app:0.0.0]
         at au.gov.tas.dier.data.Security.checkCredentials (Security.java:421) [opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes/ (from WEB-INF/classes/ in /opt/oc4j/j2ee/home/applications/the_app/the_app/WEB-INF/classes), by the_app.web.the_app:0.0.0]
         at checkSecurity.jspService (_checkSecurity.java:386) [opt/oc4j/j2ee/home/application-deployments/the_app/the_app/persistence/_pages/ (from *.jsp in /opt/oc4j/j2ee/home/application-deployments/the_app/the_app/persistence/_pages), by the_app.web.the_app.jsp11671509:0.0.0]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service (OrionHttpJspPage.java:59) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.jsp.runtimev2.JspPageTable.service (JspPageTable.java:416) [opt/oc4j/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.jsp.runtimev2.JspServlet.internalService (JspServlet.java:478) [opt/oc4j/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.jsp.runtimev2.JspServlet.service (JspServlet.java:401) [opt/oc4j/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [opt/oc4j/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by api:1.4.0]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:719) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:376) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:870) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:451) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:218) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:119) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:112) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket (ServerSocketAcceptHandler.java:230) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800 (ServerSocketAcceptHandler.java:33) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:831) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [opt/oc4j/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]
    The app works perfectly still in jdeveloper itself - the missing class referred to when running in standalone oc4j, oracle.xdb.XMLType, is present as part of xdb.jar, which lives in the rdbms folder in oc4j in jdev. It is not available in oc4j standalone.
    The following was attempted to fix this problem:
    1. I copied xdb.jar to rdbms folder in srtandalone oc4j, and still got the problem.
    2. I included the jar specifically in the web app itelsf, so that it became available in WEB-INF/lib. No go.
    3. I included the code in classes by including the output in the WEB-INF classes folder. No go.
    4. I copied the library to applib to be picked up in the oc4j global sharing. No go.
    5. I created a shared library under shared-lib. No go.
    6. I copied the jar to j2ee/home/lib. No go.
    7. I copied the jar to j2ee/home/lib/ext. No go.
    8. Finally, the sledgehammer - I copied the jar to $JAVA_HOME/jre/lib/ext, and the library was found. In all I had to copy dms.jar, xdb.jar, servlet.jar and ojdbc14dsm.jar to the global external folder before the app would work.
    In all cases 1-7 above I stopped and restarted oc4j. In all cases 1-7 the loader found the jar file in the intended location, but announced that it still could not load the class, even though it had been located, and was loaded in a loader of the same name! The above stack trace shows examples of two of the attempts.
    The final "solution" isn't one - its an ugly kludge.
    My question is, how does jdeveloper do it - how does it establish the right context for the load - if I could work that out, I could work at establishing the right context for XSU loading the XMLType class in the standalone environment.
    Your assistance would be greatly appreciated in this matter.
    Geoff Sharp
    Message was edited by:
    geoffsh

    Sorry, that should be AnnotatedNoClassDefFound

  • Using previous release of OC4J in JDev 10g

    We are trying to configure JDeveloper so that we can deploy our application in a standalone OC4J 9.0.4.
    We see in JDeveloper help, under the topic "Previous Releases of Standalone OC4J", that we should be able to configure a connection using the "Standalone OC4J" connection type.
    But it does not appear in the connection types list! Concerning OC4J, we only have "OC4J autonome 10g 10.1.3".
    Are we missing something ??
    Thanks in advance.

    For OC4J versions supported by JDeveloper refer
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html

  • RPC calls and multicast messages in oc4j cluster

    Hi, our application uses RPC calls, which are distributed over multicast messages (jgroups). We use RPC calls to update internal object cache, which exists on each cluster instance. The OC4J instance, which sends the message, successfully receives these and executes the RPC call. The other OC4J instance does not get the message or cannot execute the RPC call. I don't know whether reception of multicast messages is not possible and/or the RPC call is not possible (safety reasons). The same implementation does work with other app. server like Bea Weblogic 8.1.

    Scrap JMS. Use plain java.net or JINI.
    You could create a Peer-to-Peer Chain:
    Server A -> Server B -> Server C -> Server A
    On each Server have a server listening for messages (from the Server to the left in the chain) and a client that sends messages (to the Server to the right in the chain) and an application that links the server and client on each Server.
    So,
    Server A's "server" listens for messages from the "client" on Server C, and so on.
    This is vary efficent. A simple send-receive chain that is clusterd within a small (or large) group of Servers. You could also try Bi-Directional Parallel Communications BDPC. That would basically have Server A send messages to both Servers - one to the left and one to the right, then at the same time, listen for messages from the Server on the left and the Server on the right. This is better suited for large-scale clusters where a Uni-directional communications model would take too long to propogate messages to every member of the group.
    But, that's just me.

Maybe you are looking for