Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread Simon Laws

On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:


Hi Sebastien,
The test runs fines from /http-tomcat.
--Kevin

On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:

 [snip]
 Kevin Williams wrote:
  Now, I am getting the Connection refused error:
 
  INFO: Stopping Coyote HTTP/1.1 on http-8586
  Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.Embedded start
  INFO: Starting tomcat server
  Apr 24, 2007 12:31:07 PM org.apache.catalina.core.StandardEngine start
  INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
  Apr 24, 2007 12:31:07 PM
  org.apache.catalina.startup.ContextConfigdefaultWebCon
  fig
  INFO: No default web.xml
  Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol init
  INFO: Initializing Coyote HTTP/1.1 on http-8586
  Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol start
  INFO: Starting Coyote HTTP/1.1 on http-8586
  Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
4.686sec
   FA
  ILURE!
  testRequestSession(org.apache.tuscany.http.tomcat.TomcatServerTestCase
)
  Time el
  apsed: 1.082 sec   ERROR!
  java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
 at java.net.PlainSocketImpl.connectToAddress(
PlainSocketImpl.java
  :233)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
 at java.net.Socket.connect(Socket.java:536)
 at java.net.Socket.connect(Socket.java:486)
 at java.net.Socket.init(Socket.java:394)
 at java.net.Socket.init(Socket.java:207)
 at
  org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
  n(TomcatServerTestCase.java:87)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.
  java:64)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAcces
  sorImpl.java:43)
 

 Kevin,

 This one is interesting as it's an isolated Tomcat test case, not even
 involving integration with the Web Service binding. I suspect a timing
 issue, where Tomcat is returning from the start method before it's
 actually ready to accept requests. I'm going to investigate it but have
 question: Are you able to reproduce this problem when running mvn from
 the http-tomcat directory? or are you only running into it when building
 the whole trunk?

 Thanks

 --
 Jean-Sebastien


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




I checked out all of the java changes and my build doesn't work with the
switch to the NioProtocol connector in http-tomcat. I get Connection
Refused on the third test case, i.e. it seems to work twice and then
fails.  I backed out to the previous vanilla connection and it gets all the
way through the test.

Simon


Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread Jean-Sebastien Delfino

Simon Laws wrote:

On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:


Hi Sebastien,
The test runs fines from /http-tomcat.
--Kevin

On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:

 [snip]
 Kevin Williams wrote:
  Now, I am getting the Connection refused error:
 
  INFO: Stopping Coyote HTTP/1.1 on http-8586
  Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.Embedded start
  INFO: Starting tomcat server
  Apr 24, 2007 12:31:07 PM org.apache.catalina.core.StandardEngine 
start

  INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
  Apr 24, 2007 12:31:07 PM
  org.apache.catalina.startup.ContextConfigdefaultWebCon
  fig
  INFO: No default web.xml
  Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol 
init

  INFO: Initializing Coyote HTTP/1.1 on http-8586
  Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol 
start

  INFO: Starting Coyote HTTP/1.1 on http-8586
  Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
4.686sec
   FA
  ILURE!
  
testRequestSession(org.apache.tuscany.http.tomcat.TomcatServerTestCase

)
  Time el
  apsed: 1.082 sec   ERROR!
  java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)

 at java.net.PlainSocketImpl.connectToAddress(
PlainSocketImpl.java
  :233)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
 at java.net.Socket.connect(Socket.java:536)
 at java.net.Socket.connect(Socket.java:486)
 at java.net.Socket.init(Socket.java:394)
 at java.net.Socket.init(Socket.java:207)
 at
  
org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio

  n(TomcatServerTestCase.java:87)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

 at sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.
  java:64)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAcces
  sorImpl.java:43)
 

 Kevin,

 This one is interesting as it's an isolated Tomcat test case, not even
 involving integration with the Web Service binding. I suspect a timing
 issue, where Tomcat is returning from the start method before it's
 actually ready to accept requests. I'm going to investigate it but 
have

 question: Are you able to reproduce this problem when running mvn from
 the http-tomcat directory? or are you only running into it when 
building

 the whole trunk?

 Thanks

 --
 Jean-Sebastien


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




I checked out all of the java changes and my build doesn't work with the
switch to the NioProtocol connector in http-tomcat. I get Connection
Refused on the third test case, i.e. it seems to work twice and then
fails.  I backed out to the previous vanilla connection and it gets 
all the

way through the test.

Simon



Simon, could you please try revision r532289?

The following changes: http://svn.apache.org/viewvc?view=revrevision=532289
should help with these problems.

With these changes, I am able to build on both Linux and Windows.

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread Simon Laws

On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:


Simon Laws wrote:
 On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:

 Hi Sebastien,
 The test runs fines from /http-tomcat.
 --Kevin

 On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
 
  [snip]
  Kevin Williams wrote:
   Now, I am getting the Connection refused error:
  
   INFO: Stopping Coyote HTTP/1.1 on http-8586
   Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.Embedded start
   INFO: Starting tomcat server
   Apr 24, 2007 12:31:07 PM org.apache.catalina.core.StandardEngine
 start
   INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
   Apr 24, 2007 12:31:07 PM
   org.apache.catalina.startup.ContextConfigdefaultWebCon
   fig
   INFO: No default web.xml
   Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol
 init
   INFO: Initializing Coyote HTTP/1.1 on http-8586
   Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol
 start
   INFO: Starting Coyote HTTP/1.1 on http-8586
   Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
 4.686sec
FA
   ILURE!
  
 testRequestSession(org.apache.tuscany.http.tomcat.TomcatServerTestCase
 )
   Time el
   apsed: 1.082 sec   ERROR!
   java.net.ConnectException: Connection refused: connect
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at
 java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
  at java.net.PlainSocketImpl.connectToAddress(
 PlainSocketImpl.java
   :233)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java
:220)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java
:378)
  at java.net.Socket.connect(Socket.java:536)
  at java.net.Socket.connect(Socket.java:486)
  at java.net.Socket.init(Socket.java:394)
  at java.net.Socket.init(Socket.java:207)
  at
  
 org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
   n(TomcatServerTestCase.java:87)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke
   (NativeMethodAccessorImpl.
   java:64)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
   (DelegatingMethodAcces
   sorImpl.java:43)
  
 
  Kevin,
 
  This one is interesting as it's an isolated Tomcat test case, not
even
  involving integration with the Web Service binding. I suspect a
timing
  issue, where Tomcat is returning from the start method before it's
  actually ready to accept requests. I'm going to investigate it but
 have
  question: Are you able to reproduce this problem when running mvn
from
  the http-tomcat directory? or are you only running into it when
 building
  the whole trunk?
 
  Thanks
 
  --
  Jean-Sebastien
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 I checked out all of the java changes and my build doesn't work with the
 switch to the NioProtocol connector in http-tomcat. I get Connection
 Refused on the third test case, i.e. it seems to work twice and then
 fails.  I backed out to the previous vanilla connection and it gets
 all the
 way through the test.

 Simon


Simon, could you please try revision r532289?

The following changes:
http://svn.apache.org/viewvc?view=revrevision=532289
should help with these problems.

With these changes, I am able to build on both Linux and Windows.

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Thanks Jean_Sebastien, will do. I also have a fix for lockup problems

we've been seeing in the wsdl and databinding itests I'll check it in when
I've tested against these latest change of yours.

Regards

Simon


Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread Simon Laws

On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:




On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:

 Simon Laws wrote:
  On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:
 
  Hi Sebastien,
  The test runs fines from /http-tomcat.
  --Kevin
 
  On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
  
   [snip]
   Kevin Williams wrote:
Now, I am getting the Connection refused error:
   
INFO: Stopping Coyote HTTP/1.1 on http-8586
Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.Embeddedstart
INFO: Starting tomcat server
Apr 24, 2007 12:31:07 PM org.apache.catalina.core.StandardEngine
  start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Apr 24, 2007 12:31:07 PM
org.apache.catalina.startup.ContextConfigdefaultWebCon
fig
INFO: No default web.xml
Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol
  init
INFO: Initializing Coyote HTTP/1.1 on http-8586
Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol
  start
INFO: Starting Coyote HTTP/1.1 on http-8586
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
  4.686sec
 FA
ILURE!
   
  testRequestSession(
 org.apache.tuscany.http.tomcat.TomcatServerTestCase
  )
Time el
apsed: 1.082 sec   ERROR!
java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at
  java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java :372)
   at java.net.PlainSocketImpl.connectToAddress(
  PlainSocketImpl.java
:233)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java
 :378)
   at java.net.Socket.connect(Socket.java:536)
   at java.net.Socket.connect (Socket.java:486)
   at java.net.Socket.init(Socket.java:394)
   at java.net.Socket.init(Socket.java:207)
   at
   
  org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
n(TomcatServerTestCase.java:87)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
   
  
   Kevin,
  
   This one is interesting as it's an isolated Tomcat test case, not
 even
   involving integration with the Web Service binding. I suspect a
 timing
   issue, where Tomcat is returning from the start method before it's
   actually ready to accept requests. I'm going to investigate it but
  have
   question: Are you able to reproduce this problem when running mvn
 from
   the http-tomcat directory? or are you only running into it when
  building
   the whole trunk?
  
   Thanks
  
   --
   Jean-Sebastien
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  I checked out all of the java changes and my build doesn't work with
 the
  switch to the NioProtocol connector in http-tomcat. I get Connection
  Refused on the third test case, i.e. it seems to work twice and then
  fails.  I backed out to the previous vanilla connection and it gets
  all the
  way through the test.
 
  Simon
 

 Simon, could you please try revision r532289?

 The following changes:
 http://svn.apache.org/viewvc?view=revrevision=532289
 should help with these problems.

 With these changes, I am able to build on both Linux and Windows.

 --
 Jean-Sebastien


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 Thanks Jean_Sebastien, will do. I also have a fix for lockup problems
we've been seeing in the wsdl and databinding itests I'll check it in when
I've tested against these latest change of yours.

Regards

Simon




OK, I'm at r532305. I did a mvn clean and deleted sca from my local maven
repository and I still get the exception I was seeing before with the
NioProtocol piece in place.

25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:32 org.apache.coyote.http11.Http11NioProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:32 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
25-Apr-2007 11:44:32 org.apache.catalina.startup.ContextConfigdefaultWebConfig
INFO: No default web.xml
25-Apr-2007 11:44:32 org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:32 org.apache.coyote.http11.Http11NioProtocol start
INFO: 

Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread ant elder

On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:


On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:



 On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
 
  Simon Laws wrote:
   On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:
  
   Hi Sebastien,
   The test runs fines from /http-tomcat.
   --Kevin
  
   On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
   
[snip]
Kevin Williams wrote:
 Now, I am getting the Connection refused error:

 INFO: Stopping Coyote HTTP/1.1 on http-8586
 Apr 24, 2007 12:31:07 PM
org.apache.catalina.startup.Embeddedstart
 INFO: Starting tomcat server
 Apr 24, 2007 12:31:07 PM
org.apache.catalina.core.StandardEngine
   start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
 Apr 24, 2007 12:31:07 PM
 org.apache.catalina.startup.ContextConfigdefaultWebCon
 fig
 INFO: No default web.xml
 Apr 24, 2007 12:31:07 PM
org.apache.coyote.http11.Http11Protocol
   init
 INFO: Initializing Coyote HTTP/1.1 on http-8586
 Apr 24, 2007 12:31:07 PM
org.apache.coyote.http11.Http11Protocol
   start
 INFO: Starting Coyote HTTP/1.1 on http-8586
 Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
   4.686sec
  FA
 ILURE!

   testRequestSession(
  org.apache.tuscany.http.tomcat.TomcatServerTestCase
   )
 Time el
 apsed: 1.082 sec   ERROR!
 java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
   java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java :372)
at java.net.PlainSocketImpl.connectToAddress(
   PlainSocketImpl.java
 :233)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java
:220)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java
  :378)
at java.net.Socket.connect(Socket.java:536)
at java.net.Socket.connect (Socket.java:486)
at java.net.Socket.init(Socket.java:394)
at java.net.Socket.init(Socket.java:207)
at

  
org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
 n(TomcatServerTestCase.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
   Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.
 java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAcces
 sorImpl.java:43)

   
Kevin,
   
This one is interesting as it's an isolated Tomcat test case, not
  even
involving integration with the Web Service binding. I suspect a
  timing
issue, where Tomcat is returning from the start method before
it's
actually ready to accept requests. I'm going to investigate it
but
   have
question: Are you able to reproduce this problem when running mvn
  from
the http-tomcat directory? or are you only running into it when
   building
the whole trunk?
   
Thanks
   
--
Jean-Sebastien
   
   
   
  -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
   I checked out all of the java changes and my build doesn't work with
  the
   switch to the NioProtocol connector in http-tomcat. I get
Connection
   Refused on the third test case, i.e. it seems to work twice and
then
   fails.  I backed out to the previous vanilla connection and it gets
   all the
   way through the test.
  
   Simon
  
 
  Simon, could you please try revision r532289?
 
  The following changes:
  http://svn.apache.org/viewvc?view=revrevision=532289
  should help with these problems.
 
  With these changes, I am able to build on both Linux and Windows.
 
  --
  Jean-Sebastien
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  Thanks Jean_Sebastien, will do. I also have a fix for lockup problems
 we've been seeing in the wsdl and databinding itests I'll check it in
when
 I've tested against these latest change of yours.

 Regards

 Simon



OK, I'm at r532305. I did a mvn clean and deleted sca from my local maven
repository and I still get the exception I was seeing before with the
NioProtocol piece in place.

25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:32 org.apache.coyote.http11.Http11NioProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:32 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
25-Apr-2007 11:44:32
org.apache.catalina.startup.ContextConfigdefaultWebConfig
INFO: No default web.xml
25-Apr-2007 

Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread Jean-Sebastien Delfino

ant elder wrote:

On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:


On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:



 On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
 
  Simon Laws wrote:
   On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:
  
   Hi Sebastien,
   The test runs fines from /http-tomcat.
   --Kevin
  
   On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
   
[snip]
Kevin Williams wrote:
 Now, I am getting the Connection refused error:

 INFO: Stopping Coyote HTTP/1.1 on http-8586
 Apr 24, 2007 12:31:07 PM
org.apache.catalina.startup.Embeddedstart
 INFO: Starting tomcat server
 Apr 24, 2007 12:31:07 PM
org.apache.catalina.core.StandardEngine
   start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
 Apr 24, 2007 12:31:07 PM
 org.apache.catalina.startup.ContextConfigdefaultWebCon
 fig
 INFO: No default web.xml
 Apr 24, 2007 12:31:07 PM
org.apache.coyote.http11.Http11Protocol
   init
 INFO: Initializing Coyote HTTP/1.1 on http-8586
 Apr 24, 2007 12:31:07 PM
org.apache.coyote.http11.Http11Protocol
   start
 INFO: Starting Coyote HTTP/1.1 on http-8586
 Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time 
elapsed:

   4.686sec
  FA
 ILURE!

   testRequestSession(
  org.apache.tuscany.http.tomcat.TomcatServerTestCase
   )
 Time el
 apsed: 1.082 sec   ERROR!
 java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native 
Method)

at
   java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java :372)
at java.net.PlainSocketImpl.connectToAddress(
   PlainSocketImpl.java
 :233)
at 
java.net.PlainSocketImpl.connect(PlainSocketImpl.java

:220)
at 
java.net.SocksSocketImpl.connect(SocksSocketImpl.java

  :378)
at java.net.Socket.connect(Socket.java:536)
at java.net.Socket.connect (Socket.java:486)
at java.net.Socket.init(Socket.java:394)
at java.net.Socket.init(Socket.java:207)
at

  
org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
 n(TomcatServerTestCase.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
   Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.
 java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAcces
 sorImpl.java:43)

   
Kevin,
   
This one is interesting as it's an isolated Tomcat test 
case, not

  even
involving integration with the Web Service binding. I suspect a
  timing
issue, where Tomcat is returning from the start method before
it's
actually ready to accept requests. I'm going to investigate it
but
   have
question: Are you able to reproduce this problem when 
running mvn

  from
the http-tomcat directory? or are you only running into it when
   building
the whole trunk?
   
Thanks
   
--
Jean-Sebastien
   
   
   
  
-

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
   I checked out all of the java changes and my build doesn't work 
with

  the
   switch to the NioProtocol connector in http-tomcat. I get
Connection
   Refused on the third test case, i.e. it seems to work twice and
then
   fails.  I backed out to the previous vanilla connection and it 
gets

   all the
   way through the test.
  
   Simon
  
 
  Simon, could you please try revision r532289?
 
  The following changes:
  http://svn.apache.org/viewvc?view=revrevision=532289
  should help with these problems.
 
  With these changes, I am able to build on both Linux and Windows.
 
  --
  Jean-Sebastien
 
 
  
-

  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  Thanks Jean_Sebastien, will do. I also have a fix for lockup 
problems

 we've been seeing in the wsdl and databinding itests I'll check it in
when
 I've tested against these latest change of yours.

 Regards

 Simon



OK, I'm at r532305. I did a mvn clean and deleted sca from my local 
maven

repository and I still get the exception I was seeing before with the
NioProtocol piece in place.

25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:32 org.apache.coyote.http11.Http11NioProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8586
25-Apr-2007 11:44:32 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
25-Apr-2007 11:44:32
org.apache.catalina.startup.ContextConfigdefaultWebConfig

Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread Simon Laws

On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:


ant elder wrote:
 On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:

 On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:
 
 
 
  On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
  
   Simon Laws wrote:
On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:
   
Hi Sebastien,
The test runs fines from /http-tomcat.
--Kevin
   
On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:

 [snip]
 Kevin Williams wrote:
  Now, I am getting the Connection refused error:
 
  INFO: Stopping Coyote HTTP/1.1 on http-8586
  Apr 24, 2007 12:31:07 PM
 org.apache.catalina.startup.Embeddedstart
  INFO: Starting tomcat server
  Apr 24, 2007 12:31:07 PM
 org.apache.catalina.core.StandardEngine
start
  INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
  Apr 24, 2007 12:31:07 PM
  org.apache.catalina.startup.ContextConfigdefaultWebCon
  fig
  INFO: No default web.xml
  Apr 24, 2007 12:31:07 PM
 org.apache.coyote.http11.Http11Protocol
init
  INFO: Initializing Coyote HTTP/1.1 on http-8586
  Apr 24, 2007 12:31:07 PM
 org.apache.coyote.http11.Http11Protocol
start
  INFO: Starting Coyote HTTP/1.1 on http-8586
  Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time
 elapsed:
4.686sec
   FA
  ILURE!
 
testRequestSession(
   org.apache.tuscany.http.tomcat.TomcatServerTestCase
)
  Time el
  apsed: 1.082 sec   ERROR!
  java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native
 Method)
 at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java :372)
 at java.net.PlainSocketImpl.connectToAddress(
PlainSocketImpl.java
  :233)
 at
 java.net.PlainSocketImpl.connect(PlainSocketImpl.java
 :220)
 at
 java.net.SocksSocketImpl.connect(SocksSocketImpl.java
   :378)
 at java.net.Socket.connect(Socket.java:536)
 at java.net.Socket.connect (Socket.java:486)
 at java.net.Socket.init(Socket.java:394)
 at java.net.Socket.init(Socket.java:207)
 at
 
   
 org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
  n(TomcatServerTestCase.java:87)
 at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native
Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.
  java:64)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAcces
  sorImpl.java:43)
 

 Kevin,

 This one is interesting as it's an isolated Tomcat test
 case, not
   even
 involving integration with the Web Service binding. I suspect
a
   timing
 issue, where Tomcat is returning from the start method before
 it's
 actually ready to accept requests. I'm going to investigate it
 but
have
 question: Are you able to reproduce this problem when
 running mvn
   from
 the http-tomcat directory? or are you only running into it
when
building
 the whole trunk?

 Thanks

 --
 Jean-Sebastien



  
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]


   
I checked out all of the java changes and my build doesn't work
 with
   the
switch to the NioProtocol connector in http-tomcat. I get
 Connection
Refused on the third test case, i.e. it seems to work twice and
 then
fails.  I backed out to the previous vanilla connection and it
 gets
all the
way through the test.
   
Simon
   
  
   Simon, could you please try revision r532289?
  
   The following changes:
   http://svn.apache.org/viewvc?view=revrevision=532289
   should help with these problems.
  
   With these changes, I am able to build on both Linux and Windows.
  
   --
   Jean-Sebastien
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
   Thanks Jean_Sebastien, will do. I also have a fix for lockup
 problems
  we've been seeing in the wsdl and databinding itests I'll check it in
 when
  I've tested against these latest change of yours.
 
  Regards
 
  Simon



 OK, I'm at r532305. I did a mvn clean and deleted sca from my local
 maven
 repository and I still get the exception I was seeing before with the
 NioProtocol piece in place.

 25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8586
 25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol start
 INFO: Starting Coyote HTTP/1.1 on http-8586
 25-Apr-2007 11:44:32 org.apache.coyote.http11.Http11NioProtocol destroy
 INFO: Stopping Coyote HTTP/1.1 on 

Re: Tomcat errors when trying to build the latest trunk

2007-04-25 Thread Kevin Williams

I am now building cleanly with 532452.
Thanks!

On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:


On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:

 ant elder wrote:
  On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:
 
  On 4/25/07, Simon Laws [EMAIL PROTECTED] wrote:
  
  
  
   On 4/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
   
Simon Laws wrote:
 On 4/24/07, Kevin Williams [EMAIL PROTECTED] wrote:

 Hi Sebastien,
 The test runs fines from /http-tomcat.
 --Kevin

 On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED]
wrote:
 
  [snip]
  Kevin Williams wrote:
   Now, I am getting the Connection refused error:
  
   INFO: Stopping Coyote HTTP/1.1 on http-8586
   Apr 24, 2007 12:31:07 PM
  org.apache.catalina.startup.Embeddedstart
   INFO: Starting tomcat server
   Apr 24, 2007 12:31:07 PM
  org.apache.catalina.core.StandardEngine
 start
   INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
   Apr 24, 2007 12:31:07 PM
   org.apache.catalina.startup.ContextConfigdefaultWebCon
   fig
   INFO: No default web.xml
   Apr 24, 2007 12:31:07 PM
  org.apache.coyote.http11.Http11Protocol
 init
   INFO: Initializing Coyote HTTP/1.1 on http-8586
   Apr 24, 2007 12:31:07 PM
  org.apache.coyote.http11.Http11Protocol
 start
   INFO: Starting Coyote HTTP/1.1 on http-8586
   Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time
  elapsed:
 4.686sec
FA
   ILURE!
  
 testRequestSession(
org.apache.tuscany.http.tomcat.TomcatServerTestCase
 )
   Time el
   apsed: 1.082 sec   ERROR!
   java.net.ConnectException: Connection refused: connect
  at java.net.PlainSocketImpl.socketConnect(Native
  Method)
  at
 java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java :372)
  at java.net.PlainSocketImpl.connectToAddress(
 PlainSocketImpl.java
   :233)
  at
  java.net.PlainSocketImpl.connect(PlainSocketImpl.java
  :220)
  at
  java.net.SocksSocketImpl.connect(SocksSocketImpl.java
:378)
  at java.net.Socket.connect(Socket.java:536)
  at java.net.Socket.connect (Socket.java:486)
  at java.net.Socket.init(Socket.java:394)
  at java.net.Socket.init(Socket.java:207)
  at
  

  org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
   n(TomcatServerTestCase.java:87)
  at sun.reflect.NativeMethodAccessorImpl.invoke0
 (Native
 Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke
   (NativeMethodAccessorImpl.
   java:64)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
   (DelegatingMethodAcces
   sorImpl.java:43)
  
 
  Kevin,
 
  This one is interesting as it's an isolated Tomcat test
  case, not
even
  involving integration with the Web Service binding. I
suspect
 a
timing
  issue, where Tomcat is returning from the start method
before
  it's
  actually ready to accept requests. I'm going to investigate
it
  but
 have
  question: Are you able to reproduce this problem when
  running mvn
from
  the http-tomcat directory? or are you only running into it
 when
 building
  the whole trunk?
 
  Thanks
 
  --
  Jean-Sebastien
 
 
 
   
  -
  To unsubscribe, e-mail:
[EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

 I checked out all of the java changes and my build doesn't work
  with
the
 switch to the NioProtocol connector in http-tomcat. I get
  Connection
 Refused on the third test case, i.e. it seems to work twice
and
  then
 fails.  I backed out to the previous vanilla connection and it
  gets
 all the
 way through the test.

 Simon

   
Simon, could you please try revision r532289?
   
The following changes:
http://svn.apache.org/viewvc?view=revrevision=532289
should help with these problems.
   
With these changes, I am able to build on both Linux and Windows.
   
--
Jean-Sebastien
   
   
   
  -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
Thanks Jean_Sebastien, will do. I also have a fix for lockup
  problems
   we've been seeing in the wsdl and databinding itests I'll check it
in
  when
   I've tested against these latest change of yours.
  
   Regards
  
   Simon
 
 
 
  OK, I'm at r532305. I did a mvn clean and deleted sca from my local
  maven
  repository and I still get the exception I was seeing before with the
  NioProtocol piece in place.
 
  25-Apr-2007 11:44:30 org.apache.coyote.http11.Http11NioProtocol init
  INFO: 

Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Simon Nash

I'm seeing lots of Tomcat-related test failures when trying to build
the latest trunk code.  I've done a new checkout and cleaned out my
maven repo.  Here's a sample:

Running org.apache.tuscany.binding.axis2.itests.HelloWorldTestCase
log4j:WARN No appenders could be found for logger 
(org.apache.axiom.om.util.StAXUtils).
log4j:WARN Please initialize the log4j system properly.
24-Apr-2007 17:35:17 org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
24-Apr-2007 17:35:18 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
24-Apr-2007 17:35:18 org.apache.catalina.startup.ContextConfig defaultWebConfig
INFO: No default web.xml
24-Apr-2007 17:35:18 org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_0.xsd
24-Apr-2007 17:35:18 org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for 
/javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
24-Apr-2007 17:35:18 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:18 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:19 org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.014 sec
Running org.apache.tuscany.binding.axis2.Axis2ServiceTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running 
org.apache.tuscany.binding.axis2.itests.endpoints.WSDLRelativeURITestCase
24-Apr-2007 17:35:19 org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
24-Apr-2007 17:35:19 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
24-Apr-2007 17:35:19 org.apache.catalina.startup.ContextConfig defaultWebConfig
INFO: No default web.xml
24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:23 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:24 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)
at 
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:310)
at java.lang.Thread.run(Thread.java:595)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.168 sec  
FAILURE!
testCalculator(org.apache.tuscany.binding.axis2.itests.endpoints.WSDLRelativeURITestCase)
  Time elapsed: 5.137 sec   ERROR!
java.lang.reflect.UndeclaredThrowableException
at $Proxy6.getGreetings(Unknown Source)
at 
org.apache.tuscany.binding.axis2.itests.HelloWorldOMComponent.getGreetings(HelloWorldOMComponent.java:31)
at 
org.apache.tuscany.binding.axis2.itests.endpoints.AbstractHelloWorldOMTestCase.testCalculator(AbstractHelloWorldOMTestCase.java:44)
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:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
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:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
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:138)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at 

Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Simon Laws

On 4/24/07, Simon Nash [EMAIL PROTECTED] wrote:


I'm seeing lots of Tomcat-related test failures when trying to build
the latest trunk code.  I've done a new checkout and cleaned out my
maven repo.  Here's a sample:

Running org.apache.tuscany.binding.axis2.itests.HelloWorldTestCase
log4j:WARN No appenders could be found for logger (
org.apache.axiom.om.util.StAXUtils).
log4j:WARN Please initialize the log4j system properly.
24-Apr-2007 17:35:17 org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
24-Apr-2007 17:35:18 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
24-Apr-2007 17:35:18 org.apache.catalina.startup.ContextConfigdefaultWebConfig
INFO: No default web.xml
24-Apr-2007 17:35:18 org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_0.xsd
24-Apr-2007 17:35:18 org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for
/javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
24-Apr-2007 17:35:18 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:18 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:19 org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.014 sec
Running org.apache.tuscany.binding.axis2.Axis2ServiceTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running
org.apache.tuscany.binding.axis2.itests.endpoints.WSDLRelativeURITestCase
24-Apr-2007 17:35:19 org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
24-Apr-2007 17:35:19 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
24-Apr-2007 17:35:19 org.apache.catalina.startup.ContextConfigdefaultWebConfig
INFO: No default web.xml
24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:23 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
24-Apr-2007 17:35:24 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(
DefaultServerSocketFactory.java:61)
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(
JIoEndpoint.java:310)
at java.lang.Thread.run(Thread.java:595)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.168 sec
 FAILURE!
testCalculator(
org.apache.tuscany.binding.axis2.itests.endpoints.WSDLRelativeURITestCase)  Time
elapsed: 5.137 sec   ERROR!
java.lang.reflect.UndeclaredThrowableException
at $Proxy6.getGreetings(Unknown Source)
at
org.apache.tuscany.binding.axis2.itests.HelloWorldOMComponent.getGreetings
(HelloWorldOMComponent.java:31)
at
org.apache.tuscany.binding.axis2.itests.endpoints.AbstractHelloWorldOMTestCase.testCalculator
(AbstractHelloWorldOMTestCase.java:44)
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:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
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:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
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:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
 

Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Luciano Resende

You might want to check if you have any http server up or something using
ports 80 or 8080...

On 4/24/07, Simon Laws [EMAIL PROTECTED] wrote:


On 4/24/07, Simon Nash [EMAIL PROTECTED] wrote:

 I'm seeing lots of Tomcat-related test failures when trying to build
 the latest trunk code.  I've done a new checkout and cleaned out my
 maven repo.  Here's a sample:

 Running org.apache.tuscany.binding.axis2.itests.HelloWorldTestCase
 log4j:WARN No appenders could be found for logger (
 org.apache.axiom.om.util.StAXUtils).
 log4j:WARN Please initialize the log4j system properly.
 24-Apr-2007 17:35:17 org.apache.catalina.startup.Embedded start
 INFO: Starting tomcat server
 24-Apr-2007 17:35:18 org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
 24-Apr-2007 17:35:18
org.apache.catalina.startup.ContextConfigdefaultWebConfig
 INFO: No default web.xml
 24-Apr-2007 17:35:18 org.apache.catalina.startup.DigesterFactoryregister
 WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_0.xsd
 24-Apr-2007 17:35:18 org.apache.catalina.startup.DigesterFactoryregister
 WARNING: Could not get url for
 /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
 24-Apr-2007 17:35:18 org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8080
 24-Apr-2007 17:35:18 org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 24-Apr-2007 17:35:19 org.apache.catalina.core.StandardWrapper unload
 INFO: Waiting for 1 instance(s) to be deallocated
 24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol destroy
 INFO: Stopping Coyote HTTP/1.1 on http-8080
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.014sec
 Running org.apache.tuscany.binding.axis2.Axis2ServiceTestCase
 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
 Running

org.apache.tuscany.binding.axis2.itests.endpoints.WSDLRelativeURITestCase
 24-Apr-2007 17:35:19 org.apache.catalina.startup.Embedded start
 INFO: Starting tomcat server
 24-Apr-2007 17:35:19 org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
 24-Apr-2007 17:35:19
org.apache.catalina.startup.ContextConfigdefaultWebConfig
 INFO: No default web.xml
 24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8080
 24-Apr-2007 17:35:19 org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 24-Apr-2007 17:35:23 org.apache.coyote.http11.Http11Protocol destroy
 INFO: Stopping Coyote HTTP/1.1 on http-8080
 24-Apr-2007 17:35:24 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
 SEVERE: Socket accept failed
 java.net.SocketException: socket closed
 at java.net.PlainSocketImpl.socketAccept(Native Method)
 at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
 at java.net.ServerSocket.implAccept(ServerSocket.java:450)
 at java.net.ServerSocket.accept(ServerSocket.java:421)
 at
 org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(
 DefaultServerSocketFactory.java:61)
 at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(
 JIoEndpoint.java:310)
 at java.lang.Thread.run(Thread.java:595)
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.168sec
  FAILURE!
 testCalculator(

org.apache.tuscany.binding.axis2.itests.endpoints.WSDLRelativeURITestCase
)  Time
 elapsed: 5.137 sec   ERROR!
 java.lang.reflect.UndeclaredThrowableException
 at $Proxy6.getGreetings(Unknown Source)
 at

org.apache.tuscany.binding.axis2.itests.HelloWorldOMComponent.getGreetings
 (HelloWorldOMComponent.java:31)
 at

org.apache.tuscany.binding.axis2.itests.endpoints.AbstractHelloWorldOMTestCase.testCalculator
 (AbstractHelloWorldOMTestCase.java:44)
 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:168)
 at junit.framework.TestCase.runBare(TestCase.java:134)
 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:124)
 at junit.framework.TestSuite.runTest(TestSuite.java:232)
 at junit.framework.TestSuite.run(TestSuite.java:227)
 at org.junit.internal.runners.OldTestClassRunner.run(
 OldTestClassRunner.java:35)
 at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(
 JUnit4TestSet.java:62)
 at


Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Simon Nash

Simon Laws wrote:


On 4/24/07, Simon Nash [EMAIL PROTECTED] wrote:



I'm seeing lots of Tomcat-related test failures when trying to build
the latest trunk code.  I've done a new checkout and cleaned out my
maven repo.  Here's a sample:



Is anyone else experiencing this?

   Simon



Hi Simon,

I don't see this but I see the itest lockups later on in the build that
Sebastien also gets.  Did you do a mvn clean also?


It was a fresh checkout so there was no need to do a clean.  The only
things in my local maven repo were the artifacts built by SDO.  I don't
have anything listening on port 80 or 8080.

I did try running the databinding itest with tomcat and it wasn't very 
happy

so switched back to jetty for the time being while chasing the lockup
problem. I know that's not much help to you at the moment but generally
things feel slightly amiss in the web services/app server area to me.


I noticed that these tests now use Tomcat instead of jetty as previously.
How do I switch between Tomcat and jetty?

  Simon



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Kevin Williams

Now, I am getting the Connection refused error:

INFO: Stopping Coyote HTTP/1.1 on http-8586
Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Apr 24, 2007 12:31:07 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.ContextConfigdefaultWebCon
fig
INFO: No default web.xml
Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8586
Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8586
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.686 sec
 FA
ILURE!
testRequestSession(org.apache.tuscany.http.tomcat.TomcatServerTestCase)
Time el
apsed: 1.082 sec   ERROR!
java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
:233)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
   at java.net.Socket.connect(Socket.java:536)
   at java.net.Socket.connect(Socket.java:486)
   at java.net.Socket.init(Socket.java:394)
   at java.net.Socket.init(Socket.java:207)
   at
org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
n(TomcatServerTestCase.java:87)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)

On 4/24/07, Simon Nash [EMAIL PROTECTED] wrote:


Simon Laws wrote:

 On 4/24/07, Simon Nash [EMAIL PROTECTED] wrote:


 I'm seeing lots of Tomcat-related test failures when trying to build
 the latest trunk code.  I've done a new checkout and cleaned out my
 maven repo.  Here's a sample:

 

 Is anyone else experiencing this?

Simon


 Hi Simon,

 I don't see this but I see the itest lockups later on in the build that
 Sebastien also gets.  Did you do a mvn clean also?

It was a fresh checkout so there was no need to do a clean.  The only
things in my local maven repo were the artifacts built by SDO.  I don't
have anything listening on port 80 or 8080.

 I did try running the databinding itest with tomcat and it wasn't very
 happy
 so switched back to jetty for the time being while chasing the lockup
 problem. I know that's not much help to you at the moment but generally
 things feel slightly amiss in the web services/app server area to me.

I noticed that these tests now use Tomcat instead of jetty as previously.
How do I switch between Tomcat and jetty?

   Simon



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Simon Laws

On 4/24/07, Simon Nash [EMAIL PROTECTED] wrote:


Simon Laws wrote:

 On 4/24/07, Simon Nash [EMAIL PROTECTED] wrote:


 I'm seeing lots of Tomcat-related test failures when trying to build
 the latest trunk code.  I've done a new checkout and cleaned out my
 maven repo.  Here's a sample:

 

 Is anyone else experiencing this?

Simon


 Hi Simon,

 I don't see this but I see the itest lockups later on in the build that
 Sebastien also gets.  Did you do a mvn clean also?

It was a fresh checkout so there was no need to do a clean.  The only
things in my local maven repo were the artifacts built by SDO.  I don't
have anything listening on port 80 or 8080.

 I did try running the databinding itest with tomcat and it wasn't very
 happy
 so switched back to jetty for the time being while chasing the lockup
 problem. I know that's not much help to you at the moment but generally
 things feel slightly amiss in the web services/app server area to me.

I noticed that these tests now use Tomcat instead of jetty as previously.
How do I switch between Tomcat and jetty?

   Simon



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

I changed the dependency in the pom from http-tomcat to http-jetty.


Simon


Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Jean-Sebastien Delfino

[snip]
Simon Laws wrote:


I did try running the databinding itest with tomcat and it wasn't very 
happy


Simon, what exceptions are you getting when running the databinding 
itest with tomcat? do you have a log?


Thanks.

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Simon Laws

On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:


[snip]
Simon Laws wrote:

 I did try running the databinding itest with tomcat and it wasn't very
 happy

Simon, what exceptions are you getting when running the databinding
itest with tomcat? do you have a log?

Thanks.

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Yep, i copied the start of it below. I'm not looking at  this at the

moment. I glanced at it and assumed I'd missed some extra dependency out in
switching to tomcat. I switched back to jetty where it used to work and am
currently trying to work out why the recent axis changes are now causing
this lockup problem. I can't prove yet that the error below doesn't happen
on Jetty.

24-Apr-2007 20:24:44 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
24-Apr-2007 20:24:44 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
24-Apr-2007 20:24:45 org.apache.axis2.deployment.URLBasedAxisConfiguratorgetAxi
sConfiguration
INFO: No repository found , module will be loaded from classpath
org.apache.tuscany.databinding.TransformationException:
java.lang.RuntimeExcepti
on: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with
uri
'http://apache.org/tuscany/sca/itest/databinding/types' not found.
   at
org.apache.tuscany.databinding.sdo.XMLStreamReader2DataObject.transfo
rm(XMLStreamReader2DataObject.java:48)
   at
org.apache.tuscany.databinding.sdo.XMLStreamReader2DataObject.transfo
rm(XMLStreamReader2DataObject.java:34)
   at org.apache.tuscany.databinding.impl.MediatorImpl.mediate
(MediatorImpl
.java:83)
   at
org.apache.tuscany.core.databinding.transformers.Input2InputTransform
er.transform(Input2InputTransformer.java:169)
   at
org.apache.tuscany.core.databinding.transformers.Input2InputTransform
er.transform(Input2InputTransformer.java:46)
   at org.apache.tuscany.databinding.impl.MediatorImpl.mediate
(MediatorImpl
.java:83)
   at
org.apache.tuscany.core.databinding.wire.DataBindingInteceptor.transf
orm(DataBindingInteceptor.java:189)
   at
org.apache.tuscany.core.databinding.wire.DataBindingInteceptor.invoke
(DataBindingInteceptor.java:86)
   at org.apache.tuscany.binding.axis2.Axis2ServiceBinding.invokeTarget
(Axi
s2ServiceBinding.java:246)
   at
org.apache.tuscany.binding.axis2.Axis2ServiceInOutSyncMessageReceiver
.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:54)
   at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(A
bstractInOutSyncMessageReceiver.java:39)
   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
   at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:328)
   at org.apache.axis2.transport.http.AxisServlet.doPost(
AxisServlet.java:2
54)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

Simon


Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Jean-Sebastien Delfino

[snip]
Kevin Williams wrote:

Now, I am getting the Connection refused error:

INFO: Stopping Coyote HTTP/1.1 on http-8586
Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Apr 24, 2007 12:31:07 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Apr 24, 2007 12:31:07 PM 
org.apache.catalina.startup.ContextConfigdefaultWebCon

fig
INFO: No default web.xml
Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8586
Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8586
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.686 sec
 FA
ILURE!
testRequestSession(org.apache.tuscany.http.tomcat.TomcatServerTestCase)
Time el
apsed: 1.082 sec   ERROR!
java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
:233)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
   at java.net.Socket.connect(Socket.java:536)
   at java.net.Socket.connect(Socket.java:486)
   at java.net.Socket.init(Socket.java:394)
   at java.net.Socket.init(Socket.java:207)
   at
org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
n(TomcatServerTestCase.java:87)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)



Kevin,

This one is interesting as it's an isolated Tomcat test case, not even 
involving integration with the Web Service binding. I suspect a timing 
issue, where Tomcat is returning from the start method before it's 
actually ready to accept requests. I'm going to investigate it but have 
question: Are you able to reproduce this problem when running mvn from 
the http-tomcat directory? or are you only running into it when building 
the whole trunk?


Thanks

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Raymond Feng

Hi, Simon.

The exception seems to be caused by missing SDO metadata in the 
HelperContext when the transformation is performed. Can you make sure the 
import.sdo is used to define the SDO types?


Thanks,
Raymond

- Original Message - 
From: Simon Laws [EMAIL PROTECTED]

To: tuscany-dev@ws.apache.org
Sent: Tuesday, April 24, 2007 12:30 PM
Subject: Re: Tomcat errors when trying to build the latest trunk



On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:


[snip]
Simon Laws wrote:

 I did try running the databinding itest with tomcat and it wasn't very
 happy

Simon, what exceptions are you getting when running the databinding
itest with tomcat? do you have a log?

Thanks.

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Yep, i copied the start of it below. I'm not looking at  this at the
moment. I glanced at it and assumed I'd missed some extra dependency out 
in

switching to tomcat. I switched back to jetty where it used to work and am
currently trying to work out why the recent axis changes are now causing
this lockup problem. I can't prove yet that the error below doesn't happen
on Jetty.

24-Apr-2007 20:24:44 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
24-Apr-2007 20:24:44 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
24-Apr-2007 20:24:45 
org.apache.axis2.deployment.URLBasedAxisConfiguratorgetAxi

sConfiguration
INFO: No repository found , module will be loaded from classpath
org.apache.tuscany.databinding.TransformationException:
java.lang.RuntimeExcepti
on: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package 
with

uri
'http://apache.org/tuscany/sca/itest/databinding/types' not found.
   at
org.apache.tuscany.databinding.sdo.XMLStreamReader2DataObject.transfo
rm(XMLStreamReader2DataObject.java:48)
   at
org.apache.tuscany.databinding.sdo.XMLStreamReader2DataObject.transfo
rm(XMLStreamReader2DataObject.java:34)
   at org.apache.tuscany.databinding.impl.MediatorImpl.mediate
(MediatorImpl
.java:83)
   at
org.apache.tuscany.core.databinding.transformers.Input2InputTransform
er.transform(Input2InputTransformer.java:169)
   at
org.apache.tuscany.core.databinding.transformers.Input2InputTransform
er.transform(Input2InputTransformer.java:46)
   at org.apache.tuscany.databinding.impl.MediatorImpl.mediate
(MediatorImpl
.java:83)
   at
org.apache.tuscany.core.databinding.wire.DataBindingInteceptor.transf
orm(DataBindingInteceptor.java:189)
   at
org.apache.tuscany.core.databinding.wire.DataBindingInteceptor.invoke
(DataBindingInteceptor.java:86)
   at 
org.apache.tuscany.binding.axis2.Axis2ServiceBinding.invokeTarget

(Axi
s2ServiceBinding.java:246)
   at
org.apache.tuscany.binding.axis2.Axis2ServiceInOutSyncMessageReceiver
.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:54)
   at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(A
bstractInOutSyncMessageReceiver.java:39)
   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
   at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:328)
   at org.apache.axis2.transport.http.AxisServlet.doPost(
AxisServlet.java:2
54)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

Simon




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Simon Nash

Jean-Sebastien Delfino wrote:


To switch to Jetty, in modules/binding-ws-axis2/pom.xml change 
tuscany-http-tomcat to tuscany-http-jetty.


I am not seeing these errors on Linux.


I made this change and I got a clean build on Windows.  I'll try to
find out more about why I get so many problems when I use Tomcat.

  Simon



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat errors when trying to build the latest trunk

2007-04-24 Thread Kevin Williams

Hi Sebastien,
The test runs fines from /http-tomcat.
--Kevin

On 4/24/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:


[snip]
Kevin Williams wrote:
 Now, I am getting the Connection refused error:

 INFO: Stopping Coyote HTTP/1.1 on http-8586
 Apr 24, 2007 12:31:07 PM org.apache.catalina.startup.Embedded start
 INFO: Starting tomcat server
 Apr 24, 2007 12:31:07 PM org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
 Apr 24, 2007 12:31:07 PM
 org.apache.catalina.startup.ContextConfigdefaultWebCon
 fig
 INFO: No default web.xml
 Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8586
 Apr 24, 2007 12:31:07 PM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on http-8586
 Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.686sec
  FA
 ILURE!
 testRequestSession(org.apache.tuscany.http.tomcat.TomcatServerTestCase)
 Time el
 apsed: 1.082 sec   ERROR!
 java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
 :233)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
at java.net.Socket.connect(Socket.java:536)
at java.net.Socket.connect(Socket.java:486)
at java.net.Socket.init(Socket.java:394)
at java.net.Socket.init(Socket.java:207)
at
 org.apache.tuscany.http.tomcat.TomcatServerTestCase.testRequestSessio
 n(TomcatServerTestCase.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.
 java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAcces
 sorImpl.java:43)


Kevin,

This one is interesting as it's an isolated Tomcat test case, not even
involving integration with the Web Service binding. I suspect a timing
issue, where Tomcat is returning from the start method before it's
actually ready to accept requests. I'm going to investigate it but have
question: Are you able to reproduce this problem when running mvn from
the http-tomcat directory? or are you only running into it when building
the whole trunk?

Thanks

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]