[
https://issues.apache.org/jira/browse/CONNECTORS-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580357#comment-13580357
]
Karl Wright commented on CONNECTORS-648:
----------------------------------------
Hmm. Applying the patch, and then running "ant clean run-rss-tests-derby", I
get the following:
{code}
BUILD FAILED
C:\wip\mcf\trunk\build.xml:170: The following error occurred while executing thi
s line:
C:\wip\mcf\trunk\framework\build.xml:244: org.apache.jasper.JasperException: fil
e:C:/wip/mcf/trunk/framework/crawler-ui/src/main/webapp/setupAdminProfile.jsp(30
,1) According to TLD or attribute directive in tag file, attribute test does not
accept any expressions
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH
andler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.j
ava:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.j
ava:148)
at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttribut
es(Validator.java:1209)
at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.
java:846)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.
java:865)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.j
ava:1763)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
at org.apache.jasper.JspC.processFile(JspC.java:1192)
at org.apache.jasper.JspC.execute(JspC.java:1341)
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.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 56 seconds
{code}
Any ideas?
> Wars fail to deploy in Tomcat 7
> -------------------------------
>
> Key: CONNECTORS-648
> URL: https://issues.apache.org/jira/browse/CONNECTORS-648
> Project: ManifoldCF
> Issue Type: Bug
> Affects Versions: ManifoldCF 1.1.1
> Reporter: Jan Høydahl
> Assignee: Karl Wright
> Labels: Tomcat7
> Fix For: ManifoldCF 1.2
>
> Attachments: CONNECTORS-648.patch
>
>
> This is a followup on CONNECTORS-568, which I believe is still not solved.
> I deploy mcf-combined-service.war in Tomcat 7.0.35, and I get the error
> {noformat}
> IllegalArgumentException: taglib definition not consistent with specification
> version
> {noformat}
> Then I unpack the WAR and removes the whole {{<jsp-config>}} and
> {{<taglib>s}} from it, as adviced in
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> Restarting, and successful startup, but trying to hit
> http://localhost:8080/mcf/ brings this error from ./index.jsp line 1
> {noformat}
> org.apache.jasper.JasperException:
> The absolute uri: http://java.sun.com/jstl/core cannot be resolved
> in either web.xml or the jar files deployed with this application
> {noformat}
> So then I open the JSPs and see that the taglib refs in {{adminDefaults.jsp}}
> and {{adminHeaders.jsp}} refer to {{http://java.sun.com/jstl/core}} which is
> wrong. According to http://stackoverflow.com/tags/jstl/info since JSTL1.1 the
> path must have /jsp/ in the path. Changing that and restarting brings up the
> GUI just fine!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira