[ 
https://issues.apache.org/jira/browse/OOZIE-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15725342#comment-15725342
 ] 

Attila Sasvari commented on OOZIE-2741:
---------------------------------------

# I believe we need web.xml if want to generate a WAR file that can be deployed 
to servlet containers.
# Yeah, it looks strange. Actually I followed 
https://github.com/jetty-project/embedded-jetty-jsp and thought Jetty needed 
those dependencies for handling JSP *. 
Now I removed that call and retested that index.jsp still accessible and 
related classes generated.  

* Jetty uses Apache Jasper, if you look at 
https://mvnrepository.com/artifact/org.mortbay.jasper/apache-jsp you can see 
there are tomcat dependencies. However, according to 
https://github.com/jetty-project/jasper-jsp, most tomcat dependencies are 
removed. We are using org.eclipse.jetty ยป apache-jsp 


>  Remove Tomcat
> --------------
>
>                 Key: OOZIE-2741
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2741
>             Project: Oozie
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Attila Sasvari
>            Assignee: Attila Sasvari
>         Attachments: OOZIE-2741-1.patch, OOZIE-2741-2.patch, 
> OOZIE-2741-3.patch, OOZIE-2741-4.patch
>
>
> Supporting both embedded Oozie and Tomcat makes things unnecessarily 
> complicated.
> Some benefits of removing Tomcat:
> - Removing the new Tomcat profile completely that OOZIE-2666 introduces  
> would make easier to understand how to build Oozie.
> - Cleaner and simpler packaging (and starting scripts) -  we wouldn't need to 
> deal with any war repackaging scripts, or special scripts for turning on SSL 
> (this what we currently need to do when using Tomcat). Also we could get rid 
> of assembly xml for tomcat.
> ??Note: We can still support building a WAR file for users who want to deploy 
> Oozie in their own (not embedded) Tomcat or Jetty. So if someone wants to use 
> Tomcat, they can deploy a Tomcat server and use the WAR file.??
> h5. Main tasks
> - Remove tomcat profile completely
> - distro: pom and shell scripts
> - src /main / assemblies distro-tomcat.xml



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to