JMS with weblogic and jdeveloper IDE

HI,
I am a newbie to jms..could anyone provide me a sample tutorial to test and deploy a sample jms application using weblogic and jdeveloper IDE.
Thanks,
Amy
Edited by: 838667 on Feb 22, 2011 2:50 AM

...I have a strong feeling this is a TIBCO-related issue where you're not doing the lookup the way TIBCO likes.

Similar Messages

  • Hibernate OR EclipseLink...Which is best with Weblogic and Oracle DB?

    Hi All,
    In my company, we are using Oracle DB and Weblogic application server. So in the process to upgrade or switch to new ORM, we shortlisted two options - Hibernate and EclipseLink.
    I gathered following summary regarding both ORMs -
    Hibernate:
    1.     When you need to train people, like we are going to do next week – most of the companies have Hibernate experts.
    2.     When you hire new developers, most of them come with specific Hibernate experience.
    3.     When you need to consult with experts, both in the internet or consultants, you have LOTS of options. Endless forums and communities all regarding Hibernate.
    4.     Hibernate is an open source which has a huge community. This means that it will be improved all the time and will push the ORM market forward.
    5.     Hibernate is an open source which means you have the code to handle, and in case needed, fit it to your needs.
    6.     There are lots of plugins to Hibernate, such as validations tool, audit tools, etc. These becomes standard as well and dismiss you from impl. things yourself.
    7.     One most important thing with ORM tool, is to configure it according to your application’s needs. Usually the default setting doesn’t fit to your needs.
    For that sake, when the market has a huge experience with the tool’s configuration, and lots of experts (see point 1 and 3) – most of chances you will find similar cases and
    lots of knowledge about how to configure the tool and thus – your application.
    EclipseLink:
    1. Fully supported by Oracle. Hibernate no. In case of pb, it could be cumbersome to prove that it is a pure Weblogic one. Concretely, we will have to prove it (waste of time and complexity).
    2. Eclipse link is developed by Oracle and the preferred ORM in the Weblogic /Oracle DB world.
    3. Even if at a certain time EclipseLink was a bit late compared to Hibernate (feature), EclipseLink evolved very fast and we can consider now that they close the gap.
    4. No additional fee as soon as you have Weblogic license. You will need to pays additional fee if you want some professional support on Hibernate.
    5. We are currently relying on Hibernate for our legacy offer and are facing pb in second level cache (JGroups). Today, we are riding off this part!. Consequences are limitation in clustering approach (perf)
    6. On EclipseLink side we do succeed to manage first and second level cache in a clustering approach.
    7. Indeed Hibernate is open source, so you can imagine handling it. In reality, the code is so complex that it is nearly impossible to modify it. Moreover as it is LGPL, you need to feedback all the modified sources to the community systematically.
    8. All tests performed by Oracle concerning Weblogic are using EclipseLink. Moreover, Oracle says that some specific optimizations are done to manage Oracle DB.
    9. Hibernate comes from JBoss community.
    Right now we are preferring Hibernate but there are concerns/reasons like EclipseLink developed by Oracle and preferred ORM in Webogic/ Oracle DB world (compatibility of ORM with DB and App. server), support comparison with both ORM, which are preventing to finalize the decision.
    Please help me with you views and opinions and share you experience with us so that we can make a perfect decision.
    If you want you can also reply to me @ [email protected].
    Thanks.

    The way the ORMs are designed, integration with application servers are relatively simple, and all provides the same features. Also since WebLogic have been around for a while, all ORMs are all well tested in this configuration.
    Hibernate has lot more users, and is likely very often used with Oracle DB, so you can expect not much bug against Oracle DB, maybe even less bug than EclipseLink, which is not much used. EclipseLink does provide support for some esoteric Oracle DB features like hierarchical and flashback queries.
    OpenJPA and DataNucleus are also JPA compliant. It’s likely that Open JPA has a higher user base than EclipseLink, so less unknown bugs.
    Oracle paying support is well known to be a bad joke. It’s a negative return to use this channel, even if they would be free. So in reality, you end up to use the open (free) forum to get support.
    What’s was lacking with Hibernate before is Dynamic Fetch Planning, but they now have some support, see http://opensource.atlassian.com/projects/hibernate/browse/HHH-3414. OpenJPA was the first to implement this must have.
    EclipseLink has query in memory, which can be used, but the API do not help to leverage it, and EclipseLink’s leadership made it clear that they are not going to make it better, instead they want to push Coherence cache.
    Hibernate has an open API for second level cache, which mean you can get out of problem by using another implementation, for example, EHCache seems to be professionally tested, so I would be surprise you find obvious bugs.
    I cannot comment on Hibernate source code quality, but I can tell you that locking mechanism in EclipseLink is used to be very fragile, and many concepts are dispersed over the code base.
    The runtime monitoring of Hibernate have always been great due to the fact that JBoss have always been strong on JMX, EclipseLink has not much usable features on this.
    If I would be you, I would consider OpenJPA or Hibernate instead of EclipseLink, the main reason is that because EclipseLink has a so low user base, I have found lot of obvious bugs in production, like if I was the only user of it. Then, when I submitted bugs to the small development team, which do not encourage user base contribution, they were too busy trying to keep up adding the JPA interfaces on top of their existing proprietary APIs.

  • How to use JMS with tomcat and Axis

    Hello
    I'm new in ii, so i'm still a little bit lost. I have been implementing web services with tomcat and Axis. However, these services are synchronous and I would like that some services were asynchronous.
    I've been reading about the topic and I've found that JMS is a good solution for it. I have already downloaded JMS in my computer but now I don't know what else to do. I've been trying to run the SimpleQueueSender.java example but I get the error:
    JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    But I have attached all .jar from F:\Sun\MessageQueue\lib
    In addition to this, for my first webservices I used the Java2WSDL, WSDL2Java and AdminClient (axis tool) to create my web services bindings, stubs and skeletons and to deploy the web service on the server. Do I have to use them now with JMS? or now the deployment must be performed in a different way?
    Thank you in advanced,

    The error means that you have to specify the type and location of your jndi store. You could create a jndi.properties file and put two properties in it:
    java.naming.provider.url=file\\\:////var/jndi
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    for a file based jndi store. Then you have to make sure your jndi.properties file is in your CLASSPATH. Then you have to use something like imqadmin to create your jndi store and store in it your administrative objects like Queues and QueueConnectionFactories.

  • Developing Enterprise Apps with Weblogic and WebGain-Studio

    Hi everybody,
    Is anybody experienced in developing with Weblogic Server and WebGain-Studio
    What could be a good environment for working with these components ?
    Thanx,
    Markus.

    Thanks for your prompt reply. I have another question. I am very new to Java development.
    In our environment, WebLogic 10.3.6 and JDK1.7 are both 64-bit. However, developers' machine are 32-bit windows. They will have Weblogic server installed locally in their machines for development. Later, the codes will be deployed and run in the 64-bit environment.
    Thus, we are developing java program with 32-bit java and compile/run it with 64-bit java. Is it the right way to do it or do our developers need to use 64-bit windows?
    Edited by: nww on Sep 14, 2012 2:51 PM

  • Debuggin with WebLogic and VisualCafe

    I am developing Java Classes that run on WebLogic 5.1 using VisualCafe.
    Basically, I have a project that generates one jar file that WebLogic points
    to. I have JSP's that use classes in that jar file. I am trying to figure
    out how I can configure WebLogic and/or VisualCafe so that I can step
    through the code running on WebLogic when I call the JSP's. I played around
    with the remote debugging but could not seem to get it working. Any help
    would be appreciated.

    Hi ,
    It seems to be a issue with the environment variable CLASSPATH. To proceed further , Can you tell us the Weblogic and SOA verison which is installed on your machine / Server ? Also get us the value of your environment variables ORACLE_HOME ,  MIDDLEWARE_HOME , CLASSPATH & PATH.
    Thanks
    Lakshman

  • What is the role of J2EE compared with WebLogic and Tomcat?

    Now that J2EE play the role of Web Services Container and Logic Services Container
    What does WebLogic do?and What does Tomcat do?
    Do they collided with each other?

    WebLogic (and WebSphere, JBoss, and Sun ONE) are all J2EE application servers. Each of them has an HTTP server and servlet/JSP engines built-in. They can handle HTML pages, JSPs, EJBs, messaging, transactions, two-phase commit to databases, etc.
    Tomcat is just a servlet/JSP engine with an HTTP server built in. It can handle HTML pages, servlets, and JSPs, but it can't run EJBs for you. If you want to stick EJBs into a servlet or JSP, you'll have to get them from a J2EE app server.
    No, WebLogic is a superset of Tomcat. It has an HTTP server and a servlet/JSP engine, so WebLogic can happily exist without Tomcat.
    If you'd like, you can have both Tomcat and WebLogic. Let Tomcat handle the servlet and JSP requests and leave the EJB enterprise stuff to WebLogic. You might use this arrangement when you'd like to have a Tomcat server running in a DMZ and a WebLogic app server inside the second firewall. Tomcat can then do authentication and forward requests back to WebLogic. - MOD

  • SSI with weblogic and JSP

    Hi All
    I am sorry, if my question sounds irrelevant.
    1. Can we configure weblogic and apache to use server side includes (SSI) ? If yes please let me know how to do so.
    2. Can I have SSI's in my JSP?
    Thanks
    Prashant

    We have used mod_weblogic in apache and added
    Option +Includes
    for the location handled by Weblogic.
    But still the SSI directives are not processed by apache.
    Is there a way for apache to process SSI directives coming from Weblogic?

  • JMS Resource Adapter and JDeveloper 10g

    Hello,
    I an trying to use the OC4J JMS Resource Adapter for WebSphere MQ with Jdeveloper 10g (OC4J 9.0.4). The program is just a servlet that sends a message to a JMS Queue. My orion-web.xml looks like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://xmlns.oracle.com/ias/dtds/orion-web.dtd">
    <orion-web-app servlet-webdir="/servlet/">
    <resource-ref-mapping name="jms/QCF" location="mqjms/MyQCF" />
    <resource-env-ref-mapping name="jms/QUEUE1" location="mqjms/MyQ" />
    </orion-web-app>
    The problem is that when I try to start the server I get the following Jdeveloper error:
    java.lang.IllegalArgumentException: Unrecognized parent-elem combination: interface oracle.jdeveloper.xml.oc4j.war.OrionWebApp - resource-env-ref-mapping
         at oracle.javatools.xml.bind.XMLBinding.throwUnrecognizedElem(XMLBinding.java:127)
         at oracle.jdeveloper.xml.j2ee.war.WebAppBinding.elem2intImpl(WebAppBinding.java:637)
         at oracle.javatools.xml.bind.XMLBinding.elem2int(XMLBinding.java:104)….
    Any ideas?
    Thanks in advance

    Did you find a fix for this? I'm experiencing the same problem.

  • JMS with ADF in Jdeveloper tutorial needed

    Hi,
    I am a newbie to ADF and JMS. Can anyone please provide me a sample tutorial on how to configure JMS in jdeveloper and integrate with ADF.
    Thanks much.
    Amy

    Thanks Jim, i have posted the tutorial needed at
    "http://forums.oracle.com/forums/thread.jspa?threadID=2140626'
    now iam facing problem in message listener. My aim is to get a popup window opened in my reciever page once i send a msg from sender page.
    i shouldnt do any opns on the receiver page except opening it.
    how do i make it..
    PFB the sample codes that i hav developed. I am able to get the msg on the reciever page only on click of a button which shodnt be the case.
    package view;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueReceiver;
    import javax.jms.QueueSender;
    import javax.jms.QueueSession;
    import javax.jms.TextMessage;
    import javax.naming.InitialContext;
    import javax.faces.context.FacesContext;
    public class SenderBean {
    private String varHi;
    public SenderBean() {
    super();
    * @return
    * @throws Exception
    public void send() throws Exception {
    System.out.println("in sender bean");
    QueueConnectionFactory qconFactory = null;
    QueueConnection qcon = null;
    QueueSession qsession = null;
    Queue queue = null;
    TextMessage msg = null;
    InitialContext ctx = CustomInitialContext.getInitialContext();
    qconFactory = (QueueConnectionFactory)ctx.lookup("jms/MyQueueFactory");
    qcon = qconFactory.createQueueConnection();
    qsession =
    qcon.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue)ctx.lookup("jms/MyQueue");
    //Posting message to Queue
    QueueSender qsender = qsession.createSender(queue);
    msg = qsession.createTextMessage();
    msg.setStringProperty("MSG_ID", "12345678947");
    msg.setText("Hello at " + System.currentTimeMillis());
    qsender.send(msg);
    System.out.println("Sent");
    qsender.close();
    // QueueReceiver queueReceiver = qsession.createReceiver(queue);
    // CustomAsyncReceiver listener = new CustomAsyncReceiver();
    // queueReceiver.setMessageListener(listener);
    * @return
    public void actionListener() throws Exception{
    FacesContext fm2;
    fm2=FacesContext.getCurrentInstance();
    System.out.println("fm-->"+fm2);
    // return fm2;
    public void recieve() throws Exception {
    System.out.println("in receieve method of sender bean");
    System.out.println("in reciever bean");
    FacesContext fctx = FacesContext.getCurrentInstance();
    System.out.println("fctx-->"+fctx);
    QueueConnectionFactory qconFactory = null;
    QueueConnection qcon = null;
    QueueSession qsession = null;
    Queue queue = null;
    TextMessage msg = null;
    InitialContext ctx = CustomInitialContext.getInitialContext();
    qconFactory = (QueueConnectionFactory)ctx.lookup("jms/MyQueueFactory");
    qcon = qconFactory.createQueueConnection();
    qsession =
    qcon.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue)ctx.lookup("jms/MyQueue");
    // QueueReceiver queueReceiver = qsession.createReceiver(queue);
    // CustomAsyncReceiver listener = new CustomAsyncReceiver(fctx);
    // queueReceiver.setMessageListener(listener);
    //To receive message from Queue
    qcon.start();
    QueueReceiver qReceiver = qsession.createReceiver(queue);
    while (true) {
    TextMessage txt = (TextMessage)qReceiver.receiveNoWait();
    System.out.println("txt-->"+txt);
    if (txt == null){
    System.out.println("txt is null");
    break;
    else{
    // FacesContext ctx = FacesContext.getCurrentInstance();
    if (fctx != null) {
    System.out.println("iam not null");
    FacesMessage fm =
    new FacesMessage(FacesMessage.SEVERITY_INFO, txt.getText(),
    "chat");
    fctx.addMessage(null, fm);
    System.out.println("iam in else");
    System.out.println(txt.getText() + "with header MSG_ID=" +
    txt.getStringProperty("MSG_ID"));
    qReceiver.close();
    qsession.close();
    qcon.close();
    public void setVarHi(String varHi) {
    this.varHi = varHi;
    public String getVarHi() {
    return varHi;
    public void actionListener(ActionEvent actionEvent) {
    // Add event code here...
    ***********************************************Reciever.JSPX*******************************
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <!--<af:messages id="m1" binding="#{Sender.recieve}"/>-->
    <af:form id="f1">
    <af:outputLabel value="HI IAM RECIEVER" id="ol1"/>
    <af:commandButton text="openreciever" id="cb1"
    action="#{Sender.recieve}"
    />
    <!-- <af:commandButton action="#{AsyncReciever.asynRecieve}" text="show"/>-->
    <!--<af:popup id="prnDlg">
    <af:dialog title="POPUP"
    id="d2" type="none">
    <af:outputLabel value="HI IAM RECIEVER" id="ol91"/>
    </af:dialog>
    </af:popup>-->
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Please provide me help on the same

  • Configuring MQSeries 5.2 JMS With Weblogic 7.0

    Hi :
              Has anyone configured MQ Series 5.2 under weblogic 7.0 ?. I would appreciate
              if you could let me step by step configuration.
              I have tried all the configuration steps in Weblogic 7.0 but still i am
              getting an exception while the MessageBridge is trying to get a connection
              from the Target Destination (in my case MQSeries).
              The exception:
              <Oct 17, 2002 11:17:37 AM PDT> <Error> <Connector> <190006> <Error granting
              connection request.>
              javax.resource.spi.ResourceAllocationException: CreateManagedConnection
              Error: Failed to start the connection
              at
              weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              ol.java:993)
              at
              weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              ol.java:1762)
              at
              weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              ctionPoolManager.java:163)
              at
              weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              ConnectionManagerImpl.java:25)
              at
              weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
              nectionFactory.java:126)
              at
              weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              java:733)
              at
              weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
              9)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              thanks,
              Balaji.
              

    Hi Dongbo:
              It worked, as you have said it was configuration problem of the PATH
              variable in my end.
              thanks,
              Balaji.
              "Dongbo Xiao" <[email protected]> wrote in message
              news:[email protected]...
              > Your configuration looks fine except that you are not recommended to
              > put MQSeries stuff in the AdapterClasspath attribute. Instead, the
              > following is what you should do according to the doc.
              >
              > Before starting WebLogic Server:
              >
              > Supply the provider's CLASSPATH in the WebLogic Server CLASSPATH.
              >
              > Include the PATH of any native code required by the provider's
              > client-side libraries in the WebLogic Server system PATH. (This variable
              > may vary depending on your operating system.)
              >
              > You can also check the Messaging Bridge part of the following doc:
              >
              >
              http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
              >
              > If the bridge still does not work after you correctly set everything,
              > you need to check all the values that you set for the attributes
              > (ConnectionURL
              > and etc)of the JMSBridgeDestination corresponding to the MQSeries queue.
              > Make sure
              > you can access MQSeries with those values from a client.
              >
              > It should work. Most commonly seen problems are configuration problems
              > or
              > environment problems.
              >
              > Good luck.
              > Dongbo
              >
              > Balaji Venkataraman wrote:
              > >
              > > Hi Dongbo: Please find herewith the information requested by you.
              > >
              > > Related Properties from Config.xml:
              > >
              > > <Application Deployed="true" Name="jms-xa-adp"
              > > Path="C:\bea\weblogic700\server\lib" TwoPhase="true">
              > > <ConnectorComponent Name="jms-xa-adp" Targets="adminserver"
              > > URI="jms-xa-adp.rar"/>
              > > </Application>
              > >
              > > JMS Related Entries:
              > >
              > > <JMSBridgeDestination ConnectionFactoryJNDIName="ediJMSFactory"
              > > DestinationJNDIName="MQ_WEBEDI_TO_OPUSTX"
              > > Name="MQSourceDestination"/>
              > > <JMSBridgeDestination
              > > Classpath="c:\Program
              > > Files\IBM\MQSeries\Java\samples\base;c:\Program
              > > Files\IBM\MQSeries\java\lib\com.ibm.mq.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\com.ibm.mqjms.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\jms.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\jndi.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\fscontext.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\providerutil.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\connector.jar;"
              > > ConnectionFactoryJNDIName="mqXAQCF"
              > > ConnectionURL="file://c:\bea\wlsmq" DestinationJNDIName="mqQ"
              > >
              InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
              > > Name="MQTargetDestination"/>
              > > <JMSConnectionFactory AllowCloseInOnMessage="true"
              > > JNDIName="ediJMSFactory" Name="ediJMSFactory"
              > > Targets="adminserver" UserTransactionsEnabled="true"
              > > XAConnectionFactoryEnabled="true" XAServerEnabled="true"/>
              > > <JMSFileStore Directory="filestore" Name="MyJMSFile Store"/>
              > > <JMSServer Name="MyJMSServer" Store="MyJMSFile Store"
              > > Targets="adminserver">
              > > <JMSQueue DeliveryModeOverride="Persistent"
              > > JNDIName="MQ_WEBEDI_TO_OPUSTX" Name="OpusQueue"
              > > StoreEnabled="true"/>
              > > </JMSServer>
              > >
              > > Message Bridge:
              > >
              > > <MessagingBridge Name="MyMessaging Bridge"
              > > SourceDestination="MQSourceDestination"
              > > TargetDestination="MQTargetDestination" Targets="adminserver"/>
              > >
              > > thanks,
              > > Balaji.
              > >
              > > "Dongbo Xiao" <[email protected]> wrote in message
              > > news:[email protected]...
              > > >
              > > > Please send your configuration for the source bridge destination,
              > > > target bridge destination and the bridge itself.
              > > >
              > > > Dongbo
              > > >
              > > > Balaji Venkataraman wrote:
              > > > >
              > > > > Hi :
              > > > >
              > > > > Has anyone configured MQ Series 5.2 under weblogic 7.0 ?. I would
              > > appreciate
              > > > > if you could let me step by step configuration.
              > > > >
              > > > > I have tried all the configuration steps in Weblogic 7.0 but still i
              am
              > > > > getting an exception while the MessageBridge is trying to get a
              > > connection
              > > > > from the Target Destination (in my case MQSeries).
              > > > >
              > > > > The exception:
              > > > > <Oct 17, 2002 11:17:37 AM PDT> <Error> <Connector> <190006> <Error
              > > granting
              > > > > connection request.>
              > > > > javax.resource.spi.ResourceAllocationException:
              CreateManagedConnection
              > > > > Error: Failed to start the connection
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              > > > > ol.java:993)
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              > > > > ol.java:1762)
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              > > > > ctionPoolManager.java:163)
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              > > > > ConnectionManagerImpl.java:25)
              > > > > at
              > > > >
              > >
              weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
              > > > > nectionFactory.java:126)
              > > > > at
              > > > >
              > >
              weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              > > > > java:733)
              > > > > at
              > > > >
              > >
              weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
              > > > > 9)
              > > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              > > > >
              > > > > thanks,
              > > > > Balaji.
              > >
              > > <?xml version="1.0" encoding="UTF-8"?>
              > > <!--If your domain is active, please do not edit the config.xml file.
              Any changes made to that file while the domain is active will not have any
              effect on the domain's configuration and are likely to be lost. If your
              domain is inactive, you may edit this file with an XML editor. If you do so,
              please refer to the BEA Weblogic Server Configuration Reference
              documentation available from http://edocs.bea.com/wls/docs70/config_xml. In
              general, we recommend that changes to your configuration file be made
              through the Administration Console.-->
              > > <Domain ConfigurationVersion="7.0.0.0" Name="edixml">
              > > <Application Deployed="true" Name="DefaultWebApp"
              > > Path=".\applications" StagedTargets="" TwoPhase="false">
              > > <WebAppComponent Name="DefaultWebApp" Targets="adminserver"
              URI="DefaultWebApp"/>
              > > </Application>
              > > <Application Deployed="true" Name="certificate"
              > > Path=".\applications" StagedTargets="" TwoPhase="false">
              > > <WebAppComponent Name="certificate" Targets="adminserver"
              URI="certificate.war"/>
              > > </Application>
              > > <Application Deployed="true" Name="jms-xa-adp"
              > > Path="C:\bea\weblogic700\server\lib" TwoPhase="true">
              > > <ConnectorComponent Name="jms-xa-adp" Targets="adminserver"
              URI="jms-xa-adp.rar"/>
              > > </Application>
              > > <ApplicationManager Name="edixml"/>
              > > <Cluster ClusterAddress="208.193.6.143:7001,208.193.6.143:8001"
              > > MulticastAddress="237.0.0.4" MulticastPort="7777"
              Name="edixmlcluster"/>
              > > <EmbeddedLDAP
              > > Credential="{3DES}iLJIRpiJCbQYHvktF5nq32XqGBhWLQpLEcMRXP+KJi0="
              Name="edixml"/>
              > > <FileRealm Name="wl_default_file_realm"/>
              > > <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
              > > Name="OracleDBPool"
              > >
              Properties="user=webedi7;password=webedi7;dll=ocijdbc8;protocol=thin"
              > > Targets="adminserver" TestConnectionsOnReserve="true"
              > > TestTableName="numberblockmaster"
              URL="jdbc:oracle:thin:@192.168.222.6:1521:ora8"/>
              > > <JDBCTxDataSource JNDIName="OracleTxDS" Name="OracleTxDS"
              PoolName="OracleDBPool"/>
              > > <JMSBridgeDestination ConnectionFactoryJNDIName="ediJMSFactory"
              > > DestinationJNDIName="MQ_WEBEDI_TO_OPUSTX"
              Name="MQSourceDestination"/>
              > > <JMSBridgeDestination
              > > Classpath="c:\Program
              Files\IBM\MQSeries\Java\samples\base;c:\Program
              Files\IBM\MQSeries\java\lib\com.ibm.mq.jar;c:\Program
              Files\IBM\MQSeries\java\lib\com.ibm.mqjms.jar;c:\Program
              Files\IBM\MQSeries\java\lib\jms.jar;c:\Program
              Files\IBM\MQSeries\java\lib\jndi.jar;c:\Program
              Files\IBM\MQSeries\java\lib\fscontext.jar;c:\Program
              Files\IBM\MQSeries\java\lib\providerutil.jar;c:\Program
              Files\IBM\MQSeries\java\lib\connector.jar;"
              > > ConnectionFactoryJNDIName="mqXAQCF"
              > > ConnectionURL="file://c:\bea\wlsmq" DestinationJNDIName="mqQ"
              > >
              InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
              Name="MQTargetDestination"/>
              > > <JMSConnectionFactory AllowCloseInOnMessage="true"
              > > JNDIName="ediJMSFactory" Name="ediJMSFactory"
              > > Targets="adminserver" UserTransactionsEnabled="true"
              > > XAConnectionFactoryEnabled="true" XAServerEnabled="true"/>
              > > <JMSFileStore Directory="filestore" Name="MyJMSFile Store"/>
              > > <JMSServer Name="MyJMSServer" Store="MyJMSFile Store"
              Targets="adminserver">
              > > <JMSQueue DeliveryModeOverride="Persistent"
              > > JNDIName="MQ_WEBEDI_TO_OPUSTX" Name="OpusQueue"
              StoreEnabled="true"/>
              > > </JMSServer>
              > > <JTA Name="edixml"/>
              > > <JTARecoveryService Name="primary"/>
              > > <JTARecoveryService Name="secondary"/>
              > > <Log FileName=".\wl-domain.log" Name="edixml"/>
              > > <MessagingBridge Name="MyMessaging Bridge"
              > > SourceDestination="MQSourceDestination"
              > > TargetDestination="MQTargetDestination" Targets="adminserver"/>
              > > <MigratableTarget Cluster="edixmlcluster"
              > > Name="primary (migratable)"
              > > Notes="This is a system generated default migratable target for
              a server. Do not delete manually." UserPreferredServer="primary"/>
              > > <MigratableTarget Cluster="edixmlcluster"
              > > Name="secondary (migratable)"
              > > Notes="This is a system generated default migratable target for
              a server. Do not delete manually." UserPreferredServer="secondary"/>
              > > <PasswordPolicy Name="wl_default_password_policy"/>
              > > <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              > > <SNMPAgent Name="edixml"/>
              > > <Security GuestDisabled="false" Name="edixml"
              > > PasswordPolicy="wl_default_password_policy"
              > > Realm="wl_default_realm" RealmSetup="true"/>
              > > <SecurityConfiguration
              > >
              Credential="{3DES}du0wFpH35kta7XFhGk6UV2mve7IhavFhAJ8uSzz1W4Gt2i9CV4PDWSLsnb
              6nJjMiej2UAIGHrmT3RGIQG1sn9R0xaYz1STwV" Name="edixml"/>
              > > <Server ListenAddress="208.193.6.143" ListenPort="9001"
              > > Name="adminserver" NativeIOEnabled="true"
              ServerVersion="7.0.0.0">
              > > <COM Name="adminserver"/>
              > > <ExecuteQueue Name="default" ThreadCount="15"/>
              > > <IIOP Name="adminserver"/>
              > > <JTAMigratableTarget Cluster="" Name="adminserver"
              UserPreferredServer="adminserver"/>
              > > <KernelDebug Name="adminserver"/>
              > > <Log FileName=".\adminserver\adminserver.log"
              Name="adminserver"/>
              > > <SSL Enabled="true" HostnameVerificationIgnored="true"
              > > ListenPort="9002" Name="adminserver"
              > > ServerCertificateChainFileName="ca.pem"
              > > ServerCertificateFileName="democert.pem"
              ServerKeyFileName="demokey.pem"/>
              > > <ServerDebug Name="adminserver"/>
              > > <ServerStart Name="adminserver"/>
              > > <WebServer DefaultWebApp="DefaultWebApp"
              > > LogFileName=".\adminserver\access.log" LoggingEnabled="true"
              Name="adminserver"/>
              > > </Server>
              > > <Server Cluster="edixmlcluster" JTARecoveryService="primary"
              > > ListenAddress="208.193.6.143" ListenPort="7001" Name="primary"
              > > NativeIOEnabled="true" ServerVersion="7.0.0.0">
              > > <COM Name="primary"/>
              > > <ExecuteQueue Name="default" ThreadCount="15"/>
              > > <IIOP Name="primary"/>
              > > <JTAMigratableTarget Cluster="edixmlcluster" Name="primary"
              UserPreferredServer="primary"/>
              > > <KernelDebug Name="primary"/>
              > > <Log Name="primary"/>
              > > <SSL Name="primary"/>
              > > <ServerDebug Name="primary"/>
              > > <ServerStart Name="primary"/>
              > > <WebServer Name="primary"/>
              > > </Server>
              > > <Server Cluster="edixmlcluster" JTARecoveryService="secondary"
              > > ListenAddress="208.193.6.143" ListenPort="8001" Name="secondary"
              > > NativeIOEnabled="true" ServerVersion="7.0.0.0">
              > > <COM Name="secondary"/>
              > > <ExecuteQueue Name="default" ThreadCount="15"/>
              > > <IIOP Name="secondary"/>
              > > <JTAMigratableTarget Cluster="edixmlcluster" Name="secondary"
              UserPreferredServer="secondary"/>
              > > <KernelDebug Name="secondary"/>
              > > <Log Name="secondary"/>
              > > <SSL Name="secondary"/>
              > > <ServerDebug Name="secondary"/>
              > > <ServerStart Name="secondary"/>
              > > <WebServer Name="secondary"/>
              > > </Server>
              > > </Domain>
              

  • Problem setting up APEX 4 with WebLogic and Oracle XE

    I'm am trying to install and test Application Express 4 (latest version) on a brand new installation of Oracle WebLogic Server and Oracle XE.
    I have followed the Installation Guide for APEX and have successfully installed all tables and scripts into my Oracle XE schema and am able to connect to the Application Express Workspace login page (http://localhost:8080/apex) but am not able to log in. All styles and images are missing.
    I have followed the steps in the Application Express Listener Guide to install the Listener to my WebLogic deployments and have my i.war and apex.war files deployed but these apparently are not working. When I go to my WebLogic server and view the /apex/ListenerConfigure page I can see the page but get an HTTP 404 "Page Not Found" error and appears to be looking for the WLS's apex/apex directory.
    Note: My Oracle XE / APEX setup is on a separate server than my WebLogic server.
    Also, I see the APEX Listener file (apex-confix.xml) from the install zip file but I don't believe it is being used anywhere, as the documentation never told me what to do with it.
    Any help would be awesome. Let me know what I can provide that I haven't. Thanks!

    Thank you, I was able to use what you said as well as this information here: Installing Apex 4 on Oracle XE:  Almost there, but no cigar yet!
    Thank you for the help :)

  • Strange CSS behavior with IE9 and JDeveloper 11.1.1.6.0?

    I am working with JDeveloper 11.1.1.6.0 and ADF. There is a single skinning CSS file that is just over 7800 lines. Everything is fine in Chrome, Firefox, IE7, IE8, and IE10. However, when running the application in IE9 some styles are not getting applied.
    I noticed that the elements that were not getting styled were further down in the CSS file (around line 7500). I cut and pasted the styles at the beginning of the CSS file, refreshed, and lo and behold the elements that were not styled before were now getting their styles (I could inspect the page and see that the CSS wasn't getting loaded at all - not an issue with the CSS selectors not matching the HTML being rendered).
    First I thought it may be a file size thing, but after reading this post, I'm not so sure. Plus that wouldn't explain why I only have the problem in IE9.
    Has anyone run into any issues with IE9? It seems very strange to me that this would be a browser problem. My first thought was that there was some error or invalid CSS being used, but I started with a line of CSS and moved it further down in the order until it stopped working (I changed the background on the header to pink). There was one line of CSS where the background would be pink when applied on the line directly before, but when applying directly after the background was gray again. I scoured the CSS but couldn't see anything wrong with it (see below). I removed the CSS in question and the header background showed pink again. Moved it down a few lines and it stopped getting picked up by IE9. Continued this process but wasn't able to find a solution.
    Here is the CSS in question in case something happens to stand out to someone else (I thought maybe "domready" was a reserved word or something):
    table.plan-slab td.cereal-box af|panelGroupLayout.cereal-box-detail af|panelGroupLayout.plan-cost-domready,
    table.cereal-box td.cereal-box-detail af|panelGroupLayout.cereal-box-detail-wrap af|panelGroupLayout.plan-cost-domready {
        position: absolute;
        left: 5px;
        right: 8px;
        bottom: 5px;

    IE 6-9 do have CSS size limits, may be more pronounced in IE 9.
    IE 10 has the limits raised.
    http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/10164546.aspx
    http://support.microsoft.com/kb/262161

  • Deployment of Java WebService with OC4J and JDeveloper

    Hi,
    I have created a sample java webservice following instructions given in one OTN tutorial (Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server ) at http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm
    We were able to create the webservice as shown in the tutorial but are facing problem while deploying it. The deployment message console in JDeveloper shows one "Deployment failed : ClassCastException".
    Some of the lines from Jdeveloper console are ::
    "Binding WebServices web-module for application JavaWebService-GetDates-WS to site default-web-site under context root JavaWebService-GetDates-context-root failed"
    I have gone through the stack trace in the OC4J console but couldnt figure out much out of it as all the culprit classes are from different jar files...Here is the Stack trace for your ref::
    06/05/05 19:07:12 WARNING: DeployerRunnable.run java.lang.ClassCastExceptionoracle.oc4j.admin.intern
    al.DeployerException: java.lang.ClassCastException
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
    e.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.ClassCastException
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(WebServiceEndpoint.ja
    va:660)
    at com.evermind.server.Application.getHttpApplication(Application.java:512)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
    omReference(HttpSite.java:1975)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:18
    94)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    2006-05-05 19:07:12.713 WARNING java.lang.ClassCastException
    I am using J2SE1.4.2_08 version. Earlier when I used java 5 version I got an error something like "Found runtime environment 49.0 expected environment is 48.0"....so I moved over to J2SE1.4.2_08 version but now I am getting above error as shown in the stack trace.
    Looking at the success message shown in the OTN tutorial it seems that only step that failed while this deployment is Initialization of servlet : Oracle.j2ee.ws.server.JAXRPCServlet for webapplication Webservices.

    Hi, thanks for your quick help.
    Shay, I agree with you that the specific tutorial uses JDeveloper 10.1.3 and I need to use JDK 5 to run that version of JDeveloper.
    Earlier when I used JDK 5 with JDeveloper 10.1.3, I got different error saying "Found runtime environment 49.0 expected environment is 48.0".....so I moved over to J2SE1.4.2_08 version but now I am getting an error as shown in the stack trace given in the very first post to this thread.

  • Free online event covering Fusion development with ADF and JDeveloper.

    Details here:
    http://events.unisfair.com/index.jsp?eid=394&seid=28&code=pleon
    Regards
    Grant Ronald

    Thanks for the prompt reply,
    the session works like a charm, thanks.
    I am still not sure how I can feed back ActionErrors from the named event to the JSP page however. I think I have seen the paper you are talking about on the OTN and it has got me as far as I am now with the named events (onSubmitLogin) but I am still not able to find out how errors can be signalled back to the same page, if required. I can certainly do an actionContext.setForward("error"); and follow the error forward back to the same page, but I can't get my errors to show up in the html:error tag
    Also, I am not quite sure I follow what you say about the login information being stored in a ViewObject. Is this a particular view object, and if so, which one? How can I get from having a username and password field in a JSP page to putting the right credentials into the right View Object in order to allow ADF to use the tagish JAAS stuff? (I have already changed the jbo.security settings to what I think are the correct ones based on the JDeveloper help).
    Thanks again
    Dick

  • Working With CVS and JDeveloper 10.1.2 URGENT

    Hi Guys,
    Can somebody help me out? To work in Team Development we have chosen CVS. I have two versions CVSNT, 2.5.02 and 1.11.13. I have followed every step from the help file, and installed them (first 2.5.02 and then 1.11.13, after un-installing 2.5.02). Now whenever I click CVS Server node from the Connection tab, it always display a message Alert:
    The CVS executable is not installed or not located in your system environment path.
    although I have added the path in the path variable.
    I was going through the article:
    Oracle&#65533; JDeveloper 10g
    Installation Guide
    Version 10.1.2
    October 2004
    where it recomended the CVS version:
    Concurrent Version Support (CVS)
    * CVS versions 1.10 to 1.11.14
    * CVSNT versions 2.0.26 to 2.0.34
    If I download the following version, won't I get any error message? If so, then where can I find the versions?
    Any help will be appriciated and thank you in advance.

    hello i am using
    cvs --version
    Concurrent Versions System (CVSNT) 2.5.02 (Servalan) Build 2064 (client/server)
    that i download from cvsnt.org
    cvs it's in path variable.
    and front-end i use Tortoise CVS that is better because it's integrated in Windows Explorer.
    otherwise in JDev select menu Versioning->Select System-> check CVS and then
    in tab Connections in CVSServer right click and select new cvs connection.
    configure and work.
    try to have only a cvs.exe in your machine.
    i want help you.
    Gustavo Villada
    Consultant
    www.ayi-asociados.com

Maybe you are looking for