On Wednesday 19 March 2003 04:18 pm, Michiel Meeuwissen wrote:
> Just van den Broecke <[EMAIL PROTECTED]> wrote:
> > Ik krijg een exception op change_node.jsp in de Resin servlet engine
> > (v2.0.4 en 2.1.8) en MMBase 1.5.1. Dit gebeurt niet in Tomcat 4.0.* Ik
> > begreep dat dit in 1.7 opgelost is. Mijn vraag is of er een quick hack
> > mogelijk is of verwijzing naar code. Dump hieronder
>
> No, I don't think the MMBase taglib fixes to work in resin can be
> quickly ported to MMBase 1.5. Even to MMBase 1.6 would be hard.
I gave it a try
CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/local/cvs
export CVSROOT
cvs co -r MMBase-1_5 -d mmbase.1.5 all
cd mmbase.1.5/
cd src/org/mmbase/bridge
rm -rf jsp
cvs update -r MMBase-1_6 -d -P jsp
cd ../../../..
cp src/org/mmbase/scripts/* .
ant bindist
I attached the result
not very hopefull
[javac] 38 errors, 1 warningI think
Buildfile: build.xml
init.check.dir:
check.dir.config:
check.dir.html:
check.dir.src:
check.dir.org:
check.dir.mmbase:
check.dir.all:
init:
[mkdir] Created dir: /home/keesj/tmp/mmbase.1.5/build
init.get:
get.servlet:
expand.servlet:
get.xalan:
expand.xalan:
get.jai:
expand.jai:
get.log4j:
expand.log4j:
get.junit:
expand.junit:
lib:
[mkdir] Created dir: /home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp
[mkdir] Created dir: /home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF
[mkdir] Created dir:
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 1 file to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib
[copy] Copying 6 files to
/home/keesj/tmp/mmbase.1.5/build/mmbase/mmbase-webapp/WEB-INF/lib/legal
init.compile:
[mkdir] Created dir: /home/keesj/tmp/mmbase.1.5/build/classes
compile.local:
[copy] Copying 15 files to /home/keesj/tmp/mmbase.1.5/build/classes
[javac] Compiling 652 source files to /home/keesj/tmp/mmbase.1.5/build/classes
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FormatterTag.java:24:
Class org.mmbase.bridge.util.xml.Generator not found in import.
[javac] import org.mmbase.bridge.util.xml.Generator;
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FormatterTag.java:30:
Class org.mmbase.util.xml.URIResolver not found in import.
[javac] import org.mmbase.util.xml.URIResolver;
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FormatterTag.java:35:
Package org.mmbase.cache.xslt not found in import.
[javac] import org.mmbase.cache.xslt.*;
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/WriterHelper.java:21:
Class org.mmbase.util.Casting not found in import.
[javac] import org.mmbase.util.Casting; // not used enough
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/AbstractNodeListTag.java:249:
Class org.mmbase.bridge.util.xml.Generator not found in int
setReturnValues(org.mmbase.bridge.NodeList, boolean).
[javac] f.getGenerator().add(nodes);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/AbstractNodeListTag.java:299:
Method getProperty(java.lang.String) not found in interface
org.mmbase.bridge.NodeList.
[javac] String listorder=(String)returnList.getProperty("orderby");
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/CloudReferrerTag.java:116:
Method hasNode(java.lang.String) not found in interface org.mmbase.bridge.Cloud.
[javac] if (! getCloud().hasNode(n.toString())) return null;
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/CloudTag.java:350: Method
setLocale(java.util.Locale) not found in interface org.mmbase.bridge.Cloud.
[javac] cloud.setLocale(locale);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/CloudTag.java:392: Method
setLocale(java.util.Locale) not found in interface org.mmbase.bridge.Cloud.
[javac] if (locale != null) cloud.setLocale(locale);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/CloudTag.java:776:
Incompatible type for method. Explicit cast needed to convert java.util.Map to
java.util.HashMap.
[javac] cloud = getDefaultCloudContext().getCloud(cloudName,
authenticate, user);
[javac]
^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/ContextTag.java:155:
Method getDefaultCharacterEncoding() not found in interface
org.mmbase.bridge.CloudContext.
[javac] return cloudContext.getDefaultCharacterEncoding();
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/ContextTag.java:751: Wrong
number of arguments in method.
[javac] return o.getPostMultiParameter(param, coding);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldInfoTag.java:179:
Wrong number of arguments in constructor.
[javac] XMLBasicReader reader = new XMLBasicReader(fieldtypes, thisClass);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldInfoTag.java:262:
Method getLocale() not found in interface org.mmbase.bridge.Cloud.
[javac] args.add(getCloud().getLocale().getLanguage());
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldInfoTag.java:265:
Method getFunctionValue(java.lang.String, java.util.List) not found in interface
org.mmbase.bridge.Node.
[javac] show = decode(node.getFunctionValue("gui", args).toString(),
node);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldInfoTag.java:291:
Method getDescription() not found in interface org.mmbase.bridge.Field.
[javac] show = field.getDescription();
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldListTag.java:46: No
variable ORDER_NONE defined in interface org.mmbase.bridge.NodeManager.
[javac] private int type = NodeManager.ORDER_NONE;
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldListTag.java:81: No
variable ORDER_NONE defined in interface org.mmbase.bridge.NodeManager.
[javac] type = NodeManager.ORDER_NONE;
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldListTag.java:120: No
variable ORDER_NONE defined in interface org.mmbase.bridge.NodeManager.
[javac] if (nodeManagerString != null || type !=
NodeManager.ORDER_NONE) {
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldListTag.java:137: No
variable ORDER_NONE defined in interface org.mmbase.bridge.NodeManager.
[javac] if (type != NodeManager.ORDER_NONE) {
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldTag.java:137: Class
org.mmbase.bridge.util.xml.Generator not found in int doStartTag().
[javac] f.getGenerator().add(node, field); // add the field
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldTag.java:148:
Constant expression required.
[javac] case Field.TYPE_NODE:
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/FieldTag.java:148: No
variable TYPE_NODE defined in interface org.mmbase.bridge.Field.
[javac] case Field.TYPE_NODE:
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/ImageTag.java:44: Method
hasField(java.lang.String) not found in interface org.mmbase.bridge.NodeManager.
[javac] if (!node.getNodeManager().hasField("handle")) {
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/ImageTag.java:74: Method
getFunctionValue(java.lang.String, java.util.List) not found in interface
org.mmbase.bridge.Node.
[javac] number = node.getFunctionValue("cache", args).toString();
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/ImageTag.java:84: Method
getFunctionValue(java.lang.String, java.util.List) not found in interface
org.mmbase.bridge.Node.
[javac] servletPath = node.getFunctionValue("servletpath",
args).toString();
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/ListRelationsTag.java:34:
Method getProperty(java.lang.String) not found in interface org.mmbase.bridge.NodeList.
[javac] return returnList == null ? null : (Node)
returnList.getProperty("relatedFromNode");
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/ListRelationsTag.java:69:
Method setProperty(java.lang.String, org.mmbase.bridge.Node) not found in interface
org.mmbase.bridge.RelationList.
[javac] nodes.setProperty("relatedFromNode", relatedfromNode);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/LocaleTag.java:62: Method
getDefaultLocale() not found in interface org.mmbase.bridge.CloudContext.
[javac] locale =
org.mmbase.bridge.LocalContext.getCloudContext().getDefaultLocale();
[javac]
^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/NodeInfoTag.java:110:
Method getLocale() not found in interface org.mmbase.bridge.Cloud.
[javac] args.add(getCloud().getLocale().getLanguage());
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/NodeInfoTag.java:114:
Method getFunctionValue(java.lang.String, java.util.List) not found in interface
org.mmbase.bridge.Node.
[javac] show = getNode().getFunctionValue("gui", args).toString();
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/NodeTag.java:138: Method
hasNode(java.lang.String) not found in interface org.mmbase.bridge.Cloud.
[javac] case NOT_FOUND_SKIP: if (!
getCloud().hasNode(number)) return SKIP_BODY;
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/NodeTag.java:139: Method
hasNode(java.lang.String) not found in interface org.mmbase.bridge.Cloud.
[javac] case NOT_FOUND_PROVIDENULL: if (!
getCloud().hasNode(number)) { node = null; break; }
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/NodeTag.java:160: Class
org.mmbase.bridge.util.xml.Generator not found in int doStartTag().
[javac] f.getGenerator().add(node);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/RelatedNodeTag.java:64:
Class org.mmbase.bridge.util.xml.Generator not found in int doStartTag().
[javac] f.getGenerator().add(node);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/RelatedNodesTag.java:77:
Wrong number of arguments in method.
[javac] initialnodes = parentNode.getRelatedNodes(type, role,
directions);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/RelatedNodesTag.java:106:
Wrong number of arguments in method.
[javac] nodes = parentNode.getRelatedNodes(type, role,
directions);
[javac] ^
[javac]
/home/keesj/tmp/mmbase.1.5/src/org/mmbase/bridge/jsp/taglib/TimeTag.java:96: Method
getDefaultLocale() not found in interface org.mmbase.bridge.CloudContext.
[javac] locale =
org.mmbase.bridge.LocalContext.getCloudContext().getDefaultLocale();
[javac]
^
[javac] Note: 2 files use or override a deprecated API. Recompile with
"-deprecation" for details.
[javac] 38 errors, 1 warning
BUILD FAILED
file:/home/keesj/tmp/mmbase.1.5/build.xml:385: Compile failed; see the compiler error
output for details.
Total time: 50 seconds