Posts

Showing posts from July, 2018

dynamically passing JNDI to JCA adapter

Image
in this post I will explain how to pass JNDI value dynamically  . We can pass the JNDI name to any JCA adapter (JMS,DB,File) at runtime as well.All we need to do is configure one property inside the invoke activity that will pass jndi at runtime to the JCA adapter.Just go to the source of your invoke activity where you need to pass the jndi at runtime.   Then inside the invoke activity add below line: <bpelx:inputProperty name="jca.jndi" variable="jndiVar"/>  in case of  BPEL 1.1  and  <bpelx:toProperty name="jca.jndi" variable="jndiVar"/>   in case of  BPEL 2.0  where " jndiVar " is a variable that will contain your jndi name that will be passed at runtime. Now assign the value to " jndiVar " and place this assign activity before the invoke activity where dynaic jndi needs to be passed. Deploy and test your composite to verify that jndi is being passed dynamically at runtime. NOTE : you...

jdevloper heap size increament

Image
Issue: in JDeveloper you sometimes suddenly end-up with the “Low Memory Warning”,Pop-up on your JDev IDE Screen.      This is due to the huge memory consumption by the your projects . This issued could be resolved in the following two ways solution 1: Change the config file  jdev.conf   in location    \jdeveloper\jdev\bin In this file increase the memory values for the following parameters: AddVMOption -XX:MaxPermSize=1024M solution 2: Change the config file   ide.conf  in location    \jdeveloper\ ide\bin  to something like this AddVMOption -Xmx1024M AddVMOption -Xms1024M If you want to view the heap and permgen memory statistics in your Jdeveloper (you can see these changes in right buttom screen of your Jdeveloper after restart) add the below property in   jdev.conf  file (located under  JDEV_INSTALL\jdev\bin\    folder) AddVMOption -DMainWindow.MemoryMonitor...

java.lang.NullPointerException error while starting integrated server from jdeveloper

Issue: I am getting  java.lang.NullPointerException while starting  Integrated weblogic server from jdeveloper 12c. Solution : Delete  o.ide  file from below path and  restart of Jdev. C:\Users\User\AppData\Roaming\JDeveloper\system12.2.1.2.42.161008.1648

SPLUNK useful links

Video links: Splunk Product Overview https://www.youtube.com/watch?v=fTvIb5LcUUU&list=UUG5B6oQWWsIt-yO826IwG2Q Why the name Splunk, what does it mean? https://www.youtube.com/watch?v=G9cCOZqoD6E Alt. http://www.splunk.com/en_us/resources/video.tvajNoeTrLkAgg3GKEmagKx3C3iB5afz.html Splunk Enterprise 6 Basic Search https://www.youtube.com/watch?v=eVTTnf2wYZg&list=UUG5B6oQWWsIt-yO826IwG2Q Alt. http://www.splunk.com/view/education-videos/SP-CAAAGB6 Using Fields in Splunk Enterprise 6 https://www.youtube.com/watch?v=jQ5RJRe4izM Using Fields in Splunk Enterprise 6; Part 2 https://www.youtube.com/watch?v=XbFcwP7Kr_I Splunk Education: Creating Alerts https://www.youtube.com/watch?v=cQsIOzDAo9o Splunk Education: Creating and Using Tags https://www.youtube.com/watch?v=MCyOg66dbIk Splunk Education: Creating and Using Event Types https://www.youtube.com/watch?v=KhdMgT9VbHs Splunk Education: Saving and Sharing Searches ht...

file adapter

What is the behaviour of Inbound File Adapter when it is deployed in single-node environment and cluster node environment.   Ans)  For Inbound File Adapter in single-node, it picks(reads) the file and single instance is created for each file read. Where as it is quite opposite, in cluster environment  both nodes of the cluster processes the same file, causing duplicate records in final system Resolution : this issue could be resolved by two ways: 1)Use Singleton property for the inbound endpoint for SOA composite.  In the clustered environment when the processing of the message should happen via only one SOA managed server, then the property singleton needs to be defined at the adapter level.   To enable this just add singletom property to composite.xml. <service name="CustomerInfo" ui:wsdlLocation=" CustomerInfo .wsdl"> <interface.wsdl interface="http://xmlns.oracle.com/ht/soa/jcaadapter/fileadapter/customerinfo#wsdl.interface(Read_ptt)"/ <bi...