Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Thor.API.Exceptions.tcAPIException: Error occurred while finding Forms

Pallavi ChaudhariMar 11 2011 — edited Mar 11 2011
Need Help..

I need o fine process form key.
this is my code:

tcFormDefinitionOperationsIntf formOp = (tcFormDefinitionOperationsIntf) ioUtilityFactory.getUtility("Thor.API.Operations.tcFormDefinitionOperationsIntf");
Hashtable formSearchCri = new Hashtable();
formSearchCri.put("Structure Utility.Table Name", "UD_LAPTOP");
tcResultSet rst = formOp.findForms(searchCriteriaMap);
for (int i = 0; i < rst.getRowCount(); i++) {
rst.goToRow(i);
long formKey = rst.getLongValue("Structure Utility.Key");
System.out.println("form key===" + formKey);
}

exception :==

Thor.API.Exceptions.tcAPIException: Error occurred while finding Forms
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 com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_1032_WLStub.findForms(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsClient.findForms(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy2.findForms(Unknown Source)
at oim.api.test.AccessPolicyCreation.createAccessPolicy(AccessPolicyCreation.java:48)
at oim.api.test.AccessPolicyCreation.main(AccessPolicyCreation.java:65)
Caused by: Thor.API.Exceptions.tcAPIException: Error occurred while finding Forms
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.findForms(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.findForms(Unknown Source)
at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.findForms(Unknown Source)
at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl.findForms(tcFormDefinitionOperations_1kx3fy_EOImpl.java:629)
at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
This post has been answered by Rajiv Dewan on Mar 11 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2011
Added on Mar 11 2011
4 comments
978 views