Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003577 [Resin] minor always 06-23-09 11:09 08-26-09 16:13
Reporter alex View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.1.6
Summary 0003577: MavenJspc -> JspCompiler should omit validation of resource-refs
Description I am trying to work with resin-maven-plugin (v. 3.1.6) and stumbled upon a weird problem (see stack trace below). Apparently it tries to validate all JNDI resources specified in web.xml and resin-web.xml. Is there anything I can do to bypass this validation other than temporarily removing JNDI resources and generating different *web.xml after jspc is done? I am not sure whether resin server that is embedded with the plugin itself needs to be started (which I hope is not the case), but I tried running resin:run goal before resin:jspc and that was producing other errors. Would be grateful for your help with this issue.

Boris Goykhman

[INFO] [resin:jspc {execution: jspc}]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] WEB-INF/web.xml:204 resource-ref 'jdbc/concierge3' was not configured. All resources defined by <resource-ref> tags must be defined in a configuration file.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
WEB-INF/web.xml:204 resource-ref 'jdbc/concierge3' was not configured. All resources defined by <resource-ref> tags must be defined in a configuration file.
    at com.caucho.config.types.ResourceRef.error(
    at com.caucho.config.types.ResourceRef.validate(
    at com.caucho.server.webapp.WebApp.init(
    at com.caucho.jsp.JspCompiler.configureFromArgs(
    at com.caucho.jsp.JspCompiler.main(
    at com.caucho.maven.MavenJspc.execute(
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
    at org.apache.maven.DefaultMaven.doExecute(
    at org.apache.maven.DefaultMaven.execute(
    at org.apache.maven.cli.MavenCli.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.codehaus.classworlds.Launcher.launchEnhanced(
    at org.codehaus.classworlds.Launcher.launch(
    at org.codehaus.classworlds.Launcher.mainWithExitCode(
    at org.codehaus.classworlds.Launcher.main(
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24 seconds
Additional Information
Attached Files

- Relationships

- Notes
08-26-09 16:13


- Issue History
Date Modified Username Field Change
06-23-09 11:09 alex New Issue
06-30-09 07:42 bgoykhman Issue Monitored: bgoykhman
08-26-09 16:13 ferg Note Added: 0004173
08-26-09 16:13 ferg Status new => closed
08-26-09 16:13 ferg Resolution open => fixed
08-26-09 16:13 ferg Fixed in Version  => 4.0.2

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker