geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Kiessler <oliver.kiess...@gmail.com>
Subject Re: War deployment problem in geronimo 1.0-208875
Date Sun, 03 Jul 2005 15:09:28 GMT
2005/7/3, Jacek Laskowski <jlaskowski@apache.org>:
> Oliver Kiessler wrote:
> > hi list,
> > I just installed geronimo 1.0-208875 and deployed a simple
> > webapplication with just a few JSP pages. The deployment via the
> > deployer.jar went fine. But when I accessed the webapplication via the
> > webbrowser I got the following error:
> >
> > HTTP ERROR: 500
> > Unable to initialize TldLocationsCache: /usr/j2sdk1.4.2_04/jre/lib/ext/tools.jar
> > RequestURI=/karma/
> > Powered by Jetty://
> >
> > 13:10:19,660 INFO  [Container] Started HttpContext[/,/]
> > 13:10:26,860 WARN  [/karma] /karma/:
> > org.apache.jasper.JasperException: Unable to initialize
> > TldLocationsCache: /usr/j2sdk1.4.2_04/jre/lib/ext/tools.jar
> >         at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:252)
> 
> Hi,
> 
> I've never seen the error, either. How does the web.xml file look like?
> 
> BTW: You may be better off subscribing to user@ mailing list and send
> the question there.


web.xml:
<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         
  <servlet>
    <servlet-name>FrameworkContainer</servlet-name>
    <servlet-class>com.inceedo.karma.common.servlet.FrameworkContainer</servlet-class>
    <init-param>
        <param-name>ServletComponentImpl</param-name>
        <param-value>com.inceedo.karma.common.components.ServletComponentImpl</param-value>
    </init-param>
    <init-param>
        <param-name>ServletWorkflowComponentImpl</param-name>
        <param-value>com.inceedo.karma.common.components.ServletWorkflowImpl</param-value>
    </init-param>    
    <init-param>
        <param-name>basepackage</param-name>
        <param-value>app</param-value>
    </init-param>
    <init-param>
        <param-name>viewspath</param-name>
        <param-value>/views</param-value>
    </init-param> 
    <init-param>
        <param-name>actionurlpattern</param-name>
        <param-value>/do/</param-value>
    </init-param>
    <init-param>
        <param-name>usecontainer</param-name>
        <param-value>com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl</param-value>
    </init-param>
    <!--<init-param>
        <param-name>disableactionurls</param-name>
        <param-value>true</param-value>
    </init-param>-->
    <init-param>
        <param-name>locale</param-name>
        <param-value>en</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>FrameworkContainer</servlet-name>
    <url-pattern>/do/*</url-pattern>
  </servlet-mapping>
  
  <!-- spring setup -->
  
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>

    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>  
    
  <!-- spring setup end -->  
  
  <session-config>
    <session-timeout>
            30
        </session-timeout>
  </session-config>
  <welcome-file-list>
    <welcome-file>
            index.jsp
        </welcome-file>
    <welcome-file>
            index.html
        </welcome-file>
    <welcome-file>
            index.htm
        </welcome-file>
  </welcome-file-list>
</web-app>

geronimo-jetty.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app
    xmlns="http://geronimo.apache.org/xml/ns/web/jetty"
    configId="com/inceedo/karma/webapp"
    parentId="org/apache/geronimo/Server"
    >
    <context-root>/karma</context-root>
    <context-priority-classloader>false</context-priority-classloader>
</web-app>

thanks,
oliver

Mime
View raw message