[
https://jira.jboss.org/jira/browse/JBAS-6428?page=com.atlassian.jira.plug...
]
Brian Stansberry reassigned JBAS-6428:
--------------------------------------
Assignee: Dimitris Andreadis (was: Brian Stansberry)
Dimitris, your call: do we ship the annotation jar in server/all/lib or do we document how
to do it as a workaround to this JIRA?
This is an IBM JDK bug. Earlier Sun JDK releases had the same bug:
http://bugs.sun.com/view_bug.do?bug_id=6322301. The call is proceeding through
java.lang.Class.getAnnotations() and "[a]ccording to the JSR-175 spec lead, unknown
annotations must be ignored by getAnnotations."
It's more user friendly to ship the jar, but it also puts on the classpath a jar that
the developers didn't intend for runtime use.
If you want the jar included, please assign back to me with a Fix Version (i.e. do you
want it fixed in 5.0.1). I'll add a workaround comment in a second.
HAPartition unable to start with IBM JDK 1.5 -
net.jcip.annotations.ThreadSafe not found
----------------------------------------------------------------------------------------
Key: JBAS-6428
URL:
https://jira.jboss.org/jira/browse/JBAS-6428
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: JBossAS-5.0.0.GA
Environment: RHEL 4/5
IBM JDK 1.5 (even latest update)
Reporter: Martin Malina
Assignee: Dimitris Andreadis
Attachments: ibm15.log, server.log
JBoss AS is unable to start correctly in the "all" configuration. The
HAPartition service fails to start with the following error:
05:50:25,244 ERROR [AbstractKernelController] Error installing to Start: name=HAPartition
state=Create
org.jboss.cache.config.ConfigurationException: Unable to build interceptor chain
...
Caused by:
java.lang.TypeNotPresentException: Type net.jcip.annotations.ThreadSafe not present
at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38)
...
Caused by:
java.lang.ClassNotFoundException: net.jcip.annotations.ThreadSafe
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
... 111 more
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
DistributedReplicantManager
-> HAPartition{Instantiated:**ERROR**}
HAJNDI
-> HAPartition{Configured:**ERROR**}
HASessionStateService
-> HAPartition{Configured:**ERROR**}
HASingletonDeployer
-> HAPartition{Configured:**ERROR**}
JGCacheInvalidationBridge
-> HAPartition{Configured:**ERROR**}
JRMPInvokerHA
-> HAPartition{Create:**ERROR**}
PooledInvokerHA
-> HAPartition{Create:**ERROR**}
UnifiedInvokerHA
-> HAPartition{Create:**ERROR**}
partition:partitionName=DefaultPartition_Alias_AbstractKernelController[387585818]
-> HAPartition{Installed:**ERROR**}
*** CONTEXTS IN ERROR: Name -> Error
HAPartition -> **ERROR** | java.lang.ClassNotFoundException:
net.jcip.annotations.ThreadSafe
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira