Hi All,
I found a solution for WebSphere! It turned out that Stripes was doing as
well as Spring. I dug into the Spring source and even when using the Spring
classes, I could not get it to find my class successfully. I noticed that
Spring could however find a class from a Spring.jar correctly which is where
I spotted the solution.
Inside of the META-INF of the Jar there is a INDEX.LIST file:
http://download.oracle.com/javase/1.4.2/docs/guide/jar/jar.html#JAR
Index
The contents of this enumerate your the packages in the JAR:
JarIndex-Version: 1.0
my.actions.jar
test
test.examples
Once I added the INDEX.LIST file to my JAR both, Stripes & Spring were able
to component scan correctly.
Regards,
-Mike
In the META-INF of the JAR you just need to have a INDEX.LIST file.
On Fri, May 13, 2011 at 9:19 AM, Michael Cervenak Ahern <
cestmoi...@gmail.com> wrote:
> Hi Jeppe,
>
> I figured it was something like that. Do you have any details on your
> solution you could share?
>
> Regards,
> -Mike
>
>
> On Thu, May 12, 2011 at 7:16 PM, Jeppe Cramon <je...@cramon.dk> wrote:
>
>> Hi
>>
>> This is a known problem - I resorted to using Spring resource scanner
>> which supports websphere and weblogic better than stripes default...
>>
>> /Jeppe
>>
>> *"It is difficult to get a man to understand something when his salary
>> depends upon him not understanding it.” - Upton Sinclair*
>>
>>
>>
>> On 12/05/2011, at 20.14, Michael Cervenak Ahern wrote:
>>
>> Hi,
>>
>> I am currently trying to use stripes 1.5.3 with WebSphere 7.0. For some
>> reason, the class scanning is not finding my action beans unless they are
>> located under WEB-INF/classes. Whenever they are in a jar packaged in the
>> WAR stripes is unable to locate the files.
>>
>> Has anyone come across a similar issue and / or (hopefully) know a
>> resolution?
>>
>> Regards,
>> -Mike
>>
>> ------------------------------------------------------------------------------
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>>
>> http://p.sf.net/sfu/intel-dev2devmay_______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users