Hivemind inside OSGi environment, accessing hivemodule.xml

View: New views
4 Messages — Rating Filter:   Alert me  

Hivemind inside OSGi environment, accessing hivemodule.xml

by Raman Gupta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm trying to run Tapestry inside an OSGi environment. However, when Tapestry initializes Hivemind, there are errors because the hivemodule.xml in my servlet bundle is loaded, but the hivemodule.xml files in the tapestry bundle is not loaded, resulting in the error:

org.apache.hivemind.ApplicationRuntimeException: Error at context:/WEB-INF/hivemodule.xml, line 3, column 65: Module admin has contributed to unknown configuration point tapestry.url.ServiceEncoders. The contribution has been ignored.
   location: context:/WEB-INF/hivemodule.xml, line 3, column 65

Is there an alternative way to have hivemind load the hivemodule information?

Cheers,
Raman Gupta

Re: Hivemind inside OSGi environment, accessing hivemodule.xml

by jwcarman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How are you loading your HiveMind registry.  You should just let Tapestry do that.

On 6/20/07, Raman Gupta <rocketraman@...> wrote:

Hello,

I'm trying to run Tapestry inside an OSGi environment. However, when
Tapestry initializes Hivemind, there are errors because the hivemodule.xml
in my servlet bundle is loaded, but the hivemodule.xml files in the tapestry
bundle is not loaded, resulting in the error:

org.apache.hivemind.ApplicationRuntimeException : Error at
context:/WEB-INF/hivemodule.xml, line 3, column 65: Module admin has
contributed to unknown configuration point tapestry.url.ServiceEncoders. The
contribution has been ignored.
   location: context:/WEB-INF/hivemodule.xml, line 3, column 65

Is there an alternative way to have hivemind load the hivemodule
information?

Cheers,
Raman Gupta

--
View this message in context: http://www.nabble.com/Hivemind-inside-OSGi-environment%2C-accessing-hivemodule.xml-tf3955352.html#a11223195
Sent from the Hivemind - User mailing list archive at Nabble.com.



Re: Hivemind inside OSGi environment, accessing hivemodule.xml

by Raman Gupta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

James Carman wrote:
On 6/20/07, Raman Gupta <rocketraman@fastmail.fm> wrote:
> I'm trying to run Tapestry inside an OSGi environment.

How are you loading your HiveMind registry.  You should just let Tapestry do that.
I *am* letting Tapestry load the registry.

Cheers,
Raman

Re: Hivemind inside OSGi environment, accessing hivemodule.xml

by jwcarman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It sounds like you've got a classloader issue.  What application server?  Have you tried asking the Tapestry folks?

On 6/20/07, Raman Gupta <rocketraman@...> wrote:


James Carman wrote:
>
> On 6/20/07, Raman Gupta < rocketraman@...> wrote:
>> I'm trying to run Tapestry inside an OSGi environment.
>
> How are you loading your HiveMind registry.  You should just let Tapestry
> do that.
>

I *am* letting Tapestry load the registry.

Cheers,
Raman

--
View this message in context: http://www.nabble.com/Hivemind-inside-OSGi-environment%2C-accessing-hivemodule.xml-tf3955352.html#a11225242
Sent from the Hivemind - User mailing list archive at Nabble.com.