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
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
ASKER
Please some one update this
ASKER
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(
cannot be started because it is installed on a different server(
ASKER
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
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
Please locate the logs directory under the AppServer.
What errors exist in the log file?
What errors exist in the log file?
ASKER
Please find the attachemnt for log file e
We tried to deploy flashApp_war
Thanks
Sudhakar
SystemOut.log
We tried to deploy flashApp_war
Thanks
Sudhakar
SystemOut.log
ASKER
Please updat this.
ASKER
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.ex tension.Ex tHandshake VHostExten sionFactor y] was registered successfully.
[5/1/08 19:27:52:384 EDT] 00000016 WebContainer A SRVE0240I: Extension Factory [class com.ibm.ws.webcontainer.ex tension.Ex tHandshake VHostExten sionFactor y] 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,*:50 60,*:5061, *:443,*:90 81].
[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.
[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.ex
[5/1/08 19:27:52:384 EDT] 00000016 WebContainer A SRVE0240I: Extension Factory [class com.ibm.ws.webcontainer.ex
[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,*
[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
ASKER
OK no problem
Thanks for reply
Thanks for reply
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I can see file is there [root@164118-web3 flashApp_war]# pwd
/mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/co nfig/cells /164118-eb 3Node01Cel l/applicat ions/flash App_war.ea r/deployme nts/flashA pp_war
[root@164118-web3 flashApp_war]# ls
deployment.xml flashApp.war META-INF
[root@164118-web3 flashApp_war]#
/mnt/drive1/IBM/WebSphere/
[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?
What's in "deployment.xml"?
Can you attach it here for review?
ASKER
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,*:50 60,*:5061, *:443,*:90 81].
[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
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,*
[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
ASKER
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?
"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?
ASKER
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
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
ASKER
My question is do we need to change the console login to use atlas_dev2 server.
ASKER
Once we login with this URL we have four server(server1,atlas_dev1, atlas_dev2 ,atlas_dev 3). 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
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 presume, from the provided URL, that you are connecting directly to the Application Server (i.e., not through a web (HTTP) server).
ASKER
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
cannot be started because it is installed on a different server
What do u mean by"need to add atlas_dev2"
Thanks
ASKER
Hi guru
Can you update this please
Can you update this please
let's back up a moment.
How "exactly" do you attempt to "start the application"?
How "exactly" do you attempt to "start the application"?
ASKER
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.
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
hopefully atlas_dev2
ASKER
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
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/<profil eName>/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>/ib m/console
ListPorts.py.txt
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/<profil
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>/ib
ListPorts.py.txt
Oh, the command to execute the script would be:
./wsadmin.sh -conntype none -lang jythong -f ListPorts.py
./wsadmin.sh -conntype none -lang jythong -f ListPorts.py
ASKER
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_ADDRES S
9407|SAS_SSL_SERVERAUTH_LI STENER_ADD RESS
9408|CSIV2_SSL_SERVERAUTH_ LISTENER_A DDRESS
9409|CSIV2_SSL_MUTUALAUTH_ LISTENER_A DDRESS
9062|WC_adminhost
9082|WC_defaulthost
9355|DCS_UNICAST_ADDRESS
9045|WC_adminhost_secure
9445|WC_defaulthost_secure
5064|SIP_DEFAULTHOST
5065|SIP_DEFAULTHOST_SECUR E
7278|SIB_ENDPOINT_ADDRESS
7288|SIB_ENDPOINT_SECURE_A DDRESS
5560|SIB_MQ_ENDPOINT_ADDRE SS
5580|SIB_MQ_ENDPOINT_SECUR E_ADDRESS
9102|ORB_LISTENER_ADDRESS
https://192.168.100.192:9045/ibm/console/logon.jsp
Server name: atlas_dev2
Port#|EndPoint Name
-----+-------------
2811|BOOTSTRAP_ADDRESS
8882|SOAP_CONNECTOR_ADDRES
9407|SAS_SSL_SERVERAUTH_LI
9408|CSIV2_SSL_SERVERAUTH_
9409|CSIV2_SSL_MUTUALAUTH_
9062|WC_adminhost
9082|WC_defaulthost
9355|DCS_UNICAST_ADDRESS
9045|WC_adminhost_secure
9445|WC_defaulthost_secure
5064|SIP_DEFAULTHOST
5065|SIP_DEFAULTHOST_SECUR
7278|SIB_ENDPOINT_ADDRESS
7288|SIB_ENDPOINT_SECURE_A
5560|SIB_MQ_ENDPOINT_ADDRE
5580|SIB_MQ_ENDPOINT_SECUR
9102|ORB_LISTENER_ADDRESS
Why are you using 9045 instead of 9082?
ASKER
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
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/<profil eName>/bin directory
- invoke wsadmin using
./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2
DeleteServer.py.txt
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/<profil
- invoke wsadmin using
./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2
DeleteServer.py.txt
ASKER
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
Thanks
Sudhakar
I wonder what applications that you have deployed on that application server.
- Open a command prompt
- "cd" to the AppServer/profiles/<profil eName>/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
- Open a command prompt
- "cd" to the AppServer/profiles/<profil
- start an interactive wsadmin command using:
./wsadmin.sh -conntype none -lang jython
- Enter the following commands
for app in AdminApp.list().splitlines
quit
- Capture the screen contents, and attach them here
ASKER
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
[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
ASKER
Hi Sir
I am trying to deploy 'flashApp_war' on altas_dev2 Server
wsadmin>AdminApp.list().sp litlines() ;
['DefaultApplication', 'PlantsByWebSphere', 'SamplesGallery', 'flashApp_war', 'ivtApp', 'query']
Thanks
Sudhakar
I am trying to deploy 'flashApp_war' on altas_dev2 Server
wsadmin>AdminApp.list().sp
['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/<profil eName>/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
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/<profil
- 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.
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.
ASKER
OK Sir . I will wait for new updated script.
Thank you for all your work for me
Thank you for all your work for me
updated DeleteServer.py
What information did you get about the active applications?
See https://www.experts-exchange.com/questions/23369791/cannot-be-started-because-it-is-installed-on-a-different-server.html?anchorAnswerId=21508541#a21508541
DeleteServer.py.txt
What information did you get about the active applications?
See https://www.experts-exchange.com/questions/23369791/cannot-be-started-because-it-is-installed-on-a-different-server.html?anchorAnswerId=21508541#a21508541
DeleteServer.py.txt
ASKER
wsadmin>AdminControl.query Names( 'type=Application,*' ).splitlines()
for app in apps :['WebSphere:name=DefaultA pplication ,process=s erver1,pla tform=dyna micproxy,n ode=164118 -web3Node0 1,J2EENam e=DefaultApplication,Serve r=server1, version=6. 1.0.0,type =Applicati on,mbeanId entifier=c ells/16411 8-web3Node 01Cell/app licat ions/DefaultApplication.ea r/deployme nts/Defaul tApplicati on/deploym ent.xml#Ap plicationD eployment_ 1209095526 435,cell=1 64118 -web3Node01Cell,spec=1.0', 'WebSphere:name=Management EJB,proces s=server1, platform=d ynamicprox y,node=164 118-web3No de01,J2E EName=ManagementEJB,Server =server1,v ersion=6.1 .0.0,type= Applicatio n,mbeanIde ntifier=/m nt/drive1/ IBM/WebSph ere/AppSer ver/s ystemApps/ManagementEJB.ea r/deployme nt.xml#App licationDe ployment_1 0821283205 84,cell=16 4118-web3N ode01Cell, spec=1.0', 'Web Sphere:name=PlantsByWebSph ere,proces s=server1, platform=d ynamicprox y,node=164 118-web3No de01,J2EEN ame=Plants ByWebSpher e,Ser ver=server1,version=6.1.0. 0,type=App lication,m beanIdenti fier=cells /164118-we b3Node01Ce ll/applica tions/Plan tsByWebSph ere.e ar/deployments/PlantsByWeb Sphere/dep loyment.xm l#Applicat ionDeploym ent_120909 5536714,ce ll=164118- web3Node01 Cell,spec= 1.0', 'WebSphere:name=SamplesGal lery,proce ss=server1 ,platform= dynamicpro xy,node=16 4118-web3N ode01,J2EE Name=Sampl esGallery, Serv er=server1,version=6.1.0.0 ,type=Appl ication,mb eanIdentif ier=cells/ 164118-web 3Node01Cel l/applicat ions/Sampl esGallery. ear/d eployments/SamplesGallery/ deployment .xml#Appli cationDepl oyment_120 9095533363 ,cell=1641 18-web3Nod e01Cell,sp ec=1.0', 'WebSp here:name=SchedulerCalenda rs,process =server1,p latform=dy namicproxy ,node=1641 18-web3Nod e01,J2EENa me=Schedul erCalendar s,Ser ver=server1,version=6.1.0. 0,type=App lication,m beanIdenti fier=/mnt/ drive1/IBM /WebSphere /AppServer /systemApp s/Schedule rCale ndars.ear/deployment.xml#A pplication Deployment _109035195 9869,cell= 164118-web 3Node01Cel l,spec=1.0 ', 'WebSphere:name=filetr ansfer,process=server1,pla tform=dyna micproxy,n ode=164118 -web3Node0 1,J2EEName =filetrans fer,Server =server1,v ersion=6.1 .0.0, type=Application,mbeanIden tifier=/mn t/drive1/I BM/WebSphe re/AppServ er/systemA pps/filetr ansfer.ear /deploymen t.xml#Appl icati onDeployment_1082510674590 ,cell=1641 18-web3Nod e01Cell,sp ec=1.0', 'WebSphere:name=isclite,pr ocess=serv er1,platfo rm=dynamic proxy,node=164118-web3Node 01,J2EENam e=isclite, Server=ser ver1,versi on=6.1.0.0 ,type=Appl ication,mb eanIdentif ier=cells/ 16411 8-web3Node01Cell/applicati ons/isclit e.ear/depl oyments/is clite/depl oyment.xml #Applicati onDeployme nt_1209095 522370,cel l=164 118-web3Node01Cell,spec=1. 0', 'WebSphere:name=ivtApp,pro cess=serve r1,platfor m=dynamicp roxy,node= 164118-web 3Node01,J2 EENam e=ivtApp,Server=server1,ve rsion=6.1. 0.0,type=A pplication ,mbeanIden tifier=cel ls/164118- web3Node01 Cell/appli cations/iv tApp. ear/deployments/ivtApp/dep loyment.xm l#Applicat ionDeploym ent_120909 5528204,ce ll=164118- web3Node01 Cell,spec= 1.0', 'WebSpher e:name=query,process=serve r1,platfor m=dynamicp roxy,node= 164118-web 3Node01,J2 EEName=que ry,Server= server1,ve rsion=6.1. 0.0,t ype=Application,mbeanIdent ifier=cell s/164118-w eb3Node01C ell/applic ations/que ry.ear/dep loyments/q uery/deplo yment.xml# Appli cationDeployment_120909552 8979,cell= 164118-web 3Node01Cel l,spec=1.0 ']
wsadmin>print app
for app in apps :['WebSphere:name=DefaultA
wsadmin>print app
ASKER
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
[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
ASKER
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/j ava -Declipse.security -Dwas.status.socket=46385 -Dosgi.install.area=/mnt/d rive1/IBM/ WebSphere/ AppServer -Dosgi.configuration.area= /mnt/drive 1/IBM/WebS phere/AppS erver/prof iles/AppSr v01/config uration -Djava.awt.headless=true -Dosgi.framework.extension s=com.ibm. cds -Xshareclasses:name=websph erev61_%g, groupAcces s,nonFatal -Xscmx50M -Xbootclasspath/p:/mnt/dri ve1/IBM/We bSphere/Ap pServer/ja va/jre/lib /ext/ibmor b.jar:/mnt /drive1/IB M/WebSpher e/AppServe r/java/jre /lib/ext/i bmext.jar -classpath /mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/pr operties:/ mnt/drive1 /IBM/WebSp here/AppSe rver/prope rties:/mnt /drive1/IB M/WebSpher e/AppServe r/lib/star tup.jar:/m nt/drive1/ IBM/WebSph ere/AppSer ver/lib/bo otstrap.ja r:/mnt/dri ve1/IBM/We bSphere/Ap pServer/li b/j2ee.jar :/mnt/driv e1/IBM/Web Sphere/App Server/lib /lmproxy.j ar:/mnt/dr ive1/IBM/W ebSphere/A ppServer/l ib/urlprot ocols.jar: /mnt/drive 1/IBM/WebS phere/AppS erver/depl oytool/itp /batchboot .jar:/mnt/ drive1/IBM /WebSphere /AppServer /deploytoo l/itp/batc h2.jar:/mn t/drive1/I BM/WebSphe re/AppServ er/java/li b/tools.ja r -Dibm.websphere.internalCl assAccessM ode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/mnt/drive1/ IBM/WebSph ere/AppSer ver/java/l ib:/mnt/dr ive1/IBM/W ebSphere/A ppServer/p rofiles/Ap pSrv01/cla sses:/mnt/ drive1/IBM /WebSphere /AppServer /classes:/ mnt/drive1 /IBM/WebSp here/AppSe rver/lib:/ mnt/drive1 /IBM/WebSp here/AppSe rver/insta lledChanne ls:/mnt/dr ive1/IBM/W ebSphere/A ppServer/l ib/ext:/mn t/drive1/I BM/WebSphe re/AppServ er/web/hel p:/mnt/dri ve1/IBM/We bSphere/Ap pServer/de ploytool/i tp/plugins /com.ibm.e tools.ejbd eploy/runt ime -Dderby.system.home=/mnt/d rive1/IBM/ WebSphere/ AppServer/ derby -Dcom.ibm.itp.location=/mn t/drive1/I BM/WebSphe re/AppServ er/bin -Djava.util.logging.config ureByServe r=true -Duser.install.root=/mnt/d rive1/IBM/ WebSphere/ AppServer/ profiles/A ppSrv01 -Djavax.management.builder .initial=c om.ibm.ws. management .PlatformM BeanServer Builder -Dwas.install.root=/mnt/dr ive1/IBM/W ebSphere/A ppServer -Dpython.cachedir=/mnt/dri ve1/IBM/We bSphere/Ap pServer/pr ofiles/App Srv01/temp /cachedir -Djava.util.logging.manage r=com.ibm. ws.bootstr ap.WsLogMa nager -Dserver.root=/mnt/drive1/ IBM/WebSph ere/AppSer ver/profil es/AppSrv0 1 -Djava.security.auth.login .config=/m nt/drive1/ IBM/WebSph ere/AppSer ver/profil es/AppSrv0 1/properti es/wsjaas. conf -Djava.security.policy=/mn t/drive1/I BM/WebSphe re/AppServ er/profile s/AppSrv01 /propertie s/server.p olicy com.ibm.wsspi.bootstrap.WS PreLaunche r -nosplash -application com.ibm.ws.bootstrap.WSLau ncher com.ibm.ws.runtime.WsServe r /mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/co nfig 164118-web3Node01Cell 164118-web3Node01 atlas_dev2
ps -ef |grep java
root 30434 1 5 14:22 pts/2 00:00:21 /mnt/drive1/IBM/WebSphere/
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
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
ASKER
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.
[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?
ASKER
[root@164118-web3 bin]# ps -ef |grep java
root 22228 1 0 May01 ? 00:07:04 /mnt/drive1/IBM/WebSphere/ AppServer/ java/bin/j ava -Declipse.security -Dwas.status.socket=34723 -Dosgi.install.area=/mnt/d rive1/IBM/ WebSphere/ AppServer -Dosgi.configuration.area= /mnt/drive 1/IBM/WebS phere/AppS erver/prof iles/AppSr v01/config uration -Djava.awt.headless=true -Dosgi.framework.extension s=com.ibm. cds -Xshareclasses:name=websph erev61_%g, groupAcces s,nonFatal -Xscmx50M -Xbootclasspath/p:/mnt/dri ve1/IBM/We bSphere/Ap pServer/ja va/jre/lib /ext/ibmor b.jar:/mnt /drive1/IB M/WebSpher e/AppServe r/java/jre /lib/ext/i bmext.jar -classpath /mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/pr operties:/ mnt/drive1 /IBM/WebSp here/AppSe rver/prope rties:/mnt /drive1/IB M/WebSpher e/AppServe r/lib/star tup.jar:/m nt/drive1/ IBM/WebSph ere/AppSer ver/lib/bo otstrap.ja r:/mnt/dri ve1/IBM/We bSphere/Ap pServer/li b/j2ee.jar :/mnt/driv e1/IBM/Web Sphere/App Server/lib /lmproxy.j ar:/mnt/dr ive1/IBM/W ebSphere/A ppServer/l ib/urlprot ocols.jar: /mnt/drive 1/IBM/WebS phere/AppS erver/depl oytool/itp /batchboot .jar:/mnt/ drive1/IBM /WebSphere /AppServer /deploytoo l/itp/batc h2.jar:/mn t/drive1/I BM/WebSphe re/AppServ er/java/li b/tools.ja r -Dibm.websphere.internalCl assAccessM ode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/mnt/drive1/ IBM/WebSph ere/AppSer ver/java/l ib:/mnt/dr ive1/IBM/W ebSphere/A ppServer/p rofiles/Ap pSrv01/cla sses:/mnt/ drive1/IBM /WebSphere /AppServer /classes:/ mnt/drive1 /IBM/WebSp here/AppSe rver/lib:/ mnt/drive1 /IBM/WebSp here/AppSe rver/insta lledChanne ls:/mnt/dr ive1/IBM/W ebSphere/A ppServer/l ib/ext:/mn t/drive1/I BM/WebSphe re/AppServ er/web/hel p:/mnt/dri ve1/IBM/We bSphere/Ap pServer/de ploytool/i tp/plugins /com.ibm.e tools.ejbd eploy/runt ime -Dderby.system.home=/mnt/d rive1/IBM/ WebSphere/ AppServer/ derby -Dcom.ibm.itp.location=/mn t/drive1/I BM/WebSphe re/AppServ er/bin -Djava.util.logging.config ureByServe r=true -Duser.install.root=/mnt/d rive1/IBM/ WebSphere/ AppServer/ profiles/A ppSrv01 -Djavax.management.builder .initial=c om.ibm.ws. management .PlatformM BeanServer Builder -Dwas.install.root=/mnt/dr ive1/IBM/W ebSphere/A ppServer -Dpython.cachedir=/mnt/dri ve1/IBM/We bSphere/Ap pServer/pr ofiles/App Srv01/temp /cachedir -Djava.util.logging.manage r=com.ibm. ws.bootstr ap.WsLogMa nager -Dserver.root=/mnt/drive1/ IBM/WebSph ere/AppSer ver/profil es/AppSrv0 1 -Djava.security.auth.login .config=/m nt/drive1/ IBM/WebSph ere/AppSer ver/profil es/AppSrv0 1/properti es/wsjaas. conf -Djava.security.policy=/mn t/drive1/I BM/WebSphe re/AppServ er/profile s/AppSrv01 /propertie s/server.p olicy com.ibm.wsspi.bootstrap.WS PreLaunche r -nosplash -application com.ibm.ws.bootstrap.WSLau ncher com.ibm.ws.runtime.WsServe r /mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/co nfig 164118-web3Node01Cell 164118-web3Node01 server1
root 30434 1 1 14:22 pts/2 00:00:22 /mnt/drive1/IBM/WebSphere/ AppServer/ java/bin/j ava -Declipse.security -Dwas.status.socket=46385 -Dosgi.install.area=/mnt/d rive1/IBM/ WebSphere/ AppServer -Dosgi.configuration.area= /mnt/drive 1/IBM/WebS phere/AppS erver/prof iles/AppSr v01/config uration -Djava.awt.headless=true -Dosgi.framework.extension s=com.ibm. cds -Xshareclasses:name=websph erev61_%g, groupAcces s,nonFatal -Xscmx50M -Xbootclasspath/p:/mnt/dri ve1/IBM/We bSphere/Ap pServer/ja va/jre/lib /ext/ibmor b.jar:/mnt /drive1/IB M/WebSpher e/AppServe r/java/jre /lib/ext/i bmext.jar -classpath /mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/pr operties:/ mnt/drive1 /IBM/WebSp here/AppSe rver/prope rties:/mnt /drive1/IB M/WebSpher e/AppServe r/lib/star tup.jar:/m nt/drive1/ IBM/WebSph ere/AppSer ver/lib/bo otstrap.ja r:/mnt/dri ve1/IBM/We bSphere/Ap pServer/li b/j2ee.jar :/mnt/driv e1/IBM/Web Sphere/App Server/lib /lmproxy.j ar:/mnt/dr ive1/IBM/W ebSphere/A ppServer/l ib/urlprot ocols.jar: /mnt/drive 1/IBM/WebS phere/AppS erver/depl oytool/itp /batchboot .jar:/mnt/ drive1/IBM /WebSphere /AppServer /deploytoo l/itp/batc h2.jar:/mn t/drive1/I BM/WebSphe re/AppServ er/java/li b/tools.ja r -Dibm.websphere.internalCl assAccessM ode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/mnt/drive1/ IBM/WebSph ere/AppSer ver/java/l ib:/mnt/dr ive1/IBM/W ebSphere/A ppServer/p rofiles/Ap pSrv01/cla sses:/mnt/ drive1/IBM /WebSphere /AppServer /classes:/ mnt/drive1 /IBM/WebSp here/AppSe rver/lib:/ mnt/drive1 /IBM/WebSp here/AppSe rver/insta lledChanne ls:/mnt/dr ive1/IBM/W ebSphere/A ppServer/l ib/ext:/mn t/drive1/I BM/WebSphe re/AppServ er/web/hel p:/mnt/dri ve1/IBM/We bSphere/Ap pServer/de ploytool/i tp/plugins /com.ibm.e tools.ejbd eploy/runt ime -Dderby.system.home=/mnt/d rive1/IBM/ WebSphere/ AppServer/ derby -Dcom.ibm.itp.location=/mn t/drive1/I BM/WebSphe re/AppServ er/bin -Djava.util.logging.config ureByServe r=true -Duser.install.root=/mnt/d rive1/IBM/ WebSphere/ AppServer/ profiles/A ppSrv01 -Djavax.management.builder .initial=c om.ibm.ws. management .PlatformM BeanServer Builder -Dwas.install.root=/mnt/dr ive1/IBM/W ebSphere/A ppServer -Dpython.cachedir=/mnt/dri ve1/IBM/We bSphere/Ap pServer/pr ofiles/App Srv01/temp /cachedir -Djava.util.logging.manage r=com.ibm. ws.bootstr ap.WsLogMa nager -Dserver.root=/mnt/drive1/ IBM/WebSph ere/AppSer ver/profil es/AppSrv0 1 -Djava.security.auth.login .config=/m nt/drive1/ IBM/WebSph ere/AppSer ver/profil es/AppSrv0 1/properti es/wsjaas. conf -Djava.security.policy=/mn t/drive1/I BM/WebSphe re/AppServ er/profile s/AppSrv01 /propertie s/server.p olicy com.ibm.wsspi.bootstrap.WS PreLaunche r -nosplash -application com.ibm.ws.bootstrap.WSLau ncher com.ibm.ws.runtime.WsServe r /mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/co nfig 164118-web3Node01Cell 164118-web3Node01 atlas_dev2
root 22228 1 0 May01 ? 00:07:04 /mnt/drive1/IBM/WebSphere/
root 30434 1 1 14:22 pts/2 00:00:22 /mnt/drive1/IBM/WebSphere/
ASKER
I tried in two directory as below, but both of them got same results
/mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/bi n
root@164118-web3 bin]# cd /mnt/drive1/IBM/WebSphere/ AppServer/ bin
[root@164118-web3 bin]# pwd
/mnt/drive1/IBM/WebSphere/ AppServer/ profiles/A ppSrv01/bi n
[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.
/mnt/drive1/IBM/WebSphere/
root@164118-web3 bin]# cd /mnt/drive1/IBM/WebSphere/
[root@164118-web3 bin]# pwd
/mnt/drive1/IBM/WebSphere/
[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/
[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.
ASKER
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
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
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
ASKER
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/A ppSrv01/lo gs/serverS tatus.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
[root@164118-web3 bin]# ./serverStatus.sh -all -username admin -password atlas
ADMU0116I: Tool information is being logged in file
/mnt/drive1/IBM/WebSphere/
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
ASKER
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
Thanks
Sudhakar
sigh...
./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2
./wsadmin.sh -lang jython -f DeleteServer.py -s atlas_dev2
ASKER
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
[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)...
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/
ls -lAgo
Thanks for your help (and patience)...
ASKER
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
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.
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.
ASKER
Can you please tell me what is software for below requiremnt
naming jar for websphere App server 6.1.0.
WAS SDK
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?
Can I get to you explain it a bit more?
ASKER
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.
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
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/
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
https://www.experts-exchange.com/Q__23369791.html#a21509904
I really appreciate your help with this. Thanks
ListServers.py.txt
ASKER
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
[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.
Let me look.
Here is a revised ListServers.py, which will produce some extra output, and may resolve the issue.
ListServers.py.txt
ListServers.py.txt
ASKER
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-we b3Node01Ce ll/nodes/1 64118-web3 Node01/ser vers/atlas _dev1|serv er.xml#Ser ver_120956 2390745)
Line 38: server: atlas_dev2(cells/164118-we b3Node01Ce ll/nodes/1 64118-web3 Node01/ser vers/atlas _dev2|serv er.xml#Ser ver_120957 8158067)
Line 38: server: atlas_dev3(cells/164118-we b3Node01Ce ll/nodes/1 64118-web3 Node01/ser vers/atlas _dev3|serv er.xml#Ser ver_120957 8296424)
Line 38: server: server1(cells/164118-web3N ode01Cell/ nodes/1641 18-web3Nod e01/server s/server1| server.xml #Server_12 0909551937 9)
Line 38: server: web_atlas_01(cells/164118- web3Node01 Cell/nodes /164118-we b3Node01/s ervers/web _atlas_01| server.xml #Server_12 0975328889 7)
Line 46: maxLen: [10, 8, 8, 6]
serverName| CellName | NodeName | Server
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-we
Line 38: server: atlas_dev2(cells/164118-we
Line 38: server: atlas_dev3(cells/164118-we
Line 38: server: server1(cells/164118-web3N
Line 38: server: web_atlas_01(cells/164118-
Line 46: maxLen: [10, 8, 8, 6]
serverName| CellName | NodeName | Server
That's the problem! Thank you, thank you, thank you!
ListServers.py.txt
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.
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.
ASKER
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
DeleteServer.py.txt
ASKER
Hi
Here is the output from above script
*sys-package-mgr*: processing new jar, '/mnt/drive1/IBM/WebSphere /AppServer /lib/wsdl4 j-1.6.1.ja r'
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
Here is the output from above script
*sys-package-mgr*: processing new jar, '/mnt/drive1/IBM/WebSphere
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
ASKER
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
Thanks
Sudhakar
ASKER
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/A ppSrv01/bi n
./startServer.sh <serverName>
What server did you want to add? atlas_dev2?
Then, it would be:
./startServer.sh altas_dev2
containing profiles/<profileName>/bin
For example:
cd /mnt/drive1/IBM/WebSphere/
./startServer.sh <serverName>
What server did you want to add? atlas_dev2?
Then, it would be:
./startServer.sh altas_dev2
ASKER
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
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_ADDRES S
9411|SAS_SSL_SERVERAUTH_LI STENER_ADD RESS
9410|CSIV2_SSL_SERVERAUTH_ LISTENER_A DDRESS
9412|CSIV2_SSL_MUTUALAUTH_ LISTENER_A DDRESS
9062|WC_adminhost
9081|WC_defaulthost
9355|DCS_UNICAST_ADDRESS
9045|WC_adminhost_secure
9444|WC_defaulthost_secure
5063|SIP_DEFAULTHOST
5062|SIP_DEFAULTHOST_SECUR E
7278|SIB_ENDPOINT_ADDRESS
7287|SIB_ENDPOINT_SECURE_A DDRESS
5559|SIB_MQ_ENDPOINT_ADDRE SS
5579|SIB_MQ_ENDPOINT_SECUR E_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
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_ADDRES
9411|SAS_SSL_SERVERAUTH_LI
9410|CSIV2_SSL_SERVERAUTH_
9412|CSIV2_SSL_MUTUALAUTH_
9062|WC_adminhost
9081|WC_defaulthost
9355|DCS_UNICAST_ADDRESS
9045|WC_adminhost_secure
9444|WC_defaulthost_secure
5063|SIP_DEFAULTHOST
5062|SIP_DEFAULTHOST_SECUR
7278|SIB_ENDPOINT_ADDRESS
7287|SIB_ENDPOINT_SECURE_A
5559|SIB_MQ_ENDPOINT_ADDRE
5579|SIB_MQ_ENDPOINT_SECUR
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
ASKER
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
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.
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?
start and stop your individual application servers, as well as access the
administration console for each. Is that correct?
ASKER
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
Thanks
Sudhakar
ASKER
Server name: test
Port#|EndPoint Name
-----+-------------
2810|BOOTSTRAP_ADDRESS
8881|SOAP_CONNECTOR_ADDRES S
9404|SAS_SSL_SERVERAUTH_LI STENER_ADD RESS
9405|CSIV2_SSL_SERVERAUTH_ LISTENER_A DDRESS
9406|CSIV2_SSL_MUTUALAUTH_ LISTENER_A DDRESS
9061|WC_adminhost
9081|WC_defaulthost
9354|DCS_UNICAST_ADDRESS
9044|WC_adminhost_secure
9444|WC_defaulthost_secure
5062|SIP_DEFAULTHOST
5063|SIP_DEFAULTHOST_SECUR E
7277|SIB_ENDPOINT_ADDRESS
7287|SIB_ENDPOINT_SECURE_A DDRESS
5559|SIB_MQ_ENDPOINT_ADDRE SS
5579|SIB_MQ_ENDPOINT_SECUR E_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
Port#|EndPoint Name
-----+-------------
2810|BOOTSTRAP_ADDRESS
8881|SOAP_CONNECTOR_ADDRES
9404|SAS_SSL_SERVERAUTH_LI
9405|CSIV2_SSL_SERVERAUTH_
9406|CSIV2_SSL_MUTUALAUTH_
9061|WC_adminhost
9081|WC_defaulthost
9354|DCS_UNICAST_ADDRESS
9044|WC_adminhost_secure
9444|WC_defaulthost_secure
5062|SIP_DEFAULTHOST
5063|SIP_DEFAULTHOST_SECUR
7277|SIB_ENDPOINT_ADDRESS
7287|SIB_ENDPOINT_SECURE_A
5559|SIB_MQ_ENDPOINT_ADDRE
5579|SIB_MQ_ENDPOINT_SECUR
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
Unfortunately, it will take me a little while, since I have to take my son to a doctor's appointment at in an hour
ASKER
But i can connect to https://192.168.100.192:9043/ibm/console/logon.jsp which is my default console for server1.
Thanks
Sudhakar
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=Appl icationMan ager,*' % ( 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.
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=Appl
# 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.
ASKER
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=Appl icationMan ager,*' % ( cellName, nodeName ) )
wsadmin>print 'appManager: %s' % appManager
appManager:
wsadmin>AdminControl.invok e( appManager, 'startApplication', 'DefaultApplication' )
WASX7015E: Exception running command: "AdminControl.invoke( appManager, 'startApplication', 'DefaultApplication' )"; exception information:
com.ibm.ws.scripting.Scrip tingExcept ion: WASX7025E: Error found in String ""; cannot create ObjectName.
[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=Appl
wsadmin>print 'appManager: %s' % appManager
appManager:
wsadmin>AdminControl.invok
WASX7015E: Exception running command: "AdminControl.invoke( appManager, 'startApplication', 'DefaultApplication' )"; exception information:
com.ibm.ws.scripting.Scrip
ASKER
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
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
ASKER
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
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
ASKER
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 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.
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.
ASKER
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
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)
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)
ASKER
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
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.
This current question doesn't relate at all to the original question as asked.
ASKER
One my last question. Does it assign to you only for my new question?. I want you to take my new question
ASKER
Hi I opend new question. Here is my question id
23415073
23415073
ASKER