Re: Build Problem HOJ

Raj Joshi <[email protected]> Tue, 30 Aug 2005 15:02:09 -0400
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
I got further ahead in building the hoj.war and when try:
http://localhost:8080/hoj
following error:
org.apache.jasper.JasperException: /index.jsp(4,0) Failed to load or 
instantiate TagLibraryValidator class: 
org.apache.taglibs.standard.tlv.JstlCoreTLV
org.apache.jasper.compiler.DefaultErrorHandler.jspError(
DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java
:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86)
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
org.apache.jasper.compiler.Parser.parseXMLDirective(Parser.java:548)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1545)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java
:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java
:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java
:118)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java
:52)

note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5.9 logs.

-raj


On 8/30/05, Uta Kapp <[email protected]> wrote:
> 
> Hi Raj,
> 
> I got going with the default example by rebuilding all modules from CVS
> HEAD. I strictly followed
> a check list of Pierre.
> 
> Here are the steps to do:
> 
> 1.) Get all modules from Keels cvs HEAD to a directory of your choice, 
> here
> referred to as {keel_home}
> 
> 2.) Build the newest maven-keel-plugin from source and install
> a) Delete the maven cache .maven/cache
> b) run "maven jar:install" in directories {keel_home}/keel-build,
> keel/tool-maven and keel/tool-maven-plugin.
> 
> c) run "maven plugin:install" inside directory
> {keel_home}/tool-maven-plugin
> 
> 3.) Rebuild all Jar Files from CVS
> It is important, that maven does not fetch any old libraries for the keel
> modules
> from maven.repo.remote, so you first have to get going with the command
> 
> "maven -Dgoal=jar:install multiproject:goal" inside directory {keel_home}
> 
> this will rebuild all keel modules.
> 
> To make the command work, you have to create a build.properties in your
> {home} directory to control maven.multiproject:
> {home} depends on your operating system. on windows it usually is 
> somewhere
> in C:\Documents and Settings
> If you do not redefine your maven.repo.local property, the maven 
> repository
> is created automatically in {home}.
> 
> build.properties:
> 
> maven.repo.remote= http://www.ibiblio.org/maven ,
> http://www.apache.org/dist/java-repository,
> http://svn.apache.org/repos/asf/excalibur/repository ,
> http://www.keelframework.org/maven
> 
> maven.multiproject.ignoreFailures=true
> maven.multiproject.includes=*/project.xml
> maven.multiproject.excludes= tool-xdoclet/project.xml ,
> tool-maven-plugin/project.xml
> 
> 
> 
> Since the multiproject goal uses a lot of memory add to environment 
> variable
> MAVEN_OPTS the options:
> 
> -XX:MaxPermSize=128m -Xmx256m
> I defined it in the file {maven_home}/bin/maven.bat for windows and
> {maven_home}/bin/maven for Linux
> 
> 4.) Build the war files
> 
> When all the modules are built from cvs the war is ready to be built.
> a) Fetch a fresh version from CVS HEAD for /example-projects/default and
> copy to preferred location
> b) delete all the maven ".cache" files (see{maven.home.local
> }/cache/*.cache)
> to be shure to
> use the latest plugin and not something old from cache
> c) run "maven keel:maven" inside project root directory
> even if warnings occur, it is only important to finish with "build
> successfull".
> 
> d) run "maven war"
> 
> 5.) Get going with HOJ
> 
> To test the HOJ project, I copied the default project and modified:
> 
> a) I added a HOJ dependency to the project.xml:
> 
> <dependency>
> <groupId>keel</groupId>
> <artifactId>app-hoj</artifactId>
> <version>1.1</version>
> <properties>
> <keel.server>true</keel.server>
> </properties>
> </dependency>
> 
> b) run "maven keel:maven"
> c) run "maven war"
> 
> I deployed on Tomcat 5.5.1
> 
> The HOJ functions work. It is a good idea to get going with keel if
> you work through the HOJ project.
> 
> Uta
> 
> -----Ursprüngliche Nachricht-----
> Von: keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org
> [mailto:keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org]Im
> Auftrag von Raoul Pierre
> Gesendet: Dienstag, 30. August 2005 08:24
> An: developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected]
> Betreff: Re: AW: [Keelgroup] Build Problem HOJ
> 
> 
> Raj,
> 
> >
> 
> C:\keel\keel-client\src\java\org\keel\clients\DefaultClientConnector.java:25
> :
> > ca
> > nnot find symbol
> > symbol : class DynamicMessageSupport
> > location: package org.keel.util.i18n
> > import org.keel.util.i18n.DynamicMessageSupport;
> > ^
> 
> DynamicMessageSupport is a very new class in keel-common. Can you check
> in default program.xml the keel-common version: 3.1
> 
> Here, I can ran default application without probleme (Tomcat 5.0.28).
> 
> About hoj: there is much more dependencies than in default application.
> One of them seems to be de trop, the log file gives:
> 
> [...]
> [KeelContainer] Try re-building this application
> Error initializing container:
> org.keel.core.exception.NestedException: Cannot set up Container.
> Startup lifecycle failure
> at
> org.keel.core.container.KeelContainerFactory.getContainerManager
> (KeelContain
> erFactory.java:234)
> [...]
> 
> I don't know enough avalon container to help here. And I haven't time to
> check all the dependencies in hoj to find the culprit...
> 
> Pierre
> 
> 
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
> 
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>