JBoss 4.0.0RC1/3.2.3 - JDeveloper 10g - ADF UIX

While I realize that JDeveloper has only been tested (to one degree or another) with JBoss 3.2.X, I decided to try and publish to JBoss 4.X after failing with 3.2.X. (The results are the same for either server version).
I have a simple master-detail page off of which I have a create action on the detail section. The primary key is a DBSequence number that goes against a table with an insert trigger defined and a sequence for that field.
The create action opens an input form for creating a new record. In the emdedded OC4J, everything works just fine. Depsite following the developer's review paper on deploying to both standalone OC4J and JBoss, it fails completely. Errors are different, but I thought I would start with JBoss since this equates to our development environment:
When the create button is selected to initiate the action, the input form comes up but in the place where I would expect to see a temporary sequence value in the primary key field, the value is blank and the Execute button on this form does not activate. In addition, JBoss error log (both JBoss 3.2.3 and JBoss 4.0.0RC1 (and DR4)) displays the following (just showing a fragment):
2004-07-28 10:37:34,315 ERROR [org.jboss.web.localhost.Engine] StandardContext[paros]null
java.lang.ClassCastException
     at oracle.jbo.uicli.uix.PrimitiveTypes.getArray(PrimitiveTypes.java:122)
     at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef._adapt(JUCtrlAdaptValueBindingRef.java:106)
     at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef._adapt(JUCtrlAdaptValueBindingRef.java:96)
     at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef.access$4000071(JUCtrlAdaptValueBindingRef.java:40)
     at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef$CompositeModel.get(JUCtrlAdaptValueBindingRef.java:219)
     at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:218)
     at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
     at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
     at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
     at oracle.jsp.el.OracleExpressionEvaluator.evaluate(Unknown Source)
     at oracle.jsp.el.OracleExpression.evaluate(Unknown Source)
     at oracle.cabo.ui.expl.ELBoundValue._evaluate(Unknown Source)
     at oracle.cabo.ui.expl.ELBoundValue.getValue(Unknown Source)
     at oracle.cabo.ui.collection.DataObjectListNodeList.getDataObjectList(Unknown Source)
     at oracle.cabo.ui.collection.DataObjectListNodeList.size(Unknown Source)
     at oracle.cabo.ui.BaseUINode.getIndexedChildCount(Unknown Source)
     at oracle.cabo.ui.BaseRenderer.getVisibleIndexedChildCount(Unknown Source)
     at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._startRowMode(Unknown Source)
     at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer.render(Unknown Source)
     at oracle.cabo.ui.BaseUINode.render(Unknown Source)
     at oracle.cabo.ui.BaseUINode.render(Unknown Source)
     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
     at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer._renderVisibleIndexedChildren(Unknown Source)
     at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer.render(Unknown Source)
     at oracle.cabo.ui.BaseUINode.render(Unknown Source)
     at oracle.cabo.ui.BaseUINode.render(Unknown Source)
     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
Has anyone been at all successful using ADF-UIX from JDeveloper 10g and JBoss of any version? (Note I have followed the steps to install ADF Runtime, setvars, etc).
Thanks
Ray

Yes. I have no problem with jdeveloper10g and jboss-3.2.3.
Niether on my note with both linux, win, nor on production server with linux.
Carefully look where do you install ADF Runtime (server defualt), and what server do you start (default is all). Simply change startup server to default or, copy jboss-3.2.3/server/default/deploy/bc4j.ear to jboss-3.2.3/server/all/deploy/

Similar Messages

  • Problem with JDeveloper 10G ADF tutorial

    Hi, I'd followed the instructions from the "Deploying an End to End Application Using Default Technology Scope" tutorial for the JDeveloper 10G (9051), but when I try to run the struts data page the following error apears:
    500 Internal Server Error
    java.lang.NoSuchMethodError: java.lang.String java.net.URLEncoder.encode(java.lang.String, java.lang.String)
         java.lang.String oracle.jbo.http.HttpSessionCookieHelperImpl.readCookieValue(javax.servlet.http.HttpServletRequest, java.lang.String)
              HttpSessionCookieHelperImpl.java:44
         java.lang.String oracle.jbo.http.HttpSessionCookieImpl.readValue(java.lang.Object)
              HttpSessionCookieImpl.java:189
         void oracle.jbo.http.HttpSessionCookieImpl.<init>(java.lang.String, java.lang.String, oracle.jbo.common.ampool.ApplicationPool, java.security.Principal, javax.servlet.http.HttpServletRequest)
              HttpSessionCookieImpl.java:101
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpSessionCookieFactory.createSessionCookie(java.lang.String, java.lang.String, oracle.jbo.common.ampool.ApplicationPool, java.util.Properties)
              HttpSessionCookieFactory.java:103
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(java.lang.String, java.lang.String, java.util.Properties)
              ApplicationPoolImpl.java:418
         oracle.jbo.common.ampool.SessionCookie oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(java.lang.String, oracle.adf.model.BindingContext, java.lang.String, java.lang.String, java.lang.String, java.util.Properties, java.util.Properties, boolean, boolean)
              DataControlFactoryImpl.java:154
         oracle.adf.model.DataControl oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(oracle.adf.model.BindingContext, java.lang.String, java.util.Map, java.util.Map)
              DataControlFactoryImpl.java:220
         oracle.adf.model.DataControl oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(oracle.adf.model.BindingContext, org.w3c.dom.Node, java.util.Map)
              DataControlFactoryImpl.java:97
         void oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(java.lang.String, java.util.Map)
              JUMetaObjectManager.java:612
         oracle.adf.model.BindingContext oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(javax.servlet.http.HttpServletRequest)
              ADFBindingFilter.java:328
         void oracle.adf.model.servlet.ADFBindingFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              ADFBindingFilter.java:173
         void com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:600
         void com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:317
         boolean com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.ApplicationServerThread, com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindHttpServletRequest, com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:790
         void com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:270
         void com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:112
         void com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run()
              ReleasableResourcePooledExecutor.java:192
         void java.lang.Thread.run()
              Thread.java:484
    Is there someone that could help me?

    Hi,
    Please see:
    NoSuchMethodError
    Hope this helps,
    JR

  • JDeveloper 10g, ADF Faces & BC: setVar method on CoreTable is not working

    Hi all,
    I am in the process of creating a custom tag library for our organization. I seem to be having problems with the setVar method on the CoreTable component. I created a simple reproducible example using the scott/tiger schema. Within my tabletest.jsp, I have a af:table which was created via dragging from the datacontrol pallet. Next, I add my custom tag and set the same value attribute. When I run the page, #{row.Deptno} does not evaluate to anything! However, I know that the value is set properly due to the same number of rows appearing within my custom table tag.
    Suggestions are appreciated.
    thanks,
    Wes
    Here is the screen shot of my example:
    http://www.flickr.com/photos/54652784@N03/5062690216
    jsp code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://acme.customtag" prefix="customtag"%>
    <f:view>
    <afh:html>
    <afh:head title="tabletest">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <af:messages/>
    <h:form>
    <af:outputText value="below is the adf table"/>
    <af:table value="#{bindings.ViewObj1.collectionModel}" var="row">
    <af:column sortProperty="Deptno" sortable="false"
    headerText="#{bindings.ViewObj1.labels.Deptno}">
    <af:outputText value="#{row.Deptno}"/>
    </af:column>
    <af:column sortProperty="Dname" sortable="false"
    headerText="#{bindings.ViewObj1.labels.Dname}">
    <af:outputText value="#{row.Dname}"/>
    </af:column>
    </af:table>
    <af:objectSpacer width="10" height="50"/>
    <af:outputText value="Below is the custom table"/>
    </h:form>
    <customtag:customtable value="#{bindings.ViewObj1.collectionModel}"
    disabled="false"/>
    </afh:body>
    </afh:html>
    </f:view>
    CustomTable.java code:
    package customtag;
    import java.io.IOException;
    import javax.faces.application.Application;
    import javax.faces.component.UIComponentBase;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import oracle.adf.view.faces.component.core.data.CoreColumn;
    import oracle.adf.view.faces.component.core.data.CoreTable;
    import oracle.adf.view.faces.component.core.output.CoreOutputText;
    public class CustomTable extends UIComponentBase {
    public static final String COMPONENT_TYPE = "customtag.customtable";
    public static final String RENDERER_TYPE = null;
    private CoreTable table = new CoreTable();
    public CustomTable() {
    public void encodeChildren(FacesContext context) throws IOException {
    // Encode the top most component
    Application apps = context.getApplication();
    table.setVar("row");
    Object value = getAttributes().get("value");
    CoreColumn column = new CoreColumn();
    CoreOutputText cout = new CoreOutputText();
    if (value != null) {
    table.setValue(value);
    ValueBinding rowValueBinding =
    apps.createValueBinding("#{row.Deptno}");
    Object rowValue = resolveExpression("#{row.Deptno}");
    if (rowValue != null) {
    System.out.println("rowValue is reconized. " + rowValue);
    cout.setValue(rowValue);
    } else if (rowValueBinding.getValue(context) != null) {
    System.out.println("rowValueBinding is reconized." +
    rowValueBinding.getValue(context));
    cout.setValueBinding("Value", rowValueBinding);
    } else {
    System.out.println("row is not reconized.");
    cout.setValue("this is a hard coded row attribute value");
    column.getChildren().add(cout);
    table.getChildren().add(column);
    table.encodeAll(context);
    public static Object resolveExpression(String expression) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    Application app = ctx.getApplication();
    ValueBinding bind = app.createValueBinding(expression);
    return bind.getValue(ctx);
    public boolean getRendersChildren() {
    return true;
    public String getFamily() {
    return COMPONENT_TYPE;
    }

    Hi,
    you don't mention a JDeveloper version. If you are not on a recent version, can you try one. If it reproduces, please provide steps required for a reproducible test case
    Frank

  • JDeveloper 10g, ADF Faces & BC: List Binding Editor Bug?

    This problem comes up quite frequently, we have a form based on an entity based vo, one of the attributes is based on a read only list vo. When using the List Binding Editor to generate the jsp/pageDef code, the attributes do not show up in the "matching" pane.
    http://i108.photobucket.com/albums/n23/zeoneozero/error.gif
    We end up having to use the AM that is not nested to get the List Binding Editor to recognize the attributes, but then we need to manually go into the pageDef and add the RootAM reference. Anyone come across this?

    Hi,
    you don't mention a JDeveloper version. If you are not on a recent version, can you try one. If it reproduces, please provide steps required for a reproducible test case
    Frank

  • JDeveloper 10g, ADF, ANT:How to define ant task for EAR & WAR file creation

    I am trying to automate the deployment process of our ADF Faces & BC application. I have reviewed this doc:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28951/anttasks.htm
    and followed the procedure for integrating ant onto the server. I can build the project and also successfully deploy the ear file. Howerver, I did not find any instruction on how to generate the EAR file. Can anyone point me to the right place for this task definition?
    Here is my current build.xml file.
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Jul 16, 2007 12:20:13 PM-->
    <project name="CRDBApps" default="build-all" basedir="." xmlns:oracle="antlib:oracle">
    <property file="build.properties"/>
    <property file="ant-oracle.properties"/>
    <target name="clean-all" depends="">
    <ant antfile="build.xml" dir="CRDBView" target="clean"/>
    <ant antfile="build.xml" dir="CRDBLib" target="clean"/>
    <ant antfile="build.xml" dir="CRDBModel" target="clean"/>
    </target>
    <target name="build-all" depends="clean-all">
    <ant antfile="build.xml" dir="CRDBView" target="compile"/>
    <ant antfile="build.xml" dir="CRDBLib" target="compile"/>
    <ant antfile="build.xml" dir="CRDBModel" target="compile"/>
    </target>
    <target name="deployear" depends="">
    <echo message="-----> Deploying the application module deployment (ear) file"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBView/deploy/CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    </target>
    </project>
    thanks!
    Wes

    Thanks all for the tips. After reading up a bit today on ear/war files and ant. I ended up just creating a task to mimic the ear/war file structure. My script isnt pretty but I'll work on refining that later. Here is what I have if anyone ever is interested:
    <target name="war" depends="">
    <echo message="Executing target war..."/>
    <mkdir dir="war"/>
    <copydir src="CRDBView\public_html" dest="war\"/>
    <copydir src="CRDBView\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBModel\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBLib\classes" dest="war\WEB-INF\classes"/>
    <echo message="Creating war file..."/>
    <jar basedir ="war" destfile="CRDBApps.war"/>
    <echo message="Done executing target war..."/>
    </target>
    <target name="ear" depends="war">
    <echo message="Executing target ear..."/>
    <mkdir dir="ear\META-INF"/>
    <copydir src="CRDBView\deploy\META-INF" dest="ear\META-INF"/>
    <copy file="CRDBApps.war" todir="ear\"/>
    <jar basedir ="ear" destfile="CRDBApps.ear"/>
    <echo message="Done executing target ear..."/>
    </target>
    <target name="cleanAndDeployCRDBApps" depends="build-all,deployear">
    <echo message="Executing target cleanAndDeployCRDBApps..."/>
    <delete dir="war"/>
    <delete dir="ear"/>
    <echo message="Done executing target cleanAndDeployCRDBApps..."/>
    </target>
    <target name="deployear" depends="ear">
    <echo message="Executing target deployear"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver:6003/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    <delete file="CRDBApps.ear"/>
    <delete file="CRDBApps.war"/>
    <echo message="Done executing target deployear"/>
    </target>
    ...

  • JDeveloper 10g ADF (oracle.jbo.JboException) JBO-29000:

    Hello,
    I am using JDeveloper to create ADF and with one form I have this error:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    Details are:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    ----- LEVEL 1: DETAIL 0 -----
    (java.lang.NullPointerException) null
    Stack trace is:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:228)
         at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:274)
         at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:187)
         at gui.operativniPlan.FormOperativniPlan.main(FormOperativniPlan.java:98)
    ## Detail 0 ##
    java.lang.NullPointerException
         at gui.operativniPlan.FormOperativniPlan.jbInit(FormOperativniPlan.java:59)
         at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:184)
         at gui.operativniPlan.FormOperativniPlan.main(FormOperativniPlan.java:98)
    ----- LEVEL 1: DETAIL 0 -----
    java.lang.NullPointerException
         at gui.operativniPlan.FormOperativniPlan.jbInit(FormOperativniPlan.java:59)
         at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:184)
         at gui.operativniPlan.FormOperativniPlan.main(FormOperativniPlan.java:98)
    Any idea where should I look for a problem?
    Regards,
    Nenad

    at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:187)
    1. Check your face-config.xml, you might be setting a binding container reference in one of the manage bean properties.
    2. Check your bean source file and ensure you have a instance var defined with the same name from the face-config.xml and also you have setter/getters for the var.

  • JDEVELOPER 10G, ADF BC: Passivate static instance variables in AM?

    I understand the need to passivate/activate instance variables but what about static instance variables within an application module?
    Thanks,
    Wes

    Static variables - being class variables and not instance variables - persist without a need for passivation. Is there a particular reason or scenario why to use static variables? You have to consider that since all AM instances will share it, changing it in one AM instance - i.e. one user session - will affect all other AM instances - i.e. all other user sessions! You also have to consider the implications of multithreading when attempting to modify the static variable.

  • JDeveloper 10g & ADF BC:Unexpected behavior on activation within AM

    I have overwritten the passivateState/activateState within my root am. The DOM printout is correct after the passivation but upon activation, the nodes seem to be concatenated together. I'm perplexed on how this is happening, anyone run into this?
    This is what I'm trying to passivate (visually). Which works as intended.
    -MYMAP
    ---KEY0
    ------CHILD_NODE_0
    ------CHILD_NODE_1
    ---KEY1
    ------CHILD_NODE_0
    ------CHILD_NODE_1
    This is what I get upon activation
    -MYMAP
    ---KEY0
    ------CHILD_NODE_0CHILD_NODE_1
    ---KEY1
    ------CHILD_NODE_0CHILD_NODE_1
    here is my code and printout:
    private void printMapWithChildNode(Node mapNode) {
    NodeList nl = mapNode.getChildNodes();
    for (int i = 0; i < nl.getLength(); i++) {
    Node node = nl.item(i);
    for(int j=0; j<node.getChildNodes().getLength(); j++){
    System.out.println("i: " + i + "key: " + node.getNodeName() +
    " value: " +
    node.getChildNodes().item(j).getNodeValue() +" on j: "+j);
    private void passivateMenuItemMap(Document doc, Element parent, Map map, String NODE_KEY_NAME){
    if (map != null) {
    Node mapNode = doc.createElement(NODE_KEY_NAME);
    for (Iterator keys = map.keySet().iterator(); keys.hasNext();) {
    String key = (String)keys.next();
    Node keyNode = doc.createElement(key); // KEY0,KEY1, ETC...
    ModuleNameAndPatientCheck mnpc =(ModuleNameAndPatientCheck) map.get(key);
    Node childNode1 = doc.createTextNode("CHILD_NODE_0");
    Node childNode2 = doc.createTextNode("CHILD_NODE_1");
    keyNode.appendChild(childNode1);
    keyNode.appendChild(childNode2);
    mapNode.appendChild(keyNode);
    parent.appendChild(mapNode);
    printMapWithChildNode(mapNode);
    PRINT OUT:
    10/11/30 10:49:04 i: 0 key: KEY0 value: CHILD_NODE_0 on j: 0
    10/11/30 10:49:04 i: 0 key: KEY0 value: CHILD_NODE_1 on j: 1
    10/11/30 10:49:04 i: 1 key: KEY1 value: CHILD_NODE_0 on j: 0
    10/11/30 10:49:04 i: 1 key: KEY1 value: CHILD_NODE_1 on j: 1
    public void activateMenuItemMap(Element elem, Map map, String NODE_KEY_NAME) {
    if (elem != null) {
    NodeList nl = elem.getElementsByTagName(NODE_KEY_NAME);
    if (nl != null && nl.item(0)!=null) {
    printMapWithChildNode(nl.item(0));
    PRINT OUT:
    10/11/30 10:49:04 i: 0 key: KEY0 value: CHILD_NODE_0CHILD_NODE_1 on j: 0
    10/11/30 10:49:04 i: 1 key: KEY1 value: CHILD_NODE_0CHILD_NODE_1 on j: 1
    ...

    Got word from metalink that this is bug 9220124. There are no official fixes for either 10g or 11g at this point. I ended up creating extra nodes to get the code to work.

  • Please help me : Show table form on Browser by JDeveloper 10g

    Good Day.
    Dear Mr.Steve and Everybody
    I have a problem about Oracle JDeveloper 10g (ADF).
    I select data from Oracle Database 10g as show below.
    But I want to show on browser by Group By duplicate column.
    Ps. Use the JDeveloper 10g (ADF).
    (ref. by SId)
    |----- Table 1 --------|----- Table 2 -----|
    | S | Nam | LName | SubjId | SName |
    |----|---------|------------|-----------|-------------|
    | 1 | aaaa | aaaaaa | 00001 | nnnnnn |
    |----|---------|------------|-----------|-------------|
    | 1 | aaaa | aaaaaa | 00001 | nnnnnn |
    |----|---------|------------|-----------|-------------|
    | 2 | bbbb | bbbbbb | 00002 | kkkkkk |
    |----|---------|------------|-----------|-------------|
    | 2 | bbbb | bbbbbb | 00002 | kkkkkk |
    |----|---------|------------|-----------|-------------|
    | 2 | bbbb | bbbbbb | 00002 | kkkkkk |
    Best Regards,
    Sakhapob Chaipisutthipong (Thailand)

    I'm sorry !!!!
    (ref. by S)
    |----- Table 1 --------|----- Table 2 -----|
    | S | Nam | LName | SubjId | SName |
    |----|---------|------------|-----------|-------------|
    | 1 | aaaa | aaaaaa | 00001 | nnnnnn |
    |----|---------|------------|-----------|-------------|
    | 1 | aaaa | aaaaaa | 00002 | kkkkkk |
    |----|---------|------------|-----------|-------------|
    | 2 | bbbb | bbbbbb | 00002 | kkkkkk |
    |----|---------|------------|-----------|-------------|
    | 2 | bbbb | bbbbbb | 00003 | pppppp |
    |----|---------|------------|-----------|-------------|
    | 3 | cccc | cccccc | 00002 | kkkkkk |
    ----------------------------------------------------

  • JDeveloper/ADF/UIX Book

    Hello,
    I want to find out how big the learning curve would be for my organization to use the UIX framework in JDeveloper. Personally, I like it, but the initial cost of getting up to speed seems high, especially for non-Web developers. A dedicated book on the UIX framework would definitely be helpful.
    Does anybody know if Oracle or somebody else is working on an UIX book and when that would be available?
    Thanks

    Yes, it is true that we are planning on de-supporting the UIX JSP tag libraries, and thus the note mentioned in the thread. But, ADF UIX with UIX XML is our BIG thing for the release of JDeveloper 10g. The 10g release contain features like visual editor, easy data binding, partial page rendering, and easy customization of the UIX look and feel and much much more cool stuff.
    UIX is also our pre-cursor to JavaServer Faces (JSF), which will add a very rich set of components to the JSF world. For more information about the road a head for UIX please refer to this paper
    http://otn.oracle.com/products/jdev/collateral/papers/9.0.5.0/adfuix_roadmap/adfuix_roadmap.html
    Thanks,
    Jonas
    JDeveloper Team (ADF UIX)

  • NPE when calling getConnection() with JBoss 3.0.0RC1

    I'm getting the following exception only when I'm using JBoss 3.0.0RC1.
    No problem with earlier version of JBoss 3.0, so this maybe a JBoss
    issue.
    However, I can't debug this without knowing what URL Kodo is trying
    to look up. My guess is getTransaction() is trying to look up the
    transaction
    manager and is passing a null URL string.
    20:19:54,715 ERROR [STDERR] java.lang.NullPointerException
    20:19:54,725 ERROR [STDERR] at
    javax.naming.InitialContext.getURLScheme(Init
    ialContext.java:227)
    20:19:54,725 ERROR [STDERR] at
    javax.naming.InitialContext.getURLOrDefaultIn
    itCtx(InitialContext.java:276)
    20:19:54,735 ERROR [STDERR] at
    javax.naming.InitialContext.lookup(InitialCon
    text.java:350)
    20:19:54,745 ERROR [STDERR] at
    com.solarmetric.kodo.ee.JNDIManagedRuntime.ge
    tTransaction(JNDIManagedRuntime.java:36)
    20:19:54,755 ERROR [STDERR] at
    com.solarmetric.kodo.ee.EEFactoryHelper.getPe
    rsistenceManager(EEFactoryHelper.java:102)
    20:19:54,755 ERROR [STDERR] at
    com.solarmetric.kodo.impl.jdbc.ee.EEPersisten
    ceManagerFactory.newPersistenceManager(EEPersistenceManagerFactory.java:148)
    20:19:54,765 ERROR [STDERR] at
    com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
    onFactory.getConnection(JDOConnectionFactory.java:89)
    20:19:54,775 ERROR [STDERR] at
    com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
    onFactory.getConnection(JDOConnectionFactory.java:70)

    Yan-
    The JBoss people have seen it fit to change the mechanism for
    configuring Resource Managers between 3.0.0 beta and 3.0.0 RC1, as per
    http://www.jboss.org/online-manual/HTML/ch03.html:
    Access to Resource Managers
    THIS CHAPTER IS PRIMARILY RELEVANT TO JBOSS 3 (RABBITHOLE) VERSIONS
    BEFORE RC1
    THE MBEANS FOR CONFIGURING DATASOURCES/ADAPTERS IN RC1 ARE COMPLETELY
    DIFFERENT FROM THOSE DESCRIBED HERE. FOR DESCRIPTIONS OF EACH ATTRIBUTE,
    CONSULT THE GENERATED JMX-API DOCUMENTATION.
    I am going to work on putting together an example working configuration,
    but it is difficult without any documentation or useful examples. In the
    meantime, you may want to manually bind a PersistenceManagerFactory into
    JNDI and just use that.
    Yan Or <[email protected]> wrote:
    JCA. See my other postings "kodo.jar and systems.pref".
    Interestingly, with the earlier version of JBoss 3.0.0, it works
    even though I didn't package system.prefs with the .rar file, so
    I'm guessing it uses a default value?
    I also tried looking up "java:/TransactionManager" in the same
    method where getConnection() was called and I was able to
    find the object.
    Patrick Linskey wrote:
    Yan,
    It's looking up the pref called 'tm-location' (which we set to
    'java:/TransactionManager' in our default system.prefs).
    Are you deploying via JCA or JNDI?
    -Patrick
    Yan Or <[email protected]> writes:
    I'm getting the following exception only when I'm using JBoss 3.0.0RC1.
    No problem with earlier version of JBoss 3.0, so this maybe a JBoss
    issue.
    However, I can't debug this without knowing what URL Kodo is trying
    to look up. My guess is getTransaction() is trying to look up the
    transaction
    manager and is passing a null URL string.
    20:19:54,715 ERROR [STDERR] java.lang.NullPointerException
    20:19:54,725 ERROR [STDERR] at
    javax.naming.InitialContext.getURLScheme(Init
    ialContext.java:227)
    20:19:54,725 ERROR [STDERR] at
    javax.naming.InitialContext.getURLOrDefaultIn
    itCtx(InitialContext.java:276)
    20:19:54,735 ERROR [STDERR] at
    javax.naming.InitialContext.lookup(InitialCon
    text.java:350)
    20:19:54,745 ERROR [STDERR] at
    com.solarmetric.kodo.ee.JNDIManagedRuntime.ge
    tTransaction(JNDIManagedRuntime.java:36)
    20:19:54,755 ERROR [STDERR] at
    com.solarmetric.kodo.ee.EEFactoryHelper.getPe
    rsistenceManager(EEFactoryHelper.java:102)
    20:19:54,755 ERROR [STDERR] at
    com.solarmetric.kodo.impl.jdbc.ee.EEPersisten
    ceManagerFactory.newPersistenceManager(EEPersistenceManagerFactory.java:148)
    20:19:54,765 ERROR [STDERR] at
    com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
    onFactory.getConnection(JDOConnectionFactory.java:89)
    20:19:54,775 ERROR [STDERR] at
    com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
    onFactory.getConnection(JDOConnectionFactory.java:70)
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • Kodo on jboss-3.0.0RC1

    Has anyone gotten KodoJDO to successfully deploy on jboss-3.0.0RC1? It
    seems that it deploys ok, but does not register any kodo object under the
    name "java:/kodo" or whatever jndi name you have specified in the
    kodo-services.xml file. Below is my kodo-services.xml file. Does anyone
    see any problems?
    Thanks,
    -Chris
    <?xml version="1.0" encoding="UTF-8"?>
    <server>
    <!-- you should put any JDBC drivers you will be using
    in the lib directory so Kodo can find them -->
    <classpath codebase="lib" archives="*"/>
    <mbean code="org.jboss.resource.ConnectionFactoryLoader"
    name="jboss.jca:service=ConnectionFactoryLoader,name=Kodo">
    <attribute name="JndiName">kodo</attribute>
    <depends optional-attribute-name="ResourceAdapterName">
    jboss.jca:service=RARDeployment,name=KodoJDO
    </depends>
    <depends optional-attribute-name="ConnectionManagerFactoryLoaderName">
    jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory
    </depends>
    <!-- fill in your Kodo configuration properties here.
    Don't forget your license key. -->
    <attribute name="ManagedConnectionFactoryProperties">
    LicenseKey=<insert your own>
    MinPool=0
    MaxPool=10
    ConnectionDriverName=org.hsqldb.jdbcDriver
    ConnectionURL=jdbc:hsqldb:hsql://localhost:1476
    ConnectionUserName=sa
    ConnectionPassword=
    DictionaryName=com.solarmetric.kodo.impl.jdbc.schema.dict.HSQLDictionary
    WarnOnPersistentTypeFailure=true
    </attribute>
    <attribute name="ConnectionManagerProperties">
    MinSize=0
    MaxSize=10
    BlockingTimeoutMillis=5000
    IdleTimeoutMinutes=30
    CleanupIntervalMinutes=10
    MaxIdleTimeoutPercent=1.0
    </attribute>
    <attribute name="PrincipalMappingClass">
    org.jboss.resource.security.ManyToOnePrincipalMapping
    </attribute>
    <attribute name="PrincipalMappingProperties">
    </attribute>
    </mbean>
    </server>

    Chris-
    Sorry for the long delay in responding. The problem is that the JBoss
    people have completely changed the configuration format for resource
    adaptor -service.xml files between 3.0.0beta and 3.0.0RC1, and there is
    no documentation on it as of yet (see my posting on the thread "NPE when
    calling getConnection() with JBoss").
    I'll work on making a working example for 3.0.0RC1.
    Chris West <[email protected]> wrote:
    Has anyone gotten KodoJDO to successfully deploy on jboss-3.0.0RC1? It
    seems that it deploys ok, but does not register any kodo object under the
    name "java:/kodo" or whatever jndi name you have specified in the
    kodo-services.xml file. Below is my kodo-services.xml file. Does anyone
    see any problems?
    Thanks,
    -Chris
    <?xml version="1.0" encoding="UTF-8"?>
    <server>
    <!-- you should put any JDBC drivers you will be using
    in the lib directory so Kodo can find them -->
    <classpath codebase="lib" archives="*"/>
    <mbean code="org.jboss.resource.ConnectionFactoryLoader"
    name="jboss.jca:service=ConnectionFactoryLoader,name=Kodo">
    <attribute name="JndiName">kodo</attribute>
    <depends optional-attribute-name="ResourceAdapterName">
    jboss.jca:service=RARDeployment,name=KodoJDO
    </depends>
    <depends optional-attribute-name="ConnectionManagerFactoryLoaderName">
    jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory
    </depends>
    <!-- fill in your Kodo configuration properties here.
    Don't forget your license key. -->
    <attribute name="ManagedConnectionFactoryProperties">
    LicenseKey=<insert your own>
    MinPool=0
    MaxPool=10
    ConnectionDriverName=org.hsqldb.jdbcDriver
    ConnectionURL=jdbc:hsqldb:hsql://localhost:1476
    ConnectionUserName=sa
    ConnectionPassword=
    DictionaryName=com.solarmetric.kodo.impl.jdbc.schema.dict.HSQLDictionary
    WarnOnPersistentTypeFailure=true
    </attribute>
    <attribute name="ConnectionManagerProperties">
    MinSize=0
    MaxSize=10
    BlockingTimeoutMillis=5000
    IdleTimeoutMinutes=30
    CleanupIntervalMinutes=10
    MaxIdleTimeoutPercent=1.0
    </attribute>
    <attribute name="PrincipalMappingClass">
    org.jboss.resource.security.ManyToOnePrincipalMapping
    </attribute>
    <attribute name="PrincipalMappingProperties">
    </attribute>
    </mbean>
    </server>--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • ANN: Oracle JDeveloper 10g is Production

    Oracle is proud to announce the immediate availability of Oracle JDeveloper 10g (9.0.5.1).
    This new version is focused on making J2EE development simpler by providing a visual and declarative development approach using the innovative Oracle Application Development Framework (Oracle ADF).
    Oracle JDeveloper 10g includes features that will appeal to both novice and experienced Java developers. Some of the new features in this release include:
    Visual layout editing for both JSP/HTML and Swing user interfaces.
    Drag-and-Drop data-binding of business services to the user interface
    Visual Struts-based page flow modeler
    Declarative creation of business services based on EJB, TopLink, JavaBeans, Web Services, or Oracle ADF Business Components
    Visual UML modeling with code generation
    Code Auditing and Metrics
    Hot-Swap Debugging
    Improved code editor
    XML Schema visual editor
    Database development and Database modeling
    One-Click deploy to Oracle Application Server, BEA Weblogic, JBoss and Tomcat
    Web services development and consumption with support for WS-I
    And much more.
    Download Oracle JDeveloper 10g from http://otn.oracle.com/products/jdev

    Not quite there yet, but very, very close, the zip archive is 0k in size after downloading the complete install.

  • [ANN] Oracle JDeveloper 10g is now available for download.

    It's probably worth a mention in this forum too ;-)
    In case you haven't notice we have just released Oracle JDeveloper 10g production with a many new features that makes it the ideal Java tools for Oracle Application Server users.
    Check it out at:
    http://otn.oracle.com/products/jdev
    A partial list of new features:
    Visual layout editing for both JSP/HTML and Swing user interfaces.
    Drag-and-Drop data-binding of business services to the user interface
    Visual Struts-based page flow modeler
    Declarative creation of business services based on EJB, TopLink, JavaBeans, Web Services, or Oracle ADF Business Components
    Visual UML modeling with code generation
    Code Auditing and Metrics
    Hot-Swap Debugging
    Improved code editor
    XML Schema visual editor
    Database development and Database modeling
    One-Click deploy to Oracle Application Server, BEA Weblogic, JBoss and Tomcat
    Web services development and consumption with support for WS-I
    And much more.

    It is no longer available for download - if you have a valid Support contract, pl create an SR and request Support to ship you the media
    HTH
    Srini

  • [ANN] Oracle JDeveloper 10g production is now available for download.

    It's probably worth a mention in this forum too ;-)
    In case you haven't notice we have just released Oracle JDeveloper 10g production with a many new features that makes it the ideal Java tools for Oracle Application Server users.
    Check it out at:
    http://otn.oracle.com/products/jdev
    A partial list of new features:
    Visual layout editing for both JSP/HTML and Swing user interfaces.
    Drag-and-Drop data-binding of business services to the user interface
    Visual Struts-based page flow modeler
    Declarative creation of business services based on EJB, TopLink, JavaBeans, Web Services, or Oracle ADF Business Components
    Visual UML modeling with code generation
    Code Auditing and Metrics
    Hot-Swap Debugging
    Improved code editor
    XML Schema visual editor
    Database development and Database modeling
    One-Click deploy to Oracle Application Server, BEA Weblogic, JBoss and Tomcat
    Web services development and consumption with support for WS-I
    And much more.

    Hi,
    That is definitely a product manager - positioning question (forum ID: oalonso), so I'd recommend that you ask the same question in the SES forum. The Text team has been monitoring that forum and answering most of the posts there, so you'd probably be more likely to get your question answered.
    Secure Enterprise Search
    -Ron

Maybe you are looking for

  • Why doesn't the TV show I downloaded show up in iTunes library?

    I purchased a Season Pass and successfully downloaded the series directly to Apple TV. iTunes has sent me two Season Pass Notifications for new episodeds. After downloading these episodes on my Computer, they do not appear anywhere in iTunes. I've tr

  • Get doc date according to material no

    Hello all, I am working on a query which gets the po orders, document date and material numbers associated to it. My need is to get the latest document date by the material number. My date is a characteristic and not a key figure  therefore i cannot

  • My Facebook app will force close when I open it

    I click on the app and it will open for a few seconds then it will force close on me. I have restarted my iphone 5 several times deleted the app several times as well and the app still close FYI this is the only app that does it.

  • My iphone 5 deleted my outlook calendars on my laptop.

    When I synced my iphone 5 and laptop my iphone deleted a couple of outlook calendars off my laptop. Is there a way to find and restore the deleted calendars?

  • Unable to print after upgrading to Snow Leopard (Dell 1320C) - Network

    This recently started after upgrading to Snow Leopard. The OSX drivers worked well with Leopard 10.5.xx but after upgrading to Snow Leopard, i keep getting "network host busy" or "could not connect to printer". I've tried completly removing printer,