当我部署时
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)
察看连接信息
服务器:
3.0.0版
建造时间:2012.07.03-20:43:28.321+0800
开始时间2015年6月3日星期三21:49:00
启动时间13小时50分30秒
操作系统:
架构i386
名称Linux
版本2.6.32-504.16.2.el6.x86_64
修补程序级别未知
本地语言环境
虚拟机:
Java 1.7.0版
Java供应商Oracle公司
节点chaminda.alfresco.akaza/127.0.0.1
当前使用的内存为174.76 MB
大多数内存使用239.99 MB
总内存分配253.5 MB
可用处理器4
服务器jvm的系统属性值
java.awt.graphicsenv sun.awt.x11图形环境
java.awt.printerjob sun.print.psprinterjob
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
java.class.51.0版
java.背书.dirs
/opt/geronimo-tomcat7-javaee6-3.0.0/lib/背书
/opt/jdk1.7.0_79/jre/lib/已认可
java.ext.dirs/opt/jdk1.7.0_79/jre/lib/ext
/usr/java/packages/lib/ext
java.home/opt/jdk1.7.0_79/jre
java.io.tmpdir/opt/geronimo-tomcat7-javaee6-3.0.0/var/temp
java.library.path/usr/java/packages/lib/i386/lib/usr/lib
java.runtime.name Java(TM)SE运行时环境
java.runtime.1.7.0版本79-b15
java.specification.name Java平台API规范
java.specification.vendor Oracle公司
java.specification.1.7版
java.util.prefs.preferencesFactory公司
java.vendor-Oracle公司
java.version-1.7.0洎
最佳答案
我不知道geronimo 3.0,但我认为alfresco不支持这个服务器。在alfresco的官方文档中,您可以找到在jboss、tomcat或weblogic中安装alfresco的步骤。
如果出现上述错误,Alfresco的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