[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
Wed Mar 4 00:17:49 EST 2015
[ https://issues.jboss.org/browse/WFLY-4402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhijit Sarkar updated WFLY-4402:
---------------------------------
Attachment: Screen Shot 2015-03-03 at 11.03.45 PM.png
> 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
> Attachments: availability-service-0.0.1-SNAPSHOT.war, Screen Shot 2015-03-03 at 11.03.45 PM.png
>
>
> 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