Hi, Oliver. Recently I just met some strange problems with deploying web applications in Fedora. And finally I solved the problem by replacing all Fedora pre-installed Java and Tomcat with corresponding Sun and Apache official versions. I hope my experience will be helpful to you. Bob Song 2007-03-29
发件人: Oliver Konz 发送时间: 2007-03-28 22:55:30 收件人: [email protected] 抄送: 主题: Problems deploying Jetspeed 2.1 to Tomcat 5.5 Hi! I'm trying to deploy Jetspeed 2.1 to Tomcat 5.5.23 with MySQL on Fedora Core 6 (Sun Java 1.5.0_11). Using the installer jar this works like a charm. But since I want to build my own custom portal I'll have to use the maven build. When I just type "mvn" all builds well, but when I try "mvn -P tomcat,min" the fun starts... The problem seems to be that variables do not get resolved. At first it complained that it did not find my mysql driver. I fixed this by supplying an absolute path in my ~/.m2/settings.xml. But the next error is a bit trickier: deploy-shared-components: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/build.xml:93: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/build.xml:149: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/tomcat-build.xml:92: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/tomcat-build.xml:299: /home/oli/jetspeed-2/app-servers/${org.apache.jetspeed.server.home}/shared/lib not found. As you can see the ${org.apache.jetspeed.server.home} variable does not get resolved. Any idea how I can fix this without changing the ant build files? Thanks for your time! Regards, Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
