tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thusitha Thilina Dayaratne <thusit...@wso2.com>
Subject Re: Is org.apache.naming.resources package have been removed in tomcat 8.0.20?
Date Fri, 06 Mar 2015 10:53:44 GMT
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 <
thusithad@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 <markt@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-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message