Hi,

Are you using the SimpleLoadTimeWeaver?

-Patrick

On Oct 30, 2007 8:52 AM, Andreas Prudzilko <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using openJPA with Spring 2.0  and Tomcat 6. The installation went
> rather smoothly but one thing troubles me tho:
> When I try to fetch an object from the DB I get this
> (seems like a classloader issue in log4j, but it appeared first since I
> started to use openJPA)
>
> So maybe someone had the same thing and can point me in the right
> direction....
>
> Thanks,
>
> Andreas
>
> 64829  databotPersistence  INFO   [http-8080-2] openjpa.Runtime -
> Starting OpenJPA 1.0.0
> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not
> assignable to a "org.apache.log4j.Appender" variable.
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
> log4j:ERROR
> [EMAIL PROTECTED]
> whereas object of type
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by
> [WebappClassLoader
>   delegate: false
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> [EMAIL PROTECTED]
> ].
> log4j:ERROR Could not instantiate appender named "stdout".
> log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not
> assignable to a "org.apache.log4j.Appender" variable.
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
> log4j:ERROR
> [EMAIL PROTECTED]
> whereas object of type
> log4j:ERROR "org.apache.log4j.RollingFileAppender" was loaded by
> [WebappClassLoader
>   delegate: false
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> [EMAIL PROTECTED]
> ].
> log4j:ERROR Could not instantiate appender named "logfile".
> 68032  databotPersistence  TRACE  [http-8080-2] openjpa.jdbc.SQL - <t
> 12804261, conn 16655704> executing prepstmnt 14505601 SELECT t0.id,
> t0.email, t0.name, t0.password, t0.screenname FROM user t0 WHERE
> (t0.screenname = ?) [params=(String) Frieder]
> 68110  databotPersistence  TRACE  [http-8080-2] openjpa.jdbc.SQL - <t
> 12804261, conn 16655704> [78 ms] spent
>
>
>
>
>
>



-- 
Patrick Linskey
202 669 5907

Reply via email to