Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: pizza shop example can't run on tomcat 5.5.15

  1. #11
    Join Date
    Feb 2010
    Posts
    2

    Default

    Hi All,

    I also faced the same problem trying to deploy to Websphere AS 6.1 which is J2EE 1.4 complying container, alsoi tried to deploy it to another J2EE 1.4 container which was Tomcat 5.5.

    I got the underlying issue where the Roo app that i'm currently developing is using some JSP 2.1 API which only supported J2EE 5. In the docos, it doesn't say at all that what J2EE 5 is required for roo to run, it only mentioned JDK 5, i don't think that implies to J2EE 5? or it does?

    I have the requirement for the project to be able to run the app on WAS 6.1, so this seems to be a deal breaker, or is there a known quick fix?

    Thanks all

  2. #12
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    @sdyson,

    Thanks for your valuable feedback. It appears we are using a JSP 2.1 API fragment in the error handling page somewhere. This needs to be investigated further. Can you please open a Jira ticket for this?

    Cheers,
    Stefan
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  3. #13
    Join Date
    Mar 2010
    Posts
    2

    Default create and show pages not affected by 'CannotRenderException' problem

    It appears that create and show pages are unaffected by the error and only when the list page loads does the error occur. The home page also loads without a problem.

    I can create and show the record I created but 'list' is not happening.

    You mentioned the fragment is in the exception page but it appears to be in the list page, and possibly the exception page as well.

    Hope this helps!

    Thanks,
    Michael

  4. #14
    Join Date
    Jun 2008
    Posts
    6

    Default

    I've worked around this problem by rebuilding my server to use Tomcat 6 but I've posted a bug report:

    http://jira.springframework.org/browse/ROO-680

  5. #15
    Join Date
    Dec 2009
    Posts
    12

    Default

    Hi, I had the same problem.

    Tomcat 5.5 uses JSTL 1.1.
    Tomcat 6.0 uses JSTL 1.2.

    The problem has been solved after pom.xml file modifications:

    remove dependency
    Code:
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
                <version>1.2.0</version>
            </dependency>
            <dependency>
                <groupId>org.apache.el</groupId>
                <artifactId>com.springsource.org.apache.el</artifactId>
                <version>6.0.20</version>
            </dependency>
    add dependency
    Code:
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>com.springsource.javax.servlet.jsp</artifactId>
                <version>2.1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
                <version>1.1.2</version>
            </dependency>

    All pages generated by Roo are rendered under Tomcat 5.5 as under Tomcat 6.0 successfully.
    Last edited by dzmitry; Mar 7th, 2010 at 12:04 PM.

  6. #16
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    162

    Default What version of Roo have you tested ?

    Quote Originally Posted by dzmitry View Post
    Hi, I had the same problem.

    Tomcat 5.5 uses JSTL 1.1.
    Tomcat 6.0 uses JSTL 1.2.

    The problem has been solved after pom.xml file modifications:

    remove dependency
    Code:
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
                <version>1.2.0</version>
            </dependency>
            <dependency>
                <groupId>org.apache.el</groupId>
                <artifactId>com.springsource.org.apache.el</artifactId>
                <version>6.0.20</version>
            </dependency>
    add dependency
    Code:
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>com.springsource.javax.servlet.jsp</artifactId>
                <version>2.1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
                <version>1.1.2</version>
            </dependency>
    All pages generated by Roo are rendered under Tomcat 5.5 as under Tomcat 6.0 successfully.
    What version of Roo have you tested ?

    Most of the incompatibilities between Roo and Tomcat 5.5. will be on the 1.1 version because of new scaffolding system, now in development.

    Note: Related comment on jira at http://jira.springframework.org/brow...l#action_52570
    Last edited by mmartinez; Mar 31st, 2010 at 09:52 AM.
    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

  7. #17
    Join Date
    Dec 2009
    Posts
    12

    Default What version of Roo have you tested ?

    Quote Originally Posted by mmartinez View Post
    What version of Roo have you tested ?
    I've tested Roo 1.0.2

  8. #18
    Join Date
    Nov 2011
    Posts
    1

    Default

    Wow! Thanks for providing us concise pizza shop application models. This is great!

    tomato basil soup

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •