gpt4 book ai didi

ColdFusion 11 崩溃

转载 作者:行者123 更新时间:2023-12-04 02:15:30 31 4
gpt4 key购买 nike

由于我正在进行的一个项目,我在 CF11 管理员中弄乱了类路径,我设法使服务器崩溃,以至于我唯一得到的是一个漂亮的蓝屏和 500 错误.我已经检查了日志,我会把我能做的贴在帖子的底部,但我希望有人会启发我,这样我就不必重新安装 CF,因为我在亚马逊 AMI 实例上而且我没有甚至不知道我是否能做到(还没有检查过)。

"Error","localhost-startStop-2","12/12/14","13:12:22",,""
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The XML-RPC service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The Metrics service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The ClientScope service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The Runtime service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The Solr service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The MailSpool service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The DataSource service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The Debugging service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The Security service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,""
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The DotNet service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The WatchService service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The Monitoring service is not available. This exception is usually caused by service startup failure. Check your server configuration."
"Error","localhost-startStop-2","12/12/14","13:12:22",,"The Runtime service is not available. This exception is usually caused by service startup failure. Check your server configuration."

这是我的jvm文件

#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself

java.home=C:\\ColdFusion11\\jre

#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) ../runtime/jre
# 2) registry (windows only)
# 3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# 4) java.exe in path
#

# Arguments to VM
java.args=-server -Xms256m -Xmx1024m -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application.home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/jars,{application.home}/wwwroot/WEB-INF/cfform/jars,C:\\ColdFusion11\\jre\\lib

# Comma separated list of shared library path
java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home}/jintegra/bin/international,{application.home}/lib/oosdk/classes/win

# Comma separated list of shared library path for non-windows
java.nixlibrary.path={application.home}/lib

java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes

最佳答案

我假设您是通过 CF 管理员编辑类路径?如果是这样,请查找 Adam 提到的 jvm.config 文件并从备份或其他库存安装中恢复它。

您似乎没有提到 ColdFusion 安装的类型,或者您的 AMI 实例的操作系统。我在 Windows 7 上安装的独立 ColdFusion 11 在此处具有 jvm.config:

C:\ColdFusion11\cfusion\bin\jvm.config

内容如下。 不要简单地复制它,因为您可能没有与我完全相同的路径或内存设置。但是,您可以将其用作比较的引用点。抱歉,我本来想把它作为评论,但文件太大了。

#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself

java.home=C:\\ColdFusion11\\jre

#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) ../runtime/jre
# 2) registry (windows only)
# 3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# 4) java.exe in path
#

# Arguments to VM

java.args=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -server -Xms256m -Xmx512m -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog -Djava.awt.headless=true -Duser.language=en -Dcoldfusion.rootDir={application.home} -Djava.security.policy={application.home}/lib/coldfusion.policy -Djava.security.auth.policy={application.home}/lib/neo_jaas.policy -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application.home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/cfform/jars,{application.home}/wwwroot/WEB-INF/flex/jars,{application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random

# Comma separated list of shared library path

java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home}/jintegra/bin/international,{application.home}/lib/oosdk/classes/win

# Comma separated list of shared library path for non-windows

java.nixlibrary.path={application.home}/lib

java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes

关于ColdFusion 11 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27450543/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com