Hello Matej,
I am having issues with the Windup tool run. It produces an error with my soa5 esb
project.
Please find the attached log trace. It does say memory heap issue but i have tons of
memory on my PC
Could you please help me out here
[bin]$ windup-migrate-app --sourceMode true --input C:\online_Dispatcher --outpu
t C:\results
Overwrite all contents of "C:\results" (anything already in the directory will
b
e deleted)? [y/N] y
Properties: {index.search.directory=C:\results\graph\graphsearch, cache.db-cache
-time=0, cache.db-cache=true, index.search.backend=lucene, cache.db-cache-size=0
.05, cache.db-cache-clean-wait=0, storage.backend=berkeleyje, storage.directory=
C:\results\graph\titangraph, storage.berkeleydb.cache-percentage=1}
Using user rules dir: C:\Users\pooja.malini\.windup\rules
Using user rules dir: C:\windup-distribution-2.1.0.A-offline\windup-distribution
-2.1.0.A\rules
***INFO*** Executing Rules: [0/1199] ...
***INFO*** Executing Rules: :class org.jboss.windup.config.phase.Implicit - org.
jboss.windup.rules.apps:rules-java.JavaFileMappingRuleProvider [Uncategorized] o
rg.jboss.windup.rules.files.FileMapping_8dfa6153-f2ba-419e-9bc5-74250b277c6e
[0/1199] ...
***INFO*** Executing Rules: :class org.jboss.windup.config.phase.Implicit - org.
jboss.windup.rules.apps:rules-java.JavaFileMappingRuleProvider [Uncategorized] o
rg.jboss.windup.rules.files.FileMapping_9a582219-d2fa-4b06-ae7d-0c6a7ff3034a
[1/1199] ...
***INFO*** Executing Rules: :class org.jboss.windup.config.phase.Initialization
- org.jboss.windup.rules.apps:rules-java.CopyJavaConfigToGraphRuleProvider [Unca
tegorized] GeneratedID_w:apps:rules-java.CopyJavaConfigToGraphRuleProvider_1
[2/1199] ...
***INFO*** Executing Rules: :class org.jboss.windup.config.phase.Initialization
- org.jboss.windup.rules.apps:rules-java-archives.IgnoredArchivesConfigLoadingRu
leProvider [Uncategorized] GeneratedID_w:apps:rules-java-archives.IgnoredArchive
sConfigLoadingRuleProvider_1 [3/1199] ...
***INFO*** Executing Rules: :class org.jboss.windup.config.phase.Initialization
- org.jboss.windup.rules.apps:rules-java-archives.ArchiveIdentificationConfigLoa
dingRuleProvider [Uncategorized] GeneratedID_w:apps:rules-java-archives.ArchiveI
dentificationConfigLoadingRuleProvider_1 [4/1199] ...
***ERROR*** Error while executing 'Windup Migrate App'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoad
erInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java
:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoad
erInterceptor.java:103)
at org.jboss.windup.exec.WindupProcessorImpl_$$_javassist_80f05268-d79f-
4dfd-85bf-ef4b7fe2c9e5.execute(WindupProcessorImpl_$$_javassist_80f05268-d79f-4d
fd-85bf-ef4b7fe2c9e5.java)
at org.jboss.windup.ui.WindupCommand.execute(WindupCommand.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoad
erInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java
:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoad
erInterceptor.java:103)
at org.jboss.windup.ui.WindupCommand_$$_javassist_a51b3fee-579f-4dce-aab
c-b28023f2fb88.execute(WindupCommand_$$_javassist_a51b3fee-579f-4dce-aabc-b28023
f2fb88.java)
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.
execute(SingleCommandControllerImpl.java:90)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapte
r.java:74)
at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execut
e(AeshConsoleImpl.java:325)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:2694)
at java.lang.String.<init>(String.java:203)
at java.lang.String.substring(String.java:1913)
at org.apache.commons.lang.StringUtils.splitWorker(StringUtils.java:2510
)
at org.apache.commons.lang.StringUtils.split(StringUtils.java:2137)
at org.jboss.windup.rules.apps.java.archives.identify.IdentifiedArchives
.addMappingsFrom(IdentifiedArchives.java:54)
at org.jboss.windup.rules.apps.java.archives.config.ArchiveIdentificatio
nConfigLoadingRuleProvider$1$1.visit(ArchiveIdentificationConfigLoadingRuleProvi
der.java:55)
at org.jboss.windup.rules.apps.java.archives.config.ArchiveIdentificatio
nConfigLoadingRuleProvider$1$1.visit(ArchiveIdentificationConfigLoadingRuleProvi
der.java:48)
at org.jboss.windup.util.file.FileVisit.visit(FileVisit.java:34)
at org.jboss.windup.rules.apps.java.archives.config.ArchiveIdentificatio
nConfigLoadingRuleProvider$1.perform(ArchiveIdentificationConfigLoadingRuleProvi
der.java:66)
at org.jboss.windup.config.operation.GraphOperation.perform(GraphOperati
on.java:24)
at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:168)
at org.jboss.windup.config.RuleSubset.perform(RuleSubset.java:239)
at org.jboss.windup.exec.WindupProcessorImpl.execute(WindupProcessorImpl
.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoad
erInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java
:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoad
erInterceptor.java:103)
at org.jboss.windup.exec.WindupProcessorImpl_$$_javassist_80f05268-d79f-
4dfd-85bf-ef4b7fe2c9e5.execute(WindupProcessorImpl_$$_javassist_80f05268-d79f-4d
fd-85bf-ef4b7fe2c9e5.java)
at org.jboss.windup.ui.WindupCommand.execute(WindupCommand.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoad
erInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java
:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoad
erInterceptor.java:103)
at org.jboss.windup.ui.WindupCommand_$$_javassist_a51b3fee-579f-4dce-aab
c-b28023f2fb88.execute(WindupCommand_$$_javassist_a51b3fee-579f-4dce-aabc-b28023
f2fb88.java)
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.
execute(SingleCommandControllerImpl.java:90)
[bin]$
Posted by forums
Original post:
https://developer.jboss.org/message/920779#920779