用web console部署正常,用wsadmin.sh就报错
报错日志如下:
[own@rhel6u5x64-54 bin]$ !./wsadmin.sh
./wsadmin.sh -user admin -password admin -conntype SOAP -lang jacl -f /app/WAS/vat.jacl
WASX7209I: Connected to process "server1" on node rhel6u5x64-54Node01 using SOAP connector; The type of process is: UnManagedProcess
JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2016/02/15 17:24:51 - please wait.
JVMDUMP032I JVM requested System dump using '/app/WAS/IBM/WebSphere/AppServer/bin/core.20160215.172451.7644.0001.dmp' in response to an event
JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" specifies that the core dump is to be piped to an external program. Attempting to rename either core or core.7672.
JVMDUMP010I System dump written to /app/WAS/IBM/WebSphere/AppServer/bin/core.20160215.172451.7644.0001.dmp
JVMDUMP032I JVM requested Heap dump using '/app/WAS/IBM/WebSphere/AppServer/bin/heapdump.20160215.172451.7644.0002.phd' in response to an event
JVMDUMP010I Heap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/heapdump.20160215.172451.7644.0002.phd
JVMDUMP032I JVM requested Java dump using '/app/WAS/IBM/WebSphere/AppServer/bin/javacore.20160215.172451.7644.0003.txt' in response to an event
JVMDUMP010I Java dump written to /app/WAS/IBM/WebSphere/AppServer/bin/javacore.20160215.172451.7644.0003.txt
JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2016/02/15 17:25:07 - please wait.
JVMDUMP032I JVM requested Snap dump using '/app/WAS/IBM/WebSphere/AppServer/bin/Snap.20160215.172451.7644.0005.trc' in response to an event
JVMDUMP010I Snap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/Snap.20160215.172451.7644.0005.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
JVMDUMP032I JVM requested Heap dump using '/app/WAS/IBM/WebSphere/AppServer/bin/heapdump.20160215.172507.7644.0004.phd' in response to an event
JVMDUMP010I Heap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/heapdump.20160215.172507.7644.0004.phd
JVMDUMP032I JVM requested Java dump using '/app/WAS/IBM/WebSphere/AppServer/bin/javacore.20160215.172507.7644.0006.txt' in response to an event
JVMDUMP010I Java dump written to /app/WAS/IBM/WebSphere/AppServer/bin/javacore.20160215.172507.7644.0006.txt
JVMDUMP032I JVM requested Snap dump using '/app/WAS/IBM/WebSphere/AppServer/bin/Snap.20160215.172507.7644.0007.trc' in response to an event
JVMDUMP010I Snap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/Snap.20160215.172507.7644.0007.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
Exception in thread "Attach API wait loop" java.lang.OutOfMemoryError: Java heap space
at com.ibm.tools.attach.javaSE.CommonDirectory.waitSemaphore(CommonDirectory.java:195)
at com.ibm.tools.attach.javaSE.AttachHandler$WaitLoop.waitForNotification(AttachHandler.java:328)
at com.ibm.tools.attach.javaSE.AttachHandler$WaitLoop.run(AttachHandler.java:406)
JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2016/02/15 17:25:19 - please wait.
response to an event
JVMDUMP010I Heap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/heapdump.20160215.172519.7644.0008.phd
response to an event
JVMDUMP010I Java dump written to /app/WAS/IBM/WebSphere/AppServer/bin/javacore.20160215.172519.7644.0009.txt
onse to an event
JVMDUMP010I Snap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/Snap.20160215.172519.7644.0010.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2016/02/15 17:25:33 - please wait.
response to an event
JVMDUMP010I Heap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/heapdump.20160215.172533.7644.0011.phd
response to an event
JVMDUMP010I Java dump written to /app/WAS/IBM/WebSphere/AppServer/bin/javacore.20160215.172533.7644.0012.txt
onse to an event
JVMDUMP010I Snap dump written to /app/WAS/IBM/WebSphere/AppServer/bin/Snap.20160215.172533.7644.0013.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
Exception in thread "Thread-8" java.lang.OutOfMemoryError: Java heap space
at java.lang.String.substring(String.java:1219)
at java.io.UnixFileSystem.parentOrNull(UnixFileSystem.java:238)
at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:171)
at java.io.File.getCanonicalPath(File.java:600)
at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:913)
at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:740)
at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:835)
at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:475)
at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferences.java:61)
at java.util.prefs.FileSystemPreferences$3.run(FileSystemPreferences.java:443)
at java.util.Timer$TimerImpl.run(Timer.java:296)
r while eval'ing Jacl expression:
java.lang.OutOfMemoryError: Java heap space
while executing
vat_war -usedefaultbindings..."
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:981)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:379)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:150)
Caused by: java.lang.OutOfMemoryError: Java heap space
at sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.java:216)
at sun.util.resources.OpenListResourceBundle.loadLookup(OpenListResourceBundle.java:137)
at sun.util.resources.OpenListResourceBundle.loadLookupTablesIfNecessary(OpenListResourceBundle.java:125)
at sun.util.resources.OpenListResourceBundle.handleGetObject(OpenListResourceBundle.java:86)
at sun.util.resources.TimeZoneNamesBundle.handleGetObject(TimeZoneNamesBundle.java:87)
at java.util.ResourceBundle.getObject(ResourceBundle.java:398)
at java.util.ResourceBundle.getObject(ResourceBundle.java:401)
at java.util.ResourceBundle.getStringArray(ResourceBundle.java:381)
OutOfMemoryError: Java heap space
at java.util.LinkedHashMap.newElementArray(LinkedHashMap.java:317)
at java.util.HashMap.
at java.util.LinkedHashMap.
at sun.util.resources.TimeZoneNamesBundle.createMap(TimeZoneNamesBundle.java:105)
at sun.util.resources.OpenListResourceBundle.loadLookup(OpenListResourceBundle.java:138)
at sun.util.resources.OpenListResourceBundle.loadLookupTablesIfNecessary(OpenListResourceBundle.java:125)
at sun.util.resources.OpenListResourceBundle.handleGetObject(OpenListResourceBundle.java:86)
at sun.util.resources.TimeZoneNamesBundle.handleGetObject(TimeZoneNamesBundle.java:87)
at java.util.ResourceBundle.getObject(ResourceBundle.java:398)
at java.util.ResourceBundle.getObject(ResourceBundle.java:401)
at java.util.ResourceBundle.getStringArray(ResourceBundle.java:381)
at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNameUtility.java:130)
at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNameUtility.java:111)
at java.util.TimeZone.getDisplayNames(TimeZone.java:473)
at java.util.TimeZone.getDisplayName(TimeZone.java:424)
at java.util.Date.toString(Date.java:1053)
at org.eclipse.core.launcher.Main.log(Main.java:1870)
at org.eclipse.core.launcher.Main.run(Main.java:992)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:379)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:150)
Exception in thread "Thread-12" java.lang.OutOfMemoryError: Java heap space
at sun.reflect.ByteVectorImpl.
at sun.reflect.ByteVectorImpl.
at sun.reflect.ByteVectorFactory.create(ByteVectorFactory.java:42)
at sun.reflect.ClassFileAssembler.
at sun.reflect.AccessorGenerator.emitConstructor(AccessorGenerator.java:437)
at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:393)
at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:125)
12" 3java.lang.OutOfMemoryError: Java heap space
at java.nio.CharBuffer.wrap(CharBuffer.java:369)
at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:277)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:137)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:244)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:140)
at java.io.PrintStream.write(PrintStream.java:550)
at java.io.PrintStream.print(PrintStream.java:693)
at java.io.PrintStream.append(PrintStream.java:1089)
at java.io.PrintStream.append(PrintStream.java:70)
at java.lang.StackTraceElement.appendTo(StackTraceElement.java:197)
at java.lang.StackTraceElement.appendTo(StackTraceElement.java:212)
at java.lang.StackTraceElement.appendTo(StackTraceElement.java:165)
at java.lang.Throwable.printStackTrace(Throwable.java:523)
at java.lang.Throwable.printStackTrace(Throwable.java:281)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:777)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:770)
at java.lang.Thread.uncaughtException(Thread.java:1279)
/app/WAS/vat.jacl 脚本内容:
$AdminApp install /tmp/WAS_V8.5/vat.war {-cell rhel6u5x64-54Node01Cell -node rhel6u5x64-54Node01 -server server1 -appname vat_war -usedefaultbindings -contextroot /vat -MapWebModToVH {{"server1" vat.war,WEB-INF/web.xml default_host}} -MapModulesToServers {{"server1" vat.war,WEB-INF/web.xml WebSphere:cell=rhel6u5x64-54Node01Cell,node=rhel6u5x64-54Node01,server=server1}}}
$AdminConfig save
拜求各路大神
收起./wsadmin.sh -user admin -password admin -conntype SOAP -lang jacl -javaoption -Xms512m -Xmx1024m -f /app/WAS/vat.jacl