IL PROTECTED]> wrote:
> > > So if I am loading some beans XML source that comes with the
component
> > > installation artifact, is it expected that Spring can normally load
the
> > > beans, or should a special procedure be taken according to your
> >
d.java:595)
-Original Message-
From: Guillaume Nodet [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 02, 2006 5:39 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
If the class is extended by the component, you should be able to use
getClass().getClassLoader()
which sho
ent: Tuesday, May 02, 2006 1:10 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
You may try the following things:
* set the thread classloader to the classloader of the component
(though this should have already been done by ServiceMix)
* change the classloa
0 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
You may try the following things:
* set the thread classloader to the classloader of the component
(though this should have already been done by ServiceMix)
* change the classloader so that it delegates to the component
OTECTED]
> Sent: Monday, May 01, 2006 2:22 PM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: Class loading problem
>
> You should include the jars where the beans are in the component classpath.
> If you want to do that at bootstrap time, you need to include them in
> t
es although they are in
the components class path, and the loading takes place in the 'init' method
-Original Message-
From: Guillaume Nodet [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 2:22 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
Y
ervicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
You should include the jars where the beans are in the component classpath.
If you want to do that at bootstrap time, you need to include them in
the bootstrap classloader that you define in your jbi descriptor.
This classloader has servi
llaume Nodet [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 10:07 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
ServiceMix has the spring jars inside its classpath, so it is also
available to the components. But if you want your component to be
container indep
Nodet [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 10:07 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
ServiceMix has the spring jars inside its classpath, so it is also
available to the components. But if you want your component to be
container independant
Nodet [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 11:03 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
Did you put your jar in the bootstrap class loader (in your jbi descriptor)
?
Not only in the runtime class loader ?
Cheers,
Guillaume Nodet
On 4/28/06,
Message-
From: Guillaume Nodet [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 11:03 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: Class loading problem
Did you put your jar in the bootstrap class loader (in your jbi descriptor)
?
Not only in the runtime class loader ?
Cheers
Did you put your jar in the bootstrap class loader (in your jbi descriptor) ?
Not only in the runtime class loader ?
Cheers,
Guillaume Nodet
On 4/28/06, Hossam Karim <[EMAIL PROTECTED]> wrote:
> BTW, I set the bean reader to use the component's class loader, but still
> Spring can't find the clas
BTW, I set the bean reader to use the component's class loader, but still
Spring can't find the class.
On 4/28/06, Hossam Karim <[EMAIL PROTECTED]> wrote:
Thanks Guillaume and congratulations,
OK, then. I am not going to argue about why this is not the case in the
JBoss environment since it is
Thanks Guillaume and congratulations,
OK, then. I am not going to argue about why this is not the case in the
JBoss environment since it is not supported.
Now I moved the shared code to the lib directory, so the Bootstrap is
initialized. The component implementation base class is also in this sha
AFAIK, this is not JBI compliant.
See section 7.3 of the jbi spec.
Cheers,
Guillaume Nodet
On 4/28/06, Hossam Karim <[EMAIL PROTECTED]> wrote:
> Hi All,
> I have a class loading problem that is only happening when running SM in
> standalone mode. When SM is hosted inside JBoss, there is no prob
15 matches
Mail list logo