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解决以后就出 ...
随机推荐
- linux磁盘用满的两种情况
首先查看分区的内存使用情况和inode使用情况 第一种情况,内存用完: 我们拿分区sdb5来做实验 查看内存使用情况和inode使用情况: 第二种情况:inode使用完 我们在该分区下创建很多空文件 ...
- (转)AIX rootvg 镜像创建与磁盘更换
# prtconf | grep disk # chdev -l hdisk1 -a pv=yes # extendvg rootvg hdisk1 # chvg -Qn rootvg # lsvg ...
- SELECT列表中的标量子查询
发现了一种表连接新的写法,以前还没有这样写过或者见别人写过.跟同学聊天他们公司却很多人这样写,看来真的要学学sql了 表 CREATE TABLE `t_book` ( `FId` ) NOT NUL ...
- 手淘的移动端适配方案flexible
基于 vue-cli 配置手淘的 lib-flexible + rem,实现移动端自适应 安装 flexible npm install lib-flexible --save 引入 flexible ...
- 虚拟网络编辑器的知识和出现的一些问题(没有VMnet0或VMnet8)
不多说,直接上干货! 安装好的虚拟机,没有VMnet0!!! 解决的办法: 就可以了. 那么,问题现在又来了? 但是,每次都要这样,以右键,管理员身份运行,再关闭之后,以普通双击方式,即又没有VMne ...
- jquery插件开发的demo
(function ($) { $.fn.extend({ "highLight": function (options) { //检测用户传进来的参数是否合法 if (!isVa ...
- 使用Apache Bench对网站性能进行测试
使用Apache Bench对网站性能进行测试
- InterView之PHP2
PHP 理论知识 常用的超全局变量(8个) $_GET ----->get传送方式 $_POST ----->post传送方式 $_REQUEST ----->可以接收到get和po ...
- HihoCoder - 1478 水陆距离
水陆距离 描述 给定一个N x M的01矩阵,其中1表示陆地,0表示水域.对于每一个位置,求出它距离最近的水域的距离是多少. 矩阵中每个位置与它上下左右相邻的格子距离为1. 输入 第一行包含两个整数, ...
- java面试①整体流程
http://www.toutiao.com/i6463396763549041166/ 1.1 简单的自我介绍 我是xxx工作了xx年,在xx公司,做过xx项目, 1.2你简单介绍一下xxx项目 为 ...