Runtime listener error - Forms 10g on XP
Hi,
I've managed to create a tabular forms on scott.emp.
using scott/tiger to connect without instance string from Forms Builder.
Then I started OC4J instance and tried running the module.
I was asked to install JInitiator and did it. Now I can see JInitiator as ActiveX in Internet Explorer.
Then I see the browser window and a message "Loading JApplet"
I'm asked to connect to the databse, so I tried scott/tiger/orcl and got invalid connection string error,
If I try scott/tiger alone I get a Listener error.
Otoh I have no problem connecting to EM as normal and use isqlplus as multiline block in the browser
IS there a new connexion parameters set to add to tnsnames.ora?
Many thanks.
Hi,
Frank, I've just cut and pasted from one tnsnames.ora to the other and everything went fine.
Only now to execute query in the block it's not F8 but Ctrl F11 :-)
I suppose keys assignments are customizable in some config file.
The default block looks pretty good in the browser.
It's the long way from AWT and SWING !
Many many thanks
[email protected]
Similar Messages
-
Strange runtime result on forms 10g
Hi,
I am using forms 10G. Db is 10G.
When I run the simple Scott’s emp table
It runs on internet explorer and instead of giving emp table information it shown something like that:
<html> <head> ORACLE FORMS.</head>
<body onload="document.pform.submit();" >
<form name="pform" action="http://lalo:8889/forms90/f90servlet" method="POST">
<input type="hidden" name="form" value="I:\test\emp.fmx">
<input type="hidden" name="userid" value="SCOTT/TIGER@orcl">
<input type="hidden" name="obr" value="yes">
<input type="hidden" name="array" value="YES">
</form> </body></html>
what is this?
How should we get the forms simple screen on runtime?
Where should we get entry so on it runs independently?
Though is running well on 6i.
JumaThis is a duplicate of strange runtime result on forms 10g
See my response to your original thread. -
Error while importing java class into oracle forms 10g
Hi
I have generated a web service client using jdeveloper 10g. It consists of complex type methods. I am trying to import the class files using java importer in oracle form 10g. I am able import all of them successfully except one. That one is the main method. Please see the error and suggest me how to overcome this error.
Exception occurred: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
Thanks in advanceDo you see oracle/jdeveloper listed in "Import Java Classes" when you try to import?
If not, make sure you add C:\DevSuiteHome_1\jdev\lib\jdev.jar to FORMS_BUILDER_CLASSPATH in registry
Also excetion indicates: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
If you typing it - type: oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub -
Runtime Compatibility Mode in Forms 10g
Dear All
I would like to achieve the Runtime Compatibility Mode in Forms 10g, is there any work around to do this. Kindly let me know. This is little bit argent
Thanks in advance
by
ThangarajThank for your reply Bernd
I need to achieve the same functionaliy in 6i, the scenario is like this,
i have a madatory item and i will set the runtime compatibility mode 4.5 then at runtime i can able to leave the filed empty if i press the SHIFT+TAB key, if i press tab or enter key alone the error message should be displayed "Field must be entered" , this is functionality is working fine in 6i forms if you set the Runtime Compatibility Mode is 4.5.
but this is not heppening in 10g forms, because we have the same source in 6i whenever there is a need we will compile it with 10g template and give to the customer, now its not working so its creating big trouble.
i have seen something in meta link but that is not feesible. pls do the need ful
Thanks
Thangaraj -
Change user on runtime in forms 10g
Dear all,
I want to switch user in oracle forms 10g runtime.
for example I have three user "usr1", "usr2", "usr3" and one main user "main_system"
In forms i have four button i.e bt1,bt2,bt3,bt4
Currently when user access the forms user is "main_system"
If user press button "bt1" then forms connect with "us1".
If user press button "bt2" then forms connect with "us2".
If user press button "bt3" then forms connect with "us3".
Finally user press button "bt4" then forms connect with "main_system"
I hope you will help me and thanks in advance
Regards,
Saeed ul haqHi user11957950
Pls share us the code to inspect the problem ...
did u try using the alias of the data base... ?
the following is an example that can help....
BEGIN
:global.quit := 'FALSE';
:global.v_attempt := 0;
END;
WHEN-WINDOW-ACTIVATED-TRIGGER
--MAXIMIZE WINDOWS
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);
SET_WINDOW_PROPERTY('LOGIN_FORM', WINDOW_STATE, MAXIMIZE);
IF :global.quit='TRUE' THEN
Log_on;
END IF;
ON-LOGON TRIGGER
logon(get_application_property(USERNAME),
get_application_property(PASSWORD)||'@'||get_application_property(CONNECT_STRING), FALSE);
if not form_success then
:global.bad := 1;
raise form_trigger_failure;
end if;
LOGON BUTTON CODE
WHEN-BUTTON-PRESSED TRIGGER
if :LOGIN_BLOCK.USERNAME is null then
message('User must be entered !');
go_item('LOGIN_BLOCK.USERNAME');
return;
end if;
if :LOGIN_BLOCK.PASS_WORD is null then
MESSAGE('Password must be entered !');
go_item('LOGIN_BLOCK.PASS_WORD');
return;
end if;
set_application_property(CURSOR_STYLE,'BUSY');
:global.bad := 0;
if :LOGIN_BLOCK.CONNECT_STRING is null then
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD, FALSE);
else
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD||'@'||:LOGIN_BLOCK.CONNECT_STRING, FALSE);
end if;
if :global.bad = 0 and form_success then
set_application_property(CURSOR_STYLE,'DEFAULT');
open_form('MAIN_MENU');
ELSE
:global.v_attempt := :global.v_attempt + 1;
set_application_property(CURSOR_STYLE,'DEFAULT');
if :global.v_attempt < 3 then
MESSAGE('Username/Password was invalid. Please re-enter !');
go_item('LOGIN_BLOCK.USERNAME');
else
MESSAGE('Three Invalid Login Attempts. Account Locked');
exit_form(no_validate);
end if;
end if;
CANCEL BUTTON
WHEN-BUTTON-PRESSED TRIGGER
BEGIN
EXIT_FORM(no_validate);
END;
PROGRAM UNIT Log_on
PROCEDURE Log_on IS
BEGIN
:global.quit := 'TRUE';
exit_form(no_validate);
END;
if this didn't solve ur problem pls tell us what error did u get pls tell us the details...!
Hope this helps...
Regards,
Abdetu... -
Error while calling BI Publisher from Forms 10g using Webservice - Urgent !
Hi,
I am calling a BI Publisher(10.1.3.4.1) webservice from the Forms 10g (10.1.2.0.2). I developed a jar file which works fine when I run from the Jdeveloper. I have successfully attached jar file to the Forms 10g but when I am calling from the when-button-pressed trigger I am getting beow error
Exception: java.lang.Exception: java.lang.NoSuchMethodError: oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.setPreemptiveBasicAuth(Z)V
Thanks in advanceWhat steps did you follow to successfully attached jar file to the Forms 10g? To me, it sounds like you don't have your .jar file configured with Forms Builder and/or your App Server. Your .jar file needs to be added to the FORMS_CLASS_PATH in the default.env and the FORMS_CLASS_PATH registry entry. You will likely need to modify the formsweb.cfg also to include your .jar in the archive= or archive_jini= variables (depending on your JRE [Jinitiator or Sun JRE respectively]).
It could also be a dependency on an additional Java library. Is "setPreemptiveBasicAuth" a method that you created or it is a dependent method from an additional library?
Let us know this; as well as which Java version you're using.
By the way, with respects to your "Urgent!" request. You have to understand that forum contributers are purely voluntary - this is not our full-time job. If your issue is truely urgent, it is always best to open a Service Request (SR) with Oracle Support than to rely on the forum for an urgent reply! ;-)
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Sep 20, 2010 2:48 PM -
Error while running report from Form. i am using Forms 10g.
dear all,
here is a problem when running the report from a fom. gives the pollowing error.
REP-110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
i am using Forms 10g.
thanks
Muhammad NadeemSee metalink doc id 215469.1
The purpose of this document is to:
- provide information on how to resolve the REP-110 error.
- give hints on how to troubleshoot problem.
- include a comprehensive summary of various scenarios which may
result in a REP-110 error -
Getting Error when running oracle form 10g
Hi all, i have a problem when i run oracle form 10g.
in the applet show like this :
Loading http://abc:8889/forms/java/frmwebutil.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.0
Loading http://abc:8889/forms/java/frmall_jinit.jar from JAR cache
Loading http://abc:8889/forms/java/jacob.jar from JAR cache
Loading http://abc:8889/forms/java/printtext.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.TextFieldItem.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.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.ButtonItem.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.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can anybody help me how to solve this problem ?
Thanks,
IwanLoading http://abc:8889/forms/java/printtext.jar from JAR cache
This tells me you are using a 3rd party or locally developed Java Bean to perform some type of print function. Is this correct?
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.Does your printtext.jar Java Bean need to open an HTTP connection in order to print?
Have you been able to print in the past using this Java Bean? Where did you get the Java Bean?
RegisterWebUtil - Loading WebUtil Version 10.1.2.0Your form appears to be using WebUtil. Has it been successfully configured?
Honestly, you need to list the following minimum information when you post a question; it gives us all or most of the information we need to help you and it eliminates the need for us to ask for this information. Please always include:
* Forms Version (eg; 10.1.2.0.0 not 10g)
* Java Version
* Client OS version
* What you were doing when the error occured.
Craig... -
Import java classes Exception Error in Forms 10g
Hi,
I have created a jar file using JDeveloper and need to import it in my Forms 10g to be able to call web services. In my forms builder, after I click on Program - Import Classes and give the name of the stub I created, it gives me the following error :
Exception occurred: java.lang.ClassNotFoundException:
I am following the step by step instructions of OTN
http://www.oracle.com/technology/obe/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm
In the above documentation, where it says "Call the Stub from a Forms Application", point no. 1, it tells to go to control panel - system - advanced - environment variables and edit CLASSPATH. The problem is that in my variable, I cannot see CLASSPATH, it has PATH. I had added my jar file in there. Is it because of this that I'm getting the error.
After that I have added the jar file in default.env in CLASSPATH.
I would appreciate your urgent help in this matter.
Thanks in advance.Well you can create a new variable called CLASSPATH - however, if you are actually seeing the JAR file in the Java Importer then that would assume you are infact seeing the JAR file.
DO you get this problem if you JAR up a simple "Hello world" - if could be that you are not importing all the classes needed . What Jdeveloper version are you using - if its 10.1.3.1 and JAXRPC web services you may need to add an additional JAR to the class.
Luckily for you ...check out...
http://groundside.com/blog/GrantRonald?title=want_to_know_how_to_call_web_services_fr&more=1&c=1&tb=1&pb=1
Regards
Grant
Message was edited by:
Grant Ronald -
Forms 10g - Oracle 11g DB - Date Format Error - Urgent
Hi All,
We are migrating forms 6i to forms 10g.Data Base is 9i to 11g Migration.
In 10g forms pre-form trigger ,i have statement
:head.yr_st_dt := to_date(sc.get_property('ps.yr_st_dt'),'MON DD YYYY HH:MI:SSPM');
In 6i ,it is working fine,the :head.yr_st_dt=22-SEP-09.
In 1og forms with 11g Database, I am getting the below error
frm-40735:PRE-FORM trigger raised unhandled exception ORA-01843
It seems invalid month.
In 9i ,the NLS_DATE_FORMAT is DD-MON-RR.In 11g also same.
Thanks in Advance,
Regards,
Shanuser642745: In the list of forum topics, the fourth topic down is this:
Before posting on this forum please read. Within that post there is a recommendation: "Also read the 10 Commandments on OTN forum posting." with this link: http://blogs.oracle.com/shay/2007/03/02
Please read and follow step 6, "Get a name".
You now have 101 posts to your "user642745" name. When you write, it is difficult to distinguish between your post and the original poster's since you both have a similar number as your names.
user648338: It is clear you do not understand how Oracle handles dates. Depending on the NLS_DATE_FORMAT and NLS_LANG for the session you are running, you will get different results when you display your sc.get_property('ps.yr_st_dt') output.
The fact that you are even trying to execute the command:
select to_date('01-MAY-09','MON DD YYYY HH:MI:SSPM') from dual;shows that you do not understand standard date processing.
Internally, Oracle stores ALL dates in a 7-byte format that includes both date AND time.
The fact that you are getting results like 01-MAY-09 just means that your session is running with NLS_DATE_FORMAT set to DD-MON-YY. It does NOT mean that the date is stored that way.
Your entire problem is caused by the fact that the system on which your old Oracle 9i -- Forms 6i environment has its NLS_DATE_FORMAT (and possibly NLS_LANG) set differently than on your Oracle 11g -- Forms 10g environment.
If you can set your new environment the same as the old, your trouble will go away. Here is how you determine what the values of those environment variables are. Run this in SQL Plus:
select * from nls_session_parameters
where parameter in('NLS_LANGUAGE','NLS_TERRITORY',
'NLS_DATE_FORMAT','NLS_DATE_LANGUAGE');Be aware, though, that it is possible for your Forms environment to change the settings only for the Forms sessions, so what you get from SQL Plus may not be the same.
Edited by: Steve Cosner on Sep 23, 2008 11:13 AM -
Forms 10g compile : syntax error near unexpected token `in
Hi,
I am writing a code to compile FORMS 10g(10.1.2.0.2) in HP_UX one by one.
this is the code---frm10g.sh
*#!/bin/ksh*
*# . ~oracle/forms/server/default.env*
*# . sid icache*
TERM=vt220
*if [ $# != 2 ]*
then
echo Usage : $0 module_name module_type
exit 1
fi
case $2 in
FORM|form|F|f) ext1='fmb' ;ext='fmx' ; modtyp='FORM' ;;
PLL|pll|p|lib|LIB) ext1='pll' ;ext='plx' ; modtyp='LIBRARY' ;;
MENU|menu|M|m) ext1='mmb' ;ext='mmx' ; modtyp='MENU' ;;
**) echo invalid parameter ; exit 1 ;*
esac
echo Generating $1.$ext
frmcmp module=$1.$ext1 userid=abc/abc@abc output_file=../$1.$ext module_type=$modtyp batch=NO compile_all=special > ./log/$1.log
when I try to excute above file frm10g.sh in command line i get following error. Please let me know how to fix it.
[abc]u01/app/oracle/product/10.1.2/forms/forms/Forms10g:. frm10g.sh INV FORM
: command not found
: command not found
'bash: ./frm10g.sh: line 13: syntax error near unexpected token `in
'bash: ./frm10g.sh: line 13: `case $2 in
I really aapreciate your help.
Thanks
SandySandy,
I must apologize. The Compile.sh does not come with the Oracle Dev Suite installation. However, the following is the contents of the compile.sh script we use. This script compiles a single form.
#!/usr/bin/ksh
ORACLE_HOME=/d01/oracle/ias1012;export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/ctx/lib:/usr/java1.2/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc:/usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ucblib:usr/ccs/lib; export LD_LIBRARY_PATH
MODULE_NAME=`echo $1|cut -d. -f1`
MODULE_SUFFIX=`echo $1|cut -d. -f2`
MODULE_MESG=${2:-"Compiling $1"}
OK_MESG=${3:-" Compiled sucessfully"}
. .setpass_cir
APP_PW='cir/'`eimauth -g cir`'@database'
echo "************************************************************************* "
echo ${MODULE_MESG}
frmcmp.sh module=/d01/oracle/forms/${MODULE_NAME}.fmb userid=${APP_PW} compile_all=yes batch=yes
RC=$?
case "$RC" in
0)
echo ${OK_MESG}
echo "Compile errors, return code: $RC "
cat ${MODULE_NAME}.err
echo "Compile errors in $1, press [enter] to continue.\c"
read x
esac
eval exit $RCYou should be able to modify this to suit your needs.
Craig... -
Sysfader: iexplore.exe - Application Error in Forms 10g
Hi,
I am new to Oracle Forms 10g. When I tried to run the Form, it is giving me an Error saying that
*"The Instruction at "0x06130b58" referenced memory at "0x00000054". The memory could not be "read".*
I am unable to run any Form.
Somebody help me out in this regard.
Thansk in advance :)
Regards
Raj
Edited by: 889224 on Nov 30, 2011 8:40 AMPlease always mention 4 digit version numbers (e.g. 10.1.2.0.2) as well as Operation System, Browser and Java Versions.
Just taking a lucky guess here, but if you are using the default config of forms 10.1.2 on a nowadays OS you have a combo of JInit and IE8 which isn't supposed to work and most likely to crash. If this is the case then use a current Sun JPI instead: http://www.oracle.com/technetwork/developer-tools/forms/documentation/forms-jre-131772.pdf
If this is not the case then...well...you might give us a more deeper insight in what you do so we can get an idea what's going wrong.
cheers -
FRM-92101 error when changing the passwd when running Forms 10g application
Hi Friends,
Issue is with: Getting FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details.
Steps i followed.
1. Start th OC4J instance of the oracle 10g.
2. Login with one user/passward and opens Forms 10g application
3. By Using One Form, changed the passward of the current user.
4. then closed the Form and then try to close the Forms Application.At this stage i got an error message FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details.
I verified the log files but i did not get any relevent information
Please help in this scenario.
Regards
Madhava RayaluCould you paste the complete error message?
Does this works fine when you change the username /passwd for other users ?
Rajesh Alex -
OS windows 2003
Forms 10G isuite
when I am trying to run the form getting this error
java.lang.classNotFoundException:oracle.forms.engine.MainI have solved the problem.
In Control Panel -> JInitiator administration console , the option "Use browser settings" has to be unchecked. -
Forms 10g: error FRM-92101: There was a failure in the Forms Server during
AS10g (9.0.4.1) on windows 2000 with 2 GB of ram
We have an application with 10 - 15 users. Sometimes,when users exit from forms with the command exit_form, in a randomic way the form hangs with the error FRM-92101: There was a failure in the Forms Server during startup.....
After the users have to close the browser and open another sessione of explorer.
In the same time other users work fine.
The problem happens more then 10 times a day.
Is there a solution ?I have also run into similar problem.
In my case, this problem has been carried over from Forms 6i to Forms 10g. In forms 6i it wrote an error file in the same folder where *.fmx file was stored.
For 10gAS, look into <ORACLE_HOME midtier>\forms90\trace folder for a file *.trc. Open it up in notepad. It will tell you which trigger was being executed when the form failed.
Put any comment in the PL/SQL of that trigger, recompile the form and the problem will go away.
I usually put something like:
dummy statement for FRM-92101.
I do not know why it works but in my case it has.
Good luck !!!
Would like to know if it works for you.
Suresh
Maybe you are looking for
-
Aperture 3 keeps asking for my serial numbers every time I launch it.
I'm writing this not because I have this problem (though I did have it) but because I couldn't find a direct answer here in Apple Support Communities but did eventually solve it. After purchasing a new iMac to replace an aging MacBook Pro, I tried co
-
Do i need to leave my MacBook at the store after a genius appt.?
All I need is the bottom panel and trackpad fixed. Do I need to leave my MacBook at the store? I'm afraid they will go thru my stuff or something..
-
Duplicate files in itunes music folder with title 1.mp3
Can anyone tell me why there might be duplicate files with this number in my music folder? I'm interested to know what might cause this to happen.
-
(OSX 10.5.8, PowerPC 1.25 GHz) Recently, the keyboard lighting stopped working and the preferences option has disappeared. What happened?
-
Job Classifieds - Job Opportunities
The USAlug.org. This is an online forum for Linux enthusiasts of all skill levels. Novices and experts are all welcome here. You are encouraged to register and be a part of our growing online community. A Linux forum for helping everyone learn Linux.