AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

websm: configuring embedded Web server ?

  • 1.  websm: configuring embedded Web server ?

    Posted Thu February 24, 2011 08:54 AM

    Originally posted by: Vilius


    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:
    
    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 exist and starts with no problems. Following filesets are installed(so I consider websm is installed):
    
    # 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) ?

    thnaks
    Vilius


  • 2.  Re: websm: configuring embedded Web server ?

    Posted Fri February 25, 2011 06:39 AM

    Originally posted by: Vilius


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

    I found logs located at /var/websm/http/logs, and it throws:
    
    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