Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] PluginDescriptor.getInstallUrl & MalformedURLExceptions

When Eclipse is starting InternalBootLoader.initialize() is used to setup
all the basic state for the platform.  In there the mathod
PlatformURLHandlerFactory.startup() is called.  This attempts to register
the Eclipse URL stream handler factory using URL.setURLStreamHandlerFactory
().  This method throws an exception if a stream hander factory is already
registered (can only have one per VM).  If this happens Eclipse goes into
"toleration" mode.  I don't actually recall how all that works but suspect
there is something in there that is causing you difficulty.

Recommend that you look through the code or search bugzilla for
"toleration" or "URL stream handler" etc.  This was more than likely a bug
at some point when we started on the Tomcat support for help.

Jeff





                                                                                                             
                      David Mann                                                                             
                      <Davidm@xxxxxxxxxx>             To:       "'platform-core-dev@xxxxxxxxxxx.'"           
                      Sent by:                         <platform-core-dev@xxxxxxxxxxx>                       
                      platform-core-dev-admin@        cc:                                                    
                      eclipse.org                     Subject:  [platform-core-dev]                          
                                                       PluginDescriptor.getInstallUrl &                      
                                                       MalformedURLExceptions                                
                      02/06/2003 05:07 PM                                                                    
                      Please respond to                                                                      
                      platform-core-dev                                                                      
                                                                                                             
                                                                                                             



[This is a copy of a message posted to platform-help-dev]

 Were trying to get a standalone help configuration to run in all our
various web app servers, with an aim to reusing eclipse help in our own
applications.
Tomcat 4.1.18 works fine.
Jetty 4.2 works fine.
JBoss-3.0.4 with either Jetty or Tomcat integration will throw an
InvocationTargetException (org.eclipse.help.servlet.Eclipse.init) which
eventually can be traced to malformed url exceptions when trying to load
plugins, urls with the "platform:" protocol
(org.eclipse.core.internal.plugins.PluginDescriptor.getInstallUrl(..)).
Knowing full well that that it is beyond the scope of the eclipse
development to get involved with the tangled web of classloaders,  url
hanldlers and whatnots inside of EJB application servers, I though I would
just post this of the off chance someone can offer some insight on solving
this.

David Mann








****************************************************************************


This e-mail may be privileged and/or confidential, and the sender does not
waive any related rights and obligations. Any distribution, use or copying
of this e-mail or the information it contains by other than an intended
recipient is unauthorized. If you received this e-mail in error, please
advise me (by return e-mail or otherwise) immediately.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux
droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou
copie de ce message ou des renseignements qu'il contient par une personne
autre que le (les) destinataire(s) désigné(s) est interdite. Si vous
recevez
ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de
courriel ou par un autre moyen.
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev





Back to the top