Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.1.1
-
Fix Version/s: None
-
Component/s: None
-
Security Level: Public
-
- Environment:
- -
Issue Links
| Depends | |||
|---|---|---|---|
|
|||
Activity
| Field | Original Value | New Value |
|---|---|---|
| Summary | invalid error message if jbi discriptor is not valid | Invalid error message if the jbilistener classname of the JBI descriptor contains a CR/NL |
| Priority | Blocker [ 1 ] |
| Description |
If I add the character CR just after my JBI listener class name in the JBI desriptor, I get the following error that is not very clear.
Can you change the trace message for a proper message. ------------------------------- SEVERE 2011-02-16 09:01:19,020 [Petals.Container.ComponentLifeCycle.petals-bc-jms] Life cycle exception on START javax.jbi.JBIException: Life cycle exception on START at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:117) at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:110) Caused by: javax.jbi.JBIException: org.ow2.petals.component.framework.api.exception.PEtALSCDKException: Can't find JBIListener class : org.ow2.petals.bc.jms.listener.JBIListener at org.ow2.petals.component.framework.process.JBIProcessorManager.start(JBIProcessorManager.java:268) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:568) at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more Caused by: org.ow2.petals.component.framework.api.exception.PEtALSCDKException: Can't find JBIListener class : org.ow2.petals.bc.jms.listener.JBIListener at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorObjectFactory.createAndInitJBIListener(JBIProcessorManager.java:222) at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorObjectFactory.makeObject(JBIProcessorManager.java:181) at org.apache.commons.pool.impl.GenericObjectPool.addObject(GenericObjectPool.java:1276) at org.apache.commons.pool.PoolUtils.prefill(PoolUtils.java:277) at org.ow2.petals.component.framework.process.JBIProcessorManager.start(JBIProcessorManager.java:263) ... 3 more Caused by: java.lang.ClassNotFoundException: org.ow2.petals.bc.jms.listener.JBIListener at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.ow2.petals.system.classloader.ComponentClassLoader.loadClass(ComponentClassLoader.java:129) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorObjectFactory.createAndInitJBIListener(JBIProcessorManager.java:213) |
If I add the character CR just after my JBI listener class name in the JBI desriptor, I get the following error that is not very clear.
Can you change the trace message for a proper message. {code} SEVERE 2011-02-16 09:01:19,020 [Petals.Container.ComponentLifeCycle.petals-bc-jms] Life cycle exception on START javax.jbi.JBIException: Life cycle exception on START at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:117) at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:110) Caused by: javax.jbi.JBIException: org.ow2.petals.component.framework.api.exception.PEtALSCDKException: Can't find JBIListener class : org.ow2.petals.bc.jms.listener.JBIListener at org.ow2.petals.component.framework.process.JBIProcessorManager.start(JBIProcessorManager.java:268) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:568) at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more Caused by: org.ow2.petals.component.framework.api.exception.PEtALSCDKException: Can't find JBIListener class : org.ow2.petals.bc.jms.listener.JBIListener at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorObjectFactory.createAndInitJBIListener(JBIProcessorManager.java:222) at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorObjectFactory.makeObject(JBIProcessorManager.java:181) at org.apache.commons.pool.impl.GenericObjectPool.addObject(GenericObjectPool.java:1276) at org.apache.commons.pool.PoolUtils.prefill(PoolUtils.java:277) at org.ow2.petals.component.framework.process.JBIProcessorManager.start(JBIProcessorManager.java:263) ... 3 more Caused by: java.lang.ClassNotFoundException: org.ow2.petals.bc.jms.listener.JBIListener at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.ow2.petals.system.classloader.ComponentClassLoader.loadClass(ComponentClassLoader.java:129) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorObjectFactory.createAndInitJBIListener(JBIProcessorManager.java:213) {code} |
| Link |
This issue depends on |
| Status | New [ 10000 ] | Open [ 10002 ] |
| Priority | Blocker [ 1 ] | Minor [ 4 ] |
| Transition | Status Change Time | Execution Times | Last Executer | Last Execution Date | |||||||||
|
|
|
|
|
The problem is due to
PETALSCDK-57PETALSCDK-57