Trouble shooting Installation
-
Trying to evaluate Mango.
I am using Ubuntu. Installed JDK and Tomcat6. Tomcat6 works fine. Then extracted Mango to the Tomcat6/webapps/ROOT.
Now browsing to localhost/8080 gives error 404.
Looked in the Mango log. GotINFO 2013-03-01 10:27:45,244 (org.springframework.web.context.ContextLoader.initWebApplicationContext:209) - Root WebApplicationContext: initialization completed in 1351 ms
INFO 2013-03-01 10:27:45,244 (com.serotonin.mango.MangoContextListener.contextInitialized:79) - Mango context starting
INFO 2013-03-01 10:27:45,807 (com.serotonin.mango.db.DerbyAccess.initializeImpl:72) - Initializing derby connection manager
INFO 2013-03-01 10:27:46,713 (com.serotonin.mango.MangoContextListener.contextDestroyed:120) - Mango context terminating
INFO 2013-03-01 10:27:46,714 (com.serotonin.mango.db.DerbyAccess.terminate:93) - Stopping database
INFO 2013-03-01 10:27:46,734 (com.serotonin.mango.MangoContextListener.contextDestroyed:142) - Mango context terminatedI assume that derby is not installed or not working.
Any ideas? Should I ignore derby and use MySQL?
-
Hi!
I'm trying to install mango automation but I can't
it appears on my window:Using C:\Program Files\Mango Automation\m2m2-core-2.0.6 as MA-HOME
the system can not find the file specified.
Using Java at java
"java" is not recognized as an internal or external command,
program or? batch fileThanks for your attention
Elah -
Did you install the Java JDK and set the Environmental variable? Please provide more details.
-
thanks!
the trouble was the variable for java -
I use the java7, maybe is this problem, show error message error:missing 'server' jvm at "C:\Program Files\Java\jre7\bin\server\jvm.dll",but my java directory is "C:\Program Files\Java\jre7\bin\client \jvm.dll",if is this problem,if i need install java6,thanks.
-
Java 7 should be fine. Make sure your JAVA_HOME environmental variable is set to the Java JDK install directory. On windows usually: C:\Program Files\Java\jdk1.X.0_XX
-
Joel,
Do you have an example of an init script to automatically start mango on boot (i.e. something that would live in /etc/init.d/, that I could drop in and configure with chkconfig ), and stop it on command?
I have created one, and I can get the system to start, but I don't have a command to stop it. With a default tomcat install I get a startup.sh and a shutdown.sh which each do their respective jobs, why is there no ma-shutdown.sh?
-
Attached is a service that I know works on Ubuntu. Place it in the /etc/init folder and then you can run "service mango start or stop". You'll have to edit the path in the script to your ma-start.sh file.
Attachment: download link
-
I have got m2m2 installed and running. When I go to http://localhost:8080/system_settings.shtm I get the page with no values. When I start filling them in and click save I get an error...
dojo.html is undefined
What am I doing wrong? is there an env var I need to set? (ive set M2M2_HOME and JAVA_HOME)
-
Hard to know with out a bit more information. I would recommend starting over with fresh files, make sure you have the latest version. M2M2_HOME is not needed any more and was for an older version, just JAVA_HOME.
You can also call in for support if you need some live help.
Joel.