ApplicationParameter applicationParameter = new ApplicationParameter();
applicationParameter.setName( "contextConfigLocation" );
applicationParameter.setValue( getSpringConfigLocation() );
context.addApplicationParameter( applicationParameter );
context.addApplicationListener( new ApplicationListener( ContextLoaderListener.class.getName(), false ) );
tomcat.addServlet( context, "cxf", new CXFServlet() );
context.addServletMapping( "/" + getRestServicesPath() + "/*" , "cxf" );
tomcat.addServlet( context, "archivarepo", new RepositoryServlet() );