Error running 10g form with java bean
I am trying to run the CalendarWidget form demo with the javabean. I start the OC4J Instance then open my file:
http://myserver.com:8889/forms90/f90servlet?config=pjc&form=C:\Oracle\Dev10g\forms90\java\calendarwidget.fmx&userid=HR
/HR@TRACY&buffer_records=NO&debug_messages=NO&array=YES&RENDER=YES&width=950&height=600
The Browser appears with Oracle AS Form Services and error box:
FRM-92100: Your connection to the Server was interrupted. This may be the result of a network error, or a failure on the Server. You will need to reestablish your session.
Java console shows:
java.lang.SecurityException: class "oracle.ewt.lwAWT.LWButton"'s signer information does not match signer information of other classes in the same package
I am trying to run this on my local pc and database with the forms90 server that installed with Developer. I'm not really java smart, so could use some help.
Thanks.
Tracy
Hello Rob
I'm having the same problem. I downloaded the calendar from http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
Is there a newer version for 10g?
here is the error in my java client....
Loading http://fi0oracle07.fi0dept.local/forms90/java/f90all_jinit.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.1
CalendarWidgetWrapper: init()
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: oracle/ewt/lwAWT/LWButton
at oracle.forms.demos.CalendarWidgetWrapper.<init>(CalendarWidgetWrapper.java:96)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Similar Messages
-
Replace VBX Control with Java Bean
Hi All,
While compiling 6i forms in 10g I got this error of VBX Control (Obsolete)
The document says replace it with JavaBeans.
I don’t know how to replace a VBS Control with Java Bean but this is what I did, I selected the item type as Bean Area.
But the item do have a trigger
begin
control_lib.when_tab_changed(:control.tab_ctl)
end
The Package CONTROL_LIB is coded as below.
Will this code work, technically I think yes, but its always better to ask experts before I move this to test...
package body control_lib is
g_tab_id number := 0
procedure when_tab_changed
(p_tab_id number) is
l_err_txt varchar2(255);
begin
if :system.block_status != 'QUERY' then
if not good_quiet_post(l_err_txt) then
raise form_trigger_failure;
end if
end if
if p_tab_id = 0 then
rpt_ln_lib.new_tab;
elsif p_tab_id = 1 then
stat_lib.new_tab;
elsif p_tab_id = 2 then
per_acc_rl_lib.new_tab;
end if
g_tab_id := p_tab_id
exception
when form_trigger_failure then
:control.tab_ctl := g_tab_id
synchronize
end when_tab_changed
Thanks to all.
HabeebA Java bean is another technology than VBX control.
If some document says: Replace it with java bean it certainly means to use a similar java bean with a similar functionality.
I do not know a java bean, which runs VBX controls.
So you surely have to look at what yout VBX does an than to look after a proper java bean (or to write an own one). -
Oracle Forms PJCs/Java Beans
In 10g is it possible to use Oracle Forms PJCs/Java Beans in tabular form ?
I wanna use an "auto completion" Swing JComboBox.Thanks François,
could you suggest me what can be done if I need 10 rows with 12 fields of combobox's
which has a display value of char datatype and return value of numeric to database
- LT -
Hi,
Is it possible to Integrate forms6i with Java Beans
my requirement is to show a Java Bean using
"Bean Area" component in Forms6i client/sever.
If is possible please provide me with some samples
Thanks,
AliHi all,
Just something that happened me in the past:
In the past,using one of the first versions of forms server 6,I don't know how(I couldn't reproduce the config on other machines),but I had a c-s form wich was displaying java beans(the HotLabelWrapper demo).
I thinck that forms server was also installed on that machine. -
How can I make Edit/Default Customization form with Java ?
In previous portal relise developers have simple way to rendering Edit/Default Customization form:
<% PortletRendererUtil.renderCustomizeFormHeader(portletRequest, out, null, "services_action", null, null); %>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="2">
<TR>
<TD>Days</TD>
<TD><INPUT TYPE="text" NAME="services_days" VALUE="<%= days %>" SIZE="10"/></TD>
</TR>
<TR>
<TD>Rows</TD>
<TD><INPUT TYPE="text" NAME="services_rows" VALUE="<%= rows %>" SIZE="10"/></TD>
</TR>
</TABLE>
<% PortletRendererUtil.renderCustomizeFormFooter(portletRequest, out); %>
In current portal version I can not find these methods, these methods not exists in JavaDoc and in jar's. And all old code do not works!!! Why?
I must hide portlet borders and use <renderContainer>false</renderContainer> in provider.xml. Then portal do not render Edit/Default Customization form in Edit/Default mode. In previous relise I can make this form with Java code.
My question: how I can get Edit/Default Customization form in Edit/Default mode with Java code?
Thanks in advance
CheslavHi George, the trick is to figure out which browser is your default now, and remove that designation using the Android settings for Apps. It might be Chrome or it might be something Samsung provides.
This article has more information: [[Make Firefox the default browser on Android]].
Does it work? -
Scrollbars problem when running a form with Sun Java instead of Jinitiator
Hi All;
Our forms are configured to run with the Sun Java instead of
Jinitiator; functionality wise everything works fine, but when running
the forms on the web there are 2 extra scrollbars
(one vertical and one horizontal) in addition of the browser scrollbar.
Note: This is does not happen when running the same form with Jinitiator (same configurations)
Anyone encountered this situation or has an idea how to to get ride of the extra scrollbars ???
Thanks.Thanks for your replay.
I was able to make all forms working without scrollbars when running form developer at the desktop (windows os) without scrollbars
but when I run them at the application server (Linux Red Hat 3 Enterprise), scrollbars are still there.
I tried your suggestion but did not help
here is the formsweb configuration
[jdk15]
baseHTML=base.htm
jpi_classid=clsid:CAFEEFAC-0015-0000-FFFF-ABCDEFFEDCBA
jpi_codebase=http://server_name:port/forms/jinitiator/jre15012.exe#Version=1,5,0,12
jpi_mimetype=application/x-java-applet;jpi-version=1.5.0_12
jpi_download_page=http://server_name:port/forms/jinitiator/jdk_download.htm
baseHTMLJInitiator=basejpi_with_disableMDIScrollbars_param.htm
archive=frmall.jar
separateFrame=False
splashScreen=no
background=no
width=975
height=575
form=xxxxx.fmx
lookandfeel=Generic
logo=no
otherparams=useSDI=yes
The window get maximized at when-new-form-instance.
Does it has to do with the canvas or window height and width at the design time????
Thanks. -
Using scatter graph type in oracle 10g forms using bi beans
hi.. how i can use scatter graph type in oracle 10g using bi beans..
it seems scatter graph is supported in 10g but it doesnt work at all..
i used to use oracle graphics builder in oracle 6i forms,now i need to convert all my old graphs to 10g forms..the line,bar and pie it work very well but the scatter didnt work..
so please if anyone know how to use it please tell me.. and what versions of bi beans support the scatter graph type
thanks.
u can email me in
[email protected]Hi,
What version of Oracle Forms are you using? If it is 10.1.2.0.2 (10g R2 Phase 2) then the BI Beans version should be 10.1.2.1 (3.2.2.0.24.2).
When you run a Graph, do you see any version numbers?
Regardless of the version, scatter graph should work. What kind of errors are you getting?
When you install BI Beans in JDeveloper, you get access to BI Beans Help. Go to the following topic for setting up data for a scatter graph:
Help -> Building Applications with BI Beans -> Presenting Data in Graphs -> Specifying Data for Graphs
Did you try posting your question on the Oracle Forms forum?
BI Beans PM -
Problem with java beans and jsp on web logic 6.0 sp1
HI ,
I am using weblogic6.0 sp1.
i have problem with jsp and java beans.
i am using very simple java bean which stores name and email
from a html form.
but i am getting following errors:
Full compiler error(s):
D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
cannot resolve symbol
symbol : class userbn
location: class jsp_servlet._savename2
userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
^
D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
cannot resolve symbol
symbol : class userbn
location: class jsp_servlet._savename2
userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
^
D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
cannot resolve symbol
symbol : class userbn
location: class jsp_servlet._savename2
ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
"userbn"); //[ /SaveName2.jsp; Line: 7]
^
3 errors
in which directory should i place java bean source file(.java file)
here is my jsp file:
<%@ page language = "java" contentType = "text/html" %>
<html>
<head>
<title>bean2</title>
</head>
<body>
<jsp:usebean id = "ud" class = "userbn" >
<jsp:setProperty name = "ud" property = "*" />
</jsp:usebean>
<ul>
<li> name: <jsp:getProperty name = "ud" property = "name" />
<li> email : <jsp:getProperty name = "ud" property = "email" />
</ul>
</body>
<html>
here is my bean :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import java.io.*;
public class userbn implements Serializable
private String name ;
private String email;
public void setName(String n)
name = n;
public void setEmail(String e)
email = e;
public String getName()
return name;
public String getEmail()
return email;
public userbn(){}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pls help me.
Thanks
sravana.
You realy can do it like Xiang says, but the better way is to use packages. That's
the way BEA is designed for. If you use packages you can but your bean classes
in every subfolder beneath Classes. Here for example we have the subfolders test
and beans:
You have to declare the package on top of your Bean Source Code:
package test.beans;
In your JSP you don't need the import code of Xiang. You only have to refer the
path of your bean class:
<jsp:useBean id="testBean" scope="session" class="test.beans.TestBean" />
There are some other AppServers that only can deploy Java Beans in packages. So
if you use packages you are always on the right side.
ciao bernd
"sravana" <[email protected]> wrote:
>
>Thank you very much Xiang Rao, It worked fine.
>Thanks again
>sravana.
>
>"Xiang Rao" <[email protected]> wrote:
>>
>><%@ page import="userbn" language = "java" contentType = "text/html"
>>%> should
>>work for you.
>>
>>
>>"sravana" <[email protected]> wrote:
>>>
>>>HI ,
>>>
>>>I am using weblogic6.0 sp1.
>>>
>>>i have problem with jsp and java beans.
>>>
>>>i am using very simple java bean which stores name and email
>>>
>>>from a html form.
>>>
>>>but i am getting following errors:
>>>
>>>________________________________________________________________
>>>
>>>Full compiler error(s):
>>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
>>>cannot resolve symbol
>>>symbol : class userbn
>>>location: class jsp_servlet._savename2
>>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
>>> ^
>>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
>>>cannot resolve symbol
>>>symbol : class userbn
>>>location: class jsp_servlet._savename2
>>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
>>> ^
>>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
>>>cannot resolve symbol
>>>symbol : class userbn
>>>location: class jsp_servlet._savename2
>>> ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
>>>"userbn"); //[ /SaveName2.jsp; Line: 7]
>>> ^
>>>3 errors
>>>
>>>____________________________________________________________
>>>
>>>in which directory should i place java bean source file(.java file)
>>>
>>>here is my jsp file:
>>>--------------------------------------------------------
>>>
>>><%@ page language = "java" contentType = "text/html" %>
>>><html>
>>><head>
>>><title>bean2</title>
>>></head>
>>><body>
>>><jsp:usebean id = "ud" class = "userbn" >
>>><jsp:setProperty name = "ud" property = "*" />
>>></jsp:usebean>
>>><ul>
>>><li> name: <jsp:getProperty name = "ud" property = "name" />
>>><li> email : <jsp:getProperty name = "ud" property = "email" />
>>></ul>
>>></body>
>>><html>
>>>
>>>-------------------------------------------------------------
>>>
>>>here is my bean :
>>>
>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>import java.io.*;
>>>
>>>public class userbn implements Serializable
>>>{
>>>
>>> private String name ;
>>>
>>> private String email;
>>>
>>> public void setName(String n)
>>> {
>>>
>>> name = n;
>>> }
>>>
>>> public void setEmail(String e)
>>> {
>>>
>>> email = e;
>>> }
>>>
>>> public String getName()
>>> {
>>>
>>> return name;
>>> }
>>>
>>> public String getEmail()
>>> {
>>>
>>> return email;
>>> }
>>>
>>> public userbn(){}
>>>}
>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>pls help me.
>>>Thanks
>>>sravana.
>>>
>>
>
-
Error while performing SSO with java application
hi ALL ,
I got rhe following error when i call a java application in portal using ticket logon sso
Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
com.sap.test.TicketVerifierException: Request does not contain cookies
at com.sap.test.TicketVerifierServlet.getSSOCookie(TicketVerifierServlet.java:149)
at com.sap.test.TicketVerifierServlet.getUserFromRequest(TicketVerifierServlet.java:94)
at com.sap.test.TicketVerifierServlet.doPost(TicketVerifierServlet.java:80)
at com.sap.test.TicketVerifierServlet.doGet(TicketVerifierServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)Hi Sarang,
It seems you are following the two basic pre-req.
It may be now possible that your browser might be not allowing cookies. Which browser are u using? Version etc?
Right now u can try two things:
1) When you have logged into portal, type the following command in the adress bar "javascript:alert(document.cookie)". This will give u a popup displaying the cookies formed when logged into portal
2) Use some software like HTTPWatch or ieHeaders and find out the details. It will give you all the cookie details etc.
You should be able to see the JSESSIONID, MYSAPSSO2 cookies...Let me know the result of above..
Regards
Gaurav -
Error in generating form with 6i
I have installed designer 6i rel 2 with form developer 6i on NT
4.0.
When in design editor, I want to generate the form with generate
module, the system generate "CDR-21600: A running Generator or
Utility has failed."
Also in action column writes: " It is possible that the internal
cache is now in an inconsistent state. You are therefore
recommended to close and restart the application."
Could anyone tell me what is the problem and how to solve it.
thanksHere is an document which describes some known causes of CDR-
21600 errors. I hope it will help you.
PURPOSE
To describe some known causes of CDI-21600 errors and to
suggest possible solutions and workarounds.
SCOPE & APPLICATION
This note was written for users of Oracle Designer releases 2.1.x
and 6.0.
CDI-21600 errors occur most frequently during Design Capture and
when generating forms with the Forms and WebServer generators.
Investigating CDI-21600 errors
In Oracle Designer Release 2.1.2 and Release 6.0, this error has
the form:
CDI-21600 'A running generator or utility has failed'
The Release 2.1.1 error message was: 'Generator or Utility throw
an Exception'
The CDI-21600 error message means that the generator is hitting
an unhandled exception, also known as a GPF (general protection
fault). The CDI-21600 error masks the underlying exception error.
To see the real error do the following:
1. Go into the Registry Editor (REGEDIT).
2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
3. Set EXCEPT_HANDLING to 0 (by default it is 1).
Repeat the action that resulted in the error.
Known Causes of CDI-21600 Errors and Possible Solutions
Some of the reasons why CDI-21600 errors occur are listed below.
1. A common cause of CDI-21600 errors is failure to install the
necessary
Developer patches.
See [NOTE:64630.1] Developer Patches required to run
Designer with Developer
2. Check that Designer is running on a supported database. Also
check that the
TNS connection is correct.
See [NOTE:60705.1] Designer Certification Matrix (HTML)
3. Check for 'dangling' foreign keys, in other words FKs no longer
owned by any
table in the repository. Delete all invalid constraints.
Invalid constraints may be created if you use the repository
dump utility to
dump and restore external foreign keys referencing tables
shared into the
application system, without dumping and restoring the tables
that own them.
If you restore a complete dump (rather than a 'skeleton' one),
and then use
the 'Reconnect Share Links' option when restoring, you may be
able to
resolve this problem.
To get a complete list of 'dangling' constraints in your
repository, connect
using SQL*Plus and use the following query:
SELECT app.name, key.name
FROM ci_application_systems app, ci_constraints key
WHERE key.table_reference IS NULL
AND key.application_system_owned_by = app.id;
You can also run CKAZANAL.ANAL_REFERENCES on your
repository and delete all
the invalid constraints that it finds. You can run the Repository
Analyzer
from: Front Panel -> Repository Administration Utility -> Utilities.
NOTE: There may be inconsistencies in the repository that the
Repository
Analyzer cannot fix. You might solve such problems by
dropping all the
tables of your application, recreate them from the ERD,
then use the
DDT and recreate your modules.
[BUG:847190] CDI-21600 during forms generation: 'dangling'
foreign key
"Since the generator is running on a repository that contains
invalid
constraints and the Repository Analyzer solves the problem,
bug closed as
unfeasible to fix."
4. Check your modules for invalid or missing references such as
missing window
placements.
5. Try generating your module against default templates and
object libraries.
6. When capturing forms or libraries, try capturing the form or
library without
application logic, then capture the application logic on its own.
See [NOTE:1064690.6] CDI-21600 when capturing design of
form with
application logic
[BUG:757541] DESCAP: CDI-21600 error reported when
capturing with
application logic
Fixed In Ver: 6.0
[BUG:926383] Duplicate of [BUG:757541] This has been fixed in
2.1.2 patch
779559. However you would be advised to apply a later patch
such as 855635
which fixes more bugs in this area.
7. Make sure that all objects that are referenced by the form have
been
captured into the repository before capturing the form.
8. A CDI-21600 will occur if a lookup usage displays only one
column of
datatype DATE or if the column of datatype DATE is displayed
as the first
item in the block.
Workaround
Add more column usages to the lookup block and do not
display the DATE data
type column usage as the first item in the block.
9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
Fixed In Ver: 6.5.3.0
Workaround
Make sure that you have an argument in the called module that
is mapped to
the "Argument Passed Value" in the calling module. The only
way to get this
mapping back once the APV has the <Module Argument> label
is to delete it
and recreate it.
10. [BUG:801736] CDI-21600 on design capture of a form with
subclassed object
Fixed In Ver: 6.0.3.1.0 (backport)
Fixed In Ver: 6.5
You have an item that has been subclassed to an object.
Checking the Design
Capture option 'Capture Control Blocks' causes the CDI-21600
error. Uncheck
'Capture Control Blocks' and the problem does not occur. Open
the FMB in
Forms*Builder and look at Data Blocks -> Items. Break the link
to the
object, save the FMB, and the form will capture (similar to
[BUG:794872]).
Alternatively, ensure the link can be established.
11. [BUG:850436] CDI-21600 on generation of a form with template
having
subclassed object group
You try to generate a form out of Designer that uses a user-
defined
template. If a collection of objects in the template is grouped
into an
object group, dragged into the object library and then either
copied or
subclassed into a form, when the form is generated you get a
CDI-21600
error.
12. [BUG:822659] Module generation fails (CDI-21600) with multi-
column PK having
long prompt text
Fixed In Ver: 6.5.3.2
Module generation with multi-column primary key having long
prompt text
causes CDI-21600 with preference MSGSFT set.
Workaround
Shorten the prompt text of PKs may not be not applicable. You
may loose end
user information.
You may have the same problem with a mandatory compound
FK. CASEOFG tries to
generate a message '<P1> must be entered', where <P1>
contains all the
prompts of the bound items from the FK. If you reduce the
length of the
prompts, or set MSGSFT = NULL or WEDI = S or property
Mandatory?=No, it
works correctly.
13. [BUG:792542] Capturing application logic causes CDI-21600
(V2 style
triggers)
Fixed In Ver: 6.5.5
After removal of the v2 triggers, the form captures/merges OK
on 5.0.24.8,
provided patch 875027 has not been applied.
14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
key components
Fixed In Ver: 6.5.11
Generating a module with tables having a primary key not
correctly defined
(no PK component) will cause a CDI-21600 error. This can
occur when
unloading a module from the RON. If you pick up the module
(and only the
module) in the unload set, the table and its PK are unloaded as
a skeleton.
Loading the .DAT file into a new application will create a PK
without a
component.
15. [BUG:771549] CDI-21600 if cannot connect to the DB with
connect string in
Options (Compile)
Fixed In Ver: 6.5.13
If you cannot connect to the DB with the connect string
specified in options
(Compile), the forms generator will fail with CDI-21600.
This problem occurs when you cannot connect to the DB
because:
- the username or password is wrong;
- or the SQL*Net alias is not defined in the TNSNAMES.ORA
file;
- or the SQL*Net listener is not started;
- or the DB is down.
16. [BUG:785106] CDI-21600 when generate master detail form
with preserve layout
[BUG:855812] is a duplicate of this bug.
Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
Fixed In Ver: 6.0
Fixed In Ver: 6.5.3
You have a master-detail Form with the Master having items
partly on a TAB
Canvas. Generate Module works OK. You enter Forms Builder
and move some
items on the tabs (just small changes, items are still on the
same tabs).
You change the look of the Detail and change Records
Displayed. Now in
Designer you generate the Module with Preserve Layout. You
get a CDI-21600
error. The problem might reproduce without doing any changes
in Forms
Builder, just by generating with Preserve Layout.
17. [BUG:891306] If primary key column of lookup in check
constraint comment of
base table
Fixed In Ver: 6.5.5
Workaround
Do not use the name of the bound item that is based on the
primary key
column of the lookup table in a check constraint comment of
the base table.
18. [BUG:896026] Forms gen throws assertion failure in
CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
Fixed In Ver: 6.5.7
A problem is caused by a PL/SQL definition (function, package,
procedure)
being defined as a called module for the module you are trying
to generate.
To resolve the problem and enable the module to be generated,
remove all
Called Modules that are PL/SQL definitions (functions,
procedures or
packages).
See [NOTE:2107207.6] CDI-21600 during generation of module
or Assertion
Failure \cv\cvi\cvibni.cpp
19. [BUG:812333] CDI-21600 generating a web module after
adding an unbound item
Fixed In Ver: 6.5.3.0
Backport [BUG:1280667] raised to fix by 6.0.3.9
You add an unbound item (SQL expression) to a Web module.
When you try to
generate the module you get a CDI-21600 error. If you delete the
unbound
item the Web module generates correctly.
In a test case the problem occurred during validation of the
derivation
text, if the master module component was in a different module.
A workaround
was to rearrange module components so that this was not the
case.
20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
WHEN GENERATING INCORRECT
DERIVATION EXPRESSION
Message
CDR-21605: Failed while processing Module <mod> in function
CCVDiag::TraceGeneratorMessage BOF
Cause
The generator failed due to an unexpected error - the
error indicates the object the generator was processing
when it failed.
Helena -
Not running 10g form in any browser
windows server 2003
oracle 10g form
I already set web browser location with internet explorer exe file , but when I run the form it open I.E but don't run form in it and exit I.E automatically.
please help.
I am new in 10g.Make sure you have the database connect identifier set in tnsnames.ora file, you can do it easily using the Net Configuration Assistant. You can find it in All Programs %ORACLE_HOME%/Configuration and Migration Tools/Net Configuration Assistant and add a local net service name.
Or manually by editting your tnsnames.ora file and add en antry like this:
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <hostname>)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = <SID>)
)where hostname = machine name of the database server or IP address and SID = database name
Tony -
I have Oracle 8i with developer 6i installed on a win-xp professional(sp1) system.
when i try to run my developed application thru an icon from the desktop it creates a file by name
ifrun60_dump_47244 (the no changes every time i try to do) and this file has the following error
Error:Abnormal termination ,Error code :c0000005 ACCESS_VIOLATION
Any idea what the problem could be???I am using Forms version 6.0.8.8.0.
This particular form worked fine before and now i find that no form works and same error which ever form i try to run.
where do i download the pacthes for developer 6i on
win-xp -
Customize out-of-box taskflow with java bean.
Hi,
I have created a Taskflow Customization Appl. for changing out-of-the-box Profile (.jsff) pages. I create a Java bean under ‘ViewController’ project. I’ve tried to register the bean in either adfc-config.xml or faces-config.xml file. However, using EL in jsff pages to access the bean’s attribute give me errors. I referenced the bean's attribute by #{EmployeeBean.department} in .jsff file.
Where should I register the bean? What’s the difference between two config files?
<Jan 24, 2012 3:16:22 PM EST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /edit-basic/view1 URI: /oracle/webcenter/peopleconnections/profile/view/jsf/regions/ootbedit/editbasic.jsff actual-URI: /oracle/webcenter/peopleconnections/profile/view/jsf/regions/ootbedit/editbasic.jsff.
javax.el.PropertyNotFoundException: Target Unreachable, identifier ‘EmployeeBean' resolved to null
at com.sun.el.parser.AstValue.getTarget(Unknown Source)
at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
adfc-config.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<managed-bean id="__3">
<managed-bean-name id="__1">EmployeeBean</managed-bean-name>
<managed-bean-class id="__4">WCTaskflowCustomization.model</managed-bean-class>
<managed-bean-scope id="__2">request</managed-bean-scope>
</managed-bean>
</adfc-config>
faces-config.xml:
<?xml version="1.0" encoding="windows-1252"?>
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
<application>
<default-render-kit-id>oracle.adf.rich</default-render-kit-id>
</application>
<referenced-bean>
<referenced-bean-name></referenced-bean-name>
<referenced-bean-class></referenced-bean-class>
</referenced-bean>
<managed-bean>
<managed-bean-name>EmployeeBean</managed-bean-name>
<managed-bean-class>xxx.yyy.customization.view.Employee</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</faces-config>
Employee.java
=========
package xxx.yyy.customization.view;
public class Employee {
public Employee() {
super();
private String userName;
private String department;
public void setUserName(String userName) {
this.userName = userName;
public String getUserName() {
return userName;
public void setDepartment(String department) {
this.department = department;
System.out.println("setDepartment():" + department);
public String getDepartment() {
System.out.println("getDepartment():" + department);
return "Informaton Technology";
Thanks a lot.Hi,
if you want to access the bean from within a bounded task flow then you configure it in the task flow definition. If the El accesses the bean from the unbounded task flow then you configure it in adfc-config.xml. When working with the ADF controller you don't use the faces-config.xml file for defining managed beans
Frank -
Hi,
I have a problem while I run my forms9i application.
I had to change the default path of the libraries for my forms9i.
I have set the libraries path as c:\9iLibraries in the registry under forms90_path. Also I set the "Start in" Property in the properties of the forms9i builder to c:\9iLibraries.
With the above settings I am not getting errors at the design time.. but when I run the form it gives me errors saying "frm-40039 cannot attach library while opening the form"
Then, I set the parameter in the default.env file
as
forms90_path=c:\9iLibraries
But still I continue to get the error.
Thanks in advance
NarainShehzad,
this means that Reports Server cannot access the Reports module. You can test this assumption by copying your Reports module into <Oracle Home>\reports\samples\demo. The demo directory is out of the box accessible fro Reports.
If this allows you to run the Report, then all you need to do is to specify the Reports_Path to include the reports modules.
btw.: An other reason can be that your Reports contains uncompiled PLSQL, so you may want to check this too.
Frank -
I can't work with java Beans in IWS6
I have been trying to get my iWS6 to run java bean but has not been able to do so. I tried a few beans and I get the same message on the log:
[27/May/2002:18:30:50] info ( 3160): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP/local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:60: Class _jsps.UserData not found.
UserData user = null;
^
/local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:63: Class _jsps.UserData not found.
user= (UserData)
^
/local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:68: Class _jsps.UserData not found.
user = (UserData) Beans.instantiate(this.getClass().getClassLoader(), "UserData");
^
3 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
[27/May/2002:18:30:50] warning ( 3160): Internal error: Failed to get GenericServlet. (uri=/otro.jsp,SCRIPT_NAME=/otro.jsp)
I read a similar answer in this Forum but I couldn't find good results.
I'm using Solaris SPARC and JDK 1.3. When I run the Web server I Find these messages:
Java VM classpath: /local/iplanet/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/local/iplanet/docs:/local/iplanet/bin/https/jar/NSServletLayer.jar:/local/iplanet/bin/https/jar/NSJavaUtil.jar:/local/iplanet/bin/https/jar/NSJavaMiscUtil.jar:/local/iplanet/bin/https/jar/servlet.jar:/local/iplanet/bin/https/jar/servlet-2.3-filters-api.jar:/local/iplanet/bin/https/jar/jsp092.jar:/local/iplanet/bin/https/jar/jaxp.jar:/local/iplanet/bin/https/jar/crimson.jar:/local/iplanet/bin/https/jar/xalan.jar:/local/iplanet/bin/https/jar/jspengine.jar:
[27/May/2002:18:29:21] info ( 3160): Loading IWSSessionManager by default.
[27/May/2002:18:29:21] info ( 3160): IWSSessionManager: Maximum number of sessions is 1000
[27/May/2002:18:29:23] info ( 3160): Successfully initialized web application environment (web-apps.xml) for virtual server (https-hdesk-1)
[27/May/2002:18:29:23] warning ( 3160): The server configuration may require more file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system hard file descriptor limit from 1024 to 5763 (see your operating system documentation) or decrease one or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf.
[27/May/2002:18:30:46] info ( 3160): Internal Info: loading servlet /otro.jsp
I've run many jsp files without problem, but when I use java Beans it doesn't work.
Thank you
P.D. The Classpath already contains the Java Bean file.Hola Daniel,
Make this simple thing, import the class in your jsp, for example, in your case this should be:
<%@ page import="UserData" %>
The jasper compiler assumes that any unqualified class is part of the package jsps. I think this is to allow class definitions in the jsps. So if you indicate that the class is not packaged in jsps it will be found.
Juan
Maybe you are looking for
-
My macbook pro will suddenly not recognise my printer that I have been using for 3 yrs every thing in connection with the printer is greyed out and disabled . I have been into system information and cannot find it there It is connected direct with
-
On my Mac (OS 10.6.8) I had to re-download and reinstall Photoshop Elements 8 after my hard drive crash because I don't at all like Photoshop Elements 10. (Sorry, Adobe.) Now, when I'm browsing in Bridge CS4 (which I much prefer over Organizer; sorr
-
I want to use TV as a display on my iMac 2009.
I want to use TV as a display on my iMac 2009. Is it possible?
-
Calling EJB from ApplicationLifecycleListener
In preStop and postStart of ApplicationLifecycleListener (weblogic.application.ApplicationLifecycleListener) implementation, I want to call a method of a Stateless Session Beans, say MyEJB. MyEJB is packaged in same EAR. I do not want to hard-code th
-
Under CentOS 6 x64, Java Thread.sleep()/Object.wait() will be influenced while changing OS time. I found a BUG in java bug list. The bug id is 6311057 with fixed status. But I find it still existing. Under CentOS6 x64 platform, on JDK1.6.0_33, the bu