Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Jetty Server Migration from 5.1.1 to Jetty 9


Arun,

have a look at the doco for porting from jetty 6 to jetty 7, as that has the big name changes in it:

 https://wiki.eclipse.org/Jetty/Starting/Porting_to_Jetty_7

So while a port from 5 to 9 will be different, the bulk of the changes needed will be described in the 6 to 7 transformation.

cheers



On 3 August 2015 at 03:12, Arun Kumar <arunkumarstay@xxxxxxxxx> wrote:
Hi Friends,

I'm migrating a Java application from Jetty Server 5.1.1 to Jetty 9. In the existing project I can see only one jar file related to
Jetty 5(org.mortbay.Jetty 5.1.1) .

I have downloaded Jetty-all -9.0 jar and build the project. But some of the packages in existing code shows compile error since the packages in org.mortbay.Jetty in 5.1 changed to org.eclipse,jetty in version 9.

My code is using some imports like org.mortbay.http.HttpServer, org.mortbay.http.HttpContext. I'm unable to see the similar packages in Jetty-all-9.0.jar.

Also package  'org.mortbay.html'  needs to replace with similar classes in Jetty 9.

Could someone help me to fix these compile errors ?. Which are the new classes and packages in Jetty9?.

Is the procedure I'm following is correct for Jetty 9 ?.


Thanks,
Arun

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top