I'm using WL 9.2.2. As part of my build process, which uses ANT, I'm embedding some WLST code. But I'm getting an error, "Deploy failed for id '1,217,948,256,238' since no targets are reachable". I have verified, though, that my connection parameters are correct -- I can connect to the server using the interactive mode of WLST. What might be causing the error?
deploy: [wlst] <WLSTTask> Adding system to sys.argv [wlst] <WLSTTask> Adding weblogic to sys.argv [wlst] <WLSTTask> Adding t3://rhonti:17001 to sys.argv [wlst] <WLSTTask> sys.argv is ['./wls922_definitions.py', 'system', 'weblogic', 't3://rhonti:17001'] [wlst] <WLSTTask> All lines will be trimmed by 10 [wlst] <WLSTTask> The script that will be executed [wlst] connect(sys.argv,sys.argv,sys.argv); [wlst] deploy("nps_config_gui", "/export/third-party/etsbea/nps_pt_wars/wls922/nps_config_gui.war", targets="NPSCONFIG_GUI_Cluster"); [wlst] shutdown("NPSCONFIG_GUI_Cluster","Cluster"); [wlst] start("NPSCONFIG_GUI_Cluster","Cluster"); [wlst] disconnect();
[wlst] Connecting to t3://rhonti:17001 with userid system ... [wlst] Successfully connected to Admin Server 'npsadmin' that belongs to domain 'nps_pt_92'.
[wlst] Warning: An insecure protocol was used to connect to the [wlst] server. To ensure on-the-wire security, the SSL port or [wlst] Admin port should be used instead.
[wlst] Deploying application from /export/third-party/etsbea/nps_pt_wars/wls922/nps_config_gui.war to targets NPSCONFIG_GUI_Cluster (upload=false) ... [wlst] <Aug 5, 2008 8:57:35 AM MDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, nps_config_gui [archive: /export/third-party/etsbea/nps_pt_wars/wls922/nps_config_gui.war], to NPSCONFIG_GUI_Cluster .> [wlst] .Failed to deploy the application with status failed [wlst] Current Status of your Deployment: [wlst] Deployment command type: deploy [wlst] Deployment State : failed [wlst] Deployment Message : java.lang.Exception: [DeploymentService:290049]Deploy failed for id '1,217,948,256,238' since no targets are reachable.
due to: Traceback (innermost last): File "<string>", line 2, in ? File "<iostream>", line 234, in deploy WLSTException: 'Error occured while performing deploy : Target exception thrown while deploying application: Error occured while performing deploy : Deployment Failed.Error occured while performing deploy : Deployment Failed. Use dumpStack() to view the full stacktrace'
check if all server on the cluster are running when you try to deploy. Are they running? Also check if at least one of them is running. If you have checked "Enable Cluster Constraints" then all servers must be up, running and reachable by admin server for your deployment to work.
Joined: Jul 02, 2008
I only have one server in my cluster if that is important.
How, using WLST, do I start a cluster only if it is stopped? - Dave