适用于Linux的Wsadmin脚本

时间:2013-04-12 23:18:32

标签: linux websphere jython wsadmin

我需要OS Linux的功能wsadmin脚本。我想将我的应用程序从linux部署到远程WAS服务器。我到处寻找,但我发现了相同的错误脚本。

我当前的脚本以异常结束:

  [exec] Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/ws/scripting/WasxShell
     [exec] Caused by: java.lang.ClassNotFoundException: com.ibm.ws.scripting.WasxShell
     [exec]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     [exec]     at java.security.AccessController.doPrivileged(Native Method)
     [exec]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [exec]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [exec] Could not find the main class: com.ibm.ws.scripting.WasxShell.  Program will exit.

提前致谢

0 个答案:

没有答案