[
https://issues.apache.org/jira/browse/AIRAVATA-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704609#comment-13704609
]
Viknes Balasubramanee commented on AIRAVATA-882:
------------------------------------------------
Saminda, this patch will completely ignore the tomcat port and always get the
application port settings. The reason i have made it like this is, if at all we
try to get the tomcat port on certain old tomcat versions, we get an object not
of type exception. This exception is not because of our code but because of a
problem with tomcat release. So to avoid this, i have changed it to use the
port from application settings.
> Tomcat port configuration accessing problem in certain older tomcat 7 version
> -----------------------------------------------------------------------------
>
> Key: AIRAVATA-882
> URL: https://issues.apache.org/jira/browse/AIRAVATA-882
> Project: Airavata
> Issue Type: Bug
> Reporter: Viknes Balasubramanee
> Priority: Minor
> Attachments: Airavata-882.patch
>
>
> The port number of tomcat was not accessible during the server startup and
> hence the configuration database table did not have all the entries.
> Below is the exception that occurs
> [INFO] Registry service URL -
> http://localhost:8080/airavata-server/services/RegistryService?wsdl
> Exception in thread "Thread-8" java.lang.NoSuchMethodError:
> org.apache.coyote.http11.Http11Protocol.getSslImplementationName()Ljava/lang/String;
> at
> org.apache.airavata.common.utils.ServerSettings.getTomcatPort(ServerSettings.java:152)
> at
> org.apache.airavata.common.utils.ServiceUtils.generateServiceURLFromConfigurationContext(ServiceUtils.java:67)
> at
> org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle$1.run(MsgBoxServiceLifeCycle.java:118)
> Exception in thread "Thread-13" java.lang.NoSuchMethodError:
> org.apache.coyote.http11.Http11Protocol.getSslImplementationName()Ljava/lang/String;
> at
> org.apache.airavata.common.utils.ServerSettings.getTomcatPort(ServerSettings.java:152)
> at
> org.apache.airavata.common.utils.ServiceUtils.generateServiceURLFromConfigurationContext(ServiceUtils.java:67)
> at
> org.apache.airavata.wsmg.broker.BrokerServiceLifeCycle$1.run(BrokerServiceLifeCycle.java:157)
> Exception in thread "Thread-27" java.lang.NoSuchMethodError:
> org.apache.coyote.http11.Http11Protocol.getSslImplementationName()Ljava/lang/String;
> at
> org.apache.airavata.common.utils.ServerSettings.getTomcatPort(ServerSettings.java:152)
> at
> org.apache.airavata.common.utils.ServiceUtils.generateServiceURLFromConfigurationContext(ServiceUtils.java:67)
> at
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton$1.run(WorkflowInterpretorSkeleton.java:186)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira