Where can I download a war file to install the CAS server in a jetty instance?
On the official downloads page I only find sources.
In the very same link that you referenced, there is a "Getting Started" section under which there is "Installation". That page describes the installation process and how that works in general and points you to the installation script/project that is here. Download that project and follow the instructions on the readme. In particular, you'll find in the gradle.properties file of that project,
# Use -jetty, -undertow to other containers
# Or blank if you want to deploy to an external container
appServer=-tomcat
So you'd set:
appServer=
For your external container of choice, such as jetty.
Or you'd set:
appServer=-jetty
For an embedded Jetty container.
Related
I'm using Artifactory Community edition for C++ with the intention of caching some repositories, such as conan-center, as well as having a local repository for my own conan recipes.
Currently I have configured 3 remote repositories as in the image below
After that I created a virtual repository that includes all 3 remote repositories as well as a local repository (currently without any package).
After configure the conan client to add my virtual repository I can run conan search as below
conan search hdf5 -r=all
This results in
Remote 'conan-center':
hdf5/1.8.21
hdf5/1.10.5
hdf5/1.10.6
hdf5/1.12.0
Remote 'artifactory':
hdf5/1.8.21
hdf5/1.10.5
hdf5/1.10.6
hdf5/1.12.0
which is expected, since artifactory is including the remote repository for conan-center.
However, some packages seem to not be found in the artifactory virtual remote, while they are found in conan-center. For instance, the command
conan search fmt -r=all
results in
Remote 'conan-center':
fmt/4.0.0#bincrafters/stable
fmt/4.1.0#bincrafters/stable
fmt/5.0.0#bincrafters/stable
fmt/5.1.0#bincrafters/stable
fmt/5.2.0#bincrafters/stable
fmt/5.2.1#bincrafters/stable
fmt/5.3.0
fmt/5.3.0#bincrafters/stable
fmt/6.0.0
fmt/6.0.0#bincrafters/stable
fmt/6.1.0
fmt/6.1.1
fmt/6.1.2
fmt/6.2.0
fmt/6.2.1
fmt/7.0.1
fmt/7.0.2
fmt/7.0.3
fmt/7.1.0
fmt/7.1.1
fmt/7.1.2
fmt/7.1.3
Remote 'artifactory':
fmt/4.0.0#bincrafters/stable
fmt/4.1.0#bincrafters/stable
fmt/5.0.0#bincrafters/stable
fmt/5.1.0#bincrafters/stable
fmt/5.2.0#bincrafters/stable
fmt/5.2.1#bincrafters/stable
fmt/5.3.0#bincrafters/stable
fmt/6.0.0#bincrafters/stable
At first I thought that maybe the remote functionality in artifactory didn't work with packages without the "#user/channel" part, since the search found the versions with "#bincrafters/stable", but after testing with the HDF5 library, which does not have "#user/channel" it worked as I have shown before.
Is there something I'm missing?
Note: In the remote repository configuration in artifactory I'm using "conan-default" as both the "Repository Layout" and the "Remote Layout Mapping".
I'm starting a new Sitecore 9 project using Helix and TDS. I've got my basic structure setup, using Hedgehog's fork of the Habitat site as a guide. I'm also referencing Hedgehog's docs.
My solution is just a start, so it's very simple right now, only a Foundation.Serialization module that contains the TDS projects for the basic layer folders and a Project.Website module that contains a TDS project and an MVC Website project (MVC)....it's got a basic Razor view and some random CSS/JS files.
The TDS Habitat readme, says to use Solution > Deploy Solution to deploy the projects. When I do this on my project it builds and the Sitecore items are deployed to Sitecore, but my Views and CSS/JS are not....presumably because I haven't configured anything to facilitate this.
Looking at the docs and the TDS Habitat solution, it's not clear to me how to configure TDS to know anything about how to deploy files. I'm finding info on the web that says that TDS will deploy files, transform configs, etc but with no examples of how to actually make that happen.
How do I set things up so Deploy Solution will also deploy files from all of the web projects in a solution to my local web root?
First, you will need to make sure the Sitecore Deploy Folder is set. From the documentation:
Sitecore Deploy Folder – Contains the path to the ROOT of the Sitecore
instance on the file system. This setting is used to install the TDS
Classic service when needed and to deploy the compiled code when the
TDS Classic project is built.
You also need to make sure that file deployment has not been disabled:
Disable File Deployment – Stops TDS Classic deploying files to the
directory specified in the Sitecore Deploy Folder.
If you are still not seeing the files being deployed, you will need to check if the process has access to the deploy folder.
You can also deploy files as a .update package and then use another automated tool to deploy the .update package to the target environment.
I figured out the issue. On the properties page for a TDS project there is a field where you indicate which projects should be built and deployed along with the sitecore items:
https://www.hhogdev.com/help/tds/propgeneral
As per Sitecore documentation with version 8.2 rev.161115 the data folder has been relocated to be under website/App_Data folder of the installation.
I installed the vanilla Sitecore installation of Sitecore XP 8.2 rev. 161115 (8.2 Update-1) through the exe web application installer. However in the fresh installation, I noticed that the data folder is still located outside root of my application. The iis instance and databases were correctly configured by the web installer though.
Is this the expected behavior? As the exe just runs a wizard I don't see an option to configure the default data folder.
Thanks,
Abhi
If you are installing Sitecore from the exe or the zip file then the data folder is still located outside from the root application:
From section 4.1 Installation Process Overview in the installation guide:
Extract the .zip archive to create the following folders:
C:\InetPub\wwwroot\ProjectName\Website
C:\InetPub\wwwroot\ProjectName\Data
C:\InetPub\wwwroot\ProjectName\Databases
If you check the structure of the zip package then you will see the same structure:
The data folder has however been moved inside the website/App_Data folder for Azure PaaS installation, which makes sense given the nature of AppService containers and the fact that the application is essentially deployed to the root (so folders cannot reside outside). If you check the structure of the packages for Azure AppService from the Sitecore download page then you will notice the same:
I have upgraded nexus repository from 2.x to 3.x through following path:
2.4.14 -> 3.4.0 -> 3.5.1
All nexus services were packed in docker with data directory mapped from host's. For all services I use default either sonatype/nexus or sonatype/nexus3 containers. Nexus web interface is hidden behind nginx with simple reverse proxying.
I use the nexus service with boot-cj (with no credentials) tools which manages dependencies the same way as maven. Anyway the tool first downloads nexus-maven.xml with relevant sha1 files and tries to download jars. It works fine with all 2.x I had.
I created a proxy repository against remote sonatype-snapshots repo. When I start compilation I have Could not find artifact error. I found that the meatdata files are cached but all poms and jars.
I have tried to fix it by cleaning cache with the clean_cache file trick and more rough rm -rfv /srv/nexus3/nexus-data/cache/* with no success. There are no any logs about error. Also I have checked manually that required artefact exists in the remote repository. More obvious Rebuild index button gave no solution. I do not thing it is a problem with nginx, but who knows? Also leaving overnight to run the scheduled tasks did not help.
The expected artifact is org.eclipse.rdf4j:rdf4j:pom:2.3-20170901.145510-11.
I've followed install instructions from source in here:
http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html
And from here:
http://docs.ckan.org/en/latest/maintaining/datastore.html
I added the datastore entry in ckan.plugins setting.
I did Test the setup and it worked.
However, when editing/creating a resource in CKAN web interface, the datastore tab or upload to datastore option does not show up.
This a new install on a Ubuntu 16.04.
CKAN version 2.6.2
Any help is appreciated. Thanks.
UPDATE:
After installing datapusher, and trying to upload a resource in the DataStore tab, came up another error, which is specified in here: CKAN error upload to datastore (with datapusher)
Follow this link. It has datapusher installation for both developement and production installation (paster and Apache). And how to start datapsuher for respective servers
Don't forget to add Datapusher plugin and Datapusher URL in development/production.ini
Data Pusher Documentation
Not only datastore, you should also add datapusher in your .ini file, and you will be able to see Datastore tab from where you can upload resources on Datastore. Also in your .ini file you must set up ckan.storage_path location