iceScrum | [RESOLVED] Deploying on Tomcat 7 – iceScrum

iceScrum Forums Discuss on iceScrum

Viewing 10 posts - 1 through 10 (of 10 total)

  • Author
    Posts
  • #17287

    alvaro.geosatis
    Participant

    Hello! I am trying to deploy in Tomcat, as it is recommended. I get this error, I don’t find a more explicit log, and I do not know how to proceed.

    Thank you in advance for your help!

    Jan 19, 2016 2:09:28 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
    INFO: validateJarFile(/opt/tomcat/webapps/icescrum/WEB-INF/lib/geronimo-servlet_3.0_spec-1.0.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
    Jan 19, 2016 2:09:33 PM org.apache.catalina.startup.TldConfig execute
    INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    Server Timezone : Europe/Zurich
    log dir : logs
    --------------------------------------------------------
    *** No external configuration file defined (icescrum_config_location). ***
    (*) grails.config.locations = []
    --------------------------------------------------------
    
    Configuring iceScrum plugin Cloud storage ...
    ... finished configuring iceScrum plugin Cloud storage
    
    Configuring iceScrum plugin Embedded ...
    ... finished configuring iceScrum plugin Embedded
    
    Configuring Spring Security Core ...
    ... finished configuring Spring Security Core
    
    Configuring Spring Security ACL ...
    ... finished configuring Spring Security ACL
    
    Configuring iceScrum plugin management ...
    ... finished configuring iceScrum plugin management
    
    Configuring iceScrum plugin chat ...
    ... finished configuring iceScrum plugin chat
    Jan 19, 2016 2:09:44 PM org.apache.catalina.core.StandardContext startInternal
    SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
    Jan 19, 2016 2:09:44 PM org.apache.catalina.core.StandardContext startInternal
    SEVERE: Context [/icescrum] startup failed due to previous errors
    #17288

    Vincent Barrier
    Keymaster

    Hey!

    Did you follow our install guide?
    Which java environment do you have?
    Does the user who launch icescrum has an home folder with writable permissions?

    We need information to help you 🙂

    #17290

    Vincent Barrier
    Keymaster

    I f you want a very quick setup and startup, use our icescrum.jar package (icescrum + tomcat server embedded): https://www.icescrum.com/documentation/install-guide/#start

    You should start in less than 60sec 😉

    You will go on a custom install, when you will be happy with icescrum features, that I sure you will ^^

    #17292

    alvaro.geosatis
    Participant

    icescrum.jar is not valid for us, since we need to change the serverURL.

    I have follow the install guide.
    Java version:
    java version “1.7.0_91”
    OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-1~deb8u1)
    OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)
    Permissions? Yes, we are running tomcat as a service, so root owns it (and we see that the log folder has been creted as we defined in config.groovy)

    Thanks!

    #17293

    alvaro.geosatis
    Participant

    I have enabled the debugger, and I see that the problem is the connection with PSQL

    Caused by: java.sql.SQLException: org.postgresql.Driver
    at com.sun.proxy.$Proxy52.getMetaData(Unknown Source)
    … 3 more
    Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:278)

    #17297

    Vincent Barrier
    Keymaster

    icescrum.jar is not valid for us, since we need to change the serverURL.
    Thanks!

    You can do that with icescrum.jar:

    From documentation:

    You can optionally customize the iceScrum URL by providing additional arguments to the command :
    
    host=value: Defaults to the first external ip found or fallback to localhost. Should be set in order to use iceScrum correctly.
    
    port=value: Defaults to 8080. If you want to set it to 80 you must start the command as an administrator.
    httpsPort=value: Defaults to nothing. If you want to set it to 443 you must start the command as an administrator.
    
    context=value: Defaults to icescrum, so iceScrum will be accessible at http://host:port/icescrum. 
    
    If you want to access to iceScrum like this: http://host:port/ set the context like this: context=/
    
    Here is an example with custom options to open iceScrum on http://myhost:8081/app:
    
    java -Xmx512M -XX:MaxPermSize=256m -jar icescrum.jar host=myhost
    port=8081 context=app
    #17332

    Vincent Barrier
    Keymaster

    Did it help?

    #17333

    alvaro.geosatis
    Participant

    Sorry for the delay. We managed to make it run using the war. The connector for PSQL was missing, once added, everything went smooth.

    Thanks for your support!

    #17337

    Vincent Barrier
    Keymaster

    Cool! Thank you for the feedback

    Could you tell us which version of iceScrum did you install?
    The latest releases already have PSQL. (As I’m writing, the last one is R6#14.8 Pro)

    #17340

    alvaro.geosatis
    Participant

    We are using R6#14.8 Pro Standalone! As you can see in a previous post, this was the exception while deploying:

    Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver

    After adding the psql driver to the tomcat libs folder everything run

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Feedback, defects, evolutions’ is closed to new topics and replies.