You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jonathan Gallimore (Jira)" <ji...@apache.org> on 2020/03/31 13:53:00 UTC
[jira] [Comment Edited] (TOMEE-2796) JSPs in Tomee - where to place
[ https://issues.apache.org/jira/browse/TOMEE-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071802#comment-17071802 ]
Jonathan Gallimore edited comment on TOMEE-2796 at 3/31/20, 1:52 PM:
---------------------------------------------------------------------
Can you give us a view on the structure of your EAR artifact, including where you have the Struts ActionServlet?
What would particularly useful to know:
* META-INF/application.xml from your EAR file
* WEB-INF/web.xml from the WAR file in your EAR file
* The location of org.apache.struts.ActionServlet in your EAR file - I'd expect this to be in a jar inside the WEB-INF/lib directory in the .war file in the .ear, or in a .jar in a lib folder in the .ear file
* Where you're currently packaging your JSPs - I'd expect them to be the .war file in the .ear file
e.g.
{{MyApp.ear}}
{{|- META-INF}}
{{| |- application.xml}}
{{|- MyAppWeb.war}}
{{ |- WEB-INF}}
{{ | |- web.xml}}
{{ |- lib}}
{{ | |- struts.jar}}
{{ |- index.jsp}}
{{ |- login.jsp}}
was (Author: jgallimore):
Can you give us a view on the structure of your EAR artifact, including where you have the Struts ActionServlet?
What would particularly useful to know:
* META-INF/application.xml from your EAR file
* WEB-INF/web.xml from the WAR file in your EAR file
* The location of org.apache.struts.ActionServlet in your EAR file - I'd expect this to be in a jar inside the WEB-INF/lib directory in the .war file in the .ear, or in a .jar in a lib folder in the .ear file
* Where you're currently packaging your JSPs - I'd expect them to be the .war file in the .ear file
e.g.
MyApp.ear
|- META-INF
|- application.xml
|- MyAppWeb.war
| |- WEB-INF
| |- web.xml
| |- lib
| |- struts.jar
|- index.jsp
|- login.jsp
> JSPs in Tomee - where to place
> ------------------------------
>
> Key: TOMEE-2796
> URL: https://issues.apache.org/jira/browse/TOMEE-2796
> Project: TomEE
> Issue Type: Documentation
> Components: TomEE Build
> Environment: JDK1.8 , TomEE plus
> Reporter: AJ
> Assignee: Jonathan Gallimore
> Priority: Major
>
> We are trying to migrate or application from Weblogic to TomEE , I have done most of the part , we are able to see the start page , but not what we expect it to be , which is a login.jsp page.
> Question is where do we place this Jsps ?
>
> Also we do have 3-4 servlets which are defined/declared in web.xml , bit we get an error everytime we try to deploy the app.
> ERROR : Unable to load servlet class: org.apache.struts.action.ActionServlet:
> Another important thing is that , we have an .EAR file and not a .WAR file
--
This message was sent by Atlassian Jira
(v8.3.4#803005)