我正在從源代碼構建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