On Jul 3, 2008, at 4:20 AM, Mohammad Nour El-Din wrote:
Here it is Karan, this is the error extract only not the full build
log.
http://rifers.org/paste/show/7592
[INFO]
------------------------------------------------------------------------
[INFO] Building OpenEJB :: Examples :: Simple Webservice
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/mahmed/projects/oss/openejb/trunk/3.0/
openejb/examples/simple-webservice/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to /home/mahmed/projects/oss/openejb/
trunk/3.0/openejb/examples/simple-webservice/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to /home/mahmed/projects/oss/openejb/
trunk/3.0/openejb/examples/simple-webservice/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/mahmed/projects/oss/openejb/
trunk/3.0/openejb/examples/simple-webservice/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.1-SNAPSHOT build: 20080702-12:00
http://openejb.apache.org/
INFO - openejb.home = /home/mahmed/projects/oss/openejb/trunk/3.0/
openejb/examples/simple-webservice
INFO - openejb.base = /home/mahmed/projects/oss/openejb/trunk/3.0/
openejb/examples/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: /home/mahmed/projects/oss/openejb/
trunk/3.0/openejb/examples/simple-webservice/target/classes
INFO - Configuring enterprise application: /home/mahmed/projects/oss/
openejb/trunk/3.0/openejb/examples/simple-webservice/target/classes
INFO - Configuring Service(id=Default Stateless Container,
type=Container, provider-id=Default Stateless Container)
INFO - Auto-creating a container for bean CalculatorImpl:
Container(type=STATELESS, id=Default Stateless Container)
INFO - Enterprise application "/home/mahmed/projects/oss/openejb/trunk/
3.0/openejb/examples/simple-webservice/target/classes" loaded.
INFO - Assembling app: /home/mahmed/projects/oss/openejb/trunk/3.0/
openejb/examples/simple-webservice/target/classes
INFO - Created Ejb(deployment-id=CalculatorImpl, ejb-
name=CalculatorImpl, container=Default Stateless Container)
INFO - Deployed Application(path=/home/mahmed/projects/oss/openejb/
trunk/3.0/openejb/examples/simple-webservice/target/classes)
** Starting Services **
NAME IP PORT
httpejbd 127.0.0.1 4204
ejbd 127.0.0.1 4201
Jul 2, 2008 12:10:11 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
from class org.superbiz.calculator.CalculatorWs
Jul 2, 2008 12:10:11 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: {http://superbiz.org/wsdl}arg0 part element name {http://superbiz.org/wsdl
}arg0 references element {http://superbiz.org/wsdl}arg0
{http://superbiz.org/wsdl}arg1 part element name {http://superbiz.org/wsdl
}arg1 references element {http://superbiz.org/wsdl}arg1
{http://superbiz.org/wsdl}return part element name {http://superbiz.org/wsdl
}return references element {http://superbiz.org/wsdl}return
{http://superbiz.org/wsdl}arg0 part element name {http://superbiz.org/wsdl
}arg0 references element {http://superbiz.org/wsdl}arg0
{http://superbiz.org/wsdl}arg1 part element name {http://superbiz.org/wsdl
}arg1 references element {http://superbiz.org/wsdl}arg1
{http://superbiz.org/wsdl}return part element name {http://superbiz.org/wsdl
}return references element {http://superbiz.org/wsdl}return
Jul 2, 2008 12:10:12 AM org.apache.cxf.endpoint.ServerImpl
initDestination
INFO: Setting the server's publish address to be http://nopath:80
admin thread 127.0.0.1 4200
-------
Ready!
Jul 2, 2008 12:10:12 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromWSDL
INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
from WSDL: http://127.0.0.1:4204/CalculatorImpl?wsdl
Jul 2, 2008 12:11:12 AM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at org.apache.cxf.interceptor.MessageSenderInterceptor
$
MessageSenderEndingInterceptor
.handleMessage(MessageSenderInterceptor.java:64)
at
org
.apache
.cxf
.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:
276)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:
222)
at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
at $Proxy17.sum(Unknown Source)
at
org
.superbiz
.calculator
.CalculatorTest.testCalculatorViaWsInterface(CalculatorTest.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:228)
at junit.framework.TestSuite.run(TestSuite.java:223)
at
org
.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:
35)
at
org
.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
62)
at
org
.apache
.maven
.surefire
.suite
.AbstractDirectoryTestSuite
.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org
.apache
.maven
.surefire
.suite
.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.apache
.maven
.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:
338)
at
org
.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
997)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:
218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:
256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:
313)
at
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:681)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:646)
at
sun
.net
.www
.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:
957)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
at org.apache.cxf.transport.http.HTTPConduit
$WrappedOutputStream.handleResponse(HTTPConduit.java:1863)
at org.apache.cxf.transport.http.HTTPConduit
$WrappedOutputStream.close(HTTPConduit.java:1791)
at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:575)
at org.apache.cxf.interceptor.MessageSenderInterceptor
$
MessageSenderEndingInterceptor
.handleMessage(MessageSenderInterceptor.java:62)
... 30 more
Jul 2, 2008 12:11:12 AM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
at
org
.apache
.cxf
.binding
.soap
.interceptor
.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:191)
at
org
.apache
.cxf
.binding
.soap
.interceptor
.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:56)
at
org
.apache
.cxf
.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208)
at
org
.apache
.cxf
.transport
.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77)
at
org
.apache.openejb.server.cxf.HttpDestination.invoke(HttpDestination.java:
111)
at
org
.apache
.openejb.server.cxf.CxfWsContainer.processPOST(CxfWsContainer.java:114)
at
org
.apache
.openejb.server.cxf.CxfWsContainer.onMessage(CxfWsContainer.java:85)
at org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry
$ClassLoaderHttpListener.onMessage(OpenEJBHttpWsRegistry.java:113)
at
org
.apache
.openejb
.server.httpd.HttpListenerRegistry.onMessage(HttpListenerRegistry.java:
43)
at
org
.apache
.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:
176)
at
org
.apache
.openejb
.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:
132)
at
org
.apache
.openejb.server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:
78)
at
org
.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:
61)
at org.apache.openejb.server.ServicePool
$2.run(ServicePool.java:78)
at org.apache.openejb.server.ServicePool
$3.run(ServicePool.java:101)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at
com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:661)
at
com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
at
com
.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:
2040)
at
com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
at
com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
at
org
.apache
.cxf
.binding
.soap
.interceptor
.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:85)
... 17 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 64.254
sec <<< FAILURE!
Results :
Tests in error:
testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to /home/mahmed/projects/oss/openejb/trunk/3.0/openejb/
examples/simple-webservice/target/surefire-reports for the individual
test results.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
Please refer to /home/mahmed/projects/oss/openejb/trunk/3.0/openejb/
examples/simple-webservice/target/surefire-reports for the individual
test results.
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
579)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are
test failures.
Please refer to /home/mahmed/projects/oss/openejb/trunk/3.0/openejb/
examples/simple-webservice/target/surefire-reports for the individual
test results.
at
org
.apache
.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
558)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14 minutes 25 seconds
[INFO] Finished at: Wed Jul 02 00:11:13 EEST 2008
[INFO] Final Memory: 59M/174M
[INFO]
------------------------------------------------------------------------