Oneclick console not running - Action class [com.aprisma.spectrum.app.repmgr.web.struts.SRMJasperMultiTenantConfigAction] not found

book

Article ID: 141315

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Spectrum 10.4 OneClick w/SRM
Windows 2012 R2

OneClick's tomcat starts up but unable to access OneClick. The 
 following errors are seen in the OneClick's tomcat log file

 

Dec 05, 2019 6:49:14 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter [struts2]
Unable to load configuration. - action - file:/D:/win32app/Spectrum/tomcat/webapps/spectrum/WEB-INF/classes/struts.xml:339:125
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:509)
 at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73)
 at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
 at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270)
 at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251)
 at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102)
 at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4511)
 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5157)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
 at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
 at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
 at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
 at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
 at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:934)
 at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
 at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:637)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: Unable to load configuration. - action - file:/D:/win32app/Spectrum/tomcat/webapps/spectrum/WEB-INF/classes/struts.xml:339:125
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
 at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957)
 at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496)
 ... 46 more
Caused by: Action class [com.aprisma.spectrum.app.repmgr.web.struts.SRMJasperMultiTenantConfigAction] not found - action - file:/D:/win32app/Spectrum/tomcat/webapps/spectrum/WEB-INF/classes/struts.xml:339:125
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:508)
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:457)
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:572)
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:326)
 at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:108)
 at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:196)
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
 ... 49 more

 

Dec 05, 2019 6:49:14 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/spectrum] startup failed due to previous errors

Cause

The $SPECROOT/tomcat/lib/rpmgr.jar file was from an older installation which did not have the 
   SRMJasperMultiTenantConfigAction action defined.

Environment

Release : 10.4

Component : SPCOCK / Spectrum OneClick

Resolution

The $SPECROOT/tomcat/lib/rpmgr.jar file was corrupted or was from a prior version on the system. This caused errors during
startup as tomcat was unable to load the SRMJasperMultiTenantConfigAction action from the rpmgr.jar file.

  • Obtain the $SPECROOT/tomcat/lib/rpmgr.jar file from another OneClick Server running the same version as the problem system
  • -or- Re-Install OneClick

 

Additional Information

WorkAround:


Comment out the SRMJasperMultiTenantConfigAction in the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/classes/struts.xml file and
   restart OneClick


 

Attachments