Atitit.resin could not create the java virtual machine问题
Atitit.resin could not create the java virtual machine问题
1. 正常的参数是这样
D:\jdk1.7.0_51_64bit\bin\javaw -Djava.awt.headless=true -Dresin.server=1 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djava.system.class.loader=com.caucho.loader.SystemClassLoader -Djava.endorsed.dirs=D:\jdk1.7.0_51_64bit\jre\lib\endorsed;d:\resin-4.0.22\endorsed -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl -Djava.awt.headless=true -Dresin.home=/d:/resin-4.0.22 -Xss1m -Xmx256m -Xrs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 com.caucho.server.resin.Resin --root-directory /d:/resin-4.0.22 -conf d:\resin-4.0.22\conf\resin.xml -socketwait 53537 -resin-home /d:/resin-4.0.22 -root-directory /d:/resin-4.0.22 console -debug-port 8000
作者:: 老哇的爪子 Attilax 艾龙, EMAIL:1466519819@qq.com
转载请注明来源: http://www.cnblogs.com/attilax/
2. 错误的cmd运行时候的参数
"%java_home%\bin\java.exe" -Xrs -jar "%RESIN-HOME%\lib\resin.jar" -resin-home "%RESIN-HOME%\" -root-directory "%RESIN-HOME%\" console -debug-port 8001
D:\jdk1.7.0_51_64bit\bin\javaw -Djava.awt.headless=true -Dresin.server=1 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djava.system.class.loader=com.caucho.loader.SystemClassLoader "-Djava.endorsed.dirs=D:\jdk1.7.0_51_64bit\jre\lib\endorsed;D:\resin2-4.0.22" -root-directory D:\resin2-4.0.22"\endorsed" -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl -Djava.awt.headless=true "-Dresin.home=/D:/resin2-4.0.22" -root-directory D:/resin2-4.0.22"" -Xss1m -Xmx256m -Xrs com.caucho.server.resin.Resin --root-directory /D:/resin2-4.0.22/ -conf D:\resin2-4.0.22\conf\resin.xml -socketwait 53722 -resin-home "/D:/resin2-4.0.22" -root-directory D:/resin2-4.0.22"" console
注意最后的 -root-directory D:/resin2-4.0.22"" console
如果原始的root-directory目录以先刚结尾,就会处理后成为这样(后面多出来俩个双引号,而不是使用双引号括起来),应该是resin的一个bug导致的
3. 输出
Unrecognized option: -root-directory
分析
第一个主参数Main-Class: com.caucho.boot.ResinBoot
第二个启动主类 com.caucho.server.resin.Resin
4. 原因: resin的一个bug导致的。。
5. 原因:子进程参数错乱导致jvm错误。。
如果原始的root-directory目录以先刚结尾,就会处理后成为这样(后面多出来俩个双引号,而不是使用双引号括起来),应该是resin的一个bug导致的
通过调试com.caucho.server.resin.Resin,确定是jvm的参数解析错误,而不是里面抛出err导致的。。
我总结一下啊,一个要分离这么几个js
一个是首页配置用的js
一个是三大api的js。。里面包含那三大函数。。只在开发环境测试用的数据也可以包含这里哈。。
还有一个就是其他的js 代码了。。
Atitit.resin could not create the java virtual machine问题的更多相关文章
- Failed to create the Java Virtual Machine.问题的解决
运行Eclipse,出现了"Failed to create the Java Virtual Machine."错误: 解决的办法是在Eclipse的解压目录下找到eclipse ...
- eclipse failed to create the java virtual machine 问题图文解析
eclipse failed to create the java virtual machine 问题图文解析 分类: java常用软件异常2010-10-02 23:45 73200人阅读 评论( ...
- 解决Eclipse启动报错Failed to create the Java Virtual Machine
电脑:2G内存,WIN7 32位. 启动adt-bundle-windows-x86-20140702\eclipse\eclipse.exe时,报错[Failed to create the Jav ...
- Failed to create the java virtual machine完全解决办法
一直用EcliPSe开发java,突然有这么一天,无法启动了,splash窗口显示“Failed to create the Java Virtual Machine”,结果发现eclipse和mye ...
- Eclipse 4.6 Neon, could not create the java virtual machine
下了eclipse 4.6,打开报错:could not create the java virtual machine. a fatal exception has occurred. 命令行用 e ...
- eclipse:failed to create the java virtual machine
今天eclipse出现failed to create the java virtual machine无法启动,在网上找了解决办法如下: 找到eclipse目录下的eclipse.ini,可以看到如 ...
- 【 Failed to create the Java Virtual Machine】的2种解决方式
初学Android,下载并安装好了eclipse,ADT和SDK之后,打开Eclipse时,出现: Failed to create the Java Virtual Machine 点击确定,ecl ...
- 关于打开Eclipse时出现eclipse failed to create the java virtual machine与locking is not possible in the direc
原文转自:http://www.cnblogs.com/steararre/p/4037453.html 今天在机子上使用Eclipse时候打开发现这两个问题,通过查阅资料膜拜大神博客得知解决方法,特 ...
- 关于打开Eclipse时出现eclipse failed to create the java virtual machine与locking is not possible in the directory问题的解决
今天在机子上使用Eclipse时候打开发现这两个问题,通过查阅资料膜拜大神博客得知解决方法,特此整理下来,方便后来遇到此问题的小伙伴们. 一开始打开Eclipse时候出现问题现象1,问题1解决以后就出 ...
随机推荐
- PriorityQueue实现大顶堆
在做一道算法时需要使用大顶堆,所以查了一下记录. 使用PriorityQueue实现大顶堆 PriorityQueue默认是一个小顶堆,然而可以通过传入自定义的Comparator函数来实现大顶堆.如 ...
- Python shutil模块(目录和文件操作)
import shutil #导入shutil模块 copyfileobj方法 将类文件对象fsrc的内容复制到类文件对象fdst shutil.copyfileobj(fsrc, fdst[, le ...
- 获取dictionary 值连续相同的索引,
; i < ;) { , i]; var rangType = companyScheme[i]; string txtCell = ""; switch (rangType ...
- IP等级
IP是Ingress Protection的缩写,IP等级是针对电气设备外壳对异物侵入的防护等级,来源是国际电工委员会的标准IEC 60529,这个标准在2004年也被采用为美国国家标准. 在这个标 ...
- (转)Oracle 12c Windows安装、介绍及简单使用(图文)
版权声明:http://blog.csdn.net/anxpp https://blog.csdn.net/anxpp/article/details/51345074 转载请注明出处:http:// ...
- java对象流与序列化
Object流,直接把obj写入或读出. 前言: 比如 画图的程序,咣当画一个三角形出来,咣当画一正方形出来.然后存盘,当你下次再打开软件的时候三角形.方块还在原来的位置上.如果用面向对象的思维,三角 ...
- Redis-cli命令总结
连接操作相关的命令 默认直接连接 远程连接-h 192.168.1.20 -p 6379 ping:测试连接是否存活如果正常会返回pong echo:打印 select:切换到指定的数据库,数据库索 ...
- javac后期需要重点阅读的类
(1)Annotate (300行) Enter annotations on symbols. Annotations accumulate in a queue,which is processe ...
- linux更改文件权限
chown –Rh cheat:cheat /home/cheat/task/Cheat
- 面试题27:单链表向右旋转k个节点
Given a list, rotate the list to the right by kplaces, where k is non-negative. For example:Given1-& ...