Oracle Forms List Items :not populating list Dynamically using select Query
Hi ,
I need to create a list item. And the values to be populated in the list are from Database but I'm unable to populate from database.
Please help me out how to populate the values from database.
In Property Pallete we have Elements in List under Functional section , In this we have to manually enter the List values but we can't use any Query to Dynamically populate.
Thanks,
Kiran Sanga
When you need to fill a list with the result of a query, you'll have to do it at runtime.
Andreas has a good blogpost about this.
Similar Messages
-
10g R2 AS + JPI = oracle.forms.engine.Main not found
Greetings,
we have a Oracle Forms & Report Services 10.1.2.0.2 installation on a RHEL box. There's need to implement JPI instead of Jinitiator, but I have encountered some problems - I have followed the instructions for dynamic JPI listed in Doc ID 368218.1. The client is XP SP3 with JRE 1.6.0_02 installed, still the end result is:
network: Cache entry not found [url: http://xxx:7777/forms/java/oracle/forms/engine/Main.class, version: null]
network: Connecting http://xxx:7777/forms/java/oracle/forms/engine/Main.class with proxy=DIRECT
network: Cache entry not found [url: http://xxx:7777/forms/java/oracle/forms/engine/Main.class, version: null]
network: Connecting http://xxx:7777/forms/java/oracle/forms/engine/Main.class with proxy=DIRECT
load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main
I have checked ownership/permissions for frmall.jar, but they seem fine (there was a note pointing out possible ownerhsip issues).
Any ideas/suggestions?
JanI checked 578759.1 and yes, the classid and codebase parameters seem fine.
What happens when I open http://xxx:7777/forms/frmservlet?config=jpi is:
- java 6 logo appears, but
- is replaced by an X, the status bar says "Applet oracle.forms.engine.Main notinited"
- the status bar says "Loading Java Applet Failed..."
The whole Java Console output is:
Java Plug-in 1.6.0_02
Using JRE version 1.6.0_02 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\myuser
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more -
Open references of other list items from a list item in the same window or tab
Hi there,
We have migrated from lotus notes to sharepoint. We have converted the lotus notes forms to sharepoint forms. Basically the list items are pages and there are links of other pages in a page.
My problem is I want to open the other pages in the same tab or window and not in a separate window.(currently the links open in a separate window which is not the requirement.)
In terms of sharepoint I would say,
I have references(links) to other list items of the list in a single list item. I want to open the other list items in the same window (tab).
How can we achieve this?? If possible without much codes??
Please suggest.
Any help will be highly appreciated.
Thanks in advanceSee:
*http://kb.mozillazine.org/browser.link.open_newwindow
*1: current tab; 2:new window; 3:new tab;
For links opened via JavaScript you can look at this pref:
*http://kb.mozillazine.org/browser.link.open_newwindow.restriction
You can open the <b>about:config</b> page via the location/address bar.
You can accept the warning and click "I'll be careful" to continue.
*http://kb.mozillazine.org/about:config -
Hi there
I have recently installed App Server 10.1.2.0 on a new machine.
Copied all my forms to an appropriate directory. Set up formsweb.cfg to allow them to run and have attempted to run them.
Unfortunately I get stuck at the Loading Java Applet screen, and in the status bar at the bottom it says :
load: class oracle.forms.engine.Main not found
I have taken a look at the Java Console, and the 2 things that jump out at me are that it appears to be looking for a forms90 directory, which seems odd since I am using App Server 10.1.2.0.2 and Forms Builder 10.1.2.0.2 meaning it should be looking in a forms directory not forms90 directory shouldnt it ?
And also, it mentions class with no proxy, so on looking around the forums it has been suggested that put the proxy details into jinitiator, which I have done, but this has made no difference either.
Can anyone suggest anything else please ?
Java Console log follows.
Thanks a lot
Scott
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\hilliers
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Unregistered modality listener
Removed trace listener: sun.plugin.ocx.ActiveXAppletViewer[oracle.forms.engine.Main,0,0,914x613,layout=java.awt.BorderLayout]
Sending events to applet. STOP
Sending events to applet. DESTROY
Sending events to applet. DISPOSE
Sending events to applet. QUIT
Finding information...
Releasing classloader: sun.plugin.ClassLoaderInfo@d9850, refcount=0
Caching classloader: sun.plugin.ClassLoaderInfo@d9850
Current classloader cache size: 1
Done...
Registered modality listener
Referencing classloader: sun.plugin.ClassLoaderInfo@d9850, refcount=1
Added trace listener: sun.plugin.ocx.ActiveXAppletViewer[oracle.forms.engine.Main,0,0,914x613,invalid,layout=java.awt.BorderLayout]
Sending events to applet. LOAD
Sending events to applet. INIT
Sending events to applet. START
Determine if the applet requests to install any HTML page
HTML Installation finished.
Opening http://appserver008/forms90/java/oracle/forms/engine/Main.class
Connecting http://appserver008/forms90/java/oracle/forms/engine/Main.class with no proxy
Opening http://appserver008/forms90/java/oracle/forms/engine/Main.class
Connecting http://appserver008/forms90/java/oracle/forms/engine/Main.class with no proxy
load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)You're a star, thanks.
In my haste I had cut too much out of my old formsweb.cfg file and not realised I'd done it.
Thanks Francois. -
How to copy List item from one list to another using SPD workflow using HTTP call web service
Hi,
How to copy List item from one list to another using SPD workflow using HTTP call web service.
Both the Lists are in different Web applications.
Regards, Shreyas R SHi Shreyas,
From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
So I recommend to achieve this goal programmatically.
More references:
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
There are dozens of entries regarding "
List does not exist / The page you selected
contains a list that does not exist. It may have been deleted by another user" and none of them are really SP 2013 so i thought I would create this entry.
I am getting the error above after creating a simple list with 4 columns. the list is created during a new site definition activation but when I click on my list, I get the error above. the list works if I deactivate the feature and re-activate
it. but has the error whenever the new site definition is created.
Has anybody encountered this issue on SP 2013?Hi,
For your issue, there are plenty of possible reasons offered when we search this issue online.
Here are similar issue posts, check whether they are helpful:
http://sharepoint.stackexchange.com/questions/98239/list-does-not-exist-error-when-opening-the-views
http://sharepoint2u.com/?p=56https://shareyourpoint.wordpress.com/2012/04/12/list-does-not-exist-the-page-you-selected-contains-a-list-that-does-not-exist-it-may-have-been-deleted-by-another-user-sharepoint-2010-error/
http://spnovice.blogspot.com/2012/10/list-does-not-exist-or-does-it.html
Best Regards,
Lisa Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Lisa Chen
TechNet Community Support -
Hi Members,
I am getting the oracle.forms.engine.Main not found.java.lang.ClassNotFoundException error when trying to access Oracle forms using APEX 2.2.1 and SSO.
load:class.oracle.forms.engine.Main not found
The forms have been compiled, forms path setup properly and the setup required to run forms seems to be right. Jinitiator has also been installed.
I have searched the forums and tried everything. I have checked jinitiator settings, cleared cache and even reinstalled it. Do you have any experience with this error? Appreciate any answers. Thanks.
Ravi.Dear Friends,
I was also facing the same problem. to solve this, i have uninstalled Oracle Jinitiator. Cleared all the temporary internet files & cookies. Then while running the form, when it asks to install JInitiator, i have specified a different path for jinitiator, For Example, By default it asks for C:\programfiles, i have changed it to c:\manish directory.
This has solved my problem. Probably this also help you.
Regards,
Manish Trivedi,
India -
Oracle.forms.engine.Main not found.
Hi,
I have a error when I try to call a form made in Forms 6i using 9iAS.
Seams that something with the settings. Need help please.
load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)In my case, on my machine, the codebase virtual directory name is defined as forms60java and is mapped to the Forms_Home\Forms60\Java directory, which is where the f60allxxx.jar files are stored.
Alias /forms60java/ "D:\Oracle\806\FORMS60\java/"
Look out for the 6iServer.conf file on the Oracle9iAs installation of Forms. In this file you see the value used in your configuration. Open the formsweb.cfg file (assuming you are using the Forms Servlet) in the forms60/server directory and search for the "codebase" parameter. The value should be the relative path mapping in the 6iServer.conf file.
You can test if the codebase value works in that you copy an image to the forms60/java directory and call it by
http:// ..../<forms_mapping>/gifname
Frank -
SPListItem deleting save the list item into another list.
Hi Friends,
Using SPList Item deleting event receiver ,before deleting the item I want save the list item to the another SharePoint list.
How can we do this using event receivers.Please help me anyone.
Thanks,
Tiru
TiruBefore delete the item, use the below logic
http://stackoverflow.com/questions/1075323/copy-list-items-from-one-list-to-another-in-sharepoint
or
You can do this by 2 workflows one creating list item by copying and second workflow on the copied item which will delete the original list item.
http://sharepoint.stackexchange.com/questions/93441/move-items-from-one-list-to-another-list-using-sharepoint-designer-2010
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/100c0b3c-72d9-4427-a48f-8300be508aa2/how-do-i-copy-the-items-in-a-sharepoint-2010-list-to-another-list?forum=sharepointgeneralprevious -
Hi all,
I tried to update oracle_logo.gif in forms jar which is in f90all_jinit jar. I placed my icon in forms\oracle\forms\icons and renamed it as oracle_logo.gif while removing the existing one. Then I did jar the forms and placed that in f90all_jinit and again did jar f90all_jinit. Then, I placed this in ORACLE-HOME/forms90/java. When I tried to run the form...the form could not open and the java console shows this..
Loading http://<MACHINE_NAME>:8888/forms90/java/f90all_jinit.jar from JAR cache
load: class oracle.forms.engine.Main not found.java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Can anyone guide me on how to get rid of this error ? Strange thing is that I've removed that f90all_jinit.jar and placed back the existing one (I took backup). But still it's showing the same error and not opening the form. I could and can not do anything without this error corrected.
Please suggest me as soon as possible...
thank you
madhu.Dear Friends,
I was also facing the same problem. to solve this, i have uninstalled Oracle Jinitiator. Cleared all the temporary internet files & cookies. Then while running the form, when it asks to install JInitiator, i have specified a different path for jinitiator, For Example, By default it asks for C:\programfiles, i have changed it to c:\manish directory.
This has solved my problem. Probably this also help you.
Regards,
Manish Trivedi,
India -
Oracle.forms.engine.Main not found - JPI
Hello,
I have a forms server 10.1.2.3.0 installed on linux platform...
If I run a form in Jinitiator all works fine...
If I run the form as JPI i get error:
oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)My formsweb.cfg is
[jpi]
serverURL=/forms/lservlet
codebase=/forms/java
jpi_classid=clsid:CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA
jpi_codebase=/forms/jinitiator/jre16018.exe#Version=1,6,0,18
jpi_mimetype=application/x-java-applet;version=1.6.0_18
baseHTMLJInitiator=basejpi.htm
baseHTML=basejpi.htm
baseHTMLjpi=basejpi.htmalso before the [jpi] tag i have
archive_jini=logo.jar,jcert.jar,jnet.jar,jsse.jar,*frmall_jinit.jar*,images.jar,in2kartica.jar,PDFD.jar,sort.zip,ImgBean.jar,paketi.jar,PrenosPolic.jar,TestFileLock.jar
archive=*frmall.jar*,in2kartica.jar,images.jar,paketi.jar,imgbean.jar,prenospolic.jar,PrenosPolic.jar
Why I get exception "java.lang.ClassNotFoundException: oracle.forms.engine.Main" ?Hello,
You need archive=frmall.jar in your section.
Francois -
Update one list item to another list using WF
hi
i have a SP Designer workflow which copies one list item to another list
but if i edit the 1st list this will copy a new item to another list i want the same item to be edited without making a new copy of the item.
Alen Austinso in the workflow separate between on edit and on new item, so mostly you will need to either do checking and have variable saved to know if you are editing only, or create 2 workflows one when you add new item and other when u edit (if needed)
Kind Regards,
John Naguib
Senior Consultant
John Naguib Blog
John Naguib Twitter
Please remember to mark this as answered if it helped you -
How to convert oracle form fmb file to java swing file using Jdeveloper
how to convert oracle form fmb file to java swing file using Jdeveloper.Please explain with detailes steps if possible or please give a link where it is available
thanks
Message was edited by:
user591884There is no automatic way to do this in JDeveloper. I know there are some Oracle Partners offering forms to java conversion, I don't know how much of their tools are automated and done with JDeveloper. With JDeveloper+ADF you basically rewriting the Forms application from scratch (and using ADF is helpful during this process).
-
TS2972 In the new itunes, I can't see "items not in my library" using home sharing
In new itunes, I can't see "items not in my library" using home sharing
Yup, the new itunes is worthless unless every song you have is in your itunes library as well. (unless you buy every song from itunes this is simply impossible) Apparently Apple threw away the feature in an effort to force everyone to purchase their media through itunes. This is probably the worst idea about the new Itunes, the only way to go back is to restore your computer to a time before you downloaded the new version, otherwise wait and hope the next version in a year or so will have it.
-
Dynamic Population of List Item Not Working
My requirement is to have 1 list item that is populated based on the value selected for a second list item. in the when-list-changed trigger of the second list item, i make a call to a procedure (code below). This seems to not like any of the clear_list or populate_list. the list item type is poplist. i set the class to list. if i use populate_list in when-new-form-instance, there's no problem. PLEASE HELP. When can't I populate list using a procedure??
ERROR: frm-40734 internal error pl sql error occurred
PROCEDURE Refresh_List IS
v_rg_name VARCHAR2(40) := 'RGTEST';
v_rg_id RecordGroup;
v_sql varchar2(2048);
problem EXCEPTION;
status number;
list_id item;
BEGIN
list_id := Find_Item('BLK_TEST.LST_TEST');
v_sql:='select column_name from sys.all_tab_columns where table_name=''testtable''';
v_rg_id := Find_Group( v_rg_name );
IF Not Id_Null(v_rg_id) THEN
DELETE_GROUP( v_rg_id ) ;
End if;
clear_list(list_id);
v_rg_id := Create_Group_From_Query( v_rg_name, v_sql ) ;
status := Populate_Group( v_rg_name );
POPULATE_LIST(list_id, v_rg_id);
POPULATE_LIST('BLK_TEST.LST_TEST', 'RGTEST'); also tried this.
if status <> 0 then
raise problem;
end if;
EXCEPTION
WHEN problem THEN
message('problem.');
WHEN others THEN
message('tooto');
END;Thanks for the response. I've tried this example too and it still doesn't like the things mentioned in previous post. In addition, it doesn't like SET_RECORD_PROPERTY(:system.cursor_record,'EMP',status,new_status); I get the same sort of error. The form compiles fine though.
Background on form:
this form was created to allow users to dynamically build an update statement. On this form are a number of list items and text boxes that are not populated from a database. So the datablock doesn't retrieve values from the database and the only updating that will be done is when the user clicks an "update" button to execute the sql statement that is built. Could this issue I'm having be related to the way i designed my datablock and items? When the user selects an item from one of the list items, the record status goes to "Changed". So I assumed my issue was because of this and thought the set_record_property statement would help...but that is generating the same error. what am i missing? if i look at the index value of the record group after create_group_from_query, it is -1. after populate_group, it is still -1. should it still be -1?? any help is greatly appreciated.
Maybe you are looking for
-
Hi Guru's When i want to pull the data from SQL table using below integration Script from admin guide, its showing <font color="red">-2147217865 Data access Error at line15 (Line 15:Set rsAppend = DW.DataAccess.farsTable(strWorkTableName) </font> I t
-
after updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid
-
How to update field in table FAGLFLEXA/FAGLFLEXT
Hi Gurus, we are stay in ECC 5.00. The new g/l have activated but we have not assigned the relevant scenario to the ledger (Refer note no 990612) now we have assinged following field: FIN_CCA: RCNTR (Cost center), SCNTR (Sender cost ce
-
Error getting CSS support information for driver [HsvAdmDriver]
Hi all, we have installed HFM on Win2003 x64 EE server. Everything is working correctly, but we are not able to create a connection to HFM data source in Web Analysis. Following error occurs: 4010 Error: Error Getting CSS Support Information For Driv
-
Hello I have just updated my iphone 5 and it keeps requesting 2 old email addresses from I quests my old laptop any idea how to stop this ? Thanks