Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spanners Spring-WS Demo Application compilation failure #2

Closed
mickysantomax opened this issue Jul 16, 2014 · 2 comments
Closed

Spanners Spring-WS Demo Application compilation failure #2

mickysantomax opened this issue Jul 16, 2014 · 2 comments

Comments

@mickysantomax
Copy link

Hi all,
when I try to execute mvn clean install I get the following error:

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Spanners Spring-WS Demo Application 2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spanners demo applications ........................ SUCCESS [0.347s]
[INFO] Spanners database module .......................... SUCCESS [5.035s]
[INFO] Spanners Spring-WS Demo Application ............... FAILURE [0.220s]
[INFO] Spanners Struts Demo Application .................. SKIPPED
[INFO] Spanners Spring MVC Demo Application .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.800s
[INFO] Finished at: Wed Jul 16 19:02:06 CEST 2014
[INFO] Final Memory: 21M/231M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spanners-ws: Could not resolve dependencies for project org.dontpanic:spanners-ws:war:2.7-SNAPSHOT: Failure to find javax.activation:activation:jar:1.0.2 in http://maven.springframework.org/milestone was cached in the local repository, resolution will not be reattempted until the update interval of com.springsource.repository.maven.milestone has elapsed or updates are forced

Can anyone help me ?

@hotblac
Copy link
Owner

hotblac commented Jul 22, 2014

Looks like that version of activation is no longer available in the Maven Central repo. As a workaround, I've dependency managed this up to a later version. Please grab the latest version of the code for this fix.
I've tested this against a clean local repository and the whole spanners project now builds from scratch.

@hotblac hotblac closed this as completed Jul 22, 2014
@mickysantomax
Copy link
Author

In my case still some errors. Seems that there is a Exception in request: java.net.ConnectException: Connection refused during tests. Below the complete terminal output

MacBook-Pro-di-Michele:spanners michele$ mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Spanners demo applications
[INFO] Spanners database module
[INFO] Spanners Spring-WS Demo Application
[INFO] Spanners Struts Demo Application
[INFO] Spanners Spring MVC Demo Application
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Spanners demo applications 2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ spanners-pom ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ spanners-pom ---
[INFO] Installing /Data/lavoro/git/icarlab/spanners/pom.xml to /Users/michele/.m2/repository/org/dontpanic/spanners-pom/2.7-SNAPSHOT/spanners-pom-2.7-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Spanners database module 2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ spanners-dao ---
[INFO] Deleting /Data/lavoro/git/icarlab/spanners/spanners-dao/target
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ spanners-dao ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ spanners-dao ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 4 source files to /Data/lavoro/git/icarlab/spanners/spanners-dao/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ spanners-dao ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ spanners-dao ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /Data/lavoro/git/icarlab/spanners/spanners-dao/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ spanners-dao ---
[INFO] Surefire report directory: /Data/lavoro/git/icarlab/spanners/spanners-dao/target/surefire-reports


T E S T S

Running org.dontpanic.spanners.dao.SpannersSecurityTest
lug 26, 2014 10:41:15 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMAZIONI: Loading XML bean definitions from class path resource [spring-hibernate.xml]
lug 26, 2014 10:41:16 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMAZIONI: Loading XML bean definitions from class path resource [spring-test-dataSources.xml]
lug 26, 2014 10:41:16 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMAZIONI: Loading XML bean definitions from class path resource [spring-test-security.xml]
lug 26, 2014 10:41:16 AM org.springframework.security.core.SpringSecurityCoreVersion
INFORMAZIONI: You are running with Spring Security Core 3.1.3.RELEASE
lug 26, 2014 10:41:16 AM org.springframework.security.config.SecurityNamespaceHandler
INFORMAZIONI: Spring Security 'config' module version is 3.1.3.RELEASE
lug 26, 2014 10:41:16 AM org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser parse
INFORMAZIONI: Using bean 'expressionHandler' as method ExpressionHandler implementation
lug 26, 2014 10:41:16 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFORMAZIONI: Refreshing org.springframework.context.support.GenericApplicationContext@58c1beab: startup date [Sat Jul 26 10:41:16 CEST 2014]; root of context hierarchy
lug 26, 2014 10:41:16 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFORMAZIONI: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6e825e02: defining beans [spannersDAO,sessionFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,transactionManager,transactionAdvice,spannersDS,hibernateProperties,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,expressionHandler,spannerPermissionEvaluator,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
lug 26, 2014 10:41:16 AM org.hibernate.annotations.common.Version
INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
lug 26, 2014 10:41:16 AM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {4.1.3.Final}
lug 26, 2014 10:41:16 AM org.hibernate.cfg.Environment
INFO: HHH000206: hibernate.properties not found
lug 26, 2014 10:41:16 AM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
lug 26, 2014 10:41:17 AM org.hibernate.dialect.Dialect
INFO: HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
lug 26, 2014 10:41:17 AM org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreation
INFO: HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
lug 26, 2014 10:41:17 AM org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService
INFO: HHH000399: Using default transaction strategy (direct JDBC transactions)
lug 26, 2014 10:41:17 AM org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory
INFO: HHH000397: Using ASTQueryTranslatorFactory
lug 26, 2014 10:41:17 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: HHH000227: Running hbm2ddl schema export
Hibernate: drop table spanner if exists
Hibernate: create table spanner (id integer generated by default as identity (start with 1), name varchar(255), size integer, owner varchar(255), primary key (id), unique (name))
lug 26, 2014 10:41:17 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: HHH000230: Schema export complete
lug 26, 2014 10:41:17 AM org.springframework.orm.hibernate4.HibernateTransactionManager afterPropertiesSet
INFORMAZIONI: Using DataSource [org.apache.commons.dbcp.BasicDataSource@2e7c107b] of Hibernate SessionFactory for HibernateTransactionManager
Hibernate: select spanner0_.id as id0_0_, spanner0_.name as name0_0_, spanner0_.size as size0_0_, spanner0_.owner as owner0_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: select this_.id as id0_0_, this_.name as name0_0_, this_.size as size0_0_, this_.owner as owner0_0_ from spanner this_ order by this_.id asc
Hibernate: insert into spanner (id, name, size, owner) values (default, ?, ?, ?)
Hibernate: update spanner set name=?, size=?, owner=? where id=?
Hibernate: delete from spanner where id=?
Hibernate: insert into spanner (id, name, size, owner) values (default, ?, ?, ?)
Hibernate: select spanner0_.id as id0_0_, spanner0_.name as name0_0_, spanner0_.size as size0_0_, spanner0_.owner as owner0_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: update spanner set name=?, size=?, owner=? where id=?
Hibernate: delete from spanner where id=?
Hibernate: select spanner0_.id as id0_0_, spanner0_.name as name0_0_, spanner0_.size as size0_0_, spanner0_.owner as owner0_0_ from spanner spanner0_ where spanner0_.id=?
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.375 sec
Running org.dontpanic.spanners.dao.SpannersTest
lug 26, 2014 10:41:17 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMAZIONI: Loading XML bean definitions from class path resource [spring-hibernate.xml]
lug 26, 2014 10:41:17 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMAZIONI: Loading XML bean definitions from class path resource [spring-test-dataSources.xml]
lug 26, 2014 10:41:18 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFORMAZIONI: Refreshing org.springframework.context.support.GenericApplicationContext@778c632d: startup date [Sat Jul 26 10:41:18 CEST 2014]; root of context hierarchy
lug 26, 2014 10:41:18 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFORMAZIONI: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@652acafc: defining beans [spannersDAO,sessionFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,transactionManager,transactionAdvice,spannersDS,hibernateProperties,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
lug 26, 2014 10:41:18 AM org.hibernate.dialect.Dialect
INFO: HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
lug 26, 2014 10:41:18 AM org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreation
INFO: HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
lug 26, 2014 10:41:18 AM org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService
INFO: HHH000399: Using default transaction strategy (direct JDBC transactions)
lug 26, 2014 10:41:18 AM org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory
INFO: HHH000397: Using ASTQueryTranslatorFactory
lug 26, 2014 10:41:18 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: HHH000227: Running hbm2ddl schema export
Hibernate: drop table spanner if exists
Hibernate: create table spanner (id integer generated by default as identity (start with 1), name varchar(255), size integer, owner varchar(255), primary key (id), unique (name))
lug 26, 2014 10:41:18 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: HHH000230: Schema export complete
lug 26, 2014 10:41:18 AM org.springframework.orm.hibernate4.HibernateTransactionManager afterPropertiesSet
INFORMAZIONI: Using DataSource [org.apache.commons.dbcp.BasicDataSource@64b8fc95] of Hibernate SessionFactory for HibernateTransactionManager
Hibernate: select spanner0_.id as id2_0_, spanner0_.name as name2_0_, spanner0_.size as size2_0_, spanner0_.owner as owner2_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: select this_.id as id2_0_, this_.name as name2_0_, this_.size as size2_0_, this_.owner as owner2_0_ from spanner this_ order by this_.id asc
Hibernate: insert into spanner (id, name, size, owner) values (default, ?, ?, ?)
Hibernate: select spanner0_.id as id2_0_, spanner0_.name as name2_0_, spanner0_.size as size2_0_, spanner0_.owner as owner2_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: select spanner0_.id as id2_0_, spanner0_.name as name2_0_, spanner0_.size as size2_0_, spanner0_.owner as owner2_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: insert into spanner (id, name, size, owner) values (default, ?, ?, ?)
lug 26, 2014 10:41:18 AM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
WARN: SQL Error: -104, SQLState: 23505
lug 26, 2014 10:41:18 AM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
ERROR: integrity constraint violation: unique constraint or index violation; SYS_CT_10038 table: SPANNER
Hibernate: select spanner0_.id as id2_0_, spanner0_.name as name2_0_, spanner0_.size as size2_0_, spanner0_.owner as owner2_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: select spanner0_.id as id2_0_, spanner0_.name as name2_0_, spanner0_.size as size2_0_, spanner0_.owner as owner2_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: update spanner set name=?, size=?, owner=? where id=?
Hibernate: select spanner0_.id as id2_0_, spanner0_.name as name2_0_, spanner0_.size as size2_0_, spanner0_.owner as owner2_0_ from spanner spanner0_ where spanner0_.id=?
Hibernate: select this_.id as id2_0_, this_.name as name2_0_, this_.size as size2_0_, this_.owner as owner2_0_ from spanner this_ order by this_.id asc
Hibernate: delete from spanner where id=?
Hibernate: select this_.id as id2_0_, this_.name as name2_0_, this_.size as size2_0_, this_.owner as owner2_0_ from spanner this_ order by this_.id asc
Hibernate: delete from spanner where id=?
Hibernate: select this_.id as id2_0_, this_.name as name2_0_, this_.size as size2_0_, this_.owner as owner2_0_ from spanner this_ order by this_.id asc
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.254 sec

Results :

Tests run: 12, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ spanners-dao ---
[INFO] Building jar: /Data/lavoro/git/icarlab/spanners/spanners-dao/target/spanners-dao-2.7-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ spanners-dao ---
[INFO] Installing /Data/lavoro/git/icarlab/spanners/spanners-dao/target/spanners-dao-2.7-SNAPSHOT.jar to /Users/michele/.m2/repository/org/dontpanic/spanners-dao/2.7-SNAPSHOT/spanners-dao-2.7-SNAPSHOT.jar
[INFO] Installing /Data/lavoro/git/icarlab/spanners/spanners-dao/pom.xml to /Users/michele/.m2/repository/org/dontpanic/spanners-dao/2.7-SNAPSHOT/spanners-dao-2.7-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Spanners Spring-WS Demo Application 2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ spanners-ws ---
[INFO] Deleting /Data/lavoro/git/icarlab/spanners/spanners-ws/target
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ spanners-ws ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Data/lavoro/git/icarlab/spanners/spanners-ws/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ spanners-ws ---
[INFO] Compiling 1 source file to /Data/lavoro/git/icarlab/spanners/spanners-ws/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ spanners-ws ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ spanners-ws ---
[INFO] Compiling 1 source file to /Data/lavoro/git/icarlab/spanners/spanners-ws/target/test-classes
[INFO]
[INFO] >>> jetty-maven-plugin:7.2.2.v20101205:run (start-jetty) @ spanners-ws >>>
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ spanners-ws ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Data/lavoro/git/icarlab/spanners/spanners-ws/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ spanners-ws ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ spanners-ws ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ spanners-ws ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< jetty-maven-plugin:7.2.2.v20101205:run (start-jetty) @ spanners-ws <<<
[INFO]
[INFO] --- jetty-maven-plugin:7.2.2.v20101205:run (start-jetty) @ spanners-ws ---
[INFO] Configuring Jetty for project: Spanners Spring-WS Demo Application
[INFO] webAppSourceDirectory /Data/lavoro/git/icarlab/spanners/spanners-ws/src/main/webapp does not exist. Defaulting to /Data/lavoro/git/icarlab/spanners/spanners-ws/src/main/webapp
[INFO] Reload Mechanic: manual
[INFO] Classes = /Data/lavoro/git/icarlab/spanners/spanners-ws/target/classes
[INFO] Context path = /
[INFO] Tmp directory = /Data/lavoro/git/icarlab/spanners/spanners-ws/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = /Data/lavoro/git/icarlab/spanners/spanners-ws/src/test/web.xml
[INFO] Webapp directory = /Data/lavoro/git/icarlab/spanners/spanners-ws/src/main/webapp
[INFO] Starting jetty 7.2.2.v20101205 ...
2014-07-26 10:41:19.947:INFO::jetty-7.2.2.v20101205
2014-07-26 10:41:20.865:INFO::No Transaction manager found - if your webapp requires one, please configure one.
2014-07-26 10:41:20.952:INFO:/:Initializing Spring root WebApplicationContext
lug 26, 2014 10:41:20 AM org.springframework.web.context.ContextLoader initWebApplicationContext
INFORMAZIONI: Root WebApplicationContext: initialization started
lug 26, 2014 10:41:21 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFORMAZIONI: Refreshing Root WebApplicationContext: startup date [Sat Jul 26 10:41:21 CEST 2014]; root of context hierarchy
lug 26, 2014 10:41:21 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMAZIONI: Loading XML bean definitions from class path resource [spring-test-dao.xml]
lug 26, 2014 10:41:21 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFORMAZIONI: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@296bfd4: defining beans [spannersDAO]; root of factory hierarchy
lug 26, 2014 10:41:21 AM org.springframework.web.context.ContextLoader initWebApplicationContext
INFORMAZIONI: Root WebApplicationContext: initialization completed in 394 ms
2014-07-26 10:41:21.429:INFO::Started SelectChannelConnector@0.0.0.0:8888
[INFO] Started Jetty Server
[INFO] Console reloading is ENABLED. Hit ENTER on the console to restart the context.
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ spanners-ws ---
[INFO] Surefire report directory: /Data/lavoro/git/icarlab/spanners/spanners-ws/target/surefire-reports


T E S T S

There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-soapui-plugin:3.6.1:test (soapui-test) @ spanners-ws ---
soapUI 3.6 Maven2 TestCase Runner
10:41:22,163 WARN [DefaultSoapUICore] Missing folder [/Data/lavoro/git/icarlab/spanners/./ext] for external libraries
10:41:22,330 INFO [DefaultSoapUICore] initialized soapui-settings from [/Users/michele/soapui-settings.xml]
10:41:22,823 INFO [WsdlProject] Loaded project from [file:/Data/lavoro/git/icarlab/spanners/spanners-ws/src/test/spannersws-soapui-project.xml]
10:41:23,103 INFO [SoapUITestCaseRunner] Running soapUI tests in project [spannersws]
10:41:23,104 INFO [SoapUITestCaseRunner] Running Project [spannersws], runType = SEQUENTIAL
10:41:23,140 INFO [SoapUITestCaseRunner] Running soapUI testcase [GetSpanner Success]
10:41:23,150 INFO [SoapUITestCaseRunner] running step [GetSpanner]
10:41:23,937 ERROR [WsdlSubmit] Exception in request: java.net.ConnectException: Connection refused
10:41:23,937 ERROR [SoapUI] An error occured [Connection refused], see error log for details
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:280)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(SoapUIMultiThreadedHttpConnectionManager.java:1666)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:194)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:236)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:324)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:207)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:138)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
10:41:23,943 INFO [SoapUITestCaseRunner] Assertion [Not SOAP Fault] has status UNKNOWN
10:41:23,943 INFO [SoapUITestCaseRunner] Assertion [SOAP Response] has status UNKNOWN
10:41:23,943 INFO [SoapUITestCaseRunner] Assertion [WS-Security Status] has status UNKNOWN
10:41:23,943 INFO [SoapUITestCaseRunner] Assertion [XPath Match: id] has status UNKNOWN
10:41:23,943 INFO [SoapUITestCaseRunner] Assertion [XPath Match: size] has status UNKNOWN
10:41:23,943 INFO [SoapUITestCaseRunner] Assertion [XPath Match: name] has status UNKNOWN
10:41:23,943 INFO [SoapUITestCaseRunner] Assertion [Schema Compliance] has status UNKNOWN
10:41:23,944 ERROR [SoapUITestCaseRunner] GetSpanner failed, exporting to [/Data/lavoro/git/icarlab/spanners/spanners-ws/target/soapui-test/GetSpanner-GetSpanner_Success-GetSpanner-0-FAILED.txt]
10:41:23,946 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [GetSpanner Success], time taken: 785ms, status: FAILED
10:41:23,946 INFO [SoapUITestCaseRunner] Running soapUI testcase [GetSpanner NoSecurityHeader]
10:41:23,947 INFO [SoapUITestCaseRunner] running step [GetSpanner]
10:41:23,949 ERROR [WsdlSubmit] Exception in request: java.net.ConnectException: Connection refused
10:41:23,949 ERROR [SoapUI] An error occured [Connection refused], see error log for details
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:280)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(SoapUIMultiThreadedHttpConnectionManager.java:1666)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:194)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:236)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:324)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:207)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:138)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
10:41:23,950 INFO [SoapUITestCaseRunner] Assertion [SOAP Response] has status UNKNOWN
10:41:23,951 INFO [SoapUITestCaseRunner] Assertion [SOAP Fault] has status UNKNOWN
10:41:23,951 INFO [SoapUITestCaseRunner] Assertion [XPath Match] has status UNKNOWN
10:41:23,951 ERROR [SoapUITestCaseRunner] GetSpanner failed, exporting to [/Data/lavoro/git/icarlab/spanners/spanners-ws/target/soapui-test/GetSpanner-GetSpanner_NoSecurityHeader-GetSpanner-0-FAILED.txt]
10:41:23,952 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [GetSpanner NoSecurityHeader], time taken: 3ms, status: FAILED
10:41:23,952 INFO [SoapUITestCaseRunner] Running soapUI testcase [GetSpanner NoSignature]
10:41:23,953 INFO [SoapUITestCaseRunner] running step [GetSpanner]
10:41:23,965 ERROR [WsdlSubmit] Exception in request: java.net.ConnectException: Connection refused
10:41:23,965 ERROR [SoapUI] An error occured [Connection refused], see error log for details
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:280)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(SoapUIMultiThreadedHttpConnectionManager.java:1666)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:194)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:236)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:324)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:207)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:138)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
10:41:23,966 INFO [SoapUITestCaseRunner] Assertion [SOAP Response] has status UNKNOWN
10:41:23,966 INFO [SoapUITestCaseRunner] Assertion [SOAP Fault] has status UNKNOWN
10:41:23,967 INFO [SoapUITestCaseRunner] Assertion [XPath Match] has status UNKNOWN
10:41:23,967 ERROR [SoapUITestCaseRunner] GetSpanner failed, exporting to [/Data/lavoro/git/icarlab/spanners/spanners-ws/target/soapui-test/GetSpanner-GetSpanner_NoSignature-GetSpanner-0-FAILED.txt]
10:41:23,968 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [GetSpanner NoSignature], time taken: 13ms, status: FAILED
10:41:23,968 INFO [SoapUITestCaseRunner] Running soapUI testcase [GetSpanner InvalidSignature]
10:41:23,968 INFO [SoapUITestCaseRunner] running step [GetSpanner]
10:41:23,995 ERROR [WsdlSubmit] Exception in request: java.net.ConnectException: Connection refused
10:41:23,995 ERROR [SoapUI] An error occured [Connection refused], see error log for details
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:280)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(SoapUIMultiThreadedHttpConnectionManager.java:1666)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:194)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:236)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:324)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:207)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:138)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
10:41:23,996 INFO [SoapUITestCaseRunner] Assertion [SOAP Response] has status UNKNOWN
10:41:23,996 INFO [SoapUITestCaseRunner] Assertion [SOAP Fault] has status UNKNOWN
10:41:23,996 INFO [SoapUITestCaseRunner] Assertion [Contains] has status UNKNOWN
10:41:23,996 ERROR [SoapUITestCaseRunner] GetSpanner failed, exporting to [/Data/lavoro/git/icarlab/spanners/spanners-ws/target/soapui-test/GetSpanner-GetSpanner_InvalidSignature-GetSpanner-0-FAILED.txt]
10:41:23,998 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [GetSpanner InvalidSignature], time taken: 27ms, status: FAILED
10:41:23,998 INFO [SoapUITestCaseRunner] Project [spannersws] finished with status [FAILED] in 891ms

SoapUI 3.6 TestCaseRunner Summary

Time Taken: 895ms
Total TestSuites: 1
Total TestCases: 4 (4 failed)
Total TestSteps: 4
Total Request Assertions: 16
Total Failed Assertions: 0
Total Exported Results: 4
[ERROR] java.lang.Exception: TestCase [GetSpanner Success] failed without assertions
TestCase [GetSpanner NoSecurityHeader] failed without assertions
TestCase [GetSpanner NoSignature] failed without assertions
TestCase [GetSpanner InvalidSignature] failed without assertions

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spanners demo applications ........................ SUCCESS [0.322s]
[INFO] Spanners database module .......................... SUCCESS [4.749s]
[INFO] Spanners Spring-WS Demo Application ............... FAILURE [5.499s]
[INFO] Spanners Struts Demo Application .................. SKIPPED
[INFO] Spanners Spring MVC Demo Application .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.753s
[INFO] Finished at: Sat Jul 26 10:41:24 CEST 2014
[INFO] Final Memory: 56M/373M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal eviware:maven-soapui-plugin:3.6.1:test (soapui-test) on project spanners-ws: SoapUI Test(s) failed: SoapUI Test(s) failed:
[ERROR] TestCase [GetSpanner Success] failed without assertions
[ERROR] TestCase [GetSpanner NoSecurityHeader] failed without assertions
[ERROR] TestCase [GetSpanner NoSignature] failed without assertions
[ERROR] TestCase [GetSpanner InvalidSignature] failed without assertions
[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 -rf :spanners-ws
2014-07-26 10:41:24.772:INFO:/:Closing Spring root WebApplicationContext
MacBook-Pro-di-Michele:spanners michele$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants