Menu

#19 Can not start locanda WAR on Ubuntu 12 Tomcat 7

v1.0_(example)
open
nobody
None
1
2014-02-10
2014-02-09
Michel
No

Hello,

Locanda offers all the functionality I need for my guesthouse with an attractive interface.
After testing on Windows I want to deploy locanda on my server with Ubuntu 12.04, Tomcat 7 and openJDK 1.6.
After deploying, the locanda WAR does not start and gives the following message in Catalina.out:

WARNING: Failed to retrieve JNDI naming context for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/locanda]] so no cleanup was performed for that container
javax.naming.NameNotFoundException: Name comp is not bound in this Context

I followed the installation steps carefully; copying and setting the paths of the 'solr' dir and the h2 database, making sure that the file are reachable by the webserver.
Trying to connect to my mysql db gives the same error.

Google gives some solutions for this error; but all are too technical for me; changing the call in the java code; conflicting libs in tomcat and the webapp.

Can anybody help me with this problem?

Related

Support Requests: #19

Discussion

  • Michel

    Michel - 2014-02-10

    Problem solved.

    Updating the JRE on my server to version 7 solved the problem. During startup Tomcat was complaining about a version mismatch of the "solrListener".

    On the Locanda Website, please update the minimum software requirements to JRE 7 (JDK is not needed unless you want to build the war yourself)

     
    • LabOpenSource

      LabOpenSource - 2014-02-25

      Hi Michel,

      the first thing se would suggest is to install the Oracle JDK. OpenJDK is
      known for being the cause of some kind of issues with Locanda.

      On Mon, Feb 10, 2014 at 12:52 PM, Michel mfkroon@users.sf.net wrote:

      Problem solved.

      Updating the JRE on my server to version 7 solved the problem. During
      startup Tomcat was complaining about a version mismatch of the
      "solrListener".

      On the Locanda Website, please update the minimum software requirements to
      JRE 7 (JDK is not needed unless you want to build the war yourself)


      ** [support-requests:#19] Can not start locanda WAR on Ubuntu 12 Tomcat 7**

      Status: open
      Created: Sun Feb 09, 2014 11:39 AM UTC by Michel
      Last Updated: Sun Feb 09, 2014 11:39 AM UTC
      Owner: nobody

      Hello,

      Locanda offers all the functionality I need for my guesthouse with an
      attractive interface.
      After testing on Windows I want to deploy locanda on my server with Ubuntu
      12.04, Tomcat 7 and openJDK 1.6.
      After deploying, the locanda WAR does not start and gives the following
      message in Catalina.out:

      WARNING: Failed to retrieve JNDI naming context for container
      [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/locanda]]
      so no cleanup was performed for that container
      javax.naming.NameNotFoundException: Name comp is not bound in this
      Context

      I followed the installation steps carefully; copying and setting the paths
      of the 'solr' dir and the h2 database, making sure that the file are
      reachable by the webserver.
      Trying to connect to my mysql db gives the same error.

      Google gives some solutions for this error; but all are too technical for
      me; changing the call in the java code; conflicting libs in tomcat and the
      webapp.

      Can anybody help me with this problem?


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/locanda/support-requests/19/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       

      Related

      Support Requests: #19

Anonymous
Anonymous

Add attachments
Cancel