Hi Raj,
I was not able to get the /hoj project working beyond this point. Rather get
default working and add HOJ. See mail concerning /default problem.
Uta
-----Ursprüngliche Nachricht-----
Von:
keelgroup-keelframework.com-admin@list...
[mailto:
keelgroup-keelframework.com-admin@list...]Im Auftrag
von Raj Joshi
Gesendet: Dienstag, 30. August 2005 21:02
An:
developers@keel...
Betreff: Re: [Keelgroup] Build Problem HOJ
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(DefaultErrorHa
ndler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.ja
va:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.ja
va:86)
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:
339)
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:37
2)
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.j
ava:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.jav
a: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:29
1)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilte
r.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 <
utta@snaf...> 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@list...
[mailto:
keelgroup-keelframework.com-admin@list...]Im
Auftrag von Raoul Pierre
Gesendet: Dienstag, 30. August 2005 08:24
An:
developers@keel...
Betreff: Re: AW: [Keelgroup] Build Problem HOJ
Raj,
>
C:\keel\keel-client\src\java\org\keel\clients\DefaultClientConnector.jav
a: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(KeelCon
tain
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
Keelgroup@list...
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
http://keelframework.org/documentation.shtml
Keelgroup mailing list
Keelgroup@list...
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
opensubscriber is not affiliated with the authors of this message nor responsible for its content.