[BUILD] 2.1: Failed for Revision: 611383
OpenEJB trunk at 61 Geronimo Revision: 611383 built with tests included See the full build-0300.log file at http://people.apache.org/~prasad/binaries/trunk/20080112/build-0300.log Running org.apache.geronimo.system.configuration.InPlaceConfigurationUtilTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec Running org.apache.geronimo.system.logging.log4j.XLevelTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec Running org.apache.geronimo.system.configuration.ConfigurationStoreUtilTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.286 sec Running org.apache.geronimo.system.configuration.LocalAttributeManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec Running org.apache.geronimo.system.configuration.GBeanOverrideTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec Running org.apache.geronimo.system.configuration.ServerOverrideTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec Running org.apache.geronimo.system.configuration.condition.JexlExpressionParserTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Results : Tests run: 58, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: /home/prasad/geronimo/trunk/framework/modules/geronimo-system/target/geronimo-system-2.1-SNAPSHOT.jar [INFO] [tools:verify-legal-files {execution: verify-legal-files}] [INFO] Checking legal files in: geronimo-system-2.1-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing /home/prasad/geronimo/trunk/framework/modules/geronimo-system/target/geronimo-system-2.1-SNAPSHOT.jar to /home/prasad/.m2/repository/org/apache/geronimo/modules/geronimo-system/2.1-SNAPSHOT/geronimo-system-2.1-SNAPSHOT.jar [INFO] [INFO] Building geronimo-plugin [INFO]task-segment: [install] [INFO] [INFO] [enforcer:enforce {execution: default}] [INFO] [tools:copy-legal-files {execution: install-legal-files}] [INFO] Created dir: /home/prasad/geronimo/trunk/framework/modules/geronimo-plugin/target/classes/META-INF [INFO] Copying 2 files to /home/prasad/geronimo/trunk/framework/modules/geronimo-plugin/target/classes/META-INF [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 21 source files to /home/prasad/geronimo/trunk/framework/modules/geronimo-plugin/target/classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Compiling 4 source files to /home/prasad/geronimo/trunk/framework/modules/geronimo-plugin/target/test-classes [INFO] [surefire:test] [WARNING] Component returned which is not the same manager. Ignored. [EMAIL PROTECTED] [WARNING] Component returned which is not the same manager. Ignored. [EMAIL PROTECTED] [WARNING] Component returned which is not the same manager. Ignored. [EMAIL PROTECTED] [INFO] Surefire report directory: /home/prasad/geronimo/trunk/framework/modules/geronimo-plugin/target/surefire-reports --- T E S T S --- Running org.apache.geronimo.system.plugin.ArchiverGBeanTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 sec Running org.apache.geronimo.system.plugin.CopyConfigTest Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.368 sec FAILURE! Running org.apache.geronimo.system.plugin.CopyFileTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec Running org.apache.geronimo.system.plugin.PluginInstallerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec Results : Failed tests: testCopyConfig(org.apache.geronimo.system.plugin.CopyConfigTest) Tests run: 10, Failures: 1, Errors: 0, Skipped: 0 [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. [INFO] [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311
Re: Integrating Jetspeed with Geronimo
Hi Prasad, You've been busy here :-). Its great to see progress on integrating jetspeed. I couldn't get it to work as well as you did and made a few changes: 1. update to released jetspeed 2.1.3 2. use the derby datasource in the JetspeedSeriaiizerGBean (this required adjusting the gbean startup order so it starts after the tomcat web app context, thus after spring is initialized) 3. add a simple tomcat assembly including jetspeed so its easy to see what we get :-). For me the server starts up without apparent errors. When I visit http://localhost:8080/jetspeed/portal/ the browser shows: Failed to retrieve Portlet Definition for jetspeed- layouts::VelocityTwoColumns and I get stuff like this on the console: 00:16:10,306 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::LocaleSelector 00:16:10,318 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::LoginPortlet 00:16:10,323 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::ForgottenPasswordPortlet 00:16:10,326 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::UserRegistrationPortlet 00:16:10,328 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::WeatherPortlet 00:16:10,331 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::PickANumberPortlet 00:16:10,333 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::RoleSecurityTest 00:16:10,336 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::IFramePortlet 00:16:10,339 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::IFramePortlet 00:16:10,341 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::UserInfoTest 00:16:10,343 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::BookmarkPortlet 00:16:10,344 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for jetspeed-layouts::VelocityTwoColumns 00:16:10,347 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::LocaleSelector 00:16:10,349 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::LoginPortlet 00:16:10,351 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::ForgottenPasswordPortlet 00:16:10,355 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::UserRegistrationPortlet 00:16:10,358 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::WeatherPortlet 00:16:10,363 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::PickANumberPortlet 00:16:10,371 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::RoleSecurityTest 00:16:10,376 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::IFramePortlet 00:16:10,381 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::IFramePortlet 00:16:10,383 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::UserInfoTest 00:16:10,386 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::BookmarkPortlet 00:16:10,390 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::LocaleSelector 00:16:10,421 WARN [JetspeedPortletContainerWrapper] Could not render PortletWindowdp-3 as it has no PortletDefintion defined. 00:16:10,427 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::LoginPortlet 00:16:10,429 WARN [JetspeedPortletContainerWrapper] Could not render PortletWindowdp-12 as it has no PortletDefintion defined. 00:16:10,446 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::ForgottenPasswordPortlet 00:16:10,455 WARN [JetspeedPortletContainerWrapper] Could not render PortletWindowdp-22 as it has no PortletDefintion defined. 00:16:10,456 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for j2-admin::UserRegistrationPortlet 00:16:10,458 WARN [JetspeedPortletContainerWrapper] Could not render PortletWindowdp-23 as it has no PortletDefintion defined. 00:16:10,461 WARN [PersistenceBrokerPortletEntityAccess] Failed to retrieve Portlet Definition for demo::WeatherPortlet 00:16:10,463 WARN [JetspeedPortletContainerWrapper] Could not render PortletWindowdp-24 as it has no PortletDefintion defined. 00:16:10,464 WARN
Re: Could not scan module for TLD files: Filename too long
I have not done a build recently but expect to see this error. IIUC, The following jar will be scanned for tlds. This name is 256+14 chars long. The old name, without 'console', was shorter by 3x7. Thanks Anita D:\SVN\G\server\trunk\plugins\system-database\system-database-console-tomcat\target\repository\org\apache\geronimo\plugins\system-database-console-tomcat-\2.1-SNAPSHOT\system-database-console-tomcat-2.1-SNAPSHOT.car\WEB-INF\lib\system-database-portlet-2.1-SNAPSHOT.jar --- Tim McConnell [EMAIL PROTECTED] wrote: Hi, is anyone else getting this error when building trunk on Windows ?? And what if anything can be done to get past the problem ?? It's not obvious to me which file it is complaining about. [INFO] [INFO] Building Geronimo Plugins :: System Database - Jetty [INFO]task-segment: [install] [INFO] [INFO] [enforcer:enforce {execution: default}] [INFO] [tools:copy-legal-files {execution: install-legal-files}] [INFO] Created dir: D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\classes\META-INF [INFO] Copying 2 files to D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\classes\META-INF [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [car:validate-configuration] [INFO] [car:prepare-plan] [INFO] Generated: D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\resources\META-INF\plan.xml [INFO] [car:prepare-metadata] [INFO] [car:package] [INFO] Packaging module configuration: D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\resources\META-INF\plan.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Could not scan module for TLD files: org.apache.geronimo.plugins/system-database-console-jetty/2.1-SNAPSHOT/car Filename too long -- Thanks, Tim McConnell Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: Could not scan module for TLD files: Filename too long
That's Anita, I've disabled TLD scanning for the time being just to get past the problem. Anita Kulshreshtha wrote: I have not done a build recently but expect to see this error. IIUC, The following jar will be scanned for tlds. This name is 256+14 chars long. The old name, without 'console', was shorter by 3x7. Thanks Anita D:\SVN\G\server\trunk\plugins\system-database\system-database-console-tomcat\target\repository\org\apache\geronimo\plugins\system-database-console-tomcat-\2.1-SNAPSHOT\system-database-console-tomcat-2.1-SNAPSHOT.car\WEB-INF\lib\system-database-portlet-2.1-SNAPSHOT.jar --- Tim McConnell [EMAIL PROTECTED] wrote: Hi, is anyone else getting this error when building trunk on Windows ?? And what if anything can be done to get past the problem ?? It's not obvious to me which file it is complaining about. [INFO] [INFO] Building Geronimo Plugins :: System Database - Jetty [INFO]task-segment: [install] [INFO] [INFO] [enforcer:enforce {execution: default}] [INFO] [tools:copy-legal-files {execution: install-legal-files}] [INFO] Created dir: D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\classes\META-INF [INFO] Copying 2 files to D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\classes\META-INF [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [car:validate-configuration] [INFO] [car:prepare-plan] [INFO] Generated: D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\resources\META-INF\plan.xml [INFO] [car:prepare-metadata] [INFO] [car:package] [INFO] Packaging module configuration: D:\SVN\G\server\trunk\plugins\system-database\system-database-console-jetty\target\resources\META-INF\plan.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Could not scan module for TLD files: org.apache.geronimo.plugins/system-database-console-jetty/2.1-SNAPSHOT/car Filename too long -- Thanks, Tim McConnell Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- Thanks, Tim McConnell