You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rakesh Midha (JIRA)" <ji...@apache.org> on 2006/11/27 13:25:22 UTC

[jira] Created: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Deploy tool prints useless message if configuration start fails
---------------------------------------------------------------

                 Key: GERONIMO-2598
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2598
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 2.0
         Environment: Windows XP, should be valid for all platforms
            Reporter: Rakesh Midha
             Fix For: 2.0



If you are using deploy tool, and you try to deploy or start an application which fails for start, I always give 

        Unknown start exception

        Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
    failed to start due to the following reasons:

      The service
    EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
=null,j2eeType=EntityBean,name=MyPhonebookBean
    did not start for an unknown reason

In the big stack trace on server side, the deep down you see an actual error message :
           java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean

The actual error message should be passed to deploy tool and should be printed



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2598?page=comments#action_12453584 ] 
            
Rakesh Midha commented on GERONIMO-2598:
----------------------------------------


This is happening because In GBeanInstance state all the exceptions are ignired 
	    if (t instanceof Exception) {
                // ignore - we only rethrow errors
                return;
            }

This sounds wrong when ConfigurationUtil expects Failure reason from getStateReason()

Changed GBeanInstanceState class to set stateReason, also adde public setStateReason() method in GBeanInstance. I know StateReason is depricated feature hence no setStateReason method, but till the time configurationutil and other getStateReason usage is removed i think it make sense to have setStateReason method also.

After applying the patch I got following message from deploy tool

finally

    Error: Operation failed: start of
    default/MyPhonebookBean_openejb_artifactId/1.0/car failed

        Unknown start exception

        Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
    failed to start due to the following reasons:

      The service
    EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
=null,j2eeType=EntityBean,name=MyPhonebookBean
    did not start because Missing accessor for field name on class MyPhonebookBean


> Deploy tool prints useless message if configuration start fails
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-2598
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2598
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0
>         Environment: Windows XP, should be valid for all platforms
>            Reporter: Rakesh Midha
>         Assigned To: Rakesh Midha
>             Fix For: 2.0
>
>
> If you are using deploy tool, and you try to deploy or start an application which fails for start, you always get
>         Unknown start exception
>         Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
>     failed to start due to the following reasons:
>       The service
>     EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
> =null,j2eeType=EntityBean,name=MyPhonebookBean
>     did not start for an unknown reason
> In the big stack trace on server side, the deep down you see an actual error message :
>            java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean
> The actual error message should be passed to deploy tool and should be printed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2598?page=all ]

Rakesh Midha updated GERONIMO-2598:
-----------------------------------

    Patch Info: [Patch Available]
      Assignee:     (was: Rakesh Midha)


Patch avialable, please review and commit.
unassiging

> Deploy tool prints useless message if configuration start fails
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-2598
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2598
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0
>         Environment: Windows XP, should be valid for all platforms
>            Reporter: Rakesh Midha
>             Fix For: 2.0
>
>         Attachments: statereason.patch
>
>
> If you are using deploy tool, and you try to deploy or start an application which fails for start, you always get
>         Unknown start exception
>         Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
>     failed to start due to the following reasons:
>       The service
>     EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
> =null,j2eeType=EntityBean,name=MyPhonebookBean
>     did not start for an unknown reason
> In the big stack trace on server side, the deep down you see an actual error message :
>            java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean
> The actual error message should be passed to deploy tool and should be printed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved GERONIMO-2598.
------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0-M5)
                   2.0-M6

Committed revision 542575 in trunk.
Rakesh, thanks for the patch.

> Deploy tool prints useless message if configuration start fails
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-2598
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2598
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0-M5
>         Environment: Windows XP, should be valid for all platforms
>            Reporter: Rakesh Midha
>            Assignee: Donald Woods
>             Fix For: 2.0-M6
>
>         Attachments: statereason.patch
>
>
> If you are using deploy tool, and you try to deploy or start an application which fails for start, you always get
>         Unknown start exception
>         Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
>     failed to start due to the following reasons:
>       The service
>     EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
> =null,j2eeType=EntityBean,name=MyPhonebookBean
>     did not start for an unknown reason
> In the big stack trace on server side, the deep down you see an actual error message :
>            java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean
> The actual error message should be passed to deploy tool and should be printed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2598?page=all ]

Rakesh Midha updated GERONIMO-2598:
-----------------------------------

    Attachment: statereason.patch


Tis patch added a method setStateReason, i read somewere getStateReason is depricated, but because configurationutil used statereason I think it make sense to have set method also till the time get method stays.


> Deploy tool prints useless message if configuration start fails
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-2598
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2598
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0
>         Environment: Windows XP, should be valid for all platforms
>            Reporter: Rakesh Midha
>         Assigned To: Rakesh Midha
>             Fix For: 2.0
>
>         Attachments: statereason.patch
>
>
> If you are using deploy tool, and you try to deploy or start an application which fails for start, you always get
>         Unknown start exception
>         Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
>     failed to start due to the following reasons:
>       The service
>     EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
> =null,j2eeType=EntityBean,name=MyPhonebookBean
>     did not start for an unknown reason
> In the big stack trace on server side, the deep down you see an actual error message :
>            java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean
> The actual error message should be passed to deploy tool and should be printed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2598?page=all ]

Rakesh Midha updated GERONIMO-2598:
-----------------------------------

    Description: 
If you are using deploy tool, and you try to deploy or start an application which fails for start, you always get

        Unknown start exception

        Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
    failed to start due to the following reasons:

      The service
    EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
=null,j2eeType=EntityBean,name=MyPhonebookBean
    did not start for an unknown reason

In the big stack trace on server side, the deep down you see an actual error message :
           java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean

The actual error message should be passed to deploy tool and should be printed



  was:

If you are using deploy tool, and you try to deploy or start an application which fails for start, I always give 

        Unknown start exception

        Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
    failed to start due to the following reasons:

      The service
    EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
=null,j2eeType=EntityBean,name=MyPhonebookBean
    did not start for an unknown reason

In the big stack trace on server side, the deep down you see an actual error message :
           java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean

The actual error message should be passed to deploy tool and should be printed




> Deploy tool prints useless message if configuration start fails
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-2598
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2598
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0
>         Environment: Windows XP, should be valid for all platforms
>            Reporter: Rakesh Midha
>         Assigned To: Rakesh Midha
>             Fix For: 2.0
>
>
> If you are using deploy tool, and you try to deploy or start an application which fails for start, you always get
>         Unknown start exception
>         Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
>     failed to start due to the following reasons:
>       The service
>     EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
> =null,j2eeType=EntityBean,name=MyPhonebookBean
>     did not start for an unknown reason
> In the big stack trace on server side, the deep down you see an actual error message :
>            java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean
> The actual error message should be passed to deploy tool and should be printed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods reassigned GERONIMO-2598:
--------------------------------------

    Assignee: Donald Woods

> Deploy tool prints useless message if configuration start fails
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-2598
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2598
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0-M5
>         Environment: Windows XP, should be valid for all platforms
>            Reporter: Rakesh Midha
>         Assigned To: Donald Woods
>             Fix For: 2.0-M5
>
>         Attachments: statereason.patch
>
>
> If you are using deploy tool, and you try to deploy or start an application which fails for start, you always get
>         Unknown start exception
>         Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
>     failed to start due to the following reasons:
>       The service
>     EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
> =null,j2eeType=EntityBean,name=MyPhonebookBean
>     did not start for an unknown reason
> In the big stack trace on server side, the deep down you see an actual error message :
>            java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean
> The actual error message should be passed to deploy tool and should be printed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-2598) Deploy tool prints useless message if configuration start fails

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2598?page=all ]

Rakesh Midha reassigned GERONIMO-2598:
--------------------------------------

    Assignee: Rakesh Midha

> Deploy tool prints useless message if configuration start fails
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-2598
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2598
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0
>         Environment: Windows XP, should be valid for all platforms
>            Reporter: Rakesh Midha
>         Assigned To: Rakesh Midha
>             Fix For: 2.0
>
>
> If you are using deploy tool, and you try to deploy or start an application which fails for start, I always give 
>         Unknown start exception
>         Configuration default/MyPhonebookBean_openejb_artifactId/1.0/car
>     failed to start due to the following reasons:
>       The service
>     EJBModule=default/MyPhonebookBean_openejb_artifactId/1.0/car,J2EEApplication
> =null,j2eeType=EntityBean,name=MyPhonebookBean
>     did not start for an unknown reason
> In the big stack trace on server side, the deep down you see an actual error message :
>            java.lang.IllegalArgumentException:  Missing accessor for field name on class MyPhonebookBean
> The actual error message should be passed to deploy tool and should be printed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira