Boot jar creation issue
-----------------------
Key: CDV-572
URL: https://jira.terracotta.org/jira//browse/CDV-572
Project: Community Development
Issue Type: Bug
Reporter: Kunal Bhasin
Assignee: Issue Review Board
The boot-jar creation tool seems to complain about contents of the boot-jar
when certain classes are added to it:
In this case, it is java.lang.String$CaseInsensitiveComparator
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:505)
at
com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:375)
at
com.tc.object.bytecode.hook.impl.ClassProcessorHelper.systemLoaderInitialized(ClassProcessorHelper.java:670)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1327)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1286)
Caused by: java.lang.RuntimeException: BootJarException occurred while
attempting to verify the contents of the boot jar. Unable to verify the
contents of the boot jar; Please check the client logs for more information.
at
com.tc.object.bytecode.hook.impl.DSOContextImpl.validateBootJar(DSOContextImpl.java:99)
at
com.tc.object.bytecode.hook.impl.DSOContextImpl.<init>(DSOContextImpl.java:88)
at
com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:63)
... 9 more
Disconnected from server
The same thing happens when trying to add java.util.logging.LogManager.
Regardless of the logic behind adding this class to the boot-jar, the exception
is not very intuitive and becomes a hard roadblock for users.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev