vmassol     2004/06/08 00:33:12

  Modified:    
integration/ant/src/java/org/apache/cactus/integration/ant/container/jboss
                        JBoss3xContainer.java
               documentation/docs/xdocs changes.xml
  Log:
  Fixed CACTUS-122. Thanks to Raphael Philipe Mendes da Silva for the patch!
  
  Revision  Changes    Path
  1.16      +2 -2      
jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/jboss/JBoss3xContainer.java
  
  Index: JBoss3xContainer.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/jboss/JBoss3xContainer.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- JBoss3xContainer.java     29 Feb 2004 10:10:41 -0000      1.15
  +++ JBoss3xContainer.java     8 Jun 2004 07:33:12 -0000       1.16
  @@ -256,10 +256,10 @@
               new File(binDir, "shutdown.jar"));
   
           java.setClassname("org.jboss.Shutdown");
  -        java.createArg().setValue("--server=localhost:" + this.getJndiPort());
           
           if (this.version.startsWith("3.2"))
           {
  +             java.createArg().setValue("--server=localhost:" + this.getJndiPort());
               java.createArg().setValue("--shutdown");
           }
           else
  
  
  
  1.198     +7 -0      jakarta-cactus/documentation/docs/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/changes.xml,v
  retrieving revision 1.197
  retrieving revision 1.198
  diff -u -r1.197 -r1.198
  --- changes.xml       31 May 2004 20:05:27 -0000      1.197
  +++ changes.xml       8 Jun 2004 07:33:12 -0000       1.198
  @@ -90,6 +90,13 @@
         </devs>
   
         <release version="1.7dev" date="in CVS">
  +        <action dev="VMA" type="fix" issue="CACTUS-122" due-to="Raphael Philipe 
Mendes da Silva">
  +          Fixed "<code>java.lang.NumberFormatException: For input string: 
  +          "localhost"</code>" error that was happening when using the 
  +          &lt;cactus&gt; task with JBoss 3.0.8. It was due to the fact that 
  +          JBoss 3.0.8 does not support the new <code>--server</code> parameter 
  +          which works with newer versions of JBoss 3.x
  +        </action>
           <action dev="VMA" type="add">
             Added new <code>&lt;resin2x&gt;</code> and
             <code>&lt;resin3x&gt;</code> tasks to start/stop
  
  
  

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

Reply via email to