Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

stash not starting no errors in catalina.out file

kartheek katakam July 21, 2015

I was trying to upgrade stash 3.5.0 to 3.10.0, its not starting up, I dont see any error message. So decided the revert back  3.5.0 version, I am having same issue again stash not startup and not errors in catalina.out file. Please suggest.

 

here is session output.

# /etc/init.d/atlstash start
To run Stash in the foreground, start the server with start-stash.sh -fg
Starting Atlassian Stash as dedicated user atlstash


-------------------------------------------------------------------------------
Stash is being run with a umask that contains potentially unsafe settings.
The following issues were found with the mask "u=rwx,g=rx,o=rx" (0022):
- access is allowed to 'others'. It is recommended that 'others' be denied
all access for security reasons.

The recommended umask for Stash is "u=,g=w,o=rwx" (0027) and can be
configured in setenv.sh
-------------------------------------------------------------------------------
Detecting JVM PermGen support...
PermGen switch is supported. Setting to 256m\n
Using STASH_HOME: /data/atlassian/data/stash-home
Using CATALINA_BASE: /data/atlassian/stash/3.5.0
Using CATALINA_HOME: /data/atlassian/stash/3.5.0
Using CATALINA_TMPDIR: /data/atlassian/stash/3.5.0/temp
Using JRE_HOME: /opt/jdk1.7.0_71/jre
Using CLASSPATH: /data/atlassian/stash/3.5.0/bin/bootstrap.jar:/data/atlassian/stash/3.5.0/bin/tomcat-juli.jar
Using CATALINA_PID: /data/atlassian/stash/3.5.0/work/catalina.pid
Tomcat started.

Success! You can now use Stash at the following address:

http://localhost:7990/

If you cannot access Stash at the above location within 3 minutes, or encounter any other issues starting or stopping Atlassian Stash, please see the troubleshooting guide at:

https://confluence.atlassian.com/display/STASHKB/Troubleshooting+Installation

#

here are logs.

21-Jul-2015 11:01:21.158 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8099"]
21-Jul-2015 11:01:21.159 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-7990"]
21-Jul-2015 11:01:21.186 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8099"]
21-Jul-2015 11:01:21.187 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-7990"]
21-Jul-2015 11:01:32.374 INFO [main] org.apache.catalina.core.AprLifecycleListener.init The APR based Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path: /data/atlassian/stash/3.5.0/lib/native:/data/atlassian/data/stash-home/lib/native
21-Jul-2015 11:01:32.446 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation'
to 'false' did not find a matching property.
21-Jul-2015 11:01:32.446 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAwa
re' to 'false' did not find a matching property.
21-Jul-2015 11:01:32.639 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8099"]
21-Jul-2015 11:01:32.657 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-Jul-2015 11:01:32.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-7990"]
21-Jul-2015 11:01:32.661 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-Jul-2015 11:01:32.667 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 925 ms
21-Jul-2015 11:01:32.692 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
21-Jul-2015 11:01:32.693 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.9
21-Jul-2015 11:01:47.608 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8099"]
21-Jul-2015 11:01:47.618 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-7990"]
21-Jul-2015 11:01:47.620 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 14952 ms

 

Thanks,

2 answers

0 votes
kartheek katakam July 21, 2015

Thanks for the suggestion, but this has nothing to do with java. Issue is fixed, I had to move forward with upgrade, as database already updated. If I revert back to old version 3.8, I need to restore the database.  The issue after upgrade with the stash was, Path entry is empty in context in server.xml file, updated to as show below and the issue is fixed.

<Context docBase="${catalina.home}/atlassian-stash"                          path="/stash"                          reloadable="false"                          useHttpOnly="true"/>

 

0 votes
Ulrich Kuhnhardt [IzymesDev]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2015

Use Java8 only. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events