Create data control from java class, not see "ADF Parameter Forms" option

Hi,
I have created a Fusion Web Application (ADF) in jdev 11g. In the application model project, I created a java class. Inside the java class, I have a public method as below
public Asset [] searchAsset3(SearchTerm s) // SearchTerm is a java bean. It implements java.io.Serializable.
I created data control from my java class. After that, I see an xml file generated under the same folder of my java class. Here is the xml content.
<?xml version="1.0" encoding="UTF-8" ?>
<JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="11.1.1.53.62"
id="AIAAsset" Package="oracle.apps.aia.oer.model"
BeanClass="oracle.apps.aia.oer.model.AIAAsset" isJavaBased="true">
<MethodAccessor IsCollection="true"
Type="com.flashline.registry.openapi.entity.Asset"
BeanClass="com.flashline.registry.openapi.entity.Asset"
id="searchAsset" ReturnNodeName="Asset"
CollectionBeanClass="UpdateableCollection">
<ParameterInfo id="name" Type="java.lang.String" isStructured="false"/>
<ParameterInfo id="version" Type="java.lang.String" isStructured="false"/>
<ParameterInfo id="description" Type="java.lang.String"
isStructured="false"/>
</MethodAccessor>
<MethodAccessor IsCollection="true"
Type="com.flashline.registry.openapi.entity.AssetSummary"
BeanClass="com.flashline.registry.openapi.entity.AssetSummary"
id="searchAssetSummary" ReturnNodeName="AssetSummary"
CollectionBeanClass="UpdateableCollection">
<ParameterInfo id="name" Type="java.lang.String" isStructured="false"/>
<ParameterInfo id="version" Type="java.lang.String" isStructured="false"/>
<ParameterInfo id="description" Type="java.lang.String"
isStructured="false"/>
<ParameterInfo id="type" Type="java.lang.String" isStructured="false"/>
</MethodAccessor>
<MethodAccessor IsCollection="true"
Type="com.flashline.registry.openapi.entity.Asset"
BeanClass="com.flashline.registry.openapi.entity.Asset"
id="searchAsset3" ReturnNodeName="Asset"
CollectionBeanClass="UpdateableCollection">
<ParameterInfo id="s" Type="com.flashline.registry.openapi.query.SearchTerm"
isStructured="true"/>
</MethodAccessor>
<ConstructorMethod IsCollection="true"
Type="oracle.apps.aia.oer.model.AIAAsset"
BeanClass="oracle.apps.aia.oer.model.AIAAsset"
id="AIAAsset"/>
</JavaBean>
Then, in application user interface project, I created a JSPX page. From the data controls palette, I want to drag and drop the searchAsset3 onto my page. However, I don't see an option for me to choose "Create -> Parameters -> ADF Parameter Form". I only see "Create -> Methods". Unlike other public methods (e.g.searchAssetSummary and searchAsset) which have simple data type as input, I can see the "Create -> Parameters -> ADF Parameter Form" option when I drag and drop to my jspx page. Is that something I missed while creating data controls?
Thanks.
Arnold.

Then, my other question is how do you do the bindings? I drag and drop the attributes from SearchTerm bean. Now the pagedef file has the AttributeValues added but my method is actually expecting one input parameter of type SearchTerm. How do you bind the attributes to the input of the method? Thanks.
See below of my pagedef xml file.
<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="11.1.1.53.62" id="SearchAssetBySearchTerm1PageDef"
Package="oracle.apps.aia.oer.view.pageDefs">
<parameters/>
<executables>
<variableIterator id="variables"/>
<methodIterator Binds="SearchTerm.result" DataControl="AIAAsset"
RangeSize="25"
BeanClass="com.flashline.registry.openapi.query.SearchTerm"
id="SearchTermIterator"/>
</executables>
<bindings>
<methodAction id="SearchTerm" RequiresUpdateModel="true"
Action="invokeMethod" MethodName="SearchTerm"
IsViewObjectMethod="false" DataControl="AIAAsset"
ClassName="com.flashline.registry.openapi.query.SearchTerm"
ReturnName="AIAAsset.methodResults.SearchTerm_AIAAsset_SearchTerm_result"/>
<attributeValues IterBinding="SearchTermIterator" id="key">
<AttrNames>
<Item Value="key"/>
</AttrNames>
</attributeValues>
<attributeValues IterBinding="SearchTermIterator" id="operator">
<AttrNames>
<Item Value="operator"/>
</AttrNames>
</attributeValues>
<attributeValues IterBinding="SearchTermIterator" id="value">
<AttrNames>
<Item Value="value"/>
</AttrNames>
</attributeValues>
<methodAction id="searchAsset3" RequiresUpdateModel="true"
Action="invokeMethod" MethodName="searchAsset3"
IsViewObjectMethod="false" DataControl="AIAAsset"
InstanceName="AIAAsset.dataProvider"
ReturnName="AIAAsset.methodResults.searchAsset3_AIAAsset_dataProvider_searchAsset3_result">
*<NamedData NDName="s"*
NDType="com.flashline.registry.openapi.query.SearchTerm"/>+
</methodAction>
</bindings>
</pageDefinition>

Similar Messages

  • Data Control from Java Class

    Using JDev 11gPS4
    I have a java class that i want to use as a DC:
    (simplified)
    public class AccountDC {
        public AccountDC() {
            super();
        public void insertAccount(Account account){
            //Do some things
    }Account:
    public class Account {
        private String name,alias;
        public Account() {
            super();
        public void setName(String name) {
            this.name = name;
        public String getName() {
            return name;
        public void setAlias(String alias) {
            this.alias = alias;
        public String getAlias() {
            return alias;
    }When I create the data control from the first class, i get the insertAccount operation.
    When i drop the account parameter on my JSPX page, JDev suggest an ADF Form which is fine.
    When I drop the insertAccount method below the form, JDev suggest an ADF Button which is also fine.
    JDeveloper doesn't seem to know that the values provided in the above form should be mapped to an Account object for the insertAccount.
    How should I do this?
    In the bindings I do have the individual attributeValues for each attribute but I don't seem to have a reference to an Account object. Do i need to add something to my DC?
    Another question... Is it maybe better to create a VO with only transient attributes and an Application Module where i expose my own custom createInsert method?
    It's all custom code. It does not write anything to a database.

    You should have an object that represent your method's parameter in your data control - if you'll drag it into your page you'll get the fields needed.
    Similar to the way it is done in this example:
    http://blogs.oracle.com/shay/entry/updateinsert_with_adf_web_serv

  • Problems with data controls from java classes in JSF pages.

    Hi! We have a problem in our Application that we are developing with JSF pages using Data Controls generated from facades java classes. When we running a page in debug mode and the page are loading, if we insert a breakpoint in the first line of method referenced in the data control, the execution enter two times in the method, and this is a problem for us. How to solve this?
    We are using JDeveloper 11.1.1.2 with ADF faces.

    You might need to play around with the refresh property of the action binding.
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/adf_lifecycle.htm#BJECHBHF

  • Is it possible to create data control from wsdl when complextype is used

    Getting DCA-40015 error when trying to create a data control from WSDL file.
    The error clearly says complextype is not supported . just trying to see if there are any workarounds . because creating data control will save time in developing user interface by dragging and dropping the the data control in jsf page. jdeveloper webservice tester is able to create user interface for me based on wsdl when i run it , trying to develop the user interface using jsf pages
    oracle.adf.model.adapter.AdapterException: DCA-40015: Failed to create the structure for schema element "result". The complex type definition of the element is not supported.

    Hi,
    I could reproduce what I did:
    - created WebService from custom Pojo Model
    - Made sure all entities implemented serializable
    - In the WebServices Wizard, I created XML representations for my entities
    - tested with OC4J WebServices tester
    - Built ADF data control from WSDL file of deployed WebService
    - Created dependency t project containing the POJO entities
    - Selected result.xml of each method exposed in the WebService project
    - In the structure window, selected "item" (result-->item)
    - changed Bean class to my entity class name (absolute name)
    This showed my entity in the DC palette
    Frank

  • Creating Web Service from Java Class-How to eliminate nillable="true"

    Does anyone know how to eliminate the attribute, nillable="true", from the element tags which describe the parameters in the WSDL created when creating a web service from a Java Class? It does this only for the string types. Is there something I need to set when creating the web service or before creating the web service? Or the only way is to modify this WSDL then recreate the web service from the WSDL.
    example part of wsdl:
    this is in the <types> tag:
    <complexType name="getData">
    <sequence>
    <element name="schema" type="string" nillable="true"/>
    <element name="table_or_view_name" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="getDataResponse">
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>

    I did do this and I got the following error when deploying to the Stand-alone OC4j:
    Operation failed with error:
    Error compiling
    :D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBOperationsWSApp-DBData-WS\WebServices: Error instantiating compiler: webservice artifact generation failed :oracle.j2ee.ws.common.tools.api.ValidationException : Exception declaration mismatch between Implementation: dbdatapackage.DBDataOperations and Interface: dbdatapackage.DBDataWS. Impl class Method: getData declares exceptions not declared by the interface (java.lang.Exception)
    I am quite sure what it is saying. It generated the code for the Interface: dbdatapackage.DVDataWS. Impl class. Why would it not do it right? What expection is it complaining about? java.lang.Exception?

  • Create web service from java class in Jdeveloper 11g

    I have very simple java class which I want to expose as a web service. I am using the Jdeveloper's in-built wizard to "Creat Web Service" from a java class. While doing so when I am selecting a method to be exposed as a web service, I get a error pop-up which says "Failed to load system class."
    I am not able to understand the reson for this error. I tried to do this with a very simple java code too but still no luck!!
    Here is the code:
    public class DownloadFileFromECMWrapper {
    public DownloadFileFromECMWrapper() {}
    public static void main(String args[]){
    DownloadFileFromECMWrapper obj = new DownloadFileFromECMWrapper();
    obj.callDownloadFileFromECM("C:\\shivam\\MyFile.txt");
    public String callDownloadFileFromECM(String filePath){
    System.out.println(filePath);
    return filePath;
    Can someone please help me on this.
    Edited by: 962154 on Sep 28, 2012 2:37 PM

    I have very simple java class which I want to expose as a web service. I am using the Jdeveloper's in-built wizard to "Creat Web Service" from a java class. While doing so when I am selecting a method to be exposed as a web service, I get a error pop-up which says "Failed to load system class."
    I am not able to understand the reson for this error. I tried to do this with a very simple java code too but still no luck!!
    Here is the code:
    public class DownloadFileFromECMWrapper {
    public DownloadFileFromECMWrapper() {}
    public static void main(String args[]){
    DownloadFileFromECMWrapper obj = new DownloadFileFromECMWrapper();
    obj.callDownloadFileFromECM("C:\\shivam\\MyFile.txt");
    public String callDownloadFileFromECM(String filePath){
    System.out.println(filePath);
    return filePath;
    Can someone please help me on this.
    Edited by: 962154 on Sep 28, 2012 2:37 PM

  • How to used a JCR Data Control in Java class?

    Hi,
    I created a JCR Data Control to my UCM to obtain a treeTable with the datas. But it's impossible to create a treeTable like i want to.
    So I know how to create a treeModel to obtain the treeTable I want.
    Is there a way to used the getItems method of the dataControl in a Java Class?
    I tried this :
    BindingContext bc = (BindingContext)JSFUtils.resolveExpression("#{data}");
    DCDataControl dc = bc.findDataControl("UcmDC");
    But dc is null.
    There are some xml files (UcmDC.xml or getItems_return.xml). Is it a way to resolve my problem. And if so, how do I use?
    Best regards,
    Thomas

    please refer metalink id(305710.1)

  • System.out from Java class not output to JSP

    I am using JSP to make a Java API web accessible. I include (package) java classes that write error messages to standard out when they catch an error. Works fine on the command line. Problem occurs when using in JSP. I include them with a page directive (importing the package) rather than use them as beans, since they do so much more than beans do, and since I use many of the classes in a single page.
    i.e.
    <%@ page import="OPS.*" %>
    When errors occur, messages to "standard out" (system.out) don't appear in the html output of the JSP. I don't know where they are going (they aren't in the web server's error log), but they aren't going where I expected them to (browser window).
    I figured that standard out was the browser (httpServletResponse). Where am I going wrong here?
    Basically, I have a class that connects to a database (call it db) and does queries/updates. I have a class (call it employee) that uses the db class. I have a jsp page that instantiates the employee class and executes method calls. The code in the db class that outputs SQL error messages (db class instantiated by employee class) never gets put in the browser window. Nor in the server log, nor the console.
    How can I get system.out calls in classes db and employee to get output to the browser? The JSP outputs all other code and is not freezing nor not flushing the buffer.
    Thanks!

    I also use an Iplanet over which I have little control. But I can log on via telnet. If I log on (I use Reflection) and run my pages, the errors show in the Reflection window. If you have telnet access to the server, you might want to give this a try.
    Another alternative would be to add a few lines to your classes that allow you to pass a reference to the jsp StringWriter from your jsp and use that to output the errors to the browser.

  • How to create .exe files from Java class files?

    I'm new to Java and I just wonder if it is possible to make executable files out of Java class files. I've checked the Java online help and several search engines, but I still couldn't find anything about that. Is it possible to do so? If not, why not?
    Thanx a lot for any help.

    I don't remember if there is a program that converts the class file,
    but I do know that there are a few that either convert the class file,
    or the .java file. You might try searching for ".java to .exe" in the
    search engine and seeing what that pulls up.

  • Not able to access SOAP web service data control from adf mobile

    Hi,
    I am trying to call web services from adf mobile..
    I have created data control from external web service and it is perfectlly working on web browser..
    But why it is showing an error on emulator??
    Is there any .jar file missing in adf mobile so that it is not supporting a web service?
    Or is there any other problem? Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Please help me to solve this issue..
    Thanks,
    Laxmi

    Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Connecting to WSDL in the browser is not the same as connecting to WSDL in an application.
    To access a web service from an Android device enable a permission in AndroidManifest.xml that allows applications to open network sockets. Add the following uses-permission element.
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

  • Create Data Control not showing in EJB Session Bean context menu

    Hi All,
    I've been studying the new Oracle Application Development Framework Tutorial for 10g Release 3 (10.1.3). When I get to page 2-16 (page 31 of the PDF doc) it says to create ADF Data Control. Specifically is says " In the Applications Navigator, right-click the SRPublicFacadeBean.java node and choose Create Data Control from the context menu."
    But my context menu doesnt have the Create Data Control option. I double checked that I didn't miss a step in the tutorial. I'm sure it's something simple. Can anyone point me in the right direction? Is there another way to create the Data Control for an EJB Session Bean?
    Thanks,
    Cary

    I downloaded "jdevstudio1013.zip " and I still don't have this context menu?
    What are the steps to correct this?
    Thanks,
    --Todd
    Figured it out. I was having an extension issue and I had to turn off all of my extensions. Thus, turned on the ADF extension (duh!) and all was well.
    Message was edited by:
    jtp51

  • Web Service From Java class, serialization problem

    Hi,
    I want to create Web Service from Java class, I made java project, generated web service from it, create web service archive project and deployed it to WAS 6.40.
    My class have 2 methods,
    public int add(int a, int b);
    public MyResponse doSomthing(MyRequest req);
    I can succesfully call add method from Web Service Navigator, it works fine but when I call doSomthing methods I get the following error:
    <b>
    Deserializing fails. Nested message: XML Deserialization Error. Result class [com.mycomp.sap_tech.ws.MyRequest] does not have property [Amount] of type [java.lang.String]. It is required to load XML..
    </b>
    Any ideas how to resolve it?
    P.S. MyRequest class is exposed throw VI, has default constractor and public getters and setters for all properties. It implements Serializable as well. Any guesses?
    Thanks in advance,
    Victor.

    Hi Bhavik, thanks for response.
    as I already mentioned it implements Serializable, so it is not the problem.
    Thanks Avi but it didn't helps iether
    Victor

  • WEB SERVICE FROM JAVA CLASS

    Hi,
    I'm new to BPEL and I've a problem: i need to create a WEBSERVICE from Java class.
    This Java class contain functions to call other functions in other packages.
    These last function contain sql query: it's an java "interface" application between BPEL and an EXTERNAL Oracle database 10g.
    I want to create one WEB SERVICE from this application and i followed the steps (right click, menù, create j2ee webservice, etc) i obtain error:
    VALIDATION FAILED --- Files at the following URLs cannot be modified:
    File:/C:/OraBPELPM1/integration/jdev/jdev/mywork/RichiesteWebService/ARRICH/app/src/controller/MyWebService1.webservice
    File:/C:/OraBPELPM1/integration/jdev/jdev/mywork/RichiesteWebService/ARRICH/app/src/controller/IMyWebService.wsdl
    File:/C:/OraBPELPM1/integration/jdev/jdev/mywork/RichiesteWebService/ARRICH/app/src/controller/MyWebService1.dd
    Show the java class "interface":
    package controller;
    import java.util.*;
    import java.sql.*;
    import domain.*;
    import dao.*;
    import utility.*;
    public class Request_Incoming_Controller {
    public Request_Incoming_Controller() {}
    /* Update StatoTurismo */
    public static String aggiornaStTurismo(int numIncoming, String tur) {
    GregorianCalendar dp = FormatoData.dataDaDate1("00/00/0000");
    Request_Incoming ric = new Request_Incoming(numIncoming,"","",dp,dp,"","","",0,"",tur,"");
    // try {
    if(ric.aggiornaTurismo()<0)return "NO";
    return "OK";
    // } catch (SQLException ex) {
    // System.err.println("Eccezione durante l'aggiornamento "
    // + ex.getMessage()); }
    /* Update StatoCassa */
    public static String aggiornaStCassa(int numIncoming,String cash) {
    GregorianCalendar dp = FormatoData.dataDaDate1("00/00/0000");
    Request_Incoming ric = new Request_Incoming(numIncoming,"","",dp,dp,"","","",0,"","",cash);
    // try {
    if(ric.aggiornaCassa()<0) return "NO";
    return "OK";
    // } catch (SQLException ex) {
    // System.err.println("Eccezione durante l'aggiornamento "
    // + ex.getMessage()); }
    /* Lettura del NumIncoming assegnato dal sistema dopo il caricamento della
    * richiesta in base alla matricola del Dipendente
    public static int caricaNumDaDip(String dipendente){
    Request_Incoming ric = new Request_Incoming(0,dipendente);
    // try {
    ric.trovaNumIncoming();
    return ric.getNumIncoming();
    // } catch (SQLException ex) {
    // System.err.println("Eccezione durante l'aggiornamento "
    // + ex.getMessage()); }
    Can Anyone help?
    Is urgently.........thanks
    Daniele

    You should try to post it there:
    http://forums.oracle.com/forums/forum.jspa?forumID=97
    But if I look at the error, it looks like some files are Read-Only. Maybe you should check if they are or if you have the appropriate rights on the folder.
    Good luck

  • Getting Extra classes while creating Data Control in ADF

    I am using Jdeveloper 11.1.1.6.0.
    I was trying to create a Data Control from a Java class (containing event handling code) right click on the java class -> Create data Control.
    I can see many data controls were created in my work space when the operation was completed
    Example: java.io.InputStream.xml, java.net.URI.xml and many more.
    Anybody please suggest is it a problem in Jdeveloper tool or I need to perform any additional step to remove all these files.
    Regards,
    Rajesh

    Hello TimoHahn,
    I can see only the Data controls are getting generated (not the class files).
    Please find the code snippet for my class for which I generated data controls:
    public class ContexEvent {
        public ContexEvent() {
            super();
        public void handleEvent(ActionEvent payload){
            UIComponent component = payload.getComponent();
            Map<String, Object> attrMap = component.getAttributes();
            FacesContext context = FacesContext.getCurrentInstance();
            ELContext elContext = context.getELContext();
            Application application = context.getApplication();
            ExpressionFactory factory = application.getExpressionFactory();
            ValueExpression valueExpr = factory.createValueExpression(elContext, "#{backingBeanScope.NameBean}", Object.class);
            NameBean nb=(NameBean)valueExpr.getValue(elContext);
            //String newVal = (String)payload.getNewValue();
            nb.setFirstName("Rajesh");
            AdfFacesContext adfContext= AdfFacesContext.getCurrentInstance();
            adfContext.addPartialTarget(nb.getNameLabel());

  • Create Data Control does not work?!

    I created an application with JSF,EJB,TopLink JPA technology template.
    Two projects were generated, EJBModel and View Controller. So far so good.
    In EJBModel project I generated 6 entities from 6 db tables. I also created a native query in orm.xml and created a result class entity to take the result of this native query.
    I generated session EJB facade and added a method to invoke above native query.
    I also generated EJB client from this facade to test it.
    I run both to ensure query works as expected and it did.
    I then right clicked on session EJB facade and selected option Create Data Control.
    JDev pop-ed up two windows: one window to Choose EJB Interface dialog and on top of this one another window with title "Create Data Control" and with message "Creating data Control..." stuck forever. I could not remove nor stop this window executing, I had to kill JDev in Task Manager.
    Is this a known thing and is there a workaround? This is kind of urgent, any help is appreciated

    I returned to 10.1.3.2. and created the same application, but got bunch of exceptions which forced me a couple of weeks ago to switch to 11g Preview environment:
    SEVERE: [current-workspace-app] An error occured deploying EJB module: com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:OyaisPrototypeJSFEJB_EJBModel_0] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit Prototype.
    com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:OyaisPrototypeJSFEJB_EJBModel_0] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit Prototype.
         at com.evermind.server.ejb.exception.DeploymentException.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:86)
         at com.evermind.server.ejb.EJBPackageDeployment.initializePersistenceUnitManager(EJBPackageDeployment.java:1022)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:845)
         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.addApplication(ApplicationServer.java:1853)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1608)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:990)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: predeploy for PersistenceUnit [Prototype] failed.
    Internal Exception: Exception [TOPLINK-7156] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Unable to find the class named []. Ensure the class name/path is correct and available to the classloader.
    Internal Exception: java.lang.ClassNotFoundException:
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:615)
         at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:178)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
         ... 12 more
    Caused by: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: predeploy for PersistenceUnit [Prototype] failed.
    Internal Exception: Exception [TOPLINK-7156] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Unable to find the class named []. Ensure the class name/path is correct and available to the classloader.
    Internal Exception: java.lang.ClassNotFoundException:
         at oracle.toplink.essentials.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:212)
         ... 15 more
    Caused by: Exception [TOPLINK-7156] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Unable to find the class named []. Ensure the class name/path is correct and available to the classloader.
    Internal Exception: java.lang.ClassNotFoundException:
         at oracle.toplink.essentials.exceptions.ValidationException.unableToLoadClass(ValidationException.java:1751)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataHelper.getClassForName(MetadataHelper.java:283)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getClassForName(XMLHelper.java:109)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getValue(XMLHelper.java:431)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getNodeValue(XMLHelper.java:347)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getNodeValue(XMLHelper.java:298)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.queries.XMLNamedNativeQuery.<init>(XMLNamedNativeQuery.java:67)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors.XMLClassAccessor.processNamedNativeQueries(XMLClassAccessor.java:584)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors.XMLClassAccessor.processEntityMappings(XMLClassAccessor.java:496)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processMappingFile(MetadataProcessor.java:534)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processMappingFiles(MetadataProcessor.java:518)
         at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:352)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:584)
         ... 14 more
    Caused by: java.lang.ClassNotFoundException:
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.toplink.essentials.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:97)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataHelper.getClassForName(MetadataHelper.java:280)
         ... 25 more

Maybe you are looking for