Saving files before refreshing line endings
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/81d3cd3a Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/81d3cd3a Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/81d3cd3a Branch: refs/heads/tomee-1.7.3-prepare Commit: 81d3cd3ac38247179c56ff150a72f52fa7e5330a Parents: ba185f5 Author: [email protected] <[email protected]> Authored: Tue Nov 24 19:11:59 2015 +0100 Committer: [email protected] <[email protected]> Committed: Tue Nov 24 19:11:59 2015 +0100 ---------------------------------------------------------------------- .../keys/generateKeyPair.bat | 62 +- .../keys/generateServerKey.bat | 48 +- .../CalculatorImplSign-server.properties | 14 +- ...eTokenPlainPasswordEncrypt-server.properties | 14 +- .../src/main/resources/META-INF/ejb-jar.xml | 198 ++-- .../src/main/resources/META-INF/webservices.xml | 132 +-- .../CalculatorImplSign-client.properties | 14 +- ...eTokenPlainPasswordEncrypt-client.properties | 14 +- .../maven/plugin/AbstractSynchronizable.java | 142 +-- .../test/resources/schema/ComplexAllElement.xsd | 42 +- .../test/resources/schema/ComplexAllType.xsd | 42 +- .../resources/schema/ComplexSequenceElement.xsd | 42 +- .../resources/schema/ComplexSequenceType.xsd | 42 +- .../test/resources/schema/JaxRpcSpecExample.xsd | 42 +- .../src/test/resources/schema/SimpleElement.xsd | 42 +- .../src/test/resources/schema/SimpleType.xsd | 42 +- .../resources/schema/SoapArrayByAttribute.xsd | 42 +- .../resources/schema/SoapArrayByRestriction.xsd | 42 +- .../openejb/server/cxf/rs/PojoInvoker.java | 124 +-- .../server/cxf/fault/AuthenticatorService.java | 60 +- .../src/test/resources/META-INF/ejb-jar.xml | 36 +- .../apache/openejb/server/cxf/fault/handler.xml | 52 +- .../openejb/server/ejbd/RequestHandler.java | 90 +- .../multipulse | 6 +- .../discovery/MulticastPulseAgentTest.java | 1026 +++++++++--------- .../server/rest/InternalApplication.java | 90 +- .../main/resources/META-INF/openejb-server.xml | 72 +- .../META-INF/org.apache.openejb.cli/stop.help | 28 +- src/main/style/checkstyle.xml | 330 +++--- .../apache/openejb/tck/util/ServerLocal.java | 100 +- .../main/resources/service.install.as.admin.bat | 64 +- .../main/resources/service.remove.as.admin.bat | 64 +- .../tomee/catalina/TomcatDeploymentLoader.java | 86 +- 33 files changed, 1622 insertions(+), 1622 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/keys/generateKeyPair.bat ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/keys/generateKeyPair.bat b/examples/webservice-ws-security/keys/generateKeyPair.bat index ac58c92..48670b2 100644 --- a/examples/webservice-ws-security/keys/generateKeyPair.bat +++ b/examples/webservice-ws-security/keys/generateKeyPair.bat @@ -1,31 +1,31 @@ -@echo off -REM================================================ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. -REM _______________________________________________ -REM $Rev: 636963 $ $Date: 2008-03-13 19:40:08 -0700 (Thu, 13 Mar 2008) $ -REM================================================ - -rem @echo off -echo alias %1 -echo keypass %2 -echo keystoreName %3 -echo KeyStorePass %4 -echo keyName %5 - -echo keyName %5 -keytool -genkey -alias %1 -keypass %2 -keystore "%3" -storepass %4 -dname "cn=%1" -keyalg RSA -keytool -selfcert -alias %1 -keystore "%3" -storepass %4 -keypass %2 -keytool -export -alias %1 -file %5 -keystore "%3" -storepass %4 +@echo off +REM================================================ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. +REM _______________________________________________ +REM $Rev: 636963 $ $Date: 2008-03-13 19:40:08 -0700 (Thu, 13 Mar 2008) $ +REM================================================ + +rem @echo off +echo alias %1 +echo keypass %2 +echo keystoreName %3 +echo KeyStorePass %4 +echo keyName %5 + +echo keyName %5 +keytool -genkey -alias %1 -keypass %2 -keystore "%3" -storepass %4 -dname "cn=%1" -keyalg RSA +keytool -selfcert -alias %1 -keystore "%3" -storepass %4 -keypass %2 +keytool -export -alias %1 -file %5 -keystore "%3" -storepass %4 http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/keys/generateServerKey.bat ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/keys/generateServerKey.bat b/examples/webservice-ws-security/keys/generateServerKey.bat index 8ce997b..8be96bb 100644 --- a/examples/webservice-ws-security/keys/generateServerKey.bat +++ b/examples/webservice-ws-security/keys/generateServerKey.bat @@ -1,24 +1,24 @@ -@echo off -REM================================================ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. -REM _______________________________________________ -REM $Rev: 636963 $ $Date: 2008-03-13 19:40:08 -0700 (Thu, 13 Mar 2008) $ -REM================================================ - -call generateKeyPair.bat serveralias serverPassword serverStore.jks keystorePass serverKey.rsa -call generateKeyPair.bat clientalias clientPassword clientStore.jks keystorePass clientKey.rsa -keytool -import -alias serveralias -file serverKey.rsa -keystore clientStore.jks -storepass keystorePass -noprompt -keytool -import -alias clientalias -file clientKey.rsa -keystore serverStore.jks -storepass keystorePass -noprompt +@echo off +REM================================================ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. +REM _______________________________________________ +REM $Rev: 636963 $ $Date: 2008-03-13 19:40:08 -0700 (Thu, 13 Mar 2008) $ +REM================================================ + +call generateKeyPair.bat serveralias serverPassword serverStore.jks keystorePass serverKey.rsa +call generateKeyPair.bat clientalias clientPassword clientStore.jks keystorePass clientKey.rsa +keytool -import -alias serveralias -file serverKey.rsa -keystore clientStore.jks -storepass keystorePass -noprompt +keytool -import -alias clientalias -file clientKey.rsa -keystore serverStore.jks -storepass keystorePass -noprompt http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplSign-server.properties ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplSign-server.properties b/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplSign-server.properties index 5b36649..4df5b2e 100644 --- a/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplSign-server.properties +++ b/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplSign-server.properties @@ -1,7 +1,7 @@ -org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin -org.apache.ws.security.crypto.merlin.keystore.type=jks -org.apache.ws.security.crypto.merlin.keystore.password=keystorePass -org.apache.ws.security.crypto.merlin.keystore.alias=serveralias -org.apache.ws.security.crypto.merlin.file=META-INF/serverStore.jks -# OPENEJB-1061 OpenJDK doesn't come with cacerts -org.apache.ws.security.crypto.merlin.load.cacerts=false +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=jks +org.apache.ws.security.crypto.merlin.keystore.password=keystorePass +org.apache.ws.security.crypto.merlin.keystore.alias=serveralias +org.apache.ws.security.crypto.merlin.file=META-INF/serverStore.jks +# OPENEJB-1061 OpenJDK doesn't come with cacerts +org.apache.ws.security.crypto.merlin.load.cacerts=false http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-server.properties ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-server.properties b/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-server.properties index 5b36649..4df5b2e 100644 --- a/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-server.properties +++ b/examples/webservice-ws-security/src/main/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-server.properties @@ -1,7 +1,7 @@ -org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin -org.apache.ws.security.crypto.merlin.keystore.type=jks -org.apache.ws.security.crypto.merlin.keystore.password=keystorePass -org.apache.ws.security.crypto.merlin.keystore.alias=serveralias -org.apache.ws.security.crypto.merlin.file=META-INF/serverStore.jks -# OPENEJB-1061 OpenJDK doesn't come with cacerts -org.apache.ws.security.crypto.merlin.load.cacerts=false +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=jks +org.apache.ws.security.crypto.merlin.keystore.password=keystorePass +org.apache.ws.security.crypto.merlin.keystore.alias=serveralias +org.apache.ws.security.crypto.merlin.file=META-INF/serverStore.jks +# OPENEJB-1061 OpenJDK doesn't come with cacerts +org.apache.ws.security.crypto.merlin.load.cacerts=false http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/src/main/resources/META-INF/ejb-jar.xml ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/src/main/resources/META-INF/ejb-jar.xml b/examples/webservice-ws-security/src/main/resources/META-INF/ejb-jar.xml index 19cd263..ca04771 100644 --- a/examples/webservice-ws-security/src/main/resources/META-INF/ejb-jar.xml +++ b/examples/webservice-ws-security/src/main/resources/META-INF/ejb-jar.xml @@ -1,99 +1,99 @@ -<?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. ---> -<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" - version="3.0" id="webservice-ws-security" metadata-complete="false"> - - <enterprise-beans> - - <session> - <ejb-name>CalculatorImplTimestamp1way</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplTimestamp2ways</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplUsernameTokenPlainPassword</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplUsernameTokenHashedPassword</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplUsernameTokenPlainPasswordEncrypt</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplSign</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplEncrypt2ways</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplSign2ways</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - <session> - <ejb-name>CalculatorImplEncryptAndSign2ways</ejb-name> - <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> - <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> - <session-type>Stateless</session-type> - <transaction-type>Container</transaction-type> - </session> - - </enterprise-beans> - -</ejb-jar> +<?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. +--> +<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" + version="3.0" id="webservice-ws-security" metadata-complete="false"> + + <enterprise-beans> + + <session> + <ejb-name>CalculatorImplTimestamp1way</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplTimestamp2ways</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplUsernameTokenPlainPassword</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplUsernameTokenHashedPassword</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplUsernameTokenPlainPasswordEncrypt</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplSign</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplEncrypt2ways</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplSign2ways</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + <session> + <ejb-name>CalculatorImplEncryptAndSign2ways</ejb-name> + <service-endpoint>org.superbiz.calculator.CalculatorWs</service-endpoint> + <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + </session> + + </enterprise-beans> + +</ejb-jar> http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/src/main/resources/META-INF/webservices.xml ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/src/main/resources/META-INF/webservices.xml b/examples/webservice-ws-security/src/main/resources/META-INF/webservices.xml index db709b6..64c9744 100644 --- a/examples/webservice-ws-security/src/main/resources/META-INF/webservices.xml +++ b/examples/webservice-ws-security/src/main/resources/META-INF/webservices.xml @@ -1,66 +1,66 @@ -<?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. ---> -<webservices xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee -http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd" - version="1.1"> - - <webservice-description> - <webservice-description-name>CalculatorWsService</webservice-description-name> - <port-component> - <port-component-name>CalculatorImplTimestamp1way</port-component-name> - <wsdl-port>CalculatorImplTimestamp1way</wsdl-port> - <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> - <service-impl-bean> - <ejb-link>CalculatorImplTimestamp1way</ejb-link> - </service-impl-bean> - </port-component> - <port-component> - <port-component-name>CalculatorImplTimestamp2ways</port-component-name> - <wsdl-port>CalculatorImplTimestamp2ways</wsdl-port> - <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> - <service-impl-bean> - <ejb-link>CalculatorImplTimestamp2ways</ejb-link> - </service-impl-bean> - </port-component> - <port-component> - <port-component-name>CalculatorImplUsernameTokenPlainPassword</port-component-name> - <wsdl-port>CalculatorImplUsernameTokenPlainPassword</wsdl-port> - <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> - <service-impl-bean> - <ejb-link>CalculatorImplUsernameTokenPlainPassword</ejb-link> - </service-impl-bean> - </port-component> - <port-component> - <port-component-name>CalculatorImplUsernameTokenHashedPassword</port-component-name> - <wsdl-port>CalculatorImplUsernameTokenHashedPassword</wsdl-port> - <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> - <service-impl-bean> - <ejb-link>CalculatorImplUsernameTokenHashedPassword</ejb-link> - </service-impl-bean> - </port-component> - <port-component> - <port-component-name>CalculatorImplUsernameTokenPlainPasswordEncrypt</port-component-name> - <wsdl-port>CalculatorImplUsernameTokenPlainPasswordEncrypt</wsdl-port> - <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> - <service-impl-bean> - <ejb-link>CalculatorImplUsernameTokenPlainPasswordEncrypt</ejb-link> - </service-impl-bean> - </port-component> - </webservice-description> - -</webservices> +<?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. +--> +<webservices xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee +http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd" + version="1.1"> + + <webservice-description> + <webservice-description-name>CalculatorWsService</webservice-description-name> + <port-component> + <port-component-name>CalculatorImplTimestamp1way</port-component-name> + <wsdl-port>CalculatorImplTimestamp1way</wsdl-port> + <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> + <service-impl-bean> + <ejb-link>CalculatorImplTimestamp1way</ejb-link> + </service-impl-bean> + </port-component> + <port-component> + <port-component-name>CalculatorImplTimestamp2ways</port-component-name> + <wsdl-port>CalculatorImplTimestamp2ways</wsdl-port> + <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> + <service-impl-bean> + <ejb-link>CalculatorImplTimestamp2ways</ejb-link> + </service-impl-bean> + </port-component> + <port-component> + <port-component-name>CalculatorImplUsernameTokenPlainPassword</port-component-name> + <wsdl-port>CalculatorImplUsernameTokenPlainPassword</wsdl-port> + <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> + <service-impl-bean> + <ejb-link>CalculatorImplUsernameTokenPlainPassword</ejb-link> + </service-impl-bean> + </port-component> + <port-component> + <port-component-name>CalculatorImplUsernameTokenHashedPassword</port-component-name> + <wsdl-port>CalculatorImplUsernameTokenHashedPassword</wsdl-port> + <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> + <service-impl-bean> + <ejb-link>CalculatorImplUsernameTokenHashedPassword</ejb-link> + </service-impl-bean> + </port-component> + <port-component> + <port-component-name>CalculatorImplUsernameTokenPlainPasswordEncrypt</port-component-name> + <wsdl-port>CalculatorImplUsernameTokenPlainPasswordEncrypt</wsdl-port> + <service-endpoint-interface>org.superbiz.calculator.CalculatorWs</service-endpoint-interface> + <service-impl-bean> + <ejb-link>CalculatorImplUsernameTokenPlainPasswordEncrypt</ejb-link> + </service-impl-bean> + </port-component> + </webservice-description> + +</webservices> http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplSign-client.properties ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplSign-client.properties b/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplSign-client.properties index 350eaf9..8495746 100644 --- a/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplSign-client.properties +++ b/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplSign-client.properties @@ -1,7 +1,7 @@ -org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin -org.apache.ws.security.crypto.merlin.keystore.type=jks -org.apache.ws.security.crypto.merlin.keystore.password=keystorePass -org.apache.ws.security.crypto.merlin.keystore.alias=clientalias -org.apache.ws.security.crypto.merlin.file=META-INF/clientStore.jks -# OPENEJB-1061 OpenJDK doesn't come with cacerts -org.apache.ws.security.crypto.merlin.load.cacerts=false +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=jks +org.apache.ws.security.crypto.merlin.keystore.password=keystorePass +org.apache.ws.security.crypto.merlin.keystore.alias=clientalias +org.apache.ws.security.crypto.merlin.file=META-INF/clientStore.jks +# OPENEJB-1061 OpenJDK doesn't come with cacerts +org.apache.ws.security.crypto.merlin.load.cacerts=false http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-client.properties ---------------------------------------------------------------------- diff --git a/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-client.properties b/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-client.properties index 350eaf9..8495746 100644 --- a/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-client.properties +++ b/examples/webservice-ws-security/src/test/resources/META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-client.properties @@ -1,7 +1,7 @@ -org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin -org.apache.ws.security.crypto.merlin.keystore.type=jks -org.apache.ws.security.crypto.merlin.keystore.password=keystorePass -org.apache.ws.security.crypto.merlin.keystore.alias=clientalias -org.apache.ws.security.crypto.merlin.file=META-INF/clientStore.jks -# OPENEJB-1061 OpenJDK doesn't come with cacerts -org.apache.ws.security.crypto.merlin.load.cacerts=false +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=jks +org.apache.ws.security.crypto.merlin.keystore.password=keystorePass +org.apache.ws.security.crypto.merlin.keystore.alias=clientalias +org.apache.ws.security.crypto.merlin.file=META-INF/clientStore.jks +# OPENEJB-1061 OpenJDK doesn't come with cacerts +org.apache.ws.security.crypto.merlin.load.cacerts=false http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractSynchronizable.java ---------------------------------------------------------------------- diff --git a/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractSynchronizable.java b/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractSynchronizable.java index 488e372..1244882 100644 --- a/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractSynchronizable.java +++ b/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractSynchronizable.java @@ -1,71 +1,71 @@ -/** - * - * 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. - */ -package org.apache.openejb.maven.plugin; - -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -public abstract class AbstractSynchronizable { - protected int updateInterval; - protected List<String> extensions; - protected List<String> updateOnlyExtensions; - protected String regex; - protected Map<File, File> updates; - - public abstract Map<File, File> updates(); - - public int getUpdateInterval() { - return updateInterval; - } - - public void setUpdateInterval(final int updateInterval) { - this.updateInterval = updateInterval; - } - - public List<String> getExtensions() { - if (extensions == null) { - extensions = new ArrayList<String>(); - } - return extensions; - } - - public void setExtensions(final List<String> extensions) { - this.extensions = extensions; - } - - public String getRegex() { - return regex; - } - - public void setRegex(final String regex) { - this.regex = regex; - } - - public List<String> getUpdateOnlyExtenions() { - if (updateOnlyExtensions == null) { - updateOnlyExtensions = new ArrayList<String>(); - } - return updateOnlyExtensions; - } - - public void setUpdateOnlyExtensions(final List<String> updateOnlyExtensions) { - this.updateOnlyExtensions = updateOnlyExtensions; - } -} +/** + * + * 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. + */ +package org.apache.openejb.maven.plugin; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +public abstract class AbstractSynchronizable { + protected int updateInterval; + protected List<String> extensions; + protected List<String> updateOnlyExtensions; + protected String regex; + protected Map<File, File> updates; + + public abstract Map<File, File> updates(); + + public int getUpdateInterval() { + return updateInterval; + } + + public void setUpdateInterval(final int updateInterval) { + this.updateInterval = updateInterval; + } + + public List<String> getExtensions() { + if (extensions == null) { + extensions = new ArrayList<String>(); + } + return extensions; + } + + public void setExtensions(final List<String> extensions) { + this.extensions = extensions; + } + + public String getRegex() { + return regex; + } + + public void setRegex(final String regex) { + this.regex = regex; + } + + public List<String> getUpdateOnlyExtenions() { + if (updateOnlyExtensions == null) { + updateOnlyExtensions = new ArrayList<String>(); + } + return updateOnlyExtensions; + } + + public void setUpdateOnlyExtensions(final List<String> updateOnlyExtensions) { + this.updateOnlyExtensions = updateOnlyExtensions; + } +} http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/ComplexAllElement.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/ComplexAllElement.xsd b/server/openejb-axis/src/test/resources/schema/ComplexAllElement.xsd index df9ef21..4821609 100644 --- a/server/openejb-axis/src/test/resources/schema/ComplexAllElement.xsd +++ b/server/openejb-axis/src/test/resources/schema/ComplexAllElement.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/ComplexAllType.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/ComplexAllType.xsd b/server/openejb-axis/src/test/resources/schema/ComplexAllType.xsd index f9dd8b4..9409581 100644 --- a/server/openejb-axis/src/test/resources/schema/ComplexAllType.xsd +++ b/server/openejb-axis/src/test/resources/schema/ComplexAllType.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/ComplexSequenceElement.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/ComplexSequenceElement.xsd b/server/openejb-axis/src/test/resources/schema/ComplexSequenceElement.xsd index 36299e3..f59ab72 100644 --- a/server/openejb-axis/src/test/resources/schema/ComplexSequenceElement.xsd +++ b/server/openejb-axis/src/test/resources/schema/ComplexSequenceElement.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/ComplexSequenceType.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/ComplexSequenceType.xsd b/server/openejb-axis/src/test/resources/schema/ComplexSequenceType.xsd index 34dbf99..0484e30 100644 --- a/server/openejb-axis/src/test/resources/schema/ComplexSequenceType.xsd +++ b/server/openejb-axis/src/test/resources/schema/ComplexSequenceType.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/JaxRpcSpecExample.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/JaxRpcSpecExample.xsd b/server/openejb-axis/src/test/resources/schema/JaxRpcSpecExample.xsd index a1bba13..65eb581 100644 --- a/server/openejb-axis/src/test/resources/schema/JaxRpcSpecExample.xsd +++ b/server/openejb-axis/src/test/resources/schema/JaxRpcSpecExample.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/SimpleElement.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/SimpleElement.xsd b/server/openejb-axis/src/test/resources/schema/SimpleElement.xsd index 9d4bd82..3f483e3 100644 --- a/server/openejb-axis/src/test/resources/schema/SimpleElement.xsd +++ b/server/openejb-axis/src/test/resources/schema/SimpleElement.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/SimpleType.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/SimpleType.xsd b/server/openejb-axis/src/test/resources/schema/SimpleType.xsd index 83339ae..894c3b4 100644 --- a/server/openejb-axis/src/test/resources/schema/SimpleType.xsd +++ b/server/openejb-axis/src/test/resources/schema/SimpleType.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/SoapArrayByAttribute.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/SoapArrayByAttribute.xsd b/server/openejb-axis/src/test/resources/schema/SoapArrayByAttribute.xsd index 5696c61..1f63eed 100644 --- a/server/openejb-axis/src/test/resources/schema/SoapArrayByAttribute.xsd +++ b/server/openejb-axis/src/test/resources/schema/SoapArrayByAttribute.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <xsd:schema targetNamespace="X" xmlns:tns="X" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-axis/src/test/resources/schema/SoapArrayByRestriction.xsd ---------------------------------------------------------------------- diff --git a/server/openejb-axis/src/test/resources/schema/SoapArrayByRestriction.xsd b/server/openejb-axis/src/test/resources/schema/SoapArrayByRestriction.xsd index 9b61fcc..ab4c67b 100644 --- a/server/openejb-axis/src/test/resources/schema/SoapArrayByRestriction.xsd +++ b/server/openejb-axis/src/test/resources/schema/SoapArrayByRestriction.xsd @@ -1,24 +1,24 @@ -<?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. ---> - -<!-- $Rev$ $Date$ --> - +<?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. +--> + +<!-- $Rev$ $Date$ --> + <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="X" xmlns:tns="X" xmlns:xsd="http://www.w3.org/2001/XMLSchema" http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/PojoInvoker.java ---------------------------------------------------------------------- diff --git a/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/PojoInvoker.java b/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/PojoInvoker.java index 61468be..805d813 100644 --- a/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/PojoInvoker.java +++ b/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/PojoInvoker.java @@ -1,62 +1,62 @@ -/* - * 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. - */ -package org.apache.openejb.server.cxf.rs; - -import org.apache.cxf.jaxrs.JAXRSInvoker; -import org.apache.cxf.message.Exchange; -import org.apache.cxf.message.Message; -import org.apache.openejb.ApplicationException; -import org.apache.openejb.InvalidateReferenceException; - -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.rmi.RemoteException; -import java.util.Arrays; -import java.util.logging.Level; - -public class PojoInvoker extends JAXRSInvoker { - protected Object performInvocation(final Exchange exchange, final Object serviceObject, - final Method m, final Object[] paramArray) throws Exception { - final Object[] args = insertExchange(m, paramArray, exchange); - final ClassLoader tcclToUse = getClassLoader(exchange); - final Thread thread = Thread.currentThread(); - ClassLoader oldLoader = null; - if (tcclToUse != null) { - oldLoader = thread.getContextClassLoader(); - thread.setContextClassLoader(tcclToUse); - } - try { - return m.invoke(serviceObject, args); - } finally { - if (tcclToUse != null) { - thread.setContextClassLoader(oldLoader); - } - } - } - - private ClassLoader getClassLoader(final Exchange exchange) { - final Message inMessage = exchange.getInMessage(); - if (inMessage == null) { - return null; - } - final OpenEJBPerRequestPojoResourceProvider requestPojoResourceProvider = inMessage.get(OpenEJBPerRequestPojoResourceProvider.class); - if (requestPojoResourceProvider != null) { - return requestPojoResourceProvider.getClassLoader(); - } - return null; - } -} +/* + * 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. + */ +package org.apache.openejb.server.cxf.rs; + +import org.apache.cxf.jaxrs.JAXRSInvoker; +import org.apache.cxf.message.Exchange; +import org.apache.cxf.message.Message; +import org.apache.openejb.ApplicationException; +import org.apache.openejb.InvalidateReferenceException; + +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.rmi.RemoteException; +import java.util.Arrays; +import java.util.logging.Level; + +public class PojoInvoker extends JAXRSInvoker { + protected Object performInvocation(final Exchange exchange, final Object serviceObject, + final Method m, final Object[] paramArray) throws Exception { + final Object[] args = insertExchange(m, paramArray, exchange); + final ClassLoader tcclToUse = getClassLoader(exchange); + final Thread thread = Thread.currentThread(); + ClassLoader oldLoader = null; + if (tcclToUse != null) { + oldLoader = thread.getContextClassLoader(); + thread.setContextClassLoader(tcclToUse); + } + try { + return m.invoke(serviceObject, args); + } finally { + if (tcclToUse != null) { + thread.setContextClassLoader(oldLoader); + } + } + } + + private ClassLoader getClassLoader(final Exchange exchange) { + final Message inMessage = exchange.getInMessage(); + if (inMessage == null) { + return null; + } + final OpenEJBPerRequestPojoResourceProvider requestPojoResourceProvider = inMessage.get(OpenEJBPerRequestPojoResourceProvider.class); + if (requestPojoResourceProvider != null) { + return requestPojoResourceProvider.getClassLoader(); + } + return null; + } +} http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/fault/AuthenticatorService.java ---------------------------------------------------------------------- diff --git a/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/fault/AuthenticatorService.java b/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/fault/AuthenticatorService.java index 6a29e16..1358cdd 100644 --- a/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/fault/AuthenticatorService.java +++ b/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/fault/AuthenticatorService.java @@ -1,31 +1,31 @@ -/** - * 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. - */ -package org.apache.openejb.server.cxf.fault; - -import javax.jws.WebService; - -/** - * @version $Rev$ - */ -@WebService(targetNamespace = "http://superbiz.org/wsdl") -public interface AuthenticatorService { - - boolean authenticate(String name, String password) throws WrongPasswordException; - - boolean authenticateRuntime(String name, String password); - +/** + * 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. + */ +package org.apache.openejb.server.cxf.fault; + +import javax.jws.WebService; + +/** + * @version $Rev$ + */ +@WebService(targetNamespace = "http://superbiz.org/wsdl") +public interface AuthenticatorService { + + boolean authenticate(String name, String password) throws WrongPasswordException; + + boolean authenticateRuntime(String name, String password); + } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-cxf/src/test/resources/META-INF/ejb-jar.xml ---------------------------------------------------------------------- diff --git a/server/openejb-cxf/src/test/resources/META-INF/ejb-jar.xml b/server/openejb-cxf/src/test/resources/META-INF/ejb-jar.xml index 00a4cbe..676b4ba 100644 --- a/server/openejb-cxf/src/test/resources/META-INF/ejb-jar.xml +++ b/server/openejb-cxf/src/test/resources/META-INF/ejb-jar.xml @@ -1,19 +1,19 @@ -<!-- - 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. ---> +<!-- + 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. +--> <ejb-jar/> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-cxf/src/test/resources/org/apache/openejb/server/cxf/fault/handler.xml ---------------------------------------------------------------------- diff --git a/server/openejb-cxf/src/test/resources/org/apache/openejb/server/cxf/fault/handler.xml b/server/openejb-cxf/src/test/resources/org/apache/openejb/server/cxf/fault/handler.xml index 337711f..8a3c7c4 100644 --- a/server/openejb-cxf/src/test/resources/org/apache/openejb/server/cxf/fault/handler.xml +++ b/server/openejb-cxf/src/test/resources/org/apache/openejb/server/cxf/fault/handler.xml @@ -1,27 +1,27 @@ -<?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. ---> -<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"> - <handler-chain> - <handler> - <handler-name>org.apache.openejb.server.cxf.fault.DummyInterceptor</handler-name> - <handler-class>org.apache.openejb.server.cxf.fault.DummyInterceptor</handler-class> - </handler> - </handler-chain> +<?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. +--> +<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"> + <handler-chain> + <handler> + <handler-name>org.apache.openejb.server.cxf.fault.DummyInterceptor</handler-name> + <handler-class>org.apache.openejb.server.cxf.fault.DummyInterceptor</handler-class> + </handler> + </handler-chain> </handler-chains> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-ejbd/src/main/java/org/apache/openejb/server/ejbd/RequestHandler.java ---------------------------------------------------------------------- diff --git a/server/openejb-ejbd/src/main/java/org/apache/openejb/server/ejbd/RequestHandler.java b/server/openejb-ejbd/src/main/java/org/apache/openejb/server/ejbd/RequestHandler.java index 93fcd3d..18f1c8d 100644 --- a/server/openejb-ejbd/src/main/java/org/apache/openejb/server/ejbd/RequestHandler.java +++ b/server/openejb-ejbd/src/main/java/org/apache/openejb/server/ejbd/RequestHandler.java @@ -1,45 +1,45 @@ -/** - * 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. - */ -package org.apache.openejb.server.ejbd; - -import org.apache.openejb.client.ProtocolMetaData; -import org.apache.openejb.client.Response; -import org.apache.openejb.util.Logger; - -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - -public abstract class RequestHandler { - - final EjbDaemon daemon; - - protected RequestHandler(final EjbDaemon daemon) { - this.daemon = daemon; - } - - public EjbDaemon getDaemon() { - return daemon; - } - - public abstract String getName(); - - public abstract Logger getLogger(); - - public abstract Response processRequest(final ObjectInputStream in, final ProtocolMetaData metaData) throws Exception; - - public abstract void processResponse(final Response response, final ObjectOutputStream out, final ProtocolMetaData metaData) throws Exception; -} +/** + * 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. + */ +package org.apache.openejb.server.ejbd; + +import org.apache.openejb.client.ProtocolMetaData; +import org.apache.openejb.client.Response; +import org.apache.openejb.util.Logger; + +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; + +public abstract class RequestHandler { + + final EjbDaemon daemon; + + protected RequestHandler(final EjbDaemon daemon) { + this.daemon = daemon; + } + + public EjbDaemon getDaemon() { + return daemon; + } + + public abstract String getName(); + + public abstract Logger getLogger(); + + public abstract Response processRequest(final ObjectInputStream in, final ProtocolMetaData metaData) throws Exception; + + public abstract void processResponse(final Response response, final ObjectOutputStream out, final ProtocolMetaData metaData) throws Exception; +} http://git-wip-us.apache.org/repos/asf/tomee/blob/81d3cd3a/server/openejb-multicast/src/main/resources/META-INF/org.apache.openejb.server.ServerService/multipulse ---------------------------------------------------------------------- diff --git a/server/openejb-multicast/src/main/resources/META-INF/org.apache.openejb.server.ServerService/multipulse b/server/openejb-multicast/src/main/resources/META-INF/org.apache.openejb.server.ServerService/multipulse index 9f6f174..1ac80f9 100644 --- a/server/openejb-multicast/src/main/resources/META-INF/org.apache.openejb.server.ServerService/multipulse +++ b/server/openejb-multicast/src/main/resources/META-INF/org.apache.openejb.server.ServerService/multipulse @@ -1,4 +1,4 @@ -server = org.apache.openejb.server.discovery.MulticastPulseAgent -bind = 239.255.2.3 -port = 6142 +server = org.apache.openejb.server.discovery.MulticastPulseAgent +bind = 239.255.2.3 +port = 6142 disabled = ${openejb.profile.custom} \ No newline at end of file
