Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior when Creating application in Standalone Mode when using Mongodb #5997

Closed
USAMAWIZARD opened this issue Jan 3, 2024 · 1 comment

Comments

@USAMAWIZARD
Copy link
Contributor

USAMAWIZARD commented Jan 3, 2024

Short description

When the server is running in standalone mode with Mongodb and we send a request to create a new application new application gets created but when I checked logs it uses mapdb instead of Mongodb.

Environment

  • Operating system and version:
  • Java version:
  • Ant Media Server version:2.8.0-snapshot
  • Browser name and version:

Steps to reproduce

  1. start the server in standalone mode with Mongodb.
  2. sudo ./start.sh -m standalone -h IP_ADD username password
  3. create new app from the dashboard.
  4. check logs it will use mapdb

Expected behavior

newly created application should use mongodb.

Actual behavior

app is created but it uses mapdb

Logs

appcreate.log

2024-01-03 09:49:20,912 [vert.x-worker-thread-1] INFO  org.red5.server.tomcat.WarDeployer - Deploy wars with app start
2024-01-03 09:49:21,210 [vert.x-worker-thread-1] INFO  o.red5.server.tomcat.TomcatLoader - Starting Tomcat - Web application
2024-01-03 09:49:21,210 [vert.x-worker-thread-1] INFO  o.red5.server.tomcat.TomcatLoader - Application root: /usr/local/antmedia/webapps
Context init: newapp
2024-01-03 09:49:21,318 [vert.x-worker-thread-1] INFO  org.red5.server.LoaderBase - Set application context - path: 0.0.0.0/newapp context: org.red5.server.tomcat.TomcatApplicationContext@1f3d27de
2024-01-03 09:49:21,320 [Launcher:/newapp] INFO  o.red5.server.tomcat.TomcatLoader - Setting root web app context attribute for newapp
2024-01-03 09:49:21,354 [Launcher:/newapp] INFO  org.red5.server.Context - Deployment type: bootstrap
2024-01-03 09:49:21,476 [Launcher:/newapp] INFO  i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb  db name:newapp
2024-01-03 09:49:21,477 [Launcher:/newapp] INFO  org.red5.server.scope.WebScope - Set server [Server@4f18c5d2map['/root' -> 'default', '/LiveApp' -> 'default', '/WebRTCAppEE' -> 'default', '/rtmpout' -> 'default']]
2024-01-03 09:49:21,478 [Launcher:/newapp] INFO  org.red5.server.Server - Add mapping global: default host:  context: newapp
2024-01-03 09:49:21,478 [Launcher:/newapp] INFO  i.a.AntMediaApplicationAdapter - Initialized file is created in newapp
2024-01-03 09:49:21,478 [Launcher:/newapp] INFO  i.a.enterprise.webrtc.WebRTCAdaptor - setting excessive bandwidth algorithm enabled:false 
2024-01-03 09:49:21,478 [Launcher:/newapp] INFO  i.a.AntMediaApplicationAdapter - newapp started
2024-01-03 09:49:21,478 [Launcher:/newapp] INFO  org.red5.server.scope.Scope - Scope:newapp is  running 


Ask your questions on Ant Media Github Discussions

@USAMAWIZARD USAMAWIZARD changed the title Unexpected behavior when Creating application in Standalone Mode and Mongodb Unexpected behavior when Creating application in Standalone Mode when using Mongodb Jan 3, 2024
@mekya
Copy link
Contributor

mekya commented May 6, 2024

Hi ,

We've fixed this issue in reviewing this PR #5461

Then I'm closing this issue.

Please feel free to re-open if it does not work for you

Cheers
Oguz

@mekya mekya closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants