You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yogesh Bhanu <yo...@gsf.de> on 2001/10/23 08:32:25 UTC

Warp.jar

Hi all ,

            I am trying to compile mod_webapp as I have to use
EAPI support ..
The problem is mod_webapp compiles and I have a .so but warp.jar never
compiles .
First  Makedefs path was  pointing to /Users/Pier ....
I changed that to point to my Makedefs ..
Now it complains  like this ..

yogesh/webapp-module-1.0-tc40/java# make
d . -classpath :${CLASSPATH} \
    Constants.java WarpConfigurationHandler.java WarpConnection.java
WarpConnector.java WarpEngine.java WarpHost.java WarpLogger.java
WarpPacket.java WarpRequest.java WarpRequestHandler.java
WarpResponse.java
/bin/sh: d: command not found
make: [warp.jar] Error 127 (ignored)
cf0 warp.jar org/
make: cf0: Command not found
make: [warp.jar] Error 127 (ignored)

any pointers ..
Also can anyone also tell me How can I incorprate Tomcat  into apache as
a Virtual host .

Thanks in advance
yogesh



Re: addendum Warp.jar

Posted by Pier Fumagalli <pi...@betaversion.org>.
Yogesh Bhanu at yogesh@gsf.de wrote:

> Hi all,
>           I had to hardwire the java stuff in Makedefs and now the
> compile does start but does complain about unresolved symbols
> anybody has any clue about it ..
> 
> home/yogesh/webapp-module-1.0-tc40/java# make
> /usr/opt/jdk131/bin/javac  -d . -classpath
> /usr/local/www/jakarta/common/lib:/usr/opt/jdk131/jre/lib/:/usr/opt/jdk131/lib
> :/usr/opt/jdk131:.:${CLASSPATH}
> \
>   Constants.java WarpConfigurationHandler.java WarpConnection.java
> WarpConnector.java WarpEngine.java WarpHost.java WarpLogger.java
> WarpPacket.java WarpRequest.java WarpRequestHandler.java WarpResponse.java
> WarpConfigurationHandler.java:63: cannot resolve symbol
> symbol  : class Container
> location: package catalina
> import org.apache.catalina.Container;
>                          ^
> WarpConfigurationHandler.java:64: cannot resolve symbol
> symbol  : class Context
> location: package catalina
> import org.apache.catalina.Context;
> ...
> ....
> ...
> 
> 
> Thanks in advance
> yogesh

Oh , and when you run configure with --enable-java, don't forget to also add
--with-tomcat...

Check out "configure --help"

    Pier


addendum Warp.jar

Posted by Yogesh Bhanu <yo...@gsf.de>.
Hi all,
            I had to hardwire the java stuff in Makedefs and now the
compile does start but does complain about unresolved symbols
anybody has any clue about it ..

home/yogesh/webapp-module-1.0-tc40/java# make
/usr/opt/jdk131/bin/javac  -d . -classpath
/usr/local/www/jakarta/common/lib:/usr/opt/jdk131/jre/lib/:/usr/opt/jdk131/lib:/usr/opt/jdk131:.:${CLASSPATH}
\
    Constants.java WarpConfigurationHandler.java WarpConnection.java
WarpConnector.java WarpEngine.java WarpHost.java WarpLogger.java
WarpPacket.java WarpRequest.java WarpRequestHandler.java WarpResponse.java
WarpConfigurationHandler.java:63: cannot resolve symbol
symbol  : class Container
location: package catalina
import org.apache.catalina.Container;
                           ^
WarpConfigurationHandler.java:64: cannot resolve symbol
symbol  : class Context
location: package catalina
import org.apache.catalina.Context;
 ...
....
...


Thanks in advance
yogesh




> Hi all ,
>
>             I am trying to compile mod_webapp as I have to use
> EAPI support ..
> The problem is mod_webapp compiles and I have a .so but warp.jar never
> compiles .
> First  Makedefs path was  pointing to /Users/Pier ....
> I changed that to point to my Makedefs ..
> Now it complains  like this ..
>
> yogesh/webapp-module-1.0-tc40/java# make
> d . -classpath :${CLASSPATH} \
>     Constants.java WarpConfigurationHandler.java WarpConnection.java
> WarpConnector.java WarpEngine.java WarpHost.java WarpLogger.java
> WarpPacket.java WarpRequest.java WarpRequestHandler.java
> WarpResponse.java
> /bin/sh: d: command not found
> make: [warp.jar] Error 127 (ignored)
> cf0 warp.jar org/
> make: cf0: Command not found
> make: [warp.jar] Error 127 (ignored)
>
> any pointers ..
> Also can anyone also tell me How can I incorprate Tomcat  into apache as
> a Virtual host .
>
> Thanks in advance
> yogesh

