Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » quesiton for testing sample.http.registry with equinox in servlet container
quesiton for testing sample.http.registry with equinox in servlet container [message #81271] Wed, 17 January 2007 15:38 Go to next message
Simon Chen is currently offline Simon ChenFriend
Messages: 10
Registered: July 2009
Junior Member
hi, i'm stuck on figuring out how to test the sample.http.registry
project as described in Equinox in a Servlet Container documentation.
Here are the steps I've perfomred:
1. I've exported the sample.http.registry project as a jar and dropped
it into the /plugins directory of bridge.war.

2. I deployed bridge.war to a web server (WebSphere Application Server
6.1) and ran /sp_test, /sp_deploy, and /sp_start successfully.

3. I tried to invoke the helloworld servlet by doing
http://myhost:9081/bridge/ext/helloworld, and i received a 404 error
(target servlet cannot be found).

Did I mess up somewhere in testing this plugin? I'm rather new to
Equinox, how do i check the error logs of Equinox that's embedded in a
web application? Thanks.
Re: quesiton for testing sample.http.registry with equinox in servlet container [message #81289 is a reply to message #81271] Wed, 17 January 2007 16:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi Simon,

It sounds like the problem might be with your first step.
Creating an archive of the project won't do it.
You need to "export as a deployable plugin" to the WEB-INF/eclipse
directory.

WAS 6.1 works fine however until you have the basics working I'd suggest
using Tomcat and starting it manually as a first step e.g. bin/startup.
This will give you access to stdin/out and the "console" which really helps
for finding problems when you're getting started.
Type "ss" to list your bundles and their status as a start. "?" lists the
other commands -- learning the basics of the console is definitely
worthwhile.

HTH
-Simon

"Simon" <kungfubuda@gmail.com> wrote in message
news:eolfuj$nut$1@utils.eclipse.org...
> hi, i'm stuck on figuring out how to test the sample.http.registry
> project as described in Equinox in a Servlet Container documentation.
> Here are the steps I've perfomred:
> 1. I've exported the sample.http.registry project as a jar and dropped
> it into the /plugins directory of bridge.war.
>
> 2. I deployed bridge.war to a web server (WebSphere Application Server
> 6.1) and ran /sp_test, /sp_deploy, and /sp_start successfully.
>
> 3. I tried to invoke the helloworld servlet by doing
> http://myhost:9081/bridge/ext/helloworld, and i received a 404 error
> (target servlet cannot be found).
>
> Did I mess up somewhere in testing this plugin? I'm rather new to
> Equinox, how do i check the error logs of Equinox that's embedded in a
> web application? Thanks.
Re: quesiton for testing sample.http.registry with equinox in servlet container [message #81305 is a reply to message #81289] Wed, 17 January 2007 18:36 Go to previous message
Simon Chen is currently offline Simon ChenFriend
Messages: 10
Registered: July 2009
Junior Member
Hi Simon,
Thank you for the pointer about "export as a deployable plug-in". It
turned out that I also needed to upgrade to Eclipse 3.2 to export the
plug-in correctly. I was able to get sample.http working on Tomcat and
WebSphere. I really appreciate all of your help.

Simon Kaegi wrote:
> Hi Simon,
>
> It sounds like the problem might be with your first step.
> Creating an archive of the project won't do it.
> You need to "export as a deployable plugin" to the WEB-INF/eclipse
> directory.
>
> WAS 6.1 works fine however until you have the basics working I'd suggest
> using Tomcat and starting it manually as a first step e.g. bin/startup.
> This will give you access to stdin/out and the "console" which really helps
> for finding problems when you're getting started.
> Type "ss" to list your bundles and their status as a start. "?" lists the
> other commands -- learning the basics of the console is definitely
> worthwhile.
>
> HTH
> -Simon
>
> "Simon" <kungfubuda@gmail.com> wrote in message
> news:eolfuj$nut$1@utils.eclipse.org...
>> hi, i'm stuck on figuring out how to test the sample.http.registry
>> project as described in Equinox in a Servlet Container documentation.
>> Here are the steps I've perfomred:
>> 1. I've exported the sample.http.registry project as a jar and dropped
>> it into the /plugins directory of bridge.war.
>>
>> 2. I deployed bridge.war to a web server (WebSphere Application Server
>> 6.1) and ran /sp_test, /sp_deploy, and /sp_start successfully.
>>
>> 3. I tried to invoke the helloworld servlet by doing
>> http://myhost:9081/bridge/ext/helloworld, and i received a 404 error
>> (target servlet cannot be found).
>>
>> Did I mess up somewhere in testing this plugin? I'm rather new to
>> Equinox, how do i check the error logs of Equinox that's embedded in a
>> web application? Thanks.
>
>
Previous Topic:activating org.eclipse.equinox.http.jetty
Next Topic:Specify packages ... without explicitly identifying their orginating plug-in?
Goto Forum:
  


Current Time: Fri Apr 26 15:54:43 GMT 2024

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

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

Back to the top