JBoss Community

How to dynamically load jars

created by Dmitriy Krasikov in JBoss AS 7 Development - View the full discussion

My war-application uploads to server jars and need to use classes inside of them, but it getsClassNotFoundExceptio. I can't find a way to add jar-dependencies to modules dynamically - MANIFEST.M, jboss-deployment-structure.xml are static way of doing this.

Is there a way do it programmatically like deployment here, but for dependencies? Can anyone suggest any other solution? Thanks!

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community