我正在从源代码构建Alfresco并希望将其部署到Tomcat上。可以请任何人向我解释这一点?没有足够的信息关于它here。Tomcat上的Alfresco部署
APP_TOMCAT_HOME (can be used to host the Slingshot webapp)
VIRTUAL_TOMCAT_HOME (NOTE: this must be a totally separate installation of Tomcat; it is required for virtualization)
我想这APP_TOMCAT_HOME可以是同一位置TOMCAT_HOME,但对于虚拟化?这是关于什么?为什么?
我发现this thread,它是这样的:
忘掉虚拟化服务器
- 在这种情况下,构建脚本部署的东西到$ {env.var.that.is .not.set}
我结束了
java.lang.ClassNotFoundException: org.apache.catalina.storeconfig.StoreConfigLifecycleListener
从我读这里Virtualization_Server_FAQ,我不需要它了,但构建脚本上VIRTUAL_TOMCAT_HOME变量有点儿数,并将其部署一些tomcat的5.x的东西,如常见的服务器目录
最后我试图找到什么是this wiki entry怎么回事,但也有“断章取义” ......
这是我得到多远:
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 28, 2011 4:24:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 466 ms
Feb 28, 2011 4:24:49 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 28, 2011 4:24:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Feb 28, 2011 4:24:49 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
Feb 28, 2011 4:24:50 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
16:24:55,574 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
16:24:55,576 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
16:24:55,619 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:24:55,727 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:24:55,760 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:25:07,058 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
16:25:07,061 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
16:25:14,227 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
16:25:14,481 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema.
1 6:25:14,531 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
16:25:14,543 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:25:14,543 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:25:14,544 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:25:14,554 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
java.lang.reflect.InvocationTargetException
Exception in thread "main" Exception in thread "RMI RenewClean-[127.0.0.1:50504]" Exception in thread "RMI RenewClean-[127.0.0.1:50506]" Exception in thread "RMI RenewClean-[127.0.0.1:50502]" Exception in thread "RMI RenewClean-[127.0.0.1:50505]" Exception in thread "RMI RenewClean-[127.0.0.1:50508]" Exception in thread "RMI RenewClean-[127.0.0.1:50501]" Exception in thread "RMI TCP Connection(idle)" Exception in thread "RMI TCP Connection(idle)"
环境:
Alfresco Revision 25908
tomcat 6.0.29
java version "1.6.0_16"
linux x86_64
谢谢
谢谢skuro,我增加了内存,没有它我不会去java.lang.reflect.InvocationTargetException的问题...我放弃了...我宁愿坚持长耳老虎和liferay ...我从未见过如此混乱的部署,以及缺乏关于这个重要软件的重要事情......这个口径的软件。 – lisak 2011-03-05 20:50:22
我将特定类的记录器设置为TRACE模式,但我无法找出问题所在,所有内容在安装脚本的alfresco包中都显示为... – lisak 2011-03-05 20:52:50
这真的很奇怪,它不适合你,我从昨天开始尝试使用HEAD,它工作得很好,在增加可用内存到应用程序服务器之后异常消失。在一个侧面说明中,我同意Alfresco可以让开发人员更轻松地引导他们的代码。 – skuro 2011-03-07 12:15:44