Orion JMS Vs Oracle JMS

Hi
I am deploying an application with MDB using Oracle JMS( AQ ) and durable subscriptions. Now for configuration of the topics, I have a doubt. In addition to creation of the topics in the db do I have to specify those in jms.xml or it is required only in case of Orion JMS? I am really confused with this, since I am getting a deployment error even though I have configured orion-ejb-jar.xml as per AQ req... Any help pls...
Thanks in Advance...

Hi Gilbert,
I have done the same, but while deploying it gives error 'Syntax error in source' with no other error message. And I have one more doubt. Does AQ work with Oracle 8i databse ?

Similar Messages

  • Orion JMS onMessage() is not avlid??!!!

    while(true)
    // Wait for a request for coffee
    Message msg = qreceiver.receive();
    System.out.println("Recive the Message:====");
    if (msg instanceof TextMessage) {
    try{
    TextMessage Tmsg = (TextMessage) msg;
    System.out.println("Reading message: " + Tmsg.getText());
    catch(Exception e)
    e.printStackTrace();
    //------------------is OK!!!
    receiver.setMessageListener(this);
    public void onMessage(Message msg)
    System.out.println("Recive the Message:====");
    if (msg instanceof TextMessage) {
    try{
    TextMessage Tmsg = (TextMessage) msg;
    System.out.println("Reading message: " + Tmsg.getText());
    catch(Exception e)
    e.printStackTrace();
    //System.out.println( msg.toString());
    // is no work !!!!????
    WHY????

    There is bug in MessageRecriver.
    We also faced problem while we send a message to queue it send it properly but client can't receive it.
    It is posted BUG on Orion site.
    Orion is OC4J :-)
    Ig you face more problem about basic issues you can log to http://www.orionserver.com/
    Click on Mailing list and then click on look here link or search for your topic. I think that will help you lot.
    regards,
    vijay

  • Toplink Cache sync using JMS

    Hi,
    I am using toplink cache synchronization using Orion JMS. While starting the application I get the following erorr message.
    Oracle apps server version is 10.1.2.0.0 toplink 9.0.4.5
    Local Exception Stack:
    Exception [TOPLINK-15016] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.SynchronizationException
    Exception Description: Could not gain access to SynchronizationService class
    Internal Exception: Exception [TOPLINK-15013] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.SynchronizationException
    Exception Description: Could not find JMS Service Topic named: jms/MyCacheSyncTopic
    Internal Exception: javax.naming.NameNotFoundException: jms/MyTopicFactory not found
    at oracle.toplink.exceptions.SynchronizationException.errorGettingSyncService(SynchronizationException.java:139)
    at oracle.toplink.remote.CacheSynchronizationManager.initialize(CacheSynchronizationManager.java:114)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:534)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:250)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:181)
    at com.starkey.cqm.dao.PersistenceService.initializeService(PersistenceService.java:67)
    at com.starkey.cqm.bcs.CQMServiceManager.createService(CQMServiceManager.java:68)
    at com.starkey.cqm.web.util.CQMInitServlet.init(CQMInitServlet.java:40)
    I have made the modifications in sessions.xml as follows
              <cache-synchronization-manager>
                   <clustering-service>oracle.toplink.remote.jms.JMSClusteringService</clustering-service>
                   <jms-topic-connection-factory-name>jms/MyTopicFactory</jms-topic-connection-factory-name>
                   <jms-topic-name>jms/MyCacheSyncTopic</jms-topic-name>     
              </cache-synchronization-manager>
    Changes in JMS xml
    <topic name="MyCacheSyncTopic" location="jms/MyCacheSyncTopic"/>
    <topic-connection-factory
              host="cqtest1"
              port="3702"
              name="Cache Sync Topic Factory"
              location="jms/MyTopicFactory" />
    Has any one encountered this before ?
    Thanks
    Priya

    Hi Steve,
    Servers 1 and 2 may have dropped the connections to 3. One way that this can happen is if at some point an object delta is sent to a target server that does not have the object deployed, or on its classpath. Make sure that log-debug is turned on for the TopLink session. You should see warnings on servers 1 and 2 about the connections being dropped to 3.
    If none of this seems to help or if you can't find the answers from the debug traces then the logs of the three servers would help support in determining where the problem occurred.
    -Mike

  • Error listening to Queue carnot Queue

    I get the following error in my application.log and do not really know, what to do with it:
    java.lang.InstantiationException: Error: com.evermind.server.jms.EvermindQueueSession
         at com.evermind.server.jms.OrionServerSessionPool.getServerSessionFull(OrionServerSessionPool.java:377)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:769)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
    my jms.xml looks as follows:
    <?xml version="1.0"?>
    <!DOCTYPE jms-server PUBLIC "Orion JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server.dtd">
    <jms-server port="9127" host="127.0.0.1">
    <!--Queue bindings, these queues will be bound to their respective JNDI path for later retrieval -->
    <queue-connection-factory location="jms/carnotQCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <queue-connection-factory location="jms/appointmentQCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <queue-connection-factory location="jms/objectMessageQCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <queue-connection-factory location="jms/d0012QCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <!-- path to the log-file where JMS-events/errors are stored-->
    <!-- log>
    <file path="../log/jms.log" />
    </log -->
    <queue name="carnot Queue" location="jms/carnotqueue" persistence-file="../persistence/MDB/carnot.queue" >
    <description>Appointment Queue</description>
    </queue>
    <queue name="Appointment Queue" location="jms/appointmentQ" persistence-file="../persistence/MDB/appointment.queue" >
    <description>Appointment Queue</description>
    </queue>
    <queue name="Object Message Queue" location="jms/objectMessageQ" >
    <description>Object Message Queue</description>
    </queue>
    <queue name="D0012 Queue" location="jms/d0012Q" persistence-file="../persistence/MDB/d012.queue" >
    <description>D012 queue</description>
    </queue>
    </jms-server>
    orion-ejb-jar.xml for the MDB:
    <message-driven-deployment name="MessageListener" destination-location="jms/carnotqueue" connection-factory-location="jms/carnotQCF" max-instances="10">
    Anybody an idea?
    cheers,
    Klaus

    Hi Klaus
    We had the same error as you have.
    After a lot of troubles we are now able to run IBMs MQSeries with OC4J v. 9.0.3.0.0
    Here is an overview of our configuration (on Windows 2000)
    Added the following lines to C:\OC4J\j2ee\home\config\application.xml
    This is to use connect to MQSeries with a file based JNDI. We created the file .bindings in C:\JNDI with IBMs JMSAdmin tool.
    <resource-provider
    class="com.evermind.server.deployment.ContextScanningResourceProvider"
    name="MQSeries">
    <description> MQSeries </description>
    <property name="java.naming.factory.initial" value="com.sun.jndi.fscontext.RefFSContextFactory"> </property>
    <property name="java.naming.provider.url" value="file:/C:/JNDI"> </property>
    </resource-provider>
    We copied the following files from MQSeries to C:\OC4J\j2ee\home\lib
    com.ibm.mq.jar
    com.ibm.mqjms.jar
    com.ibm.mqbind.jar
    mqji.properties
    fscontext.jar
    providerutil.jar
    Added the following line to C:\OC4J\j2ee\home\config\server.xml
    <library path="../lib" />
    This points to C:\OC4J\j2ee\home\lib where our MQSeries .jar files are located.
    In line 176 in com.evermind.server.jms.OrionServerSessionPool.class (located in OC4J.jar) we changed the following lines:
    ((AQjmsSession)new_session).setCloseCheckInterval(2);
    new_consumer = ((QueueSession)new_session).createReceiver((Queue)destination, messageSelector);
    ((AQjmsQueueReceiver)new_consumer).setNavigationMode(1);
    new_connection.start();
    to this:
    new_consumer = ((QueueSession)new_session).createReceiver((Queue)destination, messageSelector);
    new_connection.start();
    The reason to this, is that it looks like OC4J do not accept other queue system than AQ. If we dont change those lines, we get the following error:
    java.lang.InstantiationException: Error: com.evermind.server.jms.EvermindQueueSession at com.evermind.server.jms.OrionServerSessionPool.getServerSessionFull(OrionServerSessionPool.java:377)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:769)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
    In the MDB sample (C:\OC4J\j2ee\home\demo\mdb) we changed the following (ivtTCF, ivtQCF, ivtT and ivtQ are MQSeries factories and connections):
    Orion-ejb-jar.xml
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar deployment-version="9.0.3.0.0" deployment-time="ec68ca361c">
    <enterprise-beans>
    <session-deployment
    name="MyCart"
    max-instances="10"
    location="MyCart">
    <resource-ref-mapping
    name="ivtTCF"
    location="java:comp/resource/MQSeries/ivtTCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtT"
    location="java:comp/resource/MQSeries/ivtT">
    </resource-env-ref-mapping>
    <resource-ref-mapping
    name="ivtQCF"
    location="java:comp/resource/MQSeries/ivtQCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtQ"
    location="java:comp/resource/MQSeries/ivtQ">
    </resource-env-ref-mapping>
    </session-deployment>
    <message-driven-deployment
    name="MessageBeanTpc"
    connection-factory-location="java:comp/resource/MQSeries/ivtTCF"
    destination-location="java:comp/resource/MQSeries/ivtT"
    subscription-name="MDBSUB">
    <resource-ref-mapping
    name="ivtTCF"
    location="java:comp/resource/MQSeries/ivtTCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtT"
    location="java:comp/resource/MQSeries/ivtT">
    </resource-env-ref-mapping>
    <resource-ref-mapping
    name="ivtQCF"
    location="java:comp/resource/MQSeries/ivtQCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtQ"
    location="java:comp/resource/MQSeries/ivtQ">
    </resource-env-ref-mapping>
    </message-driven-deployment>
    <message-driven-deployment
    connection-factory-location="java:comp/resource/MQSeries/ivtQCF"
    destination-location="java:comp/resource/MQSeries/ivtQ"
    name="MessageBeanQue">
    <resource-ref-mapping
    name="ivtTCF"
    location="java:comp/resource/MQSeries/ivtTCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtT"
    location="java:comp/resource/MQSeries/ivtT">
    </resource-env-ref-mapping>
    <resource-ref-mapping
    name="ivtQCF"
    location="java:comp/resource/MQSeries/ivtQCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtQ"
    location="java:comp/resource/MQSeries/ivtQ">
    </resource-env-ref-mapping>
    </message-driven-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="&lt;default-ejb-caller-role&gt;" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.2//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_2.dtd">
    <ejb-jar>
    <description>A demo cart bean package.</description>
    <display-name>A simple cart jar</display-name>
    <enterprise-beans>
    <session>
    <description>A simple shopping cart.</description>
    <display-name>Shopping Cart</display-name>
    <ejb-name>MyCart</ejb-name>
    <home>cart.ejb.CartHome</home>
    <remote>cart.ejb.Cart</remote>
    <ejb-class>cart.ejb.CartEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <res-ref-name>ivtQCF</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtQ</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>ivtTCF</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtT</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </session>
    <message-driven>
    <description></description>
    <display-name>MessageBeanTpc</display-name>
    <ejb-name>MessageBeanTpc</ejb-name>
    <ejb-class>cart.ejb.MessageBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    <subscription-durability>Durable</subscription-durability>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>ivtQCF</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtQ</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>ivtTCF</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtT</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    <message-driven>
    <description></description>
    <display-name>MessageBeanQue</display-name>
    <ejb-name>MessageBeanQueBMT</ejb-name>
    <ejb-class>cart.ejb.MessageBean</ejb-class>
    <transaction-type>Bean</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>ivtQCF</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtQ</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>ivtTCF</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtT</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MyCart</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>MessageBeanTpc</ejb-name>
    <method-name>onMessage</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>MessageBeanQue</ejb-name>
    <method-name>onMessage</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    In MessageBean.java I removed the few lines code related to AQ, and added the following imports to MessageBean.java and CartEJB.java:
    import com.ibm.*;
    import com.ibm.mq.*;
    import com.ibm.mq.jms.*;
    import com.ibm.jms.*;
    It works!!!
    Good luck
    Ole

  • MDB QUeue example

    I looking for a example of a queue in OC4J. AT least I need the configuration for defining the QueueConnectionFactory (there's no example as a queue)

    Here's an example of a jms.xml file we use which works with queues. One of them is persistent while the other one is not.
    Apart from this file (jms.xml) the rest of the stuff is very similar to the topic example given by Oracle.
    A few points to note. Generally just change Topic for Queue in the sample code + don't forget the start the queue with the start() method.
    Hope this helps
    <?xml version="1.0"?>
    <!DOCTYPE jms-server PUBLIC "Orion JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server.dtd">
    <jms-server port="9127" host="127.0.0.1">
         <!--Queue bindings, these queues will be bound to their respective JNDI path for later retrieval -->
         <queue-connection-factory location="jms/appointmentQCF" password="admin" port="9127" username="admin">
         </queue-connection-factory>
         <queue-connection-factory location="jms/objectMessageQCF" password="admin" port="9127" username="admin">
         </queue-connection-factory>      
         <queue-connection-factory location="jms/d0012QCF" password="admin" port="9127" username="admin">
         </queue-connection-factory>
         <!-- path to the log-file where JMS-events/errors are stored-->
         <!-- log>
              <file path="../log/jms.log" />
         </log -->
         <queue name="Appointment Queue" location="jms/appointmentQ" persistence-file="../persistence/MDB/appointment.queue" >
              <description>Appointment Queue</description>
         </queue>
         <queue name="Object Message Queue" location="jms/objectMessageQ" >
              <description>Object Message Queue</description>
         </queue>     
         <queue name="D0012 Queue" location="jms/d0012Q" persistence-file="../persistence/MDB/d012.queue" >
              <description>D012 queue</description>
         </queue>
    </jms-server>

  • Exception while synchronizing changes

    Hi,
    Has any one got this exception while using toplink cahce synchronization using Orion JMS ?
    Local Exception Stack:
    Exception [TOPLINK-18001] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.JMSProcessingException
    Exception Description: Error while processing incomming JMS message
    Internal Exception: javax.jms.JMSException: getObject
         at oracle.toplink.exceptions.JMSProcessingException.buildDefault(JMSProcessingException.java:20)
         at oracle.toplink.remote.jms.TopLinkMessageListener.onMessage(TopLinkMessageListener.java:60)
         at com.evermind.server.jms.EvermindSession.doListener(EvermindSession.java:1327)
         at com.evermind.server.jms.EvermindSession.handleMessage(EvermindSession.java:1143)
         at com.evermind.server.jms.EvermindMessageConsumer.handleMessage(EvermindMessageConsumer.java:445)
         at com.evermind.server.jms.EvermindMessageConsumer.access$300(EvermindMessageConsumer.java:40)
         at com.evermind.server.jms.EvermindMessageConsumer$1.run(EvermindMessageConsumer.java:399)
         at java.lang.Thread.run(Thread.java:534)
    06/06/16 15:42:15 onMessage
    THanks
    Priya

    Open Console utility (Applications -> Utilities), maybe you will find something useful there about what happened.

  • .properties file in servlet classpath

    I have a servlet that I trying to run under OC4J/Orion here at
    Oracle. The servet is trying to load it's property file
    with:
    InputStream is =
    ClassLoader.getSystemResourceAsStream("ipruntime.properties");
    But the inputStream is always null no matter where I put the
    properties file in the classpath (I've tried putting it in
    jars or in a directory). The servlet is invoking methods in
    other java classes just fine, so there is not a problem with
    the classpath.
    Any clues of what might be wrong?
    The same servlet with it's property file in the classpath runs
    under Apache/Jserv just fine.

    InputStream in =
    this.getClass().
    getClassLoader().
    getResourceAsStream("theFile.properties");
    I think the general advice is to use 'this.getClass()' to make
    sure which ClassLoader is being called.
    This may not be a problem, but try it?
    If you're deploying on OC4J you might also want to try one of the
    'newer' methods of 'using properties files', ie: put it in
    web.xml and look it up.
    Cheers,
    Malte

  • Setup BPEL Process Manager with OID

    I followed all the instructions provided by the Content Services Custom BPEL workflow to setup BPEL with OID but I have The error "Identity Service cannot find user" while log in to http://fr101sv0226.corp.tpnet.intra:9700/integration/worklistapp/Login
    I have configured :
    1)
    [oracle@fr101sv0226 orabpel]$ more ./system/services/config/is_config.xml
    <BPMIdentityServiceConfig xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig">
    <provider providerType="JAZN" name="oid">
    <connection url="ldap://fr101sv0226.corp.tpnet.intra:389" binddn="cn=orcladmin" password="CLxKPM04EzA=" encrypted="true">
    <pool initsize="2" maxsize="25" prefsize="10" timeout="300000"/>
    </connection>
    </provider>
    </BPMIdentityServiceConfig>
    2)[oracle@fr101sv0226 orabpel]$ more ./system/appserver/oc4j/j2ee/home/config/jazn.xml
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="LDAP" location="ldap://fr101sv0226.corp.tpnet.intra:389">
    <property name="ldap.cache.session.enable" value="false"/>
    <property name="ldap.cache.realm.enable" value="false"/>
    <property name="ldap.user" value="cn=orcladmin"/>
    <property name="ldap.password" value="{903}q/BL01wZ0UsS9H+PIN25ih4tlPcSWaLm"/>
    <property name="ldap.cache.policy.enable" value="false"/>
    </jazn>
    (password value was "!password"
    3)oracle@fr101sv0226 orabpel]$ more ./system/appserver/oc4j/j2ee/home/application-deployments/hw_services/orion-application.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application
    -9_04.dtd">
    <orion-application deployment-version="10.1.2.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
    <ejb-module remote="false" path="hw_services.war" />
    <web-module id="testconnection" path="testconnection.war" />
    <web-module id="deploy" path="deploy.war" />
    <web-module id="worklistxpress" path="worklistxpress.war" />
    <web-module id="hw_services" path="hw_services.war" />
    <persistence path="persistence" />
    <principals path="principals.xml" />
    <!--jazn provider="XML" location="jazn-data.xml" /-->
    <jazn provider="LDAP" location="ldap://fr101sv0226.corp.tpnet.intra:389" >
    <property name="ldap.cache.session.enable" value="false" />
    <property name="ldap.cache.realm.enable" value="false" />
    <property name="ldap.user" value="cn=orcladmin" />
    <property name="ldap.password" value="!sv0226" />
    <property name="ldap.cache.policy.enable" value="false" />
    </jazn>
    (the password has not beend encrypted for this file???)
    Please Help....
    Thanks
    JO

    Hi JO,
    Can you confirm the following:
    That the 10.1.2.0.0 Application Server instance to which you installed BPEL was configured with the same Oracle Internet Directory that is used by Content Services (you would have had an option during AS install to specify OID integration - aka Identity Management access).
    Note - that the OID Server must also be running on both SSL and non SSL Ports.
    The bpel integration documentation has been revised since the 10.1.1 release.
    As per the OC4J J2EE Security Guide, one should not need to specify full OID jazn provider information should the IAS instance be associated with Identity Management.
    Thus, you should now be able to set the following revised values in the various configuration files:
    $ORACLE_HOME/j2ee/OC4J_BPEL/config/jazn.xml
    <jazn provider="LDAP" />
    $ORACLE_HOME/integration/orabpel/system/appserver/oc4j/j2ee/home/config/jazn.xml
    <jazn provider="LDAP" />
    Also, the orion-application.xml file should not need to be changed at all, as it should inherit the jazn information from the container’s default JAZN configuration specified in $ORACLE_HOME/j2ee/OC4J_BPEL/config/jazn.xml
    To summarize:
    1) $ORACLE_HOME/j2ee/OC4J_BPEL/application/deployments/hw_services/orion-application.xml should not need to be modified.
    2) $ORACLE_HOME/j2ee/OC4J_BPEL/config/jazn.xml and $ORACLE_HOME/integration/orabpel/system/appserver/oc4j/j2ee/home/config/jazn.xml should contain a jazn entry <jazn provider=”LDAP”/>
    The steps for configuring Identity Service Provider (is_config.xml) are correct. However it should not noted that due to limitations with BPEL’s OIDIdentityService and OIDProvider classes, there is no way of setting up ssl connectivity in is_config.xml – this however has no effect on the workflows.
    thanks,
    Matt

  • Java.lang.InstantiationException: Error communicating with server:

    Hello everybody, I am an easy Helloworld application, the deploy is fine, but when I execute the client it appears the next error:
    java.lang.InstantiationException: Error communicating with server: Lookup error:
    java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect; nested exception
    is:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: C
    onnection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    at com.evermind.server.ApplicationClientContext.createContext(Applicatio
    nClientContext.java:300)
    at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
    Context(ApplicationClientInitialContextFactory.java:190)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at hello.HelloClient.main(HelloClient.java:33)
    NamingException: Error reading application-client descriptor: Error communicatin
    g with server: Lookup error: java.net.ConnectException: Connection refused: conn
    ect; nested exception is:
    java.net.ConnectException: Connection refused: connect; nested exception
    is:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: C
    onnection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    This is my application client:
    // HelloClient.java
    package hello;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import java.io.*;
    import java.util.*;
    import java.rmi.RemoteException;
    * A simple client for accessing an EJB.
    public class HelloClient
    public static void main(String[] args)
    System.out.println("client started...");
    try {
    // Initial context properties are set in the jndi.properties file
         Hashtable env = new Hashtable();
         env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
         env.put(Context.PROVIDER_URL, "ormi://ecd11107.eadscasa.casa.corp:23791/helloworld");
         env.put(Context.SECURITY_PRINCIPAL, "admin");
         env.put(Context.SECURITY_CREDENTIALS, "123");
         Context context = new InitialContext(env);
    // This for use with com.evermind.server.rmi.RMIInitialContextFactory
    //Object homeObject = context.lookup("HelloBean");
    // This is for use with com.evermind.server.ApplicationClientInitialContextFactory
    Object homeObject = context.lookup("java:comp/env/Helloworld");
    // Narrow the reference to HelloHome.
    HelloHome home =
         (HelloHome) PortableRemoteObject.narrow(homeObject, HelloHome.class);
         System.out.println("hello home");
    // Create remote object and narrow the reference to Hello.
    Hello remote =
         (Hello) PortableRemoteObject.narrow(home.create(), Hello.class);
    System.out.println(remote.sayHello("James Earl"));
    } catch(NamingException e) {
    System.err.println("NamingException: " + e.getMessage());
    } catch(RemoteException e) {
    System.err.println("RemoteException: " + e.getMessage());
    } catch(CreateException e) {
    System.err.println("FinderException: " + e.getMessage());
    Can somebody helps me ???

    Thank you, but don�t work well yet. I checked the files orion-application.xml & principals.xml in the directory C:\servOracle\oracle\j2ee\home\application-deployments\helloworld but the result is the same, when I run the client the next error appears:
    NamingException: Lookup error: javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details; nested exception is:
    javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details
    This is my orion-application.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <orion-application deployment-version="9.0.4.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
         <ejb-module remote="false" path="helloworld-ejb.jar" />
         <web-module id="helloworld-web" path="helloworld-web.war" />
         <client-module path="helloworld-client" deployment-time="fce4439997" auto-start="false" />
         <persistence path="persistence" />
         <principals path="principals.xml" />
         <jazn provider="XML" location="jazn-data.xml" />
         <log>
              <file path="application.log" />
         </log>
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping name="<jndi-user-role>">
                             <group name="users" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping name="<jndi-user-role>">
                             <group name="users" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    </orion-application>
    And this is my principals.xml
    <?xml version="1.0"?>
    <!DOCTYPE principals PUBLIC "//ORACLE//DTD OC4J Principals 9.04//EN" "http://xmlns.oracle.com/ias/dtds/principals-9_04.dtd">
    <principals>
         <groups>
              <group name="users">
                   <description>users</description>
                   <permission name="rmi:login" />
              </group>
              <group name="guests">
                   <description>guests</description>
              </group>
              <group name="administrators">
                   <description>administrators</description>
                   <permission name="administration" />
              </group>
         </groups>
         <user username="admin" password="ADMIN">
              <description>The default administrator</description>
              <group-membership group="administrators" />
              <group-membership group="guests" />
              <group-membership group="users" />
         </user>
         <user username="SCOTT" password="TIGER">
              <description>no description</description>
              <group-membership group="users" />
              <group-membership group="administrators" />
         </user>
    </principals>
    Thanks in advance, please help me....

  • BPEL PM 10.1.2.0.2 Midtier Install failing. ORABPEL Schema in Infra

    Hi,
    On my laptop I have installed OracleAS 10.1.2.0.2. Then I installed a Midtier version of BPEL10.1.2.0.2 and installed the ORABPEL Schema in InfraStructure as the installer gave options Infrastructure, Database, other Database so I selected Infrastructure at the end of the installation I got the following error:
    Configuration assistant "Oracle BPEL Process Manager Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "Oracle BPEL Process Manager OID Configuration Assistant":
    Install Configuration
    Install Type: ConfigureOID
    Oracle Home: C:\Oracle_Software\Portal
    JDK Home: C:\Oracle_Software\Portal\jdk
    Proxy Required: false
    Database Vendor: oracle
    OID Host: localhost
    OID Port: 389
    OID Realm: localhost
    OID Seed: seedAllUsers
    Admin User: orcladmin
    Seeding users/roles in OID realm : localhost...
    Buildfile: bpminstall.xml
    seed-oid:
    init:
    seed-oid:
    Seeding system users/roles into OID ...
    Migration of LDIF data completed. All the entries are successfully migrated
    Seeding demo users/roles into OID ...
    Migration of LDIF data completed. All the entries are successfully migrated
    BUILD SUCCESSFUL
    Total time: 6 seconds
    Exit: 0
    Configuring OID as LDAP based JAZN provider ...
    ERROR: Failed to update C:\Oracle_Software\Portal\j2ee\OC4J_BPEL\application-deployments\hw_services\orion-application.xml
    java.net.UnknownHostException: xmlns.oracle.com
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
         at java.net.URL.openStream(URL.java:913)
         at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2292)
         at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:266)
         at oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(NonValidatingParser.java:540)
         at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingParser.java:465)
         at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:298)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:277)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:268)
         at oracle.tip.install.util.XMLUtil.loadDocument(XMLUtil.java:212)
         at oracle.tip.install.tasks.ConfigureOID.configureJaznProvider(ConfigureOID.java:288)
         at oracle.tip.install.tasks.ConfigureOID.install(ConfigureOID.java:130)
         at oracle.tip.install.BPMInstaller.runInstaller(BPMInstaller.java:140)
         at oracle.tip.install.BPMInstaller.main(BPMInstaller.java:77)
    ERROR: Failed while configuring JAZN provider in orion-application.xml.
    Configuration assistant "Oracle BPEL Process Manager OID Configuration Assistant" was canceled.I completed the install but when going to BPELConsole the Domain: field is empty i.e. there is no default[] domain showing so I created a new Domain. To test if all works fine I deployed a very simple process but when invoking I don't get anything i.e. no flow so checking the log file I see the followig error:
    <2006-03-23 23:41:29,856> <ERROR> <TESTDOMAIN.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": The XML data is invalid.
    The XML data is invalid; the reason is  "null Nested exception: null".
    Please verify xml data.
    ORABPEL-09207
    The XML data is invalid.
    The XML data is invalid; the reason is  "null Nested exception: null".
    Please verify xml data.
         at com.collaxa.cube.xml.dom.DOMUtil.readBinaryRootElement(DOMUtil.java:319)
         at com.collaxa.cube.xml.dom.DOMUtil.convertToBinaryElement(DOMUtil.java:2465)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.adjustMessage(DeliveryHelper.java:626)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.adjustMessage(DeliveryHelper.java:386)
         at com.collaxa.cube.engine.delivery.DeliveryService.adjustMessage(DeliveryService.java:945)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:491)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
         at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
         at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    <2006-03-23 23:41:29,856> <ERROR> <TESTDOMAIN.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
    ORABPEL-09207
    The XML data is invalid.
    The XML data is invalid; the reason is  "null Nested exception: null".
    Please verify xml data.
         at com.collaxa.cube.xml.dom.DOMUtil.readBinaryRootElement(DOMUtil.java:319)
         at com.collaxa.cube.xml.dom.DOMUtil.convertToBinaryElement(DOMUtil.java:2465)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.adjustMessage(DeliveryHelper.java:626)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.adjustMessage(DeliveryHelper.java:386)
         at com.collaxa.cube.engine.delivery.DeliveryService.adjustMessage(DeliveryService.java:945)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:491)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
         at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
         at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    <2006-03-23 23:41:29,856> <ERROR> <TESTDOMAIN.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: The XML data is invalid.
    The XML data is invalid; the reason is  "null Nested exception: null".
    Please verify xml data.
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: The XML data is invalid.
    The XML data is invalid; the reason is  "null Nested exception: null".
    Please verify xml data.
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:152)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
         at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    <2006-03-23 23:42:10,855> <ERROR> <TESTDOMAIN.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "finder": Instance not found in datasource.
    The process domain was unable to fetch the instance with key "11d1def534ea1be0:1829e6f:10a2a7f05e7:-7fea" from the datasource.
    Please check that the instance key "11d1def534ea1be0:1829e6f:10a2a7f05e7:-7fea" refers to a valid instance that has been started and not removed from the process domain.
    ORABPEL-02152
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "11d1def534ea1be0:1829e6f:10a2a7f05e7:-7fea" from the datasource.
    Please check that the instance key "11d1def534ea1be0:1829e6f:10a2a7f05e7:-7fea" refers to a valid instance that has been started and not removed from the process domain.
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:314)
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:262)
         at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:235)
         at com.collaxa.cube.ejb.impl.FinderBean.lookupInstanceByConversationId(FinderBean.java:177)
         at IFinderBean_StatelessSessionBeanWrapper42.lookupInstanceByConversationId(IFinderBean_StatelessSessionBeanWrapper42.java:669)
         at com.oracle.bpel.client.Locator.lookupInstance(Locator.java:420)
         at _displayInstance._jspService(_displayInstance.java:111)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)Can someone help me:
    1. How to successfully install the BPEL PM in Midtier with ORABPEL Schema installed under Infrastructure. Is there anything else I have to do to make a successful install. As I followed the options provided by the install wizard.
    2. Why the OID onfiguration is failing and why the default domain doesn't showup
    3. What is the problem that none of the processes deployed work.
    Any help is really appreciated. Thanks

    there are several threads around with this issue, and a bug is filed (5028269)
    workaround
    @ in orion-application.xml change from
    @ <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime
    @ 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    @ to
    @ <!--DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime
    @ 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd"-->
    @ where 2 dashes are added before and after the entry to comment it out
    @ and press retry button the installer screen.
    or refer to this note
    @ Note 357023.1 BPEL INSTALL FAILS DURING OID CONFIGURATION ASSISTANT

  • How to configure jazn-data.xml for two realms?

    Hi,
    in my test application a JSP page is secured with <auth-method>BASIC</auth-method>.
    I use the jazn-data.xml configurtion in the Embedded OC4J in JDeveloper 10.1.2.
    With the standard configuration of jazn-data.xml I can sign in with user admin/welcome without any problems.
    In this case only the jazn.com realm exists.
    If I configure a second realm over the JDeveloper menu "Tools -> Embedded OC4J Server Preferences ..." then I can´t sign in any more.
    The new realm domain.com have some users in the group myusers. In the orion-web.xml I add the new group in the role-mapping.
    What is the problem? I can´t find informations in the documentation.
    Oracle® Application Server Containers for J2EE
    Security Guide
    10g Release 2 (10.1.2)
    B14013-02
    Thanks and best regards,
    Tobias
    orion-web.xml
    <orion-web-app servlet-webdir="/servlets/">
    <security-role-mapping impliesAll="false" name="user">
    <group name="jazn.com/users"/>
    <group name="domain.com/myusers"/>
    </security-role-mapping>
    </orion-web-app>
    web.xml
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>TestApp</web-resource-name>
    <url-pattern>*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>user</role-name>
    </auth-constraint>
    </security-constraint>
    <security-role>
    <role-name>user</role-name>
    </security-role>
    </web-app>

    Hi,
    I switched my above example from jazn-data.xml to LDAP and deployed this in iAS.
    In the OID are two realms configured, realm_1 and realm_2 and some users for each.
    But I can only access my JSP with users of realm_1 or realm_2 and not
    simultaneous users of both realms. That´s dependents on the configured "Default
    realm" of the JAZN LDAP User Manager in the EAR.
    If I set "Default realm" = realm_1 in the enterprise manager of the iAS then
    only members of realm_1 can access the JSP and vice versa for realm_2.
    I packaged my above example as EAR and configured the default generated
    orion-application.xml in the enterpise manager of the iAS.
    orion-application.xml
    <?xml version = '1.0'?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime
    9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <orion-application deployment-version="10.1.2.0.2"
    default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
    <web-module id="webapp" path="webapp.war"/>
    <persistence path="persistence"/>
    <principals path="principals.xml"/>
    <jazn provider="LDAP">
    <property name="ldap.user" value="cn=orcladmin"/>
    <property name="ldap.password" value="!ias_admin10g"/>
    </jazn>
    <log>
    <file path="application.log"/>
    </log>
    <namespace-access>
    <read-access>
    <namespace-resource root="">
    <security-role-mapping>
    <group name="jazn.com/administrators"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    <write-access>
    <namespace-resource root="">
    <security-role-mapping>
    <group name="jazn.com/administrators"/>
    </security-role-mapping>
    </namespace-resource>
    </write-access>
    </namespace-access>
    </orion-application>
    orion-web.xml
    <orion-web-app servlet-webdir="/servlets/">
    <security-role-mapping impliesAll="false" name="user">
    <group name="realm_1/users"/>
    <group name="realm_2/myusers"/>
    </security-role-mapping>
    </orion-web-app>
    What do I have to configure to get access to the JSP with both realms?
    Best regards,
    Tobias

  • Oracleoms10gASControl windows service is not starting 10.2.0.5

    Hi
    I am having an issue with my Grid Control installation.
    the Oracleoms10gASControl service will not start
    when checking the windows event log I can see the following error:
    An error occurred while trying to initialize the service.
    this error was not very descriptive so I decided to have a root through the log files to see if I could find any errors there.
    *=====Oracleoms10gASControlsrvc.log=====*
    -------------- [Oracleoms10gASControl] ------------
    EMDROOT=E:\OracleHomes\oms10g
    ORACLE_HOME=E:\OracleHomes\oms10g
    EMDSTATE=E:\OracleHomes\oms10g
    CONSOLE_CFG=iasconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/05/09 17:56:34 Start pending...
    08/05/09 17:56:34 Verifying iasconsole is not started already. Command line "E:\OracleHomes\oms10g\bin\emctl.bat" istatus iasconsole
    08/05/09 17:56:55 iasconsole launch commandline is "E:\OracleHomes\oms10g\bin\emctl.bat" istart iasconsole
    08/05/09 17:56:55 Tracking process launch...
    08/05/09 17:57:31 iasconsole exited with retCode -1073741819.
    08/05/09 17:57:31 Check E:\OracleHomes\oms10g\sysman\log\emiasconsole.nohup for details THIS LOG FILE DOES NOT EXIST?
    -------------- [Oracleoms10gASControl] ------------
    EMDROOT=E:\OracleHomes\oms10g
    ORACLE_HOME=E:\OracleHomes\oms10g
    EMDSTATE=E:\OracleHomes\oms10g
    CONSOLE_CFG=iasconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/06/09 11:05:08 Start pending...
    08/06/09 11:05:08 Verifying iasconsole is not started already. Command line "E:\OracleHomes\oms10g\bin\emctl.bat" istatus iasconsole
    08/06/09 11:05:11 iasconsole may already be running. termStatus=3
    *=====em.nohup=====*
    --- Standalone agent
    ----- Wed Aug 5 17:48:40 2009::Agent Launched with PID 4572 at time Wed Aug 5 17:48:40 2009 -----
    (pid=4572): starting emagent version 10.1.0.5.0
    09/08/05 17:48:49 log4j:ERROR No appenders could be found for category (oracle.sysman.eml.app.ContextInitializer).
    09/08/05 17:48:49 log4j:ERROR Please initialize the log4j system properly.
    09/08/05 17:48:52 Setting AdminCtroller for ias/ias/administration
    09/08/05 17:48:52 Settng IM/URLGenerator for Administration
    2985 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : enUS
    2985 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _de
    3000 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _es
    3000 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _fr
    3000 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _ja
    3000 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _ko
    3000 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : ptBR
    3016 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : zhCN
    3016 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : zhTW
    3016 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _it
    3032 [Orion Launcher] INFO oracle.sysman.eml.app.ContextInitializer - Done Successfully
    3141 [Thread-3] DEBUG emSDK.comm - <EMDResponse>
    <GetTIRes>
    <Target TYPE="oracle_ias" NAME="EnterpriseManager0.myserver.mydomain.ie" VERSION="1.0" TYPE_DISPLAY_NAME="Application Server">
         <Property NAME="OracleHome" VALUE="E:\OracleHomes\oms10g"/>
         <Property NAME="host" VALUE="myserver.mydomain.ie"/>
         <Property NAME="StandaloneConsoleURL" VALUE="http://myserver.mydomain.ie:18100/emd/console"/>
         <Property NAME="StatusURL" VALUE="http://myserver.mydomain.ie:7778"/>
         <Property NAME="Version" VALUE="10.1.2.3.0" IS_DYNAMIC="TRUE"/>
         <Property NAME="InstallType" VALUE="core" IS_DYNAMIC="TRUE"/>
         <Property NAME="VersionCategory" VALUE="904plus" IS_DYNAMIC="TRUE"/>
    </Target>
    </GetTIRes>
    </EMDResponse>
    09/08/05 17:48:55 Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) initialized
    09/08/05 17:48:59 Tutalii: E:\OracleHomes\oms10g\dcm\lib\dcm.jar archive
    --- Standalone agent
    ----- Wed Aug 5 17:56:59 2009::Agent Launched with PID 5624 at time Wed Aug 5 17:56:59 2009 -----
    09/08/05 17:57:18 log4j:ERROR No appenders could be found for category (oracle.sysman.eml.app.ContextInitializer).
    09/08/05 17:57:18 log4j:ERROR Please initialize the log4j system properly.
    (pid=5624): starting emagent version 10.1.0.5.0
    09/08/05 17:57:23 Setting AdminCtroller for ias/ias/administration
    09/08/05 17:57:23 Settng IM/URLGenerator for Administration
    6326 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : enUS
    6326 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _de
    6326 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _es
    6326 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _fr
    6345 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _ja
    6345 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _ko
    6345 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : ptBR
    6345 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : zhCN
    6345 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : zhTW
    6345 [Orion Launcher] DEBUG emSDK.util.help - processing config file locale : _it
    6365 [Orion Launcher] INFO oracle.sysman.eml.app.ContextInitializer - Done Successfully
    09/08/05 17:57:29 Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) initialized
    09/08/05 17:58:26 Tutalii: E:\OracleHomes\oms10g\dcm\lib\dcm.jar archive
    ===============
    Strangely even though windows says the service is down. Grid control IS actually working. I can log in as see the AS server control and see that it's all up.
    I am at a loss on what to do.
    I may have to raise a call but I decided to ask here first
    Cheers
    Graham

    We have found a solution to this Issue.
    the notes on meta link are only half correct and it is a combination of 2 fixes that solves this problem
    Solution:
    Frist:
    Create an environment variable called
    EM_OC4J_OPTS=-XX:+ForceTimeHighResolution
    On metalink it says to set the environment varibale like this:
    EM_OC4J_OPTS=-"XX:+ForceTimeHighResolution"
    note the " " . this is wrong, there should be no quotation marks.
    Second:
    modify the file:
    <ORACLE_HOME>\bin\LaunchEMiasconsole.pm
    and change:
    my $OSNAME = $^O;
    my $command = "$JAVA_HOME/bin/java -Xmx256m ";
    if (($OSNAME eq "MSWin32") or ($OSNAME eq "Windows_NT")) {
    $command = $command .
    "-XX:+ForceTimeHighResolution ";
    to:
    my $OSNAME = $^O;
    my $command = "$JAVA_HOME/bin/java -XX:+ForceTimeHighResolution -Xmx256m ";
    if (($OSNAME eq "MSWin32") or ($OSNAME eq "Windows_NT")) {
    $command = $command .
    "-XX:+ForceTimeHighResolution ";
    Save the changes and restart you system
    this solved the issue for us
    Regards
    Graham

  • Worklist application not able to authnticate with OID

    Hi,
    I have configured my BPEL PM (Out side Mid-Tier) with OID by configuring is_config.xml file. But the Worklist is not logging into. I made modification in jazn.xml by adding OID entry and also modified the orion-application.xml of that working application to pointing to OID. Still not able to login.
    Any clue?
    Thanks in Adv
    Venkata

    hi
    It seems to work now. I can't quite figure out what I did differently this time as I just changed the "comment" signs ..
    but here's the files I changed ..
    [ORACLE_HOME]\j2ee\OC4J_BPEL\config\jazn.xml
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <!--
    <jazn provider="XML" location="./jazn-data.xml" default-realm="jazn.com"/>
    <jazn provider="LDAP" location="ldap://myoid.us.oracle.com:389" />
    -->
    <jazn provider="LDAP" location="ldap://[HOST]:8285" default-realm="local">
    <property name="ldap.user" value="cn=orcladmin"/>
    <property name="ldap.password" value="!welcome1"/>
    </jazn>
    [ORACLE_HOME]/quioto1/sw/as/1012/as/j2ee/OC4J_BPEL/application-deployments/hw_services/orion-application.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <orion-application deployment-version="10.1.2.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
         <ejb-module remote="false" path="hw_services.war" />
         <web-module id="testconnection" path="testconnection.war" />
         <web-module id="deploy" path="deploy.war" />
         <web-module id="worklistxpress" path="worklistxpress.war" />
         <web-module id="hw_services" path="hw_services.war" />
         <persistence path="persistence" />
         <principals path="principals.xml" />
    <!--
    <jazn provider="XML" location="jazn-data.xml" />
    -->
         <jazn provider="LDAP" location="ldap://[HOST]:8285" default-realm="local" />
         <log>
              <file path="application.log" />
         </log>
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping name="&lt;jndi-user-role&gt;">
                             <group name="administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping name="&lt;jndi-user-role&gt;">
                             <group name="administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    </orion-application>
    [ORACLE_HOME]/quioto1/sw/as/1012/as/j2ee/OC4J_BPEL/config/application.xml
    <?xml version = '1.0' standalone = 'yes'?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <!-- The global application config that is the parent of all the other
         applications in this server. -->
    <orion-application autocreate-tables="true" default-data-source="jdbc/OracleDS">
    <web-module id="defaultWebApp" path="../../home/default-web-app"/>
    <web-module id="dms" path="../../home/applications/dms.war"/>
    <commit-coordinator>
    <commit-class class="com.evermind.server.OracleTwoPhaseCommitDriver"/>
    <property name="datasource" value="jdbc/OracleDS"/>
    <!-- Username and password are the optional properties
    replace with your commit_co-ordinator_super_user
    <property name="username"
    value="system" />
    <property name="password"
    value="->pwForSystem" />
    -->
    </commit-coordinator>
    <persistence path="../persistence"/>
    <!-- Path to the libraries that are installed on this server.
    These will be accesible for the servlets, EJBs etc -->
    <library path="../applib"/>
    <library path="../../../BC4J/lib"/>
    <!-- FTP SSL Jars - Patch 01 - 4406640 -->
    <library path="/quioto1/sw/as/1012/as\integration\orabpel\system\services\lib\oraclepki.jar"/>
    <library path="/quioto1/sw/as/1012/as\integration\orabpel\system\services\lib\phaos.jar"/>
    <library path="../../../jlib/ojmisc.jar"/>
    <library path="../../../ord/jlib/ordim.jar"/>
    <library path="../../../ord/jlib/ordhttp.jar"/>
    <library path="../../../jlib/jdev-cm.jar"/>
    <library path="../../../lib/dsv2.jar"/>
    <library path="../../../lib/xsu12.jar"/>
    <!-- Path to the taglib directory that is shared
    among different applications. -->
    <library path="../../../j2ee/home/jsp/lib/taglib"/>
    <library path="../../../uix/taglib"/>
    <library path="../../../lib/oraclexsql.jar"/>
    <library path="../../../lib/xsqlserializers.jar"/>
    <!-- Comment the following element to use principals.xml -->
    <library path="/quioto1/sw/as/1012/as/integration/orabpel/system/classes"/><library path="/quioto1/sw/as/1012/as/jdk/lib/tools.jar"/><library path="/quioto1/sw/as/1012/as/adapters/lib/orabpel-adapters.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/orabpel-common.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/orabpel-thirdparty.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/orabpel.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/orabpel-ant.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/ant-launcher_1.6.2.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/ant_1.6.2.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/oracle_http_client.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/commons-fileupload-1.0.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/bpm-infra.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/olite40.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/orawsdl.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/config"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/lib/bpm-services.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/lib/wdk.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/lib/pushapi.jar"/><library path="/quioto1/sw/as/1012/as/jlib/ldap.jar"/><library path="/quioto1/sw/as/1012/as/jlib/ldapjclnt10.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/lib/soap.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/lib/fndctx.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/lib/wfapi.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/system/services/lib/wfjava.jar"/><library path="/quioto1/sw/as/1012/as/integration/orabpel/lib/b2b.jar"/><principals path="./principals.xml"/>
    <log>
    <file path="../log/global-application.log"/>
    <!-- Uncomment this if you want to use ODL logging capabilities
    <odl path="../log/global-application/" max-file-size="1000" max-directory-size="10000"/>
    -->
    </log>
    <jazn provider="XML" location="./jazn-data.xml"/>
    <data-sources path="data-sources.xml"/>
    <connectors path="./oc4j-connectors.xml"/>
    <namespace-access>
    <read-access>
    <namespace-resource root="">
    <security-role-mapping>
    <group name="administrators"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    <write-access>
    <namespace-resource root="">
    <security-role-mapping>
    <group name="administrators"/>
    </security-role-mapping>
    </namespace-resource>
    </write-access>
    </namespace-access>
    <password-manager>
              <jazn provider="XML" location="./jazn-data.xml"/>
    </password-manager>
    </orion-application>
    [ORACLE_HOME]/quioto1/sw/as/1012/as/integration/orabpel/system/services/config/is_config.xml
    <BPMIdentityServiceConfig xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig">
    <provider providerType="JAZN" name="oid">
    <connection url="ldap://[HOST]:8285" binddn="cn=orcladmin" password="welcome1" encrypted="false"/>
    </provider>
    </BPMIdentityServiceConfig>
    Then I restarted the OC4J_BPEL container.
    I tried the following URL:
    http://[HOST]:8220/integration/services/IdentityService?operation=lookupUser
    and could find all my users.
    I then tried logging in from the Worklist Application and that also worked ..
    So good luck
    Jan Willem

  • Wireless Shows as down ? Please advise ..

    Hiya ,
    Since a few days ago , my wireless instance status shows as "Down" in the EM console.
    Upon closer inspection i saw that my Standalone proccess weren't there anymore ie.
    iAS Wireless System Log Directory is e:\Oracle\Mid10g\wireless\logs
    PanamaServer perfmonitor_1001 failed to initialize
    PanamaServer is exiting ...
    iAS Wireless System Log Directory is e:\Oracle\Mid10g\wireless\logs
    PanamaServer messaging_gtwy_1000 failed to initialize
    PanamaServer is exiting ...
    I can access my wireless portal , and all other functions of the webtool... just these two services won't start up - showing the iwreless as down.
    any suggestions ?
    Also - do i need these two services to test the messaging / notification functions of OAS Wireless ?
    regards
    Wynand

    also log.xml reports the following erros when starting up the midtier
    Log Entry: June 9, 2005 10:15:22 AM CAT
         Component          Wireless
         Message Type          Error
         Organization ID          ORACLE
         User ID          SYSTEM
         Host Name          portal
         Host Network Address          10.1.162.117
         Thread ID          Orion Launcher
         Message Level          1
    Message Text
    [Orion Launcher] at oracle.wireless.me.provisioning.ProvisioningLogger._getInstanceId(ProvisioningLogger.java:169)
    -->ProvisioningLogger: Instance Id is null time: 1118304922343

  • Application Deployment and Data Source

    I have a application and I am using data source for connection to database.
    When I deploy to the application server, it is not taking the data source name defined in the apps server. I use the same data source name defined in the apps server.
    Following is my orion-application.xml properties. Could some one tell what could be the problem or am I missing something?
    ******XML Properties*****
    <?xml version = '1.0'?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <orion-application deployment-version="9.0.4.1.0" default-data-source="jdbc/ProdCoreDS" treat-zero-as-null="true">
         <web-module id="HR_W" path="HR_W.war"/>
         <persistence path="persistence"/>
         <principals path="principals.xml"/>
         <jazn provider="XML" location="jazn-data.xml"/>
         <log>
              <file path="application.log"/>
         </log>
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping>
                             <group name="jazn.com/administrators"/>
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping>
                             <group name="jazn.com/administrators"/>
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    </orion-application>

    Sorry, but this can be loads of different reasons, e.g. type-o's, application property files, wrong data-source definition, etc. Can't you get any clues from standard out en standard error logs of the container?

Maybe you are looking for

  • Can I turn off "ease in" and "ease out" on the Ken Burns Effect?

    Keyframing used to be so much more precise in FCP but all keyframes seem to have ease in and out by default. Is there a way to just have a constant speed when panning my images using ken burns (or any other way)? Thanks!

  • Iphone 5s going from 9% battery to 1% battery

    if my iPhone 5s battery is going from 9% and then to 1% is that something i should worry about or not?

  • Issues with apple tv movie rentals

    What is story with apple tv losing your rental if you click menu on the remote? You then have to log out of your itunes account, then log back in to find your rental. Then your rental starts back at the beginning. Cant this work better?

  • Pop up not showing when not file found

    I have a page where i download some files: <af:form id="f1" usesUpload="true"> <af:popup id="pDoc" binding="#{pageFlowScope.GestionDocumentos.pdoc}"> <af:dialog id="dMes" title="Mensaje" type="none"> <af:outputText id="otMes" value="Archivo no encont

  • AppleScript/Automator compatibility 10.5

    I have made a Automator Script in 10.4 Now I have 10.5, is there a way use 10.4 script in Leopard? I have tried to use the script that I have made in 10.4 and it dose not load. What is the compatibly of older Automator files and Leopard?