Topic
  • 7 replies
  • Latest Post - ‏2012-02-27T06:05:19Z by IdanAdar
SystemAdmin
SystemAdmin
106 Posts

Pinned topic Worklight Server Error on Startup

‏2012-02-26T03:59:51Z |
Deploying a new local Worklight server I'm getting the following error: running on Mac OS Snow Leopard. Any ideas would be most appreciated.

INFO: Default configuration loaded.
INFO: Project customization loaded from file '/Users/user/Development/Worklight/server/conf/worklight.properties'
INFO: Runtime customization file not defined, using project level customization.
Using CATALINA_BASE: /Users/user/Development/Worklight/server/../tomcat
Using CATALINA_HOME: /Users/user/Development/Worklight/server/../tomcat
Using CATALINA_TMPDIR: /Users/user/Development/Worklight/server/../tomcat/temp
Using JRE_HOME: /Library/Java/Home
Using CLASSPATH: /Users/user/Development/Worklight/server/../tomcat/bin/bootstrap.jar:/Users/user/Development/Worklight/server/../tomcat/bin/tomcat-juli.jar

INFO WorklightConfiguration Build Version: 4.2.1.1183
ERROR InstrumentedException Unknown exception: Cannot add tasks while in closing mode
ERROR ContextLoaderListener Worklight initialization failed. Cause: java.lang.NoSuchMethodError: org.mozilla.javascript.ContextFactory.enterContext()Lorg/mozilla/javascript/Context;
  • IdanAdar
    IdanAdar
    40 Posts

    Re: Worklight Server Error on Startup

    ‏2012-02-26T06:44:55Z  
    Hello jmaskus,
    That is a peculiar problem.

    Were any changes made to the installation settings prior to starting Worklight Server?
    Any other installations made?
    I am guessing you have used the Mac installation file.
  • SystemAdmin
    SystemAdmin
    106 Posts

    Re: Worklight Server Error on Startup

    ‏2012-02-26T15:33:28Z  
    In response to your questions:
    Were any changes made to the installation settings prior to starting Worklight Server?
    No

    Any other installations made?
    First time "clean" installation

    I am guessing you have used the Mac installation file.
    Yes, correct

    Question: To remove the Worklight server and reinstall can I just delete the Worklight directory? Or is there more to it than that?
  • IdanAdar
    IdanAdar
    40 Posts

    Re: Worklight Server Error on Startup

    ‏2012-02-26T15:40:26Z  
    Just the Worklight directory.
  • SystemAdmin
    SystemAdmin
    106 Posts

    Re: Worklight Server Error on Startup

    ‏2012-02-26T18:15:18Z  
    Sorry I forgot to ask this in previous post. There's a uninstaller application in the Worklight server directory. So use it or just delete the directory?
  • IdanAdar
    IdanAdar
    40 Posts

    Re: Worklight Server Error on Startup

    ‏2012-02-26T18:21:46Z  
    You can use the Uninstaller, but in Mac like in Mac you can simply remove the directory.
  • SystemAdmin
    SystemAdmin
    106 Posts

    Re: Worklight Server Error on Startup

    ‏2012-02-26T20:18:12Z  
    I uninstalled, removed the Worklight database from MySQL, rebooted, restarted apache and MySQL and reinstalled Worklight. Same error persists.
  • IdanAdar
    IdanAdar
    40 Posts

    Re: Worklight Server Error on Startup

    ‏2012-02-27T06:05:19Z  
    May I ask why you need Apache? For the purpose of the training modules at least, you can use just MySQL and Worklight and do most modules locally.

    Could you try without Apache?