Hi,

Is there an alternative method from some other class that I can use instead
of removed *protected URLConnection openConnection(URL u) *in Tomcat 8?

Thanks
Regards
/Thusitha

On Fri, Mar 6, 2015 at 2:57 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Mark,
>
> Thanks for your quick response.
> I'm extending that class and overriding the method openConnection(URL u)as
> a public method. So I can use it from somewhere else.
>
> Thanks
> Best Regards
> /Thusitha
>
> On Fri, Mar 6, 2015 at 2:53 PM, Mark Thomas <ma...@apache.org> wrote:
>
>> On 06/03/2015 09:15, Thusitha Thilina Dayaratne wrote:
>> > Hi All,
>> >
>> > I'm working on migrating embedded tomcat 7 project to latest release of
>> *tomcat
>> > 8.0.20* When compiling the project, I'm getting compilation errors
>> saying
>> > that *org.apache.naming.resources* package can't be found. (I'm using
>> > *DirContextURLStreamHandler* which was resided in above package in
>> tomcat 7)
>> >
>> > I've checked the Tomcat API doc too. It seems that the package doesn't
>> > exists there.
>> > Is that package removed from tomcat 8?
>> Yes.
>>
>> > If so what is/are the alternative(s)?
>> That depends what you are trying to do.
>>
>> > I couldn't found any source saying that it is been removed or
>> deprecated.
>> http://tomcat.apache.org/migration-8.html
>>
>> Mark
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog      alokayasoya.blogspot.com
> About    http://about.me/thusithathilina
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina

Reply via email to