I tried it with geronimo-jetty6-javaee5-2.2-SNAPSHOT (trunk) and it
deployed OK and is partially usable. I see this on deploy:
15:33:07,298 WARN [JettyModuleBuilder] Web application . does not
contain a WEB-INF/geronimo-web.xml deployment plan. This may or may
not be a problem, depending on whether you have things like resource
references that need to be resolved. You can also give the deployer a
separate deployment plan file on the command line.
15:33:08,402 WARN [JspModuleBuilderExtension]
JspModuleBuilderExtension: Could not load tag class:
com.opensymphony.module.oscache.web.tag.CacheTag mentioned in TLD file
at file:/Users/david/geronimo/svn/geronimo-patch/trunk/assemblies/
geronimo-jetty6-javaee5/target/geronimo-jetty6-javaee5-2.2-SNAPSHOT/
repository/default/JSPWiki/1212705187099/JSPWiki-1212705187099.war/WEB-
INF/oscache.tld
15:33:08,402 WARN [JspModuleBuilderExtension]
JspModuleBuilderExtension: Could not load tag class:
com.opensymphony.module.oscache.web.tag.UseCachedTag mentioned in TLD
file at file:/Users/david/geronimo/svn/geronimo-patch/trunk/assemblies/
geronimo-jetty6-javaee5/target/geronimo-jetty6-javaee5-2.2-SNAPSHOT/
repository/default/JSPWiki/1212705187099/JSPWiki-1212705187099.war/WEB-
INF/oscache.tld
15:33:08,403 WARN [JspModuleBuilderExtension]
JspModuleBuilderExtension: Could not load tag class:
com.opensymphony.module.oscache.web.tag.FlushTag mentioned in TLD file
at file:/Users/david/geronimo/svn/geronimo-patch/trunk/assemblies/
geronimo-jetty6-javaee5/target/geronimo-jetty6-javaee5-2.2-SNAPSHOT/
repository/default/JSPWiki/1212705187099/JSPWiki-1212705187099.war/WEB-
INF/oscache.tld
which makes it look like something's missing from the war.
Login doesn't work, which is not surprising considering the comments
on deployment on jboss. To use jaas you'll need to set up an
appropriate login configuration in a geronimo plan.
Could I ask what your interest is here? From my point of view the
ideal situation would be if jspwiki hosted a geronimo plugin version
of the wiki on their site. We can't release such a plugin from apache
since jspwiki is lgpl licenced. Possibly if there is interest we
could find somewhere else to host a plugin project. I'm not sure if
we could have a plugin project for reference with no possibility of
releasing a plugin.
If you want a reproducible way to deploy jspwiki for yourself, I still
recommend the geronimo plugin approach. There's some info on how to
set something like this up here:
http://cwiki.apache.org/confluence/display/GMOxDOC21/Constructing+a+special-purpose+server+using+maven
There's some info on how to configuration login modules in geronimo
here:
http://cwiki.apache.org/confluence/display/GMOxDOC21/Configuring+login+modules
I also find the console swallowing exceptions half the time there is a
problem rather annoying. I encourage you to file a jira issue about it.
thanks
david jencks
On Jun 5, 2008, at 12:53 PM, Juergen Weber wrote:
Hi,
I tried to install the JSPWiki.war (JSPWiki 2.6.3) from http://www.jspwiki.org/
under geronimo-tomcat6-javaee5-2.1.1 via console.
Console says
The application was successfully deployed.
The application was successfully started
but afterward JSPWiki is shown as
default/JSPWiki/1212695299546/war stopped
What's wrong? At least Geronimo should not swallow the causing
exception.
Thanks,
Juergen
org.apache.geronimo.kernel.config.LifecycleException: start of
default/JSPWiki/1
212695299546/war failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:566)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:530)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:832)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$
$b0cecfea.s
tartConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
mand.java:67)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unknown sta
rt exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:522)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:549)
... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuratio
n default/JSPWiki/1212695299546/war failed to start due to the
following reasons
:
The service J2EEApplication=null,j2eeType=WebModule,name=default/
JSPWiki/12126
95299546/war did not start because ContainerBase.addChild: start:
LifecycleExcep
tion: java.io.IOException: Context did not start for an unknown
reason
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:485)
... 16 more