[openmeetings-user] Re: getRoombyId : Userlevel-1 not allowed

2011-10-19 Thread es
OM-Version: 1_6_2_r3675

It does not happen constantly but sometimes (it is not clear to me
under which exact circumstances).

There are many users concurrently entering/using the system via the
WebService interface as described below (all logging in as the main
admin). Maybe this could cause a problem here?

Thanks!


On 12 Okt., 15:54, seba.wag...@gmail.com seba.wag...@gmail.com
wrote:
 What version are you using of OpenMeetings?

 ERROR 08-10 10:14:52.497 Roommanagement.java 530336238 164
 org.openmeetings.app.data.conference.Roommanagement [http-0.0.0.0-80-42] -
 getRoombyId : Userlevel-1 not allowed

 The error is rather strange cause actually userlevel 1 is allowed to do the
 action to getRoomById and the check method does exactly check for that.

 Does the error happen constantly or only in certain situations?
 Maybe on startup of the server or something like that?

 Sebastian

 2011/10/12 es eugen.st...@gmail.com









  Hi,

  there is sometimes an error occuring after logging someone into
  OpenMeetings via webservice.
  I'm roughly doing the following:
  1. sessionId = userService.getSession().getSession_id()
  2. userService.loginUser(sessionId, adminLogin, adminPassword)
  3. XYZ = userService.setUserObjectAndGenerateRoomHash(sessionId,
                                         login,
                                         name,
                                         name2,
                                         ,
                                         email,
                                         id,
                                         SYSTEM,
                                         roomId,
                                         moderatorFlag,
                                         new Integer(0));
  4. Call the URL: .../openmeetings/?secureHash=XYZ

  An error is occuring when trying to load the room (last line in
  below's log). What am I doing wrong?
  Is it possible that the user is not assigned a new id early enough?
  Is it possible that it happens only when users are logged in
  concurrently that way?

  Any help is greatly appreciated! :-)

  
  DEBUG 08-10 10:14:37.552 Sessionmanagement.java 530321293 313
  org.openmeetings.app.data.basic.Sessionmanagement [http-0.0.0.0-80-58]
  - Found session to update: dbd67a16baf0e64ed1ce64f54915c12c userId: 2
  [...]
  DEBUG 08-10 10:14:45.352 ScopeApplicationAdapter.java 530329093 187
  org.openmeetings.app.remote.red5.ScopeApplicationAdapter
  [http-0.0.0.0-80-58] - roomJoin :
  DEBUG 08-10 10:14:45.352 ScopeApplicationAdapter.java 530329093 195
  org.openmeetings.app.remote.red5.ScopeApplicationAdapter
  [http-0.0.0.0-80-58] - ### Client connected to OpenMeetings, register
  Client StreamId: 1469 scope hibernate
  [...]
  DEBUG 08-10 10:14:51.265 Sessionmanagement.java 530335006 397
  org.openmeetings.app.data.basic.Sessionmanagement [http-0.0.0.0-80-19]
  - updateUser User: -1 || f6215b3a7ab69db81691283c68f49929
  DEBUG 08-10 10:14:51.265 Sessionmanagement.java 530335006 424
  org.openmeetings.app.data.basic.Sessionmanagement [http-0.0.0.0-80-19]
  - Found session to update: f6215b3a7ab69db81691283c68f49929 userId: -1
  DEBUG 08-10 10:14:51.280 Usermanagement.java 530335021 1477
  org.openmeetings.app.data.user.Usermanagement [http-0.0.0.0-80-19] -
  Usermanagement.getUserById
  DEBUG 08-10 10:14:51.764 MainService.java 530335505 418
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
  ### secureLoginByRemote 37a4015fde80c30e062dddc99d6ad9e0
  DEBUG 08-10 10:14:51.764 MainService.java 530335505 423
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] - swfURL
  194.127.5.169
  DEBUG 08-10 10:14:51.811 MainService.java 530335552 541
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
  userObject.getUsername(), userObject.getFirstname(),
  userObject.getLastname() s2379, Christos, Angelidis
  DEBUG 08-10 10:14:51.811 MainService.java 530335552 550
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
  userObject.getExternalUserId() -1- 66047
  DEBUG 08-10 10:14:51.811 MainService.java 530335552 583
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
  userObject.getExternalUserId() -2- 42
  DEBUG 08-10 10:14:51.811 MainService.java 530335552 589
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] - UPDATE
  USER BY STREAMID 1469
  DEBUG 08-10 10:14:52.216 MainService.java 530335957 144
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-69] -
  getCurrentRoomClient -1- f6215b3a7ab69db81691283c68f49929
  DEBUG 08-10 10:14:52.216 MainService.java 530335957 145
  org.openmeetings.app.remote.MainService [http-0.0.0.0-80-69] -
  getCurrentRoomClient -2- 1469
  ERROR 08-10 10:14:52.497 Roommanagement.java 530336238 164
  org.openmeetings.app.data.conference.Roommanagement
  [http-0.0.0.0-80-42] - getRoombyId : Userlevel-1 not allowed
  

  --
  You received this message because you are subscribed to the Google Groups

[openmeetings-user] getRoombyId : Userlevel-1 not allowed

2011-10-12 Thread es
Hi,

there is sometimes an error occuring after logging someone into
OpenMeetings via webservice.
I'm roughly doing the following:
1. sessionId = userService.getSession().getSession_id()
2. userService.loginUser(sessionId, adminLogin, adminPassword)
3. XYZ = userService.setUserObjectAndGenerateRoomHash(sessionId,
login,
name,
name2,
,
email,
id,
SYSTEM,
roomId,
moderatorFlag,
new Integer(0));
4. Call the URL: .../openmeetings/?secureHash=XYZ

An error is occuring when trying to load the room (last line in
below's log). What am I doing wrong?
Is it possible that the user is not assigned a new id early enough?
Is it possible that it happens only when users are logged in
concurrently that way?

Any help is greatly appreciated! :-)


DEBUG 08-10 10:14:37.552 Sessionmanagement.java 530321293 313
org.openmeetings.app.data.basic.Sessionmanagement [http-0.0.0.0-80-58]
- Found session to update: dbd67a16baf0e64ed1ce64f54915c12c userId: 2
[...]
DEBUG 08-10 10:14:45.352 ScopeApplicationAdapter.java 530329093 187
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-80-58] - roomJoin :
DEBUG 08-10 10:14:45.352 ScopeApplicationAdapter.java 530329093 195
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-80-58] - ### Client connected to OpenMeetings, register
Client StreamId: 1469 scope hibernate
[...]
DEBUG 08-10 10:14:51.265 Sessionmanagement.java 530335006 397
org.openmeetings.app.data.basic.Sessionmanagement [http-0.0.0.0-80-19]
- updateUser User: -1 || f6215b3a7ab69db81691283c68f49929
DEBUG 08-10 10:14:51.265 Sessionmanagement.java 530335006 424
org.openmeetings.app.data.basic.Sessionmanagement [http-0.0.0.0-80-19]
- Found session to update: f6215b3a7ab69db81691283c68f49929 userId: -1
DEBUG 08-10 10:14:51.280 Usermanagement.java 530335021 1477
org.openmeetings.app.data.user.Usermanagement [http-0.0.0.0-80-19] -
Usermanagement.getUserById
DEBUG 08-10 10:14:51.764 MainService.java 530335505 418
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
### secureLoginByRemote 37a4015fde80c30e062dddc99d6ad9e0
DEBUG 08-10 10:14:51.764 MainService.java 530335505 423
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] - swfURL
194.127.5.169
DEBUG 08-10 10:14:51.811 MainService.java 530335552 541
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
userObject.getUsername(), userObject.getFirstname(),
userObject.getLastname() s2379, Christos, Angelidis
DEBUG 08-10 10:14:51.811 MainService.java 530335552 550
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
userObject.getExternalUserId() -1- 66047
DEBUG 08-10 10:14:51.811 MainService.java 530335552 583
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] -
userObject.getExternalUserId() -2- 42
DEBUG 08-10 10:14:51.811 MainService.java 530335552 589
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-42] - UPDATE
USER BY STREAMID 1469
DEBUG 08-10 10:14:52.216 MainService.java 530335957 144
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-69] -
getCurrentRoomClient -1- f6215b3a7ab69db81691283c68f49929
DEBUG 08-10 10:14:52.216 MainService.java 530335957 145
org.openmeetings.app.remote.MainService [http-0.0.0.0-80-69] -
getCurrentRoomClient -2- 1469
ERROR 08-10 10:14:52.497 Roommanagement.java 530336238 164
org.openmeetings.app.data.conference.Roommanagement
[http-0.0.0.0-80-42] - getRoombyId : Userlevel-1 not allowed


-- 
You received this message because you are subscribed to the Google Groups 
OpenMeetings User group.
To post to this group, send email to openmeetings-user@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.