Deployment
JBoss 服務啟動和 CF9 部署在 Windows 上的 JBoss 問題!
我已經下載了 JBOSS 5.1 並將其解壓縮到 c:\jboss-5.1.0.GA。我已經安裝了 java jdk1.6.0_17 並且我正在使用 Windows XP SP3 (Dev-Environment) 我有兩個問題。
我無法將其用作服務。當我通過執行 c:\jboss-5.1.0.GA\bin\run.bat 手動啟動 Jboss 時,我得到了本地 JBoss 網站 ( http://127.0.0.1:8080 )。我可以安裝服務(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
但這無濟於事。
我遇到了同樣的問題。打開 service.bat 文件並查找 ‘set JAVA_OPTS=-Xrs’ REM 它然後保存並關閉。
下面是關於如何在 JBoss 上部署 CF9 的一個很好的指南。
http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18c28-7fbd.html
希望能幫助到你 :)