Artifactory is not starting up !

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Artifactory is not starting up !

bluemind2005@yahoo.com
It's installed on tomcat 6 and unable to start !

Which log file should I look at and what should I do?

Please help me.

Shaz


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory is not starting up !

Noam Y. Tenne
Shaz,

Tomcat's catalina.out and Artifactory's main log ($ARTIFACTORY_HOME/log/artifactory.log) might contain some useful information.

-Noam

On Thu, Feb 16, 2012 at 5:29 AM, Jim Thorton <[hidden email]> wrote:
It's installed on tomcat 6 and unable to start !

Which log file should I look at and what should I do?

Please help me.

Shaz


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory is not starting up !

bluemind2005@yahoo.com
Well I tried to stop tomcat, clear out catalina.out and also touch artifactory.log file.

Started Tomcat and then tried re-deploying.

Nothing coming up in artifactory.log file however catalina.out say's

INFO: Deploying web application archive artifactory.war
17:48:50,690 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:48:50,691 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/artifactory-log-2.3.0.jar!/logback.xml]
17:48:50,694 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
17:48:50,694 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/artifactory-log-2.3.0.jar!/logback.xml]
17:48:50,694 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/se-jcr-0.9.jar!/logback.xml]
17:48:50,806 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:48:50,809 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:48:50,815 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
17:48:50,895 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.
17:48:50,946 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [CONSOLE] from the object stack
17:48:50,949 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [/artifactory] to true
17:48:50,950 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - /artifactory level set to INFO
17:48:50,951 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[/artifactory]
17:48:50,953 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.eclipse.jetty] to true
17:48:50,953 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.eclipse.jetty level set to WARN
17:48:50,953 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[org.eclipse.jetty]

Feb 18, 2012 5:48:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 18, 2012 5:48:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/artifactory] startup failed due to previous errors
17:50:28,030 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:50:28,031 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/artifactory-log-2.3.0.jar!/logback.xml]
17:50:28,034 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
17:50:28,034 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/artifactory-log-2.3.0.jar!/logback.xml]
17:50:28,034 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/se-jcr-0.9.jar!/logback.xml]
17:50:28,136 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:50:28,138 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:50:28,144 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
17:50:28,213 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.
17:50:28,285 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [CONSOLE] from the object stack
17:50:28,288 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [/artifactory] to true
17:50:28,288 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - /artifactory level set to INFO
17:50:28,289 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[/artifactory]
17:50:28,292 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.eclipse.jetty] to true
17:50:28,292 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.eclipse.jetty level set to WARN
17:50:28,292 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[org.eclipse.jetty]

Feb 18, 2012 5:50:28 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 18, 2012 5:50:28 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/artifactory] startup failed due to previous errors
17:50:33,404 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:50:33,405 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/artifactory-log-2.3.0.jar!/logback.xml]
17:50:33,407 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
17:50:33,407 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/artifactory-log-2.3.0.jar!/logback.xml]
17:50:33,407 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/app/apache-tomcat-6.0.20/webapps/artifactory/WEB-INF/lib/se-jcr-0.9.jar!/logback.xml]
17:50:33,480 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:50:33,483 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:50:33,488 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
17:50:33,532 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.
17:50:33,579 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [CONSOLE] from the object stack
17:50:33,581 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [/artifactory] to true
17:50:33,582 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - /artifactory level set to INFO
17:50:33,583 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[/artifactory]
17:50:33,586 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.eclipse.jetty] to true
17:50:33,586 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.eclipse.jetty level set to WARN
17:50:33,586 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[org.eclipse.jetty]

Feb 18, 2012 5:50:33 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 18, 2012 5:50:33 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/artifactory] startup failed due to previous errors


I gather this is port issue, why should listener be not able to start?

Is there any configuration file I can check, any more pointers from your side?

Thanks.

Shaz & Jim
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory is not starting up !

bluemind2005@yahoo.com
Well, I downloaded artifactory-2.5.1 and installed it on Tomcat with no modification and it comes up pretty smoothly without any issues.

That means artifactory230 is busted.

I also had a look at Issue. https://issues.jfrog.org/jira/browse/RTFACT-220 and to my surprise I could not see file artifactory.confgi.xml in etc directory however artifactory.config.latest.xml was present.

After copying artifactory.config.latest.xml  to artifactory.confgi.xml and restarting stack made no difference.

This is now becoming an interesting investigation.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory is not starting up !

bluemind2005@yahoo.com
Well coming back to 230 which is deployed onto apache tomcat.
I changed few things say for example
jetty.xml, misc/tomcat/server.xml from port 8081 to 8082.

tried with -Dartifactory.jcr.fixConsistency=true and still no success, is there any way I can have a bit more debugging so tomcat log can be more informative.

Google talks about log4j.properties which is located in webapp WEB-INF/.. folders but I am unable to locate it.

Please assist here.

Cheers,
Jimmy
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory is not starting up !

bluemind2005@yahoo.com
Any update on this?

Deployment of war file is not an issue it is startup which is giving us the grief.

Checked this one with TOMCAT_SECURITY under /etc/init.d/ directory and is not an issue shoudl not be asart251 comes up pretty smoothly I am pretty sure, some config is stuffed up..
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory is not starting up !

elig
Hi Shaz,

I must admit that I kind of lost you on where or what you are trying to do but here is a short explanation (on 2.5.1 I see no reason why you would like to start working on a legacy version):
Inside the artifactory.war there is a file called artifactory.config.xml which is the default startup configuration for artifactory. If you'll extract the zip you can find a copy of this file under the $ARTIFACTORY_HOME/etc folder, when dropping the war on tomcat the ARTIFACTORY_HOME is only being created after startup.
During the startup this file is being uploaded and saved to the database and you will see now in the etc folder two config files:
1. artifactory.config.bootstrap.xml - a copy of the config that artifactory was started with.
2. artifactory.config.latest.xml - every time you save the config artifactory saves a copy of it (up to 10 copies by default), you will see in the artifactory.log that the config was saved during the startup process.
This is done so you could go back and review configurations history and give you the option to roll back.
The next time you will restart Artifactory it will come up with the configuration that is saved in the db. You can force Artifactory to go up with a different configuration by placing a file in the etc folder called artifactory.config.import.xml.  Can be done also for security, security.import.xml.

As for the Tomcat issue, we managed to startup 2.3.0 on tomcat 6 so you probably in a bad mixed mod from all your tests, try cleaning everything and start from scratch.
I advice that if you are installing on linux machine, use the rpm package, the Tomcat7 is already bundled inside.

HTH,

Eli  
     
  

On Sun, Feb 19, 2012 at 3:56 PM, [hidden email] <[hidden email]> wrote:
Any update on this?

Deployment of war file is not an issue it is startup which is giving us the
grief.

Checked this one with TOMCAT_SECURITY under /etc/init.d/ directory and is
not an issue shoudl not be asart251 comes up pretty smoothly I am pretty
sure, some config is stuffed up..

--
View this message in context: http://forums.jfrog.org/Artifactory-is-not-starting-up-tp7289945p7298707.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Loading...