[
http://jira.codehaus.org/browse/MWAS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167311#action_167311
]
fabrice commented on MWAS-35:
-----------------------------
I read the
http://jira.codehaus.org/browse/MWAS-33?focusedCommentId=162832&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_162832
And if works better now, I made a shell script
#!bin/bash
/opt/apache-maven/bin/mvn clean pre-integration-test
sleep 10
/opt/apache-maven/bin/mvn org.codehaus.mojo:was6-maven-plugin:1.1:wsStartApp
I will make a feedback as soon as I have more experience with my solution.
> wsStart Error after a sucessfull installation
> ---------------------------------------------
>
> Key: MWAS-35
> URL: http://jira.codehaus.org/browse/MWAS-35
> Project: Maven 2.x WebSphere 6 Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: WAS 6.1.0.21
> Reporter: fabrice
> Assignee: David J. M. Karlsen
>
> Hi
> I have already posted a issue about wsStart problem. In most of case (80%) my
> mvn clean post-integration-test run in failure.
> I think it is a synchronize problem because the ear is installed, I verified
> with the admin console.
> Even if you think it is not an issue, for all servers of my company this
> plugin works in the same way. So I am very sorry to not be able to use this.
> If it is a synchronize problem please indicate how to configure properly in
> the FAQ
> Thank u in advance, it is so discouraging to see my precedent remark did not
> create any action.
> Fabrice
> [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
> web3n1CellManager01 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/wsant22233jacl" ; 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]
> /home/tomcat/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]
> [ERROR] Total time: 10 seconds
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Return code: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 13 seconds
> [INFO] Finished at: Thu Feb 26 15:25:36 CET 2009
> [INFO] Final Memory: 15M/82M
> [INFO]
> ------------------------------------------------------------------------
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> <version>1.1</version>
> <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>myServer</host>
> <targetCell>myServerCell01</targetCell>
> <targetNode>myServerNode01</targetNode>
> <targetServer>server1</targetServer>
> <profileName>Dmgr01</profileName>
> <server>dmgr</server>
> <conntype>SOAP</conntype>
> <port>8879</port>
> <wasHome>
> /opt/IBM/WebSphere/AppServer
> </wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>
> </plugins>
--
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