Re: ISO OpenMeetings-1.9.1 in Ubuntu 11.04 Live to download

2012-01-05 Thread Hasan Gharehasanloo
is it possible to install it on a pc not on vmware???

On Mon, Dec 26, 2011 at 11:51 AM, zurcamos  wrote:

> ...test mail...
>
>


-- 
-
Best Regards
Hassan Gharehasanloo


Re: ISO OpenMeetings-1.9.1 in Ubuntu 11.04 Live to download

2012-01-05 Thread greenes
Hi Hasan,

Yes it is possible install on hard drive. After burn the ISO you'll find
this option in the
beginning and also in the Desktop.

Can change the language to english. Please, read the files are in
.../Desktop/ejemplos
or in /home/guadal.

OpenMeetings and LibrOffice (OpenOffice) running automatically at the start
Ubuntu 11.04.

Regards.

greenes


System backup fails on 1.8.7 and 1.9.1

2012-01-05 Thread Stefan Michael Guenther
Hello,

as I already mentioned in my posting 
https://groups.google.com/forum/#!topic/openmeetings-user/bbtbHO12BXc we are 
not able to backup an installation of 1.8.7.

We therefore decided to reactivate the 1.8.5, backup the system and use it on a 
freshly installed 1.9.1.

This worked perfectly but the problem now is, that when we want to backup the 
system, we again get a blank page in the browser and the error messages 
mentioned in the posting.

Does anyone have an idea what could cause this problem?

Thanks for any hints/suggestions,

Stefan



in-put GbR - Das Linux-Systemhaus
Stefan Michael Guenther
Geschaeftsfuehrer
Moltkestrasse 49 D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 6 80 32 88 - 0 / 3
http://www.in-put.de/

 Schulungen  Installationen  
 Beratung   Support
  Voice-over-IP-Loesungen

NEU: Djigzo - Emailverschlüsselung auf dem Server!

- Webinterface für die Administration
- keine Änderungen an den Clients erforderlich
- S/MIME und PDF-Verschlüsselung
- kompatibel zu Exchange, Domino, Groupwise, Postfix, usw.

Weitere Informationen unter http://www.djigzo.de


smime.p7s
Description: S/MIME Cryptographic Signature


Re: ISO OpenMeetings-1.9.1 in Ubuntu 11.04 Live to download

2012-01-05 Thread greenes
...meant...english language when is Live mode.

.


Re: ISO OpenMeetings-1.9.1 in Ubuntu 11.04 Live to download

2012-01-05 Thread Hasan Gharehasanloo
Thanks *greenes*

On Thu, Jan 5, 2012 at 3:17 PM, greenes  wrote:

> ...meant...english language when is Live mode.
>
> .
>



-- 
-
Best Regards
Hassan Gharehasanloo


SOAP/REST API issues - Openmeetings 1.9.1

2012-01-05 Thread andre bolinhas
Hi  Sebastian,

I Have the following issues when I try add a room trought SOAP/REST API.

The room is successfully created, the appointment is successfully added in 
calendar 
 and the invitation is sent, but I have this issues:

1º In invitations email sent to external users i get a Error formatSubjec and 
Error formatMessage in body



2º The name and description of appointment are wrong:



3º The attendess added to my room/appointment is only the external user of 
my addMeetingMemberRemindToRoom fucntion, should not automatically add me 
(user that create the room and appointment) as owner/moderator?



This is my code: 
http://hostname:5080/openmeetings/services/UserService?wsdl";, 
"wsdl");
 //$client_userService->setUseCurl(true);
$err = $client_userService->getError();
if ($err) {
echo 'Constructor error' . $err . '';
echo 'Debug' . 
htmlspecialchars($client->getDebug(),
ENT_QUOTES) . '';
exit();
}
$resultSesssion = $client_userService->call('getSession');
if ($client_userService->fault)
{
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; 
print_r($result); 
echo '';
} 
else
{
$err = $client_userService->getError();
if ($err) {
echo 'Error2' . $err . '';
} 
else
{
//echo 'Result'; 
print_r($result); 
echo '';
$client_userService->session_id = $resultSesssion["return"]["session_id"];
echo 'Result'; 
print_r($resultSesssion); 
echo '';
$params = array(
'SID' => $client_userService->session_id,
'username' => 'user',
'userpass' => 'pass'
);
//$params = array();
$autologin = $client_userService->call('loginUser',$params);
echo 'Params'; 
print_r($autologin); 
echo '';
if ($client_userService->fault) 
{
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; 
print_r($autologin); 
echo '';
} 
else
{
$err = $client_userService->getError();
if ($err) {
echo 'Error' . $err . '';
} 
else 
{
echo 'result'; 
print_r($autologin); 
echo '';
}
}
}
}
$client_roomService = new 
nusoap_client("http://hostname:5080/openmeetings/services/RoomService?wsdl";, 
true);
$err = $client_roomService->getError();
if ($err) {
echo 'Constructor error' . $err . '';
echo 'Debug' . htmlspecialchars($client->getDebug(), 
ENT_QUOTES) . '';
exit();
}  
$params = array(
'SID' => $client_userService->session_id,
'name' => 'test',
'roomtypes_id' => 1,
'comment' => 'Test SOAP',
'numberOfPartizipants' => 50,
'ispublic' => true,
'appointment' => true,
'isDemoRoom' => false,
'demoTime' => '',
'isModeratedRoom' => true,
'externalRoomType' => '',
'validFromDate' => '05-01-2012',
'validFromTime' => '16:00',
'validToDate' => '05-01-2012',
'validToTime' => '17:00',
'isPasswordProtected' => false,
'password' => '',
'reminderTypeId' => 2,
'redirectURL' => ''
);
$addroom = 
$client_roomService->call('addRoomWithModerationAndExternalTypeAndStartEnd',$params);
if ($client_roomService->fault) {
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; print_r($addroom); echo '';
} else {
$err = $client_roomService->getError();
if ($err) {
echo 'Error' . $err . '';
} else {
echo 'Result'; print_r($addroom["return"]); echo '';
//return $addroom["return"];

}
}   
$params = array (
'SID' => $client_userService->session_id,
'room_id' => $addroom["return"],
'firstname' => 'Andre',
'lastname' => 'Pedro',
'email' => 'andre[at]mail.com',
'baseUrl' => 'http://hostname:5080/openmeetings/',
'language_id' => 1
);
$sent_invite = 
$client_roomService->call('addMeetingMemberRemindToRoom',$params);
if ($client_roomService->fault) {
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; print_r($sent_invite); echo '';
} else {
$err = $client_roomService->getError();
if ($err) {
echo 'Error' . $err . '';
} else {
echo 'Result'; print_r($sent_invite["return"]); echo '';
//return $addroom["return"];

}
}  

?>


no mail flow

2012-01-05 Thread Carlos Aguayo
Hey, kind folks,

I am running openmeetings_1_9_1_r4707 on CentOS 5.7 with a mysql data
store, and I can't seem to get email delivery working, either via
local or remote smtp servers, TLS or plain text.  The
username/password/protocol/etc all look correct, and work from other
interfaces.   (telnet, mail client, and webmail)  I get
"java.lang.SecurityException: Access to default session denied", and
though I see lots of folks asking about this in the forums, none of
the solutions suggested there seem to help in this case.

The most frustrating thing is that the user gets no feedback that
email did not go, it looks like it worked.  Any ideas most
appreciated.

Carlos


Here's the stack trace from an "invite" attempt:

==> openmeetings.log <==
DEBUG 01-05 13:50:04.460 InvitationService.java 16828404 70
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
sendInvitationHash:
 INFO 01-05 13:50:04.461 InvitationService.java 16828405 82
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
validFromHour: 13
 INFO 01-05 13:50:04.461 InvitationService.java 16828405 83
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
validFromMinute: 49
DEBUG 01-05 13:50:04.480 InvitationService.java 16828424 124
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
addAppointment offset :: 4680
DEBUG 01-05 13:50:04.482 Invitationmanagement.java 16828426 118
org.openmeetings.app.data.conference.Invitationmanagement
[NioProcessor-9] - http://208.93.118.94:5080/openmeetings/
DEBUG 01-05 13:50:04.483 Roommanagement.java 16828427 193
org.openmeetings.app.data.conference.Roommanagement [NioProcessor-9] -
getRoombyId : 12
DEBUG 01-05 13:50:04.500 MailThread.java 16828444 89
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - Message
sending in progress
DEBUG 01-05 13:50:04.501 MailThread.java 16828445 90
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   From:
ad...@jellnet.com
DEBUG 01-05 13:50:04.501 MailThread.java 16828445 91
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   To:
cagu...@gmail.com
DEBUG 01-05 13:50:04.501 MailThread.java 16828445 92
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -
Subject: Invitation to OpenMeetings
ERROR 01-05 13:50:04.503 MailThread.java 16828447 150
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - [mail
send]
java.lang.SecurityException: Access to default session denied
   at javax.mail.Session.getDefaultInstance(Session.java:311)
~[mail-1.4.jar:1.4]
   at 
org.openmeetings.utils.mail.MailThread$MailSenderTask.send(MailThread.java:115)
[openmeetings.jar:na]
   at 
org.openmeetings.utils.mail.MailThread$MailSenderTask.run(MailThread.java:69)
[openmeetings.jar:na]
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[na:1.7.0_02]
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[na:1.7.0_02]
   at java.lang.Thread.run(Thread.java:722) [na:1.7.0_02]


Re: no mail flow

2012-01-05 Thread Carlos Aguayo
For the benefit of the community, I tracked down the java error and
got email flowing.  It turns out that, unlike most of the
configuration options, the mail server settings are loaded into
javamail only once, presumably the first time a message-send is
attempted.  This means that changing the mail server specifics
requires a full server restart, this error means that the settings
loaded into javamail are not correct, but it's not clear how to
reinitialize without a full restart of tomcat.

The issue that should be logged by someone with access to the issue
tracker is that the user gets no warning when the email is not sent,
and thus, they must assume that all is well.

Thanks,

Carlos


On Thu, Jan 5, 2012 at 2:09 PM, Carlos Aguayo  wrote:
> Hey, kind folks,
>
> I am running openmeetings_1_9_1_r4707 on CentOS 5.7 with a mysql data
> store, and I can't seem to get email delivery working, either via
> local or remote smtp servers, TLS or plain text.  The
> username/password/protocol/etc all look correct, and work from other
> interfaces.   (telnet, mail client, and webmail)  I get
> "java.lang.SecurityException: Access to default session denied", and
> though I see lots of folks asking about this in the forums, none of
> the solutions suggested there seem to help in this case.
>
> The most frustrating thing is that the user gets no feedback that
> email did not go, it looks like it worked.  Any ideas most
> appreciated.
>
> Carlos
>
>
> Here's the stack trace from an "invite" attempt:
>
> ==> openmeetings.log <==
> DEBUG 01-05 13:50:04.460 InvitationService.java 16828404 70
> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
> sendInvitationHash:
>  INFO 01-05 13:50:04.461 InvitationService.java 16828405 82
> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
> validFromHour: 13
>  INFO 01-05 13:50:04.461 InvitationService.java 16828405 83
> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
> validFromMinute: 49
> DEBUG 01-05 13:50:04.480 InvitationService.java 16828424 124
> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
> addAppointment offset :: 4680
> DEBUG 01-05 13:50:04.482 Invitationmanagement.java 16828426 118
> org.openmeetings.app.data.conference.Invitationmanagement
> [NioProcessor-9] - http://208.93.118.94:5080/openmeetings/
> DEBUG 01-05 13:50:04.483 Roommanagement.java 16828427 193
> org.openmeetings.app.data.conference.Roommanagement [NioProcessor-9] -
> getRoombyId : 12
> DEBUG 01-05 13:50:04.500 MailThread.java 16828444 89
> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - Message
> sending in progress
> DEBUG 01-05 13:50:04.501 MailThread.java 16828445 90
> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   From:
> ad...@jellnet.com
> DEBUG 01-05 13:50:04.501 MailThread.java 16828445 91
> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   To:
> cagu...@gmail.com
> DEBUG 01-05 13:50:04.501 MailThread.java 16828445 92
> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -
> Subject: Invitation to OpenMeetings
> ERROR 01-05 13:50:04.503 MailThread.java 16828447 150
> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - [mail
> send]
> java.lang.SecurityException: Access to default session denied
>       at javax.mail.Session.getDefaultInstance(Session.java:311)
> ~[mail-1.4.jar:1.4]
>       at 
> org.openmeetings.utils.mail.MailThread$MailSenderTask.send(MailThread.java:115)
> [openmeetings.jar:na]
>       at 
> org.openmeetings.utils.mail.MailThread$MailSenderTask.run(MailThread.java:69)
> [openmeetings.jar:na]
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> [na:1.7.0_02]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> [na:1.7.0_02]
>       at java.lang.Thread.run(Thread.java:722) [na:1.7.0_02]


SOAP/REST API issues - Openmeetings 1.9.1 [Update Correct images Links]

2012-01-05 Thread andre bolinhas


Hi  Sebastian,

I Have the following issues when I try add a room trought SOAP/REST API.

The room is successfully created, the appointment is successfully added in 
calendar 
 and the invitation is sent, but I have this issues:

1º In invitations email sent to external users i get a Error formatSubjec and 
Error formatMessage in body


2º The name and description of appointment are wrong:



3º The attendess added to my room/appointment is only the external user of 
my addMeetingMemberRemindToRoom fucntion, should not automatically add me 
(user that create the room and appointment) as owner/moderator?




This is my code: 
http://hostname:5080/openmeetings/services/UserService?wsdl";, "wsdl");
 //$client_userService->setUseCurl(true);
$err = $client_userService->getError();
if ($err) {
echo 'Constructor error' . $err . '';
echo 'Debug' . 
htmlspecialchars($client->getDebug(),
ENT_QUOTES) . '';
exit();
}
$resultSesssion = $client_userService->call('getSession');
if ($client_userService->fault)
{
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; 
print_r($result); 
echo '';
} 
else
{
$err = $client_userService->getError();
if ($err) {
echo 'Error2' . $err . '';
} 
else
{
//echo 'Result'; 
print_r($result); 
echo '';
$client_userService->session_id = $resultSesssion["return"]["session_id"];
echo 'Result'; 
print_r($resultSesssion); 
echo '';
$params = array(
'SID' => $client_userService->session_id,
'username' => 'user',
'userpass' => 'pass'
);
//$params = array();
$autologin = $client_userService->call('loginUser',$params);
echo 'Params'; 
print_r($autologin); 
echo '';
if ($client_userService->fault) 
{
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; 
print_r($autologin); 
echo '';
} 
else
{
$err = $client_userService->getError();
if ($err) {
echo 'Error' . $err . '';
} 
else 
{
echo 'result'; 
print_r($autologin); 
echo '';
}
}
}
}
$client_roomService = new nusoap_client("
http://hostname:5080/openmeetings/services/RoomService?wsdl";, true);
$err = $client_roomService->getError();
if ($err) {
echo 'Constructor error' . $err . '';
echo 'Debug' . htmlspecialchars($client->getDebug(), 
ENT_QUOTES) . '';
exit();
}  
$params = array(
'SID' => $client_userService->session_id,
'name' => 'test',
'roomtypes_id' => 1,
'comment' => 'Test SOAP',
'numberOfPartizipants' => 50,
'ispublic' => true,
'appointment' => true,
'isDemoRoom' => false,
'demoTime' => '',
'isModeratedRoom' => true,
'externalRoomType' => '',
'validFromDate' => '05-01-2012',
'validFromTime' => '16:00',
'validToDate' => '05-01-2012',
'validToTime' => '17:00',
'isPasswordProtected' => false,
'password' => '',
'reminderTypeId' => 2,
'redirectURL' => ''
);
$addroom = 
$client_roomService->call('addRoomWithModerationAndExternalTypeAndStartEnd',$params);
if ($client_roomService->fault) {
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; print_r($addroom); echo '';
} else {
$err = $client_roomService->getError();
if ($err) {
echo 'Error' . $err . '';
} else {
echo 'Result'; print_r($addroom["return"]); echo '';
//return $addroom["return"];

}
}   
$params = array (
'SID' => $client_userService->session_id,
'room_id' => $addroom["return"],
'firstname' => 'Andre',
'lastname' => 'Pedro',
'email' => 'andre[at]mail.com',
'baseUrl' => 'http://hostname:5080/openmeetings/',
'language_id' => 1
);
$sent_invite = 
$client_roomService->call('addMeetingMemberRemindToRoom',$params);
if ($client_roomService->fault) {
echo 'Fault (Expect - The request contains an invalid SOAP 
body)'; print_r($sent_invite); echo '';
} else {
$err = $client_roomService->getError();
if ($err) {
echo 'Error' . $err . '';
} else {
echo 'Result'; print_r($sent_invite["return"]); echo '';
//return $addroom["return"];

}
}  

?>



Re: SOAP/REST API issues - Openmeetings 1.9.1 [Update Correct images Links]

2012-01-05 Thread seba.wag...@gmail.com
Could you please use the new mailing list at Apache?
Am 05.01.2012 22:39 schrieb "andre bolinhas" :

> Hi  Sebastian,
>
> I Have the following issues when I try add a room trought SOAP/REST API.
>
> The room is successfully created, the appointment is successfully added in 
> calendar
>  and the invitation is sent, but I have this issues:
>
> 1º In invitations email sent to external users i get a Error formatSubjec and
> Error formatMessage in body
>
>
> 
> 2º The name and description of appointment are wrong:
>
>
> 
>
> 3º The attendess added to my room/appointment is only the external user of
> my addMeetingMemberRemindToRoom fucntion, should not automatically add me
> (user that create the room and appointment) as owner/moderator?
>
>
> 
>
>
> This is my code:
>  require_once('lib/nusoap.php')**;
>
> $client_userService = new nusoap_client("http://**
> hostname:5080/openmeetings/**services/UserService?wsdl",
> "wsdl");
>  //$client_userService->**setUseCurl(true);
> $err = $client_userService->getError(**);
> if ($err) {
> echo 'Constructor error' . $err . '';
> echo 'Debug' .
> htmlspecialchars($client->**getDebug(),
> ENT_QUOTES) . '';
> exit();
> }
> $resultSesssion = $client_userService->call('**getSession');
> if ($client_userService->fault)
> {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)';
> print_r($result);
> echo '';
> }
> else
> {
> $err = $client_userService->getError(**);
> if ($err) {
> echo 'Error2' . $err . '';
> }
> else
> {
> //echo 'Result';
> print_r($result);
> echo '';
> $client_userService->session_**id = $resultSesssion["return"]["**
> session_id"];
> echo 'Result';
> print_r($resultSesssion);
> echo '';
> $params = array(
> 'SID' => $client_userService->session_**id,
> 'username' => 'user',
> 'userpass' => 'pass'
> );
> //$params = array();
> $autologin = $client_userService->call('**loginUser',$params);
> echo 'Params';
> print_r($autologin);
> echo '';
> if ($client_userService->fault)
> {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)';
> print_r($autologin);
> echo '';
> }
> else
> {
> $err = $client_userService->getError(**);
> if ($err) {
> echo 'Error' . $err . '';
> }
> else
> {
> echo 'result';
> print_r($autologin);
> echo '';
> }
> }
> }
> }
> $client_roomService = new nusoap_client("http://**
> hostname:5080/openmeetings/**services/RoomService?wsdl",
> true);
> $err = $client_roomService->getError(**);
> if ($err) {
> echo 'Constructor error' . $err . '';
> echo 'Debug' . htmlspecialchars($client->**getDebug(),
> ENT_QUOTES) . '';
> exit();
> }
> $params = array(
> 'SID' => $client_userService->session_**id,
> 'name' => 'test',
> 'roomtypes_id' => 1,
> 'comment' => 'Test SOAP',
> 'numberOfPartizipants' => 50,
> 'ispublic' => true,
> 'appointment' => true,
> 'isDemoRoom' => false,
> 'demoTime' => '',
> 'isModeratedRoom' => true,
> 'externalRoomType' => '',
> 'validFromDate' => '05-01-2012',
> 'validFromTime' => '16:00',
> 'validToDate' => '05-01-2012',
> 'validToTime' => '17:00',
> 'isPasswordProtected' => false,
> 'password' => '',
> 'reminderTypeId' => 2,
> 'redirectURL' => ''
> );
> $addroom = $client_roomService->call('**addRoomWithModerationAndExtern**
> alTypeAndStartEnd',$params);
> if ($client_roomService->fault) {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)'; print_r($addroom); echo '';
> } else {
> $err = $client_roomService->getError(**);
> if ($err) {
> echo 'Error' . $err . '';
> } else {
> echo 'Result'; print_r($addroom["return"]); echo '';
> //return $addroom["return"];
>
> }
> }
> $params = array (
> 'SID' => $client_userService->session_**id,
> 'room_id' => $addroom["return"],
> 'firstname' => 'Andre',
> 'lastname' => 'Pedro',
> 'email' => 'andre[at]mail.com',
> 'baseUrl' => 
> 'http://hostname:5080/**openmeetings/
> ',
> 'language_id' => 1
> );
> $sent_invite = $client_roomService->call('**addMeetingMemberRemindToRoom',
> **$params);
> if ($client_roomService->fault) {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)'; print_r($sent_invite); echo '';
> } else {
> $err = $client_roomService->getError(**);
> if ($err) {
> echo 'Error' . $err . '';
> } else {
> echo 'Result'; print_r($sent_invite["return"]**); echo
> '';
> //return $addroom["return"];
>
> }
> }
>
> ?>
>
>


Re: no mail flow

2012-01-05 Thread Carlos Aguayo
Spoke too soon, the message UI cannot send mail, even though the
normal Actions -> Send invitation does work.  Here's what I get when I
try to send an email with no invitation from the message window in the
UI, but no message is actually sent:

DEBUG 01-05 14:37:53.800 Usermanagement.java 1313787 1527
org.openmeetings.app.data.user.Usermanagement [NioProcessor-13] -
Usermanagement.getUserById
DEBUG 01-05 14:37:53.811 Usermanagement.java 1313798 1634
org.openmeetings.app.data.user.Usermanagement [NioProcessor-13] -
Usermanagement.getUserByEmail : cagu...@gmail.com
DEBUG 01-05 14:37:53.822 Usermanagement.java 1313809 1634
org.openmeetings.app.data.user.Usermanagement [NioProcessor-13] -
Usermanagement.getUserByEmail : cagu...@gmail.com

When I try including a conference, I get a more detailed error.  This
is obviously trying to look up the user somewhere, but fails silently
when no such user is found in the (contacts?) list.  Not clear why
it's not finding the user with this email, which is in the contacts
list, anyone?

DEBUG 01-05 14:46:41.975 Usermanagement.java 1841962 1634
org.openmeetings.app.data.user.Usermanagement [NioProcessor-8] -
Usermanagement.getUserByEmail : car...@goodhumans.com
ERROR 01-05 14:46:41.980 UserService.java 1841967 1054
org.openmeetings.app.remote.UserService [NioProcessor-8] -
[composeMail]
java.lang.Exception: Could not find user car...@goodhumans.com
at 
org.openmeetings.app.remote.UserService.composeMail(UserService.java:999)
~[openmeetings.jar:na]


Thanks!

Carlos


On Thu, Jan 5, 2012 at 2:27 PM, Carlos Aguayo  wrote:
> For the benefit of the community, I tracked down the java error and
> got email flowing.  It turns out that, unlike most of the
> configuration options, the mail server settings are loaded into
> javamail only once, presumably the first time a message-send is
> attempted.  This means that changing the mail server specifics
> requires a full server restart, this error means that the settings
> loaded into javamail are not correct, but it's not clear how to
> reinitialize without a full restart of tomcat.
>
> The issue that should be logged by someone with access to the issue
> tracker is that the user gets no warning when the email is not sent,
> and thus, they must assume that all is well.
>
> Thanks,
>
> Carlos
>
>
> On Thu, Jan 5, 2012 at 2:09 PM, Carlos Aguayo  wrote:
>> Hey, kind folks,
>>
>> I am running openmeetings_1_9_1_r4707 on CentOS 5.7 with a mysql data
>> store, and I can't seem to get email delivery working, either via
>> local or remote smtp servers, TLS or plain text.  The
>> username/password/protocol/etc all look correct, and work from other
>> interfaces.   (telnet, mail client, and webmail)  I get
>> "java.lang.SecurityException: Access to default session denied", and
>> though I see lots of folks asking about this in the forums, none of
>> the solutions suggested there seem to help in this case.
>>
>> The most frustrating thing is that the user gets no feedback that
>> email did not go, it looks like it worked.  Any ideas most
>> appreciated.
>>
>> Carlos
>>
>>
>> Here's the stack trace from an "invite" attempt:
>>
>> ==> openmeetings.log <==
>> DEBUG 01-05 13:50:04.460 InvitationService.java 16828404 70
>> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
>> sendInvitationHash:
>>  INFO 01-05 13:50:04.461 InvitationService.java 16828405 82
>> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
>> validFromHour: 13
>>  INFO 01-05 13:50:04.461 InvitationService.java 16828405 83
>> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
>> validFromMinute: 49
>> DEBUG 01-05 13:50:04.480 InvitationService.java 16828424 124
>> org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
>> addAppointment offset :: 4680
>> DEBUG 01-05 13:50:04.482 Invitationmanagement.java 16828426 118
>> org.openmeetings.app.data.conference.Invitationmanagement
>> [NioProcessor-9] - http://208.93.118.94:5080/openmeetings/
>> DEBUG 01-05 13:50:04.483 Roommanagement.java 16828427 193
>> org.openmeetings.app.data.conference.Roommanagement [NioProcessor-9] -
>> getRoombyId : 12
>> DEBUG 01-05 13:50:04.500 MailThread.java 16828444 89
>> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - Message
>> sending in progress
>> DEBUG 01-05 13:50:04.501 MailThread.java 16828445 90
>> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   From:
>> ad...@jellnet.com
>> DEBUG 01-05 13:50:04.501 MailThread.java 16828445 91
>> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   To:
>> cagu...@gmail.com
>> DEBUG 01-05 13:50:04.501 MailThread.java 16828445 92
>> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -
>> Subject: Invitation to OpenMeetings
>> ERROR 01-05 13:50:04.503 MailThread.java 16828447 150
>> org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - [mail
>> send]
>> java.lang.SecurityException: Access to default session denied
>>       at javax.mail.Session

Re: SOAP/REST API issues - Openmeetings 1.9.1 [Update Correct images Links]

2012-01-05 Thread andre bolinhas
Hi Sebastian,
Yes I can, but I don't know which mailing list you are talking.
Can you give me the link ?


Re: SOAP/REST API issues - Openmeetings 1.9.1 [Update Correct images Links]

2012-01-05 Thread andre bolinhas
You mean 
openmeetings-user@incubator.apache.org ?


SOAP/REST API issues - Openmeetings 1.9.1

2012-01-05 Thread andre bolinhas
Hi  Sebastian,

I Have the following issues when I try add a room trought SOAP/REST API.

The room is successfully created, the appointment is successfully added in
calendar  and the invitation is sent, but I have this issues:

1º In invitations email sent to external users i get a Error formatSubjec
and Error formatMessage in body
https://lh5.googleusercontent.com/-jiHt7zpsoXY/TwXb6yMsmJI/ABE/OxeivtWYp90/s800/invitation_body.png

2º The name and description of appointment are wrong:
https://lh4.googleusercontent.com/-UsNWylXKpjY/TwXeHHieXEI/ABQ/_K2BFI7sfGQ/s800/appointment01.png

3º The attendess added to my room/appointment is only the external user of
my addMeetingMemberRemindToRoom fucntion, should not automatically add me
(user that create the room and appointment) as owner/moderator?
https://lh5.googleusercontent.com/-CYytChoXFiM/TwXgfv8pnkI/ABc/rKJGaYQ991g/s800/appointment02.png

This is my code:
http://hostname:5080/openmeetings/services/UserService?wsdl";, "wsdl");
 //$client_userService->setUseCurl(true);
$err = $client_userService->getError();
if ($err) {
echo 'Constructor error' . $err . '';
echo 'Debug' .
htmlspecialchars($client->getDebug(),
ENT_QUOTES) . '';
exit();
}
$resultSesssion = $client_userService->call('getSession');
if ($client_userService->fault)
{
echo 'Fault (Expect - The request contains an invalid SOAP
body)';
print_r($result);
echo '';
}
else
{
$err = $client_userService->getError();
if ($err) {
echo 'Error2' . $err . '';
}
else
{
//echo 'Result';
print_r($result);
echo '';
$client_userService->session_id = $resultSesssion["return"]["session_id"];
echo 'Result';
print_r($resultSesssion);
echo '';
$params = array(
'SID' => $client_userService->session_id,
'username' => 'user',
'userpass' => 'pass'
);
//$params = array();
$autologin = $client_userService->call('loginUser',$params);
echo 'Params';
print_r($autologin);
echo '';
if ($client_userService->fault)
{
echo 'Fault (Expect - The request contains an invalid SOAP
body)';
print_r($autologin);
echo '';
}
else
{
$err = $client_userService->getError();
if ($err) {
echo 'Error' . $err . '';
}
else
{
echo 'result';
print_r($autologin);
echo '';
}
}
}
}
$client_roomService = new nusoap_client("
http://hostname:5080/openmeetings/services/RoomService?wsdl";, true);
$err = $client_roomService->getError();
if ($err) {
echo 'Constructor error' . $err . '';
echo 'Debug' . htmlspecialchars($client->getDebug(),
ENT_QUOTES) . '';
exit();
}
$params = array(
'SID' => $client_userService->session_id,
'name' => 'test',
'roomtypes_id' => 1,
'comment' => 'Test SOAP',
'numberOfPartizipants' => 50,
'ispublic' => true,
'appointment' => true,
'isDemoRoom' => false,
'demoTime' => '',
'isModeratedRoom' => true,
'externalRoomType' => '',
'validFromDate' => '05-01-2012',
'validFromTime' => '16:00',
'validToDate' => '05-01-2012',
'validToTime' => '17:00',
'isPasswordProtected' => false,
'password' => '',
'reminderTypeId' => 2,
'redirectURL' => ''
);
$addroom =
$client_roomService->call('addRoomWithModerationAndExternalTypeAndStartEnd',$params);
if ($client_roomService->fault) {
echo 'Fault (Expect - The request contains an invalid SOAP
body)'; print_r($addroom); echo '';
} else {
$err = $client_roomService->getError();
if ($err) {
echo 'Error' . $err . '';
} else {
echo 'Result'; print_r($addroom["return"]); echo '';
//return $addroom["return"];

}
}
$params = array (
'SID' => $client_userService->session_id,
'room_id' => $addroom["return"],
'firstname' => 'Andre',
'lastname' => 'Pedro',
'email' => 'andre[at]mail.com',
'baseUrl' => 'http://hostname:5080/openmeetings/',
'language_id' => 1
);
$sent_invite =
$client_roomService->call('addMeetingMemberRemindToRoom',$params);
if ($client_roomService->fault) {
echo 'Fault (Expect - The request contains an invalid SOAP
body)'; print_r($sent_invite); echo '';
} else {
$err = $client_roomService->getError();
if ($err) {
echo 'Error' . $err . '';
} else {
echo 'Result'; print_r($sent_invite["return"]); echo '';
//return $addroom["return"];

}
}

?>

-- 
Os meus cumprimentos

André Bolinhas

-- 
Os meus cumprimentos

André Bolinhas


Re: SOAP/REST API issues - Openmeetings 1.9.1

2012-01-05 Thread seba.wag...@gmail.com
Hi,

Error no 1: I actually cannot say if the text that you show in your
screenshot is stored in Openmeetings or produced by your integration code.

Error no 2:
I don't know what you have submited as name and descr. The screenshot shows
it okay, what would you expect to see?

Error no 3:
What soap call do you use to create the conference room and appointment? It
might be possible that you need to add all meeting members including the
creating one. There is no soap call that adds any members to the
appointment automatically, it also makes hardly sense as the creating user
is likely to be a external user and not an Internal user from OpenMeetings
if the appointment is created via soap.

Sebastian
Am 06.01.2012 00:56 schrieb "andre bolinhas" :

> Hi  Sebastian,
>
> I Have the following issues when I try add a room trought SOAP/REST API.
>
> The room is successfully created, the appointment is successfully added in
> calendar  and the invitation is sent, but I have this issues:
>
> 1º In invitations email sent to external users i get a Error formatSubjec
> and Error formatMessage in body
>
> https://lh5.googleusercontent.com/-jiHt7zpsoXY/TwXb6yMsmJI/ABE/OxeivtWYp90/s800/invitation_body.png
>
> 2º The name and description of appointment are wrong:
>
> https://lh4.googleusercontent.com/-UsNWylXKpjY/TwXeHHieXEI/ABQ/_K2BFI7sfGQ/s800/appointment01.png
>
> 3º The attendess added to my room/appointment is only the external user of
> my addMeetingMemberRemindToRoom fucntion, should not automatically add me
> (user that create the room and appointment) as owner/moderator?
>
> https://lh5.googleusercontent.com/-CYytChoXFiM/TwXgfv8pnkI/ABc/rKJGaYQ991g/s800/appointment02.png
>
> This is my code:
>  require_once('lib/nusoap.php');
>
> $client_userService = new nusoap_client("
> http://hostname:5080/openmeetings/services/UserService?wsdl";, "wsdl");
>  //$client_userService->setUseCurl(true);
> $err = $client_userService->getError();
> if ($err) {
> echo 'Constructor error' . $err . '';
> echo 'Debug' .
> htmlspecialchars($client->getDebug(),
> ENT_QUOTES) . '';
> exit();
> }
> $resultSesssion = $client_userService->call('getSession');
> if ($client_userService->fault)
> {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)';
> print_r($result);
> echo '';
> }
> else
> {
> $err = $client_userService->getError();
> if ($err) {
> echo 'Error2' . $err . '';
> }
> else
> {
> //echo 'Result';
> print_r($result);
> echo '';
> $client_userService->session_id = $resultSesssion["return"]["session_id"];
> echo 'Result';
> print_r($resultSesssion);
> echo '';
> $params = array(
> 'SID' => $client_userService->session_id,
> 'username' => 'user',
> 'userpass' => 'pass'
> );
> //$params = array();
> $autologin = $client_userService->call('loginUser',$params);
> echo 'Params';
> print_r($autologin);
> echo '';
> if ($client_userService->fault)
> {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)';
> print_r($autologin);
> echo '';
> }
> else
> {
> $err = $client_userService->getError();
> if ($err) {
> echo 'Error' . $err . '';
> }
> else
> {
> echo 'result';
> print_r($autologin);
> echo '';
> }
> }
> }
> }
> $client_roomService = new nusoap_client("
> http://hostname:5080/openmeetings/services/RoomService?wsdl";, true);
> $err = $client_roomService->getError();
> if ($err) {
> echo 'Constructor error' . $err . '';
> echo 'Debug' . htmlspecialchars($client->getDebug(),
> ENT_QUOTES) . '';
> exit();
> }
> $params = array(
> 'SID' => $client_userService->session_id,
> 'name' => 'test',
> 'roomtypes_id' => 1,
> 'comment' => 'Test SOAP',
> 'numberOfPartizipants' => 50,
> 'ispublic' => true,
> 'appointment' => true,
> 'isDemoRoom' => false,
> 'demoTime' => '',
> 'isModeratedRoom' => true,
> 'externalRoomType' => '',
> 'validFromDate' => '05-01-2012',
> 'validFromTime' => '16:00',
> 'validToDate' => '05-01-2012',
> 'validToTime' => '17:00',
> 'isPasswordProtected' => false,
> 'password' => '',
> 'reminderTypeId' => 2,
> 'redirectURL' => ''
> );
> $addroom =
> $client_roomService->call('addRoomWithModerationAndExternalTypeAndStartEnd',$params);
> if ($client_roomService->fault) {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)'; print_r($addroom); echo '';
> } else {
> $err = $client_roomService->getError();
> if ($err) {
> echo 'Error' . $err . '';
> } else {
> echo 'Result'; print_r($addroom["return"]); echo '';
> //return $addroom["return"];
>
> }
> }
> $params = array (
> 'SID' => $client_userService->session_id,
> 'room_id' => $addroom["return"],
> 'firstname' => 'Andre',
> 'lastname' => 'Pedro',
> 'email' => 'andre[at]mail.com',
> 'baseUrl' => 'http://hostname:5080/openmeetings/',
> 'language_id' => 1
> );
> $sent_invite =
> $client_roomService->call('addMeetingMemberRemindToRoom',$params);
> if ($client_roomService->fault) {
> echo 'Fault (Expect - The request contains an invalid SOAP
> body)'; print_r($sent_invite); echo '';
> } else {
> $err = $client_roo