WebAppConfigurationRuntimeException in Websphere 6.1 - Websphere

This is a discussion on WebAppConfigurationRuntimeException in Websphere 6.1 - Websphere ; Hello. I am developing a mapping class for my users. When I tested it in Tomcat everything works fine. When I deploy it in Websphere the following error appears and my class is never called. com.myApplication.web.app.WebAppConfigurationRunti meException: The external security ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: WebAppConfigurationRuntimeException in Websphere 6.1

  1. WebAppConfigurationRuntimeException in Websphere 6.1

    Hello.



    I am developing a mapping class for my users. When I tested it in Tomcat everything works fine. When I deploy it in Websphere the following error appears and my class is never called.





    com.myApplication.web.app.WebAppConfigurationRunti meException: The external security class: com.myApplication.sdk.externalsecurity.sso.SSOESM was not found. Check the following init-parameter: externalSecurityClass

    at com.myApplication.web.controller.ControllerHelper. initializeExternalSecurityClass(Unknown Source)

    at com.myApplication.web.app.MSTRWebController.initia lizeConfigurationFiles(Unknown Source)

    at com.myApplication.web.app.MSTRWebController.initia lizeApp(Unknown Source)

    at com.myApplication.web.servlets.MainServlet.init(Un known Source)

    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ini t(ServletWrapper.java:190)

    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.i nit(ServletWrapper.java:317)

    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ini tialize(ServletWrapper.java:1142)

    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.i nitialize(ServletWrapper.java:150)

    at com.ibm.wsspi.webcontainer.extension.WebExtensionP rocessor.createServletWrapper(WebExtensionProcesso r.java:99)

    at com.ibm.ws.webcontainer.webapp.WebApp.getServletWr apper(WebApp.java:790)

    at com.ibm.ws.webcontainer.webapp.WebApp.initializeTa rgetMappings(WebApp.java:470)

    at com.ibm.ws.webcontainer.webapp.WebApp.commonInitia lizationFinish(WebApp.java:307)

    at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize (WebApp.java:289)

    at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebAp plication(WebGroup.java:90)

    at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplic ation(VirtualHost.java:157)

    at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(W ebContainer.java:665)

    at com.ibm.ws.wswebcontainer.WebContainer.addWebAppli cation(WebContainer.java:618)

    at com.ibm.ws.webcontainer.component.WebContainerImpl .install(WebContainerImpl.java:335)

    at com.ibm.ws.webcontainer.component.WebContainerImpl .start(WebContainerImpl.java:551)

    at com.ibm.ws.runtime.component.ApplicationMgrImpl.st art(ApplicationMgrImpl.java:1301)

    at com.ibm.ws.runtime.component.DeployedApplicationIm pl.fireDeployedObjectStart(DeployedApplicationImpl .java:1138)

    at com.ibm.ws.runtime.component.DeployedModuleImpl.st art(DeployedModuleImpl.java:569)

    at com.ibm.ws.runtime.component.DeployedApplicationIm pl.start(DeployedApplicationImpl.java:817)

    at com.ibm.ws.runtime.component.ApplicationMgrImpl.st artApplication(ApplicationMgrImpl.java:950)

    at com.ibm.ws.runtime.component.ApplicationMgrImpl$Ap pInitializer.run(ApplicationMgrImpl.java:2120)

    at com.ibm.wsspi.runtime.component.WsComponentImpl$_A synchInitializer.run(WsComponentImpl.java:341)

    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1469)







    My web.xml file has the following:



    <init-param>

    <param-name>externalSecurityClass</param-name>

    <param-value>com.myApplication.sdk.externalsecurity.sso.S SOESM</param-value>

    </init-param>





    What am I doing wrong?



    What kind files need to be deployed when you modify for example one comma?



    Is there any manual or best practices to develop in Eclipse for Websphere Application Servers? Can you point me to the right direction?



    Please help me.



    Regards,



    Hermann

  2. Re: WebAppConfigurationRuntimeException in Websphere 6.1

    hbrandi@microstrategy.com wrote:
    > Hello.
    >
    > I am developing a mapping class for my users. When I tested it in Tomcat everything works fine. When I deploy it in Websphere the following error appears and my class is never called.
    >
    > com.myApplication.web.app.WebAppConfigurationRunti meException: The external security class: com.myApplication.sdk.externalsecurity.sso.SSOESM was not found. Check the following init-parameter: externalSecurityClass
    > at com.myApplication.web.controller.ControllerHelper. initializeExternalSecurityClass(Unknown Source)
    > at com.myApplication.web.app.MSTRWebController.initia lizeConfigurationFiles(Unknown Source)
    > at com.myApplication.web.app.MSTRWebController.initia lizeApp(Unknown Source)
    > at com.myApplication.web.servlets.MainServlet.init(Un known Source)
    > at com.ibm.ws.webcontainer.servlet.ServletWrapper.ini t(ServletWrapper.java:190)
    > at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.i nit(ServletWrapper.java:317)
    > at com.ibm.ws.webcontainer.servlet.ServletWrapper.ini tialize(ServletWrapper.java:1142)
    > at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.i nitialize(ServletWrapper.java:150)
    > at com.ibm.wsspi.webcontainer.extension.WebExtensionP rocessor.createServletWrapper(WebExtensionProcesso r.java:99)
    > at com.ibm.ws.webcontainer.webapp.WebApp.getServletWr apper(WebApp.java:790)
    > at com.ibm.ws.webcontainer.webapp.WebApp.initializeTa rgetMappings(WebApp.java:470)
    > at com.ibm.ws.webcontainer.webapp.WebApp.commonInitia lizationFinish(WebApp.java:307)
    > at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize (WebApp.java:289)
    > at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebAp plication(WebGroup.java:90)
    > at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplic ation(VirtualHost.java:157)
    > at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(W ebContainer.java:665)
    > at com.ibm.ws.wswebcontainer.WebContainer.addWebAppli cation(WebContainer.java:618)
    > at com.ibm.ws.webcontainer.component.WebContainerImpl .install(WebContainerImpl.java:335)
    > at com.ibm.ws.webcontainer.component.WebContainerImpl .start(WebContainerImpl.java:551)
    > at com.ibm.ws.runtime.component.ApplicationMgrImpl.st art(ApplicationMgrImpl.java:1301)
    > at com.ibm.ws.runtime.component.DeployedApplicationIm pl.fireDeployedObjectStart(DeployedApplicationImpl .java:1138)
    > at com.ibm.ws.runtime.component.DeployedModuleImpl.st art(DeployedModuleImpl.java:569)
    > at com.ibm.ws.runtime.component.DeployedApplicationIm pl.start(DeployedApplicationImpl.java:817)
    > at com.ibm.ws.runtime.component.ApplicationMgrImpl.st artApplication(ApplicationMgrImpl.java:950)
    > at com.ibm.ws.runtime.component.ApplicationMgrImpl$Ap pInitializer.run(ApplicationMgrImpl.java:2120)
    > at com.ibm.wsspi.runtime.component.WsComponentImpl$_A synchInitializer.run(WsComponentImpl.java:341)
    > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1469)
    >
    >
    > My web.xml file has the following:
    >
    > <init-param>
    > <param-name>externalSecurityClass</param-name>
    > <param-value>com.myApplication.sdk.externalsecurity.sso.S SOESM</param-value>
    > </init-param>
    >
    >
    > What am I doing wrong?
    >

    The JVM cannot find the class you named.
    > What kind files need to be deployed when you modify for example one comma?
    >
    > Is there any manual or best practices to develop in Eclipse for Websphere Application Servers? Can you point me to the right direction?
    >
    > Please help me.
    >
    > Regards,
    >
    > Hermann
    >

    Regarding eclipse development, there are many resources on the web. IBM
    has several products built on Eclipse for WAS development.

    Ken

  3. Re: WebAppConfigurationRuntimeException in Websphere 6.1

    Thank you for your response.



    But why? If the files are inside their folders. What could be making JVM does not locate my class?



    Hermann

  4. Re: WebAppConfigurationRuntimeException in Websphere 6.1

    Hermann wrote:
    > Thank you for your response.

    >

    > But why? If the files are inside their folders. What could be making JVM does not locate my class?

    >

    > Hermann
    >

    folders? Is this a JEE application?

    Ken

  5. Re: WebAppConfigurationRuntimeException in Websphere 6.1

    I am sorry. In the path. It is a JSP application deployed in Websphere 6.1.



    What I did on Friday was to add the classes to the war file and make the deployment. The log file I posted was from that day. I made other war file and ask for a re-deployment just to make sure the first one was not good.



    Thank you.



    Hermann

  6. Re: WebAppConfigurationRuntimeException in Websphere 6.1

    Hermann wrote:
    > I am sorry. In the path. It is a JSP application deployed in Websphere 6.1.

    >

    > What I did on Friday was to add the classes to the war file and make the deployment. The log file I posted was from that day. I made other war file and ask for a re-deployment just to make sure the first one was not good.

    >

    > Thank you.

    >

    > Hermann
    >

    I'm not clear on what you've configured...where is

    com.myApplication.sdk.externalsecurity.sso.SSOESM ?

    Ken

+ Reply to Thread