Unstabilitié of wsStartApp Goal
-------------------------------

                 Key: MWAS-32
                 URL: http://jira.codehaus.org/browse/MWAS-32
             Project: Maven 2.x WebSphere 6 Plugin
          Issue Type: Bug
    Affects Versions: 1.0, 1.0-alpha-2, 1.0-alpha-1
         Environment: Linux tl-em-1 2.6.19-gentoo-r5 #4 SMP Wed Feb 27 18:27:16 
CET 2008 i686 Intel(R) Xeon(R) CPU E5345 @ 2.33GHz GenuineIntel GNU/Linux
Maven 2.0.9
WAS ND 6.1.0.19
            Reporter: fabrice
            Assignee: David J. M. Karlsen
            Priority: Blocker


Hello

On the same physical machine I have installed WAS6 updated in 6.1.0.19 (but the 
error occurs in 6.1.0.0 too). 
My deployement manager use SOAP connector like my application server for 
administration tasks.
In most of case but not always wsStartApp failed, log are joined bellow :
wsStopApp never failed, wsInstallApp is always working too but wsStartApp is 
not stable. It is a blocking error for my aims in my company.

Plugin configuration :

-------------------------------------------
                <build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>was6-maven-plugin</artifactId>
                                <executions>
                                    <execution>
                                                <id>package-was6</id>
                                                <phase>package</phase>          
                        
                                      <goals>
                                        <goal>wsDefaultBindings</goal>
                                      </goals>
                                    </execution>                                
                                        <execution>
                                                
<id>pre-integration-test-was6</id>
                                                
<phase>pre-integration-test</phase>
                                                <goals>                         
                                        
                                                        <goal>installApp</goal> 
                                                        <goal>wsStartApp</goal> 
                                                        
                                                </goals>                        
                
                                        </execution>
                                        <execution>
                                                
<id>post-integration-test-was6</id>
                                                
<phase>post-integration-test</phase>
                                                <goals>                         
                                        
                                                        <goal>wsStopApp</goal>  
                                                        
<goal>wsUninstallApp</goal>                                                     
        
                                                </goals>                        
                
                                        </execution>
                                </executions>                   
                                <configuration>
                                        <host>tl-em-1</host>
                                        <targetCell>tl-em-1Cell01</targetCell>
                                        <targetNode>tl-em-1Node01</targetNode>
                                        <targetServer>server1</targetServer>
                                        <conntype>SOAP</conntype>
                                        <port>8879</port>
                                        <wasHome>
                                                /opt/IBM/WebSphere/AppServer
                                        </wasHome>
                                        <verbose>true</verbose>
                                        <updateExisting>false</updateExisting>
                                </configuration>
                        </plugin>
                </plugins>
        </build>

----------------------------------------------------

LOG ERROR :

