Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3577 | minor | always | 06-23-09 11:09 | 08-26-09 16:13 | |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.6 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.2 | ||
|
|||||
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 |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|