JDeveloper Business components JSP problem!!
Hi all,
First of all sorry for my English language (very poor).
My question is when I generate Business components JSP Application by JDeveloper 9i
is running on JDeveloper(oc4j) without any problems but when I using resin server or tomcat I have this exception
Error Message: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
com.caucho.jsp.JspParseException: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
at com.caucho.jsp.ParseTagManager.getTag(ParseTagManager.java:144)
at com.caucho.jsp.java.JavaJspGenerator.getTag(JavaJspGenerator.java:1508)
at com.caucho.jsp.java.JavaJspBuilder.startElement(JavaJspBuilder.java:199)
at com.caucho.jsp.JspParser.parseOpenTag(JspParser.java:1204)
at com.caucho.jsp.JspParser.parseNode(JspParser.java:469)
at com.caucho.jsp.JspParser.parseJsp(JspParser.java:320)
at com.caucho.jsp.JspParser.parse(JspParser.java:251)
at com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:335)
at com.caucho.jsp.JspManager.compile(JspManager.java:182)
at com.caucho.jsp.JspManager.createPage(JspManager.java:130)
at com.caucho.jsp.PageManager.getPage(PageManager.java:244)
at com.caucho.jsp.PageManager.getPage(PageManager.java:181)
at com.caucho.jsp.QServlet.getSubPage(QServlet.java:289)
at com.caucho.jsp.QServlet.getPage(QServlet.java:216)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:144)
at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:173)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:149)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:256)
at com.caucho.server.port.WorkerThread.run(WorkerThread.java:126)
at java.lang.Thread.run(Thread.java:536)
any ideas please!!
:(
Similar Messages
-
Connecting to a database from Business Components JSP Application
Hallo All!
Can anybody give me an advice about connecting to a database from Business Components JSP Application? In all examples I see that Oracle user name and password placed in configuration file.
How can user provide his own name and password to start Oracle session and how then hi can close this session?
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitri:
Dear Laura,
I mean first variant where the database would be the same:
scott/tiger@database1
foo/bar@database1
Of course I understand that we must register every user in database by "CREATE USER XXX" and it is unacceptable for Internet. But it may be very convenient for an Intranet because we can build access restriction based on set of views without any changes in applications.
Best wishes,
Dmitri.<HR></BLOCKQUOTE>
null -
Oracle Objects / Domain / Business Components JSP App
Hi,
I use JDev 3.1 with Oracle 8.1.6
I would like to customize a Business Components JSP Application to be able to edit or add new row of a table containing one or more columns of type Object; like this :
create or replace type O_VALUE as OBJECT
TYPE_VALUE NUMBER,
STRING_VALUE VARCHAR2(30),
FLOAT_VALUE NUMBER(10,2),
BOOL_VALUE NUMBER(1),
INTEGER_VALUE NUMBER(10)
create table T_VALUE (
ID_VALUE VARCHAR2(20),
MIN_VALUE O_VALUE,
MAX_VALUE O_VALUE
I have created a domain for the type O_VALUE to incorporate in the entity created for T_VALEU by the wizard.
Is there a Wizard for editing an attribute of type Object of an entity ? If not how programmaticaly do that ?
Thanks a lot...You can use the DataTags to display/edit objects types. In our next release we will update the DataWebBeans to support this.
-
Calling JDeveloper Business Components
Hi All,
I would like to know if it is posiible by creating Java Business Components from JDeveloper and calling these business componets fromoutside Jdeveloper env..by importing the respective packages???>.
Thanks
ram
nullHi steve,
Thanks for the reply.I get unable to create application module exception when i try to use the business component in weblogic container version 5.1.I am using JDevelooper 3.1 version
public String ejbCreate(String productID,String name,String description,double basePrice) throws CreateException
System.out.println("****ejbCreate Called****");
this.productID = productID;
this.name = name;
this.description = description;
this.basePrice = basePrice;
Connection con = null;
PreparedStatement ps = null;
try {
String amName1 = "MyDev1.MyDev1Module";
String connStr = "jdbc:oracle:thin:scott/tiger@taipan:1521:web3";
Hashtable env = new Hashtable(2);
ApplicationModule appMod1 = null;
System.out.println("***First***");
env.put(Context.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
System.out.println("***Second***");
javax.naming.Context ic = new InitialContext(env);
ApplicationModuleHome home1 = (ApplicationModuleHome)ic.lookup(amName1);
System.out.println("***Third***"+this.productID);
appMod1 = home1.create();
System.out.println("***Third1111***");
appMod1.getTransaction().connect(connStr);
System.out.println("*****Connected*****");
ViewObject vo = appMod1.findViewObject("BeanproductView");
System.out.println("*****Found View Product*****");
System.out.println("Row count ***"+vo.getEstimatedRowCount());
AttributeDef[] attr = vo.getAttributeDefs();
for(int i=0;i<attr.length;i++)
System.out.println("Attr Name --->"+attr.getColumnName());
return productID;
}catch(Exception e)
System.out.println(e);
//can check here whether the exception is due to unique constraint
}finally {
// cleanup(con, ps);
return null;
Steve,the error it gives me is unable to create the application module after
****setEntityContext called****
****ejbCreate Called****
***First***
***Second***
Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to s
ee it)
***Third***PROD101
Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to s
ee it)
oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create applica
tion module.
Mon Sep 18 15:03:26 GMT+10:00 2000:<I> <EJB JAR deployment c:/weblogic/myserver/
rambnmj.jar> Exception in non-transactional EJB invoke:
javax.ejb.CreateException: A bean primary key field may not be null after ejbCre
ate has been called
at weblogic.ejb.internal.StatefulEJBObject.postCreate(StatefulEJBObject.
java:227)
at examples.ejb.basic.jdev.ProductBeanEOImpl.create(ProductBeanEOImpl.ja
va:60)
at examples.ejb.basic.jdev.ProductBeanHomeImpl.create(ProductBeanHomeImp
l.java:32)
at examples.ejb.basic.jdev.ProductBeanHomeImpl_WLSkel.invoke(ProductBean
HomeImpl_WLSkel.java:72)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java, Compiled Code)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
Please,help or suggest me in solving this problem...and more thing should we only use session beans when using Jdeveloper Business componenets...
Our help will be appreciated..
Thanks @ Cheers
Ram
null -
Business Components Import problem
Hi,
I am having trouble using the Imports option in the Project Properties of my Model project (Project Properties -> Business Components -> Imports). I have a jar that I want to import to the project. However, when I click the Import button, locate my file and click Open, nothing happens. It doesn't import the jar, nor does it close the Import File dialog.
Is this a bug? I am able to get around it for now by modifying the Model.jpr and Model.jpx files but this isn't a long term solution.
Thanks,
TracyIf you are attempting to import ADF BC objects packaged in a jar/adflib this is a known issue in the preview that has been resolved in more recent builds.
--Ric -
Tutorial - Building Business Components
I am using Oracle JDeveloper3.0 (Build 532) on Windows NT. I am trying to work through the above tutorial, but when I try to invoke the Business Components or New Entity Objects, nothing happens.
Have not installed some components correctly ? Do I need to make any changes to the Gallery.INI file ?
Thank you very much for your response..
SudarshanSudarshan,
It should never be necessary for you to edit your gallery.ini to get default installation behavior.
Are you sure you sucessfully installed JDeveloper?
My JDeveloper 3.1 Gallery.ini looks as pasted below. Yours should look similar.
You may have to re-install.
I hope this helps,
-John
[Gallery_Params]
snippetStorage=E:\JD31\snippets\en
left=241
top=88
width=518
height=347
locale=en_US
[Gallery_Pages]
Page1=Objects
Page2=Business Components
Page3=Web Objects
Page4=Beans
Page5=Snippets
[Gallery_Page1]
wizard=Application=oracle.jdeveloper.wizard.application.ApplicationWizard
wizard=Applet=oracle.jdeveloper.wizard.applet.AppletWizard
wizard=Frame=oracle.jdeveloper.wizard.frame.FrameBuilder
wizard=Panel=oracle.jdeveloper.wizard.panel.PanelBuilder
wizard=Dialog=oracle.jdeveloper.wizard.dialog.DialogBuilder
wizard=Class=oracle.jdeveloper.wizard.cls.ClassBuilder
wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
wizard=CORBA Server Object=oracle.jdeveloper.wizard.corba.CORBAWizard
wizard=SQLJ File=oracle.jdeveloper.wizard.sqlj.NewSqljBuilder
wizard=SQL File=oracle.jdeveloper.wizard.sqlplus.NewSQLPlus
wizard=IDL File=oracle.jdeveloper.wizard.idl.NewIdl
snippet=Standard Menus - AWT=StandardMenu.snippet=StandardMenu.gif
snippet=Standard Menus - JFC=SwingMenu.snippet=JFCStandardMenu.gif
wizard=Business Components Data Form=oracle.jdeveloper.wizard.formgen.dacform.DACFormWizard
[Gallery_Page2]
wizard=Business Components=oracle.jbo.dt.ui.main.DtuAppAddin
wizard=Entity Object=oracle.jbo.dt.ui.entity.EOAddin
wizard=View Object=oracle.jbo.dt.ui.view.VOAddin
wizard=View Link=oracle.jbo.dt.ui.viewlink.VLAddin
wizard=Association=oracle.jbo.dt.ui.assoc.ASAddin
wizard=Package=oracle.jbo.dt.ui.pkg.PKAddin
wizard=Application Module=oracle.jbo.dt.ui.module.AMAddin
wizard=Domain=oracle.jbo.dt.ui.domain.DOAddin
[Gallery_Page3]
wizard=HTML=borland.jbuilder.wizard.app.NewHtml
wizard=JSP=oracle.jdeveloper.wizard.app.NewJsp
wizard=HTTP Servlet=oracle.jdeveloper.wizard.servlet.ServletWizard
wizard=DB Servlet=oracle.jbo.dt.ui.formgen.dbservlet.DbServlet
wizard=Web Bean=oracle.jbo.dt.ui.wizards.webbean.WebBeanWizard
wizard=Business Components JSP Application=oracle.jbo.dt.ui.wizards.webapp.WebAppWizard
[Gallery_Page4]
wizard=Bean=oracle.jdeveloper.wizard.bean.BeanBuilder
wizard=BeanInfo=oracle.jdeveloper.wizard.bean.BeanInfoBuilder
wizard=Customizer=oracle.jdeveloper.wizard.bean.CustomizerBuilder
wizard=Property Editor=oracle.jdeveloper.wizard.bean.PropertyEditorWizard
wizard=EventSet=oracle.jdeveloper.wizard.bean.EventSetWizard
wizard=Oracle Forms PJC=oracle.jdeveloper.wizard.pjc.OracleFormsBuilder
wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
[Gallery_Page5]
snippet=Example Snippet=ExampleSnippet.snippet=ExampleSnippet.gif
snippet=Example JServer/EJB Client=ExampleJSEJBClient.snippet=ExampleEJBClient.gif
snippet=Example OAS/EJB Client=ExampleOASEJBClient.snippet=ExampleEJBClient.gif
snippet=Example JServer/CORBA Client=ExampleCORBAClient.snippet=ExampleCORBAClient.gif
snippet=Example Wizard/Addin=ExampleWizard.snippet=ExampleWizard.gif
null -
Business Components Wizard and Turkish Characters
Hi,
JDeveloper Business Components wizard produces source code which includes turkish characters. For example entity class created for table named TIP is Tıp. Actually in Turkish lowercase for I is ı but I would like the source code to be produced with i instead of ı("Tip"), since we develop our code in English. Is there any way of doing this. Making wizard work with english language.
Thanks in advance...I also tried to make new installation of Jdeveloper but it doesn't help anyway :( Nobody know what is wrong?
-
JDeveloper 9.0.5 and creating JSP for Business Components (BC4J)
Hi,
We've been creating Web applications from our BC4J projects quite happily using JDeveloper version 9.0.3 using the option on JSP for Business Components under the Web Tier Category. Recently we've been looking at version 9.0.5 and this option doesn't exist anymore. Does anyone know what the equivalent in 9.0.5 is to achieve this automated production of web applications.
RegardsCatherine,
This wizard no longer exists in JDeveloper 10g.
We found that in the overwhelming majoring of cases, developers would use the wizard to generate a number of pages and then "hit a wall" because they didn't understand how to evolve the applications to do something more close to what they really wanted. The results produced didn't lend themselves well to iterative modification, which in the end is what the bulk of application development ends up being.
In JDeveloper 10g, the developer builds up pages and ties them together in a less fully-automated way, but in a way that means encourages the interative and consistent "RAD" approach using visual editor, property palette, code editor, and structure window. -
How to create "Business Components Package" in the Jdeveloper ?
Hi,
I installed and set up "Patch 7523554 10G Jdeveloper With OA Extension ARU for R12 RUP6"
I have ran out the test_fwktutorial.jsp and test_fwklabsolutions.jsp.
All links work properly on these pages.
I created HelloWorld page from "Oracle Application Framework Toolbox Tutorials".
Its works properly too.
Then I started to create "Search Page".
I created "Business Component project" in the toolbox.jws.
I was trying to perform step 2.1 "Create the BC4J Package for Client (UI) Objects".
But I didn't find "Business Components Package" in the context menu.
Could you give me advice how can I create package of this kind ?
Thanks.I created "OA Workspace" and simultaneously with it created "Business Components Package" <yourname>.oracle.apps.ak.employee.
After this it i necessary to creates one more "Business Components Package" <yourname>.oracle.apps.ak.schema.server
I failed to create Package of this kind.
In the "BC4J Tutorial" It seems to me I found similr actions.
I suppose I may perform next step:
Figure 6-3 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABIAIEI
Figure 6-4 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABJIIII
But I failed to pass these steps.
Could you tell me, please, how to do this?
Thanks. -
JDeveloper 3.1 and JSP problems
Hello everybody.
I present myself. I am a French student in computer sciences who makes a training course in a French company. (You will excuse the bad quality of my English)
I have some difficulties in the use of Oracle JDeveloper tool.
1st problem:
I encountered this problem during the creation of a JSP page for a simple Intranet application connected to an Oracle database.
JDeveloper doesnt want to take into account the fact that one of my tables has two primary (composite) keys;(Each of these two keys is primary key of another table). That results on the one hand in an error during the loading of the default edition form (" JBO-25030: Failed to find or invalidate owning entity ") and in addition by impossibility of consulting the recordings of this table according to one of the two key parameters (selected in RowSetBrowser). Nevertheless, this last aspect works within the Oracle Business Component Browser.
2nd problem:
Imagine, for example, the following simplified conceptual diagram:
Racks ---> Files ---> Sheets (they are tables)
How on a JSP page, can I display in the easiest way (with a JSNavigatorTab and a RowSetBrowser), the recordings of the table Sheets of a particular File, without to use a selection at the table Racks level.
(You choose directly, with a ComboBox or a RowSetBrowser, a File to display all the corresponding Sheets, without to choose a Rack before.)
In fact, I try to have an application as simple and ergonomic as possible.
I thank all those who will be able to inform me on these obscure points which slow down my project considerably.
Regards.
Guillaume Vidal
nullHi,
* For your 1st problem, try to uncheck the "composite association" checkbox in the association object linking your tables together, should work better.
* For the second one,
when you create the application module containing the rack/file and sheet views, add the file view at root level (i.e do not use the view link relationship, which would include it as a detail view for the racks view), then add the sheet view through the file/sheet viewLink.
This way you'll be able to browse the entire file and sheet list in a basic master/detail view.
Good luck, Remi
by Guillaume Vidal:
Hello everybody.
I present myself. I am a French student in computer sciences who makes a training course in a French company. (You will excuse the bad quality of my English)
I have some difficulties in the use of Oracle JDeveloper tool.
1st problem:
I encountered this problem during the creation of a JSP page for a simple Intranet application connected to an Oracle database.
JDeveloper doesnt want to take into account the fact that one of my tables has two primary (composite) keys;(Each of these two keys is primary key of another table). That results on the one hand in an error during the loading of the default edition form (" JBO-25030: Failed to find or invalidate owning entity ") and in addition by impossibility of consulting the recordings of this table according to one of the two key parameters (selected in RowSetBrowser). Nevertheless, this last aspect works within the Oracle Business Component Browser.
2nd problem:
Imagine, for example, the following simplified conceptual diagram:
Racks ---> Files ---> Sheets (they are tables)
How on a JSP page, can I display in the easiest way (with a JSNavigatorTab and a RowSetBrowser), the recordings of the table Sheets of a particular File, without to use a selection at the table Racks level.
(You choose directly, with a ComboBox or a RowSetBrowser, a File to display all the corresponding Sheets, without to choose a Rack before.)
In fact, I try to have an application as simple and ergonomic as possible.
I thank all those who will be able to inform me on these obscure points which slow down my project considerably.
Regards.
Guillaume Vidal
null -
UIX JSP For Business Components
I am looking for option under Web Tier - UIX JSP For Business Components - Complete UIX JSP Application. I cannot see that option in Jdeveloper 10g which was avaialble in 9i. What is the turnaround for it.
I have an application which I wanted to convert it to jsp, so that I could deploy it on the web.
Thanks in advance.We removed the "complete application" wizard in JDeveloper 9.0.5 since the application it was generating was hard to customize. Check out the tutorials on the JDeveloper home page to see how to build a complete application.
-
Can not see the menu of New Business Components Package in jdeveloper
I am just follow the developer guide.
and when I create the Business Components Package, the guide said that
========================================
In the JDeveloper Navigator, select the OA Project where you want to create your package.
From the main menu, choose File > New to open the New Object Gallery.
In the Categories tree, expand the Business Tier node, and select Business Components (BC4J).
In the Items list, select Business Components Package to open the Business Components Package Wizard. You can also right-click on the OA Project and select New Business Components Package to navigate directly to the Business Components Package Wizard.
=====================================
In fact I can not see the menu about Business Components (BC4J) in the File/new/buisness tier/Business Components (BC4J).
I can only see the File/new/buisness tier/ADF Business Components.
And can not find the "Business Components Package" under ADF Business Components either.
I am using the JDev Extension for OA (p5856648_R12_GENERIC.zip) and EBS 12.0.0.
And I create an OA Workspace and OA Project.
can anyone help?James,
Use search facility on forum. Chk thread Re: OAF Toolbox Tutorial Help - Search
--Shiv -
Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server
Hi,
I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
Application Module is configured with a Service Interface for ordinary ViewObjects.
Now I want to create a EAR file of this application to deploy it on the weblogic server.
But I got an error while deploying it.The error i am getting is shown below.
ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
I have followed the steps mention in the below link :
http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
I'm using Jdeveloper 11.1.2.4 on windows.
Please suggest what i could be doing wrong.
Regards,
HimanshuDoes the deployment profile include Java EE modules?
Refer
Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto… -
Building Cascading Lists for Query with ADF Business components and JSP
I build Cascading Lists for Query Screens with ADF Business Components. When I to select master list first Ok, but when I to select master list second returned error : JBO 25013 : Too many objects match the primary key oracle.jbo.key[CN]. CN dependences with key to detail list (Countries in this case). Please help me.
Excuse me for my English.
Andrew.You would have a better chance, that someone answers your question, if you choose the right forum:
JDeveloper and ADF -
Problem on Business Components
Hi,
i repost this problem because i didn't succeed on resolev it. See below :
Business Components: Unable to find referenced object
Object: easyges.commercial.eos.affaires.
Owner: easyges.eos.GdaDemandeAffectationPFk1Assoc2
BC Project: easyges.view.ViewController
This appears in he message log window on opening the application.
What can i do to correct this issue?
Thanks for any help,
DAVIDSounds like the association GdaDemandeAffectationPFk1Assoc2 references an invalid (missing, renamed) Entity Object. Open the association file in the Source view and observe for warnings/errors indicators - these are the yellow/red indicators on the scroll bar. Alternatively selecting View | Status should produce a "No issues".
Maybe you are looking for
-
Please help! I was updating my iPod to 4.2.5 and iTunes said that it was preparing my iPod for update. Then an error popped up and now my computer won't recognize my iPod and it doesn't show up under devices in iTunes. All it has on my iPod is a p
-
I've been trying to export my videos after installing the Mavericks upgrade and FCP does not let me. On one of the forums I was told to upgrade to FCP 10.6. Is this a free upgrade or do I have to buy the newest version again?
-
Problem with downloading documents
Over the past couple of weeks everytime I have tried to download a documents on my Macbook Pro using Firefox is has given a 'failed' message. I am on Lion 10.7.5. Any advice appreciated.
-
How do I change Document Restrictions?
I want to protect a PDF file from being copied, altered, and extracted; but I can't figure out how to alter the Document Restrictions. I DO NOT want a password. I'm uploading this document to a public website for public access, but I don't want the c
-
Even though download of Flash Player XI was successful I still can't upload photo's. Is there a missing link ? The message continually asks me to download Flash Player XI repeatedly. I have tried multiple times but still get the same message to downl