Fixes "Comment out RMI related code because of the Java deserialization issue" - https://issues.apache.org/jira/browse/OFBIZ-6942 We decided to comment out as less as possible because once, in the start and both properties; the rmi part is off and the related test services are off there is no RMI related danger left (test services are not a danger but would fail during tests run). It's then easier for users who need RMI in their projects to have only to uncomment those and not digg everywhere. [CVE-2016-2170] The infamous Java serialization vulnerability git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736083 13f79535-47bb-0310-9956-ffa450edef68
51 lines
2.1 KiB
XML
51 lines
2.1 KiB
XML
<?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-component name="base"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
|
<resource-loader name="main" type="component"/>
|
|
<classpath type="dir" location="dtd"/>
|
|
<classpath type="jar" location="build/lib/*"/>
|
|
<classpath type="dir" location="config"/>
|
|
<classpath type="jar" location="lib/*"/>
|
|
<classpath type="jar" location="lib/ant/*"/>
|
|
<classpath type="jar" location="lib/commons/*"/>
|
|
<classpath type="jar" location="lib/j2eespecs/*"/>
|
|
<classpath type="jar" location="lib/scripting/*"/>
|
|
|
|
<test-suite loader="main" location="testdef/basetests.xml"/>
|
|
|
|
<!-- load the naming (JNDI) server -->
|
|
<container name="naming-container" loaders="rmi" class="org.ofbiz.base.container.NamingServiceContainer">
|
|
<property name="host" value="0.0.0.0"/>
|
|
<property name="port" value="1099"/>
|
|
</container>
|
|
|
|
<!-- load BeanShell remote telnet server -->
|
|
<!-- Commented out by default for security reasons -->
|
|
<!-- the port below and port-1 will be opened by Beanshell -->
|
|
<!--container name="beanshell-container" class="org.ofbiz.base.container.BeanShellContainer">
|
|
<property name="telnet-port" value="9990"/>
|
|
<property name="app-name" value="OFBiz"/>
|
|
</container-->
|
|
|
|
</ofbiz-component>
|