tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Is org.apache.naming.resources package have been removed in tomcat 8.0.20?
Date Fri, 06 Mar 2015 13:20:31 GMT
On 06/03/2015 10:53, Thusitha Thilina Dayaratne wrote:
> 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?

I'll ask again. What are you trying to do?

Read this: http://xyproblem.info/ before you answer.

Mark


> 
> 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
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message