]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - server/runtime/org.argeo.server.webextender/src/main/java/org/argeo/server/webextender/TomcatDeployer.java
Move to the root the bundles which will be part of v1.4 and v2.2
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.webextender / src / main / java / org / argeo / server / webextender / TomcatDeployer.java
index 27b0670321327d088bae888afde802bb01d759c0..192ceadbaebdf9589b9f22fbbe062f5dfc06b1db 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.argeo.server.webextender;
 
 import org.apache.catalina.Container;
@@ -15,7 +30,7 @@ import org.springframework.util.ObjectUtils;
 public class TomcatDeployer extends TomcatWarDeployer {
        private String serverInfo;
        private Service service;
-       private String contextPath = "/org.argeo.rap.webapp";
+       private String contextPath = "/ui";
 
        @Override
        public void setService(Object service) {
@@ -24,8 +39,7 @@ public class TomcatDeployer extends TomcatWarDeployer {
                // TODO: listen to OSGi service so that we get notified in the
                // (unlikely) case the underlying service is updated
                serverInfo = ((Service) service).getInfo();
-               if (log.isTraceEnabled())
-                       log.trace("Argeo modified Tomcat deployer used");
+               log.info("Enhanced Argeo Tomcat webapp deployer being used");
        }
 
        @Override