tomee-jdbc uses tomcat-jdbc which is by default in tomcat.

you can get rid of it specifying you dont use tomcat jdbc as datasource
pool in your resource definition i think

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/11/4 Marco de Booij <marco.develo...@debooy.eu>

> I checked and I use tomcat-jdbc. I copied this file after I got the error
> message "Caused by: java.lang.**NoClassDefFoundError:
> org/apache/tomcat/jdbc/pool/**PoolProperties" (See my mail that started
> my thread Fatal Error). I will try tomorrow to see if the tomee-jdbc.jar is
> suffucient altough this package does not contain the PoolProperties.
>
> Regards,
>
> Marco
>
>
> Op 04-11-12 22:09, Romain Manni-Bucau schreef:
>
>> tomcat-jdbc? isnt it tomee-jdbc?
>>
>> *Romain Manni-Bucau*
>> *Twitter: @rmannibucau 
>> <https://twitter.com/**rmannibucau<https://twitter.com/rmannibucau>
>> >*
>> *Blog: 
>> **http://rmannibucau.**wordpress.com/*<http://rmannibucau.wordpress.com/*>
>> <http://**rmannibucau.wordpress.com/ <http://rmannibucau.wordpress.com/>>
>> *LinkedIn: 
>> **http://fr.linkedin.com/in/**rmannibucau*<http://fr.linkedin.com/in/rmannibucau*>
>> *Github: https://github.com/**rmannibucau*<https://github.com/rmannibucau*>
>>
>>
>>
>> 2012/11/4 Marco de Booij <marco.develo...@debooy.eu>
>>
>>  Hello,
>>>
>>> Just back from a small break. I had the same problem last week. I opened
>>> a
>>> thread and got help to solve it. I was planning to 'finish' the thread
>>> with
>>> what I did. The break came in between it. So here is what I did to get it
>>> working.
>>>
>>> I deployed the .war with the tomcat deploy option in the console
>>> http://localhost:8080/manager. This was not a success until I copied the
>>> following JARs into the tomcat7/lib directory:
>>> - openejb-javaagent.jar
>>> - tomcat-jdbc.jar
>>> - tomee-loader-1.5.0.jar
>>>
>>> Finaly I modified the server.xml. After the line:
>>> <Server port="8005" shutdown="SHUTDOWN">
>>>
>>> I added:
>>>    <!-- TomEE plugin for Tomcat -->
>>>    <Listener className="org.apache.tomee.****loader.OpenEJBListener" />
>>>
>>>
>>> After the restart of Tomcat7 Tomee was deployed correctly and ready to
>>> work.
>>>
>>> The jar files came from the tomee.war file and the tomee package with
>>> Tomcat7 included.
>>>
>>> If this also works for you just let it know. If someone tells me how to
>>> write a help page I want to do it.
>>>
>>> Regards,
>>>
>>> Marco
>>>
>>>
>>>
>

Reply via email to