Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Loading eclipse in the web application server environment
Loading eclipse in the web application server environment [message #81063] Mon, 23 June 2003 22:33 Go to next message
Eclipse UserFriend
Originally posted by: rerngler.sg.ibm.com

Hi,
I am trying to load eclipse under the web application server environment
and encountered an IllegalStateException. After tracing through the
eclipse source, i realize that eclipse requires the
"PlatformURLHandlerFactory" to handle the "platform:" protocol. I believed
that the web application server also install its own
URLStreamHandlerFactory, hence when eclipse tries to build a URL from
"platform:...", a URLMalformedException is thrown.
Since we can only register 1 URLStreamHandlerFactory per JavaVM, how do I
circumvents this problem ?

I also noticed that eclipse set the PlatformURLHandlerFactory into the
system property, but there is no reference to this factory from its class
loader.

Thanks in advance.
Re: Loading eclipse in the web application server environment [message #81544 is a reply to message #81063] Tue, 24 June 2003 10:52 Go to previous message
Eclipse UserFriend
Originally posted by: birsan.nospam.ca.ibm.com

If you use WAS then you can set other url stream handlers.
We had similar issues with the 2.0.2 help system infocenter, so you could
take a look at
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -help-home/infocenter202.html
for setup instructions, and also take a look at the code for the proxy
stream handlers in
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.help.we bapp/srcurl/org/eclipse/help/internal/proxy/protocol/

-Dorian


"Sitthichai" <rerngler@sg.ibm.com> wrote in message
news:bd8d9t$mv5$1@rogue.oti.com...
> Hi,
> I am trying to load eclipse under the web application server environment
> and encountered an IllegalStateException. After tracing through the
> eclipse source, i realize that eclipse requires the
> "PlatformURLHandlerFactory" to handle the "platform:" protocol. I believed
> that the web application server also install its own
> URLStreamHandlerFactory, hence when eclipse tries to build a URL from
> "platform:...", a URLMalformedException is thrown.
> Since we can only register 1 URLStreamHandlerFactory per JavaVM, how do I
> circumvents this problem ?
>
> I also noticed that eclipse set the PlatformURLHandlerFactory into the
> system property, but there is no reference to this factory from its class
> loader.
>
> Thanks in advance.
>
Previous Topic:Eclipse2.1 "org.eclipse.ui.propertyPages " extension point code generating wizard question
Next Topic:plugin deploy error
Goto Forum:
  


Current Time: Fri Jul 25 05:59:50 EDT 2025

Powered by FUDForum. Page generated in 0.07850 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top