Bug 768072 - Classloading issue (java.lang.LinkageError) after restarting Guvnor WAR
Summary: Classloading issue (java.lang.LinkageError) after restarting Guvnor WAR
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Toni Rikkola
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 17:11 UTC by Jiri Locker
Modified: 2025-02-10 03:14 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
JBoss EAP 5.1.1
Last Closed: 2025-02-10 03:14:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
server.log (7.95 KB, text/plain)
2011-12-15 17:13 UTC, Jiri Locker
no flags Details

Description Jiri Locker 2011-12-15 17:11:39 UTC
Description of problem:
After stopping Guvnor web application and starting it again, the REST services stop working. Accessing any of the REST resources fails with the following error:

2011-12-15 17:22:28,299 ERROR [STDERR] (http-127.0.0.1-8080-2) java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(Ljava/lang/Object;Ljavax/xml/stream/XMLStreamWriter;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, com/sun/xml/bind/v2/runtime/MarshallerImpl, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/xml/stream/XMLStreamWriter used in the signature

Version-Release number of selected component (if applicable):
BRMS 5.3.0.DEV5

How reproducible:


Steps to Reproduce:

1. start server with Guvnor WAR deployed

2. import a repository and check the result of http://localhost:8080/jboss-brms/rest/packages

3. restart Guvnor
   - either in admin console
   - or using $JBOSS/bin/twiddle.sh like this:
> ./twiddle.sh -u <user> -p <password> -s localhost invoke jboss.web.deployment:war=/<war_name> <stop|start>

4. access http://localhost:8080/jboss-brms/rest/packages again and see server log for the exception
  
Actual results:
REST services stop working after restarting Guvnor (without stopping the server)

Expected results:
REST services should be available after restarting Guvnor (without stopping the server)

Additional info:
this is not issue for BRMS 5.2.0

Comment 1 Jiri Locker 2011-12-15 17:13:40 UTC
Created attachment 547385 [details]
server.log

Comment 6 Toni Rikkola 2012-04-27 09:23:22 UTC
Can't reproduce with EAP 5.1 and BRMS 5.3.0 ER6. Going to try BRMS DEV5.

Comment 7 Toni Rikkola 2012-04-27 09:24:28 UTC
Can't reproduce with EAP 5.1 and BRMS 5.3.0 ER6. Going to try BRMS DEV5.

Comment 8 Toni Rikkola 2012-04-27 09:24:43 UTC
echo

Comment 9 Toni Rikkola 2012-04-27 11:21:46 UTC
Does fail in DEV5. I say this bug is out dated, some other fix fixed it.

Comment 11 Sona Mala 2012-05-17 11:41:50 UTC
Verified for BRMS 5.3.0 ER7

Comment 16 Red Hat Bugzilla 2025-02-10 03:14:32 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.