Re; Tutorial Introduction to ADF/JSTrinidad - jdeveloper

I am having trouble running the first example form which included adding a state selection drop down and a city selection drop down. I get the following error from the OCBJ embedded server when I right click on the dialog.. form and select run.
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
"C:\Program Files\Java\jdk1.5.0_06\bin\javaw.exe" -client "-Doracle.home=C:\Program Files\jdev" -classpath "C:\Program Files\jdev\j2ee\home\oc4j.jar;C:\Program Files\jdev\jdev\lib\jdev-oc4j-embedded.jar" -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
Aug 16, 2007 9:27:15 AM oracle.oc4j.util.FileUtils autoUnpack
INFO: Auto-unpacking C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\applications\dms.war...
Aug 16, 2007 9:27:15 AM oracle.oc4j.util.FileUtils unjar
INFO: Unjar C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\applications\dms.war in C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\applications\dms
Aug 16, 2007 9:27:15 AM oracle.oc4j.util.FileUtils autoUnpack
INFO: Finished auto-unpacking C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\applications\dms.war
Aug 16, 2007 9:27:15 AM oracle.oc4j.util.FileUtils autoUnpack
INFO: Auto-unpacking C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\connectors\datasources\datasources.rar...
Aug 16, 2007 9:27:15 AM oracle.oc4j.util.FileUtils unjar
INFO: Unjar C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\connectors\datasources\datasources.rar in C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\connectors\datasources\datasources
Aug 16, 2007 9:27:15 AM oracle.oc4j.util.FileUtils autoUnpack
INFO: Finished auto-unpacking C:\Program Files\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\connectors\datasources\datasources.rar
07/08/16 09:27:15 [SEVERE]: Error instantiating application at file:/C:/Program Files/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/applications/datatags.ear: Unable to get ApplicationConfig for datatags : Error creating deployment directory: IO Error: The system cannot find the path specified
Aug 16, 2007 9:27:16 AM com.evermind.server.XMLApplicationServerConfig randomizeJtaAdminPassword
INFO: Updating JtaAdmin account
07/08/16 09:27:23 WARNING: EJBContainer.postInit Error generating wrappers for file:/C:/Program Files/jdev/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/applications/admin_ejb.jarjava.lang.InstantiationException: ojc.exe not found under C:\Program Files\jdev\bin\, specify the correct location of ojc.exe in server.xml using the <java-compiler .../> tag
     at com.evermind.compiler.ExternalJavac.getOtherJavac(ExternalJavac.java:412)
     at com.evermind.compiler.ExternalJavac.getJavacCompiler(ExternalJavac.java:251)
     at com.evermind.compiler.ExternalJavac.checkIfValid(ExternalJavac.java:736)
     at com.evermind.server.ApplicationServer.getCompiler(ApplicationServer.java:2497)
     at com.evermind.server.ejb.compilation.Compilation.<init>(Compilation.java:155)
     at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:893)
     at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
     at com.evermind.server.Application.setConfig(Application.java:439)
     at com.evermind.server.Application.setConfig(Application.java:340)
     at com.evermind.server.ApplicationServer.initializeSystemApplication(ApplicationServer.java:1557)
     at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1544)
     at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:974)
     at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
     at java.lang.Thread.run(Thread.java:595)
Aug 16, 2007 9:27:23 AM com.evermind.server.ejb.logging.EJBMessages logException
SEVERE: [system] An error occured deploying EJB module: java.lang.InstantiationException: Error generating wrappers for file:/C:/Program Files/jdev/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/applications/admin_ejb.jar: ojc.exe not found under C:\Program Files\jdev\bin\, specify the correct location of ojc.exe in server.xml using the <java-compiler .../> tag
java.lang.InstantiationException: Error generating wrappers for file:/C:/Program Files/jdev/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/applications/admin_ejb.jar: ojc.exe not found under C:\Program Files\jdev\bin\, specify the correct location of ojc.exe in server.xml using the <java-compiler .../> tag
     at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:908)
     at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
     at com.evermind.server.Application.setConfig(Application.java:439)
     at com.evermind.server.Application.setConfig(Application.java:340)
     at com.evermind.server.ApplicationServer.initializeSystemApplication(ApplicationServer.java:1557)
     at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1544)
     at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:974)
     at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
     at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: ojc.exe not found under C:\Program Files\jdev\bin\, specify the correct location of ojc.exe in server.xml using the <java-compiler .../> tag
     at com.evermind.compiler.ExternalJavac.getOtherJavac(ExternalJavac.java:412)
     at com.evermind.compiler.ExternalJavac.getJavacCompiler(ExternalJavac.java:251)
     at com.evermind.compiler.ExternalJavac.checkIfValid(ExternalJavac.java:736)
     at com.evermind.server.ApplicationServer.getCompiler(ApplicationServer.java:2497)
     at com.evermind.server.ejb.compilation.Compilation.<init>(Compilation.java:155)
     at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:893)
     ... 8 more
07/08/16 09:27:23 WARNING: Application.setConfig Application: system is in failed state as initialization failed.
java.lang.InstantiationException: Error initializing ejb-modules: Error generating wrappers for file:/C:/Program Files/jdev/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/applications/admin_ejb.jar: ojc.exe not found under C:\Program Files\jdev\bin\, specify the correct location of ojc.exe in server.xml using the <java-compiler .../> tag
07/08/16 09:27:23 Error initializing server: Application: system is in failed state as initialization failed
07/08/16 09:27:23 Fatal error: server exiting
Process exited with exit code 1

Try reinstalling JDeveloper in a directory that doesn't have space in its name (i.e. not under Program Files) and see if it helps.

Similar Messages

  • Oracle ADF with jDeveloper

    I am new to oracle adf with jdeveloper. I am impressed by the features of this product. I want to learn this. Is there any pre-requesites to learn this product? I aware with JSP/Servlets , Struts 2.0 , HTML , Javascript

    Hello John,
    Thanks for the reply. I can't find any material so that I can aware with JSF introduction (with demos) and ADF Faces. So will you please suggest me some tutorial or demos related to JSF and ADF faces. I passed through the video demos of Oracle ADF homepage but still I can't understand the use of those tags.
    regards,
    Kush
    Edited by: kush on Feb 22, 2012 12:07 AM

  • Problem in Oracle ADF with JDeveloper. JBO25001

    Hello All,
    I have to develop an application using oracle ADF and JDeveloper. To famalirize my self with the technology, I downloaded the Oracle ADF tutorial "Tutorial for Forms/4GL developers" from Oracle site.
    I am following this tutorial line by line, but still getting an error. I have created
    1) Entities
    2) Associations
    3) Views
    4) ViewLinks
    5) Application Module
    all by wizard.
    After I added my view and view link into the application module and tried to test it it gave me the following error.
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.10E97657A25) failed to checkout an application module due to the following exception:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name ServiceRequestsTable of object type Attribute already exists
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name ServiceRequestsTable of object type Attribute already exists
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.NameClashException) JBO-25001: Name ServiceRequestsTable of object type Attribute already exists
    I changed the names of each object but still the problem persisted.
    If any body can help me on this I will really appreciate it. Thanx a ton in advance.
    I have downloaded and using the latest JDeveloper version 10.1.3.1.0.3984
    Please help me on this.
    Regards,
    Saket Maheshwary

    Saket,
    Did you ever get this situation resolved?
    I'm working thru the tutorial myself and get the same error except the object is Product.
    Do you have any clues?
    Thanks,
    Lonnie Spears

  • ADF from JDeveloper 10.1.2 not compatible with iAS 9.0.1

    Hi,
    We developed an ADF Application with JDeveloper 10.1.2 and we use the ADF interMedia domains (e.g. oracle.ord.im.OrdDocDomain). The application runs fine in JDeveloper, but doesn't run on our iAS 9.0.4.1. We get the following exception:
    java.lang.NoClassDefFoundError: oracle/sql/DatumWithConnection
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
    at oracle.jbo.common.JBOClass.forName(JBOClass.java:161)
    at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:203)
    at oracle.jbo.server.AttributeDefImpl.initFromXML(AttributeDefImpl.java:2061)
    at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:2013)
    at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2815)
    at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2779)
    at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2362)
    at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2106)
    at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:514)
    [...rest of stacktrace omitted ...]
    The problem is that the JDBC version of the iAS 9.0.4.1 is missing the class DatumWithConnection that is indirectly referenced by the interMedia classes supplied with JDeveloper 10.1.2.
    In detail, oracle.ord.im.OrdDoc uses oracle.sql.STRUCT. The inheritance hierarchy of STRUCT is different in the JDBC versions on iAS 9.0.4.1 (oracle.sql.Datum <- oracle.sql.STRUCT) and JDeveloper 10.1.2 (oracle.sql.Datum <- oracle.sql.DatumWithConnection <- oracle.sql.STRUCT). The class file of oracle.ord.im.OrdDoc (from 10.1.2. JDeveloper) was apparently compiled the new JDBC driver version since it contains a reference to oracle.sql.DatumWithConnection. And that class cannot be found if run on iAS 9.0.4.1 with its old JDBC version.
    I think this is a very serious problem, since it means that ADF from JDeveloper 10.1.2 is not compatible with iAS 9.0.4.1, in contradiction to the support matrix (http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html).
    Upgrading the JDBC Driver on the iAS seems to be the only clean solution for this problem (we also tried using old versions of the ordim.jar etc. but that always leads to other problems). But simply exchanging the JDBC jar-files on the server breaks the Enterprise Manager on our iAS installation.
    I have two questions:
    1) Is there a recommended workaround for the compatibility issue described above?
    2) Is there a documented and supported way to upgrade the JDBC driver of iAS 9.0.4.1? I searched OTN and MetaLink and haven't found anything about this.
    Kind Regards,
    Kay
    P.S. It is surprising that this problem is rarely mentioned in the OTN forums at all. The only relevant thread is on the JHeadstart Forum:
    JHeadstart Deployment Issue
    P.S.2
    More info on what we tested:
    We have thoroughly checked that the 10.1.2. ADF runtime was correctly deployed on our iAS 9.0.4.1. We installed a OC4J 9.0.4.0.0 standalone on the same linux machine as our iAS 9.0.4.1 and deployed our application on it, getting the same error (java.lang.NoClassDefFoundError: oracle/sql/DatumWithConnection) as on the iAS. Replacing the JDBC drivers of the OC4J standalone with the version that came with JDeveloper 10.1.2 solved the problem.

    I don't think that mixing classes from different jar file is a good idea. Nevertheless, we tested this approach already. Adding the DatumWithConnection.class from the 10.1.0.3.0 JDBC version to the jar file of the original JDBC version (of the iAS 9.0.4.1.0) caused a java.lang.VerifyError to appear.
    The DatumWithConnection class is not simply added in the newer JDBC version. It is inserted into the inheritance hierarchy of oracle.sql.STRUCT and oracle.sql.Datum. Simply providing the new class next to the old JDBC driver will not work.
    To give more information about what's wrong with updating the complete JDBC driver, I justed tested it again. To update the JDBC driver I stopped the server, changed the contents of jdbc/lib, started the server. I tried it with JDBC Version 9.2.0.5 as well as 10.1.0.3.0.
    In both cases, our own application works, i.e. no more NoClassDefFoundError caused by oracle.sql.DatumWithConnection.
    The Enterprise Manager shows strange behaviour, however. Some features work as usual but, for example, when I click on the "Applications" tab for our OC4J instance, we just get the following error shown in the browser:
    An error was encountered while loading page. Failed to initialize configuration management user session.. See base exception for details.
    Root Cause: TDU
    Resolution: See base exception for details.. TDU
    In one of the server logs I found the following stacktrace:
    java.lang.NoSuchFieldError: TDU
         at oracle.net.resolver.NavDescription.navigate(Unknown Source)
         at oracle.net.resolver.NavServiceAlias.navigate(Unknown Source)
         at oracle.net.resolver.AddrResolution.resolveAddrTree(Unknown Source)
         at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
         at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
         at oracle.net.ns.NSProtocol.connect(Unknown Source)
         at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1777)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:215)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:365)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at oracle.context.isearch.admin.users.InstanceManager.getSchemaConnection(InstanceManager.java:688)
         at test.admin__status._jspService(_admin__status.java:112)
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         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[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Kind Regards,
    Kay

  • Oracle ADF in JDeveloper

    I am new to both ADF Faces & JDeveloper and I tried the sample application Master/Detail/Detail/Detail program which is posted in http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html. What is the possible way to give the foreign key reference between two entities in JDEveloper. Physically there is no relation between these two tables(Entities).
    It would be helpful if you give me a basic steps required to re create this application.
    Thanks in advance

    See section 5.10.2 "How to Create Master/Detail Hierarchies Using View Links" in the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html
    There is no requirement that the master/detail relationship you setup be based on an underlying foreign key at the DB level.
    The sample you reference just uses the above technique to create a 4-level master/detail hierarchy, and then the pages were created by dragging and dropping appropriate collections from the data control palette.

  • Hi, im a beginner in ADF and JDeveloper. Can anyone suggest me any video links for learning Oracle ADF?

    Hi, im a beginner in ADF and JDeveloper. Can anyone suggest me any video links for learning Oracle ADF?
    Thanks,
    Vijay

    Refer the below link as a starting point.
    https://blogs.oracle.com/shay/entry/how_do_i_start_learning_oracle_adf_and_jdeveloper
    http://sameh-nassar.blogspot.com.au/2010/04/main-references-to-learn-oracle-adf.html
    Cheers
    AJ

  • Is their a tutorial Explaining SRDemo ADF BC version implementation ?

    Hi All,
    Is their a tutorial explaining SRDemo ADF BC Version implementation ?
    i have the SRDemo (JSF, EJP,TOPLink) implementation tutorial( ADF Developers guide) but did not find a similar one for ADF BC Version
    Thanks
    Raghavendra

    The ADF Developer Guide - ADF BC edition is in final stages or review.
    See: http://radio.weblogs.com/0118231/2006/05/12.html#a693

  • 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

  • ADF Toplink Jdeveloper 10.1.2.0.0  Tutorial  Model JBO Error.

    While going thru the following online tutorial:
    http://www.oracle.com/technology/obe/obe9051jdev/ide1012/adfworkshop/buildingadfapplicationsworkshop.htm
    Everything went thru fine, but I planned on changing the user from OE to OE8 in my jdbc connection.
    hence I recreated the Model and left the View Controlloer untouched by manually deleting the
    files under ~/jdevhome/mywork/CustomerMaintenance/Model.
    I recreated everthing exactly as was given in the tutorial to create the Data control and data descriptors etc except now this time with OE8 as the jdbc user. And I get the following error:
    # JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.ClassNotFoundException, msg=model.CustomersWsView
    # JBO-29000: Unexpected exception caught: java.lang.ClassNotFoundException, msg=model.CustomersWsView
    # model.CustomersWsView
    What should I look out for in my viewcontroller If I am planning to change/recreate my model.

    Unfortunately the workbench files cannot yet be imported into JDeveloper.
    In a new project you will need to create a map from scratch within JDeveloper.
    Doug

  • Use ADF with jdeveloper

    I no found the 'Fusion Web Application' (ADF) template in the JDeveloper 10.1.3.4. to create a project using oracleADF, please help me
    Thank you very much

    You are looking in a tutorial for version 11g - and using 10.1.3 so you won't see the same things.
    In 10.1.3.4, assuming you installed the Studio version, you'll see a template called Web Application [ADF BC, JSF] which is the parallel one.

  • Step by Step tutorial on Swing development using JDeveloper 11g

    I am completely newbie on Jdeveloper and I am looking for a Step by Step tutorial on how to build a desktop database application using 11g version. I want to use the EJB3, Data binding and JPA and other new technology.
    Could you please point me to the right direction. I have googled and most info I have seen are on web apps.
    Greatly appreciated your assistance.

    Hi,
    ADF Swing is not yet ready for prime time in JDeveloper 11 technology preview. I suggest to have a look at 10.1.3.1 of JDeveloper and finish the following tutorial
    http://www.oracle.com/technology/obe/obe1013jdev/10131/adf%20swing/master_detail_page_adfswing_bc.htm
    Frank
    Ps.: You can also use 10.1.3.2 of JDeveloper

  • ADF - Multple View Objects in one ADF table - Jdeveloper 11g

    Hi,
    I'm using Jdeveloper 11g, is there a way to use multiple view objects in one ADF table? And if so, do you have an example?
    In my case the view objects are not based on a database table they were created based on an ESB wsdl, one is for person and one is for address.
    Any information or pointers you could provide would be appreciated.
    Thanks!

    Hi,
    That would be a good solution, however, I'm supposed to see if there is a way to use the VOs that were created for person and address. Even better if the solution requires little coding.
    Is it possible to combine these two VOs into a single VO to use with an ADF table or to use both of them in a single table? Or is there some other solution that would enable me to use the person and address VOs in a similar manner?
    Thanks!

  • ADF in JDeveloper 10.1.3.0.4: Error deploying bc4j.ear in JBoss-4.0.4.CR2

    Hello,
    Using the ADF Runtime Installer for JBoss found in JDeveloper 10.1.3.0.4, i've received deployment error during startup of JBoss. The error message as displayed in the console window as follows:
    09:29:16,325 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@89f00429 { url=file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear }
      deployer: org.jboss.deployment.EARDeployer@3a835d
      status: Deployment FAILED reason: Could not create deployment: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp65518bc4j.ear-contents/webapp.war; - nested throwable: (org.jboss.ws.WSException: java.lang.ClassNot
    FoundException: oracle.jbo.server.emd.EMDServlet)
      state: FAILED
      watch: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear
      altDD: null
      lastDeployed: 1146014956309
      lastModified: 1146014950147
      mbeans:Above it there is a lot more lines of stack trace, tell me if you need it to help me with this problem. The file structure deployed is as follows (Based on the log displayed in JDeveloper):
    In deploy directory
    bc4j.ear
    In jlib directory
    bc4jdomgnrc.jar
    In lib directory
    adf-connections.jar
    adfbinding.jar
    adfcm.jar
    adfm.jar
    adfmtl.jar
    adfmweb.jar
    adfshare.jar
    adfui.jar
    antlr.jar
    bc4jct.jar
    bc4jctejb.jar
    bc4jdomgnrc.jar
    bc4jdomorcl.jar
    bc4jhtml.jar
    bc4jimdomains.jar
    bc4jmt.jar
    bc4jmtejb.jar
    cache.jar
    collections.jar
    commons-cli-1.0.jar
    commons-el.jar
    concurrent.jar
    datatags.jar
    dc-adapters.jar
    dms.jar
    http_client.jar
    jazncore.jar
    jdev-cm.jar
    jsp-el-api.jar
    mdds.jar
    mdsrt.jar
    ojdbc14.jar
    ojdbc14dms.jar
    ojdl.jar
    ojpse.jar
    oracle-el.jar
    oraclepki.jar
    orajaxr.jar
    orasaaj.jar
    orawsdl.jar
    orawsrm.jar
    ordhttp.jar
    ordim.jar
    osdt_cert.jar
    osdt_core.jar
    osdt_saml.jar
    osdt_wss.jar
    osdt_xmlsec.jar
    regexp.jar
    runtime12.jar
    share.jar
    toplink.jar
    translator.jar
    wsclient.jar
    wsdl.jar
    wssecurity.jar
    xml.jar
    xmlef.jar
    xmlparserv2.jar
    xsdlib.jar
    xsqlserializers.jar
    xsu12.jar
    And another thing, is there any way to have the ADF Runtime Installer install the ADF Runtime into another JBoss config directory. As far as I noticed, it will only install into the JBoss default config directory.
    TQ in advance.

    Hi Cleber,
    Is it possible that you can send me a copy of your original 10.1.2 project which contains these diagrams so that I can take a look? The diagrams should open fine in 10.1.3.0.4.
    My email address is [email protected], if you could zip up your project and then change the .zip file extension to .zap to get it through the email server.
    Regards,
    Lisa
    JDev QA

  • Is there any tutorial for jms development with jdeveloper out there ?

    Hi
    Thank you for reading my post
    is there any tutorial which show us how to use jdeveloper +oc4j for JMS stuff ?
    I mean an end 2 end tutorial to build mdb+jms resources in oc4j + client
    it will be far better if the tutorial shows how we can use jdeveloper features for this task (if it provide any wizard...)

    This is an example of a client:
    public String listeningJMS (Context context) throws Exception
    String topicName = "jms/demoTopic";
    String topicConnectionFactoryName = "jms/TopicConnectionFactory";
    TopicConnectionFactory topicConnectionFactory = null;
    TopicConnection topicConnection = null;
    TopicSession topicSession = null;
    Topic topic = null;
    TopicSubscriber topicSubscriber = null;
    TextMessage message = null;
    String fileName = null;
    * Look up connection factory and topic. If either does
    * not exist, exit.
    try
    topicConnectionFactory = (TopicConnectionFactory)
    context.lookup(topicConnectionFactoryName);
    topic = (Topic) context.lookup(topicName);
    * Create connection.
    * Create session from connection; false means session is
    * not transacted.
    * Create subscriber.
    * Register message listener (TextListener).
    * Receive text messages from topic.
    * When all messages have been received, enter Q to quit.
    * Close connection.
    topicConnection =
    topicConnectionFactory.createTopicConnection();
    topicSession =
    topicConnection.createTopicSession(false,
    Session.AUTO_ACKNOWLEDGE);
    topicSubscriber =
    topicSession.createSubscriber(topic);
    topicConnection.start();
    System.out.println("Receiving: ");
    TextMessage msg = (TextMessage) topicSubscriber.receive();
    String xmlString =msg.getText();
    topicConnection.close();
    System.err.println("Received: "+xmlString);
    fileName = this.getFileName(msg.getText());
    } catch (Exception e) {
    throw e;
    } finally {
    if (topicConnection != null) {
    try {
    topicConnection.close();
    } catch (JMSException e) {throw e;}
    return fileName;
    public static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "welcome1" );
    env.put(Context.PROVIDER_URL, "ormi://localhost:12401");
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    return new InitialContext( env );
    }

  • How to upload & Download file in Adf using Jdeveloper 11.1.2 ??

    Hi All,
    I have just started working on Oracle ADF, Thanks a lot guys for solving our queries.
    I'm using Jdeveloper 11.1.2, How to upload and download file in ADF..?
    I have seen couple links on net but none of them worked on jdeveloper 11.1.2......
    Please Help......

    Hi guys,
    I'm able to download file in ADF using af:fileDownloadActionListener.......
    does any one knows how to upload a file using ADF???

Maybe you are looking for

  • How to stop syncing betwen 2 iphone

    How to turn of syncing betwen 2 iphones

  • Multi-user multi-head setup

    Purely out of curiosity, I would like to create the following setup: Computers: 1 (i.e. 1 motherboard) Physical displays: N Keyboards, mice: N Processor: >= N cores ...and have a separate tty allocated to each monitor/mouse/keyboard group such that N

  • Automatic Payment Run Bank Determination

    Hi, I encounter a problem deriving the bank account ID when making payment for an item of payment method "Bank Draft". However, the configuration for the automatic outgoing payment has been done. What can be the reason that the account ID is not deri

  • Key.getCode() problems on PC and published .exe, .swf and .app

    Hi! I have a kind of unusual problem... Im building a prototype for a UI wich you can navigate around in. And we use a mockup-prototype-model with a numeric keyboard built in and connected trough USB to fetch keypresses and use that as a joystick to

  • How do I handle this in .htaccess?

    Hi guys, How would I go about setting up a .htaccess file that forwards all requests to the root of the .com to another url, while maintaining all the beyond-the-root urls right where they are? Example : test.com -> forwarded to target.com test.com/h