Link to home
Start Free TrialLog in
Avatar of vadicherla
vadicherla

asked on

cannot be started because it is installed on a different server

One more question

I created additional server from same profile (/AppSrv01) apart from server1 but i am getting below error

After creating this server one of our java develper trying to deploy jar file on this servers(atlas_dev) but she is getting this eror


cannot be started because it is installed on a different server(


Can you help with this
Avatar of vadicherla
vadicherla

ASKER

I am deploying from new server not server1.  but we error above
Please some one update this
Under same standalone application server if we create one more application server2 but when we deploy we get an error

cannot be started because it is installed on a different server(
One more question

After creating this server one of our java develper trying to deploy jar file on this servers(atlas_dev) but she is getting this eror


cannot be started because it is installed on a different server


Can you help with this
Avatar of HonorGod
Please locate the logs directory under the AppServer.

What errors exist in the log file?
Please find the attachemnt for log file e

We tried to deploy flashApp_war

Thanks
Sudhakar
SystemOut.log
Please updat this.
iated with patterns [""].
[5/1/08 19:27:52:112 EDT] 00000016 ApplicationMg A   WSVR0200I: Starting application: flashApp_war
[5/1/08 19:27:52:113 EDT] 00000016 ApplicationMg A   WSVR0204I: Application: flashApp_war  Application build level: Unknown
[5/1/08 19:27:52:318 EDT] 00000016 WebContainer  A   SRVE0161I: IBM WebSphere Application Server - Web Container.  Copyright IBM Corp. 1998-2006
[5/1/08 19:27:52:319 EDT] 00000016 WebContainer  A   SRVE0162I: Servlet Specification Level: 2.4
[5/1/08 19:27:52:320 EDT] 00000016 WebContainer  A   SRVE0163I: Supported JSP Specification Level: 2.0
[5/1/08 19:27:52:383 EDT] 00000016 WebContainer  A   SRVE0239I: Extension Factory [class com.ibm.ws.webcontainer.extension.ExtHandshakeVHostExtensionFactory] was registered successfully.
[5/1/08 19:27:52:384 EDT] 00000016 WebContainer  A   SRVE0240I: Extension Factory [class com.ibm.ws.webcontainer.extension.ExtHandshakeVHostExtensionFactory] has been associated with patterns [VH:_WS_EH* ].
[5/1/08 19:27:52:421 EDT] 00000016 WebGroup      A   SRVE0169I: Loading Web Module: Apache-Axis.
[5/1/08 19:27:52:975 EDT] 00000016 ServletWrappe I   SRVE0242I: [flashApp_war] [/flash] [AdminServlet]: Initialization successful.
[5/1/08 19:27:52:980 EDT] 00000016 ServletWrappe I   SRVE0242I: [flashApp_war] [/flash] [SOAPMonitorService]: Initialization successful.
[5/1/08 19:27:52:996 EDT] 00000016 VirtualHost   I   SRVE0250I: Web Module Apache-Axis has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443,*:9081].
[5/1/08 19:27:53:017 EDT] 00000016 ApplicationMg A   WSVR0221I: Application started: flashApp_war
[5/1/08 19:27:53:082 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_1 is listening on host *  (IPv4) port 9062.
[5/1/08 19:27:53:102 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundAdmin.
[5/1/08 19:27:53:106 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_2 is listening on host *  (IPv4) port 9082.
[5/1/08 19:27:53:112 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundDefault.
[5/1/08 19:27:53:119 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_3 is listening on host *  (IPv4) port 9045.
[5/1/08 19:27:53:127 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundAdminSecure.
[5/1/08 19:27:53:130 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_4 is listening on host *  (IPv4) port 9445.
[5/1/08 19:27:53:136 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundDefaultSecure.
[5/1/08 19:27:53:140 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain1.
[5/1/08 19:27:53:142 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain2.
[5/1/08 19:27:53:144 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain3.
[5/1/08 19:27:53:146 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain4.
[5/1/08 19:27:53:149 EDT] 00000016 SchedulerServ I   SCHD0077I: The Scheduler Service is starting the Schedulers.
[5/1/08 19:27:53:151 EDT] 00000016 SchedulerServ I   SCHD0078I: The Scheduler Service has completed starting the Schedulers.
[5/1/08 19:27:53:185 EDT] 0000000a RMIConnectorC A   ADMC0026I: The RMI Connector is available at port 2811
[5/1/08 19:27:53:245 EDT] 00000017 WorkSpaceMana A   WKSP0500I: Workspace configuration consistency check is false.
can't check it tonight... had to take son to ER
OK no problem

Thanks for reply
ASKER CERTIFIED SOLUTION
Avatar of HonorGod
HonorGod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can see file is there [root@164118-web3 flashApp_war]# pwd
/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/164118-eb3Node01Cell/applications/flashApp_war.ear/deployments/flashApp_war
[root@164118-web3 flashApp_war]# ls
deployment.xml  flashApp.war  META-INF
[root@164118-web3 flashApp_war]#

How big is "deployment.xml"?
What's in "deployment.xml"?

Can you attach it here for review?
From below message i can its deploy but my console login is using different port as below
https://192.168.100.192:9043/ibm/console/logon.jsp

[5/1/08 19:34:46:689 EDT] 00000016 WebGroup      A   SRVE0169I: Loading Web Module: Apache-Axis.
[5/1/08 19:34:47:165 EDT] 00000016 ServletWrappe I   SRVE0242I: [flashApp_war] [/flash] [AdminServlet]: Initialization successful.
[5/1/08 19:34:47:171 EDT] 00000016 ServletWrappe I   SRVE0242I: [flashApp_war] [/flash] [SOAPMonitorService]: Initialization successful.
[5/1/08 19:34:47:186 EDT] 00000016 VirtualHost   I   SRVE0250I: Web Module Apache-Axis has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443,*:9081].
[5/1/08 19:34:47:204 EDT] 00000016 ApplicationMg A   WSVR0221I: Application started: flashApp_war
[5/1/08 19:34:47:260 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_1 is listening on host *  (IPv4) port 9062.
[5/1/08 19:34:47:281 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundAdmin.
[5/1/08 19:34:47:286 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_2 is listening on host *  (IPv4) port 9082.
[5/1/08 19:34:47:292 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundDefault.
[5/1/08 19:34:47:299 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_3 is listening on host *  (IPv4) port 9045.
[5/1/08 19:34:47:307 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundAdminSecure.
[5/1/08 19:34:47:311 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_4 is listening on host *  (IPv4) port 9445.
[5/1/08 19:34:47:317 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundDefaultSecure.
[5/1/08 19:34:47:321 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain1.
[5/1/08 19:34:47:323 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain2.
[5/1/08 19:34:47:325 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain3.
[5/1/08 19:34:47:327 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain4.

deployment.xml.txt
Can you update this please
I don't understand your comment:


"From below message i can its deploy but my console login is using different port as below"

What URL are you using to access the resource?
We use following URL for console login

https://192.168.100.192:9043/ibm/console/logon.jsp

But when i look at log for this deploymnet i see following(9045). but i can see the atlas_dev2 server  from URL above conslole login

5/1/08 19:34:47:204 EDT] 00000016 ApplicationMg A   WSVR0221I: Application started: flashApp_war
[5/1/08 19:34:47:260 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_1 is listening on host *  (IPv4) port 9062.
[5/1/08 19:34:47:281 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundAdmin.
[5/1/08 19:34:47:286 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_2 is listening on host *  (IPv4) port 9082.
[5/1/08 19:34:47:292 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundDefault.
[5/1/08 19:34:47:299 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_3 is listening on host *  (IPv4) port 9045.
[5/1/08 19:34:47:307 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundAdminSecure.
[5/1/08 19:34:47:311 EDT] 0000000a TCPChannel    I   TCPC0001I: TCP Channel TCP_4 is listening on host *  (IPv4) port 9445.
[5/1/08 19:34:47:317 EDT] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundDefaultSecure
My question is do we need to change the console login to use atlas_dev2 server.
Once we login with this URL we have four server(server1,atlas_dev1,atlas_dev2,atlas_dev3). We can deploy on server1 without any issue but when we try to use any other server we get following error

cannot be started because it is installed on a different server

My question is... how to use other server apart from server1 so that i can allocate each server for each java developer

Thanks
Sudhakar
You may need to add atlas_dev2, I can't tell from the information above.

I presume, from the provided URL, that you are connecting directly to the Application Server (i.e., not through a web (HTTP) server).

I Can see the atlas_dev2 from the console  and the application is deployed on this server(atlas_dev2), but when i start the application We got below error and also i can see atlas_dev2 server running from back end

cannot be started because it is installed on a different server


What do u mean by"need to add atlas_dev2"

Thanks
Hi guru

Can you update this please
let's back up a moment.

How "exactly" do you attempt to "start the application"?
From console

Application >>> Enterprise Applications >> select particular application and click start

And i get below for that particular application

flashApp_war can not be started because it is installed on a different server.
To which application console are you connected?

hopefully atlas_dev2
From your comment You are saying i need login differenct console to use new atlas_dev2 server for deployment.

But i can see all my servers ...server1 ... atlas_dev1 ... altas_dev2 server from server1 console login.


What is steps for login to atlas_dev2 console ??

Thanks
Sudhakar
Your atlas_dev console us accessed via a different port.

What URL do you use to access the default console?

1. Download the following script (ListPorts.py)
2. Open a command prompt
3. cd to the "approprioate" AppServer/profiles/<profileName>/bin directory
4. Execute the following command
5. Look for the "WC_defaulthost" port number for the atlas_dev server
6. Start the atlas_dev server
7. Access the atlas_dev administrative console

http://<hostname>:<portNumber>/ibm/console


ListPorts.py.txt
Oh, the command to execute the script would be:

./wsadmin.sh -conntype none -lang jythong -f ListPorts.py
I am getting 404 page not found for that paticular conslole

https://192.168.100.192:9045/ibm/console/logon.jsp

Server name: atlas_dev2

Port#|EndPoint Name
-----+-------------
 2811|BOOTSTRAP_ADDRESS
 8882|SOAP_CONNECTOR_ADDRESS
 9407|SAS_SSL_SERVERAUTH_LISTENER_ADDRESS
 9408|CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS
 9409|CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS
 9062|WC_adminhost
 9082|WC_defaulthost
 9355|DCS_UNICAST_ADDRESS
 9045|WC_adminhost_secure
 9445|WC_defaulthost_secure
 5064|SIP_DEFAULTHOST
 5065|SIP_DEFAULTHOST_SECURE
 7278|SIB_ENDPOINT_ADDRESS
 7288|SIB_ENDPOINT_SECURE_ADDRESS
 5560|SIB_MQ_ENDPOINT_ADDRESS
 5580|SIB_MQ_ENDPOINT_SECURE_ADDRESS
 9102|ORB_LISTENER_ADDRESS
Why are you using 9045 instead of 9082?
Same error for this port too. Do you know whcih files we need to at back end to listen for this atlas_dev2 server. And also let me know how to delete this servers from jaython script

Thanks
Sudhakar
I'm sorry, but I don't understand the first "question".
What do you mean by:

Do you know whcih files we need to at back end to listen for this atlas_dev2 server.

Here is s Jython script to delete an application server

To use it:

- download it
- rename it to remove the .txt extension
- open a command prompt
- cd to your AppServer/profiles/<profileName>/bin directory
- invoke wsadmin using

./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2

DeleteServer.py.txt
Even on port  9082 i am unable to login to console to use atlas_dev2 Server. De we need to configure something at linux server where we installed application server to login to console

Thanks
Sudhakar
I wonder what applications that you have deployed on that application server.

- Open a command prompt
- "cd" to the AppServer/profiles/<profileName>/bin directory
- start an interactive wsadmin command using:

  ./wsadmin.sh -conntype none -lang jython

- Enter the following commands

for app in AdminApp.list().splitlines() : print app
quit

- Capture the screen contents, and attach them here
I am getting this error whe i am trying to delete the atlas_dev2 server
[root@164118-web3 bin]# ./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2 -username admin -password atlas
WASX7209I: Connected to process "server1" on node 164118-web3Node01 using SOAP connector;  The type of process is: UnManagedProcess
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[-s, atlas_dev2]"
DeleteServer --serverName atlas_dev2 --nodeName 164118-web3Node01
DeleteServer failed: 'None' object has no attribute 'group'

Thank you
Hi Sir
I am trying to deploy 'flashApp_war' on altas_dev2 Server
wsadmin>AdminApp.list().splitlines();
['DefaultApplication', 'PlantsByWebSphere', 'SamplesGallery', 'flashApp_war', 'ivtApp', 'query']

Thanks
Sudhakar
Since DefaultApplication is instatlled/deployed, we need to find its state/status.

In fact, lets find which application are currently active on the server.
To do this using wsadmin:

- Open a command prompt
- "cd" to the AppServer/profiles/<profileName>/bin directory
- start an interactive wsadmin command using:

  ./wsadmin.sh -lang jython

- Enter the following commands:

apps = AdminControl.queryNames( 'type=Application,*' ).splitlines()
for app in apps :
  print app

- And attach the output here.

I'm taking a look at the script to see what I might have done wrong.  Please accept my apologies
Line 163 should be canged from:

      if ( s.group( 1 ) == servName ) and ( s.group( 3 ) == nodeName ) :

to

      if s and ( s.group( 1 ) == servName ) and ( s.group( 3 ) == nodeName ) :

I'm trying to figure out though, how we get where with s == None.
Interesting.

Thanks for pointing that out.
OK Sir . I will wait for new updated script.

Thank you for all your work for me

wsadmin>AdminControl.queryNames( 'type=Application,*' ).splitlines()
for app in apps :['WebSphere:name=DefaultApplication,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2EENam                                                        e=DefaultApplication,Server=server1,version=6.1.0.0,type=Application,mbeanIdentifier=cells/164118-web3Node01Cell/applicat                                                        ions/DefaultApplication.ear/deployments/DefaultApplication/deployment.xml#ApplicationDeployment_1209095526435,cell=164118                                                        -web3Node01Cell,spec=1.0', 'WebSphere:name=ManagementEJB,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2E                                                        EName=ManagementEJB,Server=server1,version=6.1.0.0,type=Application,mbeanIdentifier=/mnt/drive1/IBM/WebSphere/AppServer/s                                                        ystemApps/ManagementEJB.ear/deployment.xml#ApplicationDeployment_1082128320584,cell=164118-web3Node01Cell,spec=1.0', 'Web                                                        Sphere:name=PlantsByWebSphere,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2EEName=PlantsByWebSphere,Ser                                                        ver=server1,version=6.1.0.0,type=Application,mbeanIdentifier=cells/164118-web3Node01Cell/applications/PlantsByWebSphere.e                                                        ar/deployments/PlantsByWebSphere/deployment.xml#ApplicationDeployment_1209095536714,cell=164118-web3Node01Cell,spec=1.0',                                                         'WebSphere:name=SamplesGallery,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2EEName=SamplesGallery,Serv                                                        er=server1,version=6.1.0.0,type=Application,mbeanIdentifier=cells/164118-web3Node01Cell/applications/SamplesGallery.ear/d                                                        eployments/SamplesGallery/deployment.xml#ApplicationDeployment_1209095533363,cell=164118-web3Node01Cell,spec=1.0', 'WebSp                                                        here:name=SchedulerCalendars,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2EEName=SchedulerCalendars,Ser                                                        ver=server1,version=6.1.0.0,type=Application,mbeanIdentifier=/mnt/drive1/IBM/WebSphere/AppServer/systemApps/SchedulerCale                                                        ndars.ear/deployment.xml#ApplicationDeployment_1090351959869,cell=164118-web3Node01Cell,spec=1.0', 'WebSphere:name=filetr                                                        ansfer,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2EEName=filetransfer,Server=server1,version=6.1.0.0,                                                        type=Application,mbeanIdentifier=/mnt/drive1/IBM/WebSphere/AppServer/systemApps/filetransfer.ear/deployment.xml#Applicati                                                        onDeployment_1082510674590,cell=164118-web3Node01Cell,spec=1.0', 'WebSphere:name=isclite,process=server1,platform=dynamic                                                        proxy,node=164118-web3Node01,J2EEName=isclite,Server=server1,version=6.1.0.0,type=Application,mbeanIdentifier=cells/16411                                                        8-web3Node01Cell/applications/isclite.ear/deployments/isclite/deployment.xml#ApplicationDeployment_1209095522370,cell=164                                                        118-web3Node01Cell,spec=1.0', 'WebSphere:name=ivtApp,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2EENam                                                        e=ivtApp,Server=server1,version=6.1.0.0,type=Application,mbeanIdentifier=cells/164118-web3Node01Cell/applications/ivtApp.                                                        ear/deployments/ivtApp/deployment.xml#ApplicationDeployment_1209095528204,cell=164118-web3Node01Cell,spec=1.0', 'WebSpher                                                        e:name=query,process=server1,platform=dynamicproxy,node=164118-web3Node01,J2EEName=query,Server=server1,version=6.1.0.0,t                                                        ype=Application,mbeanIdentifier=cells/164118-web3Node01Cell/applications/query.ear/deployments/query/deployment.xml#Appli                                                        cationDeployment_1209095528979,cell=164118-web3Node01Cell,spec=1.0']
wsadmin>print app
I am getting below error when deleting the atlas_dev2 server

[root@164118-web3 bin]# ./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2 -username admin -password atlas
WASX7209I: Connected to process "server1" on node 164118-web3Node01 using SOAP connector;  The type of process is: UnManagedProcess
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[-s, atlas_dev2]"
DeleteServer --serverName atlas_dev2 --nodeName 164118-web3Node01
DeleteServer failed: Unknown serverName: atlas_dev2


I can see server up and running
Server is runninng from linux server. From below command
ps -ef |grep java
root     30434     1  5 14:22 pts/2    00:00:21 /mnt/drive1/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=46385 -Dosgi.install.area=/mnt/drive1/IBM/WebSphere/AppServer -Dosgi.configuration.area=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/configuration -Djava.awt.headless=true -Dosgi.framework.extensions=com.ibm.cds -Xshareclasses:name=webspherev61_%g,groupAccess,nonFatal -Xscmx50M -Xbootclasspath/p:/mnt/drive1/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/mnt/drive1/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -classpath /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/mnt/drive1/IBM/WebSphere/AppServer/properties:/mnt/drive1/IBM/WebSphere/AppServer/lib/startup.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/bootstrap.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/j2ee.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/lmproxy.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/mnt/drive1/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/mnt/drive1/IBM/WebSphere/AppServer/java/lib:/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/mnt/drive1/IBM/WebSphere/AppServer/classes:/mnt/drive1/IBM/WebSphere/AppServer/lib:/mnt/drive1/IBM/WebSphere/AppServer/installedChannels:/mnt/drive1/IBM/WebSphere/AppServer/lib/ext:/mnt/drive1/IBM/WebSphere/AppServer/web/help:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/mnt/drive1/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/mnt/drive1/IBM/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -Duser.install.root=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01 -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dwas.install.root=/mnt/drive1/IBM/WebSphere/AppServer -Dpython.cachedir=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01 -Djava.security.auth.login.config=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/wsjaas.conf -Djava.security.policy=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/config 164118-web3Node01Cell 164118-web3Node01 atlas_dev2
Please download the following script as ListServers.py,
and execute it using the following command (from the same
bin directory as you execute the DeleteServer script):

./wsadmin.sh -conntype none -lang jython -f ListServers.py

And show the output here.

Thanks
ListServers.py.txt
I am not sure why its saying application server is stoped when i can see its running.


[root@164118-web3 bin]# ./wsadmin.sh -conntype none -lang jython -f ListServers.py -username admin -password atlas
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
The Application Server/Deployment Manager appears to be stopped.
Consider using "-conntype None" when you invoke wsadmin.
In what directory are you when you execute the command?
[root@164118-web3 bin]# ps -ef |grep java
root     22228     1  0 May01 ?        00:07:04 /mnt/drive1/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=34723 -Dosgi.install.area=/mnt/drive1/IBM/WebSphere/AppServer -Dosgi.configuration.area=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/configuration -Djava.awt.headless=true -Dosgi.framework.extensions=com.ibm.cds -Xshareclasses:name=webspherev61_%g,groupAccess,nonFatal -Xscmx50M -Xbootclasspath/p:/mnt/drive1/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/mnt/drive1/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -classpath /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/mnt/drive1/IBM/WebSphere/AppServer/properties:/mnt/drive1/IBM/WebSphere/AppServer/lib/startup.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/bootstrap.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/j2ee.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/lmproxy.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/mnt/drive1/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/mnt/drive1/IBM/WebSphere/AppServer/java/lib:/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/mnt/drive1/IBM/WebSphere/AppServer/classes:/mnt/drive1/IBM/WebSphere/AppServer/lib:/mnt/drive1/IBM/WebSphere/AppServer/installedChannels:/mnt/drive1/IBM/WebSphere/AppServer/lib/ext:/mnt/drive1/IBM/WebSphere/AppServer/web/help:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/mnt/drive1/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/mnt/drive1/IBM/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -Duser.install.root=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01 -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dwas.install.root=/mnt/drive1/IBM/WebSphere/AppServer -Dpython.cachedir=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01 -Djava.security.auth.login.config=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/wsjaas.conf -Djava.security.policy=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/config 164118-web3Node01Cell 164118-web3Node01 server1
root     30434     1  1 14:22 pts/2    00:00:22 /mnt/drive1/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=46385 -Dosgi.install.area=/mnt/drive1/IBM/WebSphere/AppServer -Dosgi.configuration.area=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/configuration -Djava.awt.headless=true -Dosgi.framework.extensions=com.ibm.cds -Xshareclasses:name=webspherev61_%g,groupAccess,nonFatal -Xscmx50M -Xbootclasspath/p:/mnt/drive1/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/mnt/drive1/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -classpath /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/mnt/drive1/IBM/WebSphere/AppServer/properties:/mnt/drive1/IBM/WebSphere/AppServer/lib/startup.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/bootstrap.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/j2ee.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/lmproxy.jar:/mnt/drive1/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/mnt/drive1/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/mnt/drive1/IBM/WebSphere/AppServer/java/lib:/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/mnt/drive1/IBM/WebSphere/AppServer/classes:/mnt/drive1/IBM/WebSphere/AppServer/lib:/mnt/drive1/IBM/WebSphere/AppServer/installedChannels:/mnt/drive1/IBM/WebSphere/AppServer/lib/ext:/mnt/drive1/IBM/WebSphere/AppServer/web/help:/mnt/drive1/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/mnt/drive1/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/mnt/drive1/IBM/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -Duser.install.root=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01 -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dwas.install.root=/mnt/drive1/IBM/WebSphere/AppServer -Dpython.cachedir=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01 -Djava.security.auth.login.config=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/wsjaas.conf -Djava.security.policy=/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/config 164118-web3Node01Cell 164118-web3Node01 atlas_dev2
I tried in two directory as below, but both of them got same results

/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
root@164118-web3 bin]# cd /mnt/drive1/IBM/WebSphere/AppServer/bin

[root@164118-web3 bin]# pwd
/mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
[root@164118-web3 bin]# ./wsadmin.sh -conntype none -lang jython -f ListServers.py -username admin -password atlas
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
The Application Server/Deployment Manager appears to be stopped.
Consider using "-conntype None" when you invoke wsadmin.
[root@164118-web3 bin]# cd /mnt/drive1/IBM/WebSphere/AppServer/bin
[root@164118-web3 bin]# ./wsadmin.sh -conntype none -lang jython -f ListServers.py -username admin -password atlas
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
The Application Server/Deployment Manager appears to be stopped.
Consider using "-conntype None" when you invoke wsadmin.
If we able to delete all this servers . I want to create seperate profile where we will have server1 as default server. I will create 5 profiles and give it to jave develper for login. They will be using differnt console to login to use default server.

From all yours scripts we can create the many servers but its not allowing me to use from defaule console.

Thanks
Sudhakar

In order for a server to be administered from the Administration Console, it must either be a managed server (i.e., "federated" into a Deployment Manger cell), or
it must be a stand-alone (unmanaged) application server which has the Default
application deployed, and running.

So, not only does the Application Server need to be running, but the application
needs to be running as well.

As far as the output you show though, I am really confused.  When I have my
secondary AppServer stopped, and use the ListServers.py script to "list" the
existing application servers, I do not get the message you see.  i.e.,

The Application Server/Deployment Manager appears to be stopped.

In fact, the script doesn't even try to connect to an active application server.
So, the message is getting generated because an exception was encountered
during the execution of the script.

What output do you get from executing the serverStatus command from that
directory?

./serverStatus.sh -all
Here is the output

[root@164118-web3 bin]# ./serverStatus.sh -all -username admin -password atlas
ADMU0116I: Tool information is being logged in file
           /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/serverStatus.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU0503I: Retrieving server status for all servers
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: atlas_dev2
ADMU0506I: Server name: atlas_dev3
ADMU0506I: Server name: web_atlas_01
ADMU0506I: Server name: atlas_dev1
ADMU0506I: Server name: server1
ADMU0508I: The Application Server "atlas_dev2" is STARTED
ADMU0509I: The Application Server "atlas_dev3" cannot be reached. It appears to
           be stopped.
ADMU0508I: The IHS server "web_atlas_01" is STOPPED
ADMU0509I: The Application Server "atlas_dev1" cannot be reached. It appears to
           be stopped.
ADMU0508I: The Application Server "server1" is STARTED
I just want to delete atlas_dev2,atlas_dev3,web_atlas_01 if cannot use it and aslo i will create differenct profiels.

Thanks
Sudhakar
 
Try using this

./wsadmin.sh -s serverName
DeleteServer.py.txt
sigh...

./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2
I am getting same issue again . Thanks for your hard work helping me
[root@164118-web3 bin]# ./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2 -username admin -password atlas
WASX7209I: Connected to process "server1" on node 164118-web3Node01 using SOAP connector;  The type of process is: UnManagedProcess
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[-s, atlas_dev2]"
DeleteServer --serverName atlas_dev2 --nodeName 164118-web3Node01
DeleteServer failed: Unknown serverName: atlas_dev2
You are trying to make me think, aren't you!?!

Are you familiar with lsof?
Do you have it on your system?

What is the output when you execute

  which lsof

What is the output for

  ps -f | grep [j]ava

What directories exist under AppServer/profiles?

  cd /mnt/drive1/IBM/WebSphere/AppServer/profiles
  ls -lAgo

Thanks for your help (and patience)...

Can you login to my box and see what we can do. I will open a public port and give my access to you. Is that ok for you

Thanks
Sudhakar
No.  That is prohibited

https://www.experts-exchange.com/help.jsp#hi27

See section 3.4 (O), which states:

There are a number of ways the point system is misused, .... The third way is to solve a problem outside of the Experts Exchange threads (e.g. using email) ... All are prohibited.

Sorry.
Can you please tell me what is software for below requiremnt


naming jar for websphere App  server 6.1.0.  

WAS SDK
I'm sorry, but I don't understand this latest statement/question.

Can I get to you explain it a bit more?
Where to find software and what is software to use for this (WAS JDK)?

 We are building a stand alone client application that is going to access a JMS queue.
Ah.

The java that is installed with, and used by the WebSphere Application Server is installed in the java directory underneath the <WAS_HOME> or <installRoot> directory.

Using the information from above, this should be:

/mnt/drive1/IBM/WebSphere/AppServer/java

If you locate the setupCmdLine.sh script in your AppServer/bin directory.
It should contain a statement like:

export JAVA_HOME=%WAS_HOME/java

For your "stand alone client" question, you need to look in the documentation for "Application Client" references.  For example:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tcli_developjava.html
I continue to be confused as to what exception is being encountered by the ListServers.py script.  Can I get you to download this version of it, and execute it like you did above?

https://www.experts-exchange.com/Q__23369791.html#a21509904

I really appreciate your help with this.  Thanks
ListServers.py.txt
Hi Here is the output from above script

[root@164118-web3 bin]# ./wsadmin.sh -conntype none -lang jython -f ListServers.py -username admin -password atlas
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
ListServers(): Error encountered.
Error Type: exceptions.AttributeError
 and Value: 'None' object has no attribute 'group'

Thanks
Sudhakar
ooh.  how in the world are we getting None?!?

Let me look.
Here is a revised ListServers.py, which will produce some extra output, and may resolve the issue.

ListServers.py.txt
Hi

Here is the output from the above script

[root@164118-web3 bin]# ./wsadmin.sh -conntype none -lang jython -f ListServers.py -username admin -password atlas
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
Line 31: maxLen: [10, 8, 8, 6]
Line 38: server: atlas_dev1(cells/164118-web3Node01Cell/nodes/164118-web3Node01/servers/atlas_dev1|server.xml#Server_1209562390745)
Line 38: server: atlas_dev2(cells/164118-web3Node01Cell/nodes/164118-web3Node01/servers/atlas_dev2|server.xml#Server_1209578158067)
Line 38: server: atlas_dev3(cells/164118-web3Node01Cell/nodes/164118-web3Node01/servers/atlas_dev3|server.xml#Server_1209578296424)
Line 38: server: server1(cells/164118-web3Node01Cell/nodes/164118-web3Node01/servers/server1|server.xml#Server_1209095519379)
Line 38: server: web_atlas_01(cells/164118-web3Node01Cell/nodes/164118-web3Node01/servers/web_atlas_01|server.xml#Server_1209753288897)
Line 46: maxLen: [10, 8, 8, 6]
 serverName| CellName | NodeName | Server
That's the problem!  Thank you, thank you, thank you!
ListServers.py.txt
wait one...  checking something...
Yeah, the fact that your node & cell names include '-' was causing the regExp to be wrong.  That's why we were getting a None.  None of your servers were matching
the regular expression being used to locate the different elements.

Please accept my apologies.

And thanks again for the example that pointed this flaw out to me.
what is solution now
Can you use ListServers.py to display your servers?
If that does solve that problem, then this modified script should allow you to delete your servers
DeleteServer.py.txt
Hi

Here is the output from above script

*sys-package-mgr*: processing new jar, '/mnt/drive1/IBM/WebSphere/AppServer/lib/wsdl4j-1.6.1.jar'
  serverName |        CellName       |      NodeName     |    Server
-------------+-----------------------+-------------------+--------------
atlas_dev1   | 164118-web3Node01Cell | 164118-web3Node01 | atlas_dev1
atlas_dev2   | 164118-web3Node01Cell | 164118-web3Node01 | atlas_dev2
atlas_dev3   | 164118-web3Node01Cell | 164118-web3Node01 | atlas_dev3
server1      | 164118-web3Node01Cell | 164118-web3Node01 | server1
web_atlas_01 | 164118-web3Node01Cell | 164118-web3Node01 | web_atlas_01
[root@164118-web3 bin]#


Thanks
Sudhakar
All your scripts working perfectly without any issue. Please let me know how to use this servers after adding this server with your script(CreateServer.py).  

Thanks
Sudhakar
Can you please update this
You should be able to start the server using the startServer command from the
containing profiles/<profileName>/bin directory.

For example:

cd /mnt/drive1/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
./startServer.sh <serverName>

What server did you want to add?  atlas_dev2?

Then, it would be:

./startServer.sh altas_dev2
What would be the console to use this server(atlas_dev2). If i was using this server from server1(default) i got error which i told you before. I am not sure where to login to use this new server

Thaks
Sudhakar
Use this script to list the ports configured for each server.
To execute this on a unix type system:

./wsadmin.sh -conntype none -lang jython -f ListPorts.py

Example output for my unmanaged server:

Server name: server1

Port#|EndPoint Name
-----+-------------
 2811|BOOTSTRAP_ADDRESS
 8882|SOAP_CONNECTOR_ADDRESS
 9411|SAS_SSL_SERVERAUTH_LISTENER_ADDRESS
 9410|CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS
 9412|CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS
 9062|WC_adminhost
 9081|WC_defaulthost
 9355|DCS_UNICAST_ADDRESS
 9045|WC_adminhost_secure
 9444|WC_defaulthost_secure
 5063|SIP_DEFAULTHOST
 5062|SIP_DEFAULTHOST_SECURE
 7278|SIB_ENDPOINT_ADDRESS
 7287|SIB_ENDPOINT_SECURE_ADDRESS
 5559|SIB_MQ_ENDPOINT_ADDRESS
 5579|SIB_MQ_ENDPOINT_SECURE_ADDRESS
 9102|ORB_LISTENER_ADDRESS


The SOAP_CONNECTOR_ADDRESS is used for SOAP connections (e.g., wsadmin)
The BOOTSTRAP_ADDRESS is used for RMI/IIOP connections (e.g., wsadmin)
The WC_adminhost port is used for non-secure connection (e.g., admin console)

  http://localhost:9062/ibm/console

The WC_adminhost_secure port is used for secure administration (e.g., admin console)

  https://localhost:9045/ibm/console
ListPorts.py.txt
I have a question for you. Once we create the second server, Can i use same HTTP server which is also used by server1. Once i login to this new server from console can i configure Webserver from  console and use the port 80  to  test the deployment made by jave team on port80

Thanks
Sudhakar
You keep asking different questions... :-)

Q: Can one use a single HTTP (aka Web) server to route requests to multiple
unmanaged application servers?

A: Yes.  However, this requires one to manually "merge" the plugin-cfg.xml file,
    which contain information about each resource, and the Application Server
    on which each resource is available.

Q: Once i login to this new server from console can i configure Webserver from
     console and use the port 80  to  test the deployment made by jave team on
     port 80?

A: Again, yes... If you manually merge the plugin-cfg.xml files

Q: Is this a good way to do it?

A: No.  Because it requires a manual merging of the information, this process
    is error prone, and you must remember to perform this process whenever
    any resource is changed on any application server.
I presume, from your latest question that you are now able to successfully
start and stop your individual application servers, as well as access the
administration console for each.  Is that correct?
No I can create the server from your scripts but when i am trying to login with adminstartion console i am getting page not found error with the port for that console

Thanks
Sudhakar

Server name: test

Port#|EndPoint Name
-----+-------------
 2810|BOOTSTRAP_ADDRESS
 8881|SOAP_CONNECTOR_ADDRESS
 9404|SAS_SSL_SERVERAUTH_LISTENER_ADDRESS
 9405|CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS
 9406|CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS
 9061|WC_adminhost
 9081|WC_defaulthost
 9354|DCS_UNICAST_ADDRESS
 9044|WC_adminhost_secure
 9444|WC_defaulthost_secure
 5062|SIP_DEFAULTHOST
 5063|SIP_DEFAULTHOST_SECURE
 7277|SIB_ENDPOINT_ADDRESS
 7287|SIB_ENDPOINT_SECURE_ADDRESS
 5559|SIB_MQ_ENDPOINT_ADDRESS
 5579|SIB_MQ_ENDPOINT_SECURE_ADDRESS
 9101|ORB_LISTENER_ADDRESS

Url i am using to connect to this server
https://192.168.100.192:9044/ibm/console/logon.jsp

Thanks
Sudhakar
ok, so it sounds like we don't have the administrator console application deployed on the server.  Let me look at this, and get back to you.

Unfortunately, it will take me a little while, since I have to take my son to a doctor's appointment at in an hour
But i can connect to https://192.168.100.192:9043/ibm/console/logon.jsp which is my default console for server1.

Thanks
Sudhakar
# Use the output from the ListPorts script to identify the: SOAP_CONNECTOR_ADDRESS
  for my "server2", it happens to be 8883

# Use the following command to have wsadmin connect to this port
  ./wsadmin.sh -lang jython -port <port#>

  The output should be something like:

  WASX7209I: Connected to process "server2" on node <nodeName> using SOAP connector;
  The type of process is: UnManagedProcess

# Have the AdminApp object list the available applications:

  print AdminApp.list()

  My output shows:

  DefaultApplication
  ivtApp
  mystore
  query

# Use the whatEnv() function to identify/retrieve the node and cell names

# Verify that we are connected to the expected application server:

  print 'nodeName: %s\ncellName: %s' % ( nodeName, cellName )

# Obtain the application manager MBean identifier:

  appManager = AdminControl.queryNames( 'cell=%s,node=%s,type=ApplicationManager,*' % ( cellName, nodeName ) )

# Verify that you have a good identifier:

  print 'appManager: %s' % appManager

# See if you can start the DefaultApplication (which includes the Admin console):

  AdminControl.invoke( appManager, 'startApplication', 'DefaultApplication' )

# I happened to get an exception indicating that "Application DefaultApplication not installed"
  so let me see what needs to be done to fix this.

I believe that what happened is that when I created an ApplicationServerTemplate
using server1, it (the template) included some information about the Applications
that were installed on server1 without actually including the necessary application
files.

Here is the output from that

[root@164118-web3 bin]# ./wsadmin.sh -lang jython -port 8881 -username admin -password atlas
WASX7209I: Connected to process "test" on node 164118-web3Node01 using SOAP connector;  The type of process is: UnManagedProcess
WASX7031I: For help, enter: "print Help.help()"
wsadmin>print AdminApp.list()
DefaultApplication
PlantsByWebSphere
SamplesGallery
ivtApp
query
wsadmin>print 'nodeName: %s\ncellName: %s' % ( nodeName, cellName )
nodeName:
cellName:
wsadmin>appManager = AdminControl.queryNames( 'cell=%s,node=%s,type=ApplicationManager,*' % ( cellName, nodeName ) )
wsadmin>print 'appManager: %s' % appManager
appManager:
wsadmin>AdminControl.invoke( appManager, 'startApplication', 'DefaultApplication' )
WASX7015E: Exception running command: "AdminControl.invoke( appManager, 'startApplication', 'DefaultApplication' )"; exception information:
 com.ibm.ws.scripting.ScriptingException: WASX7025E: Error found in String ""; cannot create ObjectName.

Please help
ok, I think I now understand what is happening.

We are running into a situation where the application servers that exist, because they are both located under the same profile directory, are causing an administration nightmare.

It is possible, but not worth the effort, to get this working as you are trying to.

Option #1 - Since you have the Network Deployment (ND) product, make use of it.
  Use the profile creation wizard, or script, or the ND admin console to create and
  manage all of the (managed) application servers.

Option #2 - use wasprofile to create a separate profile in which an application server
   can exist.

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tpro_profiles.html
OK
When i create seprate profile(custom profile) i am  not sure how to configure web server and plug in for that profile to listen on port 80. I have no issue for defatul profile to listen all deploymnets.   Can i use same single httpd.conf file(web server configuration file) for all profiles.

Thank
Sudhakar
I am using stand application server.  

I want to know how to configure Http webserver for additional profiles. When java developer deploys on custom profile and i want them to see deployment going wiht web server

Is it possible to use Single http Web server for all profiles in stand alone application server( both web server and application server are on same machine) If not please let me know how to create additonal web server,
I think I understand your question.  Let me rephrase it, and see if you agree with
it.

Q: Given multiple stand-alone application servers, can a single web server be used to send requests to the applications on these servers?

A: Yes, if you are willing to manually merge the plugin-cfg.xml files for each application server.  You must be aware, however, of the fact that each application must be uniquely identified by the information in the plugin-cfg.xml file.

  For example, if I have Application A on server1, and Application B on server2, then they both can't have the same context root of '/'.

  Hopefully this makes sense.
Can you please how to configure web server so that i can use same server for all profiles. Now i can use web server for default profile.  Please let me now if you know steps how to configure for other profiles

Thanks
Sudhakar

I am using stand aone appliation server and i have installed web server on same server
Your question keeps changing...

Given 2 (or more) Application Servers with resources, here is how I would approach the problem of using a single HTTP server to server them.

- For each Application Server (AS)
  - Use the Administration Console (or scripting), to configure the HTTP for this AS
  - Generate the plugin-cfg.xml file
  - Save the plugin-cfg.xml file

- Use an editor to locate the AS specific information in each plugin-cfg.xml file
  Note, much of the information in the plugin-cfg.xml files will be identical
- Merge the unique information into a single plugin-cfg.xml file to be used by
  the HTTP server.

example sections that will need to be merged:
- VirtualHostGroup
- Server -> Transport tags
- Uri tags
? RequestMetrics (you might not need to merge this data, I don't know)
I added web server in custom profile with  administartion console and generated plugin from there it self.

We have plug-in in following location.   Do we have any document to follow to configure the steps.

Please let me know if you want to open new ticket for this issue

ThanKS
Sudhakar
A new question would be appropriate.

This current question doesn't relate at all to the original question  as asked.
One my last question. Does it assign to you only for my new question?.  I want you to take my new question
Hi  I opend new question. Here is my question id

23415073