Windows 上 JBoss 服务启动和 CF9 部署时出现 JBoss 问题!

Windows 上 JBoss 服务启动和 CF9 部署时出现 JBoss 问题!

我已经下载了 JBOSS 5.1 并将其解压到 c:\jboss-5.1.0.GA。我已经安装了 java jdk1.6.0_17,并且正在使用 Windows XP SP3(开发环境),我遇到了两个问题。

我无法将其用作服务。我访问了本地 JBoss 网站 (http://127.0.0.1:8080)当我通过运行 c:\jboss-5.1.0.GA\bin\run.bat 手动启动 Jboss 时。我可以安装服务(service.bat install),并且它启动时没有错误,但是本地 JBoss 网站(http://127.0.0.1:8080) 无法访问。我也尝试了 Tanuki 服务包装器,但没有成功。

另一个问题涉及 EAR 部署。当我运行 JBoss(手动启动)时,我收到以下 coldfusion 9 错误:

java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** DEPLOYMENTS IN ERROR: Name -> Error

vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/cfusion.ear/ -> org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/cfusion.ear/cfusion.war/ deployment failed


DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/cfusion.ear/" is in error due to the following reason(s): java.lang.SecurityException: Seed must be between 20 and 64 bytes. Only 8 bytes supplied.

        at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)
        at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
        at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
        at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
        at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

我已经尝试将其传递给 JVM:

-Dcoldfusion.disablejsafe=true

但这没有帮助。

答案1

我遇到了同样的问题。打开 service.bat 文件并查找“set JAVA_OPTS=-Xrs”,​​然后将其删除,然后保存并关闭。

以下是有关如何在 JBoss 上部署 CF9 的良好指南。

http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18c28-7fbd.html

希望能帮助到你 :)

相关内容