[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Deploying servlet on a tomcat

Hello,
    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:
http://www.eclipse.org/equinox/incubator/server/embedding_in_a_servlet_container.php
 
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:
 
RangeMapServle/t
       WEB-INF/
                web.xml (same as sample web application)
        lib/
             servlet-bridge.jar
       platform/
              plugins/
                       all my dependent plugins along with everything in this folder of the sample web application (without registry)
              features/
                       feature.xml (same as the sample application + my bundle added to the description)
              configuration/
                       config.ini (same as sample + an @start for my bundle
               launch.ini
 
 
 
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.
 
 
Regards,
Khawaja