| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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. |
| --> |
| |
| <ofbiz-containers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-containers.xsd"> |
| <!-- load the ofbiz component container (always first) --> |
| <container name="component-container" class="org.ofbiz.base.container.ComponentContainer"> |
| <property name="update-classpath" value="false"/> |
| </container> |
| |
| <!-- load the cached classloader container (always second) --> |
| <container name="classloader-container" class="org.ofbiz.base.container.ClassLoaderContainer"/> |
| |
| <!-- RMI Service Dispatcher --> |
| <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer"> |
| <property name="use-initial-context" value="true"/> |
| <property name="bound-name" value="RMIDispatcher"/> |
| <property name="delegator-name" value="default"/> |
| <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> |
| <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> |
| <property name="ssl-keystore" value="framework/base/config/ofbizrmi.jks"/> |
| <property name="ssl-keystore-type" value="JKS"/> |
| <property name="ssl-keystore-pass" value="changeit"/> |
| <property name="ssl-keystore-alias" value="rmissl"/> |
| <property name="ssl-client-auth" value="true"/> |
| </container> |
| |
| <!-- load BeanShell remote telnet server --> |
| <container name="beanshell-container" class="org.ofbiz.base.container.BeanShellContainer"> |
| <!-- the port below and port-1 will be opened by beanshell --> |
| <property name="telnet-port" value="9990"/> |
| <property name="app-name" value="OFBiz"/> |
| </container> |
| </ofbiz-containers> |