AnsweredAssumed Answered

DemoComponentTest fails on SDK 2.2.0 all-in-one

Question asked by sorrentinov on May 6, 2016
Latest reply on May 9, 2016 by sorrentinov
Hi All,

I've setup my development environment from all-in-one configuration in Windows.
When execute mvn install I receive an error on TESTS:


2016-05-06 15:12:45,159 WARN  [org.alfresco.util.RuntimeSystemPropertiesSetter] [main] Could not find alfresco-jmxrmi.password on classpath
2016-05-06 15:12:45,251 INFO  [org.alfresco.repo.admin] [main] Using database URL 'jdbc:h2:C:\Projects\TEST\AlfrescoProjects\alfresco-5.1-extension\kon-connector/alf_data_dev/h2_data/alf_dev;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=FALSE;LOCK_MODE=0' with user 'alfresco'.
2016-05-06 15:13:15,030 WARN  [org.springframework.context.support.GenericApplicationContext] [main] Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomEditorConfigurer#0' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'customPropertyEditorRegistrar' while setting bean property 'propertyEditorRegistrars' with key [0]; ……..
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://192.168.99.1:51226)" (port may be in use), cause: "timeout; please check your network configuration, specially the file /etc/hosts" [90061-190]
   at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
   at org.h2.message.DbException.get(DbException.java:179)
   at org.h2.tools.Server.start(Server.java:498)
   at org.h2.engine.Database.startServer(Database.java:783)
   at org.h2.engine.Database.open(Database.java:639)
   at org.h2.engine.Database.openDatabase(Database.java:269)
   at org.h2.engine.Database.<init>(Database.java:263)
   at org.h2.engine.Engine.openSession(Engine.java:65)
   at org.h2.engine.Engine.openSession(Engine.java:175)
   at org.h2.engine.Engine.createSessionAndValidate(Engine.java:153)
   at org.h2.engine.Engine.createSession(Engine.java:136)
   at org.h2.engine.Engine.createSession(Engine.java:28)
   at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349)
   at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
   at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
   at org.h2.Driver.connect(Driver.java:72)
   at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
   at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
   at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
   at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
   … 158 more


Have you an idea of problem?
During the test I see that the port is open and telnet works fine

Regards
Vincenzo

Attachments

Outcomes