You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Mohammad Nour El-Din <mn...@apache.org> on 2008/06/25 19:53:42 UTC

Build Error

Hi All...

   I always get this error while building OpenEJB using a fres src
code copy and an empty M2 repo. One of the WS Impl tests fails and
make the whole build fail. Can someone explain please. Here is the
build output http://rifers.org/paste/show/7566 - look at the end of
the file starting from the highlighted line.

-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by David Blevins <da...@visi.com>.
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]  
------------------------------------------------------------------------


Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
I didn't solve the issue, its Karan and we both were searching for the
reason and he got to it first :) .

On Sun, Jul 6, 2008 at 11:28 PM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
> On Sun, Jul 6, 2008 at 3:10 PM, Mohammad Nour El-Din
> <no...@gmail.com> wrote:
>> Woohoo :) gr8 work from Karan and the issue has been solved :), thanks
>> a lot karan, you are the man ;)
>
> That's it?! No, it can't be true! Please share the wisdom to all of us
> and let us reap what you have sown.
>
> Jacek
>
> --
> Jacek Laskowski
> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Sun, Jul 6, 2008 at 3:10 PM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> Woohoo :) gr8 work from Karan and the issue has been solved :), thanks
> a lot karan, you are the man ;)

That's it?! No, it can't be true! Please share the wisdom to all of us
and let us reap what you have sown.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Woohoo :) gr8 work from Karan and the issue has been solved :), thanks
a lot karan, you are the man ;)

On Sun, Jul 6, 2008 at 2:38 PM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> BTW I am looking into that issue :).
>
> On Sun, Jul 6, 2008 at 2:38 PM, Mohammad Nour El-Din
> <no...@gmail.com> wrote:
>> It happens in both cases David, whether we use Jetty or OpenEJB httpd,
>> it is as Karan explained, it happens when the request is POST method
>> and the Transfer-Coding is chunked.  The stack trace is sent back in
>> that thread, the one that you replied upon.
>>
>> On Fri, Jul 4, 2008 at 1:13 AM, Dain Sundstrom <da...@iq80.com> wrote:
>>> I don't think this happens when you use jetty.  Try adding this dependency
>>> to the pom in simple-webservices:
>>>
>>>    <dependency>
>>>      <groupId>org.mortbay.jetty</groupId>
>>>      <artifactId>jetty-embedded</artifactId>
>>>      <version>6.1.7</version>
>>>      <optional>true</optional>
>>>      <exclusions>
>>>        <exclusion>
>>>          <groupId>org.mortbay.jetty</groupId>
>>>          <artifactId>servlet-api-2.5</artifactId>
>>>        </exclusion>
>>>      </exclusions>
>>>    </dependency>
>>>
>>> If it does can you post the stack trace?
>>>
>>> -dain
>>> On Jul 3, 2008, at 1:30 PM, Mohammad Nour El-Din wrote:
>>>
>>>> It seems that it is as Karan explained, something wrong happen when
>>>> the HTTP request method is POST and CHUNKED request is used, This
>>>> happen whether we use the OpenEJB httpd or embedded Jetty. I added
>>>> some sysouts for debugging, and ran mvn -e clean install command from
>>>> with the examples/simple-webservice project amd here is the output if
>>>> someone is inetrested to dig with me :) - Two dig better than one [The
>>>> Good, the Bad and the Ugly] ;) .
>>>>
>>>> [mahmed@mahmed openejb]$ cd examples/simple-webservice/
>>>> [mahmed@mahmed simple-webservice]$ mvn -e clean install
>>>> + Error stacktraces are turned on.
>>>> [INFO] Scanning for projects...
>>>> [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] snapshot org.apache.openejb:openejb-cxf:3.1-SNAPSHOT: checking
>>>> for updates from apache-m2-snapshot
>>>> [INFO] snapshot org.apache.openejb:server:3.1-SNAPSHOT: checking for
>>>> updates from apache-m2-snapshot
>>>> [INFO] snapshot org.apache.openejb:openejb:3.1-SNAPSHOT: checking for
>>>> updates from apache-m2-snapshot
>>>> [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: 20080703-10:52
>>>> 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)
>>>>>>>
>>>>>>> Using OpenEJB httpd <<<
>>>>>>> Enter OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>>>>> HttpListener registry is not available. Creating new one <<<
>>>>>>> Out OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>>>>> Creates OpenEJBHttpServer <<<
>>>>>>> [HttpListenerRegistry.addHttpListener] - Listener added [
>>>>>>> org.apache.openejb.server.httpd.ServerServiceAdapter] <<<
>>>>
>>>>  ** Starting Services **
>>>>  NAME                 IP              PORT
>>>>  httpejbd             127.0.0.1       4204
>>>>  ejbd                 127.0.0.1       4201
>>>> Jul 3, 2008 11:25:13 PM
>>>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>>>> buildServiceFromClass
>>>> INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
>>>> from class org.superbiz.calculator.CalculatorWs
>>>> Jul 3, 2008 11:25:14 PM
>>>> 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 3, 2008 11:25:14 PM org.apache.cxf.endpoint.ServerImpl initDestination
>>>> INFO: Setting the server's publish address to be http://nopath:80
>>>>>>>
>>>>>>> [HttpListenerRegistry.addHttpListener] - Listener added [
>>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>>> <<<
>>>>
>>>>  admin thread         127.0.0.1       4200
>>>> -------
>>>> Ready!
>>>>>>>
>>>>>>> Request URI : http://localhost.localdomain:4204
>>>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>>>> http://localhost.localdomain:4204/CalculatorImpl?wsdl
>>>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>>> <<<
>>>>
>>>> Jul 3, 2008 11:25:15 PM
>>>> 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
>>>>>>>
>>>>>>> Request URI : http://localhost.localdomain:4204
>>>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>>>> http://localhost.localdomain:4204/CalculatorImpl
>>>>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>>> <<<
>>>>>>> Request URI : http://localhost.localdomain:4204
>>>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>>>> http://localhost.localdomain:4204/CalculatorImpl
>>>>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>>>
>>>> Jul 3, 2008 11:26:15 PM 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)
>>>>>>>
>>>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>>> <<<
>>>>
>>>>       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 3, 2008 11:26:15 PM 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:44)
>>>>       at
>>>> org.apache.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:182)
>>>>       at
>>>> org.apache.openejb.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:137)
>>>>       at
>>>> org.apache.openejb.server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:83)
>>>>       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: 66.835
>>>> 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: 1 minute 35 seconds
>>>> [INFO] Finished at: Thu Jul 03 23:26:16 EEST 2008
>>>> [INFO] Final Memory: 14M/82M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> On Thu, Jul 3, 2008 at 11:20 PM, Mohammad Nour El-Din
>>>> <no...@gmail.com> wrote:
>>>>>
>>>>> thanks for clarification :)
>>>>>
>>>>> On Thu, Jul 3, 2008 at 11:06 PM, David Blevins <da...@visi.com>
>>>>> wrote:
>>>>>>
>>>>>> On Jul 3, 2008, at 12:27 PM, Mohammad Nour El-Din wrote:
>>>>>>
>>>>>>> I just didn't want to include the text in the mail so they can read it
>>>>>>> better from the Java Paste site :)
>>>>>>
>>>>>> I know.  It's just it won't last more than 24 hours and you'll have to
>>>>>> paste
>>>>>> again.
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Jul 3, 2008 at 9:37 PM, David Blevins <da...@visi.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>>>>>>>>
>>>>>>>>> Here is another build error on a Windows Server 2003 machine :S
>>>>>>>>>
>>>>>>>>> http://rifers.org/paste/show/7593
>>>>>>>>
>>>>>>>> [INFO]
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>>>>>> [INFO]    task-segment: [clean, install]
>>>>>>>> [INFO]
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] snapshot
>>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>>> checking for updates from apache-m2-snapshot
>>>>>>>> [INFO] snapshot
>>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>>> checking for updates from Codehaus Snapshots
>>>>>>>> [INFO] snapshot
>>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>>> checking for updates from codehaus-snapshot
>>>>>>>> [INFO] snapshot
>>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>>> checking for updates from java.net
>>>>>>>> [INFO] snapshot
>>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>>> checking for updates from apache.snapshots
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>>> updates from apache-m2-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>>> updates from Codehaus Snapshots
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>>> updates from codehaus-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>>> updates from java.net
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>>> updates from apache.snapshots
>>>>>>>> [INFO] [clean:clean]
>>>>>>>> [INFO] Deleting directory
>>>>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from codehaus-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from apache-m2-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from java.net
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from apache.snapshots
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>>> checking
>>>>>>>> for updates from codehaus-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>>> checking
>>>>>>>> for updates from apache-m2-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>>> checking
>>>>>>>> for updates from java.net
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>>> checking
>>>>>>>> for updates from apache.snapshots
>>>>>>>> [INFO] [remote-resources:process {execution: default}]
>>>>>>>> [INFO] [resources:resources]
>>>>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>>>>> [INFO] [compiler:compile]
>>>>>>>> [INFO] Compiling 706 source files to
>>>>>>>>
>>>>>>>>
>>>>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target\classes
>>>>>>>> [INFO] [dependency-report:report {execution: default}]
>>>>>>>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>>>>>>>> [WARNING] Attempting to build MavenProject instance for Artifact
>>>>>>>> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-20080610.181441-2)
>>>>>>>> of
>>>>>>>> type: maven-plugin; cons
>>>>>>>> tructing POM artifact instead.
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from apache-m2-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from Codehaus Snapshots
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from jboss
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from java.net
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from codehaus-snapshot
>>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>>> for
>>>>>>>> updates from apache.snapshots
>>>>>>>> [INFO] [sxc-jaxb:generate {execution: default}]
>>>>>>>>
>>>>>>>>
>>>>>>>> The system is out of resources.
>>>>>>>> Consult the following stack trace for details.
>>>>>>>> java.lang.OutOfMemoryError: Java heap space
>>>>>>>>    at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.expression(Parser.java:481)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1049)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1061)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>>>>    at
>>>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1446)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1450)
>>>>>>>>    at
>>>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1467)
>>>>>>>>    at
>>>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>>>    at
>>>>>>>>
>>>>>>>> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2241)
>>>>>>>>    at
>>>>>>>>
>>>>>>>>
>>>>>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2196)
>>>>>>>>    at
>>>>>>>>
>>>>>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2134)
>>>>>>>>    at
>>>>>>>> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)
>>>>>>>>
>>>>>>>> [INFO]
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] FATAL ERROR
>>>>>>>> [INFO]
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Could not compile generated files! Code: 3
>>>>>>>> [INFO]
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Trace
>>>>>>>> com.envoisolutions.sxc.builder.BuildException: Could not compile
>>>>>>>> generated
>>>>>>>> files! Code: 3
>>>>>>>>    at
>>>>>>>>
>>>>>>>>
>>>>>>>> com.envoisolutions.sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>>>>>>>>    at
>>>>>>>>
>>>>>>>> com.envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java:88)
>>>>>>>>    at
>>>>>>>>
>>>>>>>>
>>>>>>>> com.envoisolutions.sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>>>>>>>>    at
>>>>>>>>
>>>>>>>>
>>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>>>>>    at
>>>>>>>>
>>>>>>>>
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>>>>>>    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)
>>>>>>>> [INFO]
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time: 4 minutes 22 seconds
>>>>>>>> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
>>>>>>>> [INFO] Final Memory: 35M/63M
>>>>>>>> [INFO]
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks
>>>>>>> - Mohammad Nour
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks
>>>>> - Mohammad Nour
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks
>>>> - Mohammad Nour
>>>
>>>
>>
>>
>>
>> --
>> Thanks
>> - Mohammad Nour
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
BTW I am looking into that issue :).

