Petals SE JSR181

Error message on class name error is not clear

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1.2, 1.1.3
  • Fix Version/s: 1.3.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    If the class name defined in the JBI descriptor does not exist, the error message is not clear:

    [Petals.Container.ServiceAssemblyLifeCycle.sa-jsr181]-SEVERE 2010-08-17 18:30:49,250 Failed to start the Service Unit 'su-jsr181-network-provide'
    javax.jbi.management.DeploymentException: Failed to start the Service Unit 'su-jsr181-network-provide'
    at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:617)
    at org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:161)
    at org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle.doStart(ServiceAssemblyLifeCycle.java:166)
    at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:185)
    at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.start(DeploymentServiceImpl.java:533)
    at org.objectweb.fractal.julia.generated.C7949fad8_0.start(INTERCEPTOR[DeploymentServiceMBean])
    at org.objectweb.fractal.julia.generated.C7566203_0.start(INTERFACE[DeploymentServiceMBean])
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:450)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
    at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.ow2.petals.component.framework.api.exception.PEtALSCDKException: An Axis service could not be created from the JAX-WS class.
    at org.ow2.petals.se.jsr181.model.JaxConfigurationHandler.start(JaxConfigurationHandler.java:141)
    at org.ow2.petals.se.jsr181.Jsr181SuManager.doStart(Jsr181SuManager.java:147)
    at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:615)
    ... 11 more

    Please add a check on the class existing, and display an understandable error mesage as 'The class 'aaa.bbb.ccc.ddd' is not found', and remove the stack trace.

    Show
    If the class name defined in the JBI descriptor does not exist, the error message is not clear: [Petals.Container.ServiceAssemblyLifeCycle.sa-jsr181]-SEVERE 2010-08-17 18:30:49,250 Failed to start the Service Unit 'su-jsr181-network-provide' javax.jbi.management.DeploymentException: Failed to start the Service Unit 'su-jsr181-network-provide' at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:617) at org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:161) at org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle.doStart(ServiceAssemblyLifeCycle.java:166) at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:185) at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.start(DeploymentServiceImpl.java:533) at org.objectweb.fractal.julia.generated.C7949fad8_0.start(INTERCEPTOR[DeploymentServiceMBean]) at org.objectweb.fractal.julia.generated.C7566203_0.start(INTERFACE[DeploymentServiceMBean]) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:450) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169) at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: org.ow2.petals.component.framework.api.exception.PEtALSCDKException: An Axis service could not be created from the JAX-WS class. at org.ow2.petals.se.jsr181.model.JaxConfigurationHandler.start(JaxConfigurationHandler.java:141) at org.ow2.petals.se.jsr181.Jsr181SuManager.doStart(Jsr181SuManager.java:147) at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:615) ... 11 more Please add a check on the class existing, and display an understandable error mesage as 'The class 'aaa.bbb.ccc.ddd' is not found', and remove the stack trace.
  • Environment:
    petals-se-jsr181 v1.1.3-SNAPSHOT

Activity

Hide
Christophe DENEUX added a comment - Tue, 17 Aug 2010 - 18:48:36 +0200

Please update the field 'affects version/s' with the right values

Show
Christophe DENEUX added a comment - Tue, 17 Aug 2010 - 18:48:36 +0200 Please update the field 'affects version/s' with the right values
Vincent Zurczak made changes - Tue, 17 Aug 2010 - 18:56:50 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Vincent Zurczak made changes - Tue, 17 Aug 2010 - 18:57:39 +0200
Affects Version/s 1.1.3 [ 10106 ]
Vincent Zurczak made changes - Tue, 17 Aug 2010 - 18:57:45 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Vincent Zurczak added a comment - Tue, 17 Aug 2010 - 19:10:28 +0200

We talked about it, and it is all about our logging rules.
Once they are defined, I will fix this bug.

Show
Vincent Zurczak added a comment - Tue, 17 Aug 2010 - 19:10:28 +0200 We talked about it, and it is all about our logging rules. Once they are defined, I will fix this bug.
Vincent Zurczak made changes - Tue, 17 Aug 2010 - 19:10:28 +0200
Status In Progress [ 10003 ] Open [ 10002 ]
Vincent Zurczak made changes - Tue, 10 Apr 2012 - 17:10:14 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Vincent Zurczak made changes - Tue, 10 Apr 2012 - 17:26:08 +0200
Summary Error messge on class name error is not clear Error message on class name error is not clear
Hide
Vincent Zurczak added a comment - Tue, 10 Apr 2012 - 17:26:51 +0200

Commit #32019
Test the class existence in the class path.
Add better error messages on exceptions.

Show
Vincent Zurczak added a comment - Tue, 10 Apr 2012 - 17:26:51 +0200 Commit #32019 Test the class existence in the class path. Add better error messages on exceptions.
Vincent Zurczak made changes - Tue, 10 Apr 2012 - 17:26:51 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.3.0 [ 10346 ]
Resolution Fixed [ 1 ]
Vincent Zurczak made changes - Tue, 10 Apr 2012 - 19:21:21 +0200
Status Resolved [ 10004 ] Closed [ 10005 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
13m 50s
1
Vincent Zurczak
Tue, 17 Aug 2010 - 18:56:50 +0200
Open Open In Progress In Progress
55s
1
Vincent Zurczak
Tue, 17 Aug 2010 - 18:57:45 +0200
In Progress In Progress Open Open
12m 43s
1
Vincent Zurczak
Tue, 17 Aug 2010 - 19:10:28 +0200
Open Open In Progress In Progress
601d 21h 59m
1
Vincent Zurczak
Tue, 10 Apr 2012 - 17:10:14 +0200
In Progress In Progress Resolved Resolved
16m 37s
1
Vincent Zurczak
Tue, 10 Apr 2012 - 17:26:51 +0200
Resolved Resolved Closed Closed
1h 54m
1
Vincent Zurczak
Tue, 10 Apr 2012 - 19:21:21 +0200



People

Dates

  • Created:
    Tue, 17 Aug 2010 - 18:43:00 +0200
    Updated:
    Tue, 10 Apr 2012 - 19:21:21 +0200
    Resolved:
    Tue, 10 Apr 2012 - 17:26:50 +0200