[jbosstools-issues] [JBoss JIRA] (JBIDE-18364) Wildfly 8.1 Openshift instance appears not to support Servlet 3.1 API

Mikhail Kalkov (JIRA) issues at jboss.org
Wed Sep 17 03:41:03 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-18364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Kalkov updated JBIDE-18364:
-----------------------------------
    Description: 
I'm running JBoss Developer Studio 8.0.0.Beta3 with JBoss OpenShift Tools 2.6.0.Beta3-v20140718-1935-B44 on x86_64 jdk1.7.0_67 on Windows 7. I have also installed WildFly 8.1.0.Final locally and created an OpenShift application with Wildfly 8.1 cartridge [1].

When I create a Dynamic Web Project with Servlet API 3.1, I can deploy it to my local WildFly 8.1 instance from within Eclipse as well as use git push to deploy it to an OpenShift application. However, if I try to add the same project to the same Openshift application from within Eclipse, I get a message that "The server does not support version 3.1 of the J2EE Web module specification." Please, note that even though I cannot change version of project facet Dynamic Web Module to 3.0 on the same project, I was able to successfully deploy from within Eclipse a different project that was created with Servlet API 3.0.

To reproduce,
 - open JBoss Developer Studio with a new workspace
 - File > Import > Maven > Existing Maven Projects > path-to-jbide18364-dir > check all and ok
 - locate "wildfly" cartridge [2], provide a URL and create a new OpenShift application 
 - create a connection to your Openshift account on the "OpenShift Explorer" view
 - find your newly created application and right click on it in order to import the app and create a server
 - on the Servers tab, right click the newly created server and select "Add and Remove"
 - select the "default" app and observe that it can be moved to the right column
 - select the "helloworld" app and observe that it cannot be moved to the right column because of the "The server does not support version 3.1 of the J2EE Web module specification" error

[1] https://cartreflect-claytondev.rhcloud.com/reflect?github=openshift-cartridges/openshift-wildfly-cartridge#WildFly8
[2] https://openshift.redhat.com/app/console/application_types?search=wildfly

  was:
I'm running JBoss Developer Studio 8.0.0.Beta3 with JBoss OpenShift Tools 2.6.0.Beta3-v20140718-1935-B44 on x86_64 jdk1.7.0_67 on Windows 7. I have also installed WildFly 8.1.0.Final locally and created an OpenShift application with Wildfly 8.1 cartridge [1].

When I create a Dynamic Web Project with Servlet API 3.1, I can deploy it to my local WildFly 8.1 instance from within Eclipse as well as use git push to deploy it to an OpenShift application. However, if I try to add the same project to the same Openshift application from within Eclipse, I get a message that "The server does not support version 3.1 of the J2EE Web module specification." Please, note that even though I cannot change version of project facet Dynamic Web Module to 3.0 on the same project, I was able to successfully deploy from within Eclipse a different project that was created with Servlet API 3.0.

To reproduce,
 - open JBoss Developer Studio with a new workspace
 - File > Import > Maven > Existing Maven Projects > path-to-jbide18364-dir > check all and ok
 - create a connection to your Openshift account on the "OpenShift Explorer" view
 - create a new OpenShift Server on the "Server" view

[1] https://cartreflect-claytondev.rhcloud.com/reflect?github=openshift-cartridges/openshift-wildfly-cartridge#WildFly8



> Wildfly 8.1 Openshift instance appears not to support Servlet 3.1 API
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-18364
>                 URL: https://issues.jboss.org/browse/JBIDE-18364
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.2.0.Beta3
>            Reporter: Mikhail Kalkov
>             Fix For: 4.2.0.CR2
>
>
> I'm running JBoss Developer Studio 8.0.0.Beta3 with JBoss OpenShift Tools 2.6.0.Beta3-v20140718-1935-B44 on x86_64 jdk1.7.0_67 on Windows 7. I have also installed WildFly 8.1.0.Final locally and created an OpenShift application with Wildfly 8.1 cartridge [1].
> When I create a Dynamic Web Project with Servlet API 3.1, I can deploy it to my local WildFly 8.1 instance from within Eclipse as well as use git push to deploy it to an OpenShift application. However, if I try to add the same project to the same Openshift application from within Eclipse, I get a message that "The server does not support version 3.1 of the J2EE Web module specification." Please, note that even though I cannot change version of project facet Dynamic Web Module to 3.0 on the same project, I was able to successfully deploy from within Eclipse a different project that was created with Servlet API 3.0.
> To reproduce,
>  - open JBoss Developer Studio with a new workspace
>  - File > Import > Maven > Existing Maven Projects > path-to-jbide18364-dir > check all and ok
>  - locate "wildfly" cartridge [2], provide a URL and create a new OpenShift application 
>  - create a connection to your Openshift account on the "OpenShift Explorer" view
>  - find your newly created application and right click on it in order to import the app and create a server
>  - on the Servers tab, right click the newly created server and select "Add and Remove"
>  - select the "default" app and observe that it can be moved to the right column
>  - select the "helloworld" app and observe that it cannot be moved to the right column because of the "The server does not support version 3.1 of the J2EE Web module specification" error
> [1] https://cartreflect-claytondev.rhcloud.com/reflect?github=openshift-cartridges/openshift-wildfly-cartridge#WildFly8
> [2] https://openshift.redhat.com/app/console/application_types?search=wildfly



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list