Hi, I've had issues with publishing large files to Artifactory using Ivy on a
Jenkins system. Acting on Yoav's advice
http://forums.jfrog.org/IOException-error-writing-to-server-tp6345612p6345774.html
here I deployed the Jenkins Artifactory plugin, which is dependent on the
https://wiki.jenkins-ci.org/display/JENKINS/Ivy+Plugin Jenkins Ivy plugin .
Now I am seeing problems related to this.
Whenever I enable this plugin (simply by checking the "Ant/Ivy-Artifactory
Integration" option in the "Build Environment" section), I begin to get the
following error message in one particular build:
[hibernatetool] Executing Hibernate Tool with a Hibernate Annotation/EJB3
Configuration
[hibernatetool] 1. task: hbm2doc (Generates html schema documentation)
[hibernatetool] SLF4J: Failed to load class
"org.slf4j.impl.StaticLoggerBinder".
[hibernatetool] SLF4J: See
http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[hibernatetool] An exception occurred while running exporter #2:hbm2doc
(Generates html schema documentation)
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] Problems in creating a AnnotationConfiguration. Have you
remembered to add it to the classpath ?
[hibernatetool] java.lang.NoClassDefFoundError:
org/slf4j/impl/StaticLoggerBinder
[hibernatetool] java.lang.ClassNotFoundException:
org.slf4j.impl.StaticLoggerBinder
[hibernatetool] A class were not found in the classpath of the Ant task.
[hibernatetool] Ensure that the classpath contains the classes needed for
Hibernate and your code are in the classpath.
When I uncheck the option, the issue disappears. I have checked that the
appropriate JARs are in the path (which we already know they must be since
the job works without the plugin enabled). I've also looked into the
possibility of conflicts between JAR versions as suggested
http://stackoverflow.com/questions/3773379/beginning-hibernate-3-5-problems-with-ant-task/3773469#3773469
here , but I don't believe this is the problem. The Ivy plugin includes
JARs that my project does not include, and while the Artifactory plugin
depends on a few JARs that my project also depends on (including
slf4j-api.jar), I've configured my project to depend on the same JARs the
the plugin depends on, and this has not resolved the problem.
So, two questions:
1. Any idea how I might resolve the issue I've described?
2. Failing that, what other options do I have for publishing my large
artifact to Artifactory? Should I try to run Artifactory on Tomcat instead
of Jetty as suggested in the first thread I linked above?
Thanks for everything!
-- Jerry
--
View this message in context:
http://forums.jfrog.org/Classpath-problem-in-Jenkins-Artifactory-plugin-or-Jenkins-Ivy-plugin-tp6784735p6784735.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users