Deployement Error - "No database Selected"
Hi i am using Java as language and tried to create deployment but in select project list it is empty...First i used the ActiveGrid Studio 2.3.1 version.Then i downloaded the ActiveGrid 2.3.1 Commercial version and i successfully deployed the application.Then i tried to redeploy it in linux and it was reployed succesfully.But when i executed the page i got the error as msgpart abc has no database selected.Kindly help me out to clear the error.
Thanks
start the studio if you are
thanks
geremy
Succesfully Deployed
Hi Geremy
Thanks for ur response.The error was after deployement there was no database connectivity.I have downloaded mysql jar file & executed successfully in Tomcat Server
Thanks for ur sugesstion
Cibi
What if it works in studio, but not deployment ?
Hello Geremy,
Can you speak to effective use of log files for production only issues ? For example, when things work great in studio and the issue, such as above, occur in the deployment environment only.
Are there AG specific log files to look for ?
Are there AG specific line leaders to grep for in the system/server log files ?
Other tricks to searching system and server log files ?
-EdC
Hi EdC!- Here is a good
Hi EdC!-
Here is a good place to start. Once you install AG Server on Linux, you can change the various debug settings here:
AG_INSTALL/local/logs/pyRunLog.ini
Next, set the Apache config to pass through the lowest-level debug message. At line 512 of httpd.conf found at AG_INSTALL/local/conf, set LogLeve to debug.
#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel debug
Next, restart the server with an
activegridctl restart
command.
You can now tail AG_INSTALL/local/logs/error_log to watch whats going on in real time. I've noticed when an exception is thrown sometimes the CR/LFs dont come through right. To get around this, try something like:
tail -f error_log | sed 's/\\n/\n/g'
Give that a run, and tell me what ya think.
geremy
--