On Sun, Jul 6, 2008 at 2:38 PM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> It happens in both cases David, whether we use Jetty or OpenEJB httpd,
> it is as Karan explained, it happens when the request is POST method
> and the Transfer-Coding is chunked.  The stack trace is sent back in
> that thread, the one that you replied upon.
>
> On Fri, Jul 4, 2008 at 1:13 AM, Dain Sundstrom <da...@iq80.com> wrote:
>> I don't think this happens when you use jetty.  Try adding this dependency
>> to the pom in simple-webservices:
>>
>>    <dependency>
>>      <groupId>org.mortbay.jetty</groupId>
>>      <artifactId>jetty-embedded</artifactId>
>>      <version>6.1.7</version>
>>      <optional>true</optional>
>>      <exclusions>
>>        <exclusion>
>>          <groupId>org.mortbay.jetty</groupId>
>>          <artifactId>servlet-api-2.5</artifactId>
>>        </exclusion>
>>      </exclusions>
>>    </dependency>
>>
>> If it does can you post the stack trace?
>>
>> -dain
>> On Jul 3, 2008, at 1:30 PM, Mohammad Nour El-Din wrote:
>>
>>> It seems that it is as Karan explained, something wrong happen when
>>> the HTTP request method is POST and CHUNKED request is used, This
>>> happen whether we use the OpenEJB httpd or embedded Jetty. I added
>>> some sysouts for debugging, and ran mvn -e clean install command from
>>> with the examples/simple-webservice project amd here is the output if
>>> someone is inetrested to dig with me :) - Two dig better than one [The
>>> Good, the Bad and the Ugly] ;) .
>>>
>>> [mahmed@mahmed openejb]$ cd examples/simple-webservice/
>>> [mahmed@mahmed simple-webservice]$ mvn -e clean install
>>> + Error stacktraces are turned on.
>>> [INFO] Scanning for projects...
>>> [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] snapshot org.apache.openejb:openejb-cxf:3.1-SNAPSHOT: checking
>>> for updates from apache-m2-snapshot
>>> [INFO] snapshot org.apache.openejb:server:3.1-SNAPSHOT: checking for
>>> updates from apache-m2-snapshot
>>> [INFO] snapshot org.apache.openejb:openejb:3.1-SNAPSHOT: checking for
>>> updates from apache-m2-snapshot
>>> [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: 20080703-10:52
>>> 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)
>>>>>>
>>>>>> Using OpenEJB httpd <<<
>>>>>> Enter OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>>>> HttpListener registry is not available. Creating new one <<<
>>>>>> Out OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>>>> Creates OpenEJBHttpServer <<<
>>>>>> [HttpListenerRegistry.addHttpListener] - Listener added [
>>>>>> org.apache.openejb.server.httpd.ServerServiceAdapter] <<<
>>>
>>>  ** Starting Services **
>>>  NAME                 IP              PORT
>>>  httpejbd             127.0.0.1       4204
>>>  ejbd                 127.0.0.1       4201
>>> Jul 3, 2008 11:25:13 PM
>>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>>> buildServiceFromClass
>>> INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
>>> from class org.superbiz.calculator.CalculatorWs
>>> Jul 3, 2008 11:25:14 PM
>>> 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 3, 2008 11:25:14 PM org.apache.cxf.endpoint.ServerImpl initDestination
>>> INFO: Setting the server's publish address to be http://nopath:80
>>>>>>
>>>>>> [HttpListenerRegistry.addHttpListener] - Listener added [
>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>> <<<
>>>
>>>  admin thread         127.0.0.1       4200
>>> -------
>>> Ready!
>>>>>>
>>>>>> Request URI : http://localhost.localdomain:4204
>>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>>> http://localhost.localdomain:4204/CalculatorImpl?wsdl
>>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>> <<<
>>>
>>> Jul 3, 2008 11:25:15 PM
>>> 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
>>>>>>
>>>>>> Request URI : http://localhost.localdomain:4204
>>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>>> http://localhost.localdomain:4204/CalculatorImpl
>>>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>> <<<
>>>>>> Request URI : http://localhost.localdomain:4204
>>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>>> http://localhost.localdomain:4204/CalculatorImpl
>>>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>>
>>> Jul 3, 2008 11:26:15 PM 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)
>>>>>>
>>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>>> <<<
>>>
>>>       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 3, 2008 11:26:15 PM 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:44)
>>>       at
>>> org.apache.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:182)
>>>       at
>>> org.apache.openejb.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:137)
>>>       at
>>> org.apache.openejb.server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:83)
>>>       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: 66.835
>>> 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: 1 minute 35 seconds
>>> [INFO] Finished at: Thu Jul 03 23:26:16 EEST 2008
>>> [INFO] Final Memory: 14M/82M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> On Thu, Jul 3, 2008 at 11:20 PM, Mohammad Nour El-Din
>>> <no...@gmail.com> wrote:
>>>>
>>>> thanks for clarification :)
>>>>
>>>> On Thu, Jul 3, 2008 at 11:06 PM, David Blevins <da...@visi.com>
>>>> wrote:
>>>>>
>>>>> On Jul 3, 2008, at 12:27 PM, Mohammad Nour El-Din wrote:
>>>>>
>>>>>> I just didn't want to include the text in the mail so they can read it
>>>>>> better from the Java Paste site :)
>>>>>
>>>>> I know.  It's just it won't last more than 24 hours and you'll have to
>>>>> paste
>>>>> again.
>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 3, 2008 at 9:37 PM, David Blevins <da...@visi.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>>>>>>>
>>>>>>>> Here is another build error on a Windows Server 2003 machine :S
>>>>>>>>
>>>>>>>> http://rifers.org/paste/show/7593
>>>>>>>
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>>>>> [INFO]    task-segment: [clean, install]
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] snapshot
>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>> checking for updates from apache-m2-snapshot
>>>>>>> [INFO] snapshot
>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>> checking for updates from Codehaus Snapshots
>>>>>>> [INFO] snapshot
>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>> checking for updates from codehaus-snapshot
>>>>>>> [INFO] snapshot
>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>> checking for updates from java.net
>>>>>>> [INFO] snapshot
>>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>>> checking for updates from apache.snapshots
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>> updates from apache-m2-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>> updates from Codehaus Snapshots
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>> updates from codehaus-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>> updates from java.net
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>>> updates from apache.snapshots
>>>>>>> [INFO] [clean:clean]
>>>>>>> [INFO] Deleting directory
>>>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from codehaus-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from apache-m2-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from java.net
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from apache.snapshots
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>> checking
>>>>>>> for updates from codehaus-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>> checking
>>>>>>> for updates from apache-m2-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>> checking
>>>>>>> for updates from java.net
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>>> checking
>>>>>>> for updates from apache.snapshots
>>>>>>> [INFO] [remote-resources:process {execution: default}]
>>>>>>> [INFO] [resources:resources]
>>>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>>>> [INFO] [compiler:compile]
>>>>>>> [INFO] Compiling 706 source files to
>>>>>>>
>>>>>>>
>>>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target\classes
>>>>>>> [INFO] [dependency-report:report {execution: default}]
>>>>>>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>>>>>>> [WARNING] Attempting to build MavenProject instance for Artifact
>>>>>>> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-20080610.181441-2)
>>>>>>> of
>>>>>>> type: maven-plugin; cons
>>>>>>> tructing POM artifact instead.
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from apache-m2-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from Codehaus Snapshots
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from jboss
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from java.net
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from codehaus-snapshot
>>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>>> for
>>>>>>> updates from apache.snapshots
>>>>>>> [INFO] [sxc-jaxb:generate {execution: default}]
>>>>>>>
>>>>>>>
>>>>>>> The system is out of resources.
>>>>>>> Consult the following stack trace for details.
>>>>>>> java.lang.OutOfMemoryError: Java heap space
>>>>>>>    at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>>>    at com.sun.tools.javac.parser.Parser.expression(Parser.java:481)
>>>>>>>    at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1049)
>>>>>>>    at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1061)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>>>    at
>>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1446)
>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1450)
>>>>>>>    at
>>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1467)
>>>>>>>    at
>>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>>    at
>>>>>>>
>>>>>>> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2241)
>>>>>>>    at
>>>>>>>
>>>>>>>
>>>>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2196)
>>>>>>>    at
>>>>>>>
>>>>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2134)
>>>>>>>    at
>>>>>>> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)
>>>>>>>
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [ERROR] FATAL ERROR
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Could not compile generated files! Code: 3
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Trace
>>>>>>> com.envoisolutions.sxc.builder.BuildException: Could not compile
>>>>>>> generated
>>>>>>> files! Code: 3
>>>>>>>    at
>>>>>>>
>>>>>>>
>>>>>>> com.envoisolutions.sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>>>>>>>    at
>>>>>>>
>>>>>>> com.envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java:88)
>>>>>>>    at
>>>>>>>
>>>>>>>
>>>>>>> com.envoisolutions.sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>>>>>>>    at
>>>>>>>
>>>>>>>
>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>>>>    at
>>>>>>>
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>>>>>    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)
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Total time: 4 minutes 22 seconds
>>>>>>> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
>>>>>>> [INFO] Final Memory: 35M/63M
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks
>>>>>> - Mohammad Nour
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks
>>>> - Mohammad Nour
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks
>>> - Mohammad Nour
>>
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
It happens in both cases David, whether we use Jetty or OpenEJB httpd,
it is as Karan explained, it happens when the request is POST method
and the Transfer-Coding is chunked.  The stack trace is sent back in
that thread, the one that you replied upon.

On Fri, Jul 4, 2008 at 1:13 AM, Dain Sundstrom <da...@iq80.com> wrote:
> I don't think this happens when you use jetty.  Try adding this dependency
> to the pom in simple-webservices:
>
>    <dependency>
>      <groupId>org.mortbay.jetty</groupId>
>      <artifactId>jetty-embedded</artifactId>
>      <version>6.1.7</version>
>      <optional>true</optional>
>      <exclusions>
>        <exclusion>
>          <groupId>org.mortbay.jetty</groupId>
>          <artifactId>servlet-api-2.5</artifactId>
>        </exclusion>
>      </exclusions>
>    </dependency>
>
> If it does can you post the stack trace?
>
> -dain
> On Jul 3, 2008, at 1:30 PM, Mohammad Nour El-Din wrote:
>
>> It seems that it is as Karan explained, something wrong happen when
>> the HTTP request method is POST and CHUNKED request is used, This
>> happen whether we use the OpenEJB httpd or embedded Jetty. I added
>> some sysouts for debugging, and ran mvn -e clean install command from
>> with the examples/simple-webservice project amd here is the output if
>> someone is inetrested to dig with me :) - Two dig better than one [The
>> Good, the Bad and the Ugly] ;) .
>>
>> [mahmed@mahmed openejb]$ cd examples/simple-webservice/
>> [mahmed@mahmed simple-webservice]$ mvn -e clean install
>> + Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [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] snapshot org.apache.openejb:openejb-cxf:3.1-SNAPSHOT: checking
>> for updates from apache-m2-snapshot
>> [INFO] snapshot org.apache.openejb:server:3.1-SNAPSHOT: checking for
>> updates from apache-m2-snapshot
>> [INFO] snapshot org.apache.openejb:openejb:3.1-SNAPSHOT: checking for
>> updates from apache-m2-snapshot
>> [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: 20080703-10:52
>> 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)
>>>>>
>>>>> Using OpenEJB httpd <<<
>>>>> Enter OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>>> HttpListener registry is not available. Creating new one <<<
>>>>> Out OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>>> Creates OpenEJBHttpServer <<<
>>>>> [HttpListenerRegistry.addHttpListener] - Listener added [
>>>>> org.apache.openejb.server.httpd.ServerServiceAdapter] <<<
>>
>>  ** Starting Services **
>>  NAME                 IP              PORT
>>  httpejbd             127.0.0.1       4204
>>  ejbd                 127.0.0.1       4201
>> Jul 3, 2008 11:25:13 PM
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> buildServiceFromClass
>> INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
>> from class org.superbiz.calculator.CalculatorWs
>> Jul 3, 2008 11:25:14 PM
>> 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 3, 2008 11:25:14 PM org.apache.cxf.endpoint.ServerImpl initDestination
>> INFO: Setting the server's publish address to be http://nopath:80
>>>>>
>>>>> [HttpListenerRegistry.addHttpListener] - Listener added [
>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>> <<<
>>
>>  admin thread         127.0.0.1       4200
>> -------
>> Ready!
>>>>>
>>>>> Request URI : http://localhost.localdomain:4204
>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>> http://localhost.localdomain:4204/CalculatorImpl?wsdl
>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>> <<<
>>
>> Jul 3, 2008 11:25:15 PM
>> 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
>>>>>
>>>>> Request URI : http://localhost.localdomain:4204
>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>> http://localhost.localdomain:4204/CalculatorImpl
>>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>> <<<
>>>>> Request URI : http://localhost.localdomain:4204
>>>>> [HttpRequestImpl.parseURI] - URI :
>>>>> http://localhost.localdomain:4204/CalculatorImpl
>>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>
>> Jul 3, 2008 11:26:15 PM 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)
>>>>>
>>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>>> [HttpListenerRegistry.onMessage] - Match found [
>>>>> org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener]
>>>>> <<<
>>
>>       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 3, 2008 11:26:15 PM 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:44)
>>       at
>> org.apache.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:182)
>>       at
>> org.apache.openejb.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:137)
>>       at
>> org.apache.openejb.server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:83)
>>       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: 66.835
>> 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: 1 minute 35 seconds
>> [INFO] Finished at: Thu Jul 03 23:26:16 EEST 2008
>> [INFO] Final Memory: 14M/82M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> On Thu, Jul 3, 2008 at 11:20 PM, Mohammad Nour El-Din
>> <no...@gmail.com> wrote:
>>>
>>> thanks for clarification :)
>>>
>>> On Thu, Jul 3, 2008 at 11:06 PM, David Blevins <da...@visi.com>
>>> wrote:
>>>>
>>>> On Jul 3, 2008, at 12:27 PM, Mohammad Nour El-Din wrote:
>>>>
>>>>> I just didn't want to include the text in the mail so they can read it
>>>>> better from the Java Paste site :)
>>>>
>>>> I know.  It's just it won't last more than 24 hours and you'll have to
>>>> paste
>>>> again.
>>>>
>>>>>
>>>>>
>>>>> On Thu, Jul 3, 2008 at 9:37 PM, David Blevins <da...@visi.com>
>>>>> wrote:
>>>>>>
>>>>>> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>>>>>>
>>>>>>> Here is another build error on a Windows Server 2003 machine :S
>>>>>>>
>>>>>>> http://rifers.org/paste/show/7593
>>>>>>
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>>>> [INFO]    task-segment: [clean, install]
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>> checking for updates from apache-m2-snapshot
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>> checking for updates from Codehaus Snapshots
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>> checking for updates from codehaus-snapshot
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>> checking for updates from java.net
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>>> checking for updates from apache.snapshots
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>> updates from apache-m2-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>> updates from Codehaus Snapshots
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>> updates from codehaus-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>> updates from java.net
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>>> updates from apache.snapshots
>>>>>> [INFO] [clean:clean]
>>>>>> [INFO] Deleting directory
>>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from codehaus-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from apache-m2-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from java.net
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from apache.snapshots
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>> checking
>>>>>> for updates from codehaus-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>> checking
>>>>>> for updates from apache-m2-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>> checking
>>>>>> for updates from java.net
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:
>>>>>> checking
>>>>>> for updates from apache.snapshots
>>>>>> [INFO] [remote-resources:process {execution: default}]
>>>>>> [INFO] [resources:resources]
>>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>>> [INFO] [compiler:compile]
>>>>>> [INFO] Compiling 706 source files to
>>>>>>
>>>>>>
>>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target\classes
>>>>>> [INFO] [dependency-report:report {execution: default}]
>>>>>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>>>>>> [WARNING] Attempting to build MavenProject instance for Artifact
>>>>>> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-20080610.181441-2)
>>>>>> of
>>>>>> type: maven-plugin; cons
>>>>>> tructing POM artifact instead.
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from apache-m2-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from Codehaus Snapshots
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from jboss
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from java.net
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from codehaus-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>>>> for
>>>>>> updates from apache.snapshots
>>>>>> [INFO] [sxc-jaxb:generate {execution: default}]
>>>>>>
>>>>>>
>>>>>> The system is out of resources.
>>>>>> Consult the following stack trace for details.
>>>>>> java.lang.OutOfMemoryError: Java heap space
>>>>>>    at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
>>>>>>    at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>>>>>>    at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>>    at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>>    at com.sun.tools.javac.parser.Parser.expression(Parser.java:481)
>>>>>>    at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1049)
>>>>>>    at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1061)
>>>>>>    at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>>>>>>    at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>>    at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>>    at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>>    at
>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1446)
>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1450)
>>>>>>    at
>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>>>    at com.sun.tools.javac.parser.Parser.statement(Parser.java:1467)
>>>>>>    at
>>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>>    at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>>    at
>>>>>>
>>>>>> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2241)
>>>>>>    at
>>>>>>
>>>>>>
>>>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2196)
>>>>>>    at
>>>>>>
>>>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2134)
>>>>>>    at
>>>>>> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)
>>>>>>
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] FATAL ERROR
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Could not compile generated files! Code: 3
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Trace
>>>>>> com.envoisolutions.sxc.builder.BuildException: Could not compile
>>>>>> generated
>>>>>> files! Code: 3
>>>>>>    at
>>>>>>
>>>>>>
>>>>>> com.envoisolutions.sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>>>>>>    at
>>>>>>
>>>>>> com.envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java:88)
>>>>>>    at
>>>>>>
>>>>>>
>>>>>> com.envoisolutions.sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>>>>>>    at
>>>>>>
>>>>>>
>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>>>    at
>>>>>>
>>>>>>
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>>>>    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)
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Total time: 4 minutes 22 seconds
>>>>>> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
>>>>>> [INFO] Final Memory: 35M/63M
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks
>>>>> - Mohammad Nour
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks
>>> - Mohammad Nour
>>>
>>
>>
>>
>> --
>> Thanks
>> - Mohammad Nour
>
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Dain Sundstrom <da...@iq80.com>.
I don't think this happens when you use jetty.  Try adding this  
dependency to the pom in simple-webservices:

     <dependency>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>jetty-embedded</artifactId>
       <version>6.1.7</version>
       <optional>true</optional>
       <exclusions>
         <exclusion>
           <groupId>org.mortbay.jetty</groupId>
           <artifactId>servlet-api-2.5</artifactId>
         </exclusion>
       </exclusions>
     </dependency>

If it does can you post the stack trace?

-dain
On Jul 3, 2008, at 1:30 PM, Mohammad Nour El-Din wrote:

> It seems that it is as Karan explained, something wrong happen when
> the HTTP request method is POST and CHUNKED request is used, This
> happen whether we use the OpenEJB httpd or embedded Jetty. I added
> some sysouts for debugging, and ran mvn -e clean install command from
> with the examples/simple-webservice project amd here is the output if
> someone is inetrested to dig with me :) - Two dig better than one [The
> Good, the Bad and the Ugly] ;) .
>
> [mahmed@mahmed openejb]$ cd examples/simple-webservice/
> [mahmed@mahmed simple-webservice]$ mvn -e clean install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [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] snapshot org.apache.openejb:openejb-cxf:3.1-SNAPSHOT: checking
> for updates from apache-m2-snapshot
> [INFO] snapshot org.apache.openejb:server:3.1-SNAPSHOT: checking for
> updates from apache-m2-snapshot
> [INFO] snapshot org.apache.openejb:openejb:3.1-SNAPSHOT: checking for
> updates from apache-m2-snapshot
> [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: 20080703-10:52
> 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)
>>>> Using OpenEJB httpd <<<
>>>> Enter OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>> HttpListener registry is not available. Creating new one <<<
>>>> Out OpenEJBHttpServer.getHttpListenerRegistry <<<
>>>> Creates OpenEJBHttpServer <<<
>>>> [HttpListenerRegistry.addHttpListener] - Listener added  
>>>> [ org.apache.openejb.server.httpd.ServerServiceAdapter] <<<
>  ** Starting Services **
>  NAME                 IP              PORT
>  httpejbd             127.0.0.1       4204
>  ejbd                 127.0.0.1       4201
> Jul 3, 2008 11:25:13 PM
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromClass
> INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
> from class org.superbiz.calculator.CalculatorWs
> Jul 3, 2008 11:25:14 PM
> 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 3, 2008 11:25:14 PM org.apache.cxf.endpoint.ServerImpl  
> initDestination
> INFO: Setting the server's publish address to be http://nopath:80
>>>> [HttpListenerRegistry.addHttpListener] - Listener added  
>>>> [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry 
>>>> $ClassLoaderHttpListener] <<<
>  admin thread         127.0.0.1       4200
> -------
> Ready!
>>>> Request URI : http://localhost.localdomain:4204
>>>> [HttpRequestImpl.parseURI] - URI : http://localhost.localdomain:4204/CalculatorImpl?wsdl
>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>> [HttpListenerRegistry.onMessage] - Match found  
>>>> [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry 
>>>> $ClassLoaderHttpListener] <<<
> Jul 3, 2008 11:25:15 PM
> 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
>>>> Request URI : http://localhost.localdomain:4204
>>>> [HttpRequestImpl.parseURI] - URI : http://localhost.localdomain:4204/CalculatorImpl
>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>> [HttpListenerRegistry.onMessage] - Match found  
>>>> [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry 
>>>> $ClassLoaderHttpListener] <<<
>>>> Request URI : http://localhost.localdomain:4204
>>>> [HttpRequestImpl.parseURI] - URI : http://localhost.localdomain:4204/CalculatorImpl
>>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
> Jul 3, 2008 11:26:15 PM 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)
>>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>>> [HttpListenerRegistry.onMessage] - Match found  
>>>> [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry 
>>>> $ClassLoaderHttpListener] <<<
>        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 3, 2008 11:26:15 PM 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:44)
>        at  
> org 
> .apache 
> .openejb 
> .server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:182)
>        at  
> org 
> .apache 
> .openejb 
> .server 
> .httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:137)
>        at  
> org 
> .apache 
> .openejb 
> .server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:83)
>        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: 66.835
> 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: 1 minute 35 seconds
> [INFO] Finished at: Thu Jul 03 23:26:16 EEST 2008
> [INFO] Final Memory: 14M/82M
> [INFO]  
> ------------------------------------------------------------------------
>
> On Thu, Jul 3, 2008 at 11:20 PM, Mohammad Nour El-Din
> <no...@gmail.com> wrote:
>> thanks for clarification :)
>>
>> On Thu, Jul 3, 2008 at 11:06 PM, David Blevins <david.blevins@visi.com 
>> > wrote:
>>>
>>> On Jul 3, 2008, at 12:27 PM, Mohammad Nour El-Din wrote:
>>>
>>>> I just didn't want to include the text in the mail so they can  
>>>> read it
>>>> better from the Java Paste site :)
>>>
>>> I know.  It's just it won't last more than 24 hours and you'll  
>>> have to paste
>>> again.
>>>
>>>>
>>>>
>>>> On Thu, Jul 3, 2008 at 9:37 PM, David Blevins <david.blevins@visi.com 
>>>> >
>>>> wrote:
>>>>>
>>>>> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>>>>>
>>>>>> Here is another build error on a Windows Server 2003 machine :S
>>>>>>
>>>>>> http://rifers.org/paste/show/7593
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>>> [INFO]    task-segment: [clean, install]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>> checking for updates from apache-m2-snapshot
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>> checking for updates from Codehaus Snapshots
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>> checking for updates from codehaus-snapshot
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>> checking for updates from java.net
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>>> checking for updates from apache.snapshots
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>> checking for
>>>>> updates from apache-m2-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>> checking for
>>>>> updates from Codehaus Snapshots
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>> checking for
>>>>> updates from codehaus-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>> checking for
>>>>> updates from java.net
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>> checking for
>>>>> updates from apache.snapshots
>>>>> [INFO] [clean:clean]
>>>>> [INFO] Deleting directory
>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from codehaus-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from apache-m2-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from java.net
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from apache.snapshots
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for updates from codehaus-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for updates from apache-m2-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for updates from java.net
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for updates from apache.snapshots
>>>>> [INFO] [remote-resources:process {execution: default}]
>>>>> [INFO] [resources:resources]
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> [INFO] [compiler:compile]
>>>>> [INFO] Compiling 706 source files to
>>>>>
>>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee 
>>>>> \target\classes
>>>>> [INFO] [dependency-report:report {execution: default}]
>>>>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>>>>> [WARNING] Attempting to build MavenProject instance for Artifact
>>>>> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin: 
>>>>> 0.7-20080610.181441-2) of
>>>>> type: maven-plugin; cons
>>>>> tructing POM artifact instead.
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from apache-m2-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from Codehaus Snapshots
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from jboss
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from java.net
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from codehaus-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>>>>> checking
>>>>> for
>>>>> updates from apache.snapshots
>>>>> [INFO] [sxc-jaxb:generate {execution: default}]
>>>>>
>>>>>
>>>>> The system is out of resources.
>>>>> Consult the following stack trace for details.
>>>>> java.lang.OutOfMemoryError: Java heap space
>>>>>     at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java: 
>>>>> 324)
>>>>>     at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>>>>>     at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>     at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>     at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>     at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>     at com.sun.tools.javac.parser.Parser.expression(Parser.java: 
>>>>> 481)
>>>>>     at com.sun.tools.javac.parser.Parser.arguments(Parser.java: 
>>>>> 1049)
>>>>>     at com.sun.tools.javac.parser.Parser.arguments(Parser.java: 
>>>>> 1061)
>>>>>     at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>>>>>     at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>>     at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>>     at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>>     at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>>     at
>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java: 
>>>>> 1397)
>>>>>     at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>     at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>     at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>>>>> 1442)
>>>>>     at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>>>>> 1446)
>>>>>     at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>>>>> 1450)
>>>>>     at
>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java: 
>>>>> 1353)
>>>>>     at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>     at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>     at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>>>>> 1442)
>>>>>     at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>>>>> 1467)
>>>>>     at
>>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java: 
>>>>> 1353)
>>>>>     at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>>     at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>>     at
>>>>> com 
>>>>> .sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java: 
>>>>> 2241)
>>>>>     at
>>>>>
>>>>> com 
>>>>> .sun 
>>>>> .tools 
>>>>> .javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java: 
>>>>> 2196)
>>>>>     at
>>>>> com 
>>>>> .sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java: 
>>>>> 2134)
>>>>>     at
>>>>> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java: 
>>>>> 2004)
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] FATAL ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Could not compile generated files! Code: 3
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Trace
>>>>> com.envoisolutions.sxc.builder.BuildException: Could not compile
>>>>> generated
>>>>> files! Code: 3
>>>>>     at
>>>>>
>>>>> com 
>>>>> .envoisolutions 
>>>>> .sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>>>>>     at
>>>>> com 
>>>>> .envoisolutions 
>>>>> .sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java:88)
>>>>>     at
>>>>>
>>>>> com 
>>>>> .envoisolutions 
>>>>> .sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>>>>>     at
>>>>>
>>>>> org 
>>>>> .apache 
>>>>> .maven 
>>>>> .plugin 
>>>>> .DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>>     at
>>>>>
>>>>> org 
>>>>> .apache 
>>>>> .maven 
>>>>> .lifecycle 
>>>>> .DefaultLifecycleExecutor 
>>>>> .executeGoals(DefaultLifecycleExecutor.java:558)
>>>>>     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)
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 4 minutes 22 seconds
>>>>> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
>>>>> [INFO] Final Memory: 35M/63M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks
>>>> - Mohammad Nour
>>>>
>>>
>>>
>>
>>
>>
>> --
>> Thanks
>> - Mohammad Nour
>>
>
>
>
> -- 
> Thanks
> - Mohammad Nour


Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
It seems that it is as Karan explained, something wrong happen when
the HTTP request method is POST and CHUNKED request is used, This
happen whether we use the OpenEJB httpd or embedded Jetty. I added
some sysouts for debugging, and ran mvn -e clean install command from
with the examples/simple-webservice project amd here is the output if
someone is inetrested to dig with me :) - Two dig better than one [The
Good, the Bad and the Ugly] ;) .

[mahmed@mahmed openejb]$ cd examples/simple-webservice/
[mahmed@mahmed simple-webservice]$ mvn -e clean install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[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] snapshot org.apache.openejb:openejb-cxf:3.1-SNAPSHOT: checking
for updates from apache-m2-snapshot
[INFO] snapshot org.apache.openejb:server:3.1-SNAPSHOT: checking for
updates from apache-m2-snapshot
[INFO] snapshot org.apache.openejb:openejb:3.1-SNAPSHOT: checking for
updates from apache-m2-snapshot
[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: 20080703-10:52
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)
>>> Using OpenEJB httpd <<<
>>> Enter OpenEJBHttpServer.getHttpListenerRegistry <<<
>>> HttpListener registry is not available. Creating new one <<<
>>> Out OpenEJBHttpServer.getHttpListenerRegistry <<<
>>> Creates OpenEJBHttpServer <<<
>>> [HttpListenerRegistry.addHttpListener] - Listener added [ org.apache.openejb.server.httpd.ServerServiceAdapter] <<<
  ** Starting Services **
  NAME                 IP              PORT
  httpejbd             127.0.0.1       4204
  ejbd                 127.0.0.1       4201
Jul 3, 2008 11:25:13 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
from class org.superbiz.calculator.CalculatorWs
Jul 3, 2008 11:25:14 PM
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 3, 2008 11:25:14 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be http://nopath:80
>>> [HttpListenerRegistry.addHttpListener] - Listener added [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener] <<<
  admin thread         127.0.0.1       4200
-------
Ready!
>>> Request URI : http://localhost.localdomain:4204
>>> [HttpRequestImpl.parseURI] - URI : http://localhost.localdomain:4204/CalculatorImpl?wsdl
>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>> [HttpListenerRegistry.onMessage] - Match found [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener] <<<
Jul 3, 2008 11:25:15 PM
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
>>> Request URI : http://localhost.localdomain:4204
>>> [HttpRequestImpl.parseURI] - URI : http://localhost.localdomain:4204/CalculatorImpl
>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>> [HttpListenerRegistry.onMessage] - Match found [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener] <<<
>>> Request URI : http://localhost.localdomain:4204
>>> [HttpRequestImpl.parseURI] - URI : http://localhost.localdomain:4204/CalculatorImpl
>>> [HttpRequestImpl.readBody] - POST + CHUNKED <<<
Jul 3, 2008 11:26:15 PM 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)
>>> [OpenEJBHttpServer.process]- delegating request to listeners <<<
>>> [HttpListenerRegistry.onMessage] - Match found [ org.apache.openejb.server.webservices.OpenEJBHttpWsRegistry$ClassLoaderHttpListener] <<<
        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 3, 2008 11:26:15 PM 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:44)
        at org.apache.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:182)
        at org.apache.openejb.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:137)
        at org.apache.openejb.server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:83)
        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: 66.835
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: 1 minute 35 seconds
[INFO] Finished at: Thu Jul 03 23:26:16 EEST 2008
[INFO] Final Memory: 14M/82M
[INFO] ------------------------------------------------------------------------

On Thu, Jul 3, 2008 at 11:20 PM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> thanks for clarification :)
>
> On Thu, Jul 3, 2008 at 11:06 PM, David Blevins <da...@visi.com> wrote:
>>
>> On Jul 3, 2008, at 12:27 PM, Mohammad Nour El-Din wrote:
>>
>>> I just didn't want to include the text in the mail so they can read it
>>> better from the Java Paste site :)
>>
>> I know.  It's just it won't last more than 24 hours and you'll have to paste
>> again.
>>
>>>
>>>
>>> On Thu, Jul 3, 2008 at 9:37 PM, David Blevins <da...@visi.com>
>>> wrote:
>>>>
>>>> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>>>>
>>>>> Here is another build error on a Windows Server 2003 machine :S
>>>>>
>>>>> http://rifers.org/paste/show/7593
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>> checking for updates from apache-m2-snapshot
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>> checking for updates from Codehaus Snapshots
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>> checking for updates from codehaus-snapshot
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>> checking for updates from java.net
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>>> checking for updates from apache.snapshots
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from apache-m2-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from Codehaus Snapshots
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from codehaus-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from java.net
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from apache.snapshots
>>>> [INFO] [clean:clean]
>>>> [INFO] Deleting directory
>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from codehaus-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from apache-m2-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from java.net
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from apache.snapshots
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>>> for updates from codehaus-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>>> for updates from apache-m2-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>>> for updates from java.net
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>>> for updates from apache.snapshots
>>>> [INFO] [remote-resources:process {execution: default}]
>>>> [INFO] [resources:resources]
>>>> [INFO] Using default encoding to copy filtered resources.
>>>> [INFO] [compiler:compile]
>>>> [INFO] Compiling 706 source files to
>>>>
>>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target\classes
>>>> [INFO] [dependency-report:report {execution: default}]
>>>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>>>> [WARNING] Attempting to build MavenProject instance for Artifact
>>>> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-20080610.181441-2) of
>>>> type: maven-plugin; cons
>>>> tructing POM artifact instead.
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from apache-m2-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from Codehaus Snapshots
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from jboss
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from java.net
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from codehaus-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>>> for
>>>> updates from apache.snapshots
>>>> [INFO] [sxc-jaxb:generate {execution: default}]
>>>>
>>>>
>>>> The system is out of resources.
>>>> Consult the following stack trace for details.
>>>> java.lang.OutOfMemoryError: Java heap space
>>>>      at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
>>>>      at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>>>>      at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>      at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>      at com.sun.tools.javac.parser.Parser.expression(Parser.java:481)
>>>>      at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1049)
>>>>      at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1061)
>>>>      at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>>>>      at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>>      at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>>      at
>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
>>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1446)
>>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1450)
>>>>      at
>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1467)
>>>>      at
>>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>>      at
>>>> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2241)
>>>>      at
>>>>
>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2196)
>>>>      at
>>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2134)
>>>>      at
>>>> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Could not compile generated files! Code: 3
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> com.envoisolutions.sxc.builder.BuildException: Could not compile
>>>> generated
>>>> files! Code: 3
>>>>      at
>>>>
>>>> com.envoisolutions.sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>>>>      at
>>>> com.envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java:88)
>>>>      at
>>>>
>>>> com.envoisolutions.sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>>>>      at
>>>>
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>      at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>>      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)
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 4 minutes 22 seconds
>>>> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
>>>> [INFO] Final Memory: 35M/63M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks
>>> - Mohammad Nour
>>>
>>
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
thanks for clarification :)

On Thu, Jul 3, 2008 at 11:06 PM, David Blevins <da...@visi.com> wrote:
>
> On Jul 3, 2008, at 12:27 PM, Mohammad Nour El-Din wrote:
>
>> I just didn't want to include the text in the mail so they can read it
>> better from the Java Paste site :)
>
> I know.  It's just it won't last more than 24 hours and you'll have to paste
> again.
>
>>
>>
>> On Thu, Jul 3, 2008 at 9:37 PM, David Blevins <da...@visi.com>
>> wrote:
>>>
>>> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>>>
>>>> Here is another build error on a Windows Server 2003 machine :S
>>>>
>>>> http://rifers.org/paste/show/7593
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building OpenEJB :: Container :: Java EE
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>> checking for updates from apache-m2-snapshot
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>> checking for updates from Codehaus Snapshots
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>> checking for updates from codehaus-snapshot
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>> checking for updates from java.net
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
>>> checking for updates from apache.snapshots
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>> updates from apache-m2-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>> updates from Codehaus Snapshots
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>> updates from codehaus-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>> updates from java.net
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>> updates from apache.snapshots
>>> [INFO] [clean:clean]
>>> [INFO] Deleting directory
>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>> for
>>> updates from codehaus-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>> for
>>> updates from apache-m2-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>> for
>>> updates from java.net
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking
>>> for
>>> updates from apache.snapshots
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>> for updates from codehaus-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>> for updates from apache-m2-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>> for updates from java.net
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
>>> for updates from apache.snapshots
>>> [INFO] [remote-resources:process {execution: default}]
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 706 source files to
>>>
>>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target\classes
>>> [INFO] [dependency-report:report {execution: default}]
>>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>>> [WARNING] Attempting to build MavenProject instance for Artifact
>>> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-20080610.181441-2) of
>>> type: maven-plugin; cons
>>> tructing POM artifact instead.
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>> for
>>> updates from apache-m2-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>> for
>>> updates from Codehaus Snapshots
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>> for
>>> updates from jboss
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>> for
>>> updates from java.net
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>> for
>>> updates from codehaus-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking
>>> for
>>> updates from apache.snapshots
>>> [INFO] [sxc-jaxb:generate {execution: default}]
>>>
>>>
>>> The system is out of resources.
>>> Consult the following stack trace for details.
>>> java.lang.OutOfMemoryError: Java heap space
>>>      at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
>>>      at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>>>      at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>      at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>      at com.sun.tools.javac.parser.Parser.expression(Parser.java:481)
>>>      at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1049)
>>>      at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1061)
>>>      at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>>>      at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>>      at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>>      at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>>      at
>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1446)
>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1450)
>>>      at
>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>>>      at com.sun.tools.javac.parser.Parser.statement(Parser.java:1467)
>>>      at
>>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>>      at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>>      at
>>> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2241)
>>>      at
>>>
>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2196)
>>>      at
>>> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2134)
>>>      at
>>> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] FATAL ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Could not compile generated files! Code: 3
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> com.envoisolutions.sxc.builder.BuildException: Could not compile
>>> generated
>>> files! Code: 3
>>>      at
>>>
>>> com.envoisolutions.sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>>>      at
>>> com.envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java:88)
>>>      at
>>>
>>> com.envoisolutions.sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>>>      at
>>>
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>      at
>>>
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>      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)
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 4 minutes 22 seconds
>>> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
>>> [INFO] Final Memory: 35M/63M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>
>>
>>
>> --
>> Thanks
>> - Mohammad Nour
>>
>
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by David Blevins <da...@visi.com>.
On Jul 3, 2008, at 12:27 PM, Mohammad Nour El-Din wrote:

> I just didn't want to include the text in the mail so they can read it
> better from the Java Paste site :)

I know.  It's just it won't last more than 24 hours and you'll have to  
paste again.

>
>
> On Thu, Jul 3, 2008 at 9:37 PM, David Blevins  
> <da...@visi.com> wrote:
>>
>> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>>
>>> Here is another build error on a Windows Server 2003 machine :S
>>>
>>> http://rifers.org/paste/show/7593
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building OpenEJB :: Container :: Java EE
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
>> SNAPSHOT:
>> checking for updates from apache-m2-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
>> SNAPSHOT:
>> checking for updates from Codehaus Snapshots
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
>> SNAPSHOT:
>> checking for updates from codehaus-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
>> SNAPSHOT:
>> checking for updates from java.net
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
>> SNAPSHOT:
>> checking for updates from apache.snapshots
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from apache-m2-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from Codehaus Snapshots
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from codehaus-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from java.net
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from apache.snapshots
>> [INFO] [clean:clean]
>> [INFO] Deleting directory
>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>> checking for
>> updates from codehaus-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>> checking for
>> updates from apache-m2-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>> checking for
>> updates from java.net
>> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT:  
>> checking for
>> updates from apache.snapshots
>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>> checking
>> for updates from codehaus-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>> checking
>> for updates from apache-m2-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>> checking
>> for updates from java.net
>> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
>> checking
>> for updates from apache.snapshots
>> [INFO] [remote-resources:process {execution: default}]
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Compiling 706 source files to
>> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target 
>> \classes
>> [INFO] [dependency-report:report {execution: default}]
>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>> [WARNING] Attempting to build MavenProject instance for Artifact
>> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin: 
>> 0.7-20080610.181441-2) of
>> type: maven-plugin; cons
>> tructing POM artifact instead.
>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>> checking for
>> updates from apache-m2-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>> checking for
>> updates from Codehaus Snapshots
>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>> checking for
>> updates from jboss
>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>> checking for
>> updates from java.net
>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>> checking for
>> updates from codehaus-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT:  
>> checking for
>> updates from apache.snapshots
>> [INFO] [sxc-jaxb:generate {execution: default}]
>>
>>
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: Java heap space
>>       at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
>>       at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>>       at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>       at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>       at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>       at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>       at com.sun.tools.javac.parser.Parser.expression(Parser.java: 
>> 481)
>>       at com.sun.tools.javac.parser.Parser.arguments(Parser.java: 
>> 1049)
>>       at com.sun.tools.javac.parser.Parser.arguments(Parser.java: 
>> 1061)
>>       at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>>       at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>>       at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>>       at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>>       at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>>       at
>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
>>       at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>       at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>       at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>> 1442)
>>       at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>> 1446)
>>       at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>> 1450)
>>       at
>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>       at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>       at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>       at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>> 1442)
>>       at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
>> 1467)
>>       at
>> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>>       at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>>       at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>>       at
>> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java: 
>> 2241)
>>       at
>> com 
>> .sun 
>> .tools 
>> .javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java: 
>> 2196)
>>       at
>> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java: 
>> 2134)
>>       at
>> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Could not compile generated files! Code: 3
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> com.envoisolutions.sxc.builder.BuildException: Could not compile  
>> generated
>> files! Code: 3
>>       at
>> com 
>> .envoisolutions 
>> .sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>>       at
>> com 
>> .envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java: 
>> 88)
>>       at
>> com 
>> .envoisolutions 
>> .sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>>       at
>> org 
>> .apache 
>> .maven 
>> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
>> 451)
>>       at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoals(DefaultLifecycleExecutor.java:558)
>>       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)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 4 minutes 22 seconds
>> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
>> [INFO] Final Memory: 35M/63M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>
>
>
> -- 
> Thanks
> - Mohammad Nour
>


Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
I just didn't want to include the text in the mail so they can read it
better from the Java Paste site :)

On Thu, Jul 3, 2008 at 9:37 PM, David Blevins <da...@visi.com> wrote:
>
> On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:
>
>> Here is another build error on a Windows Server 2003 machine :S
>>
>> http://rifers.org/paste/show/7593
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building OpenEJB :: Container :: Java EE
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
> checking for updates from apache-m2-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
> checking for updates from Codehaus Snapshots
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
> checking for updates from codehaus-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
> checking for updates from java.net
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:
> checking for updates from apache.snapshots
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from apache-m2-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from Codehaus Snapshots
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from codehaus-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from java.net
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from apache.snapshots
> [INFO] [clean:clean]
> [INFO] Deleting directory
> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking for
> updates from codehaus-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking for
> updates from apache-m2-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking for
> updates from java.net
> [INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking for
> updates from apache.snapshots
> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
> for updates from codehaus-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
> for updates from apache-m2-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
> for updates from java.net
> [INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT: checking
> for updates from apache.snapshots
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 706 source files to
> H:\MNour\projects\oss\openejb\openejb\container\openejb-jee\target\classes
> [INFO] [dependency-report:report {execution: default}]
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Attempting to build MavenProject instance for Artifact
> (com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-20080610.181441-2) of
> type: maven-plugin; cons
> tructing POM artifact instead.
> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking for
> updates from apache-m2-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking for
> updates from Codehaus Snapshots
> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking for
> updates from jboss
> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking for
> updates from java.net
> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking for
> updates from codehaus-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking for
> updates from apache.snapshots
> [INFO] [sxc-jaxb:generate {execution: default}]
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: Java heap space
>        at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
>        at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
>        at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>        at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>        at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>        at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>        at com.sun.tools.javac.parser.Parser.expression(Parser.java:481)
>        at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1049)
>        at com.sun.tools.javac.parser.Parser.arguments(Parser.java:1061)
>        at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
>        at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
>        at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
>        at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
>        at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
>        at
> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
>        at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>        at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>        at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>        at com.sun.tools.javac.parser.Parser.statement(Parser.java:1446)
>        at com.sun.tools.javac.parser.Parser.statement(Parser.java:1450)
>        at
> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>        at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>        at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>        at com.sun.tools.javac.parser.Parser.statement(Parser.java:1442)
>        at com.sun.tools.javac.parser.Parser.statement(Parser.java:1467)
>        at
> com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
>        at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
>        at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
>        at
> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2241)
>        at
> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2196)
>        at
> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2134)
>        at
> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Could not compile generated files! Code: 3
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> com.envoisolutions.sxc.builder.BuildException: Could not compile generated
> files! Code: 3
>        at
> com.envoisolutions.sxc.compiler.JavacCompiler.compile(JavacCompiler.java:105)
>        at
> com.envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java:88)
>        at
> com.envoisolutions.sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>        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)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 22 seconds
> [INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
> [INFO] Final Memory: 35M/63M
> [INFO]
> ------------------------------------------------------------------------
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by David Blevins <da...@visi.com>.
On Jul 3, 2008, at 4:40 AM, Mohammad Nour El-Din wrote:

> Here is another build error on a Windows Server 2003 machine :S
>
> http://rifers.org/paste/show/7593

[INFO]  
------------------------------------------------------------------------
[INFO] Building OpenEJB :: Container :: Java EE
[INFO]    task-segment: [clean, install]
[INFO]  
------------------------------------------------------------------------
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
SNAPSHOT: checking for updates from apache-m2-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
SNAPSHOT: checking for updates from Codehaus Snapshots
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
SNAPSHOT: checking for updates from codehaus-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
SNAPSHOT: checking for updates from java.net
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7- 
SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for  
updates from apache-m2-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for  
updates from Codehaus Snapshots
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for  
updates from codehaus-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for  
updates from java.net
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for  
updates from apache.snapshots
[INFO] [clean:clean]
[INFO] Deleting directory H:\MNour\projects\oss\openejb\openejb 
\container\openejb-jee\target
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking  
for updates from codehaus-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking  
for updates from apache-m2-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking  
for updates from java.net
[INFO] snapshot com.envoisolutions.sxc:sxc-jaxb:0.7-SNAPSHOT: checking  
for updates from apache.snapshots
[INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
checking for updates from codehaus-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
checking for updates from apache-m2-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
checking for updates from java.net
[INFO] snapshot com.envoisolutions.sxc:sxc-runtime:0.7-SNAPSHOT:  
checking for updates from apache.snapshots
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 706 source files to H:\MNour\projects\oss\openejb 
\openejb\container\openejb-jee\target\classes
[INFO] [dependency-report:report {execution: default}]
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Attempting to build MavenProject instance for Artifact  
(com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-20080610.181441-2)  
of type: maven-plugin; cons
tructing POM artifact instead.
[INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking  
for updates from apache-m2-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking  
for updates from Codehaus Snapshots
[INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking  
for updates from jboss
[INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking  
for updates from java.net
[INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking  
for updates from codehaus-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc-core:0.7-SNAPSHOT: checking  
for updates from apache.snapshots
[INFO] [sxc-jaxb:generate {execution: default}]


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
         at com.sun.tools.javac.tree.TreeMaker.Ident(TreeMaker.java:324)
         at com.sun.tools.javac.parser.Parser.term3(Parser.java:859)
         at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
         at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
         at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
         at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
         at com.sun.tools.javac.parser.Parser.expression(Parser.java: 
481)
         at com.sun.tools.javac.parser.Parser.arguments(Parser.java: 
1049)
         at com.sun.tools.javac.parser.Parser.arguments(Parser.java: 
1061)
         at com.sun.tools.javac.parser.Parser.term3(Parser.java:880)
         at com.sun.tools.javac.parser.Parser.term2(Parser.java:582)
         at com.sun.tools.javac.parser.Parser.term1(Parser.java:553)
         at com.sun.tools.javac.parser.Parser.term(Parser.java:509)
         at com.sun.tools.javac.parser.Parser.term(Parser.java:491)
         at  
com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1397)
         at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
         at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
         at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
1442)
         at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
1446)
         at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
1450)
         at  
com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
         at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
         at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
         at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
1442)
         at com.sun.tools.javac.parser.Parser.statement(Parser.java: 
1467)
         at  
com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1353)
         at com.sun.tools.javac.parser.Parser.block(Parser.java:1319)
         at com.sun.tools.javac.parser.Parser.block(Parser.java:1331)
         at  
com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2241)
         at  
com 
.sun 
.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java: 
2196)
         at  
com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2134)
         at  
com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2004)

[INFO]  
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] Could not compile generated files! Code: 3
[INFO]  
------------------------------------------------------------------------
[INFO] Trace
com.envoisolutions.sxc.builder.BuildException: Could not compile  
generated files! Code: 3
         at  
com 
.envoisolutions.sxc.compiler.JavacCompiler.compile(JavacCompiler.java: 
105)
         at  
com.envoisolutions.sxc.jaxb.JAXBGenerator.generate(JAXBGenerator.java: 
88)
         at  
com 
.envoisolutions 
.sxc.jaxb.maven.SxcJaxbPlugin.execute(SxcJaxbPlugin.java:73)
         at  
org 
.apache 
.maven 
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
         at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
558)
         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)
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 4 minutes 22 seconds
[INFO] Finished at: Thu Jul 03 13:14:27 GMT+02:00 2008
[INFO] Final Memory: 35M/63M
[INFO]  
------------------------------------------------------------------------

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Here is another build error on a Windows Server 2003 machine :S

http://rifers.org/paste/show/7593

I started to feel that OpenEJB code is hating me :(

On Thu, Jul 3, 2008 at 2:20 PM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> Here it is Karan, this is the error extract only not the full build log.
>
> http://rifers.org/paste/show/7592
>
> On Wed, Jul 2, 2008 at 5:37 PM, Karan Malhi <ka...@gmail.com> wrote:
>> Mohammad,
>>
>> I could not see the error trace you provided earlier at rifers.org (looks
>> like they removed it from there). I think I am getting the same error but
>> not sure. Could you repost the error?
>>
>> On Tue, Jul 1, 2008 at 9:59 PM, Mohammad Nour El-Din <
>> nour.mohammad@gmail.com> wrote:
>>
>>> A new strange thing, the test case runs successfully from inside my
>>> Eclipse development environment, anybody knows whats going on ?
>>>
>>> On Fri, Jun 27, 2008 at 7:27 PM, Mohammad Nour El-Din
>>> <no...@gmail.com> wrote:
>>> > Yes thats true I have RHEL on my machine, can someone else try to
>>> > compile on a similar platform and see what will happen ?
>>> >
>>> > On Thu, Jun 26, 2008 at 3:04 PM, Daniel S. Haischt
>>> > <da...@googlemail.com> wrote:
>>> >> additional info: AFAIK both, Manu and Mohamed are on RHEL5.1.
>>> >>
>>> >> Maybe an issue related to  RHEL ?
>>> >>
>>> >> On Thu, Jun 26, 2008 at 1:40 PM, Manu George <ma...@gmail.com>
>>> wrote:
>>> >>> I am getting the same error as Mohammad. Running RHEL5 and sun jdk
>>> 1.5.0_15
>>> >>>
>>> >>> On Thu, Jun 26, 2008 at 2:59 PM, Karan Malhi <ka...@gmail.com>
>>> wrote:
>>> >>>> Just built OpenEJB with all the tests. No errors
>>> >>>>
>>> >>>> On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <
>>> david.blevins@visi.com>
>>> >>>> wrote:
>>> >>>>
>>> >>>>> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
>>> >>>>>
>>> >>>>>  Hi All...
>>> >>>>>>
>>> >>>>>>  I always get this error while building OpenEJB using a fres src
>>> >>>>>> code copy and an empty M2 repo. One of the WS Impl tests fails and
>>> >>>>>> make the whole build fail. Can someone explain please. Here is the
>>> >>>>>> build output http://rifers.org/paste/show/7566 - look at the end of
>>> >>>>>> the file starting from the highlighted line.
>>> >>>>>>
>>> >>>>>
>>> >>>>> I'm not seeing any errors.  Anyone else having issues?
>>> >>>>>
>>> >>>>> -David
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> Karan Singh Malhi
>>> >>>>
>>> >>>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Thanks
>>> > - Mohammad Nour
>>> >
>>>
>>>
>>>
>>> --
>>> Thanks
>>> - Mohammad Nour
>>>
>>
>>
>>
>> --
>> Karan Singh Malhi
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Here it is Karan, this is the error extract only not the full build log.

http://rifers.org/paste/show/7592

On Wed, Jul 2, 2008 at 5:37 PM, Karan Malhi <ka...@gmail.com> wrote:
> Mohammad,
>
> I could not see the error trace you provided earlier at rifers.org (looks
> like they removed it from there). I think I am getting the same error but
> not sure. Could you repost the error?
>
> On Tue, Jul 1, 2008 at 9:59 PM, Mohammad Nour El-Din <
> nour.mohammad@gmail.com> wrote:
>
>> A new strange thing, the test case runs successfully from inside my
>> Eclipse development environment, anybody knows whats going on ?
>>
>> On Fri, Jun 27, 2008 at 7:27 PM, Mohammad Nour El-Din
>> <no...@gmail.com> wrote:
>> > Yes thats true I have RHEL on my machine, can someone else try to
>> > compile on a similar platform and see what will happen ?
>> >
>> > On Thu, Jun 26, 2008 at 3:04 PM, Daniel S. Haischt
>> > <da...@googlemail.com> wrote:
>> >> additional info: AFAIK both, Manu and Mohamed are on RHEL5.1.
>> >>
>> >> Maybe an issue related to  RHEL ?
>> >>
>> >> On Thu, Jun 26, 2008 at 1:40 PM, Manu George <ma...@gmail.com>
>> wrote:
>> >>> I am getting the same error as Mohammad. Running RHEL5 and sun jdk
>> 1.5.0_15
>> >>>
>> >>> On Thu, Jun 26, 2008 at 2:59 PM, Karan Malhi <ka...@gmail.com>
>> wrote:
>> >>>> Just built OpenEJB with all the tests. No errors
>> >>>>
>> >>>> On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <
>> david.blevins@visi.com>
>> >>>> wrote:
>> >>>>
>> >>>>> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
>> >>>>>
>> >>>>>  Hi All...
>> >>>>>>
>> >>>>>>  I always get this error while building OpenEJB using a fres src
>> >>>>>> code copy and an empty M2 repo. One of the WS Impl tests fails and
>> >>>>>> make the whole build fail. Can someone explain please. Here is the
>> >>>>>> build output http://rifers.org/paste/show/7566 - look at the end of
>> >>>>>> the file starting from the highlighted line.
>> >>>>>>
>> >>>>>
>> >>>>> I'm not seeing any errors.  Anyone else having issues?
>> >>>>>
>> >>>>> -David
>> >>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Karan Singh Malhi
>> >>>>
>> >>>
>> >>
>> >
>> >
>> >
>> > --
>> > Thanks
>> > - Mohammad Nour
>> >
>>
>>
>>
>> --
>> Thanks
>> - Mohammad Nour
>>
>
>
>
> --
> Karan Singh Malhi
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Karan Malhi <ka...@gmail.com>.
Mohammad,

I could not see the error trace you provided earlier at rifers.org (looks
like they removed it from there). I think I am getting the same error but
not sure. Could you repost the error?

On Tue, Jul 1, 2008 at 9:59 PM, Mohammad Nour El-Din <
nour.mohammad@gmail.com> wrote:

> A new strange thing, the test case runs successfully from inside my
> Eclipse development environment, anybody knows whats going on ?
>
> On Fri, Jun 27, 2008 at 7:27 PM, Mohammad Nour El-Din
> <no...@gmail.com> wrote:
> > Yes thats true I have RHEL on my machine, can someone else try to
> > compile on a similar platform and see what will happen ?
> >
> > On Thu, Jun 26, 2008 at 3:04 PM, Daniel S. Haischt
> > <da...@googlemail.com> wrote:
> >> additional info: AFAIK both, Manu and Mohamed are on RHEL5.1.
> >>
> >> Maybe an issue related to  RHEL ?
> >>
> >> On Thu, Jun 26, 2008 at 1:40 PM, Manu George <ma...@gmail.com>
> wrote:
> >>> I am getting the same error as Mohammad. Running RHEL5 and sun jdk
> 1.5.0_15
> >>>
> >>> On Thu, Jun 26, 2008 at 2:59 PM, Karan Malhi <ka...@gmail.com>
> wrote:
> >>>> Just built OpenEJB with all the tests. No errors
> >>>>
> >>>> On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <
> david.blevins@visi.com>
> >>>> wrote:
> >>>>
> >>>>> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
> >>>>>
> >>>>>  Hi All...
> >>>>>>
> >>>>>>  I always get this error while building OpenEJB using a fres src
> >>>>>> code copy and an empty M2 repo. One of the WS Impl tests fails and
> >>>>>> make the whole build fail. Can someone explain please. Here is the
> >>>>>> build output http://rifers.org/paste/show/7566 - look at the end of
> >>>>>> the file starting from the highlighted line.
> >>>>>>
> >>>>>
> >>>>> I'm not seeing any errors.  Anyone else having issues?
> >>>>>
> >>>>> -David
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Karan Singh Malhi
> >>>>
> >>>
> >>
> >
> >
> >
> > --
> > Thanks
> > - Mohammad Nour
> >
>
>
>
> --
> Thanks
> - Mohammad Nour
>



-- 
Karan Singh Malhi

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
A new strange thing, the test case runs successfully from inside my
Eclipse development environment, anybody knows whats going on ?

On Fri, Jun 27, 2008 at 7:27 PM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> Yes thats true I have RHEL on my machine, can someone else try to
> compile on a similar platform and see what will happen ?
>
> On Thu, Jun 26, 2008 at 3:04 PM, Daniel S. Haischt
> <da...@googlemail.com> wrote:
>> additional info: AFAIK both, Manu and Mohamed are on RHEL5.1.
>>
>> Maybe an issue related to  RHEL ?
>>
>> On Thu, Jun 26, 2008 at 1:40 PM, Manu George <ma...@gmail.com> wrote:
>>> I am getting the same error as Mohammad. Running RHEL5 and sun jdk 1.5.0_15
>>>
>>> On Thu, Jun 26, 2008 at 2:59 PM, Karan Malhi <ka...@gmail.com> wrote:
>>>> Just built OpenEJB with all the tests. No errors
>>>>
>>>> On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <da...@visi.com>
>>>> wrote:
>>>>
>>>>> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
>>>>>
>>>>>  Hi All...
>>>>>>
>>>>>>  I always get this error while building OpenEJB using a fres src
>>>>>> code copy and an empty M2 repo. One of the WS Impl tests fails and
>>>>>> make the whole build fail. Can someone explain please. Here is the
>>>>>> build output http://rifers.org/paste/show/7566 - look at the end of
>>>>>> the file starting from the highlighted line.
>>>>>>
>>>>>
>>>>> I'm not seeing any errors.  Anyone else having issues?
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Karan Singh Malhi
>>>>
>>>
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Yes thats true I have RHEL on my machine, can someone else try to
compile on a similar platform and see what will happen ?

On Thu, Jun 26, 2008 at 3:04 PM, Daniel S. Haischt
<da...@googlemail.com> wrote:
> additional info: AFAIK both, Manu and Mohamed are on RHEL5.1.
>
> Maybe an issue related to  RHEL ?
>
> On Thu, Jun 26, 2008 at 1:40 PM, Manu George <ma...@gmail.com> wrote:
>> I am getting the same error as Mohammad. Running RHEL5 and sun jdk 1.5.0_15
>>
>> On Thu, Jun 26, 2008 at 2:59 PM, Karan Malhi <ka...@gmail.com> wrote:
>>> Just built OpenEJB with all the tests. No errors
>>>
>>> On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <da...@visi.com>
>>> wrote:
>>>
>>>> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
>>>>
>>>>  Hi All...
>>>>>
>>>>>  I always get this error while building OpenEJB using a fres src
>>>>> code copy and an empty M2 repo. One of the WS Impl tests fails and
>>>>> make the whole build fail. Can someone explain please. Here is the
>>>>> build output http://rifers.org/paste/show/7566 - look at the end of
>>>>> the file starting from the highlighted line.
>>>>>
>>>>
>>>> I'm not seeing any errors.  Anyone else having issues?
>>>>
>>>> -David
>>>>
>>>>
>>>
>>>
>>> --
>>> Karan Singh Malhi
>>>
>>
>



-- 
Thanks
- Mohammad Nour

Re: Build Error

Posted by "Daniel S. Haischt" <da...@googlemail.com>.
additional info: AFAIK both, Manu and Mohamed are on RHEL5.1.

Maybe an issue related to  RHEL ?

On Thu, Jun 26, 2008 at 1:40 PM, Manu George <ma...@gmail.com> wrote:
> I am getting the same error as Mohammad. Running RHEL5 and sun jdk 1.5.0_15
>
> On Thu, Jun 26, 2008 at 2:59 PM, Karan Malhi <ka...@gmail.com> wrote:
>> Just built OpenEJB with all the tests. No errors
>>
>> On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <da...@visi.com>
>> wrote:
>>
>>> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
>>>
>>>  Hi All...
>>>>
>>>>  I always get this error while building OpenEJB using a fres src
>>>> code copy and an empty M2 repo. One of the WS Impl tests fails and
>>>> make the whole build fail. Can someone explain please. Here is the
>>>> build output http://rifers.org/paste/show/7566 - look at the end of
>>>> the file starting from the highlighted line.
>>>>
>>>
>>> I'm not seeing any errors.  Anyone else having issues?
>>>
>>> -David
>>>
>>>
>>
>>
>> --
>> Karan Singh Malhi
>>
>

Re: Build Error

Posted by Manu George <ma...@gmail.com>.
I am getting the same error as Mohammad. Running RHEL5 and sun jdk 1.5.0_15

On Thu, Jun 26, 2008 at 2:59 PM, Karan Malhi <ka...@gmail.com> wrote:
> Just built OpenEJB with all the tests. No errors
>
> On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <da...@visi.com>
> wrote:
>
>> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
>>
>>  Hi All...
>>>
>>>  I always get this error while building OpenEJB using a fres src
>>> code copy and an empty M2 repo. One of the WS Impl tests fails and
>>> make the whole build fail. Can someone explain please. Here is the
>>> build output http://rifers.org/paste/show/7566 - look at the end of
>>> the file starting from the highlighted line.
>>>
>>
>> I'm not seeing any errors.  Anyone else having issues?
>>
>> -David
>>
>>
>
>
> --
> Karan Singh Malhi
>

Re: Build Error

Posted by Karan Malhi <ka...@gmail.com>.
Just built OpenEJB with all the tests. No errors

On Wed, Jun 25, 2008 at 4:40 PM, David Blevins <da...@visi.com>
wrote:

> On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:
>
>  Hi All...
>>
>>  I always get this error while building OpenEJB using a fres src
>> code copy and an empty M2 repo. One of the WS Impl tests fails and
>> make the whole build fail. Can someone explain please. Here is the
>> build output http://rifers.org/paste/show/7566 - look at the end of
>> the file starting from the highlighted line.
>>
>
> I'm not seeing any errors.  Anyone else having issues?
>
> -David
>
>


-- 
Karan Singh Malhi

Re: Build Error

Posted by David Blevins <da...@visi.com>.
On Jun 25, 2008, at 10:53 AM, Mohammad Nour El-Din wrote:

> Hi All...
>
>   I always get this error while building OpenEJB using a fres src
> code copy and an empty M2 repo. One of the WS Impl tests fails and
> make the whole build fail. Can someone explain please. Here is the
> build output http://rifers.org/paste/show/7566 - look at the end of
> the file starting from the highlighted line.

I'm not seeing any errors.  Anyone else having issues?

-David