Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC connection for ADF

637583Jul 20 2009 — edited Mar 23 2010
I am trying to install my first ADF application on a standalone localhost Weblogc server using only the admin server. I am using the July 1,2009 release of Jdeveloper on XP. I created an EAR/WAR and installed it using Adm Console.

The install went ok, but I am receiving a strange error that may be related to how I am defining the jdc connection.

My Jdeveloper connect is NBCV3

WHat should the JDBC name be ?

What should the JNDI name be ?

I saw the example in the developers guide and do not know what the "DS" purpose is.

I have tried:
JDBC name: NBCV3 Jndi Name : jdbc/NBCV3
JDBC name: NBCV3 Jndi Name : jdbc/NBCV3DS
JDBC name: NBCV3DS Jndi Name : jdbc/NBCV3DS

Are any of these right?


I received the error even when I deleted the JDBC entry.

The effect of the error message is that no tables or forms are rendered. Only Images, and buttons are rendered.



chuck


log:

Jul 20, 2009 1:11:52 PM org.apache.myfaces.trinidadinternal.io.HtmlResponseWrite
r endElement
SEVERE: Element End name:div does not match start name:table
<Jul 20, 2009 1:11:52 PM CDT> <Error> <HTTP> <BEA-101020> <[ServletContext@32999
431[app:ear720 module:nbc path:/nbc spec-version:2.5 version:V2.0]] Servlet fail
ed with Exception
java.lang.NullPointerException
at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIterator
Binding.java:3658)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding.__g
etSortCriteria(FacesCtrlRangeBinding.java:260)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$Face
sModel.getSortCriteria(FacesCtrlHierBinding.java:352)
at org.apache.myfaces.trinidad.component.UIXCollection.getSortCriteria(U
IXCollection.java:476)
at oracle.adfinternal.view.faces.renderkit.rich.table.TableRenderingCont
ext.getSortCriteria(TableRenderingContext.java:81)
Truncated. see log file for complete stacktrace
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2010
Added on Jul 20 2009
10 comments
4,763 views