[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-17 Thread Dan Haywood (JIRA)

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

Dan Haywood commented on ISIS-1358:
---

That's because there's a  to do that... 

{code}

intellij


idea.version




org.apache.isis.core
isis-core-webserver



{code}

It's there because the org.apache.isis.WebServer class requires them, and that 
idea.version variable is a convenient way to distinguish cmd line vs IDE usage.

> 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
> Fix For: 1.13.0
>
> Attachments: catalina.2016-03-31.log, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-17 Thread Dan Haywood (JIRA)

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

Dan Haywood commented on ISIS-1358:
---

They aren't, as of the 1.12.0 archetype.  However, many users will have apps 
from earlier versions of the archetype that *did* include those JARs.  The 
easiest fix is to run the new archetype and port over files; isn't that 
difficult to do.

> 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
> Fix For: 1.13.0
>
> Attachments: catalina.2016-03-31.log, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-17 Thread Dan Haywood (JIRA)

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

Dan Haywood commented on ISIS-1358:
---

I've raised a ticket for this suggestion, ISIS-1403.  

> 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
> Fix For: 1.13.0
>
> Attachments: catalina.2016-03-31.log, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-17 Thread Dan Haywood (JIRA)

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

Dan Haywood commented on ISIS-1358:
---

fyi, this used to be the way to remove these, but the pom.xml as of 1.12.0 has 
been improved... there is no longer any dependency on the isis-core-webserver 
module (which is what was bringing these dependencies in transitively).

I just did a build and deploy to Tomcat; the set of JARs in WEB-INF/lib is:

{code}
activation-1.1.1.jar
animate.css-3.2.5.jar
annotations-2.0.1.jar
aopalliance-1.0.jar
axon-core-2.4.jar
bootstrap-3.3.6.jar
cglib-nodep-2.2.2.jar
commons-beanutils-1.8.3.jar
commons-cli-1.3.1.jar
commons-codec-1.10.jar
commons-collections-3.2.1.jar
commons-email-1.4.jar
commons-io-2.4.jar
commons-lang3-3.3.2.jar
commons-logging-1.2.jar
datanucleus-api-jdo-4.1.1.jar
datanucleus-core-4.1.7.jar
datanucleus-jdo-query-4.0.5.jar
datanucleus-jodatime-4.1.0-release.jar
datanucleus-rdbms-4.1.9.jar
disruptor-3.2.0.jar
dom4j-1.6.1.jar
Eonasdan-bootstrap-datetimepicker-4.15.35.jar
FastInfoset-1.2.12.jar
font-awesome-4.4.0.jar
geronimo-activation_1.1_spec-1.1.jar
geronimo-annotation_1.0_spec-1.1.1.jar
geronimo-atinject_1.0_spec-1.0.jar
geronimo-jcdi_1.0_spec-1.0.jar
geronimo-servlet_3.0_spec-1.0.jar
gson-2.5.jar
guava-19.0.jar
guice-4.0.jar
hamcrest-core-1.3.jar
hamcrest-library-1.3.jar
hsqldb-2.3.1.jar
httpclient-4.3.6.jar
httpcore-4.3.3.jar
isis-core-applib-1.12.1.jar
isis-core-log4j-1.12.1.jar
isis-core-metamodel-1.12.1.jar
isis-core-runtime-1.12.1.jar
isis-core-schema-1.12.1.jar
isis-core-security-1.12.1.jar
isis-core-security-shiro-1.12.1.jar
isis-core-viewer-restfulobjects-applib-1.12.1.jar
isis-core-viewer-restfulobjects-rendering-1.12.1.jar
isis-core-viewer-restfulobjects-server-1.12.1.jar
isis-core-wrapper-1.12.1.jar
isis-viewer-wicket-applib-1.12.1.jar
isis-viewer-wicket-impl-1.12.1.jar
isis-viewer-wicket-model-1.12.1.jar
isis-viewer-wicket-ui-1.12.1.jar
istack-commons-runtime-2.16.jar
jackson-annotations-2.6.4.jar
jackson-core-2.6.4.jar
jackson-core-asl-1.9.12.jar
jackson-databind-2.6.4.jar
jackson-dataformat-yaml-2.4.5.jar
jackson-datatype-joda-2.4.5.jar
jackson-jaxrs-1.9.12.jar
jackson-mapper-asl-1.9.12.jar
jackson-xc-1.9.12.jar
javassist-3.20.0-GA.jar
javax.inject-1.jar
javax.mail-1.5.2.jar
jaxb-api-2.2.7.jar
jaxb-core-2.2.7.jar
jaxb-impl-2.2.7.jar
jboss-annotations-api_1.2_spec-1.0.0.Final.jar
jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar
jboss-logging-3.1.4.GA.jar
jcip-annotations-1.0.jar
jdo-api-3.1.jar
jdom-2.0.2.jar
joda-time-2.9.1.jar
jquery-1.11.1.jar
jquery-selectors-0.1.6.jar
jquery-ui-1.11.4.jar
jsr173_api-1.0.jar
junit-4.12.jar
log4j-1.2.17.jar
log4jdbc-remix-0.2.7.jar
maven-parent-config-0.3.5.jar
modernizr-2.8.3.jar
momentjs-2.10.3.jar
myapp-app-1.0-SNAPSHOT.jar
myapp-dom-1.0-SNAPSHOT.jar
myapp-fixture-1.0-SNAPSHOT.jar
objenesis-2.2.jar
reflections-0.9.10.jar
resteasy-jackson-provider-3.0.14.Final.jar
resteasy-jaxb-provider-3.0.14.Final.jar
resteasy-jaxrs-3.0.14.Final.jar
select2-3.5.2.jar
shiro-core-1.2.3.jar
shiro-web-1.2.3.jar
slf4j-api-1.7.13.jar
slf4j-log4j12-1.7.13.jar
snakeyaml-1.12.jar
summernote-0.7.0.jar
swagger-annotations-1.5.5.jar
swagger-core-1.5.5.jar
swagger-models-1.5.5.jar
swagger-ui-2.1.3.jar
transaction-api-1.1.jar
validation-api-1.1.0.Final.jar
webjars-servlet-2.x-1.4.jar
wicket-auth-roles-6.20.0.jar
wicket-bootstrap-core-0.9.15.jar
wicket-bootstrap-extensions-0.9.15.jar
wicket-bootstrap-themes-0.9.15.jar
wicket-core-6.20.0.jar
wicket-extensions-6.20.0.jar
wicket-guice-6.20.0.jar
wicket-ioc-6.20.0.jar
wicket-request-6.20.0.jar
wicket-source-6.0.0.8.jar
wicketstuff-select2-6.20.0.jar
wicket-util-6.20.0.jar
wicket-webjars-0.4.8.jar
xml-apis-1.0.b2.jar
xmlpull-1.1.3.1.jar
xpp3_min-1.1.4c.jar
xstream-1.4.8.jar
{code}

> 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
> Fix For: 1.13.0
>
> Attachments: catalina.2016-03-31.log, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-13 Thread Vladimir Nisevic (JIRA)

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

Vladimir Nisevic commented on ISIS-1358:


Martin, you're right. I was actually using maven thru IntelliJ. Running maven 
from command line gives me a war file without jetty-jars, but when I start the 
maven task from IntelliJ, then I get the war with jetty jars!


> 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, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-13 Thread Martin Grigorov (JIRA)

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

Martin Grigorov commented on ISIS-1358:
---

You must be doing something else there.
I've re-run "mvn archetype:generate" you pasted above and it works just fine in 
Tomcat 8.x.
Also there are no Jetty jars in webapp/target/simpleapp.war#WEB-INF/lib/, so 
there is no need to exclude anything.

> 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, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-13 Thread Vladimir Nisevic (JIRA)

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

Vladimir Nisevic commented on ISIS-1358:


Hi Martin, I will create new ticket with Swagger issue. In this issue I still 
believe that default generated war is not deployable on Tomcat.

Here the steps to reproduce:
1. Create archetype as described in guide
{code}
mvn archetype:generate \
-D archetypeGroupId=org.apache.isis.archetype \
-D archetypeArtifactId=simpleapp-archetype \
-D archetypeVersion=1.12.1 \
-D groupId=com.mycompany \
-D artifactId=myapp \
-D version=1.0-SNAPSHOT \
-B
{code}

2. execute "mvn clean install"
3. deploy simpleapp.war to external tomcat, eg. thru tomcat manager webapp
4. ERROR: starting of simpleapp.war will fail, in Tomcat (my Tomcat version 
8.0.33) log will appear
{code}
13-May-2016 06:42:30.922 SEVERE [http-apr-8080-exec-31] 
org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: 
start: 
 org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/simpleapp]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:467)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1612)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown 
Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at 
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1451)
at 
org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:285)
at 
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2500)
at 

