File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes Can we keep blzeds jars in Websphere shared libraries instead of WEB-INF/lib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Can we keep blzeds jars in Websphere shared libraries instead of WEB-INF/lib" Watch "Can we keep blzeds jars in Websphere shared libraries instead of WEB-INF/lib" New topic
Author

Can we keep blzeds jars in Websphere shared libraries instead of WEB-INF/lib

Ajay Kamble
Ranch Hand

Joined: Jan 23, 2009
Posts: 51
Hello,

Is it necessary to keep BlazeDS jars always in WEB-INF/lib. When using Websphere can we add BlazeDS jars as shared libraries?

I am running into ClassLoader issues by keeping Flex libs in WEB-INF/lib and application libs in shared libraries.

Whatever approach (putting flex libs in WEB-INF/lib or shared libraries) I use I keep getting ClassNotFound errors. When I added flex libs in shared libraries, I get ClassNotFound for class that is in my WEB-INF/classes folder. How to solve this ClassLoader puzzle?

Is there anything that I do not know or it is just that Flex and BlazeDS are not good for production applications?
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 515
Hi,
Please check this if it helps you.

Regards,
amit
Ajay Kamble
Ranch Hand

Joined: Jan 23, 2009
Posts: 51
This does not help.

Thank you.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Well you can, but it is probably a far better fix to correct the class loader configuration issue you have rather than working around it. WebSphere has fairly extensive documentation about how class loaders work, I'd have a read of them.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can we keep blzeds jars in Websphere shared libraries instead of WEB-INF/lib