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

Vladimir Nisevic commented on ISIS-1358:
----------------------------------------

Hi Martin, I've started "mvn clean install", from IntelliJ..

Meanwhile I've adapted pom.xml in webapp module,  as advised by Jörg, with next 
configuration  

{code}
<packagingExcludes>
                                WEB-INF/lib/isis-core-webserver*.jar,
                                WEB-INF/lib/javax.servlet-api-*.jar,
                                WEB-INF/lib/javax.websocket-api-*.jar,
                                WEB-INF/lib/javax-websocket-server-impl-*.jar,
                                WEB-INF/lib/jetty-*.jar
</packagingExcludes>
{code}

I think I had to exclude additional websocket-server-impl, since there are more 
jetty JAR's then jetty-all, I've also adapted the exclude to jetty-*.jar

The webapp launches now fine, but I have now a swagger issue, see attached 
screenshot. It seems that the 
org.apache.isis.core.metamodel.services.swagger.SwaggerServiceDefault is not 
integrated.

When I launch the webapp with IntelliJ launcher, with Jetty, everything works 
fine.




> Simpleapp created from archetype and packaged to war fails when deploying to 
> Tomcat
> -----------------------------------------------------------------------------------
>
>                 Key: ISIS-1358
>                 URL: https://issues.apache.org/jira/browse/ISIS-1358
>             Project: Isis
>          Issue Type: Bug
>          Components: Archetype: SimpleApp
>    Affects Versions: 1.12.1
>         Environment: Windows 10, Windows 7
> Tomcat version: Apache Tomcat/8.0.33
> JVM: 1.8.0_77-b03
>            Reporter: Vladimir Nisevic
>            Assignee: Dan Haywood
>         Attachments: catalina.2016-03-31.log
>
>
> Steps to reproduce:
> * Created simpleapp from archetype (Version 1.12.0)
> * Execute mvn clean package
> * Take the file \webapp\target\simpleapp.war and deploy to tomcat thru e.g. 
> manager UI (http://localhost:8080/manager/html) 
> Attached the catalina.log



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

Reply via email to