求教,使用 java service wrapper 的问题.

sy197661944 2011-03-28 04:11:12
wrapper.log


STATUS | wrapper | 2011/03/28 15:56:58 | --> Wrapper Started as Service
STATUS | wrapper | 2011/03/28 15:56:58 | Java Service Wrapper Community Edition 32-bit 3.5.7
STATUS | wrapper | 2011/03/28 15:56:58 | Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2011/03/28 15:56:58 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2011/03/28 15:56:58 |
STATUS | wrapper | 2011/03/28 15:56:59 | Launching a JVM...
INFO | jvm 1 | 2011/03/28 15:56:59 | WrapperManager: Initializing...
INFO | jvm 1 | 2011/03/28 15:56:59 | Environment Variable 'LANG' not set. This might be not a problem as the current locale might be 'C'...
INFO | jvm 1 | 2011/03/28 15:56:59 | WrapperJNI Error: Not licensed to use this edition of the Wrapper native library. (1)
INFO | jvm 1 | 2011/03/28 15:56:59 | WrapperJNI Error: This can happen if the Wrapper binary is not the same version and edition as that of the Wrapper's JNI native library file.
INFO | jvm 1 | 2011/03/28 15:56:59 | WrapperJNI Error: Shutting down.
INFO | jvm 1 | 2011/03/28 15:56:59 |
INFO | jvm 1 | 2011/03/28 15:56:59 | WrapperSimpleApp Usage:
INFO | jvm 1 | 2011/03/28 15:56:59 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class{/app_method}} [app_arguments]
INFO | jvm 1 | 2011/03/28 15:56:59 |
INFO | jvm 1 | 2011/03/28 15:56:59 | Where:
INFO | jvm 1 | 2011/03/28 15:56:59 | app_class: The fully qualified class name of the application to run.
INFO | jvm 1 | 2011/03/28 15:56:59 | app_arguments: The arguments that would normally be passed to the
INFO | jvm 1 | 2011/03/28 15:56:59 | application.
ERROR | wrapper | 2011/03/28 15:57:00 | JVM exited while loading the application.



配置文件修改了9处
wrapper.conf

wrapper.java.command=C:\Program Files\Java\ibm_jdk.1.5\bin\java

wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=../lib/activation.jar
wrapper.java.classpath.3=../lib/mail.jar
wrapper.java.classpath.4=../lib/Monitoring.jar

wrapper.java.library.path.1=../lib

wrapper.java.additional.1=-Dprogram.name=run.bat

#wrapper.app.parameter.1=com.yada.MainWin

wrapper.name=monitor

wrapper.displayname=showmnt

wrapper.description=description




在服务列表中已可看见服务,但启动失败.
...全文
244 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sy197661944 2011-03-28
  • 打赏
  • 举报
回复

Launching a JVM...
WrapperManager: Initializing...
Environment Variable 'LANG' not set. This might be not a problem as the current locale might be 'C'...
WrapperJNI Error: Not licensed to use this edition of the Wrapper native library. (1)
WrapperJNI Error: This can happen if the Wrapper binary is not the same version and edition as that of the Wrapper's JNI native library file.
WrapperJNI Error: Shutting down.



新的错误信息.....
sy197661944 2011-03-28
  • 打赏
  • 举报
回复
有木有知道的,有木有?

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