欢迎光临
我们一直在努力

运行resin时的JMX MalformedObjectNameException问题-JSP教程,Java技巧及代码

建站超值云服务器,限时71元/月

when running resin,i get the following error:

"javax.management.malformedobjectnameexception: objectname: invalid character : in value

part of property…". here is others discussion

http://www.caucho.com/quercus/faq/question.xtp?question_id=1410ref.answer by sam on tue, 25 feb 2003 12:17:07 -0800 (pst)  you are likely getting a conflicting/older jmx implementation in your classpath. try starting resin with an empty classpath: win> set classpath=win> bin/httpd.exe

unix.sh> export classpath=""unix.sh> bin/httpd.shyou can start httpd with the -verbose option to see the classpath that is being used when

resin is started.

with -verbose option,i get environment variables list as follows:java:        c:\program files\java\j2sdk1.5.0\bin\java.exejava_home:   c:\program files\java\j2sdk1.5.0resin_home:  d:\resin-2.1.6server_root: d:\resin-2.1.6classpath:   d:\resin-2.1.6\classes;d:\resin-2.1.6\lib\resin.jar;c:\program

files\java\j2sdk1.5.0\lib\tools.jar;c:\program

files\java\j2sdk1.5.0\jre\lib\rt.jar;d:\resin-2.1.6\lib\dom.jar;….

i think the reason is the blank in "program files",and the error disappear when i move jdk

to a path without blank and reset the values of environment variables above with the path.

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 运行resin时的JMX MalformedObjectNameException问题-JSP教程,Java技巧及代码
分享到: 更多 (0)