You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ram Sriram <sr...@rstech.net> on 2005/05/31 18:52:20 UTC
Re: Class not found
That didn't work. Is there any configuration in Tomcat that needs to
know the location of Classes12.zip?
Tim Funk wrote
> rename classes12.zip to classes12.jar
>
> -Tim
>
> Ram Sriram wrote:
>
>> Hi,
>> I am using Oracle JDBC Thin Driver from classes12.zip. My code is not
>> finding the class; I have the path for the zip in the environment
>> variable, I have the zip file in WEB-INF in ROOT. Do I have to do
>> anything in any of the Tomcat config files for the runtime to locate
>> the class.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Class not found
Posted by Ram Sriram <sr...@rstech.net>.
I renamed the zip file to jar and put it in the lib directory and it
worked. Now it finds the class.
Thanks for the help...Ram
--------------------------------------------------------------------------------------------------------------------------------
Tim Funk wrote:
> The file should be in WEB-INF/lib
>
> Ram Sriram wrote:
>
>> That didn't work. Is there any configuration in Tomcat that needs to
>> know the location of Classes12.zip?
>>
>> Tim Funk wrote
>>
>>> rename classes12.zip to classes12.jar
>>>
>>> -Tim
>>>
>>> Ram Sriram wrote:
>>>
>>>> Hi,
>>>> I am using Oracle JDBC Thin Driver from classes12.zip. My code is
>>>> not finding the class; I have the path for the zip in the
>>>> environment variable, I have the zip file in WEB-INF in ROOT. Do I
>>>> have to do anything in any of the Tomcat config files for the
>>>> runtime to locate the class.
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Class not found
Posted by Tim Funk <fu...@joedog.org>.
The file should be in WEB-INF/lib
Ram Sriram wrote:
> That didn't work. Is there any configuration in Tomcat that needs to
> know the location of Classes12.zip?
>
> Tim Funk wrote
>
>> rename classes12.zip to classes12.jar
>>
>> -Tim
>>
>> Ram Sriram wrote:
>>
>>> Hi,
>>> I am using Oracle JDBC Thin Driver from classes12.zip. My code is not
>>> finding the class; I have the path for the zip in the environment
>>> variable, I have the zip file in WEB-INF in ROOT. Do I have to do
>>> anything in any of the Tomcat config files for the runtime to locate
>>> the class.
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org