You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Alan Waxman (JIRA)" <ji...@apache.org> on 2015/10/20 23:07:27 UTC
[jira] [Reopened] (AXIS2-5728) Getting 'https is forbidden'
exception for axis2 REST POJO with SHA-2 certificate
[ https://issues.apache.org/jira/browse/AXIS2-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Waxman reopened AXIS2-5728:
--------------------------------
Hi Andreas,
I tried adding an axis2.xml file to the project and now get a NPE in RepositoryListener.loadClassPathModules - see below. The web services work fine over http using no axis2.xml. Is there a minimal axis2.xml configuration that can be used to change the transport configuration and avoid the NPE?
2015-10-20 12:59:34,247 ERROR [el.Default (self-tuning)'] RepositoryListener:156 Error occurred while loading modules from classpath
java.lang.NullPointerException
at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:138)
at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:71)
at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:64)
at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:158)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:228)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)
> Getting 'https is forbidden' exception for axis2 REST POJO with SHA-2 certificate
> ---------------------------------------------------------------------------------
>
> Key: AXIS2-5728
> URL: https://issues.apache.org/jira/browse/AXIS2-5728
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Affects Versions: 1.6.2
> Environment: Linux OS with Weblogic and Tomcat web containers
> Reporter: Alan Waxman
> Priority: Blocker
>
> When trying to access axis2 REST POJOs on a deploy using SSL transport and a SHA-2 certificate we get the following exception:
> javax.servlet.ServletException: https is forbidden
> at org.apache.axis2.transport.http.AxisServlet.preprocessRequest(AxisServlet.java:637)
> at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:247)
> Since this is a POJO deploy there is no axis2.xml so no place to con
> figure the transport as far as I can tell.
> Any workaround to the problem would be fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org