linux - 在 Geronimo 3.0 上部署 Alfresco 社区版 5.0.d 时出现错误

标签 linux apache jakarta-ee alfresco geronimo

当我部署时 Alfresco community edition 5.0.d 有以下错误

在 geronimo 上部署时出错

The application was not deployed.
web.xml for web app alfresco includes security elements but Geronimo deployment plan is not provided or does not contain element necessary to configure security accordingly.

at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:453) 
at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:436)
at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:686) 
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256) 
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140) 
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) 
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883) 
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) 
at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) 
at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) at java.lang.Thread.run(Thread.java:745)

服务器信息

服务器:

  1. 版本 3.0.0
  2. 构建 2012.07.03-20:43:28.321+0800
  3. 开始时间 2015 年 IST 6 月 3 日星期三 21:49:00
  4. 正常运行时间 13 小时 50 分 30 秒

操作系统:

  1. 架构 i386
  2. Linux 的名字
  3. 版本 2.6.32-504.16.2.el6.x86_64
  4. 补丁级别未知
  5. 语言环境 en_US

JVM:

  1. Java 版本 1.7.0_79
  2. Java 供应商 Oracle Corporation
  3. 节点 chaminda.alfresco.akaza/127.0.0.1
  4. 当前使用内存 174.76 MB
  5. 使用最多的内存 239.99 MB
  6. 分配的总内存 253.5 MB
  7. 可用处理器 4

服务器 JVM 的系统属性值

  1. java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
  2. java.awt.printerjob sun.print.PSPrinterJob
  3. java.class.path
    /opt/geronimo-tomcat7-javaee6-3.0.0/lib/commons-cli.jar /opt/geronimo-tomcat7-javaee6-3.0.0/lib/geronimo-cli.jar /opt/geronimo-tomcat7-javaee6-3.0.0/lib/geronimo-hook.jar /opt/geronimo-tomcat7-javaee6-3.0.0/lib/geronimo-main.jar /opt/geronimo-tomcat7-javaee6-3.0.0/lib/geronimo-rmi-loader.jar /opt/geronimo-tomcat7-javaee6-3.0.0/lib/karaf-jaas-boot.jar /opt/geronimo-tomcat7-javaee6-3.0.0/lib/agent/transformer.jar
  4. java.class.version 51.0
  5. java.endorsed.dirs
    /opt/geronimo-tomcat7-javaee6-3.0.0/lib/endorsed /opt/jdk1.7.0_79/jre/lib/endorsed
  6. java.ext.dirs/opt/jdk1.7.0_79/jre/lib/ext /usr/java/packages/lib/ext
  7. java.home/opt/jdk1.7.0_79/jre
  8. java.io.tmpdir/opt/geronimo-tomcat7-javaee6-3.0.0/var/temp
  9. java.library.path/usr/java/packages/lib/i386/lib/usr/lib
  10. java.runtime.name Java(TM) SE 运行时环境
  11. java.runtime.version 1.7.0_79-b15
  12. java.specification.name Java 平台 API 规范
  13. java.specification.vendor 甲骨文公司
  14. java.specification.version 1.7
  15. java.util.prefs.PreferencesFactory
  16. java.vendor-甲骨文公司
  17. java.version- 1.7.0_79

最佳答案

我不知道 Geronimo 3.0,但我认为 alfresco 不支持此服务器。在 alfresco 的官方文档中,您会找到在 Jboss、Tomcat 或 Weblogic 中安装 alfresco 的步骤。

如果出现上述错误,在 alfresco 的 side war 文件中有一个 web.xml。该文件的元素与您的服务器不匹配。您可能需要更改该文件 war ,即使在改变之后你也会面临一些你需要解决的问题。

论坛上有一些您可能会觉得有用的链接。

https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrades/startup-fails-geronimo

http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrades/alfresco-geronimo-0

https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrades/alfresco-geronimo

关于linux - 在 Geronimo 3.0 上部署 Alfresco 社区版 5.0.d 时出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30638699/

相关文章:

android - 如何同步内核时间和logcat时间?

c++ - Linux 中的电源管理通知

linux - 如何在Linux上使用命令行为Drupal安装GD库?

apache - 为什么 localhost (DocumentRoot) 被阻止在 Google Drive、Dropbox 或 Tresorit 上运行?

java - 如何在 Apache Olingo 中创建实体?

linux - pkmap_page_table在k图上如何使用?

apache - url 重写不适用于相对路径

hibernate - 如何使用 JPA 编写生产者-消费者

java.lang.illegalstateException无法检索entitymanagerfactory的unitname null

java - 使用 JBoss 4.2.x,如何在不取消部署现有数据源的情况下部署新数据源?