ResCarta在Jelastic中?

问题描述

我正在尝试将Tomcat应用ResCarta放入我的Reclaim Cloud帐户(jelastic)。我可以通过本地端口使ResCarta网站在我的计算机上工作,但无法将其部署到jelastic上。我尝试部署下载文件.zip文件夹,并创建了一个war文件进行部署,但是每个文件都导致404错误。有没有办法让ResCarta进行这项工作?

编辑:如果将ResCarta部署到Auto-scalable GlassFish Cluster中,则可以显示ResCarta的基础页面,但是如果尝试导航到任何其他页面,则会导致错误

HTTP Status 500 - Internal Server Error
type Exception report

messageInternal Server Error

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /jsp/RcWebbrowse.jsp(420,397) PWC6317: The attributes for a standard action or an uninterpreted tag cannot be deferred expressions
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 5.1.0 logs.

GlassFish Server Open Source Edition 5.1.0

解决方法

  1. 使用Java 9.0.37 + OpenJDK-15.ea-b33创建容器(例如)

  2. 使用默认选项将归档文件rc-web-7.0.3.zip部署到创建的环境中

  3. 将文件夹“ / opt / tomcat / webapps / ROOT / ResCarta-Web / *”中的所有内容移至“ / opt / tomcat / webapps / ROOT /” Move all contents

  4. 再次检查您的环境链接http://env-xxxxxxx.xx.reclaim.cloud/check web link of your environment