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

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
    ACCEPTED ANSWER

    Re: Worklight Server Error on Startup

    ‏2012-02-26T06:44:55Z  in response to SystemAdmin
    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
    ACCEPTED ANSWER

    Re: Worklight Server Error on Startup

    ‏2012-02-26T15:33:28Z  in response to SystemAdmin
    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
    ACCEPTED ANSWER

    Re: Worklight Server Error on Startup

    ‏2012-02-26T15:40:26Z  in response to SystemAdmin
    Just the Worklight directory.
  • SystemAdmin
    SystemAdmin
    106 Posts
    ACCEPTED ANSWER

    Re: Worklight Server Error on Startup

    ‏2012-02-26T18:15:18Z  in response to SystemAdmin
    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
    ACCEPTED ANSWER

    Re: Worklight Server Error on Startup

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

    Re: Worklight Server Error on Startup

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

    Re: Worklight Server Error on Startup

    ‏2012-02-27T06:05:19Z  in response to SystemAdmin
    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?