Hi All,
I'm writing connector, while i'm writing the test case i got the following
error.
Running TestSuite
[2014-12-01 13:38:37,641] INFO
{org.wso2.carbon.automation.core.PlatformExecutionManager} -
---------------Test Execution Started --------------------------
[2014-12-01 13:38:37,655] INFO
{org.wso2.carbon.automation.core.ServerGroupManager} - Carbon zip file -
/Users/elilmatha/Desktop/Nimble all/nimble with test case sat day/Nimble
Connector/org.wso2.carbon.connector/repository/wso2esb-4.9.0-SNAPSHOT.zip
[2014-12-01 13:38:41,197] INFO
{org.wso2.carbon.automation.core.ServerGroupManager} - Copying
/Users/elilmatha/Desktop/Nimble all/nimble with test case sat day/Nimble
Connector/org.wso2.carbon.connector/target/security-verifier/SecVerifier.aar
=> /Users/elilmatha/Desktop/Nimble all/nimble with test case sat day/Nimble
Connector/org.wso2.carbon.connector/target/carbontmp1417421317660/wso2esb-4.9.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
[2014-12-01 13:38:41,476] INFO
{org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils} -
Instrumentation of jar files in progress ...
[2014-12-01 13:38:47,973] INFO
{org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils} -
Instrumented 86 files.
[2014-12-01 13:38:47,973] INFO
{org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} - Starting
server.............
[2014-12-01 13:38:48,087] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
JAVA_HOME environment variable is set to
/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home
[2014-12-01 13:38:48,088] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
CARBON_HOME environment variable is set to /Users/elilmatha/Desktop/Nimble
all/nimble with test case sat day/Nimble
Connector/org.wso2.carbon.connector/target/carbontmp1417421317660/wso2esb-4.9.0-SNAPSHOT
[2014-12-01 13:38:53,102] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,101] INFO - CarbonCoreActivator Starting WSO2
Carbon...
[2014-12-01 13:38:53,106] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,106] INFO - CarbonCoreActivator Operating System :
Mac OS X 10.9.5, x86_64
[2014-12-01 13:38:53,107] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,106] INFO - CarbonCoreActivator Java Home :
/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/jre
[2014-12-01 13:38:53,107] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,106] INFO - CarbonCoreActivator Java Version :
1.7.0_07
[2014-12-01 13:38:53,107] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,107] INFO - CarbonCoreActivator Java VM :
Java HotSpot(TM) 64-Bit Server VM 23.3-b01,Oracle Corporation
[2014-12-01 13:38:53,108] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,107] INFO - CarbonCoreActivator Carbon Home :
/Users/elilmatha/Desktop/Nimble all/nimble with test case sat day/Nimble
Connector/org.wso2.carbon.connector/target/carbontmp1417421317660/wso2esb-4.9.0-SNAPSHOT
[2014-12-01 13:38:53,108] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,107] INFO - CarbonCoreActivator Java Temp Dir :
/Users/elilmatha/Desktop/Nimble all/nimble with test case sat day/Nimble
Connector/org.wso2.carbon.connector/target/carbontmp1417421317660/wso2esb-4.9.0-SNAPSHOT/tmp
[2014-12-01 13:38:53,108] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,107] INFO - CarbonCoreActivator User :
elilmatha, en-US, Asia/Colombo
[2014-12-01 13:38:53,185] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,185] INFO - AgentHolder Agent created !
[2014-12-01 13:38:53,211] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:53,211] INFO - AgentDS Successfully deployed Agent
Client
[2014-12-01 13:38:55,577] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:55,577] INFO - EmbeddedRegistryService Configured
Registry in 56ms
[2014-12-01 13:38:55,699] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:55,699] INFO - RegistryCoreServiceComponent Registry
Mode : READ-WRITE
[2014-12-01 13:38:56,100] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:38:56,100] INFO - UserStoreMgtDSComponent Carbon
UserStoreMgtDSComponent activated successfully.
[2014-12-01 13:39:08,224] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:39:08,223] INFO - TaglibUriRule TLD skipped. URI:
http://tiles.apache.org/tags-tiles is already defined
[2014-12-01 13:40:08,728] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:40:08,728] WARN - CarbonServerManager Carbon
initialization is delayed due to the following unsatisfied items:
[2014-12-01 13:40:08,732] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:40:08,732] WARN - CarbonServerManager Waiting for required
Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
[2014-12-01 13:41:08,729] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:41:08,728] WARN - CarbonServerManager Carbon
initialization is delayed due to the following unsatisfied items:
[2014-12-01 13:41:08,729] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:41:08,729] WARN - CarbonServerManager Waiting for required
Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
[2014-12-01 13:42:08,729] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:42:08,729] WARN - CarbonServerManager Carbon
initialization is delayed due to the following unsatisfied items:
[2014-12-01 13:42:08,729] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:42:08,729] WARN - CarbonServerManager Waiting for required
Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
[2014-12-01 13:43:08,729] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:43:08,729] WARN - CarbonServerManager Carbon
initialization is delayed due to the following unsatisfied items:
[2014-12-01 13:43:08,730] INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
[2014-12-01 13:43:08,730] WARN - CarbonServerManager Waiting for required
Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
org.apache.maven.surefire.util.SurefireReflectionException:
java.lang.reflect.InvocationTargetException; nested exception is
java.lang.reflect.InvocationTargetException: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.RuntimeException: Port 9763 is not open
at
org.wso2.carbon.automation.core.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:111)
at
org.wso2.carbon.automation.core.utils.serverutils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:133)
at
org.wso2.carbon.automation.core.ServerGroupManager.startServer(ServerGroupManager.java:92)
at
org.wso2.carbon.automation.core.ServerGroupManager.startServersForBuilder(ServerGroupManager.java:98)
at
org.wso2.carbon.automation.core.PlatformExecutionManager.startSevers(PlatformExecutionManager.java:187)
at
org.wso2.carbon.automation.core.PlatformExecutionManager.onExecutionStart(PlatformExecutionManager.java:76)
at org.testng.TestNG.runExecutionListeners(TestNG.java:1032)
at org.testng.TestNG.run(TestNG.java:983)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
... 9 more
[2014-12-01 13:43:48,317] INFO
{org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} - Shutting
down server..
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 05:17 min
[INFO] Finished at: 2014-12-01T13:43:48+05:30
[INFO] Final Memory: 32M/78M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
on project org.wso2.carbon.connector.Nimble: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The
forked VM terminated without saying properly goodbye. VM crash or
System.exit called ? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
What would be the reason for this. The version of rampart mar file in esb
is rampart-1.6.1-wso2v8
(wso2esb-4.9.0-SNAPSHOT/repository/deployment/client/modules/rampart-1.6.1-wso2v8.mar)
but here it require the v13 , how can i change it.
--
*S.Elilmatha*
Associate Software Engineer,
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile 0779842221.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev