You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Craig L. Ching (JIRA)" <ji...@apache.org> on 2008/06/03 21:00:47 UTC

[jira] Created: (SLING-507) Having problems with Apt Servlet trying to render .html output

Having problems with Apt Servlet trying to render .html output
--------------------------------------------------------------

                 Key: SLING-507
                 URL: https://issues.apache.org/jira/browse/SLING-507
             Project: Sling
          Issue Type: Bug
         Environment: $ mvn --version
Maven version: 2.0.9
Java version: 1.6.0_03
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"

            Reporter: Craig L. Ching
            Priority: Minor


I'm having trouble with any request from the browser resulting in an Apt Servlet error.  Here is the response I get in the browser:

Exception while parsing APT content: org.apache.sling.apt.parser.internal.SlingAptParseExceptionImpl: missing '}' (500)

The requested URL /dojox/data/demo/demo1.html resulted in an error in org.apache.sling.apt.servlet.SlingAptServlet.
ApacheSling/2.0 (Java HotSpot(TM) Client VM 1.6.0_03; Windows Vista 6.0 x86)

The requested URI is this:

http://localhost:8080/dojox/data/demo/demo1.html

All I do to reproduce this is deploy the dojo and dojo-sling bundles (though I can reproduce this at will with my own content).  I can work around this problem by removing the following from the launchpad/app/pom.xml:

        <dependency>
            <groupId>org.apache.sling</groupId>
            <artifactId>
                org.apache.sling.extensions.apt.servlet
            </artifactId>
            <version>2.0.0-incubator-SNAPSHOT</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.apache.sling</groupId>
            <artifactId>
                org.apache.sling.extensions.apt.parser
            </artifactId>
            <version>2.0.0-incubator-SNAPSHOT</version>
            <optional>true</optional>
        </dependency>

I'll attach my error.log shortly.

If anyone can point me in the right direction, I can try and figure this out myself, but I haven't yet found out how I even get into the Apt servlet yet (I admit I haven't looked to hard yet).

I marked this as minor since I have a work-around, though I don't know if disabling the apt servlet will affect me negatively in any way.

Also, I left the component empty as I'm not quite sure how this should be categorized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-507) Having problems with Apt Servlet trying to render .html output

Posted by "Craig L. Ching (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig L. Ching closed SLING-507.
--------------------------------

    Resolution: Fixed

Appears to be fixed in r663677 by https://issues.apache.org/jira/browse/SLING-512

> Having problems with Apt Servlet trying to render .html output
> --------------------------------------------------------------
>
>                 Key: SLING-507
>                 URL: https://issues.apache.org/jira/browse/SLING-507
>             Project: Sling
>          Issue Type: Bug
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>            Priority: Minor
>         Attachments: error.log.zip
>
>
> I'm having trouble with any request from the browser resulting in an Apt Servlet error.  Here is the response I get in the browser:
> Exception while parsing APT content: org.apache.sling.apt.parser.internal.SlingAptParseExceptionImpl: missing '}' (500)
> The requested URL /dojox/data/demo/demo1.html resulted in an error in org.apache.sling.apt.servlet.SlingAptServlet.
> ApacheSling/2.0 (Java HotSpot(TM) Client VM 1.6.0_03; Windows Vista 6.0 x86)
> The requested URI is this:
> http://localhost:8080/dojox/data/demo/demo1.html
> All I do to reproduce this is deploy the dojo and dojo-sling bundles (though I can reproduce this at will with my own content).  I can work around this problem by removing the following from the launchpad/app/pom.xml:
>         <dependency>
>             <groupId>org.apache.sling</groupId>
>             <artifactId>
>                 org.apache.sling.extensions.apt.servlet
>             </artifactId>
>             <version>2.0.0-incubator-SNAPSHOT</version>
>             <optional>true</optional>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.sling</groupId>
>             <artifactId>
>                 org.apache.sling.extensions.apt.parser
>             </artifactId>
>             <version>2.0.0-incubator-SNAPSHOT</version>
>             <optional>true</optional>
>         </dependency>
> I'll attach my error.log shortly.
> If anyone can point me in the right direction, I can try and figure this out myself, but I haven't yet found out how I even get into the Apt servlet yet (I admit I haven't looked to hard yet).
> I marked this as minor since I have a work-around, though I don't know if disabling the apt servlet will affect me negatively in any way.
> Also, I left the component empty as I'm not quite sure how this should be categorized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-507) Having problems with Apt Servlet trying to render .html output

Posted by "Craig L. Ching (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig L. Ching updated SLING-507:
---------------------------------

    Attachment: error.log.zip

Attached error log.

> Having problems with Apt Servlet trying to render .html output
> --------------------------------------------------------------
>
>                 Key: SLING-507
>                 URL: https://issues.apache.org/jira/browse/SLING-507
>             Project: Sling
>          Issue Type: Bug
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>            Priority: Minor
>         Attachments: error.log.zip
>
>
> I'm having trouble with any request from the browser resulting in an Apt Servlet error.  Here is the response I get in the browser:
> Exception while parsing APT content: org.apache.sling.apt.parser.internal.SlingAptParseExceptionImpl: missing '}' (500)
> The requested URL /dojox/data/demo/demo1.html resulted in an error in org.apache.sling.apt.servlet.SlingAptServlet.
> ApacheSling/2.0 (Java HotSpot(TM) Client VM 1.6.0_03; Windows Vista 6.0 x86)
> The requested URI is this:
> http://localhost:8080/dojox/data/demo/demo1.html
> All I do to reproduce this is deploy the dojo and dojo-sling bundles (though I can reproduce this at will with my own content).  I can work around this problem by removing the following from the launchpad/app/pom.xml:
>         <dependency>
>             <groupId>org.apache.sling</groupId>
>             <artifactId>
>                 org.apache.sling.extensions.apt.servlet
>             </artifactId>
>             <version>2.0.0-incubator-SNAPSHOT</version>
>             <optional>true</optional>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.sling</groupId>
>             <artifactId>
>                 org.apache.sling.extensions.apt.parser
>             </artifactId>
>             <version>2.0.0-incubator-SNAPSHOT</version>
>             <optional>true</optional>
>         </dependency>
> I'll attach my error.log shortly.
> If anyone can point me in the right direction, I can try and figure this out myself, but I haven't yet found out how I even get into the Apt servlet yet (I admit I haven't looked to hard yet).
> I marked this as minor since I have a work-around, though I don't know if disabling the apt servlet will affect me negatively in any way.
> Also, I left the component empty as I'm not quite sure how this should be categorized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.