Help!!!!
-
newly installed mango and see below issues.
can anyone help to point out what went wrong?INFO 2012-10-13 03:30:41,142 (org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons:414) - Pre-instantiating sing
letons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1dffb78: defining beans [viewResolver,defaultMessageCodeResolver,publicUrlM
appings,compoundEventsController,dataPointDetailsController,dataPointEditController,dataSourceEditController,dataSourceListController,emportController,eve
ntHandlersController,eventsController,helpController,loginController,logoutController,mobileLoginController,mobileLogoutController,mobileWatchListControll
er,mailingListsController,maintenanceEventsController,pointHierarchyController,pointLinksController,publicViewController,publisherEditController,publisher
ListController,reportChartController,reportsController,scheduledEventsController,sqlController,systemSettingsController,usersController,viewsController,vi
ewEditController,watchListController,webcamLiveFeedController,multipartResolver,commonData]; parent: org.springframework.beans.factory.support.DefaultList
ableBeanFactory@18c458
16 INFO 2012-10-13 03:30:41,373 (org.springframework.web.servlet.FrameworkServlet.initServletBean:276) - FrameworkServlet 'springDispatcher': initialization
completed in 300 ms
17 ERROR 2012-10-13 03:30:48,430 (com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter:52) - DWR invocation exception
18 java.lang.NullPointerException
19 at java.util.ResourceBundle.getBundle(ResourceBundle.java:1172)
20 at com.serotonin.web.i18n.I18NUtils.prepareRequest(I18NUtils.java:38)
21 at com.serotonin.web.dwr.LocalizationFilter.doFilter(LocalizationFilter.java:60)
22 at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
23 at com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:40)
24 at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
25 at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
26 at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
27 at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
28 at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
29 at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
30 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
31 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
32 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
33 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) -
Did you see this post: http://forum.infiniteautomation.com/forum/posts/list/1283.page
please check the things mentioned in the post and let us know if there are still issues. Also, can you post the full text from the start up box.
Thank,
Joel. -
Hey Joel,
zjufish is using M2M, not MA
zjufish: what browser are you using, and what is your locale setting? If you can, could you post the request headers that your browser sent?
-
not sure if i did the right thing.
i didnot see file m2m2-start.sh in the downloaded package from http://mango.serotoninsoftware.com/downloads/mango-1.12.5.tar.gzwhat i did is:
-
unzip the entire package to /home/thu/apache-tomcat-6.0.35/webapps/mango
-
then i tried to access from http://xxxx:8080/mango
-
i can see the login page however there is annoy pop up saying "A server error has occured. More information maybe available in the console".
-
if i confirm the popup the mango will process and sucessfully login. however, this alert window is keeping popup on every page i visited hence the entire page is not able to be loaded sucessfully.
i go the tomcat log see below logs. please see the attachment.
Attachment: download link
-
-
i see the same problem with both chrome 18 and IE 7.
my locale file from etc/default/locale
LANG="zh_CN.GB18030"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"i tried english locate still see the same issue.
-
another issue is i tried mango-upgrade-1.12.5.tar.gz
i cannot even see the login page with below error from log.
??: Initializing Spring root WebApplicationContext
?? 12, 2012 8:42:21 ?? org.apache.catalina.core.StandardContext listenerStart
??: Exception sending context initialized event to listener instance of class com.serotonin.mango.MangoContextListener
java.util.MissingResourceException: Can't find bundle for base name env, locale zh_CN
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:724)
at com.serotonin.util.PropertiesUtils.<init>(PropertiesUtils.java:30)
at com.serotonin.util.PropertiesUtils.<init>(PropertiesUtils.java:24)
at com.serotonin.mango.Common.getEnvironmentProfile(Common.java:302)
at com.serotonin.mango.db.DatabaseAccess.createDatabaseAccess(DatabaseAccess.java:72)
at com.serotonin.mango.MangoContextListener.databaseInitialize(MangoContextListener.java:253)
at com.serotonin.mango.MangoContextListener.contextInitialized(MangoContextListener.java:94)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) -
Sorry, I though you were using MA. Please post in the correct forum: http://forum.infiniteautomation.com/forum/forums/show/2.page
This forum is for Mango Automation 2.0 installations.
Joel.
-
tried a sniffer. keeping receiving keep-alive request
GET /forum/ping_session.jsp HTTP/1.1
Host: mango.serotoninsoftware.com
Connection: keep-alive
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Referer: http://mango.serotoninsoftware.com/forum/ping_session.jsp
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6
Accept-Charset: GBK,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D6D4BA5EA18BB8EAD24D294971E9DD50; __utma=107296384.1256163826.1350052763.1350052763.1350052763.1; __utmc=107296384; __utmz=107296384.1350052763.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); JSESSIONID=175881BA6A57333487DB176A9D30FB80; __utma=183261370.2017386572.1350054181.1350054181.1350067975.2; __utmc=183261370; __utmz=183261370.1350067975.2.2.utmccn=(organic)|utmcsr=google|utmctr=mamgo+M2M|utmcmd=organic; jforumUserId=9615; __utmb=183261370; __atuvc=9%7C41 -
oh, wait, this is the forum's ping session