JBossWS SVN: r7161 - container/jboss42/branches.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-05-26 05:37:55 -0400 (Mon, 26 May 2008)
New Revision: 7161
Removed:
container/jboss42/branches/jbossws-jboss421/
Log:
Start over
16 years, 7 months
JBossWS SVN: r7160 - container/jboss42/branches.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-05-26 05:36:53 -0400 (Mon, 26 May 2008)
New Revision: 7160
Added:
container/jboss42/branches/jbossws-jboss421/
Log:
421 container integration stub
Copied: container/jboss42/branches/jbossws-jboss421 (from rev 7159, container/jboss42/branches/jbossws-jboss422)
16 years, 7 months
JBossWS SVN: r7159 - in framework/trunk/hudson/hudson-home/jobs: CXF-Core-AS-4.2.3 and 10 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-26 05:35:35 -0400 (Mon, 26 May 2008)
New Revision: 7159
Modified:
framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.2/config.xml
framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-5.0.1/config.xml
framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.2/config.xml
framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-5.0.1/config.xml
framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.2/config.xml
framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-5.0.1/config.xml
framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.2/config.xml
framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-5.0.1/config.xml
Log:
[JBWS-2177] workaround applies to AS 5 Beta 4 only
Modified: framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.2/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.2/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.2/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.3/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-4.2.3/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-5.0.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-5.0.1/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/CXF-Core-AS-5.0.1/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.2/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.2/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.2/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.3/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-4.2.3/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-5.0.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-5.0.1/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/CXF-Integration-AS-5.0.1/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.2/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.2/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.2/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.3/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-4.2.3/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-5.0.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-5.0.1/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/Metro-Core-AS-5.0.1/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.2/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.2/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.2/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.3/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-4.2.3/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-5.0.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-5.0.1/config.xml 2008-05-26 08:38:33 UTC (rev 7158)
+++ framework/trunk/hudson/hudson-home/jobs/Metro-Integration-AS-5.0.1/config.xml 2008-05-26 09:35:35 UTC (rev 7159)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
16 years, 7 months
JBossWS SVN: r7158 - stack/native/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-26 04:38:33 -0400 (Mon, 26 May 2008)
New Revision: 7158
Modified:
stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt
Log:
[EJBTHREE-1378] enable test
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-05-26 08:36:05 UTC (rev 7157)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-05-26 08:38:33 UTC (rev 7158)
@@ -74,6 +74,3 @@
# [EJBTHREE-1377] Callback objects are improperly setup - ServiceRefMetaData.getServiceInterface() returns null
org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefClientTestCase.*
-
-# [EJBTHREE-1378] comp.ejb3 not bound
-org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.*
16 years, 7 months
JBossWS SVN: r7157 - framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-26 04:36:05 -0400 (Mon, 26 May 2008)
New Revision: 7157
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java
Log:
[EJBTHREE-1378] AS trunk EJB3 implementation uses java:comp instead of java:comp.ejb3 now
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java 2008-05-24 16:50:01 UTC (rev 7156)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java 2008-05-26 08:36:05 UTC (rev 7157)
@@ -26,6 +26,7 @@
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.naming.InitialContext;
+import javax.naming.NamingException;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceRef;
import javax.xml.ws.WebServiceRefs;
@@ -84,25 +85,48 @@
{
log.info("echo: " + inStr);
+ InitialContext initCtx = null;
+ String envRoot = "java:comp.ejb3";
+ try
+ {
+ initCtx = new InitialContext();
+ initCtx.lookup(envRoot + "/env/service1");
+ }
+ catch (NamingException ne)
+ {
+ if (initCtx == null)
+ throw new WebServiceException(ne);
+
+ // EJBTHREE-1378
+ envRoot = "java:comp";
+ try
+ {
+ initCtx.lookup(envRoot + "/env/service1");
+ }
+ catch (Exception e)
+ {
+ throw new WebServiceException(e);
+ }
+ }
+
ArrayList<Endpoint> ports = new ArrayList<Endpoint>();
try
{
- InitialContext iniCtx = new InitialContext();
- ports.add(((EndpointService)iniCtx.lookup("java:comp.ejb3/env/service1")).getEndpointPort());
- ports.add(((EndpointService)iniCtx.lookup("java:comp.ejb3/env/service2")).getEndpointPort());
+ ports.add(((EndpointService)initCtx.lookup(envRoot + "/env/service1")).getEndpointPort());
+ ports.add(((EndpointService)initCtx.lookup(envRoot + "/env/service2")).getEndpointPort());
ports.add((Endpoint)service3.getPort(Endpoint.class));
- ports.add(((EndpointService)iniCtx.lookup("java:comp.ejb3/env/EndpointService3")).getEndpointPort());
+ ports.add(((EndpointService)initCtx.lookup(envRoot + "/env/EndpointService3")).getEndpointPort());
ports.add((Endpoint)service4.getPort(Endpoint.class));
- ports.add(((EndpointService)iniCtx.lookup("java:comp.ejb3/env/" + getClass().getName() + "/service4")).getEndpointPort());
+ ports.add(((EndpointService)initCtx.lookup(envRoot + "/env/" + getClass().getName() + "/service4")).getEndpointPort());
ports.add((Endpoint)service5.getPort(Endpoint.class));
- ports.add(((EndpointService)iniCtx.lookup("java:comp.ejb3/env/EndpointService5")).getEndpointPort());
+ ports.add(((EndpointService)initCtx.lookup(envRoot + "/env/EndpointService5")).getEndpointPort());
ports.add((Endpoint)service6.getPort(Endpoint.class));
- ports.add(((EndpointService)iniCtx.lookup("java:comp.ejb3/env/" + getClass().getName() + "/service6")).getEndpointPort());
- ports.add((Endpoint)iniCtx.lookup("java:comp.ejb3/env/port1"));
+ ports.add(((EndpointService)initCtx.lookup(envRoot + "/env/" + getClass().getName() + "/service6")).getEndpointPort());
+ ports.add((Endpoint)initCtx.lookup(envRoot + "/env/port1"));
ports.add(port2);
- ports.add((Endpoint)iniCtx.lookup("java:comp.ejb3/env/Port2"));
+ ports.add((Endpoint)initCtx.lookup(envRoot + "/env/Port2"));
ports.add(port3);
- ports.add((Endpoint)iniCtx.lookup("java:comp.ejb3/env/" + getClass().getName() + "/port3"));
+ ports.add((Endpoint)initCtx.lookup(envRoot + "/env/" + getClass().getName() + "/port3"));
}
catch (Exception ex)
{
16 years, 7 months
JBossWS SVN: r7156 - stack/native/trunk/modules/testsuite/native-tests/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-05-24 12:50:01 -0400 (Sat, 24 May 2008)
New Revision: 7156
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss421.txt
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss422.txt
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss423.txt
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss500.txt
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss501.txt
Log:
[JBWS-2116] Excluding test
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss421.txt
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss421.txt 2008-05-24 16:45:14 UTC (rev 7155)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss421.txt 2008-05-24 16:50:01 UTC (rev 7156)
@@ -25,3 +25,5 @@
# [JBWS-1911] Support the JMS transport with JAX-WS
org/jboss/test/ws/jaxws/samples/jmstransport/**
+# [JBWS-1907] Authorization based on certificate used for wsse signature
+org/jboss/test/ws/jaxws/jbws2116/**
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss422.txt
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss422.txt 2008-05-24 16:45:14 UTC (rev 7155)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss422.txt 2008-05-24 16:50:01 UTC (rev 7156)
@@ -28,3 +28,5 @@
# [JBWS-1526] Automated testing and availablity checks of public endpoints (interop)
org/jboss/test/ws/interop/**
+# [JBWS-1907] Authorization based on certificate used for wsse signature
+org/jboss/test/ws/jaxws/jbws2116/**
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss423.txt
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss423.txt 2008-05-24 16:45:14 UTC (rev 7155)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss423.txt 2008-05-24 16:50:01 UTC (rev 7156)
@@ -11,3 +11,6 @@
# [JBWS-1526] Automated testing and availablity checks of public endpoints (interop)
org/jboss/test/ws/interop/**
+
+# [JBWS-1907] Authorization based on certificate used for wsse signature
+org/jboss/test/ws/jaxws/jbws2116/**
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss500.txt 2008-05-24 16:45:14 UTC (rev 7155)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss500.txt 2008-05-24 16:50:01 UTC (rev 7156)
@@ -20,3 +20,6 @@
# [JBAS-5115] Valid jboss-app.xml file not recognized correctly by jbossxb runtime
org/jboss/test/ws/jaxws/jbws1822/JBWS1822TestCase.*
+
+# [JBWS-1907] Authorization based on certificate used for wsse signature
+org/jboss/test/ws/jaxws/jbws2116/**
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss501.txt
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss501.txt 2008-05-24 16:45:14 UTC (rev 7155)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/test-excludes-jboss501.txt 2008-05-24 16:50:01 UTC (rev 7156)
@@ -55,3 +55,6 @@
# [JBAS-5388] JBossXBRuntimeException: Missing value for the required attribute
org/jboss/test/ws/jaxrpc/jbws720/**
+# [JBWS-1907] Authorization based on certificate used for wsse signature
+org/jboss/test/ws/jaxws/jbws2116/**
+
16 years, 7 months
JBossWS SVN: r7155 - in stack/native/trunk/modules/testsuite/native-tests: src/test/java/org/jboss/test/ws/jaxws and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-05-24 12:45:14 -0400 (Sat, 24 May 2008)
New Revision: 7155
Added:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/CertAuthTestCase.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/Hello.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/HelloJavaBean.java
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/Alice.cer
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/Bob.cer
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/John.cer
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-service.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-client.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-server.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jbossws-roles.properties
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/keystore.jks
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/login-config.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/alice-sign.jks
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/bob-sign.jks
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/john-sign.jks
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/readme.txt
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/wsse10.truststore
Modified:
stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
[JBWS-2116] Sample for certificate authentication & authorization
Modified: stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2008-05-23 18:04:19 UTC (rev 7154)
+++ stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2008-05-24 16:45:14 UTC (rev 7155)
@@ -257,6 +257,30 @@
<include name="wsse.*"/>
</metainf>
</jar>
+
+ <!-- jaxws-jbws2116-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2116.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2116/*.class"/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws2116/*TestCase.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2116/META-INF">
+ <include name="jboss-wsse-server.xml"/>
+ <include name="jboss.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2116/">
+ <include name="wsse10.truststore"/>
+ <include name="bob-sign.jks"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2116.sar">
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2116/META-INF">
+ <include name="jboss-service.xml"/>
+ <include name="login-config.xml"/>
+ <include name="keystore.jks"/>
+ <include name="jbossws-roles.properties"/>
+ </metainf>
+ </jar>
<!-- jaxws-webserviceref -->
<war warfile="${tests.output.dir}/test-libs/jaxws-webserviceref.war" webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF/web.xml">
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/CertAuthTestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/CertAuthTestCase.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/CertAuthTestCase.java 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,148 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws2116;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.ws.core.StubExt;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test case for certificate authentication & authorization with WS-Security
+ * http://jira.jboss.org/jira/browse/JBWS-2116
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 24-May-2008
+ */
+public class CertAuthTestCase extends JBossWSTest
+{
+ private String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-jbws2116";
+ private String keyStore;
+ private String trustStore;
+ private String keyStorePassword;
+ private String trustStorePassword;
+ private String keyStoreType;
+ private String trustStoreType;
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(CertAuthTestCase.class, "jaxws-jbws2116.sar jaxws-jbws2116.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ //Backup values
+ keyStore = System.getProperty("org.jboss.ws.wsse.keyStore");
+ keyStorePassword = System.getProperty("org.jboss.ws.wsse.keyStorePassword");
+ keyStoreType = System.getProperty("org.jboss.ws.wsse.keyStoreType");
+ trustStore = System.getProperty("org.jboss.ws.wsse.trustStore");
+ trustStorePassword = System.getProperty("org.jboss.ws.wsse.trustStorePassword");
+ trustStoreType = System.getProperty("org.jboss.ws.wsse.trustStoreType");
+
+ }
+
+ protected void tearDown() throws Exception
+ {
+ //Restore environment
+ System.setProperty("org.jboss.ws.wsse.keyStore", keyStore);
+ System.setProperty("org.jboss.ws.wsse.trustStore", trustStore);
+ System.setProperty("org.jboss.ws.wsse.keyStorePassword", keyStorePassword);
+ System.setProperty("org.jboss.ws.wsse.trustStorePassword", trustStorePassword);
+ System.setProperty("org.jboss.ws.wsse.keyStoreType", keyStoreType);
+ System.setProperty("org.jboss.ws.wsse.trustStoreType", trustStoreType);
+ super.tearDown();
+ }
+
+ public void testAuthAlice() throws Exception
+ {
+ setEnvironment("alice");
+ Hello port = getPort();
+ String msg = "Hi!";
+ try
+ {
+ String result = port.echo(msg);
+ assertEquals(msg, result);
+ result = port.echo2(msg);
+ assertEquals(msg, result);
+ }
+ catch (Exception e)
+ {
+ fail();
+ }
+ }
+
+ public void testAuthJohn() throws Exception
+ {
+ setEnvironment("john");
+ Hello port = getPort();
+ String msg = "Hi!";
+ try
+ {
+ String result = port.echo(msg);
+ assertEquals(msg, result);
+ }
+ catch (Exception e)
+ {
+ fail();
+ }
+ try
+ {
+ port.echo2(msg);
+ fail("John shouldn't be allowed to run this method!");
+ }
+ catch (Exception e)
+ {
+ //OK
+ }
+ }
+
+ private void setEnvironment(String name)
+ {
+ //Setup values
+ System.setProperty("org.jboss.ws.wsse.keyStore", getResourceFile("jaxws/jbws2116/" + name + "-sign.jks").getPath());
+ System.setProperty("org.jboss.ws.wsse.trustStore", getResourceFile("jaxws/jbws2116/wsse10.truststore").getPath());
+ System.setProperty("org.jboss.ws.wsse.keyStorePassword", "password");
+ System.setProperty("org.jboss.ws.wsse.trustStorePassword", "password");
+ System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks");
+ System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks");
+ }
+
+ private Hello getPort() throws Exception
+ {
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new QName("http://org.jboss.ws/jbws2116", "HelloService");
+ Hello port = Service.create(wsdlURL, serviceName).getPort(Hello.class);
+ URL securityURL = getResourceURL("jaxws/jbws2116/META-INF/jboss-wsse-client.xml");
+ ((StubExt)port).setSecurityConfig(securityURL.toExternalForm());
+ ((StubExt)port).setConfigName("Standard WSSecurity Client");
+ ((BindingProvider)port).getRequestContext().put(StubExt.PROPERTY_AUTH_TYPE, StubExt.PROPERTY_AUTH_TYPE_WSSE);
+ return port;
+ }
+}
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/CertAuthTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/Hello.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/Hello.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/Hello.java 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws2116;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "Hello", targetNamespace = "http://org.jboss.ws/jbws2116")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface Hello
+{
+ @WebMethod
+ public String echo(String par);
+
+ @WebMethod
+ public String echo2(String par);
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/Hello.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/HelloJavaBean.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/HelloJavaBean.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/HelloJavaBean.java 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws2116;
+
+import javax.annotation.Resource;
+import javax.annotation.security.RolesAllowed;
+import javax.ejb.Stateless;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.WebServiceContext;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.annotation.EndpointConfig;
+import org.jboss.wsf.spi.annotation.WebContext;
+
+
+@Stateless
+@WebService(name = "Hello", serviceName = "HelloService", targetNamespace = "http://org.jboss.ws/jbws2116")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+@WebContext(contextRoot = "/jaxws-jbws2116", urlPattern = "/*")
+@EndpointConfig(configName = "Standard WSSecurity Endpoint")
+//We're declaring the domain in the jboss.xml since we have different annotation packages for AS5 and AS42
+//@SecurityDomain("JBossWS")
+public class HelloJavaBean
+{
+ private Logger log = Logger.getLogger(HelloJavaBean.class);
+ @Resource
+ private WebServiceContext ctx;
+
+ @WebMethod
+ @RolesAllowed({"friend"})
+ public String echo(String par)
+ {
+ log.info("User principal: " + ctx.getUserPrincipal());
+ return par;
+ }
+
+ @WebMethod
+ @RolesAllowed({"girlfriend"})
+ public String echo2(String par)
+ {
+ log.info("User principal: " + ctx.getUserPrincipal());
+ return par;
+ }
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2116/HelloJavaBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/Alice.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/Alice.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/Bob.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/Bob.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/John.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/John.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-service.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-service.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-service.xml 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+ <!-- ==================================================================== -->
+ <!-- JassSecurityDomain required to use CertRolesLoginModule -->
+ <!-- ==================================================================== -->
+ <mbean code="org.jboss.security.plugins.JaasSecurityDomain"
+ name="jboss.security:service=SecurityDomain">
+ <constructor>
+ <arg type="java.lang.String" value="JBossWSCert"/>
+ </constructor>
+ <attribute name="KeyStoreURL">resource:META-INF/keystore.jks</attribute>
+ <attribute name="KeyStorePass">password</attribute>
+ <depends>jboss.security:service=JaasSecurityManager</depends>
+ </mbean>
+ <!-- ==================================================================== -->
+ <!-- Dynamic login config to install the CertRolesLoginModule -->
+ <!-- ==================================================================== -->
+ <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"
+ name="jboss:service=DynamicLoginConfig">
+ <attribute name="AuthConfig">META-INF/login-config.xml</attribute>
+ <!-- The service which supports dynamic processing of login-config.xml
+ configurations.
+ -->
+ <depends optional-attribute-name="LoginConfigService">
+ jboss.security:service=XMLLoginConfig
+ </depends>
+ <!-- Optionally specify the security mgr service to use when
+ this service is stopped to flush the auth caches of the domains
+ registered by this service.
+ -->
+ <depends optional-attribute-name="SecurityManagerService">
+ jboss.security:service=JaasSecurityManager
+ </depends>
+ </mbean>
+</server>
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-service.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-client.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-client.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-client.xml 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <sign type="x509v3" alias="1" includeTimestamp="false"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-server.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-server.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-server.xml 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>META-INF/bob-sign.jks</key-store-file>
+ <key-store-password>password</key-store-password>
+ <key-store-type>jks</key-store-type>
+ <trust-store-file>META-INF/wsse10.truststore</trust-store-file>
+ <trust-store-password>password</trust-store-password>
+ <config>
+ <sign type="x509v3" alias="1" includeTimestamp="false"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss.xml 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss>
+ <security-domain>java:/jaas/JBossWSCert</security-domain>
+</jboss>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jbossws-roles.properties
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jbossws-roles.properties (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/jbossws-roles.properties 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,3 @@
+# A sample roles.properties file for use with the CertRolesLoginModule
+alice=friend,girlfriend
+john=friend
\ No newline at end of file
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/keystore.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/keystore.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/login-config.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/login-config.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/login-config.xml 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,20 @@
+<?xml version='1.0'?>
+<!DOCTYPE policy PUBLIC
+ "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+ "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+
+<policy>
+
+ <application-policy name="JBossWSCert">
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.CertRolesLoginModule"
+ flag="required">
+ <module-option name="rolesProperties">META-INF/jbossws-roles.properties</module-option>
+ <module-option name="unauthenticatedIdentity">anonymous</module-option>
+ <module-option name="securityDomain">java:/jaas/JBossWSCert</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+
+</policy>
+
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/META-INF/login-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/alice-sign.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/alice-sign.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/bob-sign.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/bob-sign.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/john-sign.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/john-sign.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/readme.txt
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/readme.txt (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/readme.txt 2008-05-24 16:45:14 UTC (rev 7155)
@@ -0,0 +1,114 @@
+ -------------------------------------
+ Certificates & keystores
+ -------------------------------------
+
+
+ Alice - Client 1 John - Client 2 Bob - Server
+
+Signature
+-> Keystore alice-sign.jks john-sign.jks bob-sign.jks
+-> Truststore wsse10.truststore wsse10.truststore wsse10.truststore
+
+
+> keytool -printcert -file Alice.cer
+
+Proprietario: CN=Alice, OU=OASIS Interop Test Cert, O=OASIS
+Organismo di emissione: CN=OASIS Interop Test CA, O=OASIS
+Numero di serie: 33a6047fb155631fed6721178150a899
+Valido da Sat Mar 19 01:00:00 CET 2005 a Tue Mar 20 00:59:59 CET 2018
+Impronte digitali certificato:
+ MD5: 57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+ SHA1: 6E:0E:88:F3:6E:BB:87:44:D4:70:F6:2F:60:4D:03:EA:4E:BE:50:94
+
+
+--------------------------------------------------------------------------------------
+> keytool -printcert -file Bob.cer
+Proprietario: CN=Bob, OU=OASIS Interop Test Cert, O=OASIS
+Organismo di emissione: CN=OASIS Interop Test CA, O=OASIS
+Numero di serie: 6038eedbfeac9bbec89d87d3abae71f8
+Valido da Sat Mar 19 01:00:00 CET 2005 a Tue Mar 20 00:59:59 CET 2018
+Impronte digitali certificato:
+ MD5: 89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+ SHA1: 35:03:34:20:1B:EE:A6:50:2D:11:34:2F:93:EE:A0:9F:C0:B5:DF:01
+
+--------------------------------------------------------------------------------------
+> keytool -printcert -file John.cer
+Proprietario: CN=John, OU=Test, O=Test, L=Test, ST=Test, C=IT
+Organismo di emissione: CN=John, OU=Test, O=Test, L=Test, ST=Test, C=IT
+Numero di serie: 4832ac71
+Valido da Tue May 20 12:48:17 CEST 2008 a Fri May 18 12:48:17 CEST 2018
+Impronte digitali certificato:
+ MD5: C8:64:7A:4A:67:AC:73:A2:48:26:0A:B3:84:1D:0C:BB
+ SHA1: 0A:22:01:1C:11:E0:CC:33:D7:D1:97:D6:BF:0B:3B:77:A3:6C:93:70
+
+
+--------------------------------------------------------------------------------------
+keytool -list -keystore wsse10.truststore
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 3 entry
+
+alice, 9-mar-2006, trustedCertEntry,
+Impronta digitale certificato (MD5): 57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+bob, 9-mar-2006, trustedCertEntry,
+Impronta digitale certificato (MD5): 89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+john, 20-mag-2008, trustedCertEntry,
+Impronta digitale certificato (MD5): C8:64:7A:4A:67:AC:73:A2:48:26:0A:B3:84:1D:0C:BB
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore alice-sign.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 2 entry
+
+1, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5): 57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore bob-sign.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 3 entry
+
+1, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5): 89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore john-sign.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 2 entry
+
+1, 20-mag-2008, keyEntry,
+Impronta digitale certificato (MD5): C8:64:7A:4A:67:AC:73:A2:48:26:0A:B3:84:1D:0C:BB
+
+
+--------------------------------------------------------------------------------------
+keytool -list -keystore keystore.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 3 entry
+
+alice, 9-mar-2006, trustedCertEntry,
+Impronta digitale certificato (MD5): 57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+john, 20-mag-2008, trustedCertEntry,
+Impronta digitale certificato (MD5): C8:64:7A:4A:67:AC:73:A2:48:26:0A:B3:84:1D:0C:BB
+
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/readme.txt
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/wsse10.truststore
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2116/wsse10.truststore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 7 months
JBossWS SVN: r7154 - in framework/trunk/hudson/hudson-home/jobs: Native-Core-AS-4.2.2 and 16 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-23 14:04:19 -0400 (Fri, 23 May 2008)
New Revision: 7154
Modified:
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.1/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.1/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1-JDK6/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1/config.xml
Log:
[JBWS-2177] endorsed dirs hack is not necessary for native
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.1/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.1/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.2-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-4.2.3-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.0-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Core-AS-5.0.1-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Ptestsuite,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.1/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.1/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.2-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-4.2.3-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.0-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -45,8 +45,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1-JDK6/config.xml 2008-05-23 16:04:05 UTC (rev 7153)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Integration-AS-5.0.1-JDK6/config.xml 2008-05-23 18:04:19 UTC (rev 7154)
@@ -55,8 +55,6 @@
#
# execute tests
#
-# [JBWS-2177] endorsed dirs maven surefire issue
-export MAVEN_OPTS_HOOK=-Djava.endorsed.dirs=$JBOSS_INSTANCE/lib/endorsed
mvn $ENVIRONMENT -Psmoketest,hudson,$JBOSS_TARGET test 2>&1 | tee $WORKSPACE/tests.log
cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u
16 years, 7 months
JBossWS SVN: r7153 - container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-23 12:04:05 -0400 (Fri, 23 May 2008)
New Revision: 7153
Modified:
container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java
Log:
fix memory leak - always unregister listener, log undeployment errors
Modified: container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-23 16:01:54 UTC (rev 7152)
+++ container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-23 16:04:05 UTC (rev 7153)
@@ -21,6 +21,7 @@
*/
package org.jboss.wsf.container.jboss50.transport;
+import org.jboss.logging.Logger;
import org.jboss.metadata.web.jboss.JBossWebMetaData;
import org.jboss.wsf.framework.transport.HttpListenerRef;
import org.jboss.wsf.spi.SPIProvider;
@@ -46,6 +47,7 @@
*/
public class EJBHttpTransportManager implements TransportManager
{
+ private static Logger log = Logger.getLogger(EJBHttpTransportManager.class);
private static final String PROCESSED_BY_DEPLOYMENT_FACTORY = "processed.by.deployment.factory";
private WebAppDeploymentFactory deploymentFactory;
private WebAppGenerator generator;
@@ -91,10 +93,7 @@
{
String ctx = httpSpec.getWebContext();
String pattern = httpSpec.getUrlPattern();
- listenerRef = new HttpListenerRef(
- ctx, pattern,
- new URI("http://"+hostAndPort+ctx+pattern)
- );
+ listenerRef = new HttpListenerRef(ctx, pattern, new URI("http://" + hostAndPort + ctx + pattern));
}
catch (URISyntaxException e)
{
@@ -120,13 +119,14 @@
{
deploymentFactory.destroy(dep);
}
- finally
+ catch (Exception e)
{
- deploymentRegistry.remove(ref.getUUID());
+ log.error(e.getMessage(), e);
}
dep.removeProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
}
}
+ deploymentRegistry.remove(ref.getUUID());
}
public void setDeploymentFactory(WebAppDeploymentFactory deploymentFactory)
Modified: container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java 2008-05-23 16:01:54 UTC (rev 7152)
+++ container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java 2008-05-23 16:04:05 UTC (rev 7153)
@@ -46,7 +46,6 @@
import javax.xml.ws.WebServiceException;
import java.net.URI;
import java.net.URISyntaxException;
-import java.net.URL;
import java.util.Map;
import java.util.HashMap;
@@ -55,6 +54,7 @@
*/
public class EndpointAPIHttpTransportManager implements TransportManager
{
+ private static Logger log = Logger.getLogger(EndpointAPIHttpTransportManager.class);
private static final String PROCESSED_BY_DEPLOYMENT_FACTORY = "processed.by.deployment.factory";
private WebAppDeploymentFactory deploymentFactory;
private WebAppGenerator generator;
@@ -100,7 +100,7 @@
{
String ctx = httpSpec.getWebContext();
String pattern = httpSpec.getUrlPattern();
- listenerRef = new HttpListenerRef( ctx, pattern, new URI("http://"+hostAndPort+ctx+pattern) );
+ listenerRef = new HttpListenerRef(ctx, pattern, new URI("http://" + hostAndPort + ctx + pattern));
}
catch (URISyntaxException e)
{
@@ -128,15 +128,23 @@
try
{
undeploy(dep);
+ }
+ catch (Exception e)
+ {
+ log.error(e.getMessage(), e);
+ }
+ try
+ {
deploymentFactory.destroy(dep);
}
- finally
+ catch (Exception e)
{
- deploymentRegistry.remove(ref.getUUID());
+ log.error(e.getMessage(), e);
}
dep.removeProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
}
}
+ deploymentRegistry.remove(ref.getUUID());
}
public void setDeploymentFactory(WebAppDeploymentFactory deploymentFactory)
16 years, 7 months
JBossWS SVN: r7152 - container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-23 12:01:54 -0400 (Fri, 23 May 2008)
New Revision: 7152
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java
Log:
fix memory leak - always unregister listener, log undeployment errors
Modified: container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
===================================================================
--- container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-23 12:34:04 UTC (rev 7151)
+++ container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-23 16:01:54 UTC (rev 7152)
@@ -21,6 +21,7 @@
*/
package org.jboss.wsf.container.jboss50.transport;
+import org.jboss.logging.Logger;
import org.jboss.wsf.framework.transport.HttpListenerRef;
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.spi.SPIProviderResolver;
@@ -46,6 +47,7 @@
*/
public class EJBHttpTransportManager implements TransportManager
{
+ private static Logger log = Logger.getLogger(EJBHttpTransportManager.class);
private static final String PROCESSED_BY_DEPLOYMENT_FACTORY = "processed.by.deployment.factory";
private WebAppDeploymentFactory deploymentFactory;
private WebAppGenerator generator;
@@ -117,13 +119,14 @@
{
deploymentFactory.destroy(dep);
}
- finally
+ catch (Exception e)
{
- deploymentRegistry.remove(ref.getUUID());
+ log.error(e.getMessage(), e);
}
dep.removeProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
}
}
+ deploymentRegistry.remove(ref.getUUID());
}
public void setDeploymentFactory(WebAppDeploymentFactory deploymentFactory)
Modified: container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java
===================================================================
--- container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java 2008-05-23 12:34:04 UTC (rev 7151)
+++ container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EndpointAPIHttpTransportManager.java 2008-05-23 16:01:54 UTC (rev 7152)
@@ -21,6 +21,7 @@
*/
package org.jboss.wsf.container.jboss50.transport;
+import org.jboss.logging.Logger;
import org.jboss.wsf.framework.transport.HttpListenerRef;
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.spi.SPIProviderResolver;
@@ -44,6 +45,7 @@
*/
public class EndpointAPIHttpTransportManager implements TransportManager
{
+ private static Logger log = Logger.getLogger(EndpointAPIHttpTransportManager.class);
private static final String PROCESSED_BY_DEPLOYMENT_FACTORY = "processed.by.deployment.factory";
private WebAppDeploymentFactory deploymentFactory;
private WebAppGenerator generator;
@@ -83,7 +85,7 @@
{
String ctx = httpSpec.getWebContext();
String pattern = httpSpec.getUrlPattern();
- listenerRef = new HttpListenerRef( ctx, pattern, new URI("http://"+hostAndPort+ctx+pattern) );
+ listenerRef = new HttpListenerRef(ctx, pattern, new URI("http://" + hostAndPort + ctx + pattern));
}
catch (URISyntaxException e)
{
@@ -109,13 +111,14 @@
{
deploymentFactory.destroy(dep);
}
- finally
+ catch (Exception e)
{
- deploymentRegistry.remove(ref.getUUID());
+ log.error(e.getMessage(), e);
}
dep.removeProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
}
}
+ deploymentRegistry.remove(ref.getUUID());
}
public void setDeploymentFactory(WebAppDeploymentFactory deploymentFactory)
16 years, 7 months