[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-13 Thread Martin Grigorov (JIRA)

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

Martin Grigorov commented on ISIS-1358:
---

The Swagger issue should be reported to in a new ticket, with description how 
to reproduce or at least a demo application.

This ticket should be closed as "Cannot reproduce" if you can't reproduce it 
too.

> 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, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-12 Thread Vladimir Nisevic (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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}

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

{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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-12 Thread Martin Grigorov (JIRA)

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

Martin Grigorov commented on ISIS-1358:
---

I've found it!
mvn archetype:generate  \
-D archetypeGroupId=org.apache.isis.archetype \
-D archetypeArtifactId=simpleapp-archetype \
-D archetypeVersion=1.12.1 \
-D groupId=com.mycompany \
-D artifactId=myapp \
-D version=1.0-SNAPSHOT \
-B

> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-12 Thread Martin Grigorov (JIRA)

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

Martin Grigorov commented on ISIS-1358:
---

How do you created the app from the archetype ?

I've just tried " mvn archetype:generate -DgroupId=org.apache.isis.archetype 
-DartifactId=simpleapp-archetype -Dversion=1.13.0-SNAPSHOT" but it seems this 
is not the correct way.

> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-05-12 Thread Martin Grigorov (JIRA)

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

Martin Grigorov commented on ISIS-1358:
---

The correct fix would be to not include Jetty jars in the .war file at all.

> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-04-04 Thread JIRA

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

Jörg Rade commented on ISIS-1358:
-

Hi Vladimir,

this is from my webapp/pom.xml: 
{code}

maven-war-plugin

ife-webapp


false


${maven.build.timestamp}
${agent.name}
${user.name}
Maven ${maven.version}
${java.version}
${os.name}
${project.version}


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


{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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-04-03 Thread Vladimir Nisevic (JIRA)

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

Vladimir Nisevic commented on ISIS-1358:


Hi Jörg, thanks for the hint. I commented out the part in pom.xml in 
simpleapp-webapp module, but still have same issue.

Is this the way how to remove the jetty from war?

Thanks,Vladimir

{code}




org.codehaus.mojo
build-helper-maven-plugin
1.8
  

  validate
  
maven-version
  

  




{code}

> 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)


[jira] [Commented] (ISIS-1358) Simpleapp created from archetype and packaged to war fails when deploying to Tomcat

2016-04-01 Thread JIRA

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

Jörg Rade commented on ISIS-1358:
-

Hi,

if I recall correctly, I had to exclude jetty from the war, since it doesn't 
make sense to embed a sevletcontainer when deploying to another one.

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)