Error in Form Handler Properties?
Hi
I've got at strange error in the Form Handler Properties window. When I open an Event Handler I have inserted earlier it gives me this:
Library oand Function fields are empt. If I try to open the optionset on Library its empty?
When I close down the form again it gives me this really "informative" error:
Hi,
regarding the SQL error, my suggestion is to find a way to replicate it on demand (for example if it happens always when you update a certain field) and enable tracing, in this way you can get more detailed information on the error (when you enable the trace
CRM will slow down and the log is big, for this is better to enable it just for logging when you have the error)
hope it helps
My blog: www.crmanswers.net -
Rockstar 365 Profile
Similar Messages
-
Error creating Form Column Properties
Hi all. I got a problem creating Form Additional Column Properties through OIM API.
The point is next:
I got an instance of Oracle Identity Manager 11g R1 (11.1.1.5)
I'm making a tool for some OIM objects automatic generations, in particular it should create OIM Forms Definitions.
It creates a form with some columns and one of columns has *"ITResourceLookup" Type*. In order to make form active this column should have propertie "Type" set. It points to ITResource Definitions.
The trouble is that API method don't know such type of propertie 'Type'.
Here is the sample of code i'm using
tcFormDefinitionOperationsIntf formServ = oimClient.getService(tcFormInstanceOperationsIntf.class);
// creating main form
Map map = new HashMap();
map.put("SDK_NAME","SOMENAME");
map.put("SDK_DESCRIPTION", "Form Description");
map.put("SDK_FORM_DESCRIPTION", "Form Description");
map.put("SDK_TYPE","P");
formServ.createForm(map);
//finding created form def key
map.clear();
map.put("Structure Utility.Table Name", "UD_SOMENAME");
tcResultSet forms = formServ.findForms(map);
if (forms.isEmpty()){
log.warn("Some troubles :( Can't find created form SOMENAME");
return;
forms.goToRow(0);
long formDefKey = forms.getLongValue("Structure Utility.Key");
int formVersion = forms.getIntValue("Structure Utility.Latest Version");
int i=1;
for (String mainAttr : connSchema.getAttributes()) {
formServ.addFormField(formDefKey, formVersion, mainAttr.replaceAll("__KEY__", ""), "TextField", "String", 64, i, "", "0", false);
i++;
//adding it resource field
long itResFieldKey = formServ.addFormField(formDefKey, formVersion, "Server", "ITResourceLookupField", "long", 0, i, "", "0", false);
formServ.addFormFieldProperty(itResFieldKey, "Required", "true");
formServ.addFormFieldProperty(itResFieldKey, "Type", serverDefKey.toString()); *<----------------------------------------------------- Here we have exception*
formServ.activateFormVersion(formDefKey, formVersion);
The exception is:
ERROR,07 ноя 2012 16:16:21,252,[ru.iserb.icfconnectorgenerator.OIMObjectsGenerator],tcPropertyNotFoundException
Thor.API.Exceptions.tcPropertyNotFoundException
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_1035_WLStub.addFormFieldPropertyx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy4.addFormFieldPropertyx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfDelegate.addFormFieldProperty(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy5.addFormFieldProperty(Unknown Source)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.createForms(OIMObjectsGenerator.java:400)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.generate(OIMObjectsGenerator.java:181)
at ru.iserb.icfconnectorgenerator.mainFrame.btn_GenOIMObjectsActionPerformed(mainFrame.java:718)
at ru.iserb.icfconnectorgenerator.mainFrame.access$1200(mainFrame.java:19)
at ru.iserb.icfconnectorgenerator.mainFrame$13.actionPerformed(mainFrame.java:215)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: Thor.API.Exceptions.tcPropertyNotFoundException
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.addFormFieldProperty(tcFormDefinitionOperationsBean.java:3432)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB.addFormFieldPropertyx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy460.addFormFieldPropertyx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.addFormFieldPropertyx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
The propertie "Required" is set to True, so no troubles here. But propertie "Type" is not accepted by server.
If we comment the line with setting propertie 'type' we cannot activate form, it is needed to be set. If we try, we got next exception:
ERROR,07 ноя 2012 16:32:15,109,[ru.iserb.icfconnectorgenerator.OIMObjectsGenerator],tcAPIException
Thor.API.Exceptions.tcAPIException: Required properties have NOT been set for the following field(s) : Required properties have NOT been set for the following field(s)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_1035_WLStub.activateFormVersionx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy4.activateFormVersionx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfDelegate.activateFormVersion(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy5.activateFormVersion(Unknown Source)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.createForms(OIMObjectsGenerator.java:436)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.generate(OIMObjectsGenerator.java:181)
at ru.iserb.icfconnectorgenerator.mainFrame.btn_GenOIMObjectsActionPerformed(mainFrame.java:718)
at ru.iserb.icfconnectorgenerator.mainFrame.access$1200(mainFrame.java:19)
at ru.iserb.icfconnectorgenerator.mainFrame$13.actionPerformed(mainFrame.java:215)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: Thor.API.Exceptions.tcAPIException: Required properties have NOT been set for the following field(s) : Required properties have NOT been set for the following field(s)
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.activateFormVersionData(tcFormDefinitionOperationsBean.java:213)
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.activateFormVersion(tcFormDefinitionOperationsBean.java:130)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB.activateFormVersionx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy460.activateFormVersionx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.activateFormVersionx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Desing console can set such propertie. But how should i set it through API?
Does anyone have ideas how should i solve this problem?Hi,
regarding the SQL error, my suggestion is to find a way to replicate it on demand (for example if it happens always when you update a certain field) and enable tracing, in this way you can get more detailed information on the error (when you enable the trace
CRM will slow down and the log is big, for this is better to enable it just for logging when you have the error)
hope it helps
My blog: www.crmanswers.net -
Rockstar 365 Profile -
Form mail form handler properties
I am a newbie to dreamweaver 8. I have created and posted a
basic contact form at
http://www.patentsmakemoney.com/ContactUs.html.
The form does not work. I want visitors to be able to send me some
basic information and eventually expand the form and create others
to allow visitors to fill out questionnaires.
The form has five properties. What should I type into each
other these five fields? My host won’t help.
1. Action
2. Method
3. Target
4. Class
5. EnctypeYou're going to need to use some sort of server-side
scripting method to
process and handle your form. First step is to check with
your host to see
what they offer you. If your host offers PHP, have a look
here:
http://sourtea.com/articles.php?ref=30
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Web Dev Articles, Photography, and more:
http://sourtea.com
=============================================
Proud GAWDS Member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================
"jlindon" <[email protected]> wrote in
message
news:eci4nq$hic$[email protected]..
>I am a newbie to dreamweaver 8. I have created and posted
a basic contact
>form
> at
http://www.patentsmakemoney.com/ContactUs.html.
The form does not
> work. I
> want visitors to be able to send me some basic
information and eventually
> expand the form and create others to allow visitors to
fill out
> questionnaires.
>
> The form has five properties. What should I type into
each other these
> five
> fields? My host won?t help.
> 1. Action
> 2. Method
> 3. Target
> 4. Class
> 5. Enctype
>
>
> -
Displaying a trigger error in forms
In a before inserting table trigger, if inserted values are not correct, I raise an error :
RAISE_APPLICATION_ERROR(-20001,'Error message !');
What I want is to display this error message in forms instead of the error 40508 - ORACLE error: unable to INSERT record.
How can I ?look at Dbms_Error_Code and Dbms_Error_Text.
You'll have to parse them, but you can grab the error messages off them.
Here's a similar question I asked on Metalink... I never received an error there, but the solution was to write an on-error trigger for the block and capture the form errors related to inserts, updates, and deletes. Here's the question though:
Oracle Forms/Web Forms Technical Forum
From: ERIC GIVLER 18-Nov-00 15:16
Subject: "Clean" capture of DBMS Error messages on raise_application_error
"Clean" capture of DBMS Error messages on raise_application_error
This is with Forms 4.5 Developer 1.3.2 (32bit)
Has anyone written forms level triggers, I guess ON-ERROR triggers to properly capture the error messages raised from a database trigger or procedure that uses a RAISE_APPLICATION_ERROR?
I'd like to display the SAME message that I'm passing to RAISE application error, the message only, without all the other garbage.
I was thinking of capturing the dbms_error_code and dbms_error_text, and then based on the form error code - kind of like in the example code in the Forms Help. Then, I'd parse these strings and strip off my error message, because the dbms_error_text contains the entire "error stack", ie:
ORA-20100: SEASON DATES ERROR! Reservations exist in this date range
ORA-06512: at "SUNTRACK.SEASON_DATES_BR_D", line 19
ORA-04088: error during execution of trigger 'SUNTRACK.SEASON_DATES_BR_D'
So... I'd like to just get "SEASON DATES ERROR! Reservations exist in this date range" message
Questions:
1. Is there an easy way to do this that I'm missing, or do I have to brute force, look for 'ORA'| |dbms_error_code| |': ' in my dbms_error_text, strip that off the front, and then grab the error text up to the first LINEFEED, chr(10), found in the dbms_error_text - that just seems a little "kludgy"
2. Anyone have a nice solution? IT seems like there should be a "standard" on-error trigger that handles this type of situation.
3. What would be all the form errors that I should look for that could have been the result of an error raised in a trigger???
ie. frm-40509 (unable to update), frm-40510 (unable to delete
null -
How to find trace file error in form
hai all,
i have big problem in my form in apps i open the form one error is ocuured,
i got the trace file and check the error,
PARSE ERROR #82:len=2903 dep=0 uid=173 oct=3 lid=173 tim=4265689973879 err=904 this is the trace file error meassage,
how to find this error in form and also this is occured one select statement,how to find this select statement where can be used in form,
i have one button ,when ever i press the button this error is ocuured,i check this button pl/sql procedure code but in this code not using that sql statement,
if any one know to find the sql statement through trace file.
plz give the replay as soon as possible.
thank'sThe newest SQL Developer can converts the trace to readable format too, I'm not shure if you see the sql statement related to the error then.
It seems you get ORA-00904 which says you use an invalid coumn in a dml statement.
Normally such error should pop up in message - do you overwrite the message handling or use exception handling in you form which block this message?
Easiest way to find this is to compile the form against the target database.
If this does not give an error, you should check, if you use dynamic sql statements which are wrong.
If you call database routines from your form, than this could be the errro cause too. -
Hello to all
I hope it is right forum for my question
I have found for error I get in Directprint this following:
When you migrate to the latest Forms version (10.1.2.3 or 11) and try using a JavaBean created with an older Forms version, you can get the following error, at runtime, in the Java Console:
Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet
The reason is you try to use a Java Bean compiled with an older Forms JAR file, like f90all.jar.
So, to correct the issue, you have to change the Java code then re-create the JAR file:
private Main formsMain = null;
Replace:
formsMain = (Main) handler.getApplet();
by:
// getting the Forms Main class
try{
Method method = handler.getClass()
.getMethod("getApplet", new Class[0]);
Object applet = method.invoke(handler, new Object[0]);
if (applet instanceof Main) {
formsMain = (Main)applet;
}catch(Exception ex) {;}
Then create and deploy the new JAR file to your /forms/Java folder.
My problem is
But I am very poor in java code, could you guide me to do what that article said, or pointing me where find instruction how do this following
So, to correct the issue, you have to change the Java code then re-create the JAR file:Can I create Jar Directprint.jar, with command
jar cf jar-file input-file(s)
C:\DevSuiteHome_1\jdk\bin\jar cvf DirectPrint.jar DirectPrint.java
Because when I open jdeveloper to associate (Creating JAR deployments using JDeveloper ) it got error (jdeveloper with debug
Thanks for any helpI hope it is right forum for my questionIt's not {noformat}:){noformat}
Try {forum:id=82}
Best,
john -
hi all,
form handler's handle methods return type is boolean, the question is here, when it will set false and when it will set true.
and where the success and failure url has been set.
Regards
333The return value inform Dynamo that if it needs to continue processing the rest of the page after the current handler is finished.
true - Normal processing of the remaining values continues, and the page specified by the form’s action attribute is served.
false - No further values are processed process after the handler is called, and the rest of the page is not served. For example, a handler that redirects the user to another page should return false
If it is a custom handler method, it is the developer responsibility to return appropriate value based on the above details.
Success and Failure URLs can be set as properties in your Formhandler and set the values using the Formhandler Component (.properties file). You may also set this value from the JSP as a hidden control but not recommended due to security.
From your handle method you may invoke checkFormRedirect(String pSuccessURL, String pFailureUrl, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
Cheers
R
Edited by: Rajeev_R on Feb 13, 2013 3:32 AM -
TCP/IP Receive Handler Properties of TCP/IP Handler
I want to change the Use Blocking Sockets property of TCP Receive Handler but I am getting the following error in the screenshot:
Did anyone face the above error ?
I am using codeplex TCP/IP 2010 adapter.
PrakashHi Prakash,
With this adapter, this issue of error while changing the adapter handler properties is not jkust for "Use Blocking Sockets" but also to any other properties. Have just tried to update the other properties in adapter handler? I have it now and
I am getting the same error as your but while changing the values of any of the properties. Not just for the properties of Receive Handler but also for send handler. It’s for all the handler properties.
I think the issue is with the setup package. Its missing some of the dependant assemblies. One option I can suggestion is to rebuild the code and do the adapter deployment manually (or simply try by GACing all the dependant assemblies to start with)
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
How to handle oracle.forms.handler.TextAreaItem
Hi guys,
i get following error if i try to set the text of a oracle.forms.handler.TextAreaItem.
If i "inspect path" the pathfinder show me that it is a oracle.forms.handler.TextFieldItem.
Now, if i run the script, following error occurs:
Paused by Exception
Reason:
Replay Action: TextField(//forms:textField[(@name='FPAA_FPAA_ZUSATZ_INFO_0')]).input() failed. Cause: oracle.forms.handler.TextAreaItem cannot be cast to oracle.forms.handler.TextFieldItem
What to do now?
There is no oracle.forms.handler.TextAreaItem that i can select in the menu of "right-click --> Add new action/item".Any suggestions on this problem?
-
Error Running Forms: Failure of server APACHE bridge
Hi Everyone,
I have this problem on windows 7 64-bit... installation went fine without any errors.
Forms was working fine, i was able to run test form, and a form that i created, and both were running properly..
suddenly, while testing a new form module, it didn't work, and its showing :
Failure of server APACHE bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF. I stopped and started the wls_forms and it didn't solve the problem..
i couldn't get to a solution anywhere, is it a problem with weblogic configuration? but how was it working well at the begining... if weblogic services are not starting, then what's the fix for that?
Help would be appreciated...
Thanks..No, but as said you installed components (the HTTP Server) you wouldn't need for development. Did you start WLS_FORMS?
In any case the latest version of forms would be 11.1.2 where the installation process for a development machine is much easier.
You'd need
- wls1035_generic.jar and a 64bit java runtime
- the 64bit version of forms 11.1.2: http://download.oracle.com/otn/nt/middleware/11g/111200/ofm_frmrpts_win_11.1.2.0.0_64_disk1_1of1.zip
of course you can install the 32bit version of forms too on your 64bit machine.
then during installation just check "development mode", and you get a development installation like you got with iDS 10.1.2 with one weblogic instance instead of 3 and all the components you won't need (like webcache or the http server) won't be installed.
cheers -
"Invalid Cursor" Error in Form
Hi,
I wrote a procedure that take a REF CURSOR as an IN OUT argument. This procedure does an "OPEN cursor FOR qry" with a dynamic query:
OPEN l_cursor FOR
'SELECT A '||
'FROM B '||
'WHERE C = :l_var'
USING myVar;After calling the procedure, I do a LOOP with FETCH.
It works well when I use it in SQL*Plus with DBMS_OUTPUT but it returns a "ORA-01001 invalid cursor" error in Forms.
Any help is welcome!
Regards,
Olivier.I found a solution on Metalink:
Note:170881.1
Note: 1007395.6
Olivier. -
Error while posting GR "Internal error in FORM/FUNCTION CKML_F_BUILD_INDEX
Dear Experts,
While posting GR for any non-valuated material, I am getting an error "Internal error in FORM/FUNCTION CKML_F_BUILD_INDEX in position 1 with RC 0
Message no. C+099"
Kindly explore the possibilities of solution for the above error. The abve error only showing at the time of posting and not whicle Check.
Regards,
TusharHi Tushar,
Your problem is happening because of the applicaiton of an SAP Note. I think PM has nothing to do with this Error. Pl. read the following (which I read this from one SAP website) & check the relevant SAP notes and take action or write to SAP for solution.
Symptom
The posting of goods receipts results in a long runtime.
Other terms
ACTUPD, MIGO, performance, material ledger
Reason and Prerequisites
The actual costing is active.
The performance problems usually occur when there are several procurement alternatives or procurement processes (tables CKMLMV001 and CKMLMV002) for certain materials.
This can be caused by implementing the modification according to Note 1017470 or 919869, [...]
Regards,
Bala. -
Fatal error distributing forms with Adobe Acrobat 9 Pro
Fatal error distributing forms with Adobe Acrobat 9 Pro.
I click
"Adobe Acrobat Pro/Formularer/Distribuer formularer/"
("Adobe Acrobat Pro/Forms/Distribute forms/")
and chose a form for distribution and in the picture "Distribute Form" chose
"Automatically download & organize responsees with Acrobat.com".
I then click "Next" and write an email-address to send it to (i.g. to my own)
and then click "Send".
The program quickly writes
"Authenticating email-addresses"
and then gives the following error message
"Borland Database er ikke installeret. Kan ikke indlæse tjenesteudbyder af Corel-adressekartotetek."
("Borland Database is not installed. Can not read load service provider of Corel address directory.")
When I clik "OK" I get the error message
"Adobe Acrobat has encountered a problem and needs to close. We are sorry for the inconvenience."
I have undeleted and reinstalled Adobe Acrobat many times without any effect.
The same procedure has been tried on another computer without any problem.
What is my problem and how do I resolve it ?
Operating System Windows XP
Has worked may times before
Same results with other files
No recent system hardware or software changeThis is the image that I have plus....
Reader 9.0 AcroRd32.exe caused Microsoft Visual C++ Runtime Library error
Preinstalled Adobe 9 Standard doesn't work on a new Dell out of the box - why would it?
Need help in creating a batch file that will add and remove some registy keys.
%userprofile% -
Error in form server6i ifweb60
Error in form server6i ifweb60
Hi all
We are using oracle formsserver6i on win2003 server as application server . Usually each ifweb60 gets 18 – 25 MB memory, but Sometimes one or more of them starting to get more and more memory (I've seen 250MB) and then finally we get an Microsoft visual C++ runtime library error window with following text:
Assertion Error in ifweb60.exec
File=e:\994w32\src\if\iff\ifzexe.c
Line: 1183
Exception: hifxc == hifxc_old
Pres Retry to debug application – JIT must be enabled
Is it a application related error or it’s a bug?
Does any body have any workaround this problem?
Thank you in advance.
Alireza
Message was edited by:
areh74I am with Mediware Information Systems and we have an opening for a Senior Oracle 6i DBA if you know of anyone who has 5 yrs. of Oracle 6i DBA experience. If so, they can send their resume to [email protected] with the subject line 06-029.
Thanks! -
Getting error in event handler method onPlugFromStartView
Hi,
I am getting error in event handler method onPlugFromStartView java coding. The error message is u201CThe method wdGetwelcome componentcontroller() is undefined for the IPrivatevieew.
Plese explain how to resolve this error to deploy the webdynpro application successfully.
Thanks,
Kundan.Hi
1.It seems some thing corrupt or some problem .
2. Do one exercise Create one new Dc --component -View ,In component write one method.
a) Open the view and then try to add that component.
Let us know the result
Best Regards
Satish Kumar
Maybe you are looking for
-
How to use two seperate iPods with one iTunes. Different Music Preferences
My Wife and I both have 80 Gig iPods. We like different Music. How can we both use the same Windows XP computer and have different music lists?
-
Partner function update using CRM_PARTNER_MAINTAIN_SINGLE_OW
Hi Experts, Can some one pls help me with some working code/sample to update a partner function value in CRM Order. I tried the below code but it doesnt seems to be working. Appreciate your help on this. call function 'CRM_ORDER_READ' expor
-
How to create data stores in ODI ?
Hi all, I am new to this ODI part.Can anyone please help me as how to create data stores in ODI. A prompt reply will be highly aprreciated. Thanks Saurabh.
-
Recently I've been having an issue where I've been saving a file in .psd format and I have no issues opening it up, editing it and seeing all the layers. But I have sent it to several people and everyone has opened it and only seen a single layer as
-
Error loading operating system after factory reset CQ61 windows 7
Its a Compaq CQ61-306SA running windows 7. I did a factory reset and after a while got a black screen with ERROR LOADING OPERATING SYSTEM.It never came with any discs or copy of windows so is there any way of fixing this problem. Please help am gett