Is oc4j supports jms

is oc4j supports fully supports jms and microsoft mq series.
i want to integrate with mq series is it possible.
bye
thanks in advance
suri

Marko, yes, OC4J JSP is going to support JSR-045. It should be in the next production, 10.1.3 release.
Oracle JSP team member

Similar Messages

  • Doest OC4J support JAAS ?

    Hi everyone,
    does OC4J support JAAS ? If so, how can I implement it ?
    Thanks
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Andy ():
    There is no official roll-out date yet. But by the end of the year is a good estimate.<HR></BLOCKQUOTE>
    Thanks a lot Andy, and sorry for bothering again, but are there online resources about the next version ? I've only found a white paper (http://technet.oracle.com/tech/java/oc4j/pdf/OC4J_TWP.pdf) which describes what is possible as of now (JTA, JMS, JNDI etc.), but nothing about JAAS.
    Best Regards
    null

  • Does OC4J support RMI/IIOP connections ?

    Hi,
    I have only one question :
    Does OC4J support IIOP connections ?
    I'd like to connect as EJB client to OLAPService on Oracle9i server (CORBA object), but I can't.
    Thanks in advance

    Thanks for your timely post Debu.
    I would like to state that I read and followed the guides (same files as those ponted by the links you just provided) and tried this:
    1. Sample J2EE Application using ORMI in OC4J Standalone (this works ok)
    2. Same but now using ORMIS (this also works fine)
    3. Tried same J2EE App using IIOP; took these steps:
    3.1 commented out the rmi.xml security lines,
    3.2 enabled ports in internal-settings.xml,
    3.3 changed the jndi.properties - now using corbaname URL,
    3.4 enabled the IIOP stub generation in the JVM settings at oc4j startup, and finally
    3.5 deployed the EAR using the generateIIOP flag.
    The result: the exception I posted above
    4. Tried with IIOP/SSL, did these steps:
    4.1 configured the keystore settings in both internal-settings.xml and ejb_sec.properties
    4.2 and added <ior-security-config> config elements to orion-ejb-jar.xml.
    The exception here is a little bit different:
    client started...
    In IIOPInitialContextFactory ..
    In IIOPInitialContextFactory getInitialContext..
    1/08/2006 07:07:10 PM com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl <init>
    ADVERTENCIA: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:77)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:214)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
    at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
    at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
    at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
    at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURL(iiopURLContextFactory.java:61)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getObjectInstance(iiopURLContextFactory.java:34)
    at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:76)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at hello.HelloClient.main(HelloClient.java:31)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
    at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:398)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
    ... 19 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:389)
    ... 20 more
    javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 20
          at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:362)
          at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
          at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
          at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
          at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
          at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURL(iiopURLContextFactory.java:61)
          at com.sun.jndi.url.iiop.iiopURLContextFactory.getObjectInstance(iiopURLContextFactory.java:34)
          at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:76)
          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
          at javax.naming.InitialContext.init(InitialContext.java:219)
          at javax.naming.InitialContext.<init>(InitialContext.java:175)
          at hello.HelloClient.main(HelloClient.java:31)
      Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
          at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
          at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
          at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
          at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:77)
          at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
          at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
          at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:214)
          at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
          at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
          at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
          ... 12 more
      Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
          at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:398)
          at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
          ... 19 more
      Caused by: java.net.ConnectException: Connection refused: connect
          at sun.nio.ch.Net.connect(Native Method)
          at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
          at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
          at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:389)
          ... 20 more
      NamingException: Cannot connect to ORB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Does JAX-WS support JMS transport?

    I was looking at this article for JMS transport support in JAX-WS https://jms-ws-transport.dev.java.net/
    In the example at https://jms-ws-transport.dev.java.net/source/browse/jms-ws-transport/samples/fromwsdl/etc/AddNumbers.wsdl?view=markup , in the binding definition, soap:binding transport is http ('http://schemas.xmlsoap.org/soap/http') and in the port definition location="x-jms://localhost:3700/jaxwsfactory/fromwsdlQ?path=addnumbers" the protocol is x-jms , I don't quite understand it. Can someone explain if it is HTTP transport or JMS transport we are using here.
    thanks in advance
    Raju

    Can some one please help me with this one.
    If any more information is needed, I will be glad to provide that.
    Thanks

  • Does Weblogic7.0 supports JMS-connector

              HI,
              I am not sure about this. please someone gives some insights..
              As in the connector specifications 1.0 IN chapter 5 (Connection Management) it
              is written
              "An application component uses a connection factory to access a connection instance,
              which the component then uses to connect to the underlying EIS. A resource adapter
              acts as a factory of
              connections. Examples of connections include database connections, JMS (Java Message
              Service) connections, and SAP R/3 connections. Note that the support for pluggability
              of JMS providers into an application server will be added in the future versions
              of the specification."
              And i think weblogic7.0 supports connector specifications 1.0 only. please someone(may
              be from BEA) can tell that what is the truth. Can i develope a JMS connector and
              deploy/run on weblogic7.0.
              Regards
              Akhil Nagpal
              

    I'm going to get a bit carried away with my answer:
              I'm not aware of any work going on in the area of JMS connectors, and I
              don't think they are supported in 7.0. I'm really not conversant
              - you will likely get a better answer from the
              weblogic.developer.interest.connector newsgroup.
              Note that MDBs and the messaging bridge already cache their
              underlying connections efficiently -- so
              there is no need for a connector there. Also most J2EE applications
              can programmitically cache their JMS resources somewhere handy
              in an EJB. (There is no performance hit for an unused
              JMS object, except for memory usage.)
              But if you need to pool JMS resources, consider writing your own
              pool - there isn't much to it. Check the sample code at the end of
              the "JMS Performance Guide" white-paper on dev2dev.bea.com.
              If you can wait, Weblogic 8.1 (beta out soon) has a simple way
              to automatically pool JMS connections via ejb resource references.
              Hope this helps,
              Tom
              Akhil Nagpal wrote:
              > HI,
              > I am not sure about this. please someone gives some insights..
              > As in the connector specifications 1.0 IN chapter 5 (Connection Management) it
              > is written
              > "An application component uses a connection factory to access a connection instance,
              > which the component then uses to connect to the underlying EIS. A resource adapter
              > acts as a factory of
              > connections. Examples of connections include database connections, JMS (Java Message
              > Service) connections, and SAP R/3 connections. Note that the support for pluggability
              > of JMS providers into an application server will be added in the future versions
              > of the specification."
              >
              >
              > And i think weblogic7.0 supports connector specifications 1.0 only. please someone(may
              > be from BEA) can tell that what is the truth. Can i develope a JMS connector and
              > deploy/run on weblogic7.0.
              >
              > Regards
              > Akhil Nagpal
              >
              >
              >
              

  • OC4J support for WS-CAF

    Hello there! I'm new to oracle world, and I'd like to know how is the implementation/support of OC4J 10.1.2 and 10.1.3 of WS-CAF. We have an upcoming SOA project and one of the key aspects of it is the data integrity. I'd like to know how does Oracle AS deals with webservices transactions.
    Regards

    Hello,
    WS-CAF (Web Services Composite Application Framework) is a work in progress, and the transaction protocols have not been completed yet. Oracle will support a protocol for distributed transactions in a coming release, once the industry has a standard in good shape enought to implement.
    Regards
    Tugdual Grall

  • Does OAS9i(oc4j) support EJB Local interface?

    Hi, I'm trying to use the petstore 1.3 framework on oc4j. I read the documentation, and know that it supports EJB 2. But I find the ejb local interface isn't supported.
    Am I right?

    Hi Patrick,
    As far as I know, OC4J only partially implements EJB 2.0 -- it
    doesn't implement local interfaces. However, there are several,
    different versions available. Which version are you using?
    If you haven't already found it, there is a version of the pet
    store application available for download from:
    http://technet.oracle.com/sample_code/tech/java/oc4j/content.html
    but it's an implementation of the 1.1.2 version.
    Hope this helps,
    Avi.

  • OC4J support local ejb?

    It seems OC4J does not support local ELB, as it complains the local-home tag with session tag.

    Hi Patrick,
    As far as I know, OC4J only partially implements EJB 2.0 -- it
    doesn't implement local interfaces. However, there are several,
    different versions available. Which version are you using?
    If you haven't already found it, there is a version of the pet
    store application available for download from:
    http://technet.oracle.com/sample_code/tech/java/oc4j/content.html
    but it's an implementation of the 1.1.2 version.
    Hope this helps,
    Avi.

  • JRockit - OC4J Supported Configuration?

    Hey *.*,
    I could not find a list of supported configurations for OC4J in combination with JRockit. Is that somewhere availble?
    More in particular: When using JRockit with Oracle AS/OC4J v10.1.3.3 -> is this officially supported ?
    grtx,
    \thomas

    See the certification matrix here:
    http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_101310.html
    To summarize, it looks like 10.1.3.4 is supported with JRockit on most platforms.
    Support for older versions of OC4J is more limited since these predate the BEA acquisition, but it was supported on some Linux platforms and on Linux/Windows Itanium. Here is one example:
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.pdf
    Regards,
    Henrik

  • Does OC4J support "LIKE" operation in ejb-ql?

    I have a sql in ejb-jar.xml:
    <query>
              <query-method>
                   <method-name>findByZoneidTypeLnameInfo1</method-name>
                   <method-params>
                        <method-param>java.lang.String</method-param>
                        <method-param>int</method-param>
                        <method-param>java.lang.String</method-param>
                   </method-params>
              </query-method>
              <ejb-ql>
                   <![CDATA[ SELECT OBJECT(a) FROM rrdata AS a WHERE a.zoneid = ?1 AND a.type = ?2 AND a.lname = ?3 AND a.info1 LIKE 'udns%.ultradns.net.' ]]>
              </ejb-ql>
         </query>
    When compiling, I got an error:
    com/sun/ejb/ejbql/StringLiteral
    EJB QL statement : 'SELECT OBJECT(a) FROM rrdata AS a WHERE a.zoneid = ?1 AND a.
    type = ?2 AND a.lname = ?3 AND a.info1 LIKE 'udns%.ultradns.net.''
    EJB QL method : public abstract java.util.Collection com.ultradns.j2ee.compon
    ents.ultradns.rrdata.ejb.RrdataHome.findByZoneidTypeLnameInfo1(java.lang.String,
    int,java.lang.String) throws javax.ejb.FinderException
    at com.sun.ejb.ejbql.parser.EjbQLParser.parse(EjbQLParser.java:226)
    at com.sun.ejb.ejbql.EjbQLDriver.parse(EjbQLDriver.java:86)
    at com.sun.ejb.sqlgen.SQLGenerator.generateSQLForEjbQLQueries(SQLGenerat
    or.java:628)
    at com.sun.ejb.sqlgen.SQLGenerator.generateSQL(SQLGenerator.java:270)
    at com.evermind.server.ejb.deployment.EJBPackage.init(EJBPackage.java:19
    47)
    at com.evermind.server.ServerComponent.init(ServerComponent.java:224)
    at com.evermind.server.ejb.EJBPackageDeployment.getPackage(EJBPackageDep
    loyment.java:645)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:513)
    at com.evermind.server.Application.postInit(Application.java:429)
    at com.evermind.server.Application.setConfig(Application.java:136)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1479)
    at com.evermind.server.ApplicationServer.initializeApplications(Applicat
    ionServer.java:1436)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
    a:1099)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
    uncher.java:93)
    at java.lang.Thread.run(Thread.java:484)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
    Error in application dnsmanager: Error loading package at file:/C:/java/oc4j/j2e
    e/home/applications/dnsmanager/ejb/, Failure to initialize EJBQL descriptors: co
    m/sun/ejb/ejbql/StringLiteral
    EJB QL statement : 'SELECT OBJECT(a) FROM rrdata AS a WHERE a.zoneid = ?1 AND a.
    type = ?2 AND a.lname = ?3 AND a.info1 LIKE 'udns%.ultradns.net.''
    EJB QL method : public abstract java.util.Collection com.ultradns.j2ee.compon
    ents.ultradns.rrdata.ejb.RrdataHome.findByZoneidTypeLnameInfo1(java.lang.String,
    int,java.lang.String) throws javax.ejb.FinderException

    I would suggest to try
    "from Brukerkonto as o"
    instead of
    "from Brukerkonto o"

  • OC4J AQ/JMS - Logging DriverManagerConnectionPoolConnection not closed

    Hi,
    Since I do not directly utilise JDBC resource, I cannot work out how I might investigate this supposed leak.
    Every now and then (and it does appear to happen sporadically - I cannot identify a pattern), I get the
    messages.
    DriverManagerConnectionPoolConnection not closed, check your code!
    I turned the logging on (using -Djdbc.connection.debug=true), and the following exceptions is thrown:
    Created at:
    java.lang.Throwable: DriverManagerConnectionPoolConnection created
    at com.evermind.sql.DriverManagerConnectionPoolConnection.<init>(DriverManagerConnectionPoolConnection.java:27)
    at com.evermind.sql.DriverManagerPooledConnection.getNewLogicalConnection(DriverManagerPooledConnection.java:341)
    at com.evermind.sql.DriverManagerPooledConnection.getConnection(DriverManagerPooledConnection.java:117)
    at com.evermind.sql.OrionPooledDataSource.getConnection(OrionPooledDataSource.java:235)
    at com.evermind.sql.DriverManagerXADataSource.getNonAutoCommitConnection(DriverManagerXADataSource.java:285)
    at com.evermind.sql.DriverManagerXAConnection.start(DriverManagerXAConnection.java:101)
    at com.evermind.server.TransactionEnlistment.<init>(TransactionEnlistment.java:45)
    at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:247)
    at com.evermind.sql.OrionCMTConnection.tryToDelistEnlist(OrionCMTConnection.java:308)
    at com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:112)
    at com.evermind.sql.FilterConnection.getTypeMap(FilterConnection.java:135)
    at com.evermind.sql.FilterConnection.getTypeMap(FilterConnection.java:136)
    at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:1240)
    at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:981)
    at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:918)
    at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:834)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:905)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:479)
    Here is the ejb.jar sections of interest:
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>jms/MessageQueueConnectionFactory</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/MessageSendQueue</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/MessageStatusQueue</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    Here is the orion-ejb.jar <enterprise-beans> definition:
    <enterprise-beans>
         <message-driven-deployment name="MessagingServer" destination-location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_SEND_QUEUE" connection-factory-location="java:comp/resource/CallistaMessagingJMSContext/QueueConnectionFactories/jmsFactory" max-instances="100">
         <resource-ref-mapping name="jms/MessageQueueConnectionFactory" location="java:comp/resource/CallistaMessagingJMSContext/QueueConnectionFactories/jmsFactory" />
         <resource-env-ref-mapping name="jms/MessageSendQueue" location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_SEND_QUEUE" />
         <resource-env-ref-mapping name="jms/MessageStatusQueue" location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_STATUS_QUEUE" />
         </message-driven-deployment>
    </enterprise-beans>
    The orion-application.xml has the following resource provider mapping for the OJMS Context:
    <resource-provider class="oracle.jms.OjmsContext" name="CallistaMessagingJMSContext">
    <description> OJMS/AQ </description>
    <property name="datasource" value="jdbc/ejb/CallistaMessageOwnerDS" />
    </resource-provider>
    Here is the matching 'jdbc/ejb/CallistaMessageOwnerDS' datasource definition for the JMS:
    <data-source
         class="com.evermind.sql.DriverManagerDataSource"
         name="CallistaMessageOwnerJDBCDatasource"
         location="jdbc/CallistaMessageOwnerCoreDS"
         xa-location="jdbc/xa/CallistaMessageOwnerXADS"
         ejb-location="jdbc/ejb/CallistaMessageOwnerDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
         username="*********"
         password="****"
              url="jdbc:oracle:thin:@myhost.com.au:1529:ORCL"
         inactivity-timeout="30"
    />
    I would appreciate any input into any mistakes I may have made (perhaps I need to use a different datasource, or define it in a different way)
    Any help - including an indication that this is an error I can safely ignore :-) would be appreciated.
    Thanks
    Jason

    I'm have the same issue. I'm currently trying to seen if the Oracle 9.2.0.5.0 patch corrects the issue (waiting for the file down load). There is a known issue in Oracle and cleaning up Inactive connections. I assuming the two are related ... I hope it works.

  • OC4J support Ajax based Application, If yes....give me example

    Hi,
    I did Ajax based application and getting output in MyEclipse with Tomcat server.
    but, same Ajax Program I am running in oracle jdeveloper with OC4J, it's not getting output......
    can anyone help.....what is the reason.....
    regards,
    Abu

    Sorry for posting no code.
    I was hoping it was a common problem with the ajax anyware framework.
    Folow some simple part of the application :
    [JSP BEGIN]
    <aa:zone name="pgoVerbaZone">
                                   <t:dataList var="pgoVerba" value="#{amortizaBean.proAmorPOJO.listaPgoVerba}" rowIndexVar="indice">
                                          <f:verbatim>
                                                <table border="0" cellpadding="0" cellspacing="10" width="100%">
                                                   <tbody><tr>
                                                     <td><label class="label">Valor*</label>
                                                     </f:verbatim>
                                                                        <h:inputText id="valorPagPrinc" alt="Verba Principal e Reflexo - Pagamentos - Valor" value="#{pgoVerba.valorPagPrinc}"
                                                                size="18" onblur="mascara_numero_controle_extra(this, 'dinheiro', true);" onkeyup="mascara_numero_controle_extra(this, 'dinheiro', false);" />
                                                     <f:verbatim>
                                                     <td>
                                                     <label class="label">Tipo*</label>
                                                         </f:verbatim>
                                                         <h:selectOneMenu id="selectTipoPrinc" value="#{pgoVerba.tipoPagamentoPrinc}">
                                                                     <f:selectItems value="#{amortizaBean.listaTipoPagamento}" />
                                                                </h:selectOneMenu>
                                                         <f:verbatim>
                                                       </td>
                                                     <td><label class="label">Data do recolhimento*</label>
                                                      </f:verbatim>
                                                          <h:inputText id="dtRecoPrinc" alt="Verba Principal e Reflexo - Pagamentos - Data Recolhimento" value="#{pgoVerba.dtRecoPrinc}" size="10"
                                                          onblur="verificarData(this);" onkeyup="autoTab(this, 10, event); mask_input_date(this);" maxlength="10"/>
                                                     <f:verbatim>
                                                     </td>
                                                     <td>
                                                     <label class="label">Priorizar juros*</label>
                                                          </f:verbatim>
                                                          <h:selectOneMenu id="selectPriorizarJurosPrinc" value="#{pgoVerba.priorizarJurosPrinc}">
                                                                     <f:selectItem itemValue="-1" itemLabel=""/>
                                                                     <f:selectItems value="#{amortizaBean.listaSimNao}" />
                                                                </h:selectOneMenu>
                                                                 <f:verbatim>
                                                       </td>
                                                     <td width="25%">
                                                          <div align="right">
                                                                </f:verbatim>
                                                                    <t:commandLink id="linkIncluirPgoVerbaAJAX" action="#{amortizaBean.incluirPgoVerbaAJAX}" rendered="#{indice eq 0}">
                                                                         <t:updateActionListener value="#{indice}" property="#{amortizaBean.indicePgoVerba}"/>
                                                                         <h:graphicImage style="border:0" alt="Adicionar Pagamento" url="/common/img/ico_novo.png" />
                                                                    </t:commandLink>     
                                                                 <f:verbatim>
                                                          </div>
                                                          <div align="right">
                                                                </f:verbatim>
                                                                    <t:commandLink id="linkExcluirPgoVerbaAJAX" action="#{amortizaBean.excluirPgoVerbaAJAX}" rendered="#{not(indice eq 0)}">
                                                                         <t:updateActionListener value="#{indice}" property="#{amortizaBean.indicePgoVerba}"/>
                                                                         <h:graphicImage style="border:0" alt="Excluir Pagamento" url="/common/img/ico_excluir.png" />
                                                                    </t:commandLink>     
                                                                 <f:verbatim>
                                                          </div>
                                                     </td>
                                                   </tr>
                                                 </tbody>
                                                 </table>
                                                 </f:verbatim>
                                       </t:dataList>
                                   </aa:zone>
    [JSP END]
    [JavaScript BEGIN]
              // Funções AJAX (AjaxAnywhere)...
              ajaxAnywhere.getZonesToReload = function(url, submitButton) {
                   // Identificando ID do componente disparado (commandButton ou commandoLink)....
                   if ((typeof submitButton != "undefined") && (submitButton.type=="submit")) {
                        componentId = submitButton.id;
                   }else {
                        if (this.findForm().elements["atualizaPagamentoForm:_link_hidden_"] != null) {
                             componentId = this.findForm().elements["atualizaPagamentoForm:_link_hidden_"].value;
                   //execeção
                   if(componentId == 'atualizaPagamentoForm:botaoEnviarAtualizacao' ||
                        componentId == 'atualizaPagamentoForm:botaoEnviarAtualizacaoRateada') {
                        return null;
                   //Zonas que será atualizadas de acordo com as requisições via AJAX.               
                   var zones;     
                   zones = 'zoneMensagem,pgoVerbaZone,pgoCustaZone,' +
                             'pgoDiversosZone,pgoReclamanteZone,pgoReclamadoZone,' +
                             'pgoTercZone,pgoIRRFZone,pgoFGTSZone,diversosZone,historicoZone';
                   setarImagemDeSubmissaoAJAX(componentId);     
                   return zones;
    [JavaScript END]
    [BEAN BEGIN]
    /** AJAX VERBA*/
         public String incluirPgoVerbaAJAX() {
              proAmorPOJO.getListaPgoVerba().add(proAmorPOJO.new PgoVerba());
              return null;
         public String excluirPgoVerbaAJAX() {
              proAmorPOJO.getListaPgoVerba().remove(indicePgoVerba.intValue());
              return null;
    [BEAN END]Well this code runs ok. The Request is Sent, the methods are called, the response is received, but nothing is rendered.

  • Does OC4J support soap attachments???

    If yes where can I find the api???
    Is it the same as apache soap? someting like message.add/getAttach(mimebodypart)?
    Does the wizards handle it?
    TAD
    Mauro

    You can use Oracle SOAP services to send attachments with SOAP request.
    Refer documentation on Oracle9iAS SOAP services here
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/oraclesoap.htm#640260
    You can look at the sample services described here
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/oraclesoap.htm#643327
    The samples.jar referred in above doc can be found in in
    <OC4J_Home>\soap\webapps\soap.ear =>soap.war =>samples.jar
    The Mime Sample demonstrates SOAP with attachment
    Chandar

  • XA Transaction Support In OC4J 10.1.2

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

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

  • Problem: sending JMS message in other oc4j

    I have two app server instances " OC4J (1) " and " OC4J (2) ". (snandalone 10.1.3.0.0 - Developer Preview 3 (build 041119.0001.2385)). The containers work on Windows2000 in different machines connected by the LAN.
    OC4J (1):
    I have J2ee of the application [app(1)] (ex. Servlet (1) or MDB (1)) in OC4J (1).
    OC4J (2):
    I have J2ee of the application [app(2)] deploy in OC4J (2) [included Servlet (2) or MDB (2)] . The Servlet (2), or MDB (2) - empty stub, for example code Servlet2:
    package mypackage;
    import javax.servlet. *;
    import javax.servlet.http. *;
    import java.io. PrintWriter;
    import java.io. IOException;
    public class Servlet1 extends HttpServlet
    private static final String CONTENT_TYPE = " text/html; charset=windows-1251 ";
    public void init (ServletConfig config) throws ServletException
    super.init (config);
    public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    response.setContentType (CONTENT_TYPE);
    PrintWriter out = response.getWriter ();
    out.println (" < html > ");
    out.println (" < head > < title > Servlet1 < /title > < /head > ");
    out.println (" < body > ");
    out.println (" < p > The servlet has received a GET. This is the reply. </p > ");
    out.println (" < /body > < /html > ");
    out.close ();
    I have configuration JMS (2) Queue in jms.xml on OC4J (2):
    < jms-server...... port = "9127"
    < queue name = " Demo Queue " location = "jms/demoQueue" > <description> A dummy queue </description> </queue>
    < queue-connection-factory name = "jms/QueueConnectionFactory" location = "jms/QueueConnectionFactory" / >
    </jms-server>
    It JMS (2) Queue already is present in an OC4J 10.1.3 version.
    My task:
    The J2ee application (1) (ex. Servlet (1)) on OC4J (1) it is necessary to receive connection with JMS (2) (on remote OC4J (2)).
    Variant 1: a code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2)/app(2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup ("jms/QueueConnectionFactory");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup ("jms/demoQueue");
    ic.close ();
    while (true)
    // - send in JMS (2)
    Problem:
    The Servlet (1) [in oc4j (1)] established JMS connection with oc4j (2) and begins to pass the messages [in JMS Queue (2)].
    The Oc4j (2) creates some system thread for this JMS connection.
    If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    Saw if this situation repeats some times that amount of the system thread in oc4j (2) is grow.
    To me has answered:
    In 10.1.3, the supported connection path is through the Resource Adapter (using OracleASjms.rar). The Resource Adapter offers many benefits, including the removal of stale connection threads. You have configured your application to bypass the Resource Adapter and use a direct path to OC4J JMS. You will need to create a resource mapping from your OC4J JMS admin objects (queues, topics, and connection factories) to new Resource Adapter admin objects. You can find the details of how to do this in the documentation for OC4J 10g (10.1.3) Developer Preview 3 on OTN.
    You can find the link to the documentation for OC4J DP3 here:
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/index.html
    Then I have tried Variant 2:
    I need to receive connection with remote JMS (2) via generic JMS resource adapter (OracleAS Jms).
    In OC4J (2), it is necessary сonfigure the generic JMS resource adapter (OracleAS Jms) to work with Queue "jms/demoQueue".
    According to the documentation Oracle ® Containers for J2EE Services Guide10g Release 2 (10.1.3) and example
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/howtos/how-to-jca-intro/doc/how- to-jca-intro.html anything it is not necessary to do.
    Note that if you use the generic JMS resource adapter in an OC4J 10.1.3 version that is newer than the OC4J 10.0.3 Developer Preview 2, you can skip. In OC4J 10.1.3 it is a step is already made.
    Code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2) /app (2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup (" java:comp/resource/oc4jjms/jms/QueueCon nectionFactory ");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup (" java:comp/resource/oc4jjms/jms/demoQueu e ");
    ic.close ();
    while (true)
    // - send in JMS (2)
    This code works.
    But!!!!!!
    The problem - removal of stale connection threads in OC4J (2) instances has not solve. If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    How to me to write a code of connection with JMS (2) in Servlet (1), that Resource Adapter (in OC4J (2)) the removal of stale connection threads ???

    I have two app server instances " OC4J (1) " and " OC4J (2) ". (snandalone 10.1.3.0.0 - Developer Preview 3 (build 041119.0001.2385)). The containers work on Windows2000 in different machines connected by the LAN.
    OC4J (1):
    I have J2ee of the application [app(1)] (ex. Servlet (1) or MDB (1)) in OC4J (1).
    OC4J (2):
    I have J2ee of the application [app(2)] deploy in OC4J (2) [included Servlet (2) or MDB (2)] . The Servlet (2), or MDB (2) - empty stub, for example code Servlet2:
    package mypackage;
    import javax.servlet. *;
    import javax.servlet.http. *;
    import java.io. PrintWriter;
    import java.io. IOException;
    public class Servlet1 extends HttpServlet
    private static final String CONTENT_TYPE = " text/html; charset=windows-1251 ";
    public void init (ServletConfig config) throws ServletException
    super.init (config);
    public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    response.setContentType (CONTENT_TYPE);
    PrintWriter out = response.getWriter ();
    out.println (" < html > ");
    out.println (" < head > < title > Servlet1 < /title > < /head > ");
    out.println (" < body > ");
    out.println (" < p > The servlet has received a GET. This is the reply. </p > ");
    out.println (" < /body > < /html > ");
    out.close ();
    I have configuration JMS (2) Queue in jms.xml on OC4J (2):
    < jms-server...... port = "9127"
    < queue name = " Demo Queue " location = "jms/demoQueue" > <description> A dummy queue </description> </queue>
    < queue-connection-factory name = "jms/QueueConnectionFactory" location = "jms/QueueConnectionFactory" / >
    </jms-server>
    It JMS (2) Queue already is present in an OC4J 10.1.3 version.
    My task:
    The J2ee application (1) (ex. Servlet (1)) on OC4J (1) it is necessary to receive connection with JMS (2) (on remote OC4J (2)).
    Variant 1: a code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2)/app(2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup ("jms/QueueConnectionFactory");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup ("jms/demoQueue");
    ic.close ();
    while (true)
    // - send in JMS (2)
    Problem:
    The Servlet (1) [in oc4j (1)] established JMS connection with oc4j (2) and begins to pass the messages [in JMS Queue (2)].
    The Oc4j (2) creates some system thread for this JMS connection.
    If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    Saw if this situation repeats some times that amount of the system thread in oc4j (2) is grow.
    To me has answered:
    In 10.1.3, the supported connection path is through the Resource Adapter (using OracleASjms.rar). The Resource Adapter offers many benefits, including the removal of stale connection threads. You have configured your application to bypass the Resource Adapter and use a direct path to OC4J JMS. You will need to create a resource mapping from your OC4J JMS admin objects (queues, topics, and connection factories) to new Resource Adapter admin objects. You can find the details of how to do this in the documentation for OC4J 10g (10.1.3) Developer Preview 3 on OTN.
    You can find the link to the documentation for OC4J DP3 here:
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/index.html
    Then I have tried Variant 2:
    I need to receive connection with remote JMS (2) via generic JMS resource adapter (OracleAS Jms).
    In OC4J (2), it is necessary сonfigure the generic JMS resource adapter (OracleAS Jms) to work with Queue "jms/demoQueue".
    According to the documentation Oracle ® Containers for J2EE Services Guide10g Release 2 (10.1.3) and example
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/howtos/how-to-jca-intro/doc/how- to-jca-intro.html anything it is not necessary to do.
    Note that if you use the generic JMS resource adapter in an OC4J 10.1.3 version that is newer than the OC4J 10.0.3 Developer Preview 2, you can skip. In OC4J 10.1.3 it is a step is already made.
    Code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2) /app (2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup (" java:comp/resource/oc4jjms/jms/QueueCon nectionFactory ");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup (" java:comp/resource/oc4jjms/jms/demoQueu e ");
    ic.close ();
    while (true)
    // - send in JMS (2)
    This code works.
    But!!!!!!
    The problem - removal of stale connection threads in OC4J (2) instances has not solve. If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    How to me to write a code of connection with JMS (2) in Servlet (1), that Resource Adapter (in OC4J (2)) the removal of stale connection threads ???

Maybe you are looking for

  • Can a family member access my info with known passwords from a different phone or computer "spying"

    I was just wondering if somebody can access my personal info including web searches, emails, text messages, contact info, recent calls and photos and vioedo just about every thing done on your iPhone and PC. If they are the on accouts. I think they h

  • How to use a repository in a new report

    Hello, I am starting to learn OBIEE and installed it in my home environment. I installed OBIEE, and used the RCU to install a repository in an Oracle database. Then, I used the BI Administration tool to make a 'repository' which connects to my data (

  • Why does my music continuously shuffle? can't fix.

    tried to sync, have a ridiculous amount of problems when syncing my phone, generally have to back up, delete, restore just to get one new song on my phone which is just ridiculous. This time the songs just now continuously shuffle for a microsecond e

  • Decompress ZIP file with Password

    Hi all, Does anybody know how to decompress a ZIP file with password protection? I have a decompress code, but I don't know how to insert the pass. Any solution? Regards

  • Acrobat3D Javascript A.B.C.D child subnode visiblity control?

    How can we fetch a reference to a 3D Model (U3D) in the scene within the Acrobat3D JavaScript context and get 3D scene node visibility to match what is shown in the Model Tree? Currently we are using JavaScripts of the form of the following to preset