[jira] [Created] (OFBIZ-4929) Incorrect argument processing while Generating container

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
Pankaj Misra created OFBIZ-4929:
-----------------------------------

             Summary: Incorrect argument processing while Generating container
                 Key: OFBIZ-4929
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
             Project: OFBiz
          Issue Type: Bug
          Components: commonext/setup
    Affects Versions: Release Branch 11.04
         Environment: Windows 7, i7
            Reporter: Pankaj Misra
             Fix For: Release Branch 11.04


The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
"Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sankp updated OFBIZ-4929:
-------------------------

    Attachment: GenerateContainer.java.patch

Patch to rectify the argument processing in GenerateContainer.java
               

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7, i7
>            Reporter: sankp
>             Fix For: Release Branch 11.04
>
>         Attachments: GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sankp updated OFBIZ-4929:
-------------------------

    Attachment:     (was: GenerateContainer.java.patch)
   

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7, i7
>            Reporter: sankp
>             Fix For: Release Branch 11.04
>
>         Attachments: GenerateContainer.java.patch, GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sankp updated OFBIZ-4929:
-------------------------

    Attachment: GenerateContainer.java.patch
                GenerateContainer.java.patch

Updated patch, rectified the GenerateContainer.java file to have graceful termination and updated all references of arguments for correct indexing.
               

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7, i7
>            Reporter: sankp
>             Fix For: Release Branch 11.04
>
>         Attachments: GenerateContainer.java.patch, GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sankp updated OFBIZ-4929:
-------------------------

    Environment: Windows 7 64-bit, i7, JDK 6u26  (was: Windows 7, i7)
   

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7 64-bit, i7, JDK 6u26
>            Reporter: sankp
>             Fix For: Release Branch 11.04
>
>         Attachments: GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sankp updated OFBIZ-4929:
-------------------------

    Attachment:     (was: GenerateContainer.java.patch)
   

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7 64-bit, i7, JDK 6u26
>            Reporter: sankp
>             Fix For: Release Branch 11.04
>
>         Attachments: GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292490#comment-13292490 ]

Jacques Le Roux commented on OFBIZ-4929:
----------------------------------------

Does this problem not exist in trunk as well? We could then fix both... Pleas check
               

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7 64-bit, i7, JDK 6u26
>            Reporter: sankp
>             Fix For: Release Branch 11.04
>
>         Attachments: GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4929.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

Thanks Sankp,

I was pretty surprised by this fix, for 2 reasons. With the same command:
* The same file used in R10.04 generates the files and ends gracefully
* Almost the same file used in trunk generates the files, but did not end gracefully. The trunk file was changed recently but those changes are totally unrelated at least

So I wonder why your changes are solving this issue. Certainly intermediate change/s somewhere else wich have been amended since.

Anyway I commited those in R11.04 at r1355974  

I have used your change to end gracefully in trunk also at r1355975, but only this part.
               

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7 64-bit, i7, JDK 6u26
>            Reporter: sankp
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 11.04, SVN trunk
>
>         Attachments: GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4929) Incorrect argument processing while Generating container

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404784#comment-13404784 ]

Jacques Le Roux commented on OFBIZ-4929:
----------------------------------------

Backported r1355975 in R12.04 at r1355976
               

> Incorrect argument processing while Generating container
> --------------------------------------------------------
>
>                 Key: OFBIZ-4929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release Branch 11.04
>         Environment: Windows 7 64-bit, i7, JDK 6u26
>            Reporter: sankp
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 11.04, SVN trunk
>
>         Attachments: GenerateContainer.java.patch
>
>
> The GenerateContainer.java source does not correctly process the arguments suplied in the command "java -jar ofbiz.jar -setup tomcat6" from OFBIZ_HOME. Running this command results in an error condition as given below
> "Template location - -setup does not exist!"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira