java.lang.reflect.InvocationTargetException

Terracotta Project Issue Tracker | Mike Ruddy | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    > /usr/java/bin/java -version java version "1.5.0_16" Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02) Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode) > /usr/java/bin/java -version -d64 java version "1.5.0_16" Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode) > cat /etc/release Solaris 10 10/08 s10x_u6wos_07b X86 JBoss [EAP] 4.3.0.GA_CP03 with libsigar installed as mentioned in CDV-1109... starting as a 32-bit process starts up and runs a small test application successfully. adding "-d64" to the jboss app server's java command line to run as a 64-bit process fails with the following stack trace: > ./jboss-eap-4.3/jboss-as/bin/tc-run.sh Starting BootJarTool... 2009-02-02 15:10:30,920 INFO - Terracotta trunk-nightly, as of 20090201-170215 (Revision 11448 by cruise@su10mo5 from trunk) 2009-02-02 15:10:31,352 INFO - Configuration loaded from the file at '/home/mruddy/jboss-eap-4.3/jboss-as/server/tc-config.xml'. ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/mruddy/jboss-eap-4.3/jboss-as JAVA: /usr/java/bin/java JAVA_OPTS: -d64 -Dprogram.name=run.sh -server -Xbootclasspath/p:/home/mruddy/terracotta-trunk-nightly-rev11448/lib/dso-boot/dso-boot-hotspot_solaris-x86_150_16.jar -Dtc.install-root=/home/mruddy/terracotta-trunk-nightly-rev11448 -Dtc.config=/home/mruddy/jboss-eap-4.3/jboss-as/server/tc-config.xml CLASSPATH: /home/mruddy/jboss-eap-4.3/jboss-as/bin/run.jar:/usr/java/lib/tools.jar ========================================================================= 2009-02-02 15:10:34,525 INFO - Terracotta trunk-nightly, as of 20090201-170215 (Revision 11448 by cruise@su10mo5 from trunk) 2009-02-02 15:10:34,943 INFO - Configuration loaded from the file at '/home/mruddy/jboss-eap-4.3/jboss-as/server/tc-config.xml'. 2009-02-02 15:10:35,035 INFO - Log file: '/home/mruddy/logs-192.168.103.73/terracotta-client.log'. 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:593) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.initialize(ClassProcessorHelper.java:393) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Caused by: com.tc.config.schema.setup.ConfigurationSetupException: ************************************************* Unknown Solaris architecture: ("os.arch" = amd64) ************************************************* at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:246) at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:198) at com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:208) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:65) ... 18 more Caused by: com.tc.object.tools.UnsupportedVMException: Unknown Solaris architecture: ("os.arch" = amd64) at com.tc.object.tools.BootJarSignature.<init>(BootJarSignature.java:23) at com.tc.object.tools.BootJarSignature.getSignatureForThisVM(BootJarSignature.java:52) at com.tc.object.tools.BootJar.getBootJarForReading(BootJar.java:82) at com.tc.object.tools.BootJar.getDefaultBootJarForReading(BootJar.java:130) at com.tc.object.config.StandardDSOClientConfigHelperImpl.doAutoconfig(StandardDSOClientConfigHelperImpl.java:634) at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:244) ... 21 more

    Terracotta Project Issue Tracker | 8 years ago | Mike Ruddy
    java.lang.reflect.InvocationTargetException
  2. 0

    > /usr/java/bin/java -version java version "1.5.0_16" Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02) Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode) > /usr/java/bin/java -version -d64 java version "1.5.0_16" Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode) > cat /etc/release Solaris 10 10/08 s10x_u6wos_07b X86 JBoss [EAP] 4.3.0.GA_CP03 with libsigar installed as mentioned in CDV-1109... starting as a 32-bit process starts up and runs a small test application successfully. adding "-d64" to the jboss app server's java command line to run as a 64-bit process fails with the following stack trace: > ./jboss-eap-4.3/jboss-as/bin/tc-run.sh Starting BootJarTool... 2009-02-02 15:10:30,920 INFO - Terracotta trunk-nightly, as of 20090201-170215 (Revision 11448 by cruise@su10mo5 from trunk) 2009-02-02 15:10:31,352 INFO - Configuration loaded from the file at '/home/mruddy/jboss-eap-4.3/jboss-as/server/tc-config.xml'. ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/mruddy/jboss-eap-4.3/jboss-as JAVA: /usr/java/bin/java JAVA_OPTS: -d64 -Dprogram.name=run.sh -server -Xbootclasspath/p:/home/mruddy/terracotta-trunk-nightly-rev11448/lib/dso-boot/dso-boot-hotspot_solaris-x86_150_16.jar -Dtc.install-root=/home/mruddy/terracotta-trunk-nightly-rev11448 -Dtc.config=/home/mruddy/jboss-eap-4.3/jboss-as/server/tc-config.xml CLASSPATH: /home/mruddy/jboss-eap-4.3/jboss-as/bin/run.jar:/usr/java/lib/tools.jar ========================================================================= 2009-02-02 15:10:34,525 INFO - Terracotta trunk-nightly, as of 20090201-170215 (Revision 11448 by cruise@su10mo5 from trunk) 2009-02-02 15:10:34,943 INFO - Configuration loaded from the file at '/home/mruddy/jboss-eap-4.3/jboss-as/server/tc-config.xml'. 2009-02-02 15:10:35,035 INFO - Log file: '/home/mruddy/logs-192.168.103.73/terracotta-client.log'. 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:593) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.initialize(ClassProcessorHelper.java:393) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Caused by: com.tc.config.schema.setup.ConfigurationSetupException: ************************************************* Unknown Solaris architecture: ("os.arch" = amd64) ************************************************* at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:246) at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:198) at com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:208) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:65) ... 18 more Caused by: com.tc.object.tools.UnsupportedVMException: Unknown Solaris architecture: ("os.arch" = amd64) at com.tc.object.tools.BootJarSignature.<init>(BootJarSignature.java:23) at com.tc.object.tools.BootJarSignature.getSignatureForThisVM(BootJarSignature.java:52) at com.tc.object.tools.BootJar.getBootJarForReading(BootJar.java:82) at com.tc.object.tools.BootJar.getDefaultBootJarForReading(BootJar.java:130) at com.tc.object.config.StandardDSOClientConfigHelperImpl.doAutoconfig(StandardDSOClientConfigHelperImpl.java:634) at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:244) ... 21 more

    Terracotta Project Issue Tracker | 8 years ago | Mike Ruddy
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. com.tc.object.tools.UnsupportedVMException

      Unknown Solaris architecture: ("os.arch" = amd64)

      at com.tc.object.tools.BootJarSignature.<init>()
    2. com.tc.object
      DSOContextImpl.createGlobalContext
      1. com.tc.object.tools.BootJarSignature.<init>(BootJarSignature.java:23)
      2. com.tc.object.tools.BootJarSignature.getSignatureForThisVM(BootJarSignature.java:52)
      3. com.tc.object.tools.BootJar.getBootJarForReading(BootJar.java:82)
      4. com.tc.object.tools.BootJar.getDefaultBootJarForReading(BootJar.java:130)
      5. com.tc.object.config.StandardDSOClientConfigHelperImpl.doAutoconfig(StandardDSOClientConfigHelperImpl.java:634)
      6. com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:244)
      7. com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:198)
      8. com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:208)
      9. com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:65)
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. com.tc.object
      ClassProcessorHelper.defineClass0Pre
      1. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:593)
      2. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.initialize(ClassProcessorHelper.java:393)
      3. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:632)
      3 frames
    5. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      2. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      3. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      4. java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      5. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      8. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      9. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      11. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      11 frames