The /META-INF/context.xml that you see in Tomcat is a Tomcat only
file/feature.

As for Jetty 7+, you can have bundled xml files within the webapp that
performs similar functions/features.
See docs about /WEB-INF/jetty-web.xml (for managing WebAppContext)
http://wiki.eclipse.org/Jetty/Reference/jetty-web.xml

Syntax is defined at
http://wiki.eclipse.org/Jetty/Reference/jetty.xml_Syntax
Example of WebAppContext configuration for managing the context path:
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/test-jetty-webapp/src/main/webapp/WEB-INF/jetty-web.xml?id=jetty-7.6.8.v20121106

And for managing the JDNI resources, there's a /WEB-INF/jetty-env.xml
See http://wiki.eclipse.org/Jetty/Reference/jetty-env.xml

The older Jetty 6 documentation for these same features can be found at
http://docs.codehaus.org/display/JETTY/jetty-web.xml  (
/WEB-INF/jetty-web.xml Documentation )
http://docs.codehaus.org/display/JETTY/jetty.xml         ( General Jetty
XML Syntax Documentation )
http://docs.codehaus.org/display/JETTY/jetty-env.xml   (
/WEB-INF/jetty-env.xml Documentation )

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org



On Mon, Nov 12, 2012 at 7:58 PM, Rob Silver <[email protected]> wrote:

> It seems I am running jetty-6.1.x. which is built-in to Eclipse Indigo.
> Where can I find more information on adapting configuration files e.g
> context.xml file from a war folder which works in Tomcat 7.0.29
> Is there any further documentation on this?
>
>
>
> On Fri, Nov 9, 2012 at 11:21 PM, Rob Silver <[email protected]> wrote:
>
>> I have Eclipse Indigo  IDE.  Everything is working.
>> What I need to do is take my IDE setup and understand what steps
>> to take to use a working context.xml file currently working in Tomcat
>> 7.029.   It contains a Microsoft Database connector.
>> I have heard about the Jetty plugin used for development
>> In fact the GWT webapp I develop runs in that environment but I
>> now have to un-comment/comment and compile  code back and
>> forth - Not so nice. What want to do is use what I believe is called:
>> *"jetty context deployer"
>> *
>> since the database connector working now in
>> the same tomcat webapps/myProject/WEB-INF folder that
>> my webapp's web.xml file resides runs fine in Tomcat.
>> I want to make that file or an equivalent for Jetty work.
>> I hope this mailing list can be of help in this regard. Let me know what
>> else I can provide. There is not a log of intelligible documentation on
>> this.
>> e.g  Here is a Tomcat war file , here is the equivalent for configuration
>> for I believe Eclipse Indigo uses an embeded plugin for Jetty and not an
>> actual server as I see no such server in my process/ task manager when I
>> run. e.g no jetty  process appears  so I think that is correct.
>>
>> Please advise how this can be accomplished ?? Any detailed documentation
>> can only be helpful so long as it is relevant!!!!
>>
>> Thank you in advance....
>>
>> Additional background I have had errors that include:
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>>  ::::
>> In the past
>> The exact version of Eclipse I run is :
>> Eclipse Java EE IDE for Web Developers.
>>
>> Version: Indigo Service Release 2
>> Build id: 20120216-1857
>>
>> Also if someone can tell me what the difference is between Java EE
>> Hellios and Indigo versions please help me understand the differences
>> especially if it turns out  I can not use the
>>
>>
>>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to