websm: configuring embedded Web server ?


 
Thread Tools Search this Thread
Operating Systems AIX websm: configuring embedded Web server ?
# 1  
Old 02-25-2011
websm: configuring embedded Web server ?

Hello,

AIX v6.1 TL6
I need to install websm and have problems configuring AIX embedded Web server.
In order to install windows client I must download it from AIX server using HTTP.
This is from official IBM doc:
Quote:
The machine to be used as the managing machine must be set up as an HTTP Server. You can do this by
configuring the embedded Web server or the HTTP Server of your choice. Use the /usr/websm/bin/
configassist command to configure the embedded Web server.

Configuring an AIX® Server for Remote Client Installation
Complete the following steps to configure an AIX® server for Web-based System Manager Remote Client
installation:
1. Use the /usr/websm/bin/configassist command.
2. Proceed in Configuration Assistant until you reach the main panel.
3. Select Configure the web server for Web-based System Manager remote management.
4. Click Next.
I am able to launch configassist successfully but there is no word about websm there - only standard AIX post-installation tasks. Subsystem http4websm exists and starts with no problems. Following filesets are installed(so I consider websm is installed):
Code:
# lslpp -L|grep websm
  bos.aixpert.websm          6.1.6.0    C     F    AIX Security Hardening WebSM
  sysmgt.help.en_US.websm    6.1.4.0    C     F    WebSM Extended Helps - U.S.
  sysmgt.help.msg.en_US.websm
  sysmgt.msg.en_US.websm.apps
  sysmgt.pconsole.apps.websm
  sysmgt.websm.apps          6.1.6.1    C     F    Web-based System Manager
  sysmgt.websm.diag          6.1.0.0    C     F    Web-based System Manager
  sysmgt.websm.framework     6.1.6.2    C     F    Web-based System Manager
  sysmgt.websm.icons         6.1.6.0    C     F    Web-based System Manager Icons
  sysmgt.websm.rte           6.1.6.0    C     F    Web-based System Manager
  sysmgt.websm.webaccess     6.1.6.0    C     F    WebSM Web Access Enablement

I really don't want to install additional HTTP server, and want to use embedded one.
How do I configure this AIX embedded Web server(which is started by http4websm subsystem) ?

thanks
Vilius

---------- Post updated 02-25-11 at 01:51 PM ---------- Previous update was 02-24-11 at 03:59 PM ----------

Ok I dug a little bit further - now embedded Web server starts. When I try to access it using WEB browser I get:
Code:
Error 404: ProxyServlet: /index.html

I found logs located at /var/websm/http/logs, and it throws:
Code:
Trace Log

2011/02/25 15:17:09.966 CONFIG eclipse.buildId=@buildId@
java.fullversion=J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20100808 (JIT enabled)
J9VM - 20100629_60535_bHdSMr
JIT  - 20100623_16197_r8
GC   - 20100211_AA
BootLoader constants: OS=aix, ARCH=ppc, WS=motif, NL=en_US
Framework arguments:  -pluginCustomization plugin_customization.ini -application com.ibm.lwi.application.LWIApplication
Command-line arguments:  -pluginCustomization plugin_customization.ini -data workspace -application com.ibm.lwi.application.LWIApplication -clean ::class.method=com.ibm.rcp.core.internal.logger.frameworkhook.writeSession() ::thread=Start Level Event Dispatcher ::loggername=com.ibm.rcp.core.internal.logger.frameworkhook
2011/02/25 15:17:11.342 INFO =================/var/websm/lwi/runtime/isc ::class.method=unknown ::thread=Thread-4 ::loggername=SystemOut
2011/02/25 15:17:11.851 INFO CLWAA10569I : The Integrated Solutions Console is now started.
 ::class.method=unknown ::thread=Framework Event Dispatcher ::loggername=SystemOut
2011/02/25 15:17:13.421 SEVERE Webcontainer : com.ibm.ws.webcontainer.VirtualHost : SRVE0164E: Web Application / uses the context root /*, which is already in use by Web Application OrderEntry. Web Application / will not be loaded. Thread[Thread-4,5,main] ::class.method=com.ibm.ejs.ras.Tr.error() ::thread=Thread-4 ::loggername=com.ibm.ejs.ras
2011/02/25 15:17:13.424 SEVERE Exception occured in com.ibm.ws.webcontainer.WebContainer ::class.method=com.ibm.ws.ffdc.FFDCFilter.processException() ::thread=Thread-4 ::loggername=com.ibm.ws.ffdc

	com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Context root /* is already bound. Cannot start application /
	at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:110)
	at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:444)
	at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:417)
	at com.ibm.pvc.internal.webcontainer.trackers.WebApplicationServiceTracker.addingService(WebApplicationServiceTracker.java:85)
	at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
	at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
	at com.ibm.pvc.internal.webcontainer.trackers.XMLParserServiceTracker.initializeTrackers(XMLParserServiceTracker.java:493)
	at com.ibm.pvc.internal.webcontainer.trackers.XMLParserServiceTracker.startWebcontainer(XMLParserServiceTracker.java:231)
	at com.ibm.pvc.internal.webcontainer.trackers.XMLParserServiceTracker.addingService(XMLParserServiceTracker.java:138)
	at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
	at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
	at com.ibm.pvc.internal.webcontainer.WebContainerActivator.start(WebContainerActivator.java:39)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
	at java.security.AccessController.doPrivileged(AccessController.java:241)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:350)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
	at com.ibm.rcp.internal.util.BundleManager.start(BundleManager.java:74)
	at com.ibm.rcp.internal.util.BundleManager.start(BundleManager.java:164)
	at com.ibm.rcp.lifecycle.internal.application.BundleControlImpl.start(BundleControlImpl.java:125)
	at com.ibm.rcp.lifecycle.internal.application.BundleControlImpl.start(BundleControlImpl.java:106)
	at com.ibm.rcp.lifecycle.application.BundleControl.start(BundleControl.java:89)
	at com.ibm.lwi.application.LWIApplication.run(LWIApplication.java:125)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:561)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:501)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1239)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1215)
	at org.eclipse.core.launcher.Main.main(Main.java:30)
	at com.ibm.lwi.LaunchLWI$1.run(LaunchLWI.java:731)
2011/02/25 15:17:13.440 SEVERE Web Container : com.ibm.pvc.internal.webcontainer.trackers.WebApplicationServiceTracker : CWPWC0013E: Error occured while loading the web application com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: Context root /* is already bound. Cannot start application / Thread[Thread-4,5,main] ::class.method=com.ibm.ejs.ras.Tr.error() ::thread=Thread-4 ::loggername=com.ibm.ejs.ras
2011/02/25 15:17:13.441 SEVERE CWPWC0013E: Error occured while loading the web application com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: Context root /* is already bound. Cannot start application / ::class.method=com.ibm.ejs.ras.Tr.logPossibleThrowables() ::thread=Thread-4 ::loggername=com.ibm.ejs.ras
...

What could be the cause of this ?

thanks
Vilius

Last edited by vilius; 02-24-2011 at 10:05 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script for HP Embedded Web Server

Hi, In our company we have serveral HP Officejet Pro 8600 N911g printers. I would like to create one addressbook (in CSV format) and import it to all our printers If i go to the settings of my network printer by ip address: /#hId-EmailContacts in my browser I don't see an option ... (0 Replies)
Discussion started by: eclectica1
0 Replies

2. AIX

WebSM Server

I have configure Websm server in my aix 5.3, l used these command 1. /usr/websm/bin/wsmappletcfg -docdir /usr/HTTPServer/htdocs 2. /usr/websm/bin/wsmserver -enable its all done but i am unable to open the websm through my vista internet browser :- using http://172.16.0.59/wsm.html ... (0 Replies)
Discussion started by: reply.ravi
0 Replies

3. Solaris

configuring web server

Hi, I need to configure a apache web server. My server name is www.example.com I want to use port 7001 for the http requests and not port 80. I dont want to enter the port number when trying to access this URL. that is instead of giving www.example.com:7001 ,i want to give only... (3 Replies)
Discussion started by: sriram.s
3 Replies

4. UNIX for Dummies Questions & Answers

Web Server - uploading Frontpage web - will there be problems??

hiya All, New to this Web site stuff. Will be installing Fedora's latest O/S (including Apache) - onto a spare PC Then... Gulp... setting up a Web server. Designing a Web site using WINDOWS FRONT PAGE 2002: * Simply easiest/quickiest way to knock up a basic site. * There won't be... (6 Replies)
Discussion started by: marty 600
6 Replies

5. UNIX for Dummies Questions & Answers

Dynamic web pages for Unix Web Server

Hi, my company is considering a new development of our web site, which used to run on Apachi over Solaris. The company who is going to do this for us knows only about developing it in ASP. I guess this means we'll have to have another ISS server on NT for these dynamic pages :( What are... (5 Replies)
Discussion started by: me2unix
5 Replies
Login or Register to Ask a Question