FCC params required
Hello All,
Here the scenario is Inbound. I am facing trouble in FCC parameters. My Input file structure is simple.
Source structure:
DT_NAME
RECORD
FIELD1
FIELD2
FIELD3
FIELD4
FIELD5
FIELD6
Out of 5 fields first 3 fields and FIELD5 are mandatory and others are optional. And I defined the cardinality accordingly.
There is no mapping defined for FIELD4 and FIELD6.
Can some one tell me what are the FCC paramters I need to defined in channel to pick the CSV file
Thanks,
Regards,
Moorthy
Hi Moorthy,
Can u let us know the receiver file format, what I mean is a sample file for it. So that we can help you provide the parameters for the content conversion.
Thanks,
Similar Messages
-
FCC Parameters Required ?
hi all,
I have to read the file separated by # and then I have to use UDF to seperate the various parameters.
I need FCC parameters for the same I have creatd the struct of message as follows
MT_Req
Recordset... 1.1
Record ...o..Unbounded
Row ..1.1
I want all the records seperated by # in row .
RegardsHi Amith,
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
For recever side adapter see below link,
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
For occurences....
http://help.sap.com/saphelp_nw70/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
Mapping details ......
http://help.sap.com/saphelp_nw70/helpdata/en/e4/82cf0ec8b9494db92e27e2be69524f/frameset.htm
I am hope full that this links will help u a lot .......!
Regards,
Azeez khan. -
Hello All,
I am working on a flat file to IDOC scenario. And I am facing strange issue with FCC params.
Here is the flat file structure:
HEADER_RECORD
RECORD_1
RECORD_2
RECORD_3
RECORD_4
TRAILER_RECORD
FCC params are defined as below:
RecordSet Structure:HEADER_RECORD,1,RECORD_1,,RECORD_2,,RECORD_3,,RECORD_4,,TRAILER_RECORD,*
There are keyField values for all the above nodes.
keyfield value for HEADER_RECORD is OP01
keyfield value for RECORD_1 is 1
keyfield value for RECORD_2 is 2
keyfield value for RECORD_3 is 3
keyfield value for RECORD_4 is 4
keyfield value for TRAILER_RECORD is CP99
Strangely ,when the sender channel trying to pick the file TRAILER RECORD data is going under RECORD_2.
And it has been observed that TRAILER RECORD contains 2 somewhere in the data. I dont understand why it is behaving like this
The keyfileldName position in the HEADER_RECORD is 1 and in TRAILER_RECORD the position is 1.
And in the others it is at 4th postition(4th field)
Can you please help me here
Regards,
MoorthyRecordSet Structure:HEADER_RECORD,1,RECORD_1,,RECORD_2,,RECORD_3,,RECORD_4,,TRAILER_RECORD,*
I see some problems in the recordset structure.
1 )Are you getting only repeated trailer records? If not, why do you say * after TRAILER_RECORD above line in the recordset structure.
It should be TRAILER_RECORD,1
2) Why there is two commas after Record_1,, similarly for all the records
If you have one header and repeated record fields and one trailer... do as follows
Create data structure as follows...
Header
---Record (Node)
Record_1
Record_2
Record_3
Record_4
Trailer
Recordset Structure: Header,1, Record,*, Trailer,1 -
Hello All,
Below is my Data type structure:
Message type
Record (0 *)
Header (1..1)
LineItem (1..*)
In FCC params I mentioned RecordSet name as Record and RecordsetStructure as Header,1,LineItem,*
But I am not getting Record tag in the xml which is required.
Can anyone tell me the issue
Regards,
MoorthyHai Moorthy!
> Message type
> Record (0 *)
> Header (1..1)
> LineItem (1..*)
>
> In FCC params I mentioned RecordSet name as Record and RecordsetStructure as Header,1,LineItem,*
>
> But I am not getting Record tag in the xml which is required.
In your File Content Conversion add the following Parameter
ignoreRecordsetName and give the value us false.
Now u will get the Recordset name in your XML if u pass true u wont get in XML.To get it is mandatory thing to add it.
Go through the below link.
[http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm]
Regard's
Preethi. -
Flat File to Delivery IDOC scenario
Dear All,
I am having one scenario in which I am having the flat file (.txt) of the Delivery Idoc and now I want to convert that flat file into a Delivery Idoc with the required data.
Kindly suggest me some good blogs which gives the step by step process for doing this scenario.
Warm Regards,
N.JainHey Nishu,
You have to use File Content Conversion Paramters to acheive this.
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
You can Follow the following blogs
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
Or juz post your sender datatype structure some one might give u exact fcc params.
Hope itz Helpfull.
<b>Cheers,
*Raj*
*REWARD POINTS IF FOUND USEFULL*</b> -
PofAnnotations in 3.7.1
I built a bunch of tests for PofAnnotations, looks really good.
Couple of small issues :
Setter problem_
If you run the sample in the documentation with just
@PortableProperty public String getSampleString() { return sampleString; }You get the following error :
An error occurred in discovering the compliment of method = public java.lang.String com.rbs.hpc.incubator.newPof.PofSampleObj.getSampleString(),
assuming compliment method name is setSampleString) java.lang.NoSuchMethodException: com.rbs.hpc.incubator.newPof.PofSampleObj.setSampleString(java.lang.String)Note there is a bracket missing in this message (I'm a pedant).
Once you put the setter in everything is ok, but I think you may want to support readOnly methods.
Array problem*
@PortableProperty public PofSampleObj[] sampleArray;
Can not set [Lcom.rbs.hpc.incubator.newPof.PofSampleObj; field com.rbs.hpc.incubator.newPof.PofSampleObj.sampleArray to [Ljava.lang.Object;
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)Only supports type of Object - should support typed arrays.
Collection Type*+
These come back as com.tangosol.util.ImmutableArrayList$ListView which is an Inner private class rather than the ArrayList I passed in. This isn't necessarily a problem, but causes my equals method to blow up ;-) HashMap comes back nicely as HashMap for Map types...
pof-config.xml documentation issue*
http://docs.oracle.com/cd/E24290_01/coh.371/e22837/api_pof.htm#BABGDHED
This code runs fine, but the XSD complains. I think the XSD should be fixed :
<init-param>
<param-type>class</param-type>
<param-value>{class}</param-value>
</init-param>
Requires
<init-param>
<param-type>java.lang.Class</param-type>
<param-value>{class}</param-value>
</init-param>
Simplifying config*
We certainly want to use the auto-config going forward. Rather than having to specify the Serializer, Type, Class and Boolean for each class we'd just like a boolean at the top
eg. useAutoConfig="true"
That will make things much easier.
POF Domains / C# support*
Obviously we'd like this in the future.
Really nice piece of work guys. I'm happy to raise this as an SR if it helps...
Best, Andrew.Hey Andrew,
RE: Setter Problem - thanks for finding this, its extremely useful that you provide that feedback for what many people would simply side-step. thanks!
RE: Array Problem - ah, deffo bug. In the interim you could provide a Codec implementation such as below. This can be used uniformly for all arrays:
* Workaround for incorrect array component casting.
* @author hr
public class ObjectArrayCodec
implements Codec
// ----- Codec methods ----------------------------------------------
* {@inheritDoc}
@Override
public Object decode(PofReader in, int iProp) throws IOException
Object[] aoProperty = in.readObjectArray(iProp, new Object[0]);
if (aoProperty.length == 0)
return null;
Class<?> clz = aoProperty[0].getClass();
Object ao = Array.newInstance(clz, aoProperty.length);
System.arraycopy(aoProperty, 0, ao, 0, aoProperty.length);
return ao;
* {@inheritDoc}
@Override
public void encode(PofWriter out, int iProp, Object value) throws IOException
out.writeObjectArray(iProp, (Object[]) value);
}RE: Collection Type, this was the main driver in introducing Codecs. Alternatively you could register a serializer against List which would always instantiate and return an ArrayList if you wanted to make the sweeping assumption, otherwise its a codec for each property. Out of interest do you see any benefit in a "defaults" for codecs, i.e. for all List.class types use ArrayListCodec?
RE: XSD, i'll take a look.
RE: Simplifying config, completely agree that the ~8 lines of xml to say 0 || 1 is overkill :) When we extend the auto-indexing functionality we will hopefully / eventually invert the current default.
RE: POF Domains, its definitely on the list - its pretty long list tho ;)
Cheers,
Harvey -
Error while registering plugin for custom schedule task
Hello,
I am trying to register a plugin for creating a custom scheduled task. I have referred to the document
http://docs.oracle.com/cd/E23943_01/doc.1111/e14309/refsched.htm
Followed the below steps-
1. Updated the task.xml as below taken from MDS database
<task>
<name>AC Target Source Reconciliation</name>
<class>com.cgc.iam.customconnector.ac.ReconACTarget</class>
<description>This schedule task reconciles the active users from AC to OIM. This is a one time initial recon</description>
<retry>0</retry>
<parameters>
<string-param required="true" helpText="IT Resource">IT Resource</string-param>
<string-param required="true" encrypted="false" helpText="FileName">FileName</string-param>
<string-param required="true" helpText="Admin">Admin</string-param>
<string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
<string-param required="true" helpText="ConfigurationLookup">ConfigurationLookup</string-param>
<string-param required="true" helpText="FilePath">FilePath</string-param>
<string-param required="true" helpText="ResourceObject">ResourceObject</string-param>
</parameters>
</task>
<task>
<name>ACRoleReconTask</name>
<class>com.cgc.iam.customconnector.ac.ReconACRoles</class>
<description>This scheduled task will reconcile the ACGroups and AC Roles from a csv file that is stored at a shared location</description>
<retry>0</retry>
<parameters>
<string-param required="true" helpText="Admin">Admin</string-param>
<string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
<string-param required="true" helpText="FilePath">FilePath</string-param>
<string-param required="true" helpText="GroupLookup">GroupLookup</string-param>
<string-param required="true" helpText="RoleLookup">RoleLookup</string-param>
<string-param required="true" helpText="GroupTableName">GroupTableName</string-param>
<string-param required="true" helpText="RoleTableName">RoleTableName</string-param>
</parameters>
</task>
2. Imported the task.xml into MDS.
3. created the plugin.xml as below-
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
<plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACTarget" version="1.0.1" name="scheduler element"></plugin>
<plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACRoles" version="1.0.1" name="scheduler element">
</plugin>
</plugins>
</oimplugins>
3. created the plugin.zip with the folder structure as-
plugin.zip
plugin.xml
lib
jar files
4. set ant properties
5. run the command
java -jar ../../../modules/com.bea.core.jarbuilder_1.7.0.0.jar
4. registered plugin using ant utility.
Now, I am getting the below exception-
oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
Please help.
Thanks
sjit[echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
[echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
[echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
[echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
[echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
[echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
[echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
[echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
[echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
[echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
[echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
[echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
[echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
[echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
[echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
[echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
[echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
[echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
[echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
[echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
[echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
[echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
[echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
[echo] ... 3 more
[echo] Exception in thread "Main Thread" oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
[echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
[echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_1036_WLStub.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
[echo] at $Proxy2.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceDelegate.registerPluginAndReturnStatus(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
[echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
[echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
[echo] at weblogic.security.Security.runAs(Security.java:41)
[echo] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
[echo] at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
[echo] at $Proxy3.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.utils.PluginUtility.registerPluginAndReturnStatus(PluginUtility.java:279)
[echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:219)
[echo] Caused by: oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:222)
[echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
[echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
[echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
[echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
[echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
[echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
[echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
[echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
[echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
[echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
[echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
[echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
[echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
[echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
[echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
[echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
[echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
[echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
[echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
[echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
[echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
[echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
[echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
[echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
[echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
[echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
[echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
[echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
[echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
[echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
[echo] ... 3 more
[echo] classpath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar
[echo]
[echo]
[echo] was_home=null
[echo]
[echo]
[echo] client_home=null
[echo]
[echo]
[echo] xl_home=null
[echo]
[echo]
[echo] mw_home=null
[echo]
[echo]
[echo] newClasspath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar.:/sample:null/ext/ojdbc14.jar:null/ext/ucp.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/lib/oimclient.jar:null/server/lib/wlfullclient.jar:null/ext/jakarta-commons/commons-logging.jar:null/ext/commons-logging.jar:null/ext/spring.jar:null/ext/spring.jar:null/server/lib/webserviceclient+ssl.jar:null/platform/iam-platform-utils.jar:null/server/lib/wlclient.jar:null/server/lib/weblogic.jar:null/platform/iam-platform-auth-client.jar:null/features/iam-features-system-configuration.zip:null/features/iam-features-identity.zip:null/features/iam-features-platformservice.zip:null/ext/log4j-1.2.8.jar:null/lib/XellerateClient.jar:null/lib/xlAPI.jar:null/lib/xlLogger.jar:null/lib/xlVO.jar:null/lib/xlUtils.jar:null/lib/xlCrypto.jar:null/lib/xlAuthentication.jar:null/lib/xlDataObjectBeans.jar:null/ext/oscache.jar:null/ext/javagroups-all.jar:null/lib/xlFvcUtil.jar:../../../iam/iam-lib/internal/jrf-api.jar:null/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:null/ext/jrf-api.jar:null/oracle_common/webservices/wsclient_extended.jar:null/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar
[echo] Error in registering the plugin. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] Error occured during the use of plugin registering utility. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
BUILD SUCCESSFUL
Edited by: sjit on Nov 23, 2012 5:20 AM -
How to Pass parameter to Custom Scheduler dynamically
hi ,
I am new to OIM.
Need your help in passing parameters dynamically to Custom Scheduler.
I have created Custom Scheduler by extending Task Support.
I have registered the plugin through API , using PlatformService.registerPlugin() method.
As I need to send the parameter(s) to this CustomScheduler, I have defined them in Metadata (CustomScheduleTask.xml) file as below and got it imported into DB
through weblogicImportMetadata.sh script by providing the path of the file.
<scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>CustomScheduleTask</name>
<class>org.schedule.custom.task.CustomScheduleTask</class>
<description>Fetch details of the given user_id</description>
<retry>5</retry>
<parameters>
<string-param required="true" helpText="Login Name">Login Name</string-param>
</parameters>
</task>
</scheduledTasks>
Iam able to import this plugin as well as register the plugin successfully. Now I have defined a job to which this Custom SchedulerTask is mapped.
Now in order to run this job(schedule task) I need to provide Login name( or id) which needs to be send as a parameter for the scheduler to get executed.
But while defining the job with this Schedule Task on OIM console, I was not able to define or pass parameter to this job. hence parameter is null in
CustomSchedule 's execute method .
Kindly help me how to pass parameter dynamically while running the scheduler from OIM console so that the execute method would be able to receive it.
Thank you in Advance.
Regards,
KumarHi,
When you have created the schedule job for your custom schedule task, you should see your Login Name textfield in the schedule task. If not, then there verify your schedule task xml.
In your schedule class code, add:
public void execute(HashMap arg0) {
final String METHOD_NAME = "execute :: ";
logger.debug(CLASS_NAME + METHOD_NAME + "Entering Method - execute");
try {
String LoginName = arg0.get("Login Name");
Regards,
Sunny -
Error while running schedule jobs in oim 11 gr2
Hello,
I have create the custom schedule job.for which i have create the java call and the plugin.xml file and i have successfully register it to oim
,then i have create the metadata scheduler xml and import it to mds using wlst.
then i have cretae the schedule job in oim advance tab.but when i run that task the console propmt the error
<Jun 13, 2013 5:47:19 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000> <XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot f
ind the declaration of element 'scheduledTasks'.>
<Jun 13, 2013 5:48:51 PM IST> <Error> <oracle.iam.transUI.impl> <BEA-000000> <ADP ClassLoader failed to load: com.oracle.demo.oim.scheduled.NotificationDemoSc
heduledTask>
please help how to resolve this error
regards,
TusharCheck your scheduler xml. I hope XSD validation exception points to invalid scheduler xml file. It should look something like this sample
<scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>Lookup Recon Scheduled Task</name>
<class>oracle.iam.samples.schtasks.LookupReconScheduledTask</class>
<description>Lookup recon Scheduled Task</description>
<retry>5</retry>
<parameters>
<string-param required="true" helpText="Name of the Lookup code">Lookup Code Name</string-param>
</parameters>
</task>
</scheduledTasks> -
Problem with fixedlenthgs in receiver file adapter
HI,
I am doing XML to flat file scenario and using mutli mapping concept without BPM.
in the receiver file adapter I am using FCC with fixedlengths,then it generated just 3 output files out of nearly 100 source files.the errored one are succcessful in the SXMB_MONI and failing in RWB-->Message moni with waiting status and MDT says that XI_J2EE_ADAPTER_FILE ,Error Code PROCESSING_ERROR .
i tried in SDN and then found something like enable the disablesecurity check box in variable substitution parameters ,then I got 4 files out.
these are my FCC params for all structures:
struc1.fieldFixedLengths
struc1.fixedLengthTooShortHandling
struc1.endSeparator
and I tried with fieldSeparator then it gives successfully all output files.
so,where is the problem?I didnt understand?
any suggestion.
thank you,
regards,
Babu SriBhavesh,
I felt the same way,but assumed that ,in that way fixedlenghths wont work.
in my target structure most of the fields have 0-1 occurences ,and even in the source structure too.so,I think it might be the reason.Then I have to make all my about 60fields 1-1 madatory and using mapWithDefaultValue function, as my sources are optional.
you think it will work just using the "mapWithDefaultValue" function without changing my occurences to 1-1 in the target structure(mandatory)?infact I can try but ,cos of pain for changing like 60 fields....:) and even dont know which fields are causing the problem,so that we can apply "mapWithDefaultValue" function only on those fields.
thank you,
Babu Sri -
How to get ITResource to Adapter?
I have written an adapter that I want to get visibility to a database ITResource and I have set an adapter variable to ITResource. But how do I pass\map the ITResource into the Adapter? I have tried to map it via the "Map Adapters" of the Data Object Manager, but I couldn't figure that out. Also I assume it's not passing an actual instance of the ITResource and it probably some map\result set of connection params, but not sure. Any insight would be appreciated. Thanks
Hi Nitesh,
I need some details help. My objective for this adapter is to create new userlogin but I need to check against the database to make sure the new userlogin is unique other add logic to generate a unique login. This is what I have so far.
1. created Java class to generate unique userlogin. tested on client side and it works as expected.
2. added this custom Java code (.jar) to $OIM_HOME/xellerate/JavaTasks
3. created a new adapter (development tools>adapter factory>new)
4. adapter type = Entity
5. variable List tab> add new variable. ( one of them is of Type=ITResource)
6. add Adapter Tasks (Adapter Tasks tab > Add)
7. in the Application API section, I select my javacode.jar
8. select my methods- this method has input param required for jdbc connection (url, driver, login,password)
9. save
10. map my method parameters to variables in the variable list. I mapped these jdbc connection variables (url, driver, login,password) to my ITResourceVariable
Map to = Adapter Variables
Name = ITResourceVariable
Attribute = <attribute from ITResource Type that was selected during variable creation (Database)
11. save
12. go to Development Tools>Business Rule Definition>Data Object Manager>query for Users
13. in Pre_Insert>Assign>select my adapter
14. in Map Adapters > I mapped each String variable to Entity Field.
It is my understanding that all Adapter Variables must be mapped otherwise>>Error
How do I map my ITResourceVariable here? I tried mapping it to a "Literal" and gave it the ITResource Name for ITResource Type=Database but this does not work.
I read the prior threads but got confused. Can you provide some details steps?
Thanks. -
Tracking Data on Novatel MiFi 4510L??
The company I work for had several of the Novatel 2200 MiFis and recently upgraded all of us to the new Novatel 4510L 4G MiFi devices. One problem that I've noticed is that I cannot find a way to check the data usage directly through my MiFi.
On the old 2200s, you could fire up VZAccess Manager and it would tell you (after you connected) how much data you had used so far on your billing cycle and when your billing cycle ended. VZAccess Manager doesn't work with this model, so that method is out.
I've looked through the user manual and the web interface of the 4510L trying to find anything but came up with nothing. IIRC, the old 2200 actually had a counter in the web interface that had a running count of data usage which you could manually reset (was persistent across connections/boots), but the 4510L doesn't even have this
I can call/e-mail the employee in charge of these devices for the company and they can logon to the website and tell me the data used, but I don't understand why there isn't a simpler way to do it without bugging someone else. Since all of these devices are on a company account, I don't believe we can all register our own MyVerizon accounts (if I am wrong on this, please let me know how to do it).
So - I'll end with a request for Novatel/Verizon - in a future firmware upgrade, please provide the ability to retrieve current usage. At the very least, bring back the persistant usage counter that I could just reset on the first day of each billing cycle. I know this probably isn't very important to you in the grand scheme of things, but I would sure appreciate it
-NickThere should be a simple applet that continuously checks your account and tells you how much bandwidth usage your computer/device, and all other computers/devices have used so far during your billing period, individually and total for the device/account.
I consider this situation to be a SERIOUS lacking/missing feature that should have been created BEFORE 4G service and the MiFi 4510L were offered. The FCC should REQUIRE all wireless providers to provide a VERY simple, automatic method of continuously diplaying bandwidth usage for each account, and for each device using the account. This is NOT rocket science by any means.
Steve -
FTPs adapter setup on Weblogic Server
Hi,
I am trying to setup ftps adapter for BPEL PM 10.1.2.0.2. running on Weblogic Server 8.1. BPEL does support Ftps for this version but it seems weblogic doesnot support ftps. Will this mean that I cannot set it up on WLS.
I have tired to make changes in weblogic-ra.xml file and included all the params required for ftps adapter setup but I always get an error - connot login, please check username and password.
Please help me on this and suggest if any other alternatives are possible.
Regards
ArvindHi,
Any help on this ??
Regards
Arvind Aggarwal -
How to control RS232 Interface through LABView?
Does LABView have the ability to control RS232 Interface? If it does, what version of LABView has this capability? The LABView versions that we have in the company are 7.2 and 8.1 only. The operating systems that we have are Windows and Linux.
i have a question i am wanting to control an rfid reader/writer that has a RS232 or USB connection through labview. Here are some specs on the product. is this possible for it to work.
Key Features
Fast data transfer
Supports multi-detection
ANT1015A for wall or desktop
mounting
Baud rate: 19,200bps, N, 8, 1
ABS housing
RS232 or USB connection
IP40 protection rating: waterproof
and dustproof
Technical Specifications
Frequency 13.56MHz
Technical certificates CE, FCC
Power requirements 12V DC, 300mA
Display 3 status LEDs
Read/write distance 30cm, with ISO 15693 compliant transponders
Technical Certificates CE, FCC
Antenna connection RP-SMA 50ohm
Transponder compatibility HF, ISO 15693 compliant transponders
Operating temperature 0 to 60°C
Storage temperature -20°C to 70°C
Humidity 10% to 90% relative
Dimensions 345mm × 240mm × 20mm (L × W × H)
The link below will take you directly to the product.
Hf Rfid
Attachments:
13.56 MHz. High Frequency (HF) Reader RFID Writer with Antenna.pdf 389 KB -
Number parameter in custom schedule task in R2
Gurus,
I have a developed a custom schedule task in OIM 11gR2 which has a number parameter as one of the input. I have defined this parm like below in my eventhandler.xml
<number-param required="true" helpText="Number of Records to Be retrieved">Number of Records</number-param>
While reading this value in the schedule task code, I am using this.
try
String records= String.valueOf(attributes.get("Number of Records"));
System.out.println("Records"+records);
catch (Exception e) {
e.printStackTrace();
I even tried with the below but same issue.
try
int records= Integer.parseInt((String)attributes.get("Number of Records"));
System.out.println("Records"+records);
catch (Exception e) {
e.printStackTrace();
But my job is failing is saying number format exception.
Can you please let me know some code snippet to read a number-param in a schedule task.Here is a tested code for you.
import java.util.HashMap;
import oracle.iam.scheduler.vo.TaskSupport;
public class Test extends TaskSupport {
public void execute(HashMap attributes) {
try {
long recs=((Long)attributes.get("Number of Records")).longValue();
print((int) recs);
catch(Exception e) {
System.out.println("Exception 1:"+e.getMessage());
private void print(int a) {
System.out.println(" a="+a);
public HashMap getAttributes() {
return null;
public void setAttributes() {
}
Maybe you are looking for
-
I can only use Flash Player in one tab at a time, only on Firefox.
Recently, when I downloaded the new Flash Player, I can only use flash player in one tab at a time. This is only in firefox. I'll open youtube, and the visual and sound both play perfectly. I open up a new tab, begin using a flash website in that tab
-
Hi, I have a couple of textviews and checkbox buttons in my interface and I would like to save their states in the user's preferences. I'm trying to do it for the first text view but it doesn't work. Here is what I do in Interface Builder: -Added a "
-
Hello everybody, I'am building up an EDW and actually have some problems on loading some master data in a DataStoreObject on the harmonization layer. I try to explain the szenario with an example: DataSource 1 (Sorts of icecream): ID (let's say I hav
-
My needs are fairly simple. Since I access the game via facebook, I just need the ability to have 4 facebook profiles open at the same time. Do you have an application or add on that makes this possible?
-
How do i delete all my contacts in facetime?
hi i would like to know how do i delete all my contacts in facetime or contacts? do i have to do it 1 by 1 or there is a button to delete all contacts?