tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samwun9988 <leiwun2...@gmail.com>
Subject Re: Can't invoke web service
Date Tue, 13 Sep 2011 06:45:42 GMT
and here is the error:


Romain Manni-Bucau wrote:
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.superbiz.calculator.CalculatorTest
> Apache OpenEJB 4.0.0-SNAPSHOT    build: 20110911-12:59
> http://openejb.apache.org/
> INFO - openejb.home = C:\work\test2\simple-webservice
> INFO - openejb.base = C:\work\test2\simple-webservice
> INFO - Configuring Service(id=Default Security Service,
> type=SecurityService, provider-id=Default Security Service)
> INFO - Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> INFO - Found EjbModule in classpath:
> C:\work\test2\simple-webservice\target\test-classes
> INFO - Found EjbModule in classpath:
> C:\work\test2\simple-webservice\target\classes
> INFO - Searched 11 classpath urls in 1545 milliseconds.  Average 140
> milliseconds per url.
> INFO - Beginning load: C:\work\test2\simple-webservice\target\test-classes
> INFO - Beginning load: C:\work\test2\simple-webservice\target\classes
> INFO - Configuring enterprise application:
> C:\work\test2\simple-webservice\classpath.ear
> INFO - Configuring Service(id=Default Stateless Container, type=Container,
> provider-id=Default Stateless Container)
> INFO - Auto-creating a container for bean CategoryManagerImpl:
> Container(type=STATELESS, id=Default Stateless Container)
> INFO - Enterprise application
> "C:\work\test2\simple-webservice\classpath.ear" loaded.
> INFO - Assembling app: C:\work\test2\simple-webservice\classpath.ear
> INFO - Jndi(name=CategoryManagerImplLocal) -->
> Ejb(deployment-id=CategoryManagerImpl)
> INFO -
> Jndi(name=global/classpath.ear/simple-webservice/CategoryManagerImpl!org.superbiz.calculator.CategoryManagerLocal)
> --> Ejb(deployment-id=CategoryManagerImpl)
> INFO -
> Jndi(name=global/classpath.ear/simple-webservice/CategoryManagerImpl) -->
> Ejb(deployment-id=CategoryManagerImpl)
> INFO - Jndi(name=CalculatorImplLocal) -->
> Ejb(deployment-id=CalculatorImpl)
> INFO -
> Jndi(name=global/classpath.ear/simple-webservice/CalculatorImpl!org.superbiz.calculator.CalculatorLocal)
> --> Ejb(deployment-id=CalculatorImpl)
> INFO - Jndi(name=global/classpath.ear/simple-webservice/CalculatorImpl)
> --> Ejb(deployment-id=CalculatorImpl)
> INFO - Created Ejb(deployment-id=CalculatorImpl, ejb-name=CalculatorImpl,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=CategoryManagerImpl,
> ejb-name=CategoryManagerImpl, container=Default Stateless Container)
> INFO - Started Ejb(deployment-id=CalculatorImpl, ejb-name=CalculatorImpl,
> container=Default Stateless Container)
> INFO - Started Ejb(deployment-id=CategoryManagerImpl,
> ejb-name=CategoryManagerImpl, container=Default Stateless Container)
> INFO - LocalClient(class=org.superbiz.calculator.CalculatorTest,
> module=test-classes) 
> INFO - Deployed
> Application(path=C:\work\test2\simple-webservice\classpath.ear)
> INFO - Initializing network services
> INFO - Creating ServerService(id=httpejbd)
> INFO - Creating ServerService(id=cxf)
> INFO - Creating ServerService(id=admin)
> INFO - Creating ServerService(id=ejbd)
> INFO - Creating ServerService(id=ejbds)
> INFO - Initializing network services
>   ** Starting Services **
>   NAME                 IP              PORT  
>   httpejbd             127.0.0.1       4204  
>   admin thread         127.0.0.1       4200  
>   ejbd                 127.0.0.1       4201  
>   ejbd                 127.0.0.1       4203  
> -------
> Ready!
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.775 sec
> <<< FAILURE!
> 
> Results :
> 
> Tests in error: 
>  
> testCategoryManagerViaRemoteInterface(org.superbiz.calculator.CalculatorTest):
> org.apache.cxf.service.factory.ServiceConstructionException: Failed to
> create service.
> 
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14.683s
> [INFO] Finished at: Tue Sep 13 11:17:10 EST 2011
> [INFO] Final Memory: 21M/127M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test)
> on project simple-webservice: There are test failures.
> [ERROR] 
> [ERROR] Please refer to
> C:\work\test2\simple-webservice\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
> 
> 
> 


--
View this message in context: http://openejb.979440.n4.nabble.com/Can-t-invoke-web-service-tp3804670p3809310.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message