geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant elder <ant.el...@gmail.com>
Subject Re: Tuscany Geronimo integration and the SCA JEE spec
Date Fri, 23 Jan 2009 10:02:06 GMT
The problem is that the SCA contribution you have is a jar file and there is
no way of associating other jar files with that contribution. The way i
think you'd need to do that is instead of using a jar contribution use a zip
format contribution that contains all the jars the application needs. The
SCA specs do not explicitly say the jars nested within a zip contribution
should be added to the application classpath but it make sense to me,
unfortunately the current Tuscany code does not do that. I've raised a JIRA
[1] and started a thread on the Tuscany del list about this [2], i'll post
back here when there is a resolution.

In the mean time a way to work around this would be to use one of the JEE
packaging formats that do support nested application jars, for example, use
a webapp .war with the application jars in the web-inf/lib folder.

   ...ant

[1] http://issues.apache.org/jira/browse/TUSCANY-2786
[2] http://apache.markmail.org/message/celjknbozpn4kar5

On Wed, Jan 21, 2009 at 8:26 PM, mobyjobs <mobyjobs@gmail.com> wrote:

>
> The plugin works with JDK6 update 7.
>
> However we have issue, including dependent jars within the the sca service
> jar we create. We have developed sca service which depends on number of
> external jars. we can compile and build the jar using maven. but when we
> deploy to Geronimo, it cannot find the classes as those are in the
> dependent
> jars whcih are not part of sca composite jar.
>
> Any one has any idea how to resolve this issue.
>
>
>
> Kevan Miller wrote:
> >
> >
> > On Dec 3, 2008, at 10:03 AM, ant elder wrote:
> >
> >> Its working ok for me too. One thing to note though is that it
> >> currently only works when running Geronimo with JDK5 not JDK6.
> >
> > Hmm. Thanks. I'll give it another try... And see what's failing.
> >
> > --kevan
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Tuscany-Geronimo-integration-and-the-SCA-JEE-spec-tp19794900s134p21591514.html
> Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
>
>

Mime
View raw message