[ 
http://www.stripesframework.org/jira/browse/STS-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12348#comment-12348
 ] 

Andy Patil commented on STS-666:
--------------------------------

Hi,

Turns out I had a problem with the jar file itself which I found at the link 
below. I have reproduced part of it where I found the issue and the solution.

http://www.mail-archive.com/[email protected]/msg03220.html

Re: [Stripes-users] ActionBean binding problem SOLVED

feh
Wed, 02 Sep 2009 08:05:53 -0700

It turns out my obfuscation tool was removing the directory entries from my
jar file. Once I configured things to keep the directories entries, stripes
now finds the action beans.

Aaron - thanks for pointing me in the right direction!



feh wrote:
>
>
> My jar file doesn't have any entries that end in '/'. I don't know if I've
> ever seen a jar file with entries like that.
>
> I don't see an option on the jar command that seems to address this -
> could you explain how such entries could be included in the jar file?
>
> Thanks!
>
>
>
> Aaron Porter-3 wrote:
>>
>> If you run "jar -tf myjar.jar" do you have entries that end in "/" like
>> "com/myproject/stripes/" ? If you don't Stripes won't be able to scan
>> the classpath because it uses directory entries IIRC.
>>
>> Aaron
>>
--Andy


> ActionBeans, Converters etc. in jars not scanned in WebSphere Application 
> Server
> --------------------------------------------------------------------------------
>
>                 Key: STS-666
>                 URL: http://www.stripesframework.org/jira/browse/STS-666
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5, Release 1.5.1
>         Environment: WebSphere express 6.1
>            Reporter: Tony Dalbrekt
>            Priority: Blocker
>             Fix For: Release 1.5.2, Release 1.6
>
>         Attachments: stripes-branch-1.5.x.patch
>
>
> ActionBeans, Converters etc. bundled in jars and located in WEB-INF/lib are 
> not found by the resolvers. For some reason ResolverUtil does not seem to be 
> able to find any classes located in jars in the WebSphere environment.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to