0 Replies Latest reply on Jan 3, 2017 9:38 AM by Ruben Trancoso

    Container startup failed with Arquillian and Weblogic 10.3.6

    Ruben Trancoso Newbie

      I was testing arquillian with the connector project on Netbeans but when running the WebLogicInjectionTestCase.java or any other, I got stuck.

      The weblogic goes up but nothing is deployed and it finish with a timeout error.

       

      Does anyone knows what the problem could be?

       

      the test class

       

      https://github.com/arquillian/arquillian-container-wls/blob/master/wls-managed-10.3.x/src/test/java/org/jboss/arquillian/container/wls/managed_10_3/WebLogicInjectionTestCase.java

       

      connector project

       

      https://github.com/arquillian/arquillian-container-wls

       

      arquillian.xml

       

              <container qualifier="wls" default="true">
                  <configuration>
                      <property name="middlewareHome">K:/AppServer/wls1036_x64</property>
                      <property name="wlHome">K:/AppServer/wls1036_x64/wlserver_10.3</property>
                 <!-- <property name="jvmOptions">-Xdebug -Xrunjdwp:transport=dt_socket,address=10000,server=y,suspend=n</property> -->
                      <property name="domainDirectory">K:/AppServer/wls1036_x64/user_projects/domains/sipp_domain</property>
                      <property name="adminUrl">t3://localhost:7001</property>
                      <property name="adminUserName">weblogic</property>
                      <property name="adminPassword">weblogic1</property>
                      <property name="target">AdminServer</property>
                      <property name="outputToConsole">true</property>
                      <property name="logRESTMessages">true</property>
                      <property name="logRESTEntities">true</property>
                  </configuration>
              </container>
      

       

      The stack trace

       

          -------------------------------------------------------------------------------
          Test set: org.jboss.arquillian.container.wls.managed_10_3.WebLogicInjectionTestCase
          -------------------------------------------------------------------------------
          Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 64.183 sec <<< FAILURE!
          org.jboss.arquillian.container.wls.managed_10_3.WebLogicInjectionTestCase  Time elapsed: 0 sec  <<< ERROR!
          org.jboss.arquillian.container.spi.client.container.LifecycleException: Container startup failed.
          at org.jboss.arquillian.container.wls.WebLogicServerControl$StartupAdminServerCommand.execute(WebLogicServerControl.java:217)
          at org.jboss.arquillian.container.wls.WebLogicServerControl.startServer(WebLogicServerControl.java:56)
          at org.jboss.arquillian.container.wls.ManagedContainer.start(ManagedContainer.java:58)
          at org.jboss.arquillian.container.wls.managed_10_3.WebLogicContainer.start(WebLogicContainer.java:54)
          at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:199)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)
          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:606)
          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
          at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
          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:606)
          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:77)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:70)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachSuiteContainer(ContainerLifecycleController.java:221)
          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startSuiteContainers(ContainerLifecycleController.java:69)
          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:606)
          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:86)
          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:606)
          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
          at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
          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:606)
          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
          at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:68)
          at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:97)
          at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
          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:606)
          at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
          at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
          at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
          at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
          Caused by: java.util.concurrent.TimeoutException: The startup script could not complete in 60 seconds.
          at org.jboss.arquillian.container.wls.WebLogicServerControl$StartupAdminServerCommand.execute(WebLogicServerControl.java:209)
          ... 70 more
      

       

      The standard output

       

      Scanning for projects...
                                                                              
      ------------------------------------------------------------------------
      Building Arquillian WebLogic Managed 10.3.x Container Adapter 1.0.2.Final-SNAPSHOT
      ------------------------------------------------------------------------
      
      
      --- maven-surefire-plugin:2.9:test (default-cli) @ arquillian-wls-managed-10.3.x ---
      Surefire report directory: C:\Users\au86\Downloads\arquillian-container-wls-master\arquillian-container-wls-master\wls-managed-10.3.x\target\surefire-reports
      
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.jboss.arquillian.container.wls.managed_10_3.WebLogicDeployWarTest
      'CLASSPATH' nÆo ‚ reconhecido como um comando interno
      ou externo, um programa oper vel ou um arquivo em lotes.
      .
      .
      JAVA Memory arguments: -Xms512m -Xmx512m
      .
      WLS Start Mode=Development
      .
      CLASSPATH=K:\APPSER~1\WLS103~1\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;K:\JVM\JDK-16~1.2-X\lib\tools.jar;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\lib\weblogic_sp.jar;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\lib\weblogic.jar;K:\APPSER~1\WLS103~1\modules\features\weblogic.server.modules_10.3.6.0.jar;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\lib\webservices.jar;K:\APPSER~1\WLS103~1\modules\ORGAPA~1.1/lib/ant-all.jar;K:\APPSER~1\WLS103~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;K:\APPSER~1\WLS103~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\lib\xqrl.jar
      .
      PATH=K:\APPSER~1\WLS103~1\patch_wls1036\profiles\default\native;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\native\win\32;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\bin;K:\APPSER~1\WLS103~1\modules\ORGAPA~1.1\bin;K:\JVM\JDK-16~1.2-X\jre\bin;K:\JVM\JDK-16~1.2-X\bin;K:\Build\apache-maven-3.0.5\bin;K:\Build\apache-ant-1.9.1\bin;K:\links;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Codec Pack TIC x64\QuickTime Alternative\QTSystem;C:\Program Files\Citrix\ICAService\;C:\Program Files\Citrix\System32\;C:\Program Files (x86)\Common Files\Citrix\System32\;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\Program Files (x86)\IXOS\bin;C:\Program Files (x86)\Citrix\ICAService\;C:\Program Files (x86)\Citrix\System32\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Codec Pack TIC x64\QuickTime Alternative\QTSystem;C:\Program Files\Citrix\ICAService\;C:\Program Files\Citrix\System32\;C:\Program Files (x86)\Common Files\Citrix\System32\;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\Program Files (x86)\IXOS\bin;C:\Program Files (x86)\Citrix\ICAService\;C:\Program Files (x86)\Citrix\System32\;%MVN_HOME%\bin;K:\JVM\jdk-1.7.0-hotspot-7u40-x64\bin;K:\JVM\jdk-1.6.0-jrockit-R28.2.2-x64\bin;;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\native\win\32\oci920_8
      .
      ***************************************************
      *  To start WebLogic Server, use a username and   *
      *  password assigned to an admin-level user.  For *
      *  server administration, use the WebLogic Server *
      *  console at http:\\hostname:port\console        *
      ***************************************************
      starting weblogic with Java version:
      java version "1.6.0_29"
      Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
      Oracle JRockit(R) (build R28.2.2-7-148152-1.6.0_29-20111221-2104-windows-x86_64, compiled mode)
      Starting WLS with line:
      K:\JVM\JDK-16~1.2-X\bin\java -jrockit   -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=K:\APPSER~1\WLS103~1\WLSERV~1.3\server\lib\weblogic.policy -Xdebug -Xrunjdwp:transport=dt_socket,address=10000,server=y,suspend=n -Xverify:none  -da -Dplatform.home=K:\APPSER~1\WLS103~1\WLSERV~1.3 -Dwls.home=K:\APPSER~1\WLS103~1\WLSERV~1.3\server -Dweblogic.home=K:\APPSER~1\WLS103~1\WLSERV~1.3\server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=K:\APPSER~1\WLS103~1\patch_wls1036\profiles\default\sysext_manifest_classpath  weblogic.Server
      Listening for transport dt_socket at address: 10000
      <02/01/2017 17h13min26s BRST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> 
      <02/01/2017 17h13min27s BRST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> 
      <02/01/2017 17h13min27s BRST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.2.2-7-148152-1.6.0_29-20111221-2104-windows-x86_64 from Oracle Corporation> 
      <02/01/2017 17h13min28s BRST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 > 
      <02/01/2017 17h13min30s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
      <02/01/2017 17h13min30s BRST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
      <02/01/2017 17h13min32s BRST> <Notice> <LoggingService> <BEA-320400> <The log file K:\AppServer\wls1036_x64\user_projects\domains\sipp_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> 
      <02/01/2017 17h13min32s BRST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to K:\AppServer\wls1036_x64\user_projects\domains\sipp_domain\servers\AdminServer\logs\AdminServer.log00423. Log messages will continue to be logged in K:\AppServer\wls1036_x64\user_projects\domains\sipp_domain\servers\AdminServer\logs\AdminServer.log.> 
      <02/01/2017 17h13min32s BRST> <Notice> <Log Management> <BEA-170019> <The server log file K:\AppServer\wls1036_x64\user_projects\domains\sipp_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.> 
      <02/01/2017 17h13min32s BRST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'K:\JVM\JDK-16~1.2-X\bin;C:\WINDOWS\system32;C:\WINDOWS;K:\APPSER~1\WLS103~1\patch_wls1036\profiles\default\native;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\native\win\32;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\bin;K:\APPSER~1\WLS103~1\modules\ORGAPA~1.1\bin;K:\JVM\JDK-16~1.2-X\jre\bin;K:\JVM\JDK-16~1.2-X\bin;K:\Build\apache-maven-3.0.5\bin;K:\Build\apache-ant-1.9.1\bin;K:\links;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Codec Pack TIC x64\QuickTime Alternative\QTSystem;C:\Program Files\Citrix\ICAService\;C:\Program Files\Citrix\System32\;C:\Program Files (x86)\Common Files\Citrix\System32\;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\Program Files (x86)\IXOS\bin;C:\Program Files (x86)\Citrix\ICAService\;C:\Program Files (x86)\Citrix\System32\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Codec Pack TIC x64\QuickTime Alternative\QTSystem;C:\Program Files\Citrix\ICAService\;C:\Program Files\Citrix\System32\;C:\Program Files (x86)\Common Files\Citrix\System32\;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\Program Files (x86)\IXOS\bin;C:\Program Files (x86)\Citrix\ICAService\;C:\Program Files (x86)\Citrix\System32\;%MVN_HOME%\bin;K:\JVM\jdk-1.7.0-hotspot-7u40-x64\bin;K:\JVM\jdk-1.6.0-jrockit-R28.2.2-x64\bin;;K:\APPSER~1\WLS103~1\WLSERV~1.3\server\native\win\32\oci920_8;.'
      > 
      <02/01/2017 17h13min35s BRST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
      <02/01/2017 17h13min35s BRST> <Warning> <Store> <BEA-280109> <Unable to load the native wlfileio library for the persistent file store "_WLS_AdminServer". The store will use buffered I/O. The store is still operating in a transactionally safe synchronous mode. See store open log messages for the requested and final write policies.> 
      <02/01/2017 17h13min38s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY> 
      <02/01/2017 17h13min38s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
      <02/01/2017 17h13min41s BRST> <Notice> <LoggingService> <BEA-320400> <The log file K:\AppServer\wls1036_x64\user_projects\domains\sipp_domain\servers\AdminServer\logs\sipp_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> 
      <02/01/2017 17h13min41s BRST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to K:\AppServer\wls1036_x64\user_projects\domains\sipp_domain\servers\AdminServer\logs\sipp_domain.log00085. Log messages will continue to be logged in K:\AppServer\wls1036_x64\user_projects\domains\sipp_domain\servers\AdminServer\logs\sipp_domain.log.> 
      <02/01/2017 17h13min41s BRST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.> 
      <02/01/2017 17h13min41s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN> 
      <02/01/2017 17h13min41s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING> 
      <02/01/2017 17h13min41s BRST> <Warning> <Server> <BEA-002611> <Hostname "MV00004267.petrobras.biz", maps to multiple IP addresses: 10.30.220.28, fe80:0:0:0:3c14:5e06:41ef:e371%11> 
      <02/01/2017 17h13min41s BRST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:3c14:5e06:41ef:e371:7001 for protocols iiop, t3, ldap, snmp, http.> 
      <02/01/2017 17h13min41s BRST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> 
      <02/01/2017 17h13min41s BRST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.> 
      <02/01/2017 17h13min41s BRST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.30.220.28:7001 for protocols iiop, t3, ldap, snmp, http.> 
      <02/01/2017 17h13min41s BRST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:0:5efe:a1e:dc1c:7001 for protocols iiop, t3, ldap, snmp, http.> 
      <02/01/2017 17h13min41s BRST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "sipp_domain" running in Development Mode> 
      <02/01/2017 17h13min41s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> 
      <02/01/2017 17h13min41s BRST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> 
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 61.794 sec <<< FAILURE!