You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/10/24 11:52:52 UTC
[jira] Created: (SM-1662) When deployed in Smx4, the JBI SUs do not
have access to the whole JRE
When deployed in Smx4, the JBI SUs do not have access to the whole JRE
----------------------------------------------------------------------
Key: SM-1662
URL: https://issues.apache.org/activemq/browse/SM-1662
Project: ServiceMix
Issue Type: Bug
Affects Versions: servicemix-shared-2008.01
Reporter: Guillaume Nodet
Fix For: servicemix-shared-2008.02
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Edell Nolan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edell Nolan reopened SM-1662:
-----------------------------
This does not work for the servicemix-cxf-se component - we need to revert the addition of the jaxp-ri for the osgi bundles element in the pom.xml file
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-bean-2008.02, servicemix-camel-2008.02, servicemix-cxf-se-2008.02, servicemix-drools-2008.02, servicemix-eip-2008.02, servicemix-jsr181-2008.02, servicemix-osworkflow-2008.02, servicemix-quartz-2008.02, servicemix-saxon-2008.02, servicemix-script-2008.02, servicemix-scripting-2008.02, servicemix-snmp-2008.02, servicemix-validation-2008.02, servicemix-wsn2005-2008.02, servicemix-cxf-bc-2008.02, servicemix-file-2008.02, servicemix-ftp-2008.02, servicemix-http-2008.02, servicemix-jms-2008.02, servicemix-mail-2008.02, servicemix-truezip-2008.02, servicemix-xmpp-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-1662.
---------------------------------
Fix Version/s: servicemix-bean-2008.02
servicemix-camel-2008.02
servicemix-cxf-se-2008.02
servicemix-drools-2008.02
servicemix-eip-2008.02
servicemix-jsr181-2008.02
servicemix-osworkflow-2008.02
servicemix-quartz-2008.02
servicemix-saxon-2008.02
servicemix-script-2008.02
servicemix-scripting-2008.02
servicemix-snmp-2008.02
servicemix-validation-2008.02
servicemix-wsn2005-2008.02
servicemix-cxf-bc-2008.02
servicemix-file-2008.02
servicemix-ftp-2008.02
servicemix-http-2008.02
servicemix-jms-2008.02
servicemix-mail-2008.02
servicemix-truezip-2008.02
servicemix-xmpp-2008.02
(was: servicemix-shared-2008.02)
Resolution: Fixed
Sending pom.xml
Transmitting file data .
Committed revision 720863.
Sending pom.xml
Transmitting file data .
Committed revision 720864.
Sending pom.xml
Transmitting file data .
Committed revision 720865.
Sending pom.xml
Transmitting file data .
Committed revision 720866.
Sending pom.xml
Transmitting file data .
Committed revision 720867.
Sending pom.xml
Transmitting file data .
Committed revision 720868.
Sending pom.xml
Transmitting file data .
Committed revision 720869.
Sending pom.xml
Transmitting file data .
Committed revision 720870.
Sending pom.xml
Transmitting file data .
Committed revision 720871.
Sending pom.xml
Transmitting file data .
Committed revision 720872.
Sending pom.xml
Transmitting file data .
Committed revision 720873.
Sending pom.xml
Transmitting file data .
Committed revision 720874.
Sending pom.xml
Transmitting file data .
Committed revision 720875.
Sending pom.xml
Transmitting file data .
Committed revision 720876.
Sending pom.xml
Transmitting file data .
Committed revision 720878.
Sending pom.xml
Transmitting file data .
Committed revision 720879.
Sending pom.xml
Transmitting file data .
Committed revision 720881.
Sending pom.xml
Transmitting file data .
Committed revision 720882.
Sending pom.xml
Transmitting file data .
Committed revision 720883.
Sending pom.xml
Transmitting file data .
Committed revision 720884.
Sending pom.xml
Transmitting file data .
Committed revision 720886.
Sending pom.xml
Transmitting file data .
Committed revision 720887.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-bean-2008.02, servicemix-camel-2008.02, servicemix-cxf-se-2008.02, servicemix-drools-2008.02, servicemix-eip-2008.02, servicemix-jsr181-2008.02, servicemix-osworkflow-2008.02, servicemix-quartz-2008.02, servicemix-saxon-2008.02, servicemix-script-2008.02, servicemix-scripting-2008.02, servicemix-snmp-2008.02, servicemix-validation-2008.02, servicemix-wsn2005-2008.02, servicemix-cxf-bc-2008.02, servicemix-file-2008.02, servicemix-ftp-2008.02, servicemix-http-2008.02, servicemix-jms-2008.02, servicemix-mail-2008.02, servicemix-truezip-2008.02, servicemix-xmpp-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47631#action_47631 ]
Guillaume Nodet commented on SM-1662:
-------------------------------------
If I revert the commit, even that workaround would not work.
I need to investigate this issue a bit more before doing anything.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-1662.
---------------------------------
Assignee: Guillaume Nodet
Resolution: Fixed
Sending servicemix-common/src/main/java/org/apache/servicemix/common/xbean/ClassLoaderXmlPreprocessor.java
Sending servicemix-common/src/test/java/org/apache/servicemix/common/xbean/XBeanDeployerTest.java
Transmitting file data ..
Committed revision 708133.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1662) When deployed in Smx4, the JBI SUs do not
have access to the whole JRE
Posted by "Edell Nolan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edell Nolan updated SM-1662:
----------------------------
Attachment: sm-1622-patch.patch
I have attached a patch - without this the Servicemix-cxf-se will fail to deploy and start in the latest build of a kit. Gnodet already removed this for the Servicemix-cxf-bc component.
thanks, Edell.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-bean-2008.02, servicemix-camel-2008.02, servicemix-cxf-se-2008.02, servicemix-drools-2008.02, servicemix-eip-2008.02, servicemix-jsr181-2008.02, servicemix-osworkflow-2008.02, servicemix-quartz-2008.02, servicemix-saxon-2008.02, servicemix-script-2008.02, servicemix-scripting-2008.02, servicemix-snmp-2008.02, servicemix-validation-2008.02, servicemix-wsn2005-2008.02, servicemix-cxf-bc-2008.02, servicemix-file-2008.02, servicemix-ftp-2008.02, servicemix-http-2008.02, servicemix-jms-2008.02, servicemix-mail-2008.02, servicemix-truezip-2008.02, servicemix-xmpp-2008.02
>
> Attachments: sm-1622-patch.patch, test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reopened SM-1662:
---------------------------------
Need to find another fix.
That one causes a lot of problems when using jaxp-ri because there are conflicts between the RI bundle and the classes from the Sun JRE.
I will revert those changes now.
Another fix may be to add an optional import on sun.misc package for all components.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1662) When deployed in Smx4, the JBI SUs do not
have access to the whole JRE
Posted by "Martin Kuhn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kuhn updated SM-1662:
----------------------------
Attachment: test.esb.generic.service.zip
In this really simple example I get java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder again.
The client (test.esb.generic.service\client.html) is prepared to send a http request to the service.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47632#action_47632 ]
Guillaume Nodet commented on SM-1662:
-------------------------------------
I've reverted the commits
Sending servicemix-common/src/main/java/org/apache/servicemix/common/xbean/ClassLoaderXmlPreprocessor.java
Transmitting file data .
Committed revision 720851.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-1662.
---------------------------------
Resolution: Fixed
Forgot to fix the case where the <classpath/> element is not present.
As a workaround, you should be able to use the previous commit and add the following xml element in your xbean.xml file of the SU:
{code:lang=xml}
<classpath/>
{code}
Sending servicemix-common/src/main/java/org/apache/servicemix/common/xbean/ClassLoaderXmlPreprocessor.java
Transmitting file data .
Committed revision 719191.
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Martin Kuhn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47629#action_47629 ]
Martin Kuhn commented on SM-1662:
---------------------------------
Does this mean I've to stay by the solution to add <classpath/> to the xbean.xml.???
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
> Attachments: test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Martin Kuhn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kuhn reopened SM-1662:
-----------------------------
It is right that I'm able to use the whole JRE in SMX4 (e.g. sun.misc.BASE64Encoder).
But when I have a third party lib which uses certain classes (e.g. sun.misc.BASE64Encoder) I get a java.lang.NoClassDefFoundError.
(It works when a class in the SMX environment already loaded the class)
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-shared-2008.02
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1662) When deployed in Smx4, the JBI SUs do
not have access to the whole JRE
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen resolved SM-1662.
---------------------------------
Resolution: Fixed
Patch for servicemix-cxf-se applied with thanks to Edell!
> When deployed in Smx4, the JBI SUs do not have access to the whole JRE
> ----------------------------------------------------------------------
>
> Key: SM-1662
> URL: https://issues.apache.org/activemq/browse/SM-1662
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: servicemix-shared-2008.01
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: servicemix-bean-2008.02, servicemix-camel-2008.02, servicemix-cxf-se-2008.02, servicemix-drools-2008.02, servicemix-eip-2008.02, servicemix-jsr181-2008.02, servicemix-osworkflow-2008.02, servicemix-quartz-2008.02, servicemix-saxon-2008.02, servicemix-script-2008.02, servicemix-scripting-2008.02, servicemix-snmp-2008.02, servicemix-validation-2008.02, servicemix-wsn2005-2008.02, servicemix-cxf-bc-2008.02, servicemix-file-2008.02, servicemix-ftp-2008.02, servicemix-http-2008.02, servicemix-jms-2008.02, servicemix-mail-2008.02, servicemix-truezip-2008.02, servicemix-xmpp-2008.02
>
> Attachments: sm-1622-patch.patch, test.esb.generic.service.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.