I'll look at it,
MartiNG
On 07/27/2011 05:23 PM, Bobby Bissett wrote:
> In the "umc" branch I'm seeing the following output:
>
> [echo] [testng] ===============================================
> [echo] [testng] QuickLookTests
> [echo] [testng] Total tests run: 128, Failures: 0, Skips: 2
> [echo] [testng] Configuration Failures: 1, Skips: 0
> [echo] [testng] ===============================================
>
> From my run.log:
>
>
> Got ex, class is not loaded.
> [testng] FAILED CONFIGURATION: @BeforeTest loadClass
> [testng] java.lang.Exception: java.lang.ClassNotFoundException:
> jaxwsfromwsdl.client.AddNumbersClient
> [testng] at
> jaxwsfromwsdl.client.JaxwsFromWsdlTestNG.loadClass(Unknown Source)
> [testng] Caused by: java.lang.ClassNotFoundException:
> jaxwsfromwsdl.client.AddNumbersClient
> [testng] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> [testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [testng] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> [testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> [testng] at java.lang.Class.forName0(Native Method)
> [testng] at java.lang.Class.forName(Class.java:169)
> [testng] ... 20 more
> [testng] ... Removed 19 stack frames
> [testng] SKIPPED: testAddNumbers_JaxwsFromWsdl
> [testng] SKIPPED: testAddNumbersException_JaxwsFromWsdl
> [testng]
> [testng] ===============================================
> [testng] wsit_jaxws_tests
> [testng] Tests run: 2, Failures: 0, Skips: 2
> [testng] Configuration Failures: 1, Skips: 0
> [testng] ===============================================
>
> This is starting with the revision below -- when I test with the
> commit before this one the tests all run and pass. Can someone from
> the wsit team take a look?
>
> Thanks,
> Bobby
>
>
>
> -------- Original Message --------
> Subject: [glassfish~svn:48282] Check for UMC - request from the UMC
> team.
> Date: Mon, 25 Jul 2011 10:01:24 +0000
> From: snajper_at_java.net
> Reply-To: commits_at_glassfish.java.net
> To: commits_at_glassfish.java.net
>
>
>
> Project: glassfish
> Repository: svn
> Revision: 48282
> Author: snajper
> Date: 2011-07-25 10:01:22 UTC
> Link:
>
> Log Message:
> ------------
> Check for UMC - request from the UMC team.
>
>
> Revisions:
> ----------
> 48282
>
>
> Modified Paths:
> ---------------
> branches/umc/webservices/metro-glue/src/main/java/org/glassfish/webservices/metroglue/MetroContainer.java
>
>
> Diffs:
> ------
> Index: branches/umc/webservices/metro-glue/src/main/java/org/glassfish/webservices/metroglue/MetroContainer.java
> ===================================================================
> --- branches/umc/webservices/metro-glue/src/main/java/org/glassfish/webservices/metroglue/MetroContainer.java (revision 48281)
> +++ branches/umc/webservices/metro-glue/src/main/java/org/glassfish/webservices/metroglue/MetroContainer.java (revision 48282)
> @@ -1,7 +1,7 @@
> /*
> * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
> *
> - * Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.
> *
> * The contents of this file are subject to the terms of either the GNU
> * General Public License Version 2 only ("GPL") or the Common Development
> @@ -51,6 +51,7 @@
> import com.sun.enterprise.config.serverbeans.Config;
> import com.sun.enterprise.config.serverbeans.SecurityService;
> import com.sun.enterprise.config.serverbeans.ServerTags;
> +import com.sun.enterprise.config.serverbeans.Server;
> import com.sun.enterprise.deployment.WebServiceEndpoint;
> import com.sun.enterprise.transaction.api.JavaEETransactionManager;
> import com.sun.enterprise.transaction.api.RecoveryResourceRegistry;
> @@ -118,6 +119,8 @@
> private AvailabilityService availabilityService;
> @Inject
> private SecurityService secService;
> + @Inject
> + private Server server;
>
> @Override
> public void postConstruct() {
> @@ -249,7 +252,7 @@
> }
>
> private boolean isCluster() {
> - return !env.isDas() && !env.isEmbedded() && gmsAdapterService.isGmsEnabled();
> + return (!env.isDas() || server.isClusteredDas()) && !env.isEmbedded() && gmsAdapterService.isGmsEnabled();
> }
>
> private boolean isHaEnabled() {
>
>
>
>
>
--
Martin Grebac, GlassFish/Metro/JAXB/Tooling at Oracle
http://blogs.sun.com/mgrebac
ICQ: 93478885