You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Renaud Liehn <Re...@tridion.com> on 2003/04/28 15:59:31 UTC

i pass some step but already some problems... argue this come fro m a part of the WAR approche

Hello,

sorry to bother you again but i need this example to work and for me to
progress


so 

 the fact is that i have choose to work with and from the WAR file of
jetspeed..

that mean that i don't have source of jetspeed (i prefer to deploy directly
into the webapp folder)
 and it seems regarding the docs that this is a possible way...

so...

my problem from last email was that the BUILD XML from TORQUE stuff was
trying to copy the torque-3.0.jar from the /lib directory of the jetspeed
home...

but this file belong on this directory only on the SRC distribution of
jetspeed, on the webapp we could find it under /WEB-INF/lib

so i have copied all the file in /WEB-INF/lib and paste in jetspeed_home/lib

so,

the ant tutorial-1 works litle better but now i'm stuck with this error:


om-template:
   [delete] Deleting directory D:\ant\bin\torque3\templates.scratch

check_for_jetspeed_jar:

jar_prepare_error:

compile:
    [mkdir] Created dir: D:\ant\bin\bin\WEB-INF\classes
    [javac] Compiling 16 source files to D:\ant\bin\bin\WEB-INF\classes
    [javac]
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\CobiJon
esPortletAction.java:54: cannot access javax.servlet
.http.HttpSessionBindingListener
    [javac] file javax\servlet\http\HttpSessionBindingListener.class not
found
    [javac]             Player player =
(Player)rundata.getUser().getTemp(PLAYER);
    [javac]                                                    ^
    [javac]
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\CobiJon
esPortletAction.java:63: cannot access javax.servlet
.http.HttpServletRequest
    [javac] file javax\servlet\http\HttpServletRequest.class not found
    [javac]             String cobiError =
(String)rundata.getRequest().getAttribute(COBI_ERROR);
    [javac]                                                          ^
    [javac]
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\CobiJon
esPortletAction.java:96: cannot resolve symbol
    [javac] symbol  : method setAttribute
(java.lang.String,java.lang.String)
    [javac] location: class javax.servlet.http.HttpServletRequest
    [javac]             rundata.getRequest().setAttribute(COBI_ERROR,
    [javac]                               ^
    [javac]
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\Tutoria
lStockQuoteAction8.java:53: cannot resolve symbol
    [javac] symbol  : method setAttribute
(java.lang.String,org.apache.jetspeed.webservices.finance.stockmarket.StockQ
uote[])
    [javac] location: class javax.servlet.http.HttpServletRequest
    [javac]             rundata.getRequest().setAttribute(QUOTES, quotes);
    [javac]                               ^
    [javac]
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\Tutoria
lStockQuoteAction8.java:54: cannot resolve symbol
    [javac] symbol  : method setAttribute
(java.lang.String,java.lang.String[])
    [javac] location: class javax.servlet.http.HttpServletRequest
    [javac]             rundata.getRequest().setAttribute(COLUMNS,
ALL_COLUMNS);
    [javac]                               ^
    [javac] 5 errors

BUILD FAILED
file:D:/ant/bin/build.xml:134: Compile failed; see the compiler error output
for details.


here i am completly stuck....

ps using jdk1.3.1_02

thanks for answer regards



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: i pass some step but already some problems... argue this come from a part of the WAR approche

Posted by Pezet Luc <lu...@club-internet.fr>.
Hi Renaud,

I think the servlet.jar file is missing in lib/ directory, in order to
compile the tutorial.

Check and see if in other lib/ directories this file is not present.
If this file is completly missing, just copy it from your tomcat (common/lib
directory).

Hope it should help,

Luc.

----- Original Message ----- 
From: "Renaud Liehn" <Re...@tridion.com>
To: <je...@jakarta.apache.org>
Sent: Monday, April 28, 2003 3:59 PM
Subject: i pass some step but already some problems... argue this come from
a part of the WAR approche


> Hello,
>
> sorry to bother you again but i need this example to work and for me to
> progress
>
>
> so
>
>  the fact is that i have choose to work with and from the WAR file of
> jetspeed..
>
> that mean that i don't have source of jetspeed (i prefer to deploy
directly
> into the webapp folder)
>  and it seems regarding the docs that this is a possible way...
>
> so...
>
> my problem from last email was that the BUILD XML from TORQUE stuff was
> trying to copy the torque-3.0.jar from the /lib directory of the jetspeed
> home...
>
> but this file belong on this directory only on the SRC distribution of
> jetspeed, on the webapp we could find it under /WEB-INF/lib
>
> so i have copied all the file in /WEB-INF/lib and paste in
jetspeed_home/lib
>
> so,
>
> the ant tutorial-1 works litle better but now i'm stuck with this error:
>
>
> om-template:
>    [delete] Deleting directory D:\ant\bin\torque3\templates.scratch
>
> check_for_jetspeed_jar:
>
> jar_prepare_error:
>
> compile:
>     [mkdir] Created dir: D:\ant\bin\bin\WEB-INF\classes
>     [javac] Compiling 16 source files to D:\ant\bin\bin\WEB-INF\classes
>     [javac]
>
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\CobiJon
> esPortletAction.java:54: cannot access javax.servlet
> ..http.HttpSessionBindingListener
>     [javac] file javax\servlet\http\HttpSessionBindingListener.class not
> found
>     [javac]             Player player =
> (Player)rundata.getUser().getTemp(PLAYER);
>     [javac]                                                    ^
>     [javac]
>
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\CobiJon
> esPortletAction.java:63: cannot access javax.servlet
> ..http.HttpServletRequest
>     [javac] file javax\servlet\http\HttpServletRequest.class not found
>     [javac]             String cobiError =
> (String)rundata.getRequest().getAttribute(COBI_ERROR);
>     [javac]                                                          ^
>     [javac]
>
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\CobiJon
> esPortletAction.java:96: cannot resolve symbol
>     [javac] symbol  : method setAttribute
> (java.lang.String,java.lang.String)
>     [javac] location: class javax.servlet.http.HttpServletRequest
>     [javac]             rundata.getRequest().setAttribute(COBI_ERROR,
>     [javac]                               ^
>     [javac]
>
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\Tutoria
> lStockQuoteAction8.java:53: cannot resolve symbol
>     [javac] symbol  : method setAttribute
>
(java.lang.String,org.apache.jetspeed.webservices.finance.stockmarket.StockQ
> uote[])
>     [javac] location: class javax.servlet.http.HttpServletRequest
>     [javac]             rundata.getRequest().setAttribute(QUOTES, quotes);
>     [javac]                               ^
>     [javac]
>
D:\ant\bin\src\java\com\bluesunrise\jportal\modules\actions\portlets\Tutoria
> lStockQuoteAction8.java:54: cannot resolve symbol
>     [javac] symbol  : method setAttribute
> (java.lang.String,java.lang.String[])
>     [javac] location: class javax.servlet.http.HttpServletRequest
>     [javac]             rundata.getRequest().setAttribute(COLUMNS,
> ALL_COLUMNS);
>     [javac]                               ^
>     [javac] 5 errors
>
> BUILD FAILED
> file:D:/ant/bin/build.xml:134: Compile failed; see the compiler error
output
> for details.
>
>
> here i am completly stuck....
>
> ps using jdk1.3.1_02
>
> thanks for answer regards
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org