You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by mp...@apache.org on 2002/10/08 10:48:28 UTC

cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc TurbineXmlRpcService.java

mpoeschl    2002/10/08 01:48:28

  Modified:    src/java/org/apache/turbine/services/xmlrpc
                        TurbineXmlRpcService.java
  Log:
  call webserver.start() to make the service work with xmlrpc HEAD
  
  Revision  Changes    Path
  1.7       +2 -1      jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java
  
  Index: TurbineXmlRpcService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TurbineXmlRpcService.java	14 Aug 2002 17:08:00 -0000	1.6
  +++ TurbineXmlRpcService.java	8 Oct 2002 08:48:28 -0000	1.7
  @@ -229,6 +229,7 @@
                       }
                   }
               }
  +            webserver.start();
           }
           catch (Exception e)
           {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc TurbineXmlRpcService.java

Posted by Rodney Schneider <ro...@actf.com.au>.
On Thu, 10 Oct 2002 13:10, you wrote:

> Hah!  Martin, it's so funny you added this patch.  Just today I was
> updating SourceCast to use the latest Apache XML-RPC (tagged as
> XMLRPC_1_2_A2), and wrote a very comprehensive update for Fulcrum.
>
> It would be very straightforward for you to manually merge my patch
> into T2.  It supports the start() semantics for both 1.1 and lower,
> and for 1.2 alpha 1 and higher.
>
> To get my patch, run the following command in Fulcrum:
>
> cvs diff -u -r 1.1 -r 1.2 \
>   src/java/org/apache/fulcrum/xmlrpc/TurbineXmlRpcService.java

Hi Martin and Daniel,

After starting catalina for the first time after generating newapp
(TDK-2.2b3), the exception below was spat out to turbine.log, which I
am guessing is due to the fact that I am using xmlrpc-1.2-a1.jar
without Daniel's patch.

Martin, let me know if you want me to integrate Daniel's patch into
T2.2.  I have allocated the next 2 weeks for me to work on TDK 2.2
pretty much full time, so if there is anything else outstanding that
you need done, feel free to let me know.

Thanks,

-- Rodney


java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414)
        at java.net.ServerSocket.<init>(ServerSocket.java:182)
        at org.apache.xmlrpc.WebServer.createServerSocket(WebServer.java)
        at org.apache.xmlrpc.WebServer.setupServerSocket(WebServer.java)
        at org.apache.xmlrpc.WebServer.run(WebServer.java)
        at java.lang.Thread.run(Thread.java:498)
java.lang.RuntimeException: Address already in use
        at org.apache.xmlrpc.WebServer.run(WebServer.java)
        at java.lang.Thread.run(Thread.java:498)



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc TurbineXmlRpcService.java

Posted by Martin Poeschl <mp...@marmot.at>.
Rodney Schneider wrote:
> On Thu, 10 Oct 2002 13:10, you wrote:
> 
> 
>>Hah!  Martin, it's so funny you added this patch.  Just today I was
>>updating SourceCast to use the latest Apache XML-RPC (tagged as
>>XMLRPC_1_2_A2), and wrote a very comprehensive update for Fulcrum.
>>
>>It would be very straightforward for you to manually merge my patch
>>into T2.  It supports the start() semantics for both 1.1 and lower,
>>and for 1.2 alpha 1 and higher.
>>
>>To get my patch, run the following command in Fulcrum:
>>
>>cvs diff -u -r 1.1 -r 1.2 \
>>  src/java/org/apache/fulcrum/xmlrpc/TurbineXmlRpcService.java
> 
> 
> Hi Martin and Daniel,
> 
> After starting catalina for the first time after generating newapp
> (TDK-2.2b3), the exception below was spat out to turbine.log, which I
> am guessing is due to the fact that I am using xmlrpc-1.2-a1.jar
> without Daniel's patch.
> 
> Martin, let me know if you want me to integrate Daniel's patch into
> T2.2. 

that would be fantastic :-)

> I have allocated the next 2 weeks for me to work on TDK 2.2
> pretty much full time, so if there is anything else outstanding that
> you need done, feel free to let me know.

we need much more testing before we can relese turbine 2.2 and torque 3.0 .. any bugreports :-| and 
patches :-) are welcome ... we also need more docs (e.g. 2.1 to 2.2 migration howto would be great)

thanx!

martin

> 
> Thanks,
> 
> -- Rodney
> 
> 
> java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414)
>         at java.net.ServerSocket.<init>(ServerSocket.java:182)
>         at org.apache.xmlrpc.WebServer.createServerSocket(WebServer.java)
>         at org.apache.xmlrpc.WebServer.setupServerSocket(WebServer.java)
>         at org.apache.xmlrpc.WebServer.run(WebServer.java)
>         at java.lang.Thread.run(Thread.java:498)
> java.lang.RuntimeException: Address already in use
>         at org.apache.xmlrpc.WebServer.run(WebServer.java)
>         at java.lang.Thread.run(Thread.java:498)
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc TurbineXmlRpcService.java

Posted by Daniel Rall <dl...@finemaltcoding.com>.
mpoeschl@apache.org writes:

> mpoeschl    2002/10/08 01:48:28
> 
>   Modified:    src/java/org/apache/turbine/services/xmlrpc
>                         TurbineXmlRpcService.java
>   Log:
>   call webserver.start() to make the service work with xmlrpc HEAD
>   
>   Revision  Changes    Path
>   1.7       +2 -1      jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java
>   
>   Index: TurbineXmlRpcService.java
>   ===================================================================
>   RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java,v
>   retrieving revision 1.6
>   retrieving revision 1.7
>   diff -u -r1.6 -r1.7
>   --- TurbineXmlRpcService.java	14 Aug 2002 17:08:00 -0000	1.6
>   +++ TurbineXmlRpcService.java	8 Oct 2002 08:48:28 -0000	1.7
>   @@ -229,6 +229,7 @@
>                        }
>                    }
>                }
>   +            webserver.start();
>            }
>            catch (Exception e)
>            {

Hah!  Martin, it's so funny you added this patch.  Just today I was
updating SourceCast to use the latest Apache XML-RPC (tagged as
XMLRPC_1_2_A2), and wrote a very comprehensive update for Fulcrum.

It would be very straightforward for you to manually merge my patch
into T2.  It supports the start() semantics for both 1.1 and lower,
and for 1.2 alpha 1 and higher.

To get my patch, run the following command in Fulcrum:

cvs diff -u -r 1.1 -r 1.2 \
  src/java/org/apache/fulcrum/xmlrpc/TurbineXmlRpcService.java
-- 

Daniel Rall <dl...@finemaltcoding.com>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>