--
Whatever you do will be insignificant, but it is very important that you do it.
                -- Gandhi




Re: Included ( JSP not being recompiled

Posted by Brian Kreitzer <kr...@yahoo.com>.
I've seen similar problems with other application
servers.  You can think of it like this.  The include
is just a "pointer" to the other page and since the
pointer doesn't acctually change, it sees no reason to
recompile.  I would guess that you cannot change this
"feature".

bk

--- Janek Bogucki <ja...@yahoo.co.uk> wrote:
> I seem to have a problem with Tomcat not recompling
> a
> changed JSP when the JSP is only used as an included
> file with <jsp:include/>.
> 
> I have a page which includes another JSPs:
> 
> /MyJSP.html:
> 
> <%@ page errorPage="/error.html" %>
> <html>
> ...
> <jsp:include page="/_include/st.html#header.jsp" 
> flush="true" />
> ...
> </html>
> 
> 
> This is my included file, just static HTML:
> 
> /_include/st.html#header.jsp:
> 
> <some static HTML>
> 
> 
> If 'MyJSP.html' is modified it's recompiled and
> served
> out okay. However if '/_include/st.html#header.jsp'
> is
> modified 'MyJSP.html' continues to use the old
> version
> until I forced a recompile of
> '/_include/st.html#header.jsp' by deleting the
> out-of-date class from /work.
> 
> Is there anything I can do to get
> '/_include/st.html#header.jsp' to recompile
> automatically when it's modifed?
> 
> Thanks,
> Janek Bogucki
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page from
> News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe:  
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
> 


=====
Brian Kreitzer

Owner
Kreitzer Kreations

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Included ( JSP not being recompiled

Posted by Janek Bogucki <ja...@yahoo.co.uk>.
I seem to have a problem with Tomcat not recompling a
changed JSP when the JSP is only used as an included
file with <jsp:include/>.

I have a page which includes another JSPs:

/MyJSP.html:

<%@ page errorPage="/error.html" %>
<html>
...
<jsp:include page="/_include/st.html#header.jsp" 
flush="true" />
...
</html>


This is my included file, just static HTML:

/_include/st.html#header.jsp:

<some static HTML>


If 'MyJSP.html' is modified it's recompiled and served
out okay. However if '/_include/st.html#header.jsp' is
modified 'MyJSP.html' continues to use the old version
until I forced a recompile of
'/_include/st.html#header.jsp' by deleting the
out-of-date class from /work.

Is there anything I can do to get
'/_include/st.html#header.jsp' to recompile
automatically when it's modifed?

Thanks,
Janek Bogucki



__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Warp.jar

Posted by Pier Fumagalli <pi...@betaversion.org>.
Yogesh Bhanu at yogesh@gsf.de wrote:

> Hi all ,
> 
>           I am trying to compile mod_webapp as I have to use
> EAPI support ..
> The problem is mod_webapp compiles and I have a .so but warp.jar never
> compiles .
> First  Makedefs path was  pointing to /Users/Pier ....
> I changed that to point to my Makedefs ..
> Now it complains  like this ..
> 
> yogesh/webapp-module-1.0-tc40/java# make
> d . -classpath :${CLASSPATH} \
>   Constants.java WarpConfigurationHandler.java WarpConnection.java
> WarpConnector.java WarpEngine.java WarpHost.java WarpLogger.java
> WarpPacket.java WarpRequest.java WarpRequestHandler.java
> WarpResponse.java
> /bin/sh: d: command not found
> make: [warp.jar] Error 127 (ignored)
> cf0 warp.jar org/
> make: cf0: Command not found
> make: [warp.jar] Error 127 (ignored)

Download one of the nightly snapshots from http://nagoya.apache.org/~pier
and run configure with the --enable-java command line options.

> Also can anyone also tell me How can I incorprate Tomcat  into apache as
> a Virtual host .

Meaning?

    Pier