WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  SSL integration in websphere application server

    Posted Mon January 27, 2014 07:20 AM
    Hi Folks,

    Im newbee to Websphere

    Websphere version is 6.1 and OS WIN 2003

    One of my client has WAS and has launched a site from IBM HTTP_SERVER, but the site was suddenly not loading and shows following error.

    Error 500: SRVE0207E: Uncaught initialization exception thrown by servlet

    Site was launched from the following location
    C:\Program Files\IBM\WebSphere\AppServer\profiles\profile_name\installedApps\Node01Cell\xxxxx.ear

    1. When i check the site information shows that site is running from IBM HTTP SERVER

    2. When i check web server type by clicking webser server link from left under server menu, it shows IIS as webserver type .

    How would site run from IBM http server?.

    3. How can check whether SSL certificate is integrated with WAS


  • 2.  SSL integration in websphere application server

    Posted Mon January 27, 2014 08:03 AM
    Hi,

      First one you need to know your servers topology.
     
      Which is your front-end (IIS or IHS)?
     
      Check from WAS adminconsole not the Web Server type, check server IP (or DNS).
     
      Acces the Web Server and check which process is listening in ports 80 or 443
     
        WIN: netstat -nao
        nix: netstat -nap
        
      Check if your application is started from admin console.
     
      Your error is at server level so check Application server logs
     
        C:\Program Files\IBM\WebSphere\AppServer\profiles\profile_name\logs\server_name
        
          SystemOut.log
          SystemErr.log
          
        End logs located at
        
        C:\Program Files\IBM\WebSphere\AppServer\profiles\profile_name\logs\ffdc
        
        look for files generated at the same time of the error.
        
        Take in mind that you will have different certificates, one for HTTP server, one for the plugin (look into plugin-cfg.xml file to know where is it) and the last one for WAS
        
        Hope this helps.  Tell us if you need more support.
        
    regards


  • 3.  SSL integration in websphere application server

    Posted Tue January 28, 2014 03:30 AM
    Hi Gabriel,

    the frontend webserver is IHS, the port 80 and 443 are listerning

    The following error was stored in SystemOut.log

    E   [Servlet Error]-[action]: java.security.AccessControlException: Access denied (java.io.FilePermission C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\wrsweb-intNode01Cell\storefrontEAR.ear\storefrontB2CWEB.war\WEB-INF\web.xml read)
        at java.security.AccessController.checkPermission(AccessController.java:104)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:547)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:189)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:886)
        at java.io.File.exists(File.java:726)
        at com.ibm.ws.webcontainer.webapp.WebApp.getResource(WebApp.java:2108)
        at com.ibm.ws.webcontainer.webapp.WebApp.getResourceAsStream(WebApp.java:2044)
        at com.ibm.ws.webcontainer.facade.ServletContextFacade.getResourceAsStream(ServletContextFacade.java:118)
        at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1103)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:324)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:346)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

    [1/28/14 0:23:29:537 CST] 00000028 SecurityManag W   SECJ0314W: Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to InfoCenter for further information.

    Permission:

          \C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\wrsweb-intNode01Cell\storefrontEAR.ear\storefrontAdminWeb.war\WEB-INF\lib\struts.jar : Access denied (java.io.FilePermission \C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\wrsweb-intNode01Cell\storefrontEAR.ear\storefrontAdminWeb.war\WEB-INF\lib\struts.jar read)


    Code:

         org.apache.struts.action.ActionServlet  in  {file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/wrsweb-intNode01Cell/storefrontEAR.ear/storefrontAdminWEB.war/WEB-INF/lib/struts.jar}



    Stack Trace:

    java.security.AccessControlException: Access denied (java.io.FilePermission \C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\wrsweb-intNode01Cell\storefrontEAR.ear\storefrontAdminWeb.war\WEB-INF\lib\struts.jar read)
        at java.security.AccessController.checkPermission(AccessController.java:104)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:547)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:189)
        at com.ibm.ws.classloader.SinglePathClassProvider.check(SinglePathClassProvider.java:459)
        at com.ibm.ws.classloader.SinglePathClassProvider.checkURL(SinglePathClassProvider.java:446)
        at com.ibm.ws.classloader.SinglePathClassProvider.getResource(SinglePathClassProvider.java:438)
        at com.ibm.ws.classloader.CompoundClassLoader.findResource(CompoundClassLoader.java:823)
        at com.ibm.ws.classloader.CompoundClassLoader.getResource(CompoundClassLoader.java:787)
        at java.lang.Class.getResource(Class.java:1142)
        at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1086)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:324)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:346)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)


    Code Base Location:


    [1/28/14 0:23:29:537 CST] 00000028 SecurityManag W   SECJ0314W: Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to InfoCenter for further information.

    Permission:

          \C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\wrsweb-intNode01Cell\storefrontEAR.ear\storefrontAdminWeb.war\WEB-INF\lib\struts.jar : Access denied (java.io.FilePermission \C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\wrsweb-intNode01Cell\storefrontEAR.ear\storefrontAdminWeb.war\WEB-INF\lib\struts.jar read)


    Kindly guide me to run the site without error


  • 4.  RE: SSL integration in websphere application server

    Posted Wed September 14, 2016 12:59 PM

    Please can you check the exec access for this server