java - Docker container running one computer and not another -
i'm trying deploy websphere liberty application via docker. i'm using apache struts ui. when deploying on local machine have no problems, when put on seemingly other machine, throws error saying struts2 filter cannot loaded. classes not seem missing.
why container work on 1 machine , not another?
stack trace:
[error ] srve0321e: [struts2] filter did not load during start up. filter [struts2]: not initialized [error ] srve0315e: exception occurred: java.lang.throwable: javax.servlet.servletexception: filter [struts2]: not initialized @ com.ibm.ws.webcontainer.webapp.webapp.handlerequest(webapp.java:5027) @ [internal classes] caused by: javax.servlet.servletexception: filter [struts2]: not initialized @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.init(filterinstancewrapper.java:163) ... 1 more caused by: unable create sax parser - class: com.icl.saxon.aelfred.saxparserfactoryimpl file: saxparserfactoryimpl.java method: newsaxparser line: 34 - com/icl/saxon/aelfred/saxparserfactoryimpl.java:34:-1 @ com.opensymphony.xwork2.config.providers.xmlconfigurationprovider.loadconfigurationfiles(xmlconfigurationprovider.java:835) @ com.opensymphony.xwork2.config.providers.xmlconfigurationprovider.loaddocuments(xmlconfigurationprovider.java:131) @ com.opensymphony.xwork2.config.providers.xmlconfigurationprovider.init(xmlconfigurationprovider.java:100) @ com.opensymphony.xwork2.config.impl.defaultconfiguration.reload(defaultconfiguration.java:130) @ com.opensymphony.xwork2.config.configurationmanager.getconfiguration(configurationmanager.java:52) @ org.apache.struts2.dispatcher.dispatcher.init_preloadconfiguration(dispatcher.java:395) @ org.apache.struts2.dispatcher.dispatcher.init(dispatcher.java:452) @ org.apache.struts2.dispatcher.filterdispatcher.init(filterdispatcher.java:201) @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.init(filterinstancewrapper.java:149) ... 1 more caused by: unable create sax parser - class: com.icl.saxon.aelfred.saxparserfactoryimpl file: saxparserfactoryimpl.java method: newsaxparser line: 34 - com/icl/saxon/aelfred/saxparserfactoryimpl.java:34:-1 @ com.opensymphony.xwork2.util.domhelper.parse(domhelper.java:111) @ com.opensymphony.xwork2.config.providers.xmlconfigurationprovider.loadconfigurationfiles(xmlconfigurationprovider.java:830) ... 9 more caused by: javax.xml.parsers.parserconfigurationexception: aelfred parser non-validating @ com.icl.saxon.aelfred.saxparserfactoryimpl.newsaxparser(saxparserfactoryimpl.java:34) @ com.opensymphony.xwork2.util.domhelper.parse(domhelper.java:109) ... 10 more
caused by: javax.xml.parsers.parserconfigurationexception: aelfred parser non-validating
the struts2 requires have validating parser. since parser non-validating should removed classpath.
the affected parser found in saxon.jar
.
Comments
Post a Comment