-
1. Re: Dependency on rt.jar
mindchild Apr 27, 2012 7:54 AM (in response to stianst)This works in 7.1.0:
File: jboss-deployment-structure.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<system export="true">
<paths>
<path name="com/sun/image/codec/jpeg"/>
</paths>
</system>
</dependencies>
</deployment>
</jboss-deployment-structure>
-
2. Re: Dependency on rt.jar
vaibhav1587 Mar 13, 2013 4:05 AM (in response to stianst)I have made it work by adding the following line to JBOSS_HOME\modules\sun\jdk\main\module.xml
<path name="com/sun/image/codec/jpeg"/> It works!!!
-
3. Re: Dependency on rt.jar
marcio.dantas Jun 11, 2013 11:01 AM (in response to vaibhav1587)There's a complete answer for this question at:
http://stackoverflow.com/questions/12492717/jboss-7-1-1-add-rt-jar-of-jre-to-classpath
Best regards
-
4. Re: Dependency on rt.jar
jaikiran Jun 11, 2013 11:41 PM (in response to marcio.dantas)Marcio Dantas wrote:
There's a complete answer for this question at:
http://stackoverflow.com/questions/12492717/jboss-7-1-1-add-rt-jar-of-jre-to-classpath
Just a clarification - the answer in that link says:
JBoss 7 is OSGi-based.
That's incorrect. JBoss AS7 uses JBoss Modules https://docs.jboss.org/author/display/MODULES/Home for classloading and it isn't OSGi.