You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jamie Goodyear (JIRA)" <ji...@apache.org> on 2009/01/22 16:12:00 UTC
[jira] Created: (SMX4KNL-174) NoClassDefFoundError
jline/ConsoleReader when invoking servicemix-client
NoClassDefFoundError jline/ConsoleReader when invoking servicemix-client
------------------------------------------------------------------------
Key: SMX4KNL-174
URL: https://issues.apache.org/activemq/browse/SMX4KNL-174
Project: ServiceMix Kernel
Issue Type: Bug
Affects Versions: 1.1.0
Environment: Linux
Reporter: Jamie Goodyear
When the servicemix client is invoked a No Class Def Found Error occurs.
{noformat}
jgoodyea@kang:~/x4/kernel/test/apache-servicemix-kernel-1.1.0-SNAPSHOT$ java -jar lib/servicemix-client.jar
java.lang.NoClassDefFoundError: jline/ConsoleReader
at org.apache.servicemix.kernel.client.Main.main(Main.java:73)
{noformat}
This can be reproduced by following the $SMX_HOME/demos/smx4web example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SMX4KNL-174) NoClassDefFoundError
jline/ConsoleReader when invoking servicemix-client
Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie Goodyear updated SMX4KNL-174:
-----------------------------------
Patch Info: [Patch Available]
Fix Version/s: 1.1.0
> NoClassDefFoundError jline/ConsoleReader when invoking servicemix-client
> ------------------------------------------------------------------------
>
> Key: SMX4KNL-174
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-174
> Project: ServiceMix Kernel
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: Linux
> Reporter: Jamie Goodyear
> Assignee: Jamie Goodyear
> Fix For: 1.1.0
>
> Attachments: smx4knl-174.patch
>
>
> When the servicemix client is invoked a No Class Def Found Error occurs.
> {noformat}
> jgoodyea@kang:~/x4/kernel/test/apache-servicemix-kernel-1.1.0-SNAPSHOT$ java -jar lib/servicemix-client.jar
> java.lang.NoClassDefFoundError: jline/ConsoleReader
> at org.apache.servicemix.kernel.client.Main.main(Main.java:73)
> {noformat}
> This can be reproduced by following the $SMX_HOME/demos/smx4web example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (SMX4KNL-174) NoClassDefFoundError
jline/ConsoleReader when invoking servicemix-client
Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SMX4KNL-174 started by Jamie Goodyear.
> NoClassDefFoundError jline/ConsoleReader when invoking servicemix-client
> ------------------------------------------------------------------------
>
> Key: SMX4KNL-174
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-174
> Project: ServiceMix Kernel
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: Linux
> Reporter: Jamie Goodyear
> Assignee: Jamie Goodyear
>
> When the servicemix client is invoked a No Class Def Found Error occurs.
> {noformat}
> jgoodyea@kang:~/x4/kernel/test/apache-servicemix-kernel-1.1.0-SNAPSHOT$ java -jar lib/servicemix-client.jar
> java.lang.NoClassDefFoundError: jline/ConsoleReader
> at org.apache.servicemix.kernel.client.Main.main(Main.java:73)
> {noformat}
> This can be reproduced by following the $SMX_HOME/demos/smx4web example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SMX4KNL-174) NoClassDefFoundError
jline/ConsoleReader when invoking servicemix-client
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SMX4KNL-174.
-------------------------------------
Resolution: Fixed
I would rather add a reference to the jline bundle in the osgi bundle classpath.
Sending client/pom.xml
Transmitting file data .
Committed revision 740422.
> NoClassDefFoundError jline/ConsoleReader when invoking servicemix-client
> ------------------------------------------------------------------------
>
> Key: SMX4KNL-174
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-174
> Project: ServiceMix Kernel
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: Linux
> Reporter: Jamie Goodyear
> Assignee: Jamie Goodyear
> Fix For: 1.1.0
>
> Attachments: smx4knl-174.patch
>
>
> When the servicemix client is invoked a No Class Def Found Error occurs.
> {noformat}
> jgoodyea@kang:~/x4/kernel/test/apache-servicemix-kernel-1.1.0-SNAPSHOT$ java -jar lib/servicemix-client.jar
> java.lang.NoClassDefFoundError: jline/ConsoleReader
> at org.apache.servicemix.kernel.client.Main.main(Main.java:73)
> {noformat}
> This can be reproduced by following the $SMX_HOME/demos/smx4web example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMX4KNL-174) NoClassDefFoundError
jline/ConsoleReader when invoking servicemix-client
Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48998#action_48998 ]
Jamie Goodyear commented on SMX4KNL-174:
----------------------------------------
Turns out that we now need to include jline in the shades jar for the org.apache.servicemix.kernel.client. Will attach patch shortly.
> NoClassDefFoundError jline/ConsoleReader when invoking servicemix-client
> ------------------------------------------------------------------------
>
> Key: SMX4KNL-174
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-174
> Project: ServiceMix Kernel
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: Linux
> Reporter: Jamie Goodyear
> Assignee: Jamie Goodyear
>
> When the servicemix client is invoked a No Class Def Found Error occurs.
> {noformat}
> jgoodyea@kang:~/x4/kernel/test/apache-servicemix-kernel-1.1.0-SNAPSHOT$ java -jar lib/servicemix-client.jar
> java.lang.NoClassDefFoundError: jline/ConsoleReader
> at org.apache.servicemix.kernel.client.Main.main(Main.java:73)
> {noformat}
> This can be reproduced by following the $SMX_HOME/demos/smx4web example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SMX4KNL-174) NoClassDefFoundError
jline/ConsoleReader when invoking servicemix-client
Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie Goodyear reassigned SMX4KNL-174:
--------------------------------------
Assignee: Jamie Goodyear
> NoClassDefFoundError jline/ConsoleReader when invoking servicemix-client
> ------------------------------------------------------------------------
>
> Key: SMX4KNL-174
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-174
> Project: ServiceMix Kernel
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: Linux
> Reporter: Jamie Goodyear
> Assignee: Jamie Goodyear
>
> When the servicemix client is invoked a No Class Def Found Error occurs.
> {noformat}
> jgoodyea@kang:~/x4/kernel/test/apache-servicemix-kernel-1.1.0-SNAPSHOT$ java -jar lib/servicemix-client.jar
> java.lang.NoClassDefFoundError: jline/ConsoleReader
> at org.apache.servicemix.kernel.client.Main.main(Main.java:73)
> {noformat}
> This can be reproduced by following the $SMX_HOME/demos/smx4web example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SMX4KNL-174) NoClassDefFoundError
jline/ConsoleReader when invoking servicemix-client
Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie Goodyear updated SMX4KNL-174:
-----------------------------------
Attachment: smx4knl-174.patch
Attachment: smx4knl-174.patch
Contains an update to client/pom.xml to include jline in the shades jar. This is required in order to allow the servicemix client find the jline package (just adding it to classpath is not enough).
Tested on Mac OSX and Ubuntu.
> NoClassDefFoundError jline/ConsoleReader when invoking servicemix-client
> ------------------------------------------------------------------------
>
> Key: SMX4KNL-174
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-174
> Project: ServiceMix Kernel
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: Linux
> Reporter: Jamie Goodyear
> Assignee: Jamie Goodyear
> Fix For: 1.1.0
>
> Attachments: smx4knl-174.patch
>
>
> When the servicemix client is invoked a No Class Def Found Error occurs.
> {noformat}
> jgoodyea@kang:~/x4/kernel/test/apache-servicemix-kernel-1.1.0-SNAPSHOT$ java -jar lib/servicemix-client.jar
> java.lang.NoClassDefFoundError: jline/ConsoleReader
> at org.apache.servicemix.kernel.client.Main.main(Main.java:73)
> {noformat}
> This can be reproduced by following the $SMX_HOME/demos/smx4web example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.