Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problems with tomcat again
Problems with tomcat again [message #74962] Wed, 18 October 2006 08:22 Go to next message
Eclipse UserFriend
Originally posted by: ridcully560.yahoo.com

Hello,

I've been trying to develop an server-side plugin-application for a
while. It works fine in eclipse with jetty, but I'm not gettin it to run
on tomcat.

When I try to make it work with tomcat I try the following:

1) Install the brtidge.war by placing it in the webapps folder.
2) Start tomcat -> bride-directory is created, and the osgi-framework
starts.
3) I try following the steps described at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=140430 (comment 24)
But I'm unsure if that i enough. The first part describing how
everything should work under eclipse was fine for me, but the second
part: "Alternate Http Service..." does not work.

I understand it that way, that I install the bridge.war and then do the
following steps:

> 2) org.eclipse.osgi.services_3.1.100.v20060601 [3.2RC7]
> 3) org.eclipse.equinox.servlet.bridge.extensionbundle [created from running
> webAppBuilder.xml in org.eclipse.equinox.servlet.bridge.launcher from
> equinox-incubator HEAD]

I can run the scrpt and create the new directory, but when I place it to
the plugin-folder, it seems to be ignored, as I still gat an
....extensionbundle_1.0.0 and not _3.2.0 as I understand it should be.
There seems to be one already from the bridge.war-installation, and I
can't override that one (I can't see something like that in the
plugin-directory)

> 4) org.eclipse.equinox.servlet.bridge.http_3.2.0.qualifier [from
> equinox-incubator HEAD]

I just get the _1.0.0 Version from the cvs.

> 5) org.eclipse.equinox.jakarta.commons.logging_1.0.4 [from equinox-incubator
> HEAD] (still needed for Jasper)

I can get to some point where all my own plugins are started and I can
try to run them, but get the following error:

> java.lang.LinkageError: Class javax/servlet/Servlet violates loader
> constraints

the comment on
http://dev.eclipse.org/newslists/news.eclipse.technology.equ inox/msg02051.html
indicates to me, that this might be some problem with the old
extensionbundle_1.0.0, and so I wonder if I do the right steps to
install everything in my tomcat.

Johannes
Re: Problems with tomcat again [message #75036 is a reply to message #74962] Wed, 18 October 2006 12:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi Johannes,

Part of the problem is that those components are out-of-date.
Between writing the instructions in that bug report and now many of the
server-side components have graduated into the main eclipse depot.

If you can wait a day or so...
.... I'm writing some documentation for JSP support that I'll add
instructions up on the website.
I'll re-post here and on the bug report when done.

-Simon

"Johannes" <ridcully560@yahoo.com> wrote in message
news:eh4o93$4mb$1@utils.eclipse.org...
> Hello,
>
> I've been trying to develop an server-side plugin-application for a
> while. It works fine in eclipse with jetty, but I'm not gettin it to run
> on tomcat.
>
> When I try to make it work with tomcat I try the following:
>
> 1) Install the brtidge.war by placing it in the webapps folder.
> 2) Start tomcat -> bride-directory is created, and the osgi-framework
> starts.
> 3) I try following the steps described at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=140430 (comment 24)
> But I'm unsure if that i enough. The first part describing how
> everything should work under eclipse was fine for me, but the second
> part: "Alternate Http Service..." does not work.
>
> I understand it that way, that I install the bridge.war and then do the
> following steps:
>
> > 2) org.eclipse.osgi.services_3.1.100.v20060601 [3.2RC7]
> > 3) org.eclipse.equinox.servlet.bridge.extensionbundle [created from
running
> > webAppBuilder.xml in org.eclipse.equinox.servlet.bridge.launcher from
> > equinox-incubator HEAD]
>
> I can run the scrpt and create the new directory, but when I place it to
> the plugin-folder, it seems to be ignored, as I still gat an
> ...extensionbundle_1.0.0 and not _3.2.0 as I understand it should be.
> There seems to be one already from the bridge.war-installation, and I
> can't override that one (I can't see something like that in the
> plugin-directory)
>
> > 4) org.eclipse.equinox.servlet.bridge.http_3.2.0.qualifier [from
> > equinox-incubator HEAD]
>
> I just get the _1.0.0 Version from the cvs.
>
> > 5) org.eclipse.equinox.jakarta.commons.logging_1.0.4 [from
equinox-incubator
> > HEAD] (still needed for Jasper)
>
> I can get to some point where all my own plugins are started and I can
> try to run them, but get the following error:
>
> > java.lang.LinkageError: Class javax/servlet/Servlet violates loader
> > constraints
>
> the comment on
>
http://dev.eclipse.org/newslists/news.eclipse.technology.equ inox/msg02051.html
> indicates to me, that this might be some problem with the old
> extensionbundle_1.0.0, and so I wonder if I do the right steps to
> install everything in my tomcat.
>
> Johannes
Re: Problems with tomcat again [message #75052 is a reply to message #75036] Wed, 18 October 2006 12:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ridcully560.yahoo.com

Hi Simon,

> If you can wait a day or so...
> ... I'm writing some documentation for JSP support that I'll add
> instructions up on the website.
> I'll re-post here and on the bug report when done.

yeah, that'll be great. Thanks!

Could you post a little hint here if it will take longer. Not meant to
stress you, but the application I'm working on is for my diploma-thesis,
and I have to plan my coding- and writing-time a little.

Johannes
Re: Problems with tomcat again [message #75238 is a reply to message #75052] Mon, 23 October 2006 05:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

It's still a bit of a WIP, but see
http://www.eclipse.org/equinox/incubator/server/jsp_support. php


"Johannes" <ridcully560@yahoo.com> wrote in message
news:eh58eh$4et$1@utils.eclipse.org...
> Hi Simon,
>
> > If you can wait a day or so...
> > ... I'm writing some documentation for JSP support that I'll add
> > instructions up on the website.
> > I'll re-post here and on the bug report when done.
>
> yeah, that'll be great. Thanks!
>
> Could you post a little hint here if it will take longer. Not meant to
> stress you, but the application I'm working on is for my diploma-thesis,
> and I have to plan my coding- and writing-time a little.
>
> Johannes
Re: Problems with tomcat again [message #75571 is a reply to message #75238] Wed, 25 October 2006 11:42 Go to previous message
Eclipse UserFriend
Originally posted by: ridcully560.yahoo.com

Hi Simon,

works fine for me know. The equinox-server pages on eclipse.org are
quite more understandable now. Also the team project sets work fine,
thanks! Part of the probelm were also my not corret defined
build.properties...

When I try to make a plugin from the application I'm working on,
everything works fine running it in Eclipse. But when I try to export
it, I allways get an error that some libs are not found. The problem
seems to accour while compiling the java-classes before putting them
into the jar-file. They are spread to different directories insinde the
eclipse-project, I've added all those to the build.properties - didn't
help. After that I tried to build an library.jar file containing all the
libraries in the project (buil-tab -> Runtime Information), hoping that
this would be that place eclipse would search first. But that didn't
work out, too.

This is probably not the correct place to ask this, but as it's from the
context of my equinox-problems, I hope that's ok.

Johannes

> It's still a bit of a WIP, but see
> http://www.eclipse.org/equinox/incubator/server/jsp_support. php
>
>
> "Johannes" <ridcully560@yahoo.com> wrote in message
> news:eh58eh$4et$1@utils.eclipse.org...
>> Hi Simon,
>>
>>> If you can wait a day or so...
>>> ... I'm writing some documentation for JSP support that I'll add
>>> instructions up on the website.
>>> I'll re-post here and on the bug report when done.
>> yeah, that'll be great. Thanks!
>>
>> Could you post a little hint here if it will take longer. Not meant to
>> stress you, but the application I'm working on is for my diploma-thesis,
>> and I have to plan my coding- and writing-time a little.
>>
>> Johannes
>
>
Previous Topic:Possible bug in resolver
Next Topic:Custome Ext or OSGI service
Goto Forum:
  


Current Time: Fri Apr 26 16:44:52 GMT 2024

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

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

Back to the top