You can reproduce like that:
drop the database
run ant dist-debug
start red5
run the installer servlet
goto http://localhost:5080/openmeetings/?swf=maindebug.swf8.swf
Enter the user/pass you've using in the installation.
You will get 3 Exception types:
1) Exception that the user has no org (despite there is one in the database
assigned)
ERROR 08-14 17:22:57.627 Usermanagement.java 116017 301
org.openmeetings.app.data.user.Usermanagement [NioProcessor-1] -
[loginUser]:
java.lang.Exception: No Organization assigned to user
at
org.openmeetings.app.data.user.Usermanagement.loginUser(Usermanagement.java:291)
[openmeetings.jar:na] ==> This IS in the openmeetings.log
2) Exception that the ErrorService has a NullPointer for the fieldmanagment
in the ErrorService
Caused by: java.lang.NullPointerException: null
at
org.openmeetings.app.remote.ErrorService.getErrorByCode(ErrorService.java:53)
[openmeetings.jar:na]
... 35 common frames omitted
=> This IS in the red5.log
3) Exceptions about openJPA complaining that it cannot find Class xyz
114931 openmeetings WARN [http-8088-exec-5] openjpa.Runtime - null
java.lang.ClassNotFoundException:
org.openmeetings.app.persistence.beans.user.Usergroups
at
org.apache.openjpa.lib.util.MultiClassLoader.findClass(MultiClassLoader.java:216)
114975 openmeetings WARN [http-8088-exec-5] openjpa.Runtime - null
java.lang.ClassNotFoundException:
org.openmeetings.app.persistence.beans.user.UserContacts
at
org.apache.openjpa.lib.util.MultiClassLoader.findClass(MultiClassLoader.java:216)
... and so an seems like a complete list of all persistance beans
=> This exception is only in the console and in no log file.
As soon as you will restart the red5-services after the installation all 3
errors are gone.
Sebastian
2011/8/14 Maxim Solodovnik <[email protected]>
> Sure,
> I'll take a look at it as soon as I will finish with UnitTests.
>
> Could you please give me more detailed steps how I can reproduce it?
>
>
> On Sun, Aug 14, 2011 at 22:02, [email protected] <
> [email protected]> wrote:
>
>> Hi Maxim,
>>
>> there is also an issue with the logging.
>> Some of the logs thrown from openJPA (espacially those *could not find
>> persistance class xyz) or only written to the console,
>> you cannot find them in openmeetings.log, red5.log or error.log.
>>
>> We will have to find out how we can address this issue. It is a bit
>> strange that it does not even write the logs to the general server log. I
>> could understand that its not in openmeetings.log because of the special
>> Logger-Hook that is needed. But console/Sys-Out logging-only is quite
>> strange.
>>
>> Sebastian
>>
>> --
>> Sebastian Wagner
>> http://www.webbase-design.de
>> http://openmeetings.googlecode.com
>> http://www.wagner-sebastian.com
>> [email protected]
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
[email protected]
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.