Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1584193

Summary: JBoss EAP not taking <dependencies> into account
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Marcin Jablonowski <marcin.jablonowski>
Component: Class LoadingAssignee: jboss-set
Status: CLOSED EOL QA Contact: Pavel Slavicek <pslavice>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.17CC: david.lloyd
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:47:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Server logs none

Description Marcin Jablonowski 2018-05-30 13:00:20 UTC
Created attachment 1445837 [details]
Server logs

Description of problem:
We are trying to deploy Guidewire PolicyCenter 9.0.4.
During startup it is looking for classes from package: com/sun/javadoc , this package is provided by JDK, but Jboss is not loading it and eventually PC is not starting up because of it.
The similar issue is with Jboss EAP 7.0.0, the error NoClassDefFoundError is still present but it is not stopping PC from starting up.
Log file from booting up Jboss server is in attachment.


We have tried to force Jboss to load that package as described down bottom on this page https://docs.jboss.org/author/display/AS72/Class+Loading+in+AS7,  but it's not working either.

In our case the jboss-deployment-structure.xml looks like this:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
    <deployment>
        <dependencies>
            <system export="true">
                <paths>
                    <path name="com/sun/javadoc"/>
                </paths>
            </system>
        </dependencies>
    </deployment>
</jboss-deployment-structure>


Version-Release number of selected component (if applicable):
6.4.17.GA

How reproducible:
Deploy a war depending on com.sun.javadoc
Add dependencies to deployment structure

Steps to Reproduce:
1. Deploy a war depending on com.sun.javadoc
2. Add dependencies to deployment structure
3.

Actual results:
NoClassDefFoundError 

Expected results:
Successful deployment

Additional info: