[jboss-jira] [JBoss JIRA] (WFLY-4402) Fails to load JAX-RS Application class if deployment runtime name is changed

Abhijit Sarkar (JIRA) issues at jboss.org
Tue Mar 3 12:16:49 EST 2015


Abhijit Sarkar created WFLY-4402:
------------------------------------

             Summary: Fails to load JAX-RS Application class if deployment runtime name is changed
                 Key: WFLY-4402
                 URL: https://issues.jboss.org/browse/WFLY-4402
             Project: WildFly
          Issue Type: Bug
          Components: Class Loading
    Affects Versions: 8.2.0.Final
         Environment: Oracle JDK 1.8.0_25
            Reporter: Abhijit Sarkar
            Assignee: David Lloyd
            Priority: Critical


If the runtime name is modified during deployment, it fails with a {{ClassNotFoundException}}. The runtime name determines the context root so in most practical cases, it'd be different from the archive name. Seems related to WFLY-1521 which was closed.
{code}
wildfly-server-8.2.0.Final.jar:8.2.0.Final]
	... 5 more
Caused by: java.lang.ClassNotFoundException: name.abhijitsarkar.microservices.availability.AvailabilityApp from [Module "deployment.availability-service:main" from Service Module Loader]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list