Reputation: 27
I am new to Artifactory and I have Artifactory installed in my local machine and is deployed on the standard Tomcat web container and a Weblogic web container. I want to know how Artfactory stores the artifacts. Would it be in the web container or would it be stored on my local machine?
Also is it possible to connect the storage meaning that if I deployed an artifact on my local machine with the Weblogic server is it possible to configure Artifactory such that if I use the Tomcat container I can still access the artifact deployed when I was using the Weblogic server?
Upvotes: 0
Views: 134
Reputation: 3611
Artifactory stores data into a JDBC compliant database, I guess it's Derby by default but you can use MySql, etc. http://wiki.jfrog.org/confluence/display/RTF20/Running+Artifactory+on+MySQL
Usually, you need only one Artifactory instance. Even though it should works on multiple containers if you share the data through the same database, I would advice you to use a unique instance
Upvotes: 1
Reputation: 22893
Artifactory stores the actual binaries on the disk (by recommended default) and metadata about the binaries in a JDBC compliant database (Derby by default, but you can use other supported http://wiki.jfrog.org/confluence/display/RTF/Changing+the+Default+Storage)
Usually, you need only one Artifactory instance. Even though technically you could configure multiple instances of Artifactory to use the same directory for artifacts and the same connection to the metadata database, this setup will probably corrupt both the artifacts storage and the metadata database by executing concurrent writes.
DO NOT DO IT.
Upvotes: 1