[....]
[INFO] wsStartApp:
[INFO] Class com.ibm.websphere.ant.tasks.StartApplication loaded from parent 
loader (parentFirst)
[INFO]  +Datatype wsStartApp com.ibm.websphere.ant.tasks.StartApplication
[INFO] [wsStartApp] Lancement de l'application [pec-web-ear-3.12.0.0.1]...
[INFO] dropping /opt/IBM/WebSphere/AppServer/optionalLibraries/jython.jar from 
path as it doesn't exist
[INFO] dropping /opt/IBM/WebSphere/AppServer/optionalLibraries/jython.jar from 
path as it doesn't exist
[INFO]   [wsadmin] Executing '/opt/IBM/WebSphere/AppServer/java/jre/bin/java' 
with arguments:
[INFO]   [wsadmin] '-Dlocal.cell=tl-em-1Cell01'
[INFO]   [wsadmin] '-Dlocal.node=tl-em-1CellManager01'
[INFO]   [wsadmin] '-Dcom.ibm.etools.EJBDeploy.debug=true'
[INFO]   [wsadmin] 
'-Dcom.ibm.itp.location=/opt/IBM2/WebSphere/AppServer/deploytool/itp'
[INFO]   [wsadmin] '-Dcom.ibm.CORBA.BootstrapHost=tl-em-1'
[INFO]   [wsadmin] '-Dcom.ibm.ws.management.standalone=true'
[INFO]   [wsadmin] '-Dfile.encoding=UTF-8'
[INFO]   [wsadmin] '-Dws.output.encoding=console'
[INFO]   [wsadmin] '-Dosgi.install.area=/opt/IBM2/WebSphere/AppServer'
[INFO]   [wsadmin] 
'-Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/configuration'
[INFO]   [wsadmin] 
'-Dcom.ibm.SSL.ConfigURL=file:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/ssl.client.props'
[INFO]   [wsadmin] 
'-Dcom.ibm.CORBA.ConfigURL=file:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/sas.client.props'
[INFO]   [wsadmin] 
'-Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/wsjaas_client.conf'
[INFO]   [wsadmin] 
'-Dcom.ibm.SOAP.ConfigURL=file:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/soap.client.props'
[INFO]   [wsadmin] '-Dwebsphere.lib.dir=/opt/IBM2/WebSphere/AppServerlib'
[INFO]   [wsadmin] 
'-Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager'
[INFO]   [wsadmin] '-Djava.util.logging.configureByServer=true'
[INFO]   [wsadmin] 
'-Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM2/WebSphere/AppServer/classes:/opt/IBM2/WebSphere/AppServer/lib:/opt/IBM2/WebSphere/AppServer/installedChannels:/opt/IBM2/WebSphere/AppServer/lib/ext:/opt/IBM2/WebSphere/AppServer/web/help:/opt/IBM2/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime'
[INFO]   [wsadmin] '-Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01'
[INFO]   [wsadmin] '-Dwas.install.root=/opt/IBM2/WebSphere/AppServer'
[INFO]   [wsadmin] 
'-Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01'
[INFO]   [wsadmin] '-Dwas.node.name=tl-em-1CellManager01'
[INFO]   [wsadmin] '-Dwas.cell.name=tl-em-1Cell01'
[INFO]   [wsadmin] 
'-Dwas.repository.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config'
[INFO]   [wsadmin] '-Xmx256M'
[INFO]   [wsadmin] '-classpath'
[INFO]   [wsadmin] 
'/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/j2ee.jar:/opt/IBM/WebSphere/AppServer/optionalLibraries/jython/jython.jar:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties:/opt/IBM2/WebSphere/AppServer/properties:/opt/IBM2/WebSphere/AppServer/lib/startup.jar:/opt/IBM2/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM2/WebSphere/AppServer/lib/j2ee.jar:/opt/IBM2/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM2/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar:/opt/IBM2/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM2/WebSphere/AppServer/deploytool/itp/batch2.jar'
[INFO]   [wsadmin] 'com.ibm.wsspi.bootstrap.WSPreLauncher'
[INFO]   [wsadmin] '-nosplash'
[INFO]   [wsadmin] '-application'
[INFO]   [wsadmin] 'com.ibm.ws.bootstrap.WSLauncher'
[INFO]   [wsadmin] 'com.ibm.ws.runtime.WsAdmin'
[INFO]   [wsadmin] '-f'
[INFO]   [wsadmin] '/tmp/wsant12730jacl'
[INFO]   [wsadmin] '-lang'
[INFO]   [wsadmin] 'jacl'
[INFO]   [wsadmin] '-conntype'
[INFO]   [wsadmin] 'SOAP'
[INFO]   [wsadmin] '-host'
[INFO]   [wsadmin] 'localhost'
[INFO]   [wsadmin] '-port'
[INFO]   [wsadmin] '8879'
[INFO]   [wsadmin]
[INFO]   [wsadmin] The ' characters around the executable and arguments are
[INFO]   [wsadmin] not part of the command.
[INFO] dropping /opt/IBM/WebSphere/AppServer/optionalLibraries/jython.jar from 
path as it doesn't exist
[INFO] dropping /opt/IBM/WebSphere/AppServer/optionalLibraries/jython.jar from 
path as it doesn't exist
[INFO] Execute:Java13CommandLauncher: Executing 
'/opt/IBM/WebSphere/AppServer/java/jre/bin/java' with arguments:
[INFO] '-Dlocal.cell=tl-em-1Cell01'
[INFO] '-Dlocal.node=tl-em-1CellManager01'
[INFO] '-Dcom.ibm.etools.EJBDeploy.debug=true'
[INFO] '-Dcom.ibm.itp.location=/opt/IBM2/WebSphere/AppServer/deploytool/itp'
[INFO] '-Dcom.ibm.CORBA.BootstrapHost=tl-em-1'
[INFO] '-Dcom.ibm.ws.management.standalone=true'
[INFO] '-Dfile.encoding=UTF-8'
[INFO] '-Dws.output.encoding=console'
[INFO] '-Dosgi.install.area=/opt/IBM2/WebSphere/AppServer'
[INFO] 
'-Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/configuration'
[INFO] 
'-Dcom.ibm.SSL.ConfigURL=file:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/ssl.client.props'
[INFO] 
'-Dcom.ibm.CORBA.ConfigURL=file:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/sas.client.props'
[INFO] 
'-Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/wsjaas_client.conf'
[INFO] 
'-Dcom.ibm.SOAP.ConfigURL=file:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/soap.client.props'
[INFO] '-Dwebsphere.lib.dir=/opt/IBM2/WebSphere/AppServerlib'
[INFO] '-Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager'
[INFO] '-Djava.util.logging.configureByServer=true'
[INFO] 
'-Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM2/WebSphere/AppServer/classes:/opt/IBM2/WebSphere/AppServer/lib:/opt/IBM2/WebSphere/AppServer/installedChannels:/opt/IBM2/WebSphere/AppServer/lib/ext:/opt/IBM2/WebSphere/AppServer/web/help:/opt/IBM2/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime'
[INFO] '-Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01'
[INFO] '-Dwas.install.root=/opt/IBM2/WebSphere/AppServer'
[INFO] '-Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01'
[INFO] '-Dwas.node.name=tl-em-1CellManager01'
[INFO] '-Dwas.cell.name=tl-em-1Cell01'
[INFO] 
'-Dwas.repository.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config'
[INFO] '-Xmx256M'
[INFO] '-classpath'
[INFO] 
'/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/j2ee.jar:/opt/IBM/WebSphere/AppServer/optionalLibraries/jython/jython.jar:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties:/opt/IBM2/WebSphere/AppServer/properties:/opt/IBM2/WebSphere/AppServer/lib/startup.jar:/opt/IBM2/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM2/WebSphere/AppServer/lib/j2ee.jar:/opt/IBM2/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM2/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar:/opt/IBM2/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM2/WebSphere/AppServer/deploytool/itp/batch2.jar'
[INFO] 'com.ibm.wsspi.bootstrap.WSPreLauncher'
[INFO] '-nosplash'
[INFO] '-application'
[INFO] 'com.ibm.ws.bootstrap.WSLauncher'
[INFO] 'com.ibm.ws.runtime.WsAdmin'
[INFO] '-f'
[INFO] '/tmp/wsant12730jacl'
[INFO] '-lang'
[INFO] 'jacl'
[INFO] '-conntype'
[INFO] 'SOAP'
[INFO] '-host'
[INFO] 'localhost'
[INFO] '-port'
[INFO] '8879'
[INFO]
[INFO] The ' characters around the executable and arguments are
[INFO] not part of the command.
[INFO]   [wsadmin] WASX7209I: Connecté au processus "dmgr" sur le noeud 
tl-em-1CellManager01 en utilisant le connecteur SOAP. Le type de processus est 
: DeploymentManager
[INFO]   [wsadmin] WASX7017E: Exception reçue lors de l''exécution du fichier 
"/tmp/wsant12730jacl" ; informations sur l''exception : 
javax.management.MBeanException
[INFO]   [wsadmin] com.ibm.ws.exception.ConfigurationWarning: Application 
pec-web-ear-3.12.0.0.1 not installed
[INFO]
[ERROR]
[ERROR] BUILD FAILED
[ERROR] 
/root/SITE_PEC_EAR/workspace/target/was6-maven-plugin/was6plugin-build.xml:37: 
Java returned: 105
[ERROR]         at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
[ERROR]         at com.ibm.websphere.ant.tasks.WsAdmin.execute(WsAdmin.java:409)
[ERROR]         at 
com.ibm.websphere.ant.tasks.StartApplication.execute(StartApplication.java:182)
[ERROR]         at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[ERROR]         at org.apache.tools.ant.Task.perform(Task.java:364)
[ERROR]         at org.apache.tools.ant.Target.execute(Target.java:341)
[ERROR]         at org.apache.tools.ant.Target.performTasks(Target.java:369)
[ERROR]         at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[ERROR]         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[ERROR]         at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[ERROR]         at 
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[ERROR]         at org.apache.tools.ant.Main.runBuild(Main.java:668)
[ERROR]         at org.apache.tools.ant.Main.startAnt(Main.java:187)
[ERROR]         at org.apache.tools.ant.Main.start(Main.java:150)
[ERROR]         at org.apache.tools.ant.Main.main(Main.java:240)
[ERROR]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR]         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[ERROR]         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]         at java.lang.reflect.Method.invoke(Method.java:618)
[ERROR]         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)


ERROR TRACE in ffdc/dmg_exception.log

 Index  Count   Time of last Occurrence   Exception SourceId ProbeId
------+------+---------------------------+--------------------------
     1      2   16/01/09 15:04:47:992 CET 
java.lang.reflect.InvocationTargetException 
com.ibm.ws.management.connector.soap.SOAPConnector.invoke 351
     2      1   16/01/09 10:08:55:063 CET java.io.IOException 
com.ibm.ws.management.discovery.DiscoveryService.sendQuery 165
     3     12   16/01/09 15:19:19:192 CET javax.management.MBeanException 
com.ibm.ws.management.AdminServiceImpl.invoke 679
     4      2   16/01/09 15:04:47:992 CET javax.management.MBeanException 
com.ibm.ws.management.connector.soap.SOAPConnector.service 212






-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to