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.

Thanks
Boris Goykhman


[INFO] [resin:jspc {execution: jspc}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[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(ResourceRef.java:257)
    at com.caucho.config.types.ResourceRef.validate(ResourceRef.java:250)
    at com.caucho.server.webapp.WebApp.init(WebApp.java:1789)
    at com.caucho.jsp.JspCompiler.configureFromArgs(JspCompiler.java:685)
    at com.caucho.jsp.JspCompiler.main(JspCompiler.java:568)
    at com.caucho.maven.MavenJspc.execute(MavenJspc.java:60)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24 seconds
Additional Information
Attached Files

- Relationships

- Notes
(0004173)
ferg
08-26-09 16:13

server/1041
 

- Issue History
Date Modified Username Field Change
06-23-09 11:09 alex New Issue
06-02-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