Re: AQ/Referenceable Objects work with MDB on WebLogic

          Great work! So you don't have to touch any of Oracle's classes, correct?
          Do you have time to document the whole thing and post it here, including the source
          code of all your custom classes?
          Eric Ma
          "Diptanshu Parui" <[email protected]> wrote:
          >
          >Forgot to add an important point.
          >The extended classes have to in the oracle.jms package (not necessarily
          >in the
          >same jar) to extend the Oracle classes. And I have used aqapi13.jar.
          >
          >Dips
          >
          >"Diptanshu Parui" <[email protected]> wrote:
          >>
          >>Hi,
          >>
          >>After days of work on getting to integrate Oracle's AQ with WebLogic
          >>I have managed
          >>to get to a solution without making changes to the Oracle's AQ API.
          >>
          >>Eric Ma had managed to provide a solution about an year back changing
          >>Oracle's
          >>API and making the AQjmsConnection, AQjmsSession, AQjmsQueueConnectionFactory
          >>& AQjmsDestination NOT implement Referenceable. This solution worked
          >>with WebLogic
          >>but meant that this cannot be deployed on Production environment.
          >>
          >>There was a myth that WebLogic's JNDI didn't provide support to Referenceable
          >>objects like Oracle's AQjmsQueueConnectionFactory etc.
          >>
          >>This myth has been broken. Referenceable object CAN be bound and looked
          >>up from
          >>WebLogic's JNDI provided right Factory classes are written and the correct
          >>constructor
          >>for Reference is used in the getReference method of the Referenceable
          >>implementation.
          >>
          >>In case of Oracle's objects, I wrote classes extending AQjmsQueueConnectionFactory
          >>& AQjmsDestination. In the extended classes, I wrote toString method
          >>and set private
          >>String variable.
          >>This string variable is just special character separated concat of all
          >>parameters
          >>used to call the constructor of the extended class.
          >>Then, in the getReference method of the extended class, I used the following
          >>constructor
          >>of Reference.
          >>
          >>return new Reference( DipsAQQueueConnectionFactory.class.getName(),
          >new
          >>StringRefAddr("value",
          >>value), DipsAQConnectionFactory.class.getName(), null);
          >>
          >>DipsAQQueueConnectionFactory is my class extending AQjmsQueueConnectionFactory
          >>and DipsAQConnectionFactory is the factory class for DipsAQQueueConnectionFactory.
          >>The object value passed in the StringRefAddr above is nothing but the
          >>toString
          >>of the extended class which was stored in the private String variable.
          >>In the
          >>factory class, the string is taken out the StringRefAddr and stripped
          >>to get individual
          >>parameters which were separated by special characters. Once, the individual
          >>parameters
          >>are got back, the Factory class instantiates the Referenceable object
          >>and returns
          >>it back.
          >>
          >>Another important point is in the extended class DipsAQQueueConnectionFactory
          >>I wrote this method
          >> public QueueConnection createQueueConnection() throws JMSException
          >>
          >> {
          >>     return createQueueConnection("user","user");
          >> }     
          >>
          >>And then using a startup class I bound the DipsAQQueueConnectionFactory
          >>& DipsAQDestination
          >>Referenceable objects to WLS. The MDB deployed on WLS was made lookup
          >>for the
          >>bound QF & Q and it started reading AQ messages.
          >>
          >>Few other points to note.
          >>I have kept the user & pwd of WLS same as DB.
          >>I have used OCI driver.
          >>
          >>Please feel free to raise further queries/suggestions.
          >>
          >>Dips
          >
          

          Eric,
          This is the relevant part of the config.xml you were looking for.
               <JMSDistributedQueue JNDIName="DQueue1" Name="DQueue1" Targets="ClusterTwo" Template="DQueue1">
                    <JMSDistributedQueueMember JMSQueue="Queue1" Name="DQM1"/>
                    <JMSDistributedQueueMember JMSQueue="Queue2" Name="DQM2"/>
               </JMSDistributedQueue>
               <JMSBridgeDestination
                    ConnectionFactoryJNDIName="AQJMSConnectionFactory" ConnectionURL="t3://ip:port"
                    DestinationJNDIName="AQJMSQueue" Name="AQJMSDest"/>
               <JMSConnectionFactory JNDIName="ConnectionFactory" Name="ConnectionFactory"
                    ServerAffinityEnabled="false" Targets="IAServer,ClusterTwo" XAConnectionFactoryEnabled="true"/>
               <JMSBridgeDestination ConnectionFactoryJNDIName="ConnectionFactory" ConnectionURL="t3://ip:port"
                    DestinationJNDIName="DQueue1" Name="Dest"/>
               <MessagingBridge Name="MB1" QualityOfService="Duplicate-okay"
                    SourceDestination="AQJMSDest" TargetDestination="Dest"
                    Targets="IAServer,MS1 (migratable),MS2 (migratable),ClusterTwo"/>
          No, I haven't used Oracle's OC4J 10g's AQJMS XA TX support classes.
          cheers!
          Dips
          "Eric Ma" <[email protected]> wrote:
          >
          >Dips:
          >
          >Can you post your config.xml here to show how you set up WLS messaging
          >bridges?
          >
          >Also, have you played with OC4J 10g's AQJMS XA TX support classes?
          >
          >Eric
          >
          >"Diptanshu Parui" <[email protected]> wrote:
          >>
          >>The sample code is now available at
          >>http://dev2dev.bea.com/codelibrary/code/startupclass.jsp
          >>
          >>cheers,
          >>Dips
          >>
          >>
          >>"Diptanshu Parui" <[email protected]> wrote:
          >>>
          >>>Yes, no need to touch Oracle's code at all.
          >>>
          >>>I will post the whitepaper/code soon.
          >>>
          >>>
          >>>"Eric Ma" <[email protected]> wrote:
          >>>>
          >>>>Great work! So you don't have to touch any of Oracle's classes, correct?
          >>>>
          >>>>Do you have time to document the whole thing and post it here, including
          >>>>the source
          >>>>code of all your custom classes?
          >>>>
          >>>>Eric Ma
          >>>>
          >>>>
          >>>>"Diptanshu Parui" <[email protected]> wrote:
          >>>>>
          >>>>>Forgot to add an important point.
          >>>>>The extended classes have to in the oracle.jms package (not necessarily
          >>>>>in the
          >>>>>same jar) to extend the Oracle classes. And I have used aqapi13.jar.
          >>>>>
          >>>>>Dips
          >>>>>
          >>>>>"Diptanshu Parui" <[email protected]> wrote:
          >>>>>>
          >>>>>>Hi,
          >>>>>>
          >>>>>>After days of work on getting to integrate Oracle's AQ with WebLogic
          >>>>>>I have managed
          >>>>>>to get to a solution without making changes to the Oracle's AQ API.
          >>>>>>
          >>>>>>Eric Ma had managed to provide a solution about an year back changing
          >>>>>>Oracle's
          >>>>>>API and making the AQjmsConnection, AQjmsSession, AQjmsQueueConnectionFactory
          >>>>>>& AQjmsDestination NOT implement Referenceable. This solution worked
          >>>>>>with WebLogic
          >>>>>>but meant that this cannot be deployed on Production environment.
          >>>>>>
          >>>>>>There was a myth that WebLogic's JNDI didn't provide support to
          >Referenceable
          >>>>>>objects like Oracle's AQjmsQueueConnectionFactory etc.
          >>>>>>
          >>>>>>This myth has been broken. Referenceable object CAN be bound and
          >>looked
          >>>>>>up from
          >>>>>>WebLogic's JNDI provided right Factory classes are written and the
          >>>>correct
          >>>>>>constructor
          >>>>>>for Reference is used in the getReference method of the Referenceable
          >>>>>>implementation.
          >>>>>>
          >>>>>>In case of Oracle's objects, I wrote classes extending AQjmsQueueConnectionFactory
          >>>>>>& AQjmsDestination. In the extended classes, I wrote toString method
          >>>>>>and set private
          >>>>>>String variable.
          >>>>>>This string variable is just special character separated concat
          >of
          >>>>all
          >>>>>>parameters
          >>>>>>used to call the constructor of the extended class.
          >>>>>>Then, in the getReference method of the extended class, I used the
          >>>>following
          >>>>>>constructor
          >>>>>>of Reference.
          >>>>>>
          >>>>>>return new Reference( DipsAQQueueConnectionFactory.class.getName(),
          >>>>>new
          >>>>>>StringRefAddr("value",
          >>>>>>value), DipsAQConnectionFactory.class.getName(), null);
          >>>>>>
          >>>>>>DipsAQQueueConnectionFactory is my class extending AQjmsQueueConnectionFactory
          >>>>>>and DipsAQConnectionFactory is the factory class for DipsAQQueueConnectionFactory.
          >>>>>>The object value passed in the StringRefAddr above is nothing but
          >>>the
          >>>>>>toString
          >>>>>>of the extended class which was stored in the private String variable.
          >>>>>>In the
          >>>>>>factory class, the string is taken out the StringRefAddr and stripped
          >>>>>>to get individual
          >>>>>>parameters which were separated by special characters. Once, the
          >>individual
          >>>>>>parameters
          >>>>>>are got back, the Factory class instantiates the Referenceable object
          >>>>>>and returns
          >>>>>>it back.
          >>>>>>
          >>>>>>Another important point is in the extended class DipsAQQueueConnectionFactory
          >>>>>>I wrote this method
          >>>>>> public QueueConnection createQueueConnection() throws JMSException
          >>>>>>
          >>>>>> {
          >>>>>>     return createQueueConnection("user","user");
          >>>>>> }     
          >>>>>>
          >>>>>>And then using a startup class I bound the DipsAQQueueConnectionFactory
          >>>>>>& DipsAQDestination
          >>>>>>Referenceable objects to WLS. The MDB deployed on WLS was made lookup
          >>>>>>for the
          >>>>>>bound QF & Q and it started reading AQ messages.
          >>>>>>
          >>>>>>Few other points to note.
          >>>>>>I have kept the user & pwd of WLS same as DB.
          >>>>>>I have used OCI driver.
          >>>>>>
          >>>>>>Please feel free to raise further queries/suggestions.
          >>>>>>
          >>>>>>Dips
          >>>>>
          >>>>
          >>>
          >>
          >
          

Similar Messages

  • Can Business Objects work with NoSQL DB?

    hi,
    I'm pretty new to BusinessObjects. Anyways, from reading a little bit, I've noticed that the "Universe Designer" is the tool for modeling the data, and that it works on relational DB. Is that true? can it work only on relational DB? in my project, i have kind of data that cannot be mapped into schemas, therefore i need to work with NoSQL DB.
    Can BusinessObjects support these kind of DBs?
    thanks!
    Ohad.

    Hi Ohad
    Welcome to SCN!
    BusinessObjects can report out of Relational data sources/flat files through the Universe layer (symantic/virtual layer) and OLAP (cube) sources.
    Columnar data, if it can be exposed through "Web Services" can then be consumed in BO tools like Web Intelligence/Xcelsius.
    This forum area, however, is not the right one to discuss on BO tools/technologies. Feel free to post your BO questions at:
    Business Intelligence Solution Architecture
    Hope this helps.
    Best,
    DeepB

  • Do custom objects work with email integration?

    I would like to consider using a custom object for a division of our organization to separately log support tickets (we've run out of available fields in the service request object). Is there any way to use the email integration with custom objects?
    Thanks
    Diana

    According to the Help, only the following records are supported: Account, Contact, Lead, Opportunity, or Service records. The custom record types that we have created do not show up in the Email integration either.

  • Durable Subscription with MDB in Weblogic 7.0

    Hi,
              I am using WLS 7.0 as the JMS Provider and as the EJB Container(no
              clustering). My question is do I need MDB with durable subscription. I
              cannot think of a instance when the container will be down but JMS
              provider is still running if I am using WLS as both container and JMS
              provider.
              One instance i can think of is if the MDB is not deployed (upon a new
              release of our application, for some strange reason) but rest of the
              application is deployed then the producers will produce messages for
              the off-line subscriber.
              If I assume that the above is not likely to happen, can you think of
              any compelling reason for me to use MDB with durable subcription .
              Thanks for your input.
              ssahu
              

    1) The MDB should only specify "durable" if it is receiving from a
              topic. Durable does not apply to queues.
              2) If messages are non-persistent, then you likely don't need durable.
              As these messages don't survive the shutdown...
              3) Making it durable helps with race-conditions during shutdown or
              startup where messages are sent but the MDB isn't up. It also helps
              with the condition where shutdown occurs before the MDB finishes
              processing all of its messages. (So Durable ensures that the
              MDB does not miss a message. It may even help in the non-persistent
              case if is possible that the MDB is temporarily undeployed (by you)
              while the server is up.
              [email protected] wrote:
              > Hi,
              > I am using WLS 7.0 as the JMS Provider and as the EJB Container(no
              > clustering). My question is do I need MDB with durable subscription. I
              > cannot think of a instance when the container will be down but JMS
              > provider is still running if I am using WLS as both container and JMS
              > provider.
              > One instance i can think of is if the MDB is not deployed (upon a new
              > release of our application, for some strange reason) but rest of the
              > application is deployed then the producers will produce messages for
              > the off-line subscriber.
              >
              > If I assume that the above is not likely to happen, can you think of
              > any compelling reason for me to use MDB with durable subcription .
              >
              > Thanks for your input.
              >
              > ssahu
              

  • Problem getting XA Datasources to work with Toplink inside Weblogic

    Hello,
    I am using POJOs inside weblogic 7.1, and I am having some difficulties. Of picked up a jdbc driver called JSQLConnect and it sets up fine from the Weblogic console. This is the only 3rd party XA driver that I have successfully got working inside weblogic.
    I've set up the Weblogic datasource in toplink per the documentation/examples I found. I've included a stack trace of where things blow up. From your source code, it looks like the AbstractSynchronizationListener thinks that the unit of work is not active. Thanks in advance for any assistance. Mike
    UnitOfWork(2416860)--release unit of work
    UnitOfWork(2416860)--JTS#beforeCompletion()
    UnitOfWork(2416860)--JTS#afterCompletion()
    UnitOfWork(2416860)--release unit of work
    ClientSession(2454268)--client released
    <May 14, 2003 3:39:10 PM MDT> <Error> <EJB> <010026> <Exception during commit of transacti
    on 12:591b650d7f28edb9: weblogic.transaction.internal.AppSetRollbackOnlyException
    at weblogic.transaction.internal.TransactionImpl.setRollbackOnly(TransactionImpl.j
    ava:467)
    at oracle.toplink.jts.JTSSynchronizationListener.rollbackGlobalTransaction(Unknown
    Source)
    at oracle.toplink.jts.AbstractSynchronizationListener.beforeCompletion(Unknown Sou
    rce)
    at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.j
    ava:540)
    at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo
    .java:92)
    at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(Ser
    verTransactionImpl.java:1044)
    at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTran
    sactionImpl.java:1581)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransa
    ctionImpl.java:237)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImp
    l.java:208)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
    at com.icat.server.infrastructure.legacyint.LegacyIntegrationServiceImpl_eayqrf_EO
    Impl.transferLegacyData(LegacyIntegrationServiceImpl_eayqrf_EOImpl.java:56)
    at com.icat.common.infrastructure.legacyint.LegacyIntegrationTask.execute(LegacyIn
    tegrationTask.java:165)
    at com.icat.common.infrastructure.scheduling.ScheduledTask.executeMyTask(Scheduled
    Task.java:142)
    at com.icat.common.infrastructure.scheduling.ScheduledTask.run(ScheduledTask.java:
    297)
    at java.lang.Thread.run(Thread.java:479)

    Hi Michael,
    I will have to set things up again to try it. I've been in the middle of doing other development and haven't gotten back to the XA Driver attempts again. Can you send me an email where I can fire a note to you directly once I try this again? I will probably need to send you code, etc. Mine is [email protected]
    As for your questions, let me address them below:
    How are you using XA (e.g. are you talking to two different databases)? Are you using TopLink any differently (e.g. using SessionBroker)? Is your transaction being propagated to multiple servers? What exactly has changed, or have you simply started using a different driver/data source? (Sorry for all the questions, just want to try to hone in on what components we are looking at).
    BTW, do transactions ever get started by the client and span multiple server requests?
    1) Yep, I am reading from one database, and writing to the other. So its not a two phase commit right now, but we will have one in the future.
    2) I'm not using your session broker. We have a framework, where we can get a client session from a named server session. This works pretty well for us. Right now, we are using the same framework to access two databases. I'm just not setting external tx control, session synchornization,etc
    3) I can use the third party jdbc driver in a non-XA transaction. So it doesn't seem to be a property of the JDBC driver alone. It seems to be when I attempt to set things up in XA mode.
    4) Transactions are controlled at the Session Bean level. They only last for one bean request.
    If you have any cycles, I was wondering if you could try getting the XA transaction to work in your environment? I was using Net-Direct's driver, along with Weblogic 7.1 sp1, and Toplink 9.0.3.3 (Build 430). An example of how you got things to work may point out what is different about my useage....

  • Issue with MDB (jms Queue) in weblogic 8.1

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

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

  • IP address restrictions not working with bea weblogic plugin

    We want to implement IP address restrictions via the Sun Java One Web Server admin tool for our application. We are using the Sun Java One Web Server to proxy requests via the Bea Weblogic plugin. However, we cannot get IP address restrictions to work because of the leading asterisk in the following NSAPI entry for PPATH of obj.conf :
    <Object name="weblogic" ppath="*/cmcsr/*"> Service fn="wl_proxy" WebLogicCluster="10.156.20.11:9010,\
    10.156.20.12:9010,10.156.20.13:9010" DynamicServerList="OFF"
    </Object>
    Has anyone gotten IP restrictions to work with the bea Weblogic NSAPI plugin?

    I'm not sure what you're asking, but each Service directive should be on its own line. It is an error to have both a <Client> tag and Service directive on a single line.

  • Is there a problem with JMS and Weblogic?

              Hi,
              I am using JMS and Weblogic (Not Message Driven bean).
              My problem is that after some time my listeners disappears.
              I am sending them a message and instead of 6 listeners
              I get only 4 messages.
              So, My question is: Is there any problem working with JMS
              and Weblogic???
              Thanks,
              Tal.
              

    Too little information and a very vague question. Need more info.
              "Tal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Hi,
              > I am using JMS and Weblogic (Not Message Driven bean).
              > My problem is that after some time my listeners disappears.
              > I am sending them a message and instead of 6 listeners
              > I get only 4 messages.
              > So, My question is: Is there any problem working with JMS
              > and Weblogic???
              > Thanks,
              > Tal.
              

  • LR4.1 : "Edit-In" "Open as Smart Object with Photoshop..." feature doesn't work with 32bits

    Hi there,
    I am running LR4.1/CS5/ACR6.7 on a Win7 64bits system.
    The feature "Edit-In" > "Open as Smart Object with Photoshop..." does work Ok with raw files (.NEF).
    However, when i do try to use the same feature with 32 bits .TIFF files (which are output of the LR4.1's "Edit-In" > "Merge to HDR Pro in Photoshop..." other feature), nothing does happen (the Photoshop application windows does open but w.o the image that i've just selected).
    I've used search engines and Adobe online help to see if there was any limit preventing the usage of this feature with 32 bits .TIF files but couldn't see such note.
    Thanks for your help !
    Albert

    Thanks Rikk,
    That did work with a DNG file :-)
    I am working with very huge .TIF files (400MB), so i am wondering if size could be the main issue (although my PC has lots of HW resources).
    I will explore the DNG way, a format which seems anyways to be very promising now with LR4.
    In case anyone has an idea why it doesn't work the .TIF files, please shoot !

  • What is QueryAsAWebSerivces ? and How it works with Business Object XI Rel

    Hi Support,
    We have Business Object XI Rel 2 (Crystal report XI Rel 2, live Office and Excelsius 4.5).  I have taken the course on the SAP Online Learning site. "BU371e - Crystal Xcelsius: Designing Advanced Interactive Presentations.".  In the lesson 6, (see the screen beblow) I found out "QueryAsWebSerives" is very interested product because it allow me to connect  directly to a universe which has not been installed into my PC.  
    Could you please explain to me how to get "QueryAsWebServices" tool and How it supports or works with Bussiness Objects XI Rel 2?  What are the requirements for it?
    How can I see you the attachment screen?
    Thank in advance,
    Regards,
    Maria Pham
    Maria Pham / Corporate Reporting Analyst
    Frankston City Council u2014 Information Services
    Civic Centre, Corner Young & Davey Streets, Frankston, Vic, 3199
    Phone: 03 9784 1991   Fax: 03 9784 1833

    Hi
    QAAWS is part of the Productivity Pack of BOBJ XI R2. Productivity Pack comes for free and is compatible with the Service PAck 2 or higher.
    You can download the productivity pack from [here|service.sap.com/installations ]
    If you want to know how to use QAAWS please refer to the [Query as a Web Service Guide|http://help.sap.com/businessobject/product_guides/xir2PP/en/qaaws.pdf]
    Hope this helps!!!
    Regards
    Sourashree

  • Embedded PDF object .postMessage doesn't work with Reader DC on IE

    In our application, we have PDFs embedded in the browser with an object tag such as this:
    <object id="pdfObject" width="100%" height="100%" type="application/pdf" data="#{url}"></object>
    There are HTML/Javascript controls on the page which communicate with the PDF via this syntax:
    document.getElementById("pdfObject").postMessage([arg])
    This has been working great with Adobe Reader versions 10+.  It actually still works with Reader DC on Firefox.  However, there is a problem with Adobe Reader DC on Internet Explorer version 11.
    All I can tell so far is the "postMessage" function isn't appearing.  Using IE dev tools:
    document.getElementById("pdfObject").postMessage
    Object doesn't support this property or method
    Any help with this would be amazing.  It is a critical part of our application here.

    My application has two-way communication between browser and embedded PDF.  Basically a user clicks a button on the browser and via Javascript the embedded PDF form is submitted.  Everything was working before the update to Reader DC, but now it fails in Internet Explorer, but not in Firefox (or Chrome, if the Reader plugin isn't disabled entirely by their new default disable-NPAPI plugin policy...)
    I originally was troubleshooting communication from the browser to the embedded PDF, which is done according to the Javascript for Acrobat API reference (page 358?), in the browser, as follows:  document.getElementById('pdfObject').postMessage([args])
    Whatever is happening, postMessage is not a valid property or method of the PDF object
    Then I found this other thread:
    Adobe Reader DC: hostContainer not worked on IE
    I confirmed that within the embedded PDF, when setting up communication from the PDF to the browser, it is not able to register the hostContainer (again, on IE only)
    I have this script on initialization within the PDF:
    <---
    this.disclosed = true;
    if (this.hostContainer) this.hostContainer.messageHandler.onMessage = onMessageFunc
    this.hostContainer.messageHandler.onDisclose = function() { return true; }; }
    ---->
    Problem is this.hostContainer is null.
    The main point here is all of this was definitely working before updating to Reader DC, and is still working with DC on Firefox, but not on IE.
    To complicate things further, I have now uninstalled DC and downgraded to Reader 11.0.10.32, and am having a new bug, this time hostContainer is detected and communication to and from the PDF works again, but the submitForm action is failing with "Unable to open URL to submit this form" and "External undefined: exec".  Testing the exact same version and script with Firefox works fine

  • Business Objects 3.1 reports are not working with IE 10.

    Hi,
    Recently I upgraded my internet explorer to IE10.. Since then business objects 3.1 reports are not opening in IE10.0
    Getting error message "webpage can't be found".
    I am not sure whether BO 3.1 reports work with IE 10.0 or not.
    Please advise
    Thanks
    Sat

    Did you try with other browsers ?
    IE 10 (Compatibility View display mode) with Oracle Java 6 / Oracle Java 7 is supported for BOXI3.1 SP6.
    Please check the PAM for details of your SP level.

  • XPath query works with CLOB but not with object relational

    hi all
    i have the following queries,the XQuery work with all, but XPath queries work with XMLType CLOB and Binary XML, but they do not work with XMLType as Object relational,
    select extract (object_value,'movies/directorfilms/films/film [studios/studio = "Gaumont"]')
    from xorm;
    select extract (object_value,'movies/directorfilms[director/dirname = "L.Cohen"]/films/film[position()=2]/t')
    from xorm;
    they shows this message
    ORA-00932: inconsistent datatypes: expectd SYSTEM.name683_COLL got CHAR
    thanks

    Hi Marco
    fisrt here is my RO
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    SCHEMAURL=>'http://......../ORMovies.xsd',
    SCHEMADOC=>bfilename('DB','Movies.xsd'),
    LOCAL =>false,
    GENTYPES=>true,
    GENTABLES=>FALSE,
    CSID=>nls_charset_id('AL32UTF8'));
    END;
    create table XORM of xmltype
    xmltype store as object relational
    XMLSCHEMA "http://......../ORMovies.xsd"
    ELEMENT "movies";
    INSERT INTO XORM
    VALUES(XMLType(BFILENAME('DB','ORMovies.xml'),nls_charset_id('AL32UTF8')));
    here the XQuery format that work fine with the OR
    A/D
    select XMLQuery ('for $a in movies/directorfilms/films/film
              where $a/studios/studio = "Gaumont"
              return $a'
         passing object_value
         returning CONTENT)"TitleX"
    from xorm;
    child element query
    select XMLQuery ('for $a in movies/directorfilms/director[dirname = "Feyder"]
              let $b:=$a/../films/film[position()=2]
              return $b/t'
         passing object_value
         returning CONTENT)"TitleX"
    from xorm;
    here is the XPath format which doesn't work
    select extract (object_value,'movies/directorfilms/films/film [studios/studio = "Gaumont"]')
    from xorm;
    select extract (object_value,'movies/directorfilms[director/dirname = "Feyder"]/films/film[position()=2]/t')
    from xorm;
    by the way all queries work fine with the CLOB or Binary XML
    many thanx Marco

  • Working with smart objects

    I've got a menu I built in Photoshop that uses smart objects to warp and give perspective to both button text as well as pictures in the menu. I built the menu at 300dpi, then resized it to 72 for working in Encore.
    That 72dpi menu then became a template for other menus in the project.
    Encore does not support smart objects, it converts them to shape layers. Since I had done additional design work on the menu in Encore/Photoshop, I saved a copy of it to be a template. I then opened my original of this file and dragged the smart objects back into it for my template, so that I could create new buttons, etc. for other menus.
    I've since discovered that if I create a NEW smart object in that template, the smart object is at 72 dpi. However, if I modify an existing smart object, it's still at 300 dpi, even though the file is 72 dpi. Am I making any sense? So when I double click one of the original smart objects to, for example, change the text to create a new button, I get a large, 300dpi file to work with. The result is that the original smart objects are creating much sharper, cleaner text, and all my new smart objects are creating soft text. I've also discovered if I open one of the new smart objects and change it's size to 300dpi before creating the text layer, I can save it that way and the text is sharper and cleaner.
    I'm not sure what my question is... I guess I'm just sharing :-), but also wondering if my workaround has a downside that I don't see.
    The logical question you might be thinking is why don't I just build all the menus in 300 and then resize, and the answer is that I did a lot more work on the template after I had resized it for Encore and don't want to go back and redo all of that on the original file.
    Julie

    I'll test it without the warping and see what I learn and let you know, but I suspect I won't see a difference and you're right that warping the text may be more dependent on resolution.
    I just created a 72 dpi file with 2 identical smart objects, except one is 72dpi and the other is 300dpi. I then put the same text with the same layer style on each. There is a difference in the appearance, with the 300dpi smart object yielding cleaner, sharper looking text. When I remove the layer style on both so they're flat, no drop shadow or bevel, there is still a very discernible difference in sharpness. Also, when I export the images to a NTSC monitor, the difference is apparent.
    So it appears if you plan to warp text in a 72dpi graphic, you'll get better results if you increase the dpi of the smart object.

  • Working with a smart object

    I just watched a tutorial for the new blurs in Photoshop CS6.  They instructed to convert the pic to a smart object.  But when I did that the iris, field and tilt shift blurs were not being allowed to be applied.  Any suggestions as I am not that familiar with working with smart objects

    DLW Photography NYC wrote:
    I have 13.0.1 
    when I check for update it I get extension manager update 6.0.5 as the available update
    The feature you want isn't in 13.0.1. You need Creative Cloud Photoshop 13.1.2 for Blur Gallery as Smart Filter attached to Smart Object.
    http://helpx.adobe.com/photoshop/kb/new-system-requirements-photoshop-131.html
    If you have Windows then you need Windows 7 or 8 for Ps 13.1.2. What is your OS?

Maybe you are looking for

  • JTextPane, Columns and Formatting

    Hi All, I have a small problem with creating columns in a JTextPane and setting the text for that desired Column. I am trying to achieve a layout similar to the following: Title - Centered Information set 1 Information set 2 So the idea is that I hav

  • How to import forms and reports in copa

    Dear SAP Gurus, how to import the forms and reprots given by standard sap to new opertaing concern. thanks in advance regards, siva

  • How do I turn off font preview in Photoshop CC2014

    Though I can see that the font preview on the fonts selector could be useful, I dislike that is has been forced upon us. It slows things down, and I don't need to preview the fonts. Is there any way to turn this off please?

  • Part of screen black

    Hard to describe but part of my iphone 5 screen is black (like a black bar covering 1/3 of screen when I turn it on..not when viewing apps pages) also on camera screen so that pictures have the top 1/3 cut off? Any ideas?..Thanks

  • Flash programming using Java!

    I found there are tools to compile .net applications to SWF movies that can be run by Flash. Are there any similar tools for Java, which can compile Java programs into SWF files? Looking for a way to write my Flash movies using Java... Thanks :)