Unable to create EJB Data Control

Hi,
I'm using JDEveloper 11.1.1.7.
I've a Fusion Application, and I need to create an EJB Data Control for an EJB placed in another project, let's say:
Application A:
Model
ViewController
Application BEJBs
I'v tried to create the data control for the EJB from the Model, first referencing directly the library of the EJB inside the model, after by adding the src folder to the Project and last of all, creating an ejb inside the Model and using the Interface referenced from the external library. All these attempts were negative, when I launch the wizards, I'm only able to choose the EJB from the library but after, when it ask me for the remote/local interface both combos are empty.
What am I doing wrong?
Thanks to everybody.
Stelvio

Thank for the answer.
The EJB must be in another Application because it follow a different development cycle, with other people working on it, so it isn't possibile ( and affordable ) to merge it with the new Application.
Of course, we found a way to communicate with the EJB from the Web App, writing a wrapper class around EJB methods, but, in that way we skip all the benefit from the EJB Data Control.

Similar Messages

  • "Source not found" Error creating URL Data control with query parameters

    Hi,
    I have a restful service for which i want to create a URL data control. I am able to create the URL data control successfully when i am not passing any parameters in the Source field. But if i am specifying the parameters in the source field like this Department=##ParamName##, something weird is happening. After giving the param string in the Source field, it asks for default param value to test the url. It tests the url successfully. After that i select XML as the data format in which i am mentioning the xsd like this . "file:///C:/..../something.xsd" . And this is when i am getting the error. "Invalid Connection. The source is not found". I am giving exactly same path for xsd which i gave while creating URL data control without query parameters. Infact i was able to create the URL data control with query parameters successfully till afternoon. after that it started giving me this error all of a sudden. Infact as soon as i was able to create a URL data contol with query parameter successfully, i took a backup of the application before moving further. But even that backup is not working now.
    As far as i understand, i dont think there will be any change in xsd if query params are passed to a web service. Please correct me if i am wrong.
    Just dont know what could be the issue. Please help
    Thanks

    Hi,
    xsd is used for the URL service to know what the returned data structure is so it can create the ADF DC metadata
    Frank

  • JDeveloper - create csv data control adapter

    Oracle 10.1.3.4
    Following tutorial of creating data control adapter. I can see the csv file in my System Navigator but 1) can't right click to select Create Data Control AND 2) can't drag and drop csv to data control pallete. According to oracle's documentation a simple CSV data control adapter ships with JDeveloper. I can see the contents of the csv and view data in JDeveloper but can't right click on csv file to get menu 'Create data control adapter'. My goal in making the adapter will allow me to use the csv as data source to create search form and then make local table for other forms.
    Therefore, proceeded with following directions:
    1) created dapter-definition.xml, extension.xml then added library files to properties and followed instructions to copy files in specific directories after creating jar file containing specific files but can't locate directory oracle/adfinternal/model/adapter/sample... for several of the needed files. Attempted to make directories with needed classes so references are not blank, not working or something missing.
    In attempt to work around, located another oracle jar file that contains looks to be similiar CSV Handler$1.class, CSVHandler.class, CSVParser.class, but can't find SampleDataControl.class, SampleDCAdapter.class and SampleDCDef.class? As a result, copied code from tutorial and it's still not allowing me to right click on a this node type (CSV) and select Create Data Control.
    Please advise!!

    Thank you so much for your reply! =)
    To answer your question, I was trying to create a new adapter because I couldn't find how to use an exising one. Sure, I'll try using the existing one as it looks like this wizard will allow me to use my spreadsheet or it can be a xml file. But note this file is local, located on my hard drive. I suppose I could move it to the server if I have to. Is there a way to do this with a local file?
    Thanks again Frank

  • Unable to Create New Data Model

    Hello all,
    I have been using BI publisher 11g for sometime but at best can be treated as a newbie. I was able to create New data models, reports, layouts etc till sometime ago.
    Now when I try to create a New Data Model I get an error message saying
    Unable to load ~weblogic/usr/temp/xxxxxxxx.xdm
    I click on Ok and create my data set using the SQL query.
    Now when I try to generate a sample xml I get the following error message:
    org.xml.sax.SAXParseException: : XML-20108: (Fatal Error) Start of root element expected.
    I understand something has changed in the server but I cannot pin point what and where.
    Any help will be highly appreciated.....
    Thanks,
    Geetesh

    The JDK/Java that ODI using should be 64bit if ODI 11.1.1.6 is 64 bit.   (I think JDK 1.6 is recommended for this ODI version)
    Also, for which technology you are creating a data server ? and what error message you are getting while creating it ?
    Thanks,
    Santy.

  • Unable to create a data base

    Hi
    I'm just trying to create a database in webmatrix by following steps :
    database>new database>filling the fields username : root and password :root >Here I have this error : "unable to connect to any of the specified MySQL hosts"
    I unstalled the mySQL and Installed it agaain , but in any of it's steps It didn't want the user or pass ! :-?
    but my problem didn't fixed 
    I copied the error details here :
    Unable to connect to any of the specified MySQL hosts.
    MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
       at MySql.Data.MySqlClient.NativeDriver.Open()
       at MySql.Data.MySqlClient.Driver.Open()
       at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
       at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
       at MySql.Data.MySqlClient.MySqlPool.GetConnection()
       at MySql.Data.MySqlClient.MySqlConnection.Open()
       at Microsoft.WebMatrix.DatabaseManager.MySqlDatabase.MySqlDatabaseProvider.TestConnection(String connectionString)
       at Microsoft.WebMatrix.DatabaseManager.IisDbManagerModuleService.TestConnection(DatabaseConnection databaseConnection, String configPathState)
       at Microsoft.WebMatrix.DatabaseManager.Client.ClientConnection.Test(ManagementConfigurationPath configPath)
       at Microsoft.WebMatrix.DatabaseManager.Client.DatabaseHierarchyInfo.EnsureLoaded()

    My problem changed
    I reinstalled MySQL and proceeded to Excute level
    there had this error
    Unable to create new database.
    Access denied for user 'root'@'localhost' (using password: YES)
    and also in webmatrix :
    Unable to create new database.
    Access denied for user 'root'@'localhost' (using password: YES)
    MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: YES)
       at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySql.Data.MySqlClient.NativeDriver.AuthenticateNew(Boolean reset)
       at MySql.Data.MySqlClient.NativeDriver.Authenticate(Boolean reset)
       at MySql.Data.MySqlClient.NativeDriver.Open()
       at MySql.Data.MySqlClient.Driver.Open()
       at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
       at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
       at MySql.Data.MySqlClient.MySqlPool.GetConnection()
       at MySql.Data.MySqlClient.MySqlConnection.Open()
       at Microsoft.WebMatrix.DatabaseManager.MySqlDatabase.MySqlDatabaseProvider.CreateDatabase(String adminConnectionString, String databaseName, String userName, String password)
       at Microsoft.WebMatrix.DatabaseManager.IisDbManagerModuleService.CreateDatabase(DatabaseConnection databaseConnection, String configPathState)
       at Microsoft.WebMatrix.DatabaseManager.Client.DBManagerController.CreateDatabase(ProviderInfo providerInfo, DatabaseConnection databaseConnection)
       at Microsoft.WebMatrix.DatabaseManager.Client.DBManagerController.<>c__DisplayClassa.<AddDatabase>b__6()
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    Hi,
    I am afraid that this is not the proper forum for this issue, since this issue is related to MySQL which belongs to third-party.
    I would suggest you post this issue in the other popular forum or connect with its publisher to get help.
    Reference:
    http://forums.mysql.com/
    In addition, you could check whether you could log with that user account to narrow down this issue.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to create a data server for xml file

    Hi ,
    I have created a data server for a xml file but when i test the connection i am getting the below error.
    java.sql.SQLException: class org.xml.sax.SAXException
    Prefix not found: xsi
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1100)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:371)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.localConnect(SnpsDialogTestConnet.java:794)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:754)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:137)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:133)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$IvjEventHandler.actionPerformed(SnpsDialogTestConnet.java:87)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Can any one help me out with this issue ?
    Thanks in advance,
    Balajitk

    HI Balaji,
    Below is the sample xml file which i have saved as test.xml and placed it @ D: drive
    Test.xml:
    <employee>
    <emp>
    <eno>1</eno>
    <ename>Test1</ename>
    </emp>
    <emp>
    <eno>2</eno>
    <ename>Test2</ename>
    </emp>
    <emp>
    <eno>2</eno>
    <ename>Test2</ename>
    </emp>
    </employee>
    Goto Topology >Expand Technologues>right click on XML and select new data source
    in Defination Tab, provide the physical architecture name
    in JDBC Tab, provide the below details
    JDBC Driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    JDBC URL: jdbc:snps:xml?f=d:\test.xml&d=test.dtd&re=employee&s=TEST&ro=false
    Save it
    Click on Test Connection and again click on test, it should show test connection as "Successfully Test"
    Hope this may helps you
    Regards,
    Phanikanth

  • How to create custom Data Control for Iterator?

    Hi,
    I have seen somewhere that is possible to customize set of data controls for all iterators in Data Controll Palette e.g. by adding custom data control (I remember JDev uses Velocity to display data controls). Is there any documentation or tutorial how to do it. Meybe any Oracle ACE will write some steps on his blog.
    Kuba

    I'm looking for any documentation or better some examples to customize files:
    jdev/system/oracle.adfm.dt.faces.10.1.3.41.57/jsp_databinding_templates.xml
    jdev/system/oracle.adfm.dt.faces.10.1.3.41.57/faces_creator_configuration.xml
    This customization may be very useful while developing appliations
    Kuba

  • Unable to Create EJB Test Application ....

    Folks - I realize that I need to have my EJB offer remote interfaces in order to be able to setup an EJB Test Application from within SJSE6 - but nonetheless, the option is uanvailble off the main menu for logical Session Bean node -
    Any thoughts ?
    John Schmitt

    Hi,
    in order to generate the test app, you have to create a J2EE application and add the beans to it using the explorer, than the option should be enabled.
    Also it is much better that you use Studio to create the beans and all of the components of the application. Do not create the beans by hand, the IDE will create all of the interfaces for you automatically when you use it to create the beans.
    Regards Jirka

  • Unable to create New Data Server

    I keep running into these basic issues before even getting started with the integration work.
    I tried to create a New Data Server from Topology->Physical Architecture->Technologies. But when I try to right-click on any of the technologies, I get no response. The window doesn't to me for some strange reason. If I right-click on Technolgies, ODI does prompt me to either create New or Import technology.
    rAnyone had this issue before?
    Cheers

    Yeah I had Java version 7.02. I think it read in prequisites that the latest supported version is 1.7+. I downgraded to 6.25 and works nicely!
    Thanks for the help.

  • Unable to create  planning data source

    hi,
    we having hyperion plannig 11.1.1.3 version . i am trying to create data source it display error i.e i gave sever name ,user id, password after i click validate it display error

    Hi,
    I am also facing the same issue. I have uninstalled ans installed the application around 20 time..I am also not able to figure out. Please let me know the location of log,
    Thanks,
    Praveen Joshi

  • Unable to create ejb.jar file.

    how do we create an ejb.jar file in j2ee explorer.
    I am not able to see the option <i>Build Ejb.jar</i>
    in the context menu when i click on my ejb project
    Regards
    Naresh Garg

    hi Naresh,
    There is option called EJB Archive this option builds your EJB. if your trying to create Web Module Project you can only create WAR file .
    Venkat

  • 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

  • Unable to create web Service Data Control

    I'm trying to consume a service in my UI. And under it, I'm creating a data control for the service WSDL given below
    [http://pc181356.cts.com:8001/soa-infra/services/default/GetPatientDetailsPrj/a2t_getpatientdetailsprocess_client_ep?WSDL]
    I verified the link in browser & is working good, But in the wizard it is giving error as "Failed to read WSDL file caused by: java.net.ConnectionException: Connection timed out".
    Please help me out..!!!

    Do you have a proxy defined in your jdev? This might prevent reading from the address you specified.
    If you can access the url in a browser, you can store the WSDL on your local pc and use the local file to create the webServiceDataControl.
    Timo

  • Exception while creating Data Control

    Good day house,
    I have been doing some research on using business components design in other IDEs with Oracle ADF faces within JDeveloper 11g.
    I went through the following steps
    create a Java EE web application - a model and viewcontroller project
    imported my EJB project jar file - but I could not get an icon to show me the beans within my jar, so I imported the source instead
    On importing the source, I right click on my bean classes and chose create Data control but it comes with an exception
    May 27, 2009 2:15:10 AM oracle.javatools.logging.LogUtils log
    WARNING: Plugin threw exception: oracle.adfdtinternal.model.ide.datatransfer.jclient.JClientJavaSourceNodePlugin@1439ad
    java.lang.NullPointerException
         at oracle.adfdtinternal.model.ide.dbpanel.jclient.JClientUtil.getContextFromEditor(JClientUtil.java:539)
         at oracle.adfdtinternal.model.ide.datatransfer.jclient.PaletteItemProviderInfo.dropOnSameFile(PaletteItemProviderInfo.java:83)
         at oracle.adfdtinternal.model.ide.datatransfer.jclient.JClientJavaSourceNodePlugin.handleDataControlInfo(JClientJavaSourceNodePlugin.java:80)
         at oracle.adfdtinternal.model.ide.datatransfer.jclient.JClientJavaSourceNodePlugin.augmentImpl(JClientJavaSourceNodePlugin.java:56)
         at oracle.javatools.datatransfer.AbstractTransformingDataTransferPlugin.augmentIfDesired(AbstractTransformingDataTransferPlugin.java:65)
         at oracle.javatools.datatransfer.DataTransferPluginRegistry._runPlugin(DataTransferPluginRegistry.java:151)
         at oracle.javatools.datatransfer.DataTransferPluginRegistry.performAugmentation(DataTransferPluginRegistry.java:98)
         at oracle.adfdtinternal.model.ide.dbpanel.DataPanelDropListener._getTransferable(DataPanelDropListener.java:331)
         at oracle.adfdtinternal.model.ide.dbpanel.DataPanelDropListener.drop(DataPanelDropListener.java:253)
         at oracle.adfdtinternal.model.ide.dbpanel.DataPanelDropListener.drop(DataPanelDropListener.java:114)
         at java.awt.dnd.DropTarget.drop(DropTarget.java:434)
         at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
         at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
         at java.awt.Component.dispatchEventImpl(Component.java:4358)
         at java.awt.Container.dispatchEventImpl(Container.java:2081)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
         at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4036)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3890)
         at java.awt.Container.dispatchEventImpl(Container.java:2067)
         at java.awt.Window.dispatchEventImpl(Window.java:2458)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Hence, I have two question
    1. Can I create my data control from the bean interfaces instead of the bean?
    2. Why the exception? Is it a problem with my JDeveloper installation?
    3. Is it also possible to create a data control from any plain java object/interface.
    thanks in advance

    Did you create the weblogic domain with the Oracle Webcenter Spaces option selected? This should install the relevant libraries into the domain that you will need to deploy your application. My experience is based off WC 11.1.1.0. If you haven't, you can extend your domain by re-running the Domain Config Wizard again (WLS_HOME/common/bin/config.sh)
    Cappa

  • Problems to create data control in JDeveloper 11g

    Hi everybody , I´m having problems to use Data Control in Jdev 11 , I create an jpa , and with my entities I create the data control component , but when I try to create a JSF page I can´t use data control, where is data control component palette ?

    Please post JDev 11 questions on the JDev 11 forum
    JDeveloper and OC4J 11g Technology Preview
    Follow this tutorial to see the data control palette for EJB/JPA
    http://www.oracle.com/technology/obe/obe11jdev/11/ejb/ejb.html
    Here is how it will look like:
    http://www.oracle.com/technology/obe/obe11jdev/11/ejb/images/t50105.gif

Maybe you are looking for

  • Using InfoPath to make a form that filters multiple rows alphabetically into their according SharePoint Lists.

    Hello, I would like to create a form in InfoPath that looks similar to something you would see in excel, by that mean that I am able to enter multiple lines of data. After I submit the form, the data will be sorted/filtered by the first letter of the

  • [JS, CS2] Find Text - Change Paragraph Style

    I have text supplied to me formated with <g>,< b>,<k> or <r> at the start of paragraphs, this represents different paragraph styles that need to be applied. <br /><br />I started a script below, but it comes up with an error at "app.findTextPreferenc

  • Quicksilver dual A1038 monitors possible?

    Hi, I inherited a Quicksilver 2002 and have a single A1038 monitor. My question is, can I run a second A1038 on it somehow? Would I need to add an additional graphics card with ADC connector (if so, what would be compatible?) or could I use some sort

  • Duplicate Document message

    Hi Basic question. Where is the place to config error message for duplicate document ? GL. AR and AP docs, invoices, error message shoud appear if the amt, date or GL, vendor/customer are same Raj

  • Basic Autenticaation without weblogi.xml failed

    Hello, I have a problem with the Basic-Authentication, in a simple Webapp contains with a Servlet called "servlet1", enable Security in Weblogic 7.0 and add new Role called "testrole" for the Webapp,in the Defaultrealm. Now configuration the web.xml