Community

Newbie: ORB Notify Channel Source JCA

reply from Derek Wildstar in JCA - View the full discussion

Hi Vicky,

 

I was able to create a JCA Source connector and for the basic it works :)

What is happening I guess is much more related on how ORB is creating and handling instances internally.

 

To be more clear first time I start JBoss with my connector everything works well and I see (as I request it into jacorb properties file) the banner of Jacorb following the initialization of orb instance using ORB.init. See the sample below

 

 

2010-05-11 12:06:21,625 ERROR [STDERR] 2010-05-11 12:06:21.625 INFO
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JacORB V 2.3.1, www.jacorb.org
(C) The JacORB project 27-May-2009
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

 

Then I shut down the application that is using the source connector and I restart it. At this point I saw two time the banner printed like the initial instance has not been destroyed correctly.

 

2010-05-11 12:07:21,364 ERROR [STDERR] 2010-05-11 12:06:21.625 INFO
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JacORB V 2.3.1, www.jacorb.org
(C) The JacORB project 27-May-2009
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JacORB V 2.3.1, www.jacorb.org
(C) The JacORB project 27-May-2009
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I guess that I'm missing some "basic" stuff here... maybe I'm not disposing the orb instance properly.

 

Regards Claudio

Reply to this message by going to Community

Start a new discussion in JCA at Community