« Return to Thread: Problem with Groovlets on Windows Tomcat

Re: Problem with Groovlets on Windows Tomcat

by Stand Trooper :: Rate this Message:

Reply to Author | View in Thread

Nope still works for me, but I did notice I'm running groovy 1.6  none of this should make a difference tho.

Ok, so let's go through the checklist again

$TOMCAT_HOME$/webapps/ROOT/$NAME$.groovy (whatever the servlet is you're trying to run)
$TOMCAT_HOME$/webapps/ROOT/WEB-INF/lib (where all of the groovy jars are)
$TOMCAT_HOME$/webapps/ROOT/WEB-INF/web.xml (covered in two posts up... which is all I have in my web.xml as well)

either through the service or via the bin/tomcat6 startup (via run as administrator) I have no problems running Groovlets on Tomcat (latest version) against Groovy 1.6 Beta 1 on Windows Vista against jdk 1.6.05

good so far or do you have any differences from this other than jdk or groovy versions?

timo

On Thu, Aug 21, 2008 at 5:20 PM, Stand Trooper <standtrooper@...> wrote:
Ok, the other difference is that I'm not using the service... Installed with the service, but I'm running the tomcat6 from the bin directory.

let me startup the service and see what that does

timo


On Thu, Aug 21, 2008 at 4:44 PM, Alexander Veit <alexander.veit@...> wrote:
> grkuntzmd wrote:
> Anyone have this working? How?

Just tested with WinXP Pro SP3, Groovy 1.5.6, Sun JDK 1.6.0_07, Tomcat
6.0.14, antlr-2.7.6.jar, asm-2.2.jar, and groovy-1.5.6.jar. First Example
from http://groovy.codehaus.org/Groovlets.

It works for me.

-Alex


This is the web.xml I used:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  version="2.5">

   <description>
     Groovlet Examples.
   </description>
   <display-name>Groovlet Examples</display-name>


       <servlet>
               <servlet-name>Groovy</servlet-name>
               <servlet-class>groovy.servlet.GroovyServlet</servlet-class>
       </servlet>

       <servlet-mapping>
               <servlet-name>Groovy</servlet-name>
               <url-pattern>*.groovy</url-pattern>
       </servlet-mapping>

</web-app>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

 « Return to Thread: Problem with Groovlets on Windows Tomcat