You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "Yazeed ." <ya...@hotmail.com> on 2013/09/03 10:59:56 UTC

File Upload Http Error 500

Hello, 

I have created a third party application; this application logins into OM2.1.1 using the below methods

1- calls the "Method: getSession (
    			    			    			)"
2- calls  Method: loginUser (
    			    			    			       			   String SID
    			       			    			       			     , 
    			       			   String username
    			       			    			       			     , 
    			       			   String userpass
    			       			    			); i use the administrator usernam & password
3- calls 
Method: setUserObjectAndGenerateRoomHash (
    			    			    			       			   String SID
    			       			    			       			     , 
    			       			   String username
    			       			    			       			     , 
    			       			   String firstname
    			       			    			       			     , 
    			       			   String lastname
    			       			    			       			     , 
    			       			   String profilePictureUrl
    			       			    			       			     , 
    			       			   String email
    			       			    			       			     , 
    			       			   String externalUserId
    			       			    			       			     , 
    			       			   String externalUserType
    			       			    			       			     , 
    			       			   Long room_id
    			       			    			       			     , 
    			       			   int becomeModeratorAsInt
    			       			    			       			     , 
    			       			   int showAudioVideoTestAsInt
    			       			    			)
4- then i redirect the user to OM and use security HASH

the problem is when i try to upload a file i get Http Error 500

attached are the logs 

 		 	   		  

RE: File Upload Http Error 500

Posted by "Yazeed ." <ya...@hotmail.com>.
ok, i will check now 

Date: Tue, 3 Sep 2013 16:23:46 +0700
Subject: Re: File Upload Http Error 500
From: solomax666@gmail.com
To: user@openmeetings.apache.org

I'm afraid this might be caused by empty email and externalId/type

On Tue, Sep 3, 2013 at 4:21 PM, Yazeed . <ya...@hotmail.com> wrote:




I will try; but just to know that this user is not registered in OM database.

and from the logs; i Noticed this error 
2013-09-02 17:33:53,135 [http-bio-0.0.0.0-5080-exec-8] ERROR o.a.c.c.C.[.[.0.0.0.[.[spring-mvc] - Servlet.service() for servlet [spring-mvc] in context with path [/openmeetings] threw exception [Insufficient permissions -1] with root cause

javax.servlet.ServletException: Insufficient permissions -1

when i clock on the upload button.

Regards;

Date: Tue, 3 Sep 2013 16:11:01 +0700
Subject: Re: File Upload Http Error 500

From: solomax666@gmail.com
To: user@openmeetings.apache.org

According to the logs:

username aasmar1
firstname aasmar1
lastname aasmar1
profilePictureUrl null
email null
externalUserId null
externalUserType null
Could you try to specify:email null
externalUserId null
externalUserType null
Maybe it will solve the problem?

On Tue, Sep 3, 2013 at 3:59 PM, Yazeed . <ya...@hotmail.com> wrote:





Hello, 

I have created a third party application; this application logins into OM2.1.1 using the below methods

1- calls the "Method: getSession (
    			    			    			)"
2- calls  Method: loginUser (
    			    			    			       			   String SID
    			       			    			       			     , 
    			       			   String username
    			       			    			       			     , 
    			       			   String userpass
    			       			    			); i use the administrator usernam & password
3- calls 
Method: setUserObjectAndGenerateRoomHash (
    			    			    			       			   String SID
    			       			    			       			     , 
    			       			   String username
    			       			    			       			     , 
    			       			   String firstname
    			       			    			       			     , 
    			       			   String lastname
    			       			    			       			     , 
    			       			   String profilePictureUrl
    			       			    			       			     , 
    			       			   String email
    			       			    			       			     , 
    			       			   String externalUserId
    			       			    			       			     , 
    			       			   String externalUserType
    			       			    			       			     , 
    			       			   Long room_id
    			       			    			       			     , 
    			       			   int becomeModeratorAsInt
    			       			    			       			     , 
    			       			   int showAudioVideoTestAsInt
    			       			    			)
4- then i redirect the user to OM and use security HASH

the problem is when i try to upload a file i get Http Error 500

attached are the logs 

 		 	   		  




-- 
WBR
Maxim aka solomax
 		 	   		  


-- 
WBR
Maxim aka solomax
 		 	   		  

Re: File Upload Http Error 500

Posted by Maxim Solodovnik <so...@gmail.com>.
I'm afraid this might be caused by empty email and externalId/type


On Tue, Sep 3, 2013 at 4:21 PM, Yazeed . <ya...@hotmail.com> wrote:

> I will try; but just to know that this user is not registered in OM
> database.
>
> and from the logs; i Noticed this error
> 2013-09-02 17:33:53,135 [http-bio-0.0.0.0-5080-exec-8] ERROR
> o.a.c.c.C.[.[.0.0.0.[.[spring-mvc] - Servlet.service() for servlet
> [spring-mvc] in context with path [/openmeetings] threw exception
> [Insufficient permissions -1] with root cause
> javax.servlet.ServletException: Insufficient permissions -1
>
> when i clock on the upload button.
>
> Regards;
>
> ------------------------------
> Date: Tue, 3 Sep 2013 16:11:01 +0700
> Subject: Re: File Upload Http Error 500
> From: solomax666@gmail.com
> To: user@openmeetings.apache.org
>
> According to the logs:
>
> username aasmar1
> firstname aasmar1
> lastname aasmar1
> profilePictureUrl null
> email null
> externalUserId null
> externalUserType null
>
>
> Could you try to specify:
>
> email null
> externalUserId null
> externalUserType null
>
>
> Maybe it will solve the problem?
>
>
>
> On Tue, Sep 3, 2013 at 3:59 PM, Yazeed . <ya...@hotmail.com> wrote:
>
> Hello,
>
> I have created a third party application; this application logins into
> OM2.1.1 using the below methods
>
> 1- calls the "Method: *getSession ( )"
> 2- calls  *Method: *loginUser ( String SID , String username , String
> userpass ); i use the administrator usernam & password
> 3- calls *
> Method: *setUserObjectAndGenerateRoomHash ( String SID , String username
> , String firstname , String lastname , String profilePictureUrl , String
> email , String externalUserId , String externalUserType , Long room_id ,
> int becomeModeratorAsInt , int showAudioVideoTestAsInt )
> 4- then i redirect the user to OM and use security HASH
>
> the problem is when i try to upload a file i get Http Error 500
>
> attached are the logs
>
> *
>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

RE: File Upload Http Error 500

Posted by "Yazeed ." <ya...@hotmail.com>.
I will try; but just to know that this user is not registered in OM database.

and from the logs; i Noticed this error 
2013-09-02 17:33:53,135 [http-bio-0.0.0.0-5080-exec-8] ERROR o.a.c.c.C.[.[.0.0.0.[.[spring-mvc] - Servlet.service() for servlet [spring-mvc] in context with path [/openmeetings] threw exception [Insufficient permissions -1] with root cause
javax.servlet.ServletException: Insufficient permissions -1

when i clock on the upload button.

Regards;

Date: Tue, 3 Sep 2013 16:11:01 +0700
Subject: Re: File Upload Http Error 500
From: solomax666@gmail.com
To: user@openmeetings.apache.org

According to the logs:
username aasmar1
firstname aasmar1
lastname aasmar1
profilePictureUrl null
email null
externalUserId null
externalUserType null
Could you try to specify:email null
externalUserId null
externalUserType null
Maybe it will solve the problem?

On Tue, Sep 3, 2013 at 3:59 PM, Yazeed . <ya...@hotmail.com> wrote:




Hello, 

I have created a third party application; this application logins into OM2.1.1 using the below methods

1- calls the "Method: getSession (
    			    			    			)"
2- calls  Method: loginUser (
    			    			    			       			   String SID
    			       			    			       			     , 
    			       			   String username
    			       			    			       			     , 
    			       			   String userpass
    			       			    			); i use the administrator usernam & password
3- calls 
Method: setUserObjectAndGenerateRoomHash (
    			    			    			       			   String SID
    			       			    			       			     , 
    			       			   String username
    			       			    			       			     , 
    			       			   String firstname
    			       			    			       			     , 
    			       			   String lastname
    			       			    			       			     , 
    			       			   String profilePictureUrl
    			       			    			       			     , 
    			       			   String email
    			       			    			       			     , 
    			       			   String externalUserId
    			       			    			       			     , 
    			       			   String externalUserType
    			       			    			       			     , 
    			       			   Long room_id
    			       			    			       			     , 
    			       			   int becomeModeratorAsInt
    			       			    			       			     , 
    			       			   int showAudioVideoTestAsInt
    			       			    			)
4- then i redirect the user to OM and use security HASH

the problem is when i try to upload a file i get Http Error 500

attached are the logs 

 		 	   		  



-- 
WBR
Maxim aka solomax
 		 	   		  

Re: File Upload Http Error 500

Posted by Maxim Solodovnik <so...@gmail.com>.
According to the logs:

username aasmar1
firstname aasmar1
lastname aasmar1
profilePictureUrl null
email null
externalUserId null
externalUserType null


Could you try to specify:

email null
externalUserId null
externalUserType null


Maybe it will solve the problem?



On Tue, Sep 3, 2013 at 3:59 PM, Yazeed . <ya...@hotmail.com> wrote:

> Hello,
>
> I have created a third party application; this application logins into
> OM2.1.1 using the below methods
>
> 1- calls the "Method: *getSession ( )"
> 2- calls  *Method: *loginUser ( String SID , String username , String
> userpass ); i use the administrator usernam & password
> 3- calls *
> Method: *setUserObjectAndGenerateRoomHash ( String SID , String username
> , String firstname , String lastname , String profilePictureUrl , String
> email , String externalUserId , String externalUserType , Long room_id ,
> int becomeModeratorAsInt , int showAudioVideoTestAsInt )
> 4- then i redirect the user to OM and use security HASH
>
> the problem is when i try to upload a file i get Http Error 500
>
> attached are the logs
>
> *
>



-- 
WBR
Maxim aka solomax