I am using maven to manage my dependancies and build. I would like Maven to install the ear file to WebSphere Portal v6.1. Maven has a plugin called was6-maven-plugin that I am using.
The following error is being outputed to the console:
{code}[wsadmin] WASX7023E: Error creating "SOAP" connection to host "localhost"; exception information: com.ibm.websphere.management.exception.ConnectorNotAvailableException: com.ibm.websphere.management.exception.ConnectorNotAvailableException: ADMC0016E: The system cannot create a SOAP connector to connect to host localhost at port 8881.
[INFO] [wsadmin] WASX7213I: This scripting client is not connected to a server process; please refer to the log file C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\logs\wsadmin.traceout for additional information.
[INFO] [wsadmin] WASX8011W: AdminTask object is not available.
[INFO] [wsadmin] WASX7017E: Exception received while running file "D:\DOCUME~1\dustfinger\LOCALS~1\Temp\wsant17209jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.
[INFO]
[ERROR]
[ERROR] BUILD FAILED
[ERROR] D:\Projects\myArtifact\target\was6-maven-plugin\was6plugin-build.xml:21: 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.InstallApplication.execute(InstallApplication.java:160)
[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: 7 seconds
[INFO] Return code: 0
[INFO] [was6:wsStartServer]{code}
Below is my pom.xml:
{code}
4.0.0
myprojectid
myArtifact
ear
myArtifact
0.0.1
system
com.ibm.ws
runtime
6.1.0
C:/Program Files/IBM/SDP/runtimes/base_v61/plugins/com.ibm.ws.runtime_6.1.0.jar
icu4j
icu4j
3.4.1
system
${basedir}\WebContent\WEB-INF\lib\icu4j_3_4_1.jar
jsf-ibm
jsf-ibm
2.0
system
${basedir}\WebContent\WEB-INF\lib\jsf-ibm.jar
jsf-impl-messages
jsf-impl-messages
2.0
system
${basedir}\WebContent\WEB-INF\lib\jsf-impl-messages.jar
jsf-portletbridge
jsf-portletbridge
2.0
system
${basedir}\WebContent\WEB-INF\lib\jsf-portletbridge.jar
jstl
jstl
2.0
system
${basedir}\WebContent\WEB-INF\lib\jstl.jar
standard
standard
2.0
system
${basedir}\WebContent\WEB-INF\lib\standard.jar
CMWebService
CMWebService
2.0
system
${basedir}\..\lib\CMWebService.jar
javax.faces
jsf-api
1.2_02
javax.xml
jaxrpc
1.1
org.springframework
spring
2.0
org.springframework
spring-aspects
2.0
org.springframework
spring-mock
2.0
org.hibernate
ejb3-persistence
1.0.2.GA
log4j
log4j
1.2.14
javax.portlet
portlet-api
2.0
!-- C:\Program Files\IBM\SDP70\runtimes\base_v61
C:\Program Files\IBM\SDP\runtimes\base_v61
install
${basedir}/target
myArtifactEar
!--
META-INF
org.apache.maven.wagon
wagon-ftp
1.0-beta-2
org.apache.maven.wagon
wagon-file
1.0-beta-2
maven-compiler-plugin
1.5
1.5
org.apache.maven.plugins
maven-source-plugin
!--
attach-sources
jar
org.apache.maven.plugins
maven-surefire-plugin
**/*ManualTest.java
org.apache.maven.plugins
maven-eclipse-plugin
true
true
target/classes
org.codehaus.mojo
cobertura-maven-plugin
2.0
clean
org.codehaus.mojo
was6-maven-plugin
1.1
install
install
!-- wsDefaultBindings
wsStopServer
installApp
wsStartServer
${was6Home}
SOAP
localhost
10040
wpadmin
admin
!-- MY-TARGET-CLUSTER
!-- AppSrv01
was61profile1
true
false
org.apache.maven.plugins
maven-surefire-report-plugin
org.apache.maven.plugins
maven-checkstyle-plugin
.checkstyle.xml
org.apache.maven.plugins
maven-pmd-plugin
utf-8
100
1.5
**/*Bean.java
**/generated/*.java
org.codehaus.mojo
cobertura-maven-plugin
2.0
org.codehaus.mojo
taglist-maven-plugin
TODO
FIXME
@rework
@review
@code-review
@todo
@deprecated
True
True
org.apache.maven.plugins
maven-javadoc-plugin
@code-review
a
Code Review:
org.apache.maven.plugins
maven-changes-plugin
changes-report
org.apache.maven.plugins
maven-jxr-plugin
org.codehaus.mojo
findbugs-maven-plugin
1.1
false
Normal
Default
false
false
{code}
I verified that serverindex.xml has the following configuration which tells me that I have the correct port number, and that a SOAP connection should be possible on port 8881.
{code}
{code}
Does anyone have any ideas? I have been working on this for many days now, just trying to get to the point where my portlets are actually being deployed to the server. Any advice would be much appreciated.
Sincerely,
dustfinger
Sincerely,
dustfinger
Sincerely,
dustfinger.
-FF
The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of IBM.
Thank you very much for your reply. I am trying to deploy to WebSphere application server v6.1. I believe that the maven plugin can only deploy to the application server, and not the portal, but i may be wrong about that. The application server is running. I have verified that I am using the correct port to establish a SOAP connection on. I have also tested the connection in Rational Software Architect for Websphere.
The following is from C:\program files\ibm\sdp\runtimes\base_v61\profiles\was61profile1\logs\wsadmin.traceout:
{code}************ Start Display Current Environment ************
Host Operating System is Windows XP, version 5.1 build 2600 Service Pack 2
Java version = J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223ifx-20080811 (JIT enabled)
J9VM - 20080809_21892_lHdSMr
JIT - 20080620_1845_r8
GC - 200806_19, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:/Program Files/IBM/SDP/runtimes/base_v61
user.install.root = C:/Program Files/IBM/SDP/runtimes/base_v61/profiles/was61profile1
Java Home = C:\Program Files\IBM\SDP\runtimes\base_v61\java\jre
ws.ext.dirs = C:/Program Files/IBM/SDP/runtimes/base_v61/java/lib;C:/Program Files/IBM/SDP/runtimes/base_v61/classes;C:/Program Files/IBM/SDP/runtimes/base_v61/lib;C:/Program Files/IBM/SDP/runtimes/base_v61/installedChannels;C:/Program Files/IBM/SDP/runtimes/base_v61/lib/ext;C:/Program Files/IBM/SDP/runtimes/base_v61/web/help;C:/Program Files/IBM/SDP/runtimes/base_v61/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = C:\Program Files\IBM\SDP\runtimes\base_v61\lib\bootstrap.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\optionalLibraries\jython\jython.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\properties;C:\Program Files\IBM\SDP\runtimes\base_v61\properties;C:\Program Files\IBM\SDP\runtimes\base_v61\lib\startup.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\lib\j2ee.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\lib\lmproxy.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\lib\urlprotocols.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\java\lib\tools.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\deploytool\itp\batchboot.jar;C:\Program Files\IBM\SDP\runtimes\base_v61\deploytool\itp\batch2.jar
Java Library path = C:\Program Files\IBM\SDP\runtimes\base_v61\java\jre\bin;.;C:\Program Files\IBM\SDP\runtimes\base_v61\bin;C:\Program Files\IBM\SDP\runtimes\base_v61\java\bin;C:\Program Files\IBM\SDP\runtimes\base_v61\java\jre\bin;C:\Program Files\IBM\SDP70Shared\AgentController\citrixOCR;C:\Program Files\IBM\GSK5\lib;C:\Program Files\IBM\SDP70\rpt\DCI\rpa_prod\tivoli_comp\bin\w32-ix86;C:\Program Files\IBM\SDP70Shared\AgentController\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;d:\data\notes;c:\program files\notes;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearCase\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Avanade\ACA.NET 3.0\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Java\jdk1.6.0_13\bin;C:\Program Files\HEAT\;C:\Program Files\InputAccel\Client\binnt;C:\Program Files\IBM\SDP70Shared\AgentController\citrixOCR;C:\Program Files\IBM\GSK5\lib;C:\Program Files\IBM\SDP70\rpt\DCI\rpa_prod\tivoli_comp\bin\w32-ix86;C:\Program Files\IBM\SDP70Shared\AgentController\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;d:\data\notes;c:\program files\notes;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearCase\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Avanade\ACA.NET 3.0\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Java\jdk1.6.0_13\bin;C:\Program Files\HEAT\;C:\Program Files\InputAccel\Client\binnt;C:\PROGRA~1\E!PC
Current trace specification = *=info
************* End Display Current Environment *************
[9/3/09 14:14:09:363 MDT] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info.
[9/3/09 14:14:10:007 MDT] 0000000a AbstractShell A WASX7326I: Loaded properties file "/C:/Program%20Files/IBM/SDP/runtimes/base_v61/profiles/was61profile1/properties/wsadmin.properties"
[9/3/09 14:14:10:191 MDT] 0000000a SSLConfig W CWPKI0041W: One or more key stores are using the default password.
[9/3/09 14:14:10:191 MDT] 0000000a SSLConfigMana I CWPKI0027I: Disabling default hostname verification for HTTPS URL connections.
[9/3/09 14:14:12:476 MDT] 0000000a AbstractShell A WASX7093I: Issuing message: "WASX7023E: Error creating "SOAP" connection to host "localhost"; exception information: com.ibm.websphere.management.exception.ConnectorNotAvailableException: com.ibm.websphere.management.exception.ConnectorNotAvailableException: ADMC0016E: The system cannot create a SOAP connector to connect to host localhost at port 8881."
[9/3/09 14:14:12:476 MDT] 0000000a AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.websphere.management.exception.ConnectorException
java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException
" follows:
com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a SOAP connector to connect to host localhost at port 8881 with SOAP connector security enabled.
at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:486)
at com.ibm.ws.scripting.CommonScriptingObject.connectToAdminService(CommonScriptingObject.java:120)
at com.ibm.ws.scripting.CommonScriptingObject. (CommonScriptingObject.java:101)
at com.ibm.ws.scripting.AdminControlClient. (AdminControlClient.java:165)
at com.ibm.ws.scripting.AbstractShell.createControlClient(AbstractShell.java:1062)
at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1932)
at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1022)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:336)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:91)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:341)
... 27 more
Caused by: com.ibm.websphere.management.exception.ConnectorNotAvailableException: com.ibm.websphere.management.exception.ConnectorNotAvailableException: ADMC0016E: The system cannot create a SOAP connector to connect to host localhost at port 8881.
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:344)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient. (SOAPConnectorClient.java:177)
... 32 more
Caused by: com.ibm.websphere.management.exception.ConnectorNotAvailableException: ADMC0016E: The system cannot create a SOAP connector to connect to host localhost at port 8881.
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.getUrl(SOAPConnectorClient.java:1110)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.access$300(SOAPConnectorClient.java:110)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:309)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:302)
... 33 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:543)
at java.net.Socket.connect(Socket.java:493)
at java.net.Socket. (Socket.java:401)
at java.net.Socket.(Socket.java:244)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.getUrl(SOAPConnectorClient.java:1090)
... 37 more
[9/3/09 14:14:12:476 MDT] 0000000a AdminControlC W WASX7072E: The control service is not available.
[9/3/09 14:14:12:492 MDT] 0000000a AdminConfigCl W WASX7198W: The configuration service is not running. Configuration commands will not run.
[9/3/09 14:14:12:553 MDT] 0000000a AdminConfigCl A WASX7208I: Validation settings in effect now: Level=HIGHEST, Cross-validation=true, Output file=C:/Program Files/IBM/SDP/runtimes/base_v61/profiles/was61profile1/logs/wsadmin.valout
[9/3/09 14:14:12:584 MDT] 0000000a AdminAppClien W WASX7072E: The control service is not available.
[9/3/09 14:14:13:120 MDT] 0000000a AdminAppClien W WASX7206W: The application management service is not running. Application management commands will not run.
[9/3/09 14:14:13:120 MDT] 0000000a AdminCmdClien W WASX7198W: The configuration service is not running. Configuration commands will not run.
[9/3/09 14:14:13:120 MDT] 0000000a CommandMgr E commandframework failed to initialize in client mode
[9/3/09 14:14:13:212 MDT] 0000000a AdminCmdClien W WASX7198W: The configuration service is not running. Configuration commands will not run.
[9/3/09 14:14:13:212 MDT] 0000000a AdminCmdClien W WASX8011W: AdminTask object is not available.
[9/3/09 14:14:13:626 MDT] 0000000a AbstractShell A WASX7091I: Executing script: "D:\DOCUME~1\dustfinger~1.WIL\LOCALS~1\Temp\wsant33083jacl"
[9/3/09 14:14:13:657 MDT] 0000000a AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.
" follows:
com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.
at com.ibm.ws.scripting.AbstractShell.setAndThrowScriptingException(AbstractShell.java:1630)
at com.ibm.ws.scripting.AdminAppClient.checkService(AdminAppClient.java:5628)
at com.ibm.ws.scripting.AdminAppClient.doInstall(AdminAppClient.java:1685)
at com.ibm.ws.scripting.AdminAppClient.doInstall(AdminAppClient.java:1659)
at com.ibm.ws.scripting.AdminAppClient.install(AdminAppClient.java:1266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:125)
at tcl.lang.JavaInvoke.call(JavaInvoke.java:263)
at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:121)
at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:914)
at tcl.lang.Parser.evalObjv(Parser.java:818)
at tcl.lang.Parser.eval2(Parser.java:1221)
at tcl.lang.Interp.eval(Interp.java:2222)
at tcl.lang.Interp.eval(Interp.java:2276)
at com.ibm.bsf.engines.jacl.JaclEngine.eval(Unknown Source)
at com.ibm.bsf.util.BSFEngineImpl.exec(Unknown Source)
at com.ibm.bsf.BSFManager$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.ibm.bsf.BSFManager.exec(Unknown Source)
at com.ibm.ws.scripting.AbstractShell.executeScript(AbstractShell.java:991)
at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1957)
at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1022)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:336)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:91)
[9/3/09 14:14:13:657 MDT] 0000000a AbstractShell A WASX7093I: Issuing message: "WASX7017E: Exception received while running file "D:\DOCUME~1\dustfinger~1.WIL\LOCALS~1\Temp\wsant33083jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.
"
[9/3/09 14:14:13:657 MDT] 0000000c AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
" follows:
com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
at com.ibm.ws.scripting.AbstractShell.setAndThrowScriptingException(AbstractShell.java:1630)
at com.ibm.ws.scripting.AdminConfigClient.checkService(AdminConfigClient.java:2317)
at com.ibm.ws.scripting.WasxShell.leaving(WasxShell.java:969)
at com.ibm.ws.scripting.WasxShell$1.run(WasxShell.java:1030){code}
The important line is {code}com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a SOAP connector to connect to host localhost at port 8881 with SOAP connector security enabled.{code} SO i checked my classpath and added {code}C:\Program Files\IBM\SDP\runtimes\base_v61\plugins\com.ibm.ws.security.crypto_6.1.0.jar{code} and then rebooted. I am still getting exactly the same error.
Sincerely,
dustfinger
You mentioned that if it's server1, then server1 must be started. After looking over my pom i realized that I was stopping the server before installing the ear and then starting the server again.{code} wsStopServer
installApp
wsStartServer{code}.
Problem solved. THank you very much fang.
Sincerely,
dustfinger.