geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Location of Database driver
Date Wed, 08 Jun 2005 23:15:03 GMT
can you post the db plan, the web app plan, and the code that you use 
to get a db connection?

thanks
david jencks

On Jun 8, 2005, at 4:00 PM, waimun wrote:

> I am modifying the default-database-plan by inserting another 
> dependency for the oracle jar directory. I feel that this might be 
> wrong as I only need the jar file to be exposed in the web context. I 
> am still getting the NoClassDefFound. How do I do this in the plan 
> file?
>
> Thanks,
> waimun
>
> On Jun 3, 2005, at 7:11 PM, David Jencks wrote:
>
>> I can't find your previous posts.
>> You need to include a dependency to the driver jar in your plan.  For 
>> instance, default-database-plan has dependencies on the axion jar and 
>> 3 other jars it needs.  For oracle you should need only the oracle 
>> driver jar.  If this doesn't fix the problem please post your entire 
>> plan.
>>
>> thanks
>> david jencks
>>
>>
>> On Jun 3, 2005, at 2:45 PM, waimun wrote:
>>
>>> Hi...
>>> I am still getting NoClassDefFound. Do I need any other 
>>> configuration other than creating the directory structure you have 
>>> mentioned.
>>>
>>> Thanks.
>>> --
>>> waimun
>>>
>>> On 6/1/05, Katia Aresti Gonzalez <kaaresti@hotmail.com> wrote:
>>> >
>>> >
>>> >
>>> > Hi!!
>>> >
>>> > I think that you have to copy the driver to the repository 
>>> directory. You
>>> > have to create a folder in the repository of the M4 instalation 
>>> folder, for
>>> > example oracle. inside that folder, create another one with the 
>>> name jar,
>>> > and copy the driver there.
>>> >
>>> > repostory/oracle/jars/your driver.
>>> >
>>> > Hope this helps!!
>>> >
>>> > Katia
>>> >
>>>
>>
>


Mime
View raw message