[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [equinox-dev] Deploying servlet on a tomcat
- From: "Kaegi, Simon" <Simon.Kaegi@xxxxxxxxxx>
- Date: Wed, 12 Jul 2006 01:37:37 -0400
- Delivered-to: email@example.com
- Importance: normal
- Priority: normal
- Thread-index: AcalSs2IqZ4ugvLwSiyb3PzmLsyF6wAKGejQ
- Thread-topic: [equinox-dev] Deploying servlet on a tomcat
[moving thread to the newsgroup]
It sounds like you have everything deployed correctly. If
you deployed the webapp overtop of an existing install it's a good idea to
"sp_clean" your environment.
In terms of next steps... by default the
"console" is launched which you can use to verify that everything is installed
and started correctly. I'd spend some time learning the console commands as
they're invaluable when tracking down problems.
All requests are proxied through the BridgeServlet. You can
access the servlet and resource registered by the "sample.http" bundle at
"/helloworld" and "/helloworld.html" relative to the context where you installed
the war. e.g. http://localhost:8080/bridge/helloworld
If you're using "sample.http.registry" try
"/ext/helloworld" and "/ext/helloworld.html" again prefixed by your
Hope this helps.
I was able to deploy my servlet on the osgi framework
within Eclipse, and all the needed services worked fine. My next step is
to deploy this project on our production tomcat instance. I am looking
at the following guide:
I have deployed bridge.war, and the sp_test context shows that the bridge
is deployed successfully. I have also downloaded the sample
applications. I followed the instructions on the build process section,
and I have the following directory structure:
web.xml (same as sample web application)
all my dependent plugins along with everything in this folder of the sample
web application (without registry)
feature.xml (same as the sample application + my bundle added to the
config.ini (same as sample + an @start for my bundle
I am curious what the next step should be. I tried creating a war
archive and placing it in tomcat's webapp directory. Tomcat's log shows
an attempt to deploy the application as well. However, I am not sure if
properly deployed or not. Moreover, how would I access the servlet?
Would it be accessed through the bridge servlet? If there are any instructions
on how to access the sample application once deployed, I would like to see
them. I ran the WebAppBuilder.xml script in the launcher, and I saw the
directory structure. However, I am still unsure of how to deploy the
application. I would sincerely appreciate any help.
This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.