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

Jörg Rade commented on ISIS-1358:
---------------------------------

Hi Vladimir,

this is from my webapp/pom.xml: 
{code}
            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <warName>ife-webapp</warName>
                    <archive>
                        <manifest>
                            <addClasspath>false</addClasspath>
                        </manifest>
                        <manifestEntries>
                            <Build-Time>${maven.build.timestamp}</Build-Time>
                            <Build-Host>${agent.name}</Build-Host>
                            <Build-User>${user.name}</Build-User>
                            <Build-Maven>Maven ${maven.version}</Build-Maven>
                            <Build-Java>${java.version}</Build-Java>
                            <Build-OS>${os.name}</Build-OS>
                            <Build-Label>${project.version}</Build-Label>
                        </manifestEntries>
                    </archive>
                    <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/jetty-all-*.jar</packagingExcludes>
                </configuration>
            </plugin>
{code}

Try to exclude more JARs from the WAR.

HTH -j

> 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.0
>         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