-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It just worked for me.   You can get these sorts of errors if you try running 
"mvn install" after you have started the server with "mvn cargo:start".  If 
this is the case, then in your mvn output, you would see messages like this.

Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "11111" (port 
may be in use), cause: "java.net.BindException: Address already in use" 
[90061-154]


So make sure cargo isn't running and port 11111 is open.  If this isn't the 
problem, please post the mvn output.


Marlon



On 6/7/11 12:24 PM, Rodrigo Illera Camargo wrote:
> Hello
> 
> I checked out Apache Rave yesterday, June 6th 2011. I have problems in 
> building Rave with Maven. It successfully builds Rave-Master, but when I 
> execute "mvn install" in Rave's root directory it ends with
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Rave :: rave-project ....................... SUCCESS [2.016s]
> [INFO] Apache Rave :: rave-shindig ....................... SUCCESS [14.355s]
> [INFO] Apache Rave :: rave-portal ........................ FAILURE [19.760s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 36.507s
> [INFO] Finished at: Tue Jun 07 16:29:51 CEST 2011
> [INFO] Final Memory: 46M/110M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on 
> project rave-portal: There are test failures.
> [ERROR]
> [ERROR] Please refer to 
> /home/germinus/rave/rave-portal/target/surefire-reports for the individual 
> test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :rave-portal
> 
> When I open the surefire-reports directory:
> 
> germinus@omelette:~/rave/rave-portal/target/surefire-reports$ ls -ltr | grep 
> txt
> *-rw-r--r-- 1 germinus germinus  6901 jun  7 14:29 
> org.apache.rave.portal.repository.JpaUserRepositoryTest.txt
> -rw-r--r-- 1 germinus germinus  6924 jun  7 14:29 
> org.apache.rave.portal.repository.JpaPageRepositoryTest.txt*
> -rw-r--r-- 1 germinus germinus   285 jun  7 14:29 
> org.apache.rave.util.CollectionUtilsTest.txt
> -rw-r--r-- 1 germinus germinus   308 jun  7 14:29 
> org.apache.rave.provider.w3c.web.renderer.W3cWidgetRendererTest.txt
> -rw-r--r-- 1 germinus germinus   322 jun  7 14:29 
> org.apache.rave.provider.opensocial.web.renderer.OpenSocialWidgetRendererTest.txt
> -rw-r--r-- 1 germinus germinus   310 jun  7 14:29 
> org.apache.rave.provider.opensocial.service.OpenSocialServiceTest.txt
> -rw-r--r-- 1 germinus germinus   327 jun  7 14:29 
> org.apache.rave.provider.opensocial.repository.ShindigGadgetMetadataRepositoryTest.txt
> -rw-r--r-- 1 germinus germinus   295 jun  7 14:29 
> org.apache.rave.portal.web.tag.RegionWidgetTagTest.txt
> -rw-r--r-- 1 germinus germinus   298 jun  7 14:29 
> org.apache.rave.portal.web.renderer.RenderServiceTest.txt
> -rw-r--r-- 1 germinus germinus   309 jun  7 14:29 
> org.apache.rave.portal.web.renderer.RenderServiceIntegrationTest.txt
> -rw-r--r-- 1 germinus germinus   308 jun  7 14:29 
> org.apache.rave.portal.web.controller.WidgetStoreControllerTest.txt
> -rw-r--r-- 1 germinus germinus   301 jun  7 14:29 
> org.apache.rave.portal.web.controller.HomeControllerTest.txt
> -rw-r--r-- 1 germinus germinus   291 jun  7 14:29 
> org.apache.rave.portal.web.api.rpc.PageApiTest.txt
> -rw-r--r-- 1 germinus germinus   299 jun  7 14:29 
> org.apache.rave.portal.web.api.rpc.model.RpcResultTest.txt
> -rw-r--r-- 1 germinus germinus   302 jun  7 14:29 
> org.apache.rave.portal.web.api.rpc.model.RpcOperationTest.txt
> -rw-r--r-- 1 germinus germinus   294 jun  7 14:29 
> org.apache.rave.portal.web.api.rest.WidgetApiTest.txt
> -rw-r--r-- 1 germinus germinus   300 jun  7 14:29 
> org.apache.rave.portal.web.api.rest.RegionWidgetApiTest.txt
> -rw-r--r-- 1 germinus germinus   294 jun  7 14:29 
> org.apache.rave.portal.util.LocalizationUtilsTest.txt
> -rw-r--r-- 1 germinus germinus   293 jun  7 14:29 
> org.apache.rave.portal.service.WidgetServiceTest.txt
> -rw-r--r-- 1 germinus germinus   291 jun  7 14:29 
> org.apache.rave.portal.service.UserServiceTest.txt
> -rw-r--r-- 1 germinus germinus   299 jun  7 14:29 
> org.apache.rave.portal.service.RegionWidgetServiceTest.txt
> -rw-r--r-- 1 germinus germinus   292 jun  7 14:29 
> org.apache.rave.portal.service.PageServiceTest.txt
> *-rw-r--r-- 1 germinus germinus  6892 jun  7 14:29 
> org.apache.rave.portal.repository.JpaWidgetRepositoryTest.txt
> -rw-r--r-- 1 germinus germinus 16013 jun  7 14:29 
> org.apache.rave.portal.repository.JpaRegionWidgetRepositoryTest.txt
> -rw-r--r-- 1 germinus germinus 16205 jun  7 14:29 
> org.apache.rave.portal.repository.JpaRegionRepositoryTest.txt*
> -rw-r--r-- 1 germinus germinus   300 jun  7 14:29 
> org.apache.rave.portal.repository.impl.util.JpaUtilTest.txt
> -rw-r--r-- 1 germinus germinus   293 jun  7 14:29 
> org.apache.rave.portal.model.util.ModelUtilsTest.txt
> -rw-r--r-- 1 germinus germinus   302 jun  7 14:29 
> org.apache.rave.portal.model.util.InternationalStringTest.txt
> -rw-r--r-- 1 germinus germinus   282 jun  7 14:29 
> org.apache.rave.portal.model.UserTest.txt
> -rw-r--r-- 1 germinus germinus   282 jun  7 14:29 
> org.apache.rave.portal.model.PageTest.txt
> -rw-r--r-- 1 germinus germinus   296 jun  7 14:29 
> org.apache.rave.exception.NotSupportedExceptionTest.txt
> 
> So it seems some kind of test failure in the 
> *org.apache.rave.portal.repository* package. Anyway, I tried to run a local 
> Tomcat instance by executing "$mvn cargo:start" in rave-portal directory and 
> it seems that *rave-portal-0.1-incubating-SNAPSHOT.war* could not be created.
> 
> Unfortunately, I am not familiar enough with Maven nor Rave to ascertain 
> where the exact problem. If you have any idea please let me know.
> 
> Best regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN7ld+AAoJEEfVXEODPFIDGp8H/3JQ0K2uG8Q3i/rxAT+w4cxw
yRRFP3eFDhEO9fGkVyppPdbk5g8rWpHEFvcy3Z+11GsEm4RL7Pp2TBARQ1eEbpgb
aXMj/D0OA/urmRJ49f9AE33SAVCpZW7R1U1Ko6Kbju2kOWD+FfRI6wCENNFFXdVF
nY3yiPiaBxn2ngAY8LvbxY/zfvk50AADuMmw9jgaBKdh/F1RmnqGwnfWMiA+7ilW
mWB8GXFW17TEFz99bjFfX1FiruBDCMZgKVAHIvvWi8YhkWFzMwTa/BVaESX2GZ0w
MdcF58bmkJ81MSHzK6bnLF/YtW/Ae0KpXBZlXaP2avZi8+uculozGfPqvw2yvdA=
=LMa/
-----END PGP SIGNATURE-----

Reply via email to