geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul McMahan <paulmcma...@gmail.com>
Subject Re: svn commit: r538652 - in /geronimo/server/trunk/configs: ldap-demo-jetty/pom.xml ldap-demo-tomcat/pom.xml
Date Wed, 16 May 2007 20:34:38 GMT
Hey Prasad, I think the problem Jason saw was with the ldap-demo- 
jetty and servlet-examples-jetty plugins and not with with the poms  
or the application.  For example, without this commit in place I am  
able to install the ldap-demo-jetty as an application (just not as a  
plugin).  Also, the ldap-demo-tomcat plugin was already working, so  
the change to the tomcat poms was unnecessary.

I suspect that the underlying problem is that something in jetty has  
changed recently and the configs in the snapshot repository need to  
be republished (that is where the plugins are pulled from). But I'm  
not totally sure about that yet.   At any rate, adding an explicit  
dependency from the sample applications onto the jasper config is  
probably not a good long term solution since we wouldn't expect  
simple apps like these to need to do that.  Java EE requires the  
webcontainer to automatically provide the JSP dependency at runtime.


Best wishes,
Paul


On May 16, 2007, at 1:11 PM, prasad@apache.org wrote:

> Author: prasad
> Date: Wed May 16 10:11:18 2007
> New Revision: 538652
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=538652
> Log:
> Fixing java.lang.ClassNotFoundException:  
> org.apache.jasper.servlet.JspServlet in classloader  
> org.apache.geronimo.configs/ldap-demo-jetty/2.0-SNAPSHOT/car
>
> Modified:
>     geronimo/server/trunk/configs/ldap-demo-jetty/pom.xml
>     geronimo/server/trunk/configs/ldap-demo-tomcat/pom.xml
>
> Modified: geronimo/server/trunk/configs/ldap-demo-jetty/pom.xml
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/ 
> ldap-demo-jetty/pom.xml?view=diff&rev=538652&r1=538651&r2=538652
> ====================================================================== 
> ========
> --- geronimo/server/trunk/configs/ldap-demo-jetty/pom.xml (original)
> +++ geronimo/server/trunk/configs/ldap-demo-jetty/pom.xml Wed May  
> 16 10:11:18 2007
> @@ -57,6 +57,20 @@
>              <type>car</type>
>              <scope>provided</scope>
>          </dependency>
> +
> +        <dependency>
> +            <groupId>org.apache.geronimo.configs</groupId>
> +            <artifactId>jasper-deployer</artifactId>
> +            <version>${version}</version>
> +            <type>car</type>
> +            <scope>provided</scope>
> +        </dependency>
> +        <dependency>
> +            <groupId>org.apache.geronimo.configs</groupId>
> +            <artifactId>jasper</artifactId>
> +            <version>${version}</version>
> +            <type>car</type>
> +        </dependency>
>      </dependencies>
>
>      <build>
>
> Modified: geronimo/server/trunk/configs/ldap-demo-tomcat/pom.xml
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/ 
> ldap-demo-tomcat/pom.xml?view=diff&rev=538652&r1=538651&r2=538652
> ====================================================================== 
> ========
> --- geronimo/server/trunk/configs/ldap-demo-tomcat/pom.xml (original)
> +++ geronimo/server/trunk/configs/ldap-demo-tomcat/pom.xml Wed May  
> 16 10:11:18 2007
> @@ -49,6 +49,20 @@
>              <type>car</type>
>              <scope>provided</scope>
>          </dependency>
> +
> +        <dependency>
> +            <groupId>org.apache.geronimo.configs</groupId>
> +            <artifactId>jasper-deployer</artifactId>
> +            <version>${version}</version>
> +            <type>car</type>
> +            <scope>provided</scope>
> +        </dependency>
> +        <dependency>
> +            <groupId>org.apache.geronimo.configs</groupId>
> +            <artifactId>jasper</artifactId>
> +            <version>${version}</version>
> +            <type>car</type>
> +        </dependency>
>      </dependencies>
>
>      <build>
>
>


Mime
View raw message