You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Markus Spiekermann <Ma...@web.de> on 2000/07/20 11:52:34 UTC
in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Hi,
I try to setup the FP taglib of Jeremy Quinn. I can´t get it working
with cocoon 1.74. Jeremy told me to use 1.75dev, but as I´m new to
java,xml,linux... I got some problems building the file:
My system (named Berlin):
sun jdk1.2.2 in /usr/local/jdk1.2.2
Jsev 1.1
Redhat Linux 6.1 compatible Linux
cocoon dev snapshot "xml-cocoon_20000713161459.tar.gz"
PLEASE HELP!
Here are the error messages...:
[root@berlin xml-cocoon]# ./build.sh
Cocoon Build System
-------------------
Building with classpath
./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:./lib/xerces_1_0_3.jar:.
/lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:./lib/turbine-pool.jar:
Starting Ant...
Buildfile: build.xml
Project base dir set to: /usr/local/xml-cocoon
Executing Target: init
------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
Executing Target: prepare
Created dir: /usr/local/xml-cocoon/build
Executing Target: prepare-projectx
Executing Target: prepare-xt
Executing Target: prepare-ecma
Executing Target: prepare-ldap
Executing Target: prepare-doclet
Copying 1 files to /usr/local/xml-cocoon/build/src
Executing Target: prepare-src
Created dir: /usr/local/xml-cocoon/build/classes
Copying 111 files to /usr/local/xml-cocoon/build/src
Executing Target: compile
Compiling 100 source files to /usr/local/xml-cocoon/build/classes
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:9
0: Method getAttributeNames() not found in interface
javax.servlet.http.HttpServletRequest.
Enumeration e = request.getAttributeNames();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
36: Method getLocale() not found in interface
javax.servlet.http.HttpServletRequest.
Locale locale = request.getLocale();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
56: Method getLocales() not found in interface
javax.servlet.http.HttpServletRequest.
Enumeration e = request.getLocales();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
69: Method getLocales() not found in interface
javax.servlet.http.HttpServletRequest.
Enumeration e = request.getLocales();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
83: Method isSecure() not found in interface
javax.servlet.http.HttpServletRequest.
element.appendChild(document.createTextNode(String.valueOf(request.isSecure())));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
96: Method getContextPath() not found in interface
javax.servlet.http.HttpServletRequest.
element.appendChild(document.createTextNode(request.getContextPath()));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:3
72: Method getHeaders(java.lang.String) not found in interface
javax.servlet.http.HttpServletReq
uest.
Enumeration e = request.getHeaders(name);
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
53: Method getUserPrincipal() not found in interface
javax.servlet.http.HttpServletRequest.
Principal principal = request.getUserPrincipal();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
73: Method isRequestedSessionIdFromURL() not found in interface
javax.servlet.http.HttpServletRe
quest.
element.appendChild(document.createTextNode(String.valueOf(request.isRequestedSessionIdFromU
RL())));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
85: Method isUserInRole(java.lang.String) not found in interface
javax.servlet.http.HttpServletR
equest.
element.appendChild(document.createTextNode(String.valueOf(request.isUserInRole(role))));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:9
0: Method getAttributeNames() not found in interface
javax.servlet.ServletContext.
Enumeration e = context.getAttributeNames();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
17: Method getInitParameter(java.lang.String) not found in interface
javax.servlet.ServletContex
t.
String value = context.getInitParameter(name);
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
30: Method getInitParameterNames() not found in interface
javax.servlet.ServletContext.
Enumeration e = context.getInitParameterNames();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
33: Method getInitParameter(java.lang.String) not found in interface
javax.servlet.ServletContex
t.
v.addElement(context.getInitParameter((String) e.nextElement()));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
58: Method getMajorVersion() not found in interface
javax.servlet.ServletContext.
element.appendChild(document.createTextNode(String.valueOf(context.getMajorVersion())));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
64: Method getMinorVersion() not found in interface
javax.servlet.ServletContext.
element.appendChild(document.createTextNode(String.valueOf(context.getMinorVersion())));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
07: Method getAttribute(java.lang.String) not found in interface
javax.servlet.http.HttpSession.
Object value = session.getAttribute(name);
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
30: Method getAttributeNames() not found in interface
javax.servlet.http.HttpSession.
Enumeration e = session.getAttributeNames();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
33: Method getAttribute(java.lang.String) not found in interface
javax.servlet.http.HttpSession.
element.appendChild(document.createTextNode(response.encodeRedirectURL(url)));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPResponseLibrary.java:130:
Method encodeURL(java.lang.String) not found in interface
javax.servlet.http.HttpServletResponse.
element.appendChild(document.createTextNode(response.encodeURL(url)));
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:122:
Method getResource(java.lang.String) not found in interface
javax.servlet.ServletContext.
URL resource =
config.getServletContext().getResource(confsName);
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:211:
Method getMajorVersion() not
found in interface javax.servlet.ServletContext.
v =
getServletConfig().getServletContext().getMajorVersion();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:224:
Method getMinorVersion() not
found in interface javax.servlet.ServletContext.
v =
getServletConfig().getServletContext().getMinorVersion();
^
/usr/local/xml-cocoon/build/src/org/apache/cocoon/Utils.java:240: Method
getContextPath() not found in interface
javax.servlet.http.HttpServletRequest.
request.getContextPath();
^
Note:
/usr/local/xml-cocoon/build/src/org/apache/cocoon/framework/XObject.java
uses or overrides a deprecated API. Recompile with "-deprecation" for
details.
30 errors, 1 warning
BUILD FATAL ERROR: Compile failed, messages should have been provided.
Re: in desperade need fir precompiled Cocoon175dev for FP taglibor
explaination what I did wrong
Posted by Markus Spiekermann <Ma...@web.de>.
To who it might concern:
I updated my jdk to 1.2.2-006 ( used jdk1.2.2rc2 before) and was able to compile
the cocoon.jar file
with ./build.sh clean and ./build.sh
copied xml-cocoon (unpacked CVS) to /usr/local/cocoon
Found the cocoon.properties file in xml-cocoon/build/src/org/apache/cocoon
made directory /usr/local/cocoon/conf
copied cocoon.properties to /usr/local/cocoon/conf/
added line to cocoon.properties
#fp processor new 2000-20-07
processor.xsp.logicsheet.fp.java = reource://uk.ac/wmin/hrc/jermq/xsp/fp/fp.xsl
made directory /usr/local/cocoon/bin
copied compiled cocoon.jar file to /usr/local/cocoon/bin
All samples work besides of the ldap and fp stuff
Here is the error - message:
Cocoon 1.8-dev
Error found handling the request.
java.lang.NoClassDefFoundError:
org/apache/cocoon/processor/xsp/XSPUtil
at
uk.ac.wmin.hrc.jermq.xsp.fp.fpLibrary.handleFileResource(fpLibrary.java)
at
_home._httpd._html._samples._fp._form._item_edit.populateDocument(_item_edit.java:84)
at
org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:96)
at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:491)
at org.apache.cocoon.Engine.handle(Engine.java:305)
at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at
org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:475)
What else can I do?
Markus
Jeremy Quinn wrote:
> At 15:30 +0200 20/07/00, Markus Spiekermann wrote:
> >I donloaded the latest version from CVS and beside of anouncing itself as
> >Cocoon 1.8 it produces the same
> >errors.
> >Jeremy sended an cocoon.jar to me, but if I replace my cocoon174 jar with
> >it, nothing works at all. I got an
> >error message concerning the ldap.processor at ALL cocoon samples (Class
> >not found...). The ldap processer is
> >not working on my machine, but the other samples worked before. (I put
> >jndi.jar is in my classpath just as
> >the faq asks me to do). When I copy the old 174 cocoon jar back to my
> >/usr/local/cocoon/bin/ folder it works again...
>
> Use the cocoon.properties and other Jar files from your 1.7.5-dev
> installation that you could not compile.
>
> Jeremy
> --
> ___________________________________________________________________
>
> Jeremy Quinn Karma Divers
> webSpace Design
> HyperMedia Research Centre
>
> <ma...@mac.com> <http://www.media.demon.co.uk>
> <phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: in desperade need fir precompiled Cocoon175dev for FP taglib
or explaination what I did wrong
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
At 15:30 +0200 20/07/00, Markus Spiekermann wrote:
>I donloaded the latest version from CVS and beside of anouncing itself as
>Cocoon 1.8 it produces the same
>errors.
>Jeremy sended an cocoon.jar to me, but if I replace my cocoon174 jar with
>it, nothing works at all. I got an
>error message concerning the ldap.processor at ALL cocoon samples (Class
>not found...). The ldap processer is
>not working on my machine, but the other samples worked before. (I put
>jndi.jar is in my classpath just as
>the faq asks me to do). When I copy the old 174 cocoon jar back to my
>/usr/local/bin/ folder it works again...
Use the cocoon.properties and other Jar files from your 1.7.5-dev
installation that you could not compile.
Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<ma...@mac.com> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
Re: in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Posted by Markus Spiekermann <Ma...@web.de>.
Hi Guys,
you were so right! I got the FP taglib running with Cocoon 1.8 dev after removing jsdk.jar from
/usr/local/jdk1.2.2/jre/lib/ext and putting it into my classpath.
Maybe you should at this to the documentation. I got a similiar problem when moving from Cocoon1.7. to 1.74 (Dom Level
2) as I forgot a xml4j.jar file in that folder.Therefore I should have known better. (BTW a lot of books recommend
putting jar - files into that folder).
Thank you all so much!!!!!!!!!!!!
Markus
Stefano Mazzocchi wrote:
> Markus Spiekermann wrote:
> >
> > Stefano Mazzocchi wrote:
> >
> > >
> > >
> > > BTW, your problem seems related to an old Servlet API distribution...
> > > make sure you don't have an older servlet API jar in your classpath.
> > >
> > > --
> > > Stefano Mazzocchi
> >
> > Hi Stefano,
> >
> > sorry when I sound somewhat confused.
>
> No problemo, we are all here to learn something.
>
> > What exactly do you mean by old servlet API jar in my classpath? My oldest Servlet-Api is 2.0
>
> Yes, exactly. Cocoon requires Servlet 2.2 to compile.
>
> > Somewhere in the installation instruction of jserv I found that I need an Servlet API 2.0 (EXACTLY 2.0) This
> > jsdk.jar is located in /usr/local/jdk1.2.2/jre/lib/ext.
>
> That's the problem. Your compiler finds Servlet 2.0 instead of Servlet
> 2.2 and Cocoon doesn't compile.
>
> As a general rule, you should _NEVER_ put anything in the ext
> directory... since it's very easy to forget you've done so in the past.
>
> > The jserv 1.1.2-1 rpm file I downloaded from java.apache.org brings an jsdk2.0 compatible class along...
> > The cocoon installation description writes about an Servlet.2.X api and brings some servlet_2_2.jar files in the
> > distribution
> >
> > Once I remove the jsdk.jar (Servlet API 2.0) the jserv doesn´t works any more... I don´t use an Tomcat/jakarta
> > machine which needs an Servlet 2.2 Api (as far as I know)...
> >
> > Sorry for disturbing with these questions
>
> No problem.
>
> JServ requires 2.0 (and only that!) to work.
>
> Cocoon requires 2.2 (and only that!) to compile, but works with 2.0 or
> greater (Cocoon is able to adapt on different servlet versions at
> runtime).
>
> So, remove Servlet 2.0 and place it in JServ classpath, this should
> solve your problems.
>
> --
> Stefano Mazzocchi One must still have chaos in oneself to be
> able to give birth to a dancing star.
> <st...@apache.org> Friedrich Nietzsche
> --------------------------------------------------------------------
> Missed us in Orlando? Make it up with ApacheCON Europe in London!
> ------------------------- http://ApacheCon.Com ---------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Posted by Stefano Mazzocchi <st...@apache.org>.
Markus Spiekermann wrote:
>
> Stefano Mazzocchi wrote:
>
> >
> >
> > BTW, your problem seems related to an old Servlet API distribution...
> > make sure you don't have an older servlet API jar in your classpath.
> >
> > --
> > Stefano Mazzocchi
>
> Hi Stefano,
>
> sorry when I sound somewhat confused.
No problemo, we are all here to learn something.
> What exactly do you mean by old servlet API jar in my classpath? My oldest Servlet-Api is 2.0
Yes, exactly. Cocoon requires Servlet 2.2 to compile.
> Somewhere in the installation instruction of jserv I found that I need an Servlet API 2.0 (EXACTLY 2.0) This
> jsdk.jar is located in /usr/local/jdk1.2.2/jre/lib/ext.
That's the problem. Your compiler finds Servlet 2.0 instead of Servlet
2.2 and Cocoon doesn't compile.
As a general rule, you should _NEVER_ put anything in the ext
directory... since it's very easy to forget you've done so in the past.
> The jserv 1.1.2-1 rpm file I downloaded from java.apache.org brings an jsdk2.0 compatible class along...
> The cocoon installation description writes about an Servlet.2.X api and brings some servlet_2_2.jar files in the
> distribution
>
> Once I remove the jsdk.jar (Servlet API 2.0) the jserv doesn´t works any more... I don´t use an Tomcat/jakarta
> machine which needs an Servlet 2.2 Api (as far as I know)...
>
> Sorry for disturbing with these questions
No problem.
JServ requires 2.0 (and only that!) to work.
Cocoon requires 2.2 (and only that!) to compile, but works with 2.0 or
greater (Cocoon is able to adapt on different servlet versions at
runtime).
So, remove Servlet 2.0 and place it in JServ classpath, this should
solve your problems.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
Re: in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Posted by Markus Spiekermann <Ma...@web.de>.
Stefano Mazzocchi wrote:
>
>
> BTW, your problem seems related to an old Servlet API distribution...
> make sure you don't have an older servlet API jar in your classpath.
>
> --
> Stefano Mazzocchi
Hi Stefano,
sorry when I sound somewhat confused.
What exactly do you mean by old servlet API jar in my classpath? My oldest Servlet-Api is 2.0
Somewhere in the installation instruction of jserv I found that I need an Servlet API 2.0 (EXACTLY 2.0) This
jsdk.jar is located in /usr/local/jdk1.2.2/jre/lib/ext.
The jserv 1.1.2-1 rpm file I downloaded from java.apache.org brings an jsdk2.0 compatible class along...
The cocoon installation description writes about an Servlet.2.X api and brings some servlet_2_2.jar files in the
distribution
Once I remove the jsdk.jar (Servlet API 2.0) the jserv doesn´t works any more... I don´t use an Tomcat/jakarta
machine which needs an Servlet 2.2 Api (as far as I know)...
Sorry for disturbing with these questions
Markus
Re: in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Posted by Stefano Mazzocchi <st...@apache.org>.
Markus Spiekermann wrote:
>
> Hi,
>
> I donloaded the latest version from CVS and beside of anouncing itself as Cocoon 1.8 it produces the same
> errors.
Yes, we moved to version 1.8-dev.
> Jeremy sended an cocoon.jar to me, but if I replace my cocoon174 jar with it, nothing works at all. I got an
> error message concerning the ldap.processor at ALL cocoon samples (Class not found...). The ldap processer is
> not working on my machine, but the other samples worked before. (I put jndi.jar is in my classpath just as
> the faq asks me to do). When I copy the old 174 cocoon jar back to my /usr/local/bin/ folder it works again...
>
> It would be nice if you could send me your jar-file, too. (I don´t mind to wait...)
>
> By the way does anyone know when a new offical version of cocon will be released?
As soon as people is confortable with it.
BTW, your problem seems related to an old Servlet API distribution...
make sure you don't have an older servlet API jar in your classpath.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
Re: in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Posted by Markus Spiekermann <Ma...@web.de>.
Hi,
I donloaded the latest version from CVS and beside of anouncing itself as Cocoon 1.8 it produces the same
errors.
Jeremy sended an cocoon.jar to me, but if I replace my cocoon174 jar with it, nothing works at all. I got an
error message concerning the ldap.processor at ALL cocoon samples (Class not found...). The ldap processer is
not working on my machine, but the other samples worked before. (I put jndi.jar is in my classpath just as
the faq asks me to do). When I copy the old 174 cocoon jar back to my /usr/local/bin/ folder it works again...
It would be nice if you could send me your jar-file, too. (I don´t mind to wait...)
By the way does anyone know when a new offical version of cocon will be released?
Markus
Jeff Turner wrote:
> Hmm.. well I'm out of ideas. (Didn't take long, did it :P) I guess
> downloading a different nightly build might solve the problem. I have
> found that occasionally the stuff from CVS (and hence nightly builds)
> doesn't compile. If you can wait ~10 hours (it's getting late here), I
> can mail you a cocoon.jar.
>
> --Jeff
>
> Markus Spiekermann wrote:
> >
> > Hi Jeff,
> >
> > thank you for you help. When I start with ./build.sh clean
> >
> > I got
> >
> > in xml-cocoon]# ./build.sh clean
> > Cocoon Build System -------------------
> > Building with classpath ./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:.
> > /lib/xerces_1_0_3.jar:./lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:.
> > /lib/turbine-pool.jar:
> >
> > Starting Ant...
> > Buildfile: build.xml
> > Project base dir set to: /usr/local/xml-cocoon Executing Target: init
> > ------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
> > Executing Target: clean Deleting: /usr/local/xml-cocoon/build
> > Completed in 5 seconds
> >
> > But I got the same 30 errors and 1 warning when I type ./build.sh
> >
> > Markus
> >
> > Jeff Turner wrote:
> >
> > > Strange. I've got the latest code from CVS compiling with exactly the
> > > same CLASSPATH. Did you clean out the old stuff with "./build.sh
> > > clean" before typing "./build.sh"? It looks like you've got an old
> > > version of the library classes somewhere causing trouble.
> > >
> > > --Jeff
> > >
> > > Markus Spiekermann wrote:
> > > >
> > > > Hi,
> > > >
> > > > I try to setup the FP taglib of Jeremy Quinn. I can´t get it working
> > > > with cocoon 1.74. Jeremy told me to use 1.75dev, but as I´m new to
> > > > java,xml,linux... I got some problems building the file:
> > > >
> > > > My system (named Berlin):
> > > >
> > > > sun jdk1.2.2 in /usr/local/jdk1.2.2
> > > > Jsev 1.1
> > > > Redhat Linux 6.1 compatible Linux
> > > > cocoon dev snapshot "xml-cocoon_20000713161459.tar.gz"
> > > >
> > > > PLEASE HELP!
> > > >
> > > > Here are the error messages...:
> > > >
> > > > [root@berlin xml-cocoon]# ./build.sh
> > > >
> > > > Cocoon Build System
> > > > -------------------
> > > >
> > > > Building with classpath
> > > > ./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:./lib/xerces_1_0_3.jar:.
> > > >
> > > > /lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:./lib/turbine-pool.jar:
> > > >
> > > > Starting Ant...
> > > > Buildfile: build.xml
> > > > Project base dir set to: /usr/local/xml-cocoon
> > > > Executing Target: init
> > > > ------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
> > > > Executing Target: prepare
> > > > Created dir: /usr/local/xml-cocoon/build
> > > > Executing Target: prepare-projectx
> > > > Executing Target: prepare-xt
> > > > Executing Target: prepare-ecma
> > > > Executing Target: prepare-ldap
> > > > Executing Target: prepare-doclet
> > > > Copying 1 files to /usr/local/xml-cocoon/build/src
> > > > Executing Target: prepare-src
> > > > Created dir: /usr/local/xml-cocoon/build/classes
> > > > Copying 111 files to /usr/local/xml-cocoon/build/src
> > > > Executing Target: compile
> > > > Compiling 100 source files to /usr/local/xml-cocoon/build/classes
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:9
> > > >
> > > > 0: Method getAttributeNames() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > > Enumeration e = request.getAttributeNames();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> > > >
> > > > 36: Method getLocale() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > > Locale locale = request.getLocale();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> > > >
> > > > 56: Method getLocales() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > > Enumeration e = request.getLocales();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> > > >
> > > > 69: Method getLocales() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > > Enumeration e = request.getLocales();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
> > > >
> > > > 83: Method isSecure() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > >
> > > > element.appendChild(document.createTextNode(String.valueOf(request.isSecure())));
> > > >
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
> > > >
> > > > 96: Method getContextPath() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > >
> > > > element.appendChild(document.createTextNode(request.getContextPath()));
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:3
> > > >
> > > > 72: Method getHeaders(java.lang.String) not found in interface
> > > > javax.servlet.http.HttpServletReq
> > > > uest.
> > > > Enumeration e = request.getHeaders(name);
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> > > >
> > > > 53: Method getUserPrincipal() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > > Principal principal = request.getUserPrincipal();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> > > >
> > > > 73: Method isRequestedSessionIdFromURL() not found in interface
> > > > javax.servlet.http.HttpServletRe
> > > > quest.
> > > >
> > > > element.appendChild(document.createTextNode(String.valueOf(request.isRequestedSessionIdFromU
> > > >
> > > > RL())));
> > > >
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> > > >
> > > > 85: Method isUserInRole(java.lang.String) not found in interface
> > > > javax.servlet.http.HttpServletR
> > > > equest.
> > > >
> > > > element.appendChild(document.createTextNode(String.valueOf(request.isUserInRole(role))));
> > > >
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:9
> > > >
> > > > 0: Method getAttributeNames() not found in interface
> > > > javax.servlet.ServletContext.
> > > > Enumeration e = context.getAttributeNames();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> > > >
> > > > 17: Method getInitParameter(java.lang.String) not found in interface
> > > > javax.servlet.ServletContex
> > > > t.
> > > > String value = context.getInitParameter(name);
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> > > >
> > > > 30: Method getInitParameterNames() not found in interface
> > > > javax.servlet.ServletContext.
> > > > Enumeration e = context.getInitParameterNames();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> > > >
> > > > 33: Method getInitParameter(java.lang.String) not found in interface
> > > > javax.servlet.ServletContex
> > > > t.
> > > > v.addElement(context.getInitParameter((String) e.nextElement()));
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> > > >
> > > > 58: Method getMajorVersion() not found in interface
> > > > javax.servlet.ServletContext.
> > > >
> > > > element.appendChild(document.createTextNode(String.valueOf(context.getMajorVersion())));
> > > >
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> > > >
> > > > 64: Method getMinorVersion() not found in interface
> > > > javax.servlet.ServletContext.
> > > >
> > > > element.appendChild(document.createTextNode(String.valueOf(context.getMinorVersion())));
> > > >
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> > > >
> > > > 07: Method getAttribute(java.lang.String) not found in interface
> > > > javax.servlet.http.HttpSession.
> > > > Object value = session.getAttribute(name);
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> > > >
> > > > 30: Method getAttributeNames() not found in interface
> > > > javax.servlet.http.HttpSession.
> > > > Enumeration e = session.getAttributeNames();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> > > >
> > > > 33: Method getAttribute(java.lang.String) not found in interface
> > > > javax.servlet.http.HttpSession.
> > > >
> > > > element.appendChild(document.createTextNode(response.encodeRedirectURL(url)));
> > > >
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPResponseLibrary.java:130:
> > > > Method encodeURL(java.lang.String) not found in interface
> > > > javax.servlet.http.HttpServletResponse.
> > > >
> > > > element.appendChild(document.createTextNode(response.encodeURL(url)));
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:122:
> > > > Method getResource(java.lang.String) not found in interface
> > > > javax.servlet.ServletContext.
> > > > URL resource =
> > > > config.getServletContext().getResource(confsName);
> > > >
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:211:
> > > > Method getMajorVersion() not
> > > > found in interface javax.servlet.ServletContext.
> > > > v =
> > > > getServletConfig().getServletContext().getMajorVersion();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:224:
> > > > Method getMinorVersion() not
> > > > found in interface javax.servlet.ServletContext.
> > > > v =
> > > > getServletConfig().getServletContext().getMinorVersion();
> > > > ^
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Utils.java:240: Method
> > > > getContextPath() not found in interface
> > > > javax.servlet.http.HttpServletRequest.
> > > > request.getContextPath();
> > > > ^
> > > > Note:
> > > > /usr/local/xml-cocoon/build/src/org/apache/cocoon/framework/XObject.java
> > > > uses or overrides a deprecated API. Recompile with "-deprecation" for
> > > > details.
> > > > 30 errors, 1 warning
> > > > BUILD FATAL ERROR: Compile failed, messages should have been provided.
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > > > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Posted by Markus Spiekermann <Ma...@web.de>.
Hi Jeff,
thank you for you help. When I start with ./build.sh clean
I got
in xml-cocoon]# ./build.sh clean
Cocoon Build System -------------------
Building with classpath ./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:.
/lib/xerces_1_0_3.jar:./lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:.
/lib/turbine-pool.jar:
Starting Ant...
Buildfile: build.xml
Project base dir set to: /usr/local/xml-cocoon Executing Target: init
------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
Executing Target: clean Deleting: /usr/local/xml-cocoon/build
Completed in 5 seconds
But I got the same 30 errors and 1 warning when I type ./build.sh
Markus
Jeff Turner wrote:
> Strange. I've got the latest code from CVS compiling with exactly the
> same CLASSPATH. Did you clean out the old stuff with "./build.sh
> clean" before typing "./build.sh"? It looks like you've got an old
> version of the library classes somewhere causing trouble.
>
> --Jeff
>
> Markus Spiekermann wrote:
> >
> > Hi,
> >
> > I try to setup the FP taglib of Jeremy Quinn. I can´t get it working
> > with cocoon 1.74. Jeremy told me to use 1.75dev, but as I´m new to
> > java,xml,linux... I got some problems building the file:
> >
> > My system (named Berlin):
> >
> > sun jdk1.2.2 in /usr/local/jdk1.2.2
> > Jsev 1.1
> > Redhat Linux 6.1 compatible Linux
> > cocoon dev snapshot "xml-cocoon_20000713161459.tar.gz"
> >
> > PLEASE HELP!
> >
> > Here are the error messages...:
> >
> > [root@berlin xml-cocoon]# ./build.sh
> >
> > Cocoon Build System
> > -------------------
> >
> > Building with classpath
> > ./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:./lib/xerces_1_0_3.jar:.
> >
> > /lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:./lib/turbine-pool.jar:
> >
> > Starting Ant...
> > Buildfile: build.xml
> > Project base dir set to: /usr/local/xml-cocoon
> > Executing Target: init
> > ------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
> > Executing Target: prepare
> > Created dir: /usr/local/xml-cocoon/build
> > Executing Target: prepare-projectx
> > Executing Target: prepare-xt
> > Executing Target: prepare-ecma
> > Executing Target: prepare-ldap
> > Executing Target: prepare-doclet
> > Copying 1 files to /usr/local/xml-cocoon/build/src
> > Executing Target: prepare-src
> > Created dir: /usr/local/xml-cocoon/build/classes
> > Copying 111 files to /usr/local/xml-cocoon/build/src
> > Executing Target: compile
> > Compiling 100 source files to /usr/local/xml-cocoon/build/classes
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:9
> >
> > 0: Method getAttributeNames() not found in interface
> > javax.servlet.http.HttpServletRequest.
> > Enumeration e = request.getAttributeNames();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> >
> > 36: Method getLocale() not found in interface
> > javax.servlet.http.HttpServletRequest.
> > Locale locale = request.getLocale();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> >
> > 56: Method getLocales() not found in interface
> > javax.servlet.http.HttpServletRequest.
> > Enumeration e = request.getLocales();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> >
> > 69: Method getLocales() not found in interface
> > javax.servlet.http.HttpServletRequest.
> > Enumeration e = request.getLocales();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
> >
> > 83: Method isSecure() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >
> > element.appendChild(document.createTextNode(String.valueOf(request.isSecure())));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
> >
> > 96: Method getContextPath() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >
> > element.appendChild(document.createTextNode(request.getContextPath()));
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:3
> >
> > 72: Method getHeaders(java.lang.String) not found in interface
> > javax.servlet.http.HttpServletReq
> > uest.
> > Enumeration e = request.getHeaders(name);
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> >
> > 53: Method getUserPrincipal() not found in interface
> > javax.servlet.http.HttpServletRequest.
> > Principal principal = request.getUserPrincipal();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> >
> > 73: Method isRequestedSessionIdFromURL() not found in interface
> > javax.servlet.http.HttpServletRe
> > quest.
> >
> > element.appendChild(document.createTextNode(String.valueOf(request.isRequestedSessionIdFromU
> >
> > RL())));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> >
> > 85: Method isUserInRole(java.lang.String) not found in interface
> > javax.servlet.http.HttpServletR
> > equest.
> >
> > element.appendChild(document.createTextNode(String.valueOf(request.isUserInRole(role))));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:9
> >
> > 0: Method getAttributeNames() not found in interface
> > javax.servlet.ServletContext.
> > Enumeration e = context.getAttributeNames();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 17: Method getInitParameter(java.lang.String) not found in interface
> > javax.servlet.ServletContex
> > t.
> > String value = context.getInitParameter(name);
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 30: Method getInitParameterNames() not found in interface
> > javax.servlet.ServletContext.
> > Enumeration e = context.getInitParameterNames();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 33: Method getInitParameter(java.lang.String) not found in interface
> > javax.servlet.ServletContex
> > t.
> > v.addElement(context.getInitParameter((String) e.nextElement()));
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 58: Method getMajorVersion() not found in interface
> > javax.servlet.ServletContext.
> >
> > element.appendChild(document.createTextNode(String.valueOf(context.getMajorVersion())));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 64: Method getMinorVersion() not found in interface
> > javax.servlet.ServletContext.
> >
> > element.appendChild(document.createTextNode(String.valueOf(context.getMinorVersion())));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> >
> > 07: Method getAttribute(java.lang.String) not found in interface
> > javax.servlet.http.HttpSession.
> > Object value = session.getAttribute(name);
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> >
> > 30: Method getAttributeNames() not found in interface
> > javax.servlet.http.HttpSession.
> > Enumeration e = session.getAttributeNames();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> >
> > 33: Method getAttribute(java.lang.String) not found in interface
> > javax.servlet.http.HttpSession.
> >
> > element.appendChild(document.createTextNode(response.encodeRedirectURL(url)));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPResponseLibrary.java:130:
> > Method encodeURL(java.lang.String) not found in interface
> > javax.servlet.http.HttpServletResponse.
> >
> > element.appendChild(document.createTextNode(response.encodeURL(url)));
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:122:
> > Method getResource(java.lang.String) not found in interface
> > javax.servlet.ServletContext.
> > URL resource =
> > config.getServletContext().getResource(confsName);
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:211:
> > Method getMajorVersion() not
> > found in interface javax.servlet.ServletContext.
> > v =
> > getServletConfig().getServletContext().getMajorVersion();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:224:
> > Method getMinorVersion() not
> > found in interface javax.servlet.ServletContext.
> > v =
> > getServletConfig().getServletContext().getMinorVersion();
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Utils.java:240: Method
> > getContextPath() not found in interface
> > javax.servlet.http.HttpServletRequest.
> > request.getContextPath();
> > ^
> > Note:
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/framework/XObject.java
> > uses or overrides a deprecated API. Recompile with "-deprecation" for
> > details.
> > 30 errors, 1 warning
> > BUILD FATAL ERROR: Compile failed, messages should have been provided.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: in desperade need fir precompiled Cocoon175dev for FP taglib or
explaination what I did wrong
Posted by Jeff Turner <je...@socialchange.net.au>.
Strange. I've got the latest code from CVS compiling with exactly the
same CLASSPATH. Did you clean out the old stuff with "./build.sh
clean" before typing "./build.sh"? It looks like you've got an old
version of the library classes somewhere causing trouble.
--Jeff
Markus Spiekermann wrote:
>
> Hi,
>
> I try to setup the FP taglib of Jeremy Quinn. I can´t get it working
> with cocoon 1.74. Jeremy told me to use 1.75dev, but as I´m new to
> java,xml,linux... I got some problems building the file:
>
> My system (named Berlin):
>
> sun jdk1.2.2 in /usr/local/jdk1.2.2
> Jsev 1.1
> Redhat Linux 6.1 compatible Linux
> cocoon dev snapshot "xml-cocoon_20000713161459.tar.gz"
>
> PLEASE HELP!
>
> Here are the error messages...:
>
> [root@berlin xml-cocoon]# ./build.sh
>
> Cocoon Build System
> -------------------
>
> Building with classpath
> ./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:./lib/xerces_1_0_3.jar:.
>
> /lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:./lib/turbine-pool.jar:
>
> Starting Ant...
> Buildfile: build.xml
> Project base dir set to: /usr/local/xml-cocoon
> Executing Target: init
> ------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
> Executing Target: prepare
> Created dir: /usr/local/xml-cocoon/build
> Executing Target: prepare-projectx
> Executing Target: prepare-xt
> Executing Target: prepare-ecma
> Executing Target: prepare-ldap
> Executing Target: prepare-doclet
> Copying 1 files to /usr/local/xml-cocoon/build/src
> Executing Target: prepare-src
> Created dir: /usr/local/xml-cocoon/build/classes
> Copying 111 files to /usr/local/xml-cocoon/build/src
> Executing Target: compile
> Compiling 100 source files to /usr/local/xml-cocoon/build/classes
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:9
>
> 0: Method getAttributeNames() not found in interface
> javax.servlet.http.HttpServletRequest.
> Enumeration e = request.getAttributeNames();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
>
> 36: Method getLocale() not found in interface
> javax.servlet.http.HttpServletRequest.
> Locale locale = request.getLocale();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
>
> 56: Method getLocales() not found in interface
> javax.servlet.http.HttpServletRequest.
> Enumeration e = request.getLocales();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
>
> 69: Method getLocales() not found in interface
> javax.servlet.http.HttpServletRequest.
> Enumeration e = request.getLocales();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
>
> 83: Method isSecure() not found in interface
> javax.servlet.http.HttpServletRequest.
>
> element.appendChild(document.createTextNode(String.valueOf(request.isSecure())));
>
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
>
> 96: Method getContextPath() not found in interface
> javax.servlet.http.HttpServletRequest.
>
> element.appendChild(document.createTextNode(request.getContextPath()));
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:3
>
> 72: Method getHeaders(java.lang.String) not found in interface
> javax.servlet.http.HttpServletReq
> uest.
> Enumeration e = request.getHeaders(name);
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
>
> 53: Method getUserPrincipal() not found in interface
> javax.servlet.http.HttpServletRequest.
> Principal principal = request.getUserPrincipal();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
>
> 73: Method isRequestedSessionIdFromURL() not found in interface
> javax.servlet.http.HttpServletRe
> quest.
>
> element.appendChild(document.createTextNode(String.valueOf(request.isRequestedSessionIdFromU
>
> RL())));
>
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
>
> 85: Method isUserInRole(java.lang.String) not found in interface
> javax.servlet.http.HttpServletR
> equest.
>
> element.appendChild(document.createTextNode(String.valueOf(request.isUserInRole(role))));
>
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:9
>
> 0: Method getAttributeNames() not found in interface
> javax.servlet.ServletContext.
> Enumeration e = context.getAttributeNames();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
>
> 17: Method getInitParameter(java.lang.String) not found in interface
> javax.servlet.ServletContex
> t.
> String value = context.getInitParameter(name);
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
>
> 30: Method getInitParameterNames() not found in interface
> javax.servlet.ServletContext.
> Enumeration e = context.getInitParameterNames();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
>
> 33: Method getInitParameter(java.lang.String) not found in interface
> javax.servlet.ServletContex
> t.
> v.addElement(context.getInitParameter((String) e.nextElement()));
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
>
> 58: Method getMajorVersion() not found in interface
> javax.servlet.ServletContext.
>
> element.appendChild(document.createTextNode(String.valueOf(context.getMajorVersion())));
>
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
>
> 64: Method getMinorVersion() not found in interface
> javax.servlet.ServletContext.
>
> element.appendChild(document.createTextNode(String.valueOf(context.getMinorVersion())));
>
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
>
> 07: Method getAttribute(java.lang.String) not found in interface
> javax.servlet.http.HttpSession.
> Object value = session.getAttribute(name);
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
>
> 30: Method getAttributeNames() not found in interface
> javax.servlet.http.HttpSession.
> Enumeration e = session.getAttributeNames();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
>
> 33: Method getAttribute(java.lang.String) not found in interface
> javax.servlet.http.HttpSession.
>
> element.appendChild(document.createTextNode(response.encodeRedirectURL(url)));
>
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPResponseLibrary.java:130:
> Method encodeURL(java.lang.String) not found in interface
> javax.servlet.http.HttpServletResponse.
>
> element.appendChild(document.createTextNode(response.encodeURL(url)));
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:122:
> Method getResource(java.lang.String) not found in interface
> javax.servlet.ServletContext.
> URL resource =
> config.getServletContext().getResource(confsName);
>
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:211:
> Method getMajorVersion() not
> found in interface javax.servlet.ServletContext.
> v =
> getServletConfig().getServletContext().getMajorVersion();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:224:
> Method getMinorVersion() not
> found in interface javax.servlet.ServletContext.
> v =
> getServletConfig().getServletContext().getMinorVersion();
> ^
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/Utils.java:240: Method
> getContextPath() not found in interface
> javax.servlet.http.HttpServletRequest.
> request.getContextPath();
> ^
> Note:
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/framework/XObject.java
> uses or overrides a deprecated API. Recompile with "-deprecation" for
> details.
> 30 errors, 1 warning
> BUILD FATAL ERROR: Compile failed, messages should have been provided.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org