[
https://issues.apache.org/jira/browse/TUSCANY-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vamsavardhana Reddy updated TUSCANY-3018:
-----------------------------------------
Assignee: Vamsavardhana Reddy
Completed: At revision: 788271 in branches\sca-java-1.x
o Handle "archive" URLs without setting the StreamHandlerFactory
> EarContributionProcessor's URL.setURLStreamHandlerFactory() fails with
> factory already defined error
> ----------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3018
> URL: https://issues.apache.org/jira/browse/TUSCANY-3018
> Project: Tuscany
> Issue Type: Bug
> Reporter: Anbu Ponniah
> Assignee: Vamsavardhana Reddy
> Priority: Critical
>
> org.apache.tuscany.sca.contribution.jee.impl.EarContributionProcessor's
> static initializer calls URL.setURLStreamHandlerFactory(). In Websphere, the
> factory is already set causing tuscany's call to fail with "factory already
> defined" error.
> Since URL.setURLStreamHandler() can only be called once per JVM and since the
> application server may already register it to safeguard their supported
> protocols, other options (like using URL(context, spec, handler) or
> URL(protocol, host, port, file, handler)) would be more suitable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.