Breaking News
Loading...
Friday, August 4, 2017

jfrog-artifactory-pro HTTP Status 404 - /artifactory

4:07 PM

jfrog-artifactory-pro

HTTP Status 404 - /artifactory
type Status report
message /artifactory
description The requested resource is not available.
Apache Tomcat/8.0.41
jfrog-artifactory-pro
JDK Version: JDK 8u144

Database: Derby (default embedded database)

Sollution bellow log

Instaling using this: https://www.jfrog.com/confluence/display/RTF/Installing+on+Linux+Solaris+or+Mac+OS#InstallingonLinuxSolarisorMacOS-RPMorDebianInstallation

/var/opt/jfrog/artifactory/logs/catalina/localhost.2017-08-04.log
[root@jfrog ~]# cat /var/opt/jfrog/artifactory/logs/catalina/localhost.2017-08-04.log | grep error
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
[root@jfrog ~]# cat /var/opt/jfrog/artifactory/logs/catalina/localhost.2017-08-04.log | grep ERROR
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
view raw localhost.log hosted with ❤ by GitHub
/var/opt/jfrog/artifactory/logs/catalina/catalina.out
[root@jfrog ~]# cat /var/opt/jfrog/artifactory/logs/catalina/catalina.out | grep error
SEVERE: Context [/artifactory] startup failed due to previous errors
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
SEVERE: Context [/artifactory] startup failed due to previous errors
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
SEVERE: Context [/artifactory] startup failed due to previous errors
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
[root@jfrog ~]# cat /var/opt/jfrog/artifactory/logs/catalina/catalina.out | grep ERROR
2017-08-04 13:52:54,298 [localhost-startStop-1] [JFrog-Access] [ERROR] (o.a.t.j.p.ConnectionPool:483) - Unable to create initial connections of pool.
2017-08-04 13:52:54,311 [localhost-startStop-1] [JFrog-Access] [ERROR] (o.s.b.SpringApplication:815) - Application startup failed
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
2017-08-04 13:54:52,618 [localhost-startStop-1] [JFrog-Access] [ERROR] (o.a.t.j.p.ConnectionPool:483) - Unable to create initial connections of pool.
2017-08-04 13:54:52,630 [localhost-startStop-1] [JFrog-Access] [ERROR] (o.s.b.SpringApplication:815) - Application startup failed
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
2017-08-04 14:06:19,595 [localhost-startStop-1] [JFrog-Access] [ERROR] (o.a.t.j.p.ConnectionPool:483) - Unable to create initial connections of pool.
2017-08-04 14:06:19,605 [localhost-startStop-1] [JFrog-Access] [ERROR] (o.s.b.SpringApplication:815) - Application startup failed
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data
view raw catalina.out hosted with ❤ by GitHub
/var/opt/jfrog/artifactory/logs/derby.log
[root@jfrog ~]# cat /var/opt/jfrog/artifactory/logs/derby.log | grep 'error\|Error\|ERROR'
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: ERROR XJ040: Failed to start database '/var/opt/jfrog/artifactory/data/derby' with class loader java.net.URLClassLoader@7adf9f5f, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
ERROR XSDB6: Another instance of Derby may have already booted the database /var/opt/jfrog/artifactory/data/derby.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
[root@jfrog ~]#
view raw derby.log hosted with ❤ by GitHub

Sollution:
delete the files
 ../metastore_db/dbex.lck and ../metastore_db/db.lck  

46 comments:

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer