It is in tomee.xml in conf/, can you paste the whole logs please?
Le 28 oct. 2012 15:41, "Marco de Booij" <[email protected]> a
écrit :

> I nearly gave up :(
>
> Then I saw that the listener that I used was wrong (I used
> org.apache.tomee.catalina.**ServerListener like in my 'all-in
> installation'). I replaced it by org.apache.tomee.loader.**OpenEJBListener
> and now tomee starts and it has a listener. I also added the agent in the
> catalina.sh by hand agent :)
>
> Unfortunately this still does not solve the problem that I started with. I
> still have:
> INFO: Creating Resource(id=My DataSource)
> Oct 28, 2012 3:22:05 PM org.apache.openejb.util.**OpenEJBErrorHandler
> handleUnknownError
> SEVERE: FATAL ERROR: Unknown error in Assembler.  Please send the
> following stack trace and this message to [email protected] :
>  org.apache.xbean.recipe.**ConstructionException: Error invoking factory
> method: public static javax.sql.DataSource org.apache.openejb.resource.**
> jdbc.DataSourceFactory.create(**java.lang.String,boolean,java.**
> lang.Class,java.lang.String,**org.apache.openejb.util.**
> Duration,org.apache.openejb.**util.Duration,org.apache.**openejb.util.Duration)
> throws java.lang.**IllegalAccessException,java.**
> lang.InstantiationException,**java.io.IOException
>         at org.apache.xbean.recipe.**ReflectionUtil$StaticFactory.**
> create(ReflectionUtil.java:**1006)
>
>
> When I check further I see that it is always related to a datasource. Both
> the default ones in hsql as my own in postgres. Where is it writing the
> internal databases? It might be a directory that is not write accessible to
> tomcat7.
>
> Regards,
>
> Marco
>
> Op 28-10-12 13:31, Romain Manni-Bucau schreef:
>
>> just copy tomee-loader-1.5.0, not others otherwise you'll need to copy the
>> whole webapp libs
>>
>> if you are not afraid of some code the installation can be summarized in
>> http://svn.apache.org/repos/**asf/openejb/trunk/openejb/**
>> tomee/tomee-common/src/main/**java/org/apache/tomee/**
>> installer/Installer.java<http://svn.apache.org/repos/asf/openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java>
>> in
>> method installAll()
>>
>> *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/10/28 Marco de Booij <[email protected]>
>>
>>  I must do something wrong. I copied one-by-one the following jars:
>>> - tomee-catalina-1.5.0.jar (for the org.apache.tomee.loader.**
>>> OpenEJBListener)
>>> - tomee-loader-1.5.0.jar (for the org/apache/tomee/loader/****
>>> TomcatHelper)
>>> - openejb-loader-4.5.0.jar (for the org/apache/openejb/loader/**
>>> SystemInstance)
>>> - openejb-core-4.5.0.jar (for the org/apache/openejb/core/**
>>> ThreadContextListener)
>>>
>>> I also copied tomee-webapp-1.5.0.jar like you told but still it keeps
>>> missing classes (org/apache/openejb/server/****ServiceManager). I can
>>> continue if you want but I am afraid that I end up with putting all
>>> libraries in the tomee.war file in the tomcat7 lib. This way an upgrade
>>> will become the lot of work I want to avoid.
>>>
>>> regards,
>>>
>>> Marco
>>> Op 28-10-12 12:22, Romain Manni-Bucau schreef:
>>>
>>>  You just need tomee-loader in lib of tomcat, tomee webapp and the
>>>> openejblistener
>>>> Le 28 oct. 2012 11:58, "Marco de Booij" <[email protected]> a
>>>> écrit :
>>>>
>>>>   So how do I solve this? I already copied tomee-catalina-1.5.0.jar and
>>>>
>>>>> tomee-loader-1.5.0.jar (because the tomee-catalina-1.5.0.jar was not
>>>>> enough) and it misses another class (org/apache/openejb/loader/**
>>>>> SystemInstance).
>>>>>
>>>>> Regards,
>>>>>
>>>>> Marco
>>>>>
>>>>>
>>>>>
>

Reply via email to