What's in your plugin's project.xml?
On Mon, 6 Sep 2004 07:19:57 -0700, dan tran <[EMAIL PROTECTED]> wrote:
> I did attemps to add Brett's suggestion to all my plugin dependcies.
> No luck so far.
>
> Here is how I code it, in some details:
>
> Below is my plugin.jelly
> =================
>
> <plugin.jelly>
> <define:taglib uri="opcenter">
> <define:jellybean
> name="jtsBean"
> method="save"
> className="com.borland.enterprise.qa.mo.beans.JTSBean"/>
>
> </define:taglib>
> </plugin.jelly>
>
> Below is how I call the tag
> ===================
>
> <client.maven.xml>
> <goal name="jts" >
> <opcenter:jtsBean
> pid="${someId}"
> enable="true"
> allowUnrecoverableCompletion="false"/>
> </goal>
> </client.maven.xml>
>
> Below is my bean java code in question
> =============================
>
> <bean.code>
> Properties p= new Properties();
> p.setProperty("org.omg.CORBA.ORBClass", "com.inprise.vbroker.orb.ORB");
> org.omg.CORBA.ORB.init( (String[])null, orbProperties);
>
> <bean.code>
>
> Ad you can see, org.om.CORBA.ORB.init invokes com.inprise.vbroker.org.ORB,
>
> and throws CNF exception.
>
> -Dan
>
>
>
> On Mon, 6 Sep 2004 11:11:36 +1000, Brett Porter <[EMAIL PROTECTED]> wrote:
> > you cal try adding <classloader>root</classloader> to the dependency's
> > properties, but that isn't really the correct solution - bit hard to
> > tell without seeing a small example of the code.
> >
> > - Brett
> >
> >
> >
> > On Sun, 5 Sep 2004 18:04:00 -0700, dan tran <[EMAIL PROTECTED]> wrote:
> > > Hello every one,
> > >
> > > I have a custom plugin with a tag that invokes a bean. My bean's
> > > dependencies are defined correctly in my plugin's probject.xml.
> > >
> > > My bean also load a dynamic class at run time. The dynamic class is in one
> > > my my plugin's project.xml dependencies. However I encounter CNF exception.
> > > on the dynamic class.
> > >
> > > Any suggestion on how to trouble this problem is greatly appreciated.
> > >
> > > -Dan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]