You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Hamdi THABET <ha...@gmail.com> on 2012/03/30 05:25:23 UTC

Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

I have some remarks : 
1) I have already done all these steps (video conference and recording work
well).
2) I have changed the name of my database to: "collabmee" in postgresql and
in "config.XML" (I tested first with the name "openmeetings").
3) UTF8 is done and 46 are created automatically when I compile with ant
command.
4) I run "red5.bat" because I'm under Win7 (x64) and not "red5-debug.sh".
5) I installed sucessufully from: http://localhost:5080/openmeetings/install

If I made a mistake tell me please Maxim.

How can I subscribe (admin and normal account) and connect without having any entry in my users table in DB ?   

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
I will try now your suggestion.

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
In the installation I configured all paths :

C:\ffmpeg\bin
C:\ImageMagick-6.6.4
C:\SWFTools
C:\sox-14.4.0

I changed also the JOD Path, is this a mistake ?
because it was already filled with : ./jodconverter-core-3.0-beta-4/lib
AND I changed it to: C:\jodconverter-core-3.0-beta-4\lib

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Maxim Solodovnik <so...@gmail.com>.
the are created on application start

I have asked you do not perform any renames, but according to the log you
have renamed your context to collabme.

According to the log your classpath is incomplete:
ClassNotFoundException: org.apache.axis2.transport.http.AxisServlet
ClassNotFoundException:
org.apache.commons.io.output.DeferredFileOutputStream

This might be caused by bad build.

Could you please do the following:
1) delete folders *build* and *dist*
2) svn up (to update the sources)
3) ant -Ddb=postgres >build.log
4) run and install OM

I'll try to check work with postgres now

On Fri, Mar 30, 2012 at 12:38, Hamdi Thabet <ha...@gmail.com>wrote:

> Ok. Do you know in which step exactly the 46 DB tables are automatically
> created ?
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
Ok. Do you know in which step exactly the 46 DB tables are automatically
created ?

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Maxim Solodovnik <so...@gmail.com>.
No, openmeeting_persistense is not required. I'll try to setup postgres and
verify the steps. Can you send the recent logs?
On Mar 30, 2012 12:23 PM, "Hamdi Thabet" <ha...@gmail.com> wrote:

> I think it's necessary to have a file named: "openmeetings_
> persistence.xml".
> I still have 0 table in my DB. The problem become more complicated.
>

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
I think it's necessary to have a file named: "openmeetings_
persistence.xml".
I still have 0 table in my DB. The problem become more complicated.

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
Very strange ! this time after doing all things like you tell me, there is
no table created in DB.
Before 46 tables was created automatically !
See screen shots.

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Maxim Solodovnik <so...@gmail.com>.
The postgres DB is now have data?


On Fri, Mar 30, 2012 at 11:37, Hamdi Thabet <ha...@gmail.com>wrote:

> The only change that I have made in "postgres_persistence.xml" was :
> <property name="openjpa.ConnectionPassword" value="0102"/>
>
> 0102 my password to access to posgresql server. Is it the right place ?
>
> After that I compiled with :  "ant -DB=postgres"
> and it was successfully done.
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
The only change that I have made in "postgres_persistence.xml" was :
<property name="openjpa.ConnectionPassword" value="0102"/>

0102 my password to access to posgresql server. Is it the right place ?

After that I compiled with :  "ant -DB=postgres"
and it was successfully done.

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Maxim Solodovnik <so...@gmail.com>.
OK
please do the following
1) delete dist folder
2) modify src\META-INF\postgres_persistence.xml to have your DB settings
3) run "ant -DB=postgres"
4) do not change anything (no folder renaming or file editing)
5) go to dist/red5
6) run red5.bat
7) go to http://localhost:5080/openmeetings/install
8) check postgres DB


On Fri, Mar 30, 2012 at 11:06, Hamdi Thabet <ha...@gmail.com>wrote:

> Also in my "*dist\red5\webapps\collabmee\config.xml"* I have changed :
>
> <webAppRootKey>*openmeetings*</webAppRootKey>   TO    <webAppRootKey>*
> collabmee*</webAppRootKey>
> +
> <httpRootKey>/*openmeetings*/</httpRootKey>     TO     <httpRootKey>/*
> collabmee*/</httpRootKey>
>
> and I installed with: http://localhost:5080/collabmee/install
>
>
>


-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
Also in my "*dist\red5\webapps\collabmee\config.xml"* I have changed :

<webAppRootKey>*openmeetings*</webAppRootKey>   TO    <webAppRootKey>*
collabmee*</webAppRootKey>
+
<httpRootKey>/*openmeetings*/</httpRootKey>     TO     <httpRootKey>/*
collabmee*/</httpRootKey>

and I installed with: http://localhost:5080/collabmee/install

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
My persistence.xml is fine. I have made a mistake in writing: the command
ant with -Ddb option make migration between
openmeetings_persistence.xml -> persistence.xml
I joined my xml file to confirm it.

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Hamdi Thabet <ha...@gmail.com>.
1) yes.
2) ant -Ddb=openmeetings prepare-eclipse (I restored the original name). ->
this command migrate the config from "postgresql_persistance.xml" to
"openmeetings_persistance.xml"
3) I renamed before step 2) "postgresql_persistance.xml" to
"openmeetings_persistance.xml".
 in these two files there is these lines:

                <property name="openjpa.ConnectionURL"
value="jdbc:postgresql://localhost:5432/openmeetings"/>
                <property name="openjpa.ConnectionUserName"
value="postgres"/>
                <property name="openjpa.ConnectionPassword" value="0102"/>

also red5.bat run without error.
I note that all seems to be fine but there is a troubleshot somewhere.
I joined my log files.

Re: Réf. : Re: Réf. : Re: Error HTTP: 500 when uploading/sharing file

Posted by Maxim Solodovnik <so...@gmail.com>.
It seems like you have derby DB at the end.
Lets find it out:
1) check if you have "openmeetings" folder in dist/red5 ?
2) please tell me how have you build the sources? (have you used and
-DB=postgres)
3) can you
check dist\red5\webapps\openmeetings\WEB-INF\classes\META-INF\persistence.xml
(the *only* location of DB settings)

what is written in <property name="openjpa.ConnectionProperties"
value="..."?



On Fri, Mar 30, 2012 at 10:25, Hamdi THABET <ha...@gmail.com>wrote:

>     I have some remarks :
> 1) I have already done all these steps (video conference and recording
> work well).
> 2) I have changed the name of my database to: "collabmee" in postgresql
> and in "config.XML" (I tested first with the name "openmeetings").
> 3) UTF8 is done and 46 are created automatically when I compile with ant
> command.
> 4) I run "red5.bat" because I'm under Win7 (x64) and not "red5-debug.sh".
> 5) I installed sucessufully from:
> http://localhost:5080/openmeetings/install
>
> If I made a mistake tell me please Maxim.
>
> How can I subscribe (admin and normal account) and connect without having
> any entry in my users table in DB ?
>



-- 
WBR
Maxim aka solomax