Skip to content

Instantly share code, notes, and snippets.

@jonathanvila
Created September 19, 2018 08:57
Show Gist options
  • Save jonathanvila/eed7795247903a21be3471d06a3b3beb to your computer and use it in GitHub Desktop.
Save jonathanvila/eed7795247903a21be3471d06a3b3beb to your computer and use it in GitHub Desktop.
rhamt-cli-execution
[jonathan@localhost bin]$ ./rhamt-cli --input ../samples/jee-example-app-1.0.0.ear --output ../output --source weblogic --target eap:7
Using RHAMT at /home/jonathan/workspace/windup-distribution/target/rhamt-cli-4.2.0-SNAPSHOT-offline/rhamt-cli-4.2.0-SNAPSHOT
Warning: JAVA_HOME environment variable is not set.
> Red Hat Application Migration Toolkit (RHAMT) CLI, version 4.2.0-SNAPSHOT.
Red Hat Application Migration Toolkit (RHAMT) CLI, version [ ] - by Red Hat, Inc. [ https://developers.redhat.com/products/rhamt/overview/ ]
WARNING: No packages were set in --packages. This will cause all .jar files to be decompiled and can possibly take a long time. Check the RHAMT User Guide for performance tips.
Input Application:../samples/jee-example-app-1.0.0.ear
Output Path:../output
Execution failed due to: Could not instantiate implementation: org.janusgraph.diskstorage.berkeleyje.BerkeleyJEStoreManager
java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.berkeleyje.BerkeleyJEStoreManager
at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:69)
at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
at org.janusgraph.diskstorage.Backend.getStorageManager(Backend.java:409)
at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1376)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:164)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:133)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:113)
at org.jboss.windup.graph.GraphContextImpl.initializeJanusGraph(GraphContextImpl.java:362)
at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:96)
at org.jboss.windup.graph.GraphContextFactoryImpl.lambda$create$1(GraphContextFactoryImpl.java:72)
at org.jboss.windup.util.ExecutionStatistics.performBenchmarked(ExecutionStatistics.java:142)
at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at org.jboss.windup.graph.GraphContextFactoryImpl_$$_javassist_15e3632f-f3df-4e1f-912e-475b2ff4c76a.create(GraphContextFactoryImpl_$$_javassist_15e3632f-f3df-4e1f-912e-475b2ff4c76a.java)
at org.jboss.windup.exec.WindupProcessorImpl.execute(WindupProcessorImpl.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at org.jboss.windup.exec.WindupProcessorImpl_$$_javassist_a84334ab-e7b9-4339-8fe5-7256e2e166c6.execute(WindupProcessorImpl_$$_javassist_a84334ab-e7b9-4339-8fe5-7256e2e166c6.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
at org.jboss.windup.exec.WindupProcessor_$$_javassist_a5fc98d0-b805-4be6-9d9d-b27ef91d8c2f.execute(WindupProcessor_$$_javassist_a5fc98d0-b805-4be6-9d9d-b27ef91d8c2f.java)
at org.jboss.windup.bootstrap.commands.windup.RunWindupCommand.runWindup(RunWindupCommand.java:279)
at org.jboss.windup.bootstrap.commands.windup.RunWindupCommand.execute(RunWindupCommand.java:65)
at org.jboss.windup.bootstrap.Bootstrap.executePhase(Bootstrap.java:520)
at org.jboss.windup.bootstrap.Bootstrap.run(Bootstrap.java:340)
at org.jboss.windup.bootstrap.Bootstrap.main(Bootstrap.java:106)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)
... 41 more
Caused by: java.lang.IllegalStateException: Could not access Zing management bean. Make sure -XX:+UseZingMXBeans was specified.
at com.sleepycat.je.utilint.JVMSystemUtils.getRuntimeMaxMemory(JVMSystemUtils.java:95)
at com.sleepycat.je.dbi.MemoryBudget.calcMaxMemory(MemoryBudget.java:765)
at com.sleepycat.je.dbi.MemoryBudget.<init>(MemoryBudget.java:716)
at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:598)
at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:487)
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:192)
at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:267)
at com.sleepycat.je.Environment.<init>(Environment.java:252)
at com.sleepycat.je.Environment.<init>(Environment.java:222)
at org.janusgraph.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:122)
at org.janusgraph.diskstorage.berkeleyje.BerkeleyJEStoreManager.<init>(BerkeleyJEStoreManager.java:82)
... 46 more
Caused by: java.lang.ClassNotFoundException: com.azul.zing.management.ManagementFactory from [Module "org.jboss.windup.graph.windup-graph:4.2.0-SNAPSHOT_483f6826-bc42-4352-ae68-e72d9894787f" from AddonModuleLoader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sleepycat.je.utilint.JVMSystemUtils.getRuntimeMaxMemory(JVMSystemUtils.java:81)
... 56 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment