You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Maxim Solodovnik <so...@gmail.com> on 2020/07/02 09:13:11 UTC
Re: js file was modified but didn’t take effect on centOS server
Hello Tong,
this file is processed and packaged by build
your changes will be available after successful build only :)
On Wed, 1 Jul 2020 at 08:32, Zhirong Tong <to...@ptteng.com> wrote:
> Hi Maxim,
> I’ve got one another little problem to seek for help from you.
> That is the js file was modified but didn’t take effect.
> The file locates at /opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js
> (that is in a centOS server), but didn’t see it take effect *as it did
> in src on my local computer*, which is confuse to me.
> I did restart the tomcat (on centOS) or which it didn’t need to be
> restarted because it is a js file, but any way , it didn’t take effect.
>
> Best regard,
> Tong
>
--
Best regards,
Maxim
Re: js file was modified but didn’t take effect on centOS server
Posted by Zhirong Tong <to...@ptteng.com>.
Hi Maxim,
How to properly build a workable `openmeetings-server`(apache-openmeetings-x.x.x.tar.gz ) if I have some modified javascript
from `openmeetings-web` needing to see its effect.
Currently, I've tried these commands and the result is not as expected(js files still remain the same in apache-openmeetings-x.x.x.tar.gz as before modified):
①"mvn install -P allModules,unpack,mysql -pl openmeetings-server,openmeetings-web -Dwicket.configuration=DEVELOPMENT",
(`unpack` but not generating "apache-openmeetings-x.x.x.tar.gz")
②"mvn install -P allModules,unpack,mysql -pl openmeetings-server -Dwicket.configuration=DEVELOPMENT",
(js files in "apache-openmeetings-x.x.x.tar.gz" remained untouched)
③mvn clean install -P allModules,unpacked,mysql -DskipTests=true -Dwicket.configuration=DEVELOPMENT
(not generating "apache-openmeetings-x.x.x.tar.gz”)
With regards,
Tong
> On Jul 4, 2020, at 10:20 AM, Zhirong Tong <to...@ptteng.com> wrote:
>
> Hi Maxim,
>
> Gotcha. Thanks.
> But do you know what may cause this ? This happens just out of nowhere when I start apache-openmeetings-5.0.0-M4/bin/startup.sh,
> Error creating bean with name ‘configurationDao’ ,
> No qualifying bean of type 'org.apache.openmeetings.IApplication’ ,
> It used to be totally fine , I don’t know if anything on my local has been touched.
>
> <PastedGraphic-2.png>
>
>> On Jul 3, 2020, at 3:49 PM, Maxim Solodovnik <solomax666@gmail.com <ma...@gmail.com>> wrote:
>>
>> I'm using "Hot code replace", "Remote debug" and "quick" build https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas <https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas>
>>
>> I tried to start OM inside IDE long time ago, but this was impossible due to we were using Red5 as OM base
>> Haven't tried since then ...
>>
>> On Fri, 3 Jul 2020 at 14:37, Zhirong Tong <tongzhirong@ptteng.com <ma...@ptteng.com>> wrote:
>> Hi Maxim
>>
>> How do you usually start openmeetings-web?
>> Basically, I need webservice , so instead of “mvn install -P allModules -pl openmeetings-server -Dwicket.configuration=DEVELOPMENT” to pack everything under openmeetings/openmeetings-server/target, Can I try starting openmeeting-wen directly in my local tomcat via my IDE ?
>> Actually I did success for one time , then got this error , here is my configuration and logs,
>>
>>
>> <DA8057F90B4885382BC2AABD73D04C22.jpg>
>>
>> <localtomcat.png>
>>
>>
>>> On Jul 2, 2020, at 5:13 PM, Maxim Solodovnik <solomax666@gmail.com <ma...@gmail.com>> wrote:
>>>
>>> Hello Tong,
>>>
>>> this file is processed and packaged by build
>>> your changes will be available after successful build only :)
>>>
>>> On Wed, 1 Jul 2020 at 08:32, Zhirong Tong <tongzhirong@ptteng.com <ma...@ptteng.com>> wrote:
>>> Hi Maxim,
>>> I’ve got one another little problem to seek for help from you.
>>> That is the js file was modified but didn’t take effect.
>>> The file locates at /opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js (that is in a centOS server), but didn’t see it take effect as it did in src on my local computer, which is confuse to me.
>>> I did restart the tomcat (on centOS) or which it didn’t need to be restarted because it is a js file, but any way , it didn’t take effect.
>>>
>>> Best regard,
>>> Tong
>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>
>>
>>
>> --
>> Best regards,
>> Maxim
>
Re: js file was modified but didn’t take effect on centOS server
Posted by Zhirong Tong <to...@ptteng.com>.
Excuse me, Maxim,
May be I wasn’t able to be more specify in the previous mail.
Now it is totally fine for me to start and run the project and it’s not about experiencing any errors.
It’s just the javascript file in ‘openmeetings-web' didn’t appear to load the changes I’ve made.
The command I used was "mvn install -P allModules,unpack,mysql -pl openmeetings-server,openmeetings-web -Dwicket.configuration=DEVELOPMENT”
I am only writing to your about the desperate occasion for me.
You are always very kind when the advices from you are always be very helpful.
> On Jul 4, 2020, at 12:53 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>
> It is hard to say
> I never saw error like this
>
>
> --
> Best regards,
> Maxim
Re: js file was modified but didn’t take effect on centOS server
Posted by Maxim Solodovnik <so...@gmail.com>.
Good to know you figured it out :)
A little busy right now :(
On Mon, 6 Jul 2020 at 13:09, Zhirong Tong <to...@ptteng.com> wrote:
> Hi Maxim,
> No needs to reply, the js files have loaded the changes just now. Now
> it’s all Ok.
>
> On Jul 6, 2020, at 2:05 PM, Zhirong Tong <to...@ptteng.com> wrote:
>
> Excuse me, Maxim,
> May be I wasn’t able to be more specify in the previous mail.
> Now it is totally fine for me to start and run the project and it’s not
> about experiencing any errors.
> It’s just the javascript file in ‘openmeetings-web' didn’t appear to load
> the changes I’ve made.
> "mvn install -P allModules,unpack,mysql -pl
> openmeetings-server,openmeetings-web -Dwicket.configuration=DEVELOPMENT”
> I am only writing to your about the desperate occasion for me.
> You are always very kind when the advices from you are always be very
> helpful.
>
>
> On Jul 4, 2020, at 12:53 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> It is hard to say
> I never saw error like this
>
>
> --
> Best regards,
> Maxim
>
>
>
>
--
Best regards,
Maxim
Re: js file was modified but didn’t take effect on centOS server
Posted by Zhirong Tong <to...@ptteng.com>.
Hi Maxim,
No needs to reply, the js files have loaded the changes just now. Now it’s all Ok.
> On Jul 6, 2020, at 2:05 PM, Zhirong Tong <to...@ptteng.com> wrote:
>
> Excuse me, Maxim,
> May be I wasn’t able to be more specify in the previous mail.
> Now it is totally fine for me to start and run the project and it’s not about experiencing any errors.
> It’s just the javascript file in ‘openmeetings-web' didn’t appear to load the changes I’ve made.
> "mvn install -P allModules,unpack,mysql -pl openmeetings-server,openmeetings-web -Dwicket.configuration=DEVELOPMENT”
> I am only writing to your about the desperate occasion for me.
> You are always very kind when the advices from you are always be very helpful.
>
>
>> On Jul 4, 2020, at 12:53 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>>
>> It is hard to say
>> I never saw error like this
>>
>>
>> --
>> Best regards,
>> Maxim
>
Re: js file was modified but didn’t take effect on centOS server
Posted by Maxim Solodovnik <so...@gmail.com>.
It is hard to say
I never saw error like this
On Sat, 4 Jul 2020 at 09:20, Zhirong Tong <to...@ptteng.com> wrote:
> Hi Maxim,
>
> Gotcha. Thanks.
> But do you know what may cause this ? This happens just out of nowhere
> when I start apache-openmeetings-5.0.0-M4/bin/startup.sh,
> Error creating bean with name ‘configurationDao’ ,
> No qualifying bean of type 'org.apache.openmeetings.IApplication’ ,
> It used to be totally fine , I don’t know if anything on my local has been
> touched.
>
>
>
> On Jul 3, 2020, at 3:49 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>
> I'm using "Hot code replace", "Remote debug" and "quick" build
> https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas
>
> I tried to start OM inside IDE long time ago, but this was impossible due
> to we were using Red5 as OM base
> Haven't tried since then ...
>
> On Fri, 3 Jul 2020 at 14:37, Zhirong Tong <to...@ptteng.com> wrote:
>
>> Hi Maxim
>>
>> How do you usually start openmeetings-web?
>> Basically, I need webservice , so instead of “mvn install -P allModules
>> -pl openmeetings-server -Dwicket.configuration=DEVELOPMENT” to pack
>> everything under openmeetings/openmeetings-server/target, Can I try
>> starting openmeeting-wen directly in my local tomcat via my IDE ?
>> Actually I did success for one time , then got this error , here is my
>> configuration and logs,
>>
>>
>> <DA8057F90B4885382BC2AABD73D04C22.jpg>
>>
>> <localtomcat.png>
>>
>>
>> On Jul 2, 2020, at 5:13 PM, Maxim Solodovnik <so...@gmail.com>
>> wrote:
>>
>> Hello Tong,
>>
>> this file is processed and packaged by build
>> your changes will be available after successful build only :)
>>
>> On Wed, 1 Jul 2020 at 08:32, Zhirong Tong <to...@ptteng.com> wrote:
>>
>>> Hi Maxim,
>>> I’ve got one another little problem to seek for help from you.
>>> That is the js file was modified but didn’t take effect.
>>> The file locates at /opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js
>>> (that is in a centOS server), but didn’t see it take effect *as it did
>>> in src on my local computer*, which is confuse to me.
>>> I did restart the tomcat (on centOS) or which it didn’t need to be
>>> restarted because it is a js file, but any way , it didn’t take effect.
>>>
>>> Best regard,
>>> Tong
>>>
>>
>>
>> --
>> Best regards,
>> Maxim
>>
>>
>>
>
> --
> Best regards,
> Maxim
>
>
>
--
Best regards,
Maxim
Re: js file was modified but didn’t take effect on centOS server
Posted by Zhirong Tong <to...@ptteng.com>.
Hi Maxim,
Gotcha. Thanks.
But do you know what may cause this ? This happens just out of nowhere when I start apache-openmeetings-5.0.0-M4/bin/startup.sh,
Error creating bean with name ‘configurationDao’ ,
No qualifying bean of type 'org.apache.openmeetings.IApplication’ ,
It used to be totally fine , I don’t know if anything on my local has been touched.
> On Jul 3, 2020, at 3:49 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>
> I'm using "Hot code replace", "Remote debug" and "quick" build https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas <https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas>
>
> I tried to start OM inside IDE long time ago, but this was impossible due to we were using Red5 as OM base
> Haven't tried since then ...
>
> On Fri, 3 Jul 2020 at 14:37, Zhirong Tong <tongzhirong@ptteng.com <ma...@ptteng.com>> wrote:
> Hi Maxim
>
> How do you usually start openmeetings-web?
> Basically, I need webservice , so instead of “mvn install -P allModules -pl openmeetings-server -Dwicket.configuration=DEVELOPMENT” to pack everything under openmeetings/openmeetings-server/target, Can I try starting openmeeting-wen directly in my local tomcat via my IDE ?
> Actually I did success for one time , then got this error , here is my configuration and logs,
>
>
> <DA8057F90B4885382BC2AABD73D04C22.jpg>
>
> <localtomcat.png>
>
>
>> On Jul 2, 2020, at 5:13 PM, Maxim Solodovnik <solomax666@gmail.com <ma...@gmail.com>> wrote:
>>
>> Hello Tong,
>>
>> this file is processed and packaged by build
>> your changes will be available after successful build only :)
>>
>> On Wed, 1 Jul 2020 at 08:32, Zhirong Tong <tongzhirong@ptteng.com <ma...@ptteng.com>> wrote:
>> Hi Maxim,
>> I’ve got one another little problem to seek for help from you.
>> That is the js file was modified but didn’t take effect.
>> The file locates at /opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js (that is in a centOS server), but didn’t see it take effect as it did in src on my local computer, which is confuse to me.
>> I did restart the tomcat (on centOS) or which it didn’t need to be restarted because it is a js file, but any way , it didn’t take effect.
>>
>> Best regard,
>> Tong
>>
>>
>> --
>> Best regards,
>> Maxim
>
>
>
> --
> Best regards,
> Maxim
Re: js file was modified but didn’t take effect on centOS server
Posted by Maxim Solodovnik <so...@gmail.com>.
I'm using "Hot code replace", "Remote debug" and "quick" build
https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas
I tried to start OM inside IDE long time ago, but this was impossible due
to we were using Red5 as OM base
Haven't tried since then ...
On Fri, 3 Jul 2020 at 14:37, Zhirong Tong <to...@ptteng.com> wrote:
> Hi Maxim
>
> How do you usually start openmeetings-web?
> Basically, I need webservice , so instead of “mvn install -P allModules
> -pl openmeetings-server -Dwicket.configuration=DEVELOPMENT” to pack
> everything under openmeetings/openmeetings-server/target, Can I try
> starting openmeeting-wen directly in my local tomcat via my IDE ?
> Actually I did success for one time , then got this error , here is my
> configuration and logs,
>
>
>
>
>
> On Jul 2, 2020, at 5:13 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>
> Hello Tong,
>
> this file is processed and packaged by build
> your changes will be available after successful build only :)
>
> On Wed, 1 Jul 2020 at 08:32, Zhirong Tong <to...@ptteng.com> wrote:
>
>> Hi Maxim,
>> I’ve got one another little problem to seek for help from you.
>> That is the js file was modified but didn’t take effect.
>> The file locates at /opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js
>> (that is in a centOS server), but didn’t see it take effect *as it did
>> in src on my local computer*, which is confuse to me.
>> I did restart the tomcat (on centOS) or which it didn’t need to be
>> restarted because it is a js file, but any way , it didn’t take effect.
>>
>> Best regard,
>> Tong
>>
>
>
> --
> Best regards,
> Maxim
>
>
>
--
Best regards,
Maxim
Re: js file was modified but didn’t take effect on centOS server
Posted by Zhirong Tong <to...@ptteng.com>.
Hi Maxim
How do you usually start openmeetings-web?
Basically, I need webservice , so instead of “mvn install -P allModules -pl openmeetings-server -Dwicket.configuration=DEVELOPMENT” to pack everything under openmeetings/openmeetings-server/target, Can I try starting openmeeting-wen directly in my local tomcat via my IDE ?
Actually I did success for one time , then got this error , here is my configuration and logs,
> On Jul 2, 2020, at 5:13 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>
> Hello Tong,
>
> this file is processed and packaged by build
> your changes will be available after successful build only :)
>
> On Wed, 1 Jul 2020 at 08:32, Zhirong Tong <tongzhirong@ptteng.com <ma...@ptteng.com>> wrote:
> Hi Maxim,
> I’ve got one another little problem to seek for help from you.
> That is the js file was modified but didn’t take effect.
> The file locates at /opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js (that is in a centOS server), but didn’t see it take effect as it did in src on my local computer, which is confuse to me.
> I did restart the tomcat (on centOS) or which it didn’t need to be restarted because it is a js file, but any way , it didn’t take effect.
>
> Best regard,
> Tong
>
>
> --
> Best regards,
> Maxim