cvs ant build problem

2005-07-23 Thread David Shapiro
Hello,

I am trying to run cvs, but it is failing.  

checkout.depends:
  [cvs] cvs [checkout aborted]: connect to
cvs.apache.org(209.237.227.194):2401 failed: Connection timed out

If you try and ping this site it is not reachable.  Is this not available
anymore?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: build problem

2005-04-05 Thread Fay, Michael
Building 5.5.7 with ant 1.6.2 on solaris 9, I keep getting this following
error:
BUILD FAILED
/home/mfay/jakarta-tomcat-5.5.7-src/build.xml:50: The following error
occurred while executing this line:
/home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
copy.
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper
.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by:
/home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
copy.
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:385)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 10 more
--- Nested Exception ---
/home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
copy.
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:385)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

So, where do I get this package if the checkout system can't get it? 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: build problem

2005-04-05 Thread Anto Paul
On Apr 6, 2005 5:16 AM, Fay, Michael [EMAIL PROTECTED] wrote:
 Building 5.5.7 with ant 1.6.2 on solaris 9, I keep getting this following
 error:
 BUILD FAILED
 /home/mfay/jakarta-tomcat-5.5.7-src/build.xml:50: The following error
 occurred while executing this line:
 /home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
 Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
 copy.
 at
 org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper
 .java:539)
 at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
 at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:341)
 at org.apache.tools.ant.Target.performTasks(Target.java:369)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
 at org.apache.tools.ant.Main.runBuild(Main.java:673)
 at org.apache.tools.ant.Main.startAnt(Main.java:188)
 at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
 at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
 Caused by:
 /home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
 Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
 copy.
 at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:385)
 at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:341)
 at org.apache.tools.ant.Target.performTasks(Target.java:369)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
 at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
 ... 10 more
 --- Nested Exception ---
 /home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
 Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
 copy.
 at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:385)
 at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:341)
 at org.apache.tools.ant.Target.performTasks(Target.java:369)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
 at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
 at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:341)
 at org.apache.tools.ant.Target.performTasks(Target.java:369)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
 at org.apache.tools.ant.Main.runBuild(Main.java:673)
 at org.apache.tools.ant.Main.startAnt(Main.java:188)
 at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
 at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
 
 So, where do I get this package if the checkout system can't get it?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

If my memory is correct you can find all the dependencies in
build.properties.default. mx4j is hosted at SourceForge.net.
mx4j.sf.net.

-- 
Anto Paul
www.benchmarksoft.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: build problem

2005-04-02 Thread Anto Paul
On Apr 1, 2005 8:52 PM, Fay, Michael [EMAIL PROTECTED] wrote:
 I downloaded the latest version of ant. 1.6.2.
 
 -Original Message-
 From: Antony Paul [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 31, 2005 8:29 PM
 To: Tomcat Users List
 Subject: Re: build problem
 
 What version of Ant you are using ?. It seems that Ant is not
 supporting the attribute compression
 
 On Apr 1, 2005 3:48 AM, Fay, Michael [EMAIL PROTECTED] wrote:
  I'm sure it's something simple, but I'm getting the following error when I
  try to build tomcat:
 
  BUILD FAILED
 
  /home/mfay/jakarta-tomcat-5.5.7-src/build.xml:94: The cvs task doesn't
  support the compression attribute.
 
  I've searched the Jakarta website to see if there was something on this,
 but
  I haven't found anything. Do I need to make some change to the
  build.properties or something?
 
 
 
 --
 rgds
 Antony Paul
 http://www.geocities.com/antonypaul24/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
run Ant with debug enabled or verbose out put enabled to find the
exact element at which it failed.

-- 
Anto Paul
www.benchmarksoft.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: build problem

2005-04-01 Thread Fay, Michael
I downloaded the latest version of ant. 1.6.2.

-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 31, 2005 8:29 PM
To: Tomcat Users List
Subject: Re: build problem

What version of Ant you are using ?. It seems that Ant is not
supporting the attribute compression

On Apr 1, 2005 3:48 AM, Fay, Michael [EMAIL PROTECTED] wrote:
 I'm sure it's something simple, but I'm getting the following error when I
 try to build tomcat:
 
 BUILD FAILED
 
 /home/mfay/jakarta-tomcat-5.5.7-src/build.xml:94: The cvs task doesn't
 support the compression attribute.
 
 I've searched the Jakarta website to see if there was something on this,
but
 I haven't found anything. Do I need to make some change to the
 build.properties or something?
 
 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



build problem

2005-03-31 Thread Fay, Michael
I'm sure it's something simple, but I'm getting the following error when I
try to build tomcat:

 

BUILD FAILED

 

/home/mfay/jakarta-tomcat-5.5.7-src/build.xml:94: The cvs task doesn't
support the compression attribute.

 

I've searched the Jakarta website to see if there was something on this, but
I haven't found anything. Do I need to make some change to the
build.properties or something? 



Re: build problem

2005-03-31 Thread Antony Paul
What version of Ant you are using ?. It seems that Ant is not
supporting the attribute compression

On Apr 1, 2005 3:48 AM, Fay, Michael [EMAIL PROTECTED] wrote:
 I'm sure it's something simple, but I'm getting the following error when I
 try to build tomcat:
 
 BUILD FAILED
 
 /home/mfay/jakarta-tomcat-5.5.7-src/build.xml:94: The cvs task doesn't
 support the compression attribute.
 
 I've searched the Jakarta website to see if there was something on this, but
 I haven't found anything. Do I need to make some change to the
 build.properties or something?
 
 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



jk connector build problem

2005-02-07 Thread Thor Muller
I think others have had this problem but I can't find an answer that
helps me. I have a fresh install of redhat9 and I've installed Apache
2.053, PHP 4.3.1 and Tomcat 5.5, all without a hitch. Now I'm trying
to compile the mod_jk.so and it gives me the following error. Any
answers would be very much appreciated.

---

# make
Making all in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
Making all in apache-2.0
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/apache-2.0'
/bin/sh /usr/local/apache/build/libtool --silent --mode=install cp
mod_jk.la `pwd`/mod_jk.so
libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/modules'
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/apache-2.0'
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native'
target=all; \
list='common apache-2.0'; \
for i in $list; do \
echo Making $target in $i; \
if test $i != .; then \
   (cd $i  make $target) || exit 1; \
fi; \
done;
Making all in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
Making all in apache-2.0
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/apache-2.0'
/bin/sh /usr/local/apache/build/libtool --silent --mode=install cp
mod_jk.la `pwd`/mod_jk.so
libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/modules'
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/apache-2.0'
[EMAIL PROTECTED] native]# make install
Making install in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
Making install in apache-2.0
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/apache-2.0'

Installing files to Apache Modules Directory...
/usr/local/apache/bin/apxs -i mod_jk.la
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' mod_jk.la
/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp mod_jk.la
/usr/local/apache/modules/
cp .libs/mod_jk.lai /usr/local/apache/modules/mod_jk.la
cp .libs/mod_jk.a /usr/local/apache/modules/mod_jk.a
ranlib /usr/local/apache/modules/mod_jk.a
chmod 644 /usr/local/apache/modules/mod_jk.a
PATH=$PATH:/sbin ldconfig -n /usr/local/apache/modules
--
Libraries have been installed in:
   /usr/local/apache/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
 during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
 during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
Warning!  dlname not found in /usr/local/apache/modules/mod_jk.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/mod_jk.so
chmod: failed to get attributes of
`/usr/local/apache/modules/mod_jk.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make[1]: *** [install_dynamic] Error 1
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/apache-2.0'
make: *** [install-recursive] Error 1

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jk connector build problem

2005-02-07 Thread Mladen Turk
Thor Muller wrote:
I think others have had this problem but I can't find an answer that
helps me. I have a fresh install of redhat9 and I've installed Apache
2.053, PHP 4.3.1 and Tomcat 5.5, all without a hitch. Now I'm trying
to compile the mod_jk.so and it gives me the following error. Any
answers would be very much appreciated.
---
# make
Making all in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make[1]: Nothing to be done for `all'.
How did you run ./configure?
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Build Problem - jakarta-tomcat-connectors-4.1.30-src

2004-06-09 Thread Evan Read
Hi everyone.  I am trying to build jakarta-tomcat-connectors-4.1.30-src. 
 I get the following errors (mainly unresolved symbols) and I am not 
sure why.  Obviously it can't find the right packages, but I thought the 
Servlet Java stuff was implimented in Tomcat itself.  Do I need another 
package I can't find anywhere?

I have just pasted a sample of the errors.  Most are identical.  Missing 
things from this javax.servlet package. I am running ant (properly 
setup of course) from the jakarta-tomcat-connectors-4.1.30-src directory.

Thanks.
Evan
--
Buildfile: build.xml
build:
detect:
build-prepare:
build-main:
 [echo] - Java-utils -
 [echo] -- puretls.present = ${puretls.present}
 [echo] -- jsse.present = true $/usr/opt/java142/jre/lib/jsse.jar
 [echo] -- commons-logging = true
 [echo] -- jmx = true 
/usr/local/qut/bpr/utils/mx4j-2.0.1/lib/mx4j-jmx.jar
 [echo] -- modeler = true 
/usr/local/qut/bpr/utils/commons-modeler-1.1/commons-modeler.jar
 [echo] -- JDK14 = true

init:
 [echo]  Coyote 1.0-dev 
prepare:
static:
report-tc5:
 [echo] Tomcat5 detected
report-tc4:
 [echo] Tomcat4 detected
report-tc33:
report:
compile.shared:
compile.tomcat4:
[javac] Compiling 13 source files to 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/build/classes
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteAdapter.java:68: 
package javax.ser
vlet.http does not exist
[javac] import javax.servlet.http.Cookie;
[javac]   ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteAdapter.java:69: 
package javax.ser
vlet.http does not exist
[javac] import javax.servlet.http.HttpServletRequest;
[javac]   ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:89: 
package javax.ser
vlet does not exist
[javac] import javax.servlet.RequestDispatcher;
[javac]  ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:90: 
package javax.ser
vlet does not exist
[javac] import javax.servlet.ServletContext;
[javac]
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:91: 
package javax.ser
vlet does not exist
[javac] import javax.servlet.ServletInputStream;
[javac]  ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:92: 
package javax.ser
vlet does not exist
[javac] import javax.servlet.ServletRequest;
[javac]  ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:93: 
package javax.ser
vlet.http does not exist
[javac] import javax.servlet.http.Cookie;
[javac]   ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:94: 
package javax.ser
vlet.http does not exist
[javac] import javax.servlet.http.HttpServletRequest;
[javac]   ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:95: 
package javax.ser
vlet.http does not exist
[javac] import javax.servlet.http.HttpServletResponse;
[javac]   ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:96: 
package javax.ser
vlet.http does not exist
[javac] import javax.servlet.http.HttpSession;
[javac]   ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:125: 
cannot resolve s
ymbol
[javac] symbol  : class HttpServletRequest
[javac] location: class org.apache.coyote.tomcat4.CoyoteRequest
[javac] implements HttpRequest, HttpServletRequest {
[javac] ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequest.java:186: 
cannot resolve s
ymbol
[javac] symbol  : class Cookie
[javac] location: class org.apache.coyote.tomcat4.CoyoteRequest
[javac] protected Cookie[] cookies = null;
[javac]   ^
[javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteInputStream.java:76: 
cannot resolv
e symbol
[javac] 

RE: Build Problem - jakarta-tomcat-connectors-4.1.30-src

2004-06-09 Thread Kommuru, Bhaskar
Do you have j2ee downloaded as well? As you know, It is looking for servlet
package.  I am not sure where this package is set as classpath in your ant
script.
But you can try to apend this classpath to some classpath mentioned in your
ant scripts or else, try to set CLASSPATH in you evnvironment and tell me
:-)

-Original Message-
From: Evan Read [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 8:51 AM
To: [EMAIL PROTECTED]
Subject: Build Problem - jakarta-tomcat-connectors-4.1.30-src


Hi everyone.  I am trying to build jakarta-tomcat-connectors-4.1.30-src. 
  I get the following errors (mainly unresolved symbols) and I am not 
sure why.  Obviously it can't find the right packages, but I thought the 
Servlet Java stuff was implimented in Tomcat itself.  Do I need another 
package I can't find anywhere?

I have just pasted a sample of the errors.  Most are identical.  Missing 
things from this javax.servlet package. I am running ant (properly 
setup of course) from the jakarta-tomcat-connectors-4.1.30-src directory.

Thanks.

Evan

--

Buildfile: build.xml

build:

detect:

build-prepare:

build-main:
  [echo] - Java-utils -
  [echo] -- puretls.present = ${puretls.present}
  [echo] -- jsse.present = true $/usr/opt/java142/jre/lib/jsse.jar
  [echo] -- commons-logging = true
  [echo] -- jmx = true 
/usr/local/qut/bpr/utils/mx4j-2.0.1/lib/mx4j-jmx.jar
  [echo] -- modeler = true 
/usr/local/qut/bpr/utils/commons-modeler-1.1/commons-modeler.jar
  [echo] -- JDK14 = true

init:
  [echo]  Coyote 1.0-dev 

prepare:

static:

report-tc5:
  [echo] Tomcat5 detected

report-tc4:
  [echo] Tomcat4 detected

report-tc33:

report:

compile.shared:

compile.tomcat4:
 [javac] Compiling 13 source files to 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/build/classes
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteAdapter.java:68: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.Cookie;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteAdapter.java:69: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.HttpServletRequest;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:89: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.RequestDispatcher;
 [javac]  ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:90: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.ServletContext;
 [javac]
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:91: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.ServletInputStream;
 [javac]  ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:92: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.ServletRequest;
 [javac]  ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:93: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.Cookie;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:94: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.HttpServletRequest;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:95: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.HttpServletResponse;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:96: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.HttpSession;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:125: 
cannot resolve s
ymbol
 [javac] symbol  : class HttpServletRequest
 [javac] location: class org.apache.coyote.tomcat4.CoyoteRequest
 [javac] implements HttpRequest

Re: Build Problem - jakarta-tomcat-connectors-4.1.30-src

2004-06-09 Thread Evan Read
Hey,
Thanks for the pointer.  I am on Tru64 which doesn't provide a J2EE but 
I was able to downloaded the classes anyway and add them to my class path.

I am following some instructions for getting the connector working and I 
am expecting a jtc.jar file to be created when running ant in the 
connectors source directory.

The Build is now successful (with your help) but this file is not being 
created.  Do I need something further defined?

Thanks for your help.
Kommuru, Bhaskar wrote:
Do you have j2ee downloaded as well? As you know, It is looking for servlet
package.  I am not sure where this package is set as classpath in your ant
script.
But you can try to apend this classpath to some classpath mentioned in your
ant scripts or else, try to set CLASSPATH in you evnvironment and tell me
:-)
-Original Message-
From: Evan Read [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 8:51 AM
To: [EMAIL PROTECTED]
Subject: Build Problem - jakarta-tomcat-connectors-4.1.30-src
Hi everyone.  I am trying to build jakarta-tomcat-connectors-4.1.30-src. 
  I get the following errors (mainly unresolved symbols) and I am not 
sure why.  Obviously it can't find the right packages, but I thought the 
Servlet Java stuff was implimented in Tomcat itself.  Do I need another 
package I can't find anywhere?

I have just pasted a sample of the errors.  Most are identical.  Missing 
things from this javax.servlet package. I am running ant (properly 
setup of course) from the jakarta-tomcat-connectors-4.1.30-src directory.

Thanks.
Evan
--
Buildfile: build.xml
build:
detect:
build-prepare:
build-main:
  [echo] - Java-utils -
  [echo] -- puretls.present = ${puretls.present}
  [echo] -- jsse.present = true $/usr/opt/java142/jre/lib/jsse.jar
  [echo] -- commons-logging = true
  [echo] -- jmx = true 
/usr/local/qut/bpr/utils/mx4j-2.0.1/lib/mx4j-jmx.jar
  [echo] -- modeler = true 
/usr/local/qut/bpr/utils/commons-modeler-1.1/commons-modeler.jar
  [echo] -- JDK14 = true

init:
  [echo]  Coyote 1.0-dev 
prepare:
static:
report-tc5:
  [echo] Tomcat5 detected
report-tc4:
  [echo] Tomcat4 detected
report-tc33:
report:
compile.shared:
compile.tomcat4:
 [javac] Compiling 13 source files to 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/build/classes
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteAdapter.java:68: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.Cookie;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteAdapter.java:69: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.HttpServletRequest;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:89: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.RequestDispatcher;
 [javac]  ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:90: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.ServletContext;
 [javac]
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:91: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.ServletInputStream;
 [javac]  ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:92: 
package javax.ser
vlet does not exist
 [javac] import javax.servlet.ServletRequest;
 [javac]  ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:93: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.Cookie;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:94: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.HttpServletRequest;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:95: 
package javax.ser
vlet.http does not exist
 [javac] import javax.servlet.http.HttpServletResponse;
 [javac]   ^
 [javac] 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
va/org/apache/coyote/tomcat4/CoyoteRequest.java:96

build problem with jakarta-tomcat-connectors

2004-02-26 Thread bfforsyth
Hi all,

I am trying to build an initial install of tomcat and am getting the
following error during 'ant dist'.

It would seem that I need a build.properties in the
jakarta-comcat-connectors/util
directory, but I don't know the first place to start to either build one
from scratch or if there is boiler-plate version somewhere.

Any suggestions would be very helpful.

Thanks,
Brendan

--
ant -v dist
--
lots of stuff deleted-

build-tomcat-util:
Project base dir set to:
/export/home/local/jakarta-tomcat-connectors/util
  [ant] calling target build-main in build file
/export/home/local/jakarta-tomcat-connectors/util/build.xml
parsing buildfile
/export/home/local/jakarta-tomcat-connectors/util/build.xml with URI =
file:/export/home/local/jakarta-tomcat-connectors/util/build.xml
Project base dir set to:
/export/home/local/jakarta-tomcat-connectors/util
 [property] Loading
/export/home/local/jakarta-tomcat-connectors/util/build.properties
Override ignored for property compile.debug
 [property] Loading /build.properties
 [property] Unable to find property file: /build.properties

BUILD FAILED
file:/export/home/local/jakarta-tomcat-4.1.30/catalina/build.xml:795:
Target `build-main' does not exist in this project. 
at org.apache.tools.ant.Project.tsort(Project.java:1718)
at org.apache.tools.ant.Project.topoSort(Project.java:1640)
at org.apache.tools.ant.Project.executeTarget(Project.java:1299)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 7 seconds




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Build problem with: connectors source

2004-01-26 Thread Mats Eliesson

I downloaded the latest source
file:jakarta-tomcat-connectors-jk2-src-current.tar.gz
tar xvfz jakarta-tomcat-connectors-jk2-src-current.tar.gz
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk

Then I build with ant and recive the following error:

[EMAIL PROTECTED] jk]# ant
Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

prepare:

BUILD FAILED
/home/digfi/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:105:
Warning: Could not find file
/home/digfi/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/lib/tomca
t-coyote.jar to copy.

Total time: 1 second


What can I do? There was no coyote-directory created when i extrated the
file and I cant find any source for it either.

###

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.F-Secure.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Build problem with: connectors source

2004-01-26 Thread Eric Emminger
Mats

I downloaded the latest source
file:jakarta-tomcat-connectors-jk2-src-current.tar.gz
tar xvfz jakarta-tomcat-connectors-jk2-src-current.tar.gz
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk
Then I build with ant and recive the following error:

[EMAIL PROTECTED] jk]# ant
Buildfile: build.xml
detect:
 [echo]  jakarta-tomcat-connectors 
prepare:

BUILD FAILED
/home/digfi/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:105:
Warning: Could not find file
/home/digfi/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/lib/tomca
t-coyote.jar to copy.
Total time: 1 second

What can I do? There was no coyote-directory created when i extrated the
file and I cant find any source for it either.
I'm having the same problem. I'm awaiting a response on the tomcat-dev 
list regarding a similar issue; the PGP signature for the same tar.gz 
file is bad.

http://marc.theaimsgroup.com/?l=tomcat-devm=107514052911188w=2

I just posted this build problem on tomcat-dev as well.
http://marc.theaimsgroup.com/?l=tomcat-devm=107514716620422w=2
Eric

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Build problem with: connectors source

2004-01-26 Thread Mark Eggers
Building mod_jk and mod_jk2 is a bit tricky, but not
too bad.  Here's how I accomplished it on Linux
(Redhat 9 and Fedora Core 1).

mod_jk2

1. Download the latest source.

2. Uncompress and and untar it

3. cd to mod_jk2 native area

cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2

4. Set CPPFlAGS to the same that you had when building
Apache.  For me this meant the following:

export
CPPFLAGS=-I/usr/kerberos/include 
 -I/usr/openssl/include

(all on one line)

5. Run configure with the following:

./configure --with-apxs2=/home/apache/bin/apxs \
--with-tomcat41=/home/tomcat \
--with-os-type=include/linux \
--with-jni \
--with-pcre

Replace the /home/apache/bin/apxs with your location
of apxs.

You will notice an error about command OS not being
found.  This is a bug in the configure script, and is
also in an M4 macro file.  It will not affect the
configuration.

6. Change to the server/apache2 directory

cd server/apache2

7. Edit the Makefile and change the following line
from:

JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -lpcre
-lpcreposix

to:

JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -lpcre
-lpcreposix -laprutil-0

This is a problem with the configure script (and
another M4 file).

8. Change back to the native2 directory

cd ../..

9. Run make

10. jkjni.so and mod_jk2.so will be in:

jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2

11. Copy them into your modules directory for Apache,
change the permissions accordingly (so your Apache
process owner can read them), and proceed to the
configuration.

This mod_jk2.so and jkjni.so supports both IP sockets
and UNIX sockets on Linux.  From previous discussions
on this mailing list I think that in-process support
will depend on a new MPM for the web server.

The M4 script changes appear to be fairly trivial, but
my first pass at the OS change seemed to break other
stuff (concerning OS subdirectory detection for
jkjni/java).  I'm working on unravelling that (since I
don't understand M4, yet) and I'll try to post my
patches to Bugzilla.

HTH

/mde/
just my two cents . . . .


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread James Snelling
I have been trying to compile the mod_jk2.so connector, but having
problems.

I have the following:
O/S - RedHat9.0
Apache2.0.48 installed from source and working standalone on port 80 
443 at /usr/local/apache2
jakarta-tomcat-4.1.29 installed and working standalone on port 8080 at
/usr/local/jakarta-tomcat-4.1.29
java at /usr/local/j2sdk1.4.2 (also tested and working ok)

Apache was configured as follows:

# ./configure --enable-rewrite --enable-speling --enable-shared=max
--enable-module=so \
 --enable-ssl --enable-cgi --enable-info --enable-usertrack
--enable-deflate \
 --enable-mime-magic --with-ssl=/usr/local/ssl

I obtained jakarta-tomcat-connectors-jk2-src-current.tar.gz and did the
following:

# gunzip jakarta-tomcat-connectors-jk2-src-current.tar.gz
# tar -xvf jakarta-tomcat-connectors-jk2-src-current.tar
# cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
# sh ./buildconf.sh
# ./configure --with-apxs2=/usr/local/apache/bin/apxs \
  --with-tomcat41=/usr/local/jakarta-tomcat-4.1.29 \
  --with-jni --with-jave-home=/usr/local/j2sdk1.4.2
# make

Now, according to most of the how-tos I have looked at, I should have a
copy of mod_jk2.so and jkjni.so waiting for me in
/usr/local/src/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apac
he2/
Unfortunatly all that is here are the following files:

# ls -l ../build/jk2/apache2/ | grep mod_jk2
-rw-r--r--1 root root  3064400 Jan 12 11:48 mod_jk2.a
-rw-r--r--1 root root  666 Jan 12 11:48 mod_jk2.la
-rw-r--r--1 root root   10 Jan 12 11:48 mod_jk2.lo
-rw-r--r--1 root root   103024 Jan 12 11:48 mod_jk2.o

# ls -l ../build/jk2/apache2/ | grep jkjni
-rw-r--r--1 root root  2680734 Jan 12 11:48 jkjni.a
-rw-r--r--1 root root  728 Jan 12 11:48 jkjni.la

I have had a look through the mailing list archives, and have seen this
problem before, but unfortunately I don't see a solution for it.

Any help finding a way forward is appreciated, 

James Snelling

James Snelling

[EMAIL PROTECTED]

---

The views expressed here are not those of the Students' Association nor can they be 
assumed to be those of the writer. No liability is accepted for the accuracy or the 
veracity of the contents. You are held to accept this and any use to which you put any 
contents of this communication are entirely your responsibility. 

DISCLAIMER: This e-mail is intended solely for the above-mentioned recipient and it 
may contain confidential or privileged information. If you have received it in error, 
please notify us immediately and delete the e-mail. You must not copy, distribute, 
disclose or take any action in reliance on it. This e-mail message and any attached 
files have been scanned for the presence of computer viruses, however, you are advised 
that you open any attachments at your own risk.

Nothing in this email shall be construed as constituting an order for goods or services

www.upsa.org.uk

 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread martin grotzke
On Mon, 2004-01-12 at 13:11, James Snelling wrote:
 Any help finding a way forward is appreciated, 
a cannot help you for your specific problem, but i built mod_jk2
two days ago on fedora, and succeeded.

perhaps this solves your problem too...
you can find the description in the archives,
http://www.mail-archive.com/[EMAIL PROTECTED]/msg114982.html

cheers,
martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread Mark Eggers
James,

I don't know about
jakarta-tomcat-connectors-jk2-src-current.tar.gz, but
the latest CVS snapshot has some problems during make.

It appears to be an issue with the configure scripts
(actually multiple issues) that need to be addressed.

The best bet is to use the 2.0.2 source and compile
from there.

As discussed on the mailing list you'll be able to get
sockets (both IP and UNIX) working, but in-process is
currently not possible with the available
multi-processor modules in apache.

Also, add --with-pcre and --with-os-type=include/linux
to your ./configure command for mod_jk2.

Finally, you'll need to tweak the Makefile in
server/apache2 of mod_jk2.  The JK_LDFLAGS line should
read:

JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -lpcre
-lpcreposix -laprutil-0

HTH

/mde/
just my two cents . . . .


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat5.0 build problem

2003-02-24 Thread Steve Guo

When I tried, telnet cvs.apache.org 2401, I got 'connect failed' message.

I assume I already have everything on my PC, can I turn off the 'cvs' feature, and 
compile all local files? I understand there is need for version control, but for a 
starter, is there a simple way out?

Thanks, Steve


 Tim Funk [EMAIL PROTECTED] wrote:There is a good chance CVS is blocked by your 
firewall. It was for me. 
You can test this by:

telnet cvs.apache.org 2401

If your connection times out - then your blocked by your firewall.

-Tim

Steve Guo wrote:
 Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a 
 proxy server (?), because this is the setup in IE when accessing the Internet from 
 office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy 
 server is unchecked, 'Use automatic configuration script' is checked.
 But when using Yahoo Messenger or MSN messenger from office, I have to set the 
 following:
 Use Proxies (checked)
 Enable HTTP proxy (checked)
 HTTP Proxy server name: FIREWALL
 server port: 80
 ---
 So based on above, I make the following build.properties file:
 proxy.host=FIREWALL
 proxy.port=80
 proxy.use=on
 base.path=/usr/local
 Still the same error message. I am really confused. Following Filip Hanik, I 
 downloaded cvs, it is a challenge to set it up too. Actually I have been able to use 
 the binary version (4.1.18) fine, but I thought I would try my luck building from 
 source.
 Thanks all, steve
 Bill Barker wrote:Since you are behind a firewall, make sure that you have set 
 'proxy.host',
 'proxy.port', and 'proxy.use' in your build.properties file. They are
 commented out in the build.properties.default file.
 
 At a guess, the wall you are hitting first is due to using a version of
 Jakarta-Ant  1.5. You need to use at least 1.5 to build TC 5.
 
 Filip Hanik wrote in message
 news:[EMAIL PROTECTED]
 try this,
 
 cvs checkout jakarta-tomcat-5
 cd jakarta-tomcat-5
 ant download
 ant checkout
 ant dist
 
 Filip
 
 -Original Message-
 From: Steve Guo [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 21, 2003 1:54 PM
 To: tomcatuser
 Subject: tomcat5.0 build problem
 
 
 
 Hi, this is the first time I tried to build tomcat from source, ran into the
 following problems. If you can provide your comment or point me to resource,
 I would appreciate it. Thanks. Steve
 
 1. I followed the instructions in BUILDING.TXT, almost exactly - the
 Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from
 Xalan2.4.1.
 
 2. I got the following error after running ant:
 
 Buildfile: build.xml
 
 check.source:
 
 get.source:
 
 check.out:
 
 BUILD FAILED
 
 Build.xml:67: the task doesn't support the 'compression' attribute.
 
 3. I am running behind corporate firewall.
 
 
 
 
 
 -
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, and more
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, and more


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

Re: tomcat5.0 build problem

2003-02-22 Thread Tim Funk
There is a good chance CVS is blocked by your firewall. It was for me. 
You can test this by:

telnet cvs.apache.org 2401

If your connection times out - then your blocked by your firewall.

-Tim

Steve Guo wrote:
Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a 
proxy server (?), because this is the setup in IE when accessing the Internet from 
office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server 
is unchecked, 'Use automatic configuration script' is checked.
But when using Yahoo Messenger or MSN messenger from office, I have to set the 
following:
Use Proxies (checked)
Enable HTTP proxy (checked)
HTTP Proxy server name: FIREWALL
server port: 80
---
So based on above, I make the following build.properties file:
proxy.host=FIREWALL
proxy.port=80
proxy.use=on
base.path=/usr/local
Still the same error message. I am really confused. Following Filip Hanik, I 
downloaded cvs, it is a challenge to set it up too. Actually I have been able to use 
the binary version (4.1.18) fine, but I thought I would try my luck building from 
source.
Thanks all, steve
 Bill Barker [EMAIL PROTECTED] wrote:Since you are behind a firewall, make sure that 
you have set 'proxy.host',
'proxy.port', and 'proxy.use' in your build.properties file. They are
commented out in the build.properties.default file.
At a guess, the wall you are hitting first is due to using a version of
Jakarta-Ant  1.5. You need to use at least 1.5 to build TC 5.
Filip Hanik wrote in message
news:[EMAIL PROTECTED]
try this,
cvs checkout jakarta-tomcat-5
cd jakarta-tomcat-5
ant download
ant checkout
ant dist
Filip

-Original Message-
From: Steve Guo [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:54 PM
To: tomcatuser
Subject: tomcat5.0 build problem


Hi, this is the first time I tried to build tomcat from source, ran into the
following problems. If you can provide your comment or point me to resource,
I would appreciate it. Thanks. Steve
1. I followed the instructions in BUILDING.TXT, almost exactly - the
Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from
Xalan2.4.1.
2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.





-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat5.0 build problem

2003-02-22 Thread Jacob Kjome
Hmm

I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here...

build-main:
[javac] Compiling 1 source file to 
D:\myclasses\Repository\Jakarta\tomcat5_2
003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes
[javac] This version of java does not support the classic compiler; 
upgradin
g to modern
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\server\webapps\admin\WEB-INF\src\admin
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\ROOT\WEB-INF\src
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\ROOT\WEB-INF\classes
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\jsp-examples\WEB-INF\src
  [jasper2] Error in class org.apache.jasper.JspC

BUILD FAILED
file:D:/myclasses/Repository/Jakarta/tomcat5_2003-02-21/jakarta-tomcat-5/build.x
ml:265: org.apache.jasper.JasperException: Error compiling 
\jsp2\tagfiles\hello.
jsp

Jake

At 08:15 PM 2/21/2003 -0800, you wrote:
Since you are behind a firewall, make sure that you have set 'proxy.host',
'proxy.port', and 'proxy.use' in your build.properties file.  They are
commented out in the build.properties.default file.
At a guess, the wall you are hitting first is due to using a version of
Jakarta-Ant  1.5.  You need to use at least 1.5 to build TC 5.
Filip Hanik [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
try this,
cvs checkout jakarta-tomcat-5
cd jakarta-tomcat-5
ant download
ant checkout
ant dist
Filip

-Original Message-
From: Steve Guo [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:54 PM
To: tomcatuser
Subject: tomcat5.0 build problem


Hi, this is the first time I tried to build tomcat from source, ran into the
following problems. If you can provide your comment or point me to resource,
I would appreciate it. Thanks.   Steve
1. I followed the instructions in BUILDING.TXT, almost exactly - the
Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from
Xalan2.4.1.
2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the cvs task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.





-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat5.0 build problem

2003-02-22 Thread Tim Funk
This a known issue due to pre-compiling all the JSP's that the 
developers are working through. For now - make the task optional by 
added an if condition to the target definition, for example:
  target name=build-webapps-precompile
  depends=init description=Builds the admin webapp
  if=precompile_webapps

Then this will skip this task UNLESS you pass -Dprecompile_webapps=true 
on the ant command line. For example:
ant -Dprecompile_webapps=true  clean deploy

OR

You can just ignore this error because it is the last step of the build 
and tomcat5 should start up fine.

-Tim

Jacob Kjome wrote:
Hmm

I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here...

build-main:
[javac] Compiling 1 source file to 
D:\myclasses\Repository\Jakarta\tomcat5_2
003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes
[javac] This version of java does not support the classic compiler; 
upgradin
g to modern
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\server\webapps\admin\WEB-INF\src\admin
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\ROOT\WEB-INF\src
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\ROOT\WEB-INF\classes
[mkdir] Created dir: 
D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\jsp-examples\WEB-INF\src
  [jasper2] Error in class org.apache.jasper.JspC

BUILD FAILED
file:D:/myclasses/Repository/Jakarta/tomcat5_2003-02-21/jakarta-tomcat-5/build.x 

ml:265: org.apache.jasper.JasperException: Error compiling 
\jsp2\tagfiles\hello.
jsp

Jake

At 08:15 PM 2/21/2003 -0800, you wrote:

Since you are behind a firewall, make sure that you have set 
'proxy.host',
'proxy.port', and 'proxy.use' in your build.properties file.  They are
commented out in the build.properties.default file.

At a guess, the wall you are hitting first is due to using a version of
Jakarta-Ant  1.5.  You need to use at least 1.5 to build TC 5.
Filip Hanik [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
try this,
cvs checkout jakarta-tomcat-5
cd jakarta-tomcat-5
ant download
ant checkout
ant dist
Filip

-Original Message-
From: Steve Guo [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:54 PM
To: tomcatuser
Subject: tomcat5.0 build problem


Hi, this is the first time I tried to build tomcat from source, ran 
into the
following problems. If you can provide your comment or point me to 
resource,
I would appreciate it. Thanks.   Steve

1. I followed the instructions in BUILDING.TXT, almost exactly - the
Xerces2.2.1 I am using does not have xalan.jar, so I used the same 
file from
Xalan2.4.1.

2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the cvs task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.





-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat5.0 build problem

2003-02-21 Thread Steve Guo

Hi, this is the first time I tried to build tomcat from source, ran into the following 
problems. If you can provide your comment or point me to resource, I would appreciate 
it. Thanks.   Steve

1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am 
using does not have xalan.jar, so I used the same file from Xalan2.4.1.

2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the cvs task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.

 



-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

RE: tomcat5.0 build problem

2003-02-21 Thread Filip Hanik
try this,

cvs checkout jakarta-tomcat-5
cd jakarta-tomcat-5
ant download
ant checkout
ant dist

Filip

-Original Message-
From: Steve Guo [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:54 PM
To: tomcatuser
Subject: tomcat5.0 build problem



Hi, this is the first time I tried to build tomcat from source, ran into the following 
problems. If you can provide your comment or point me to resource, I would appreciate 
it. Thanks.   Steve

1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am 
using does not have xalan.jar, so I used the same file from Xalan2.4.1.

2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the cvs task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.

 



-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat5.0 build problem

2003-02-21 Thread Bill Barker
Since you are behind a firewall, make sure that you have set 'proxy.host',
'proxy.port', and 'proxy.use' in your build.properties file.  They are
commented out in the build.properties.default file.

At a guess, the wall you are hitting first is due to using a version of
Jakarta-Ant  1.5.  You need to use at least 1.5 to build TC 5.

Filip Hanik [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
try this,

cvs checkout jakarta-tomcat-5
cd jakarta-tomcat-5
ant download
ant checkout
ant dist

Filip

-Original Message-
From: Steve Guo [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:54 PM
To: tomcatuser
Subject: tomcat5.0 build problem



Hi, this is the first time I tried to build tomcat from source, ran into the
following problems. If you can provide your comment or point me to resource,
I would appreciate it. Thanks.   Steve

1. I followed the instructions in BUILDING.TXT, almost exactly - the
Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from
Xalan2.4.1.

2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the cvs task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.





-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat5.0 build problem

2003-02-21 Thread Steve Guo

Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a 
proxy server (?), because this is the setup in IE when accessing the Internet from 
office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server 
is unchecked, 'Use automatic configuration script' is checked.
But when using Yahoo Messenger or MSN messenger from office, I have to set the 
following:
Use Proxies (checked)
Enable HTTP proxy (checked)
HTTP Proxy server name: FIREWALL
server port: 80
---
So based on above, I make the following build.properties file:
proxy.host=FIREWALL
proxy.port=80
proxy.use=on
base.path=/usr/local
Still the same error message. I am really confused. Following Filip Hanik, I 
downloaded cvs, it is a challenge to set it up too. Actually I have been able to use 
the binary version (4.1.18) fine, but I thought I would try my luck building from 
source.
Thanks all, steve
 Bill Barker [EMAIL PROTECTED] wrote:Since you are behind a firewall, make sure that 
you have set 'proxy.host',
'proxy.port', and 'proxy.use' in your build.properties file. They are
commented out in the build.properties.default file.

At a guess, the wall you are hitting first is due to using a version of
Jakarta-Ant  1.5. You need to use at least 1.5 to build TC 5.

Filip Hanik wrote in message
news:[EMAIL PROTECTED]
try this,

cvs checkout jakarta-tomcat-5
cd jakarta-tomcat-5
ant download
ant checkout
ant dist

Filip

-Original Message-
From: Steve Guo [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:54 PM
To: tomcatuser
Subject: tomcat5.0 build problem



Hi, this is the first time I tried to build tomcat from source, ran into the
following problems. If you can provide your comment or point me to resource,
I would appreciate it. Thanks. Steve

1. I followed the instructions in BUILDING.TXT, almost exactly - the
Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from
Xalan2.4.1.

2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.





-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

build problem

2002-07-11 Thread javadev82

Hello, I am using Tomcat 3.1. I have a minor issue:

In my source directory structure in the WEB/ directory I have
some script files along with the html and jsp files of my application.
When I do a build the script files are copied to the distribution
location
ok but they lose their executable attribute. What do I need to do to
insure these files keep their permission settings?

Thanks,
Bill


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




tc4.1.7b connector (native2) build problem

2002-07-11 Thread Luminous Heart

./configure --with-apache2=/usr/local/apache2
--with-tomcat41=/usr/local/tomcat
--with-java=/usr/local/j2sdk1.4.0
--with-apxs2=/usr/local/apache2/bin/apxs

everything works fine but near the end I get:
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for apache-2.0
configure: error: can't locate /usr/local/apache2/


What is going on?


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




build problem

2002-07-11 Thread javadev82

Hello, I am using Tomcat 3.1. I have a minor issue:

In my source directory structure in the WEB/ directory I have
some script files along with the html and jsp files of my application.
When I do a build the script files are copied to the distribution
location
ok but they lose their executable attribute. What do I need to do to
insure these files keep their permission settings?

Thanks,
Bill


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: build problem

2002-07-11 Thread Jackson, Stephen

If you are using unix/linux then what ever id you are deploying them under
set the umask to what ever permissions you need.

-Original Message-
From: javadev82 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 3:55 PM
To: tomcat- user
Subject: build problem


Hello, I am using Tomcat 3.1. I have a minor issue:

In my source directory structure in the WEB/ directory I have
some script files along with the html and jsp files of my application.
When I do a build the script files are copied to the distribution
location
ok but they lose their executable attribute. What do I need to do to
insure these files keep their permission settings?

Thanks,
Bill


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: build problem

2002-07-11 Thread Jacob Kjome

You'd probably get more response on this by looking at the Ant list.  I 
assume you are using Ant to do you builds, right?  I'd first take a look at 
the docs and then ask on the Ant -user list.

Jake

At 01:00 PM 7/11/2002 -0700, you wrote:
Hello, I am using Tomcat 3.1. I have a minor issue:

In my source directory structure in the WEB/ directory I have
some script files along with the html and jsp files of my application.
When I do a build the script files are copied to the distribution
location
ok but they lose their executable attribute. What do I need to do to
insure these files keep their permission settings?

Thanks,
Bill


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



mod_webapp.so build problem (BIS)

2002-07-10 Thread Julien OIX

hi everyone,

I'm running an apache server on a RedHat top box ...

I've downloaded the latest sources from the apache CVS server (checkout
webapp / checkout apr)
here's what I do to get the webapp module:

cd /usr/local/jakarta-tomcat-connectors/webapp/
./support/buildconf.sh

and what I get as error:


-- --- Checking autoconf version
autoconf version 2.52 detected.

--- Running APR buildconf script
buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: libtool version 1.3.5 (ok)
Copying libtool helper files ...
Creating include/arch/unix/apr_private.h.in ...
NONE:0: /usr/bin/m4: `syncoutput' from frozen file not found in builtin
table!
NONE:0: /usr/bin/m4: `changesyntax' from frozen file not found in
builtin table!
autoheader: include/arch/unix/apr_private.h.in is unchanged
Creating configure ...
NONE:0: /usr/bin/m4: `syncoutput' from frozen file not found in builtin
table!
NONE:0: /usr/bin/m4: `changesyntax' from frozen file not found in
builtin table!

--- Creating WebApp configure script
Creating configure ...
NONE:0: /usr/bin/m4: `syncoutput' from frozen file not found in builtin
table!
NONE:0: /usr/bin/m4: `changesyntax' from frozen file not found in
builtin table!

any ideas ?

thanks in advance
-- 
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mailto: [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




J-T-C build problem?

2002-07-08 Thread Robert Priest

Anyone else having these. I do not believe that I have modified any files
here:

 First One:

iis:
   [so] Compiling 2 out of 41
Compiling
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\
jk_isapi_plugin.c
   [so] Compile failed 2
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\na
tive2\server\isapi\jk_isapi_plugin.c
   [so] Output:
   [so] jk_isapi_plugin.c
   [so]
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\server\isap
i\jk_isapi_plugin.c(186) : error C2143: syntax error : missing ';' before
'type'

   [so]
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\server\isap
i\jk_isapi_plugin.c(195) : error C2065: 'dwThreadId' : undeclared identifier
   [so]
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\server\isap
i\jk_isapi_plugin.c(259) : warning C4018: '==' : signed/unsigned mismatch
   [so] StdErr:


BUILD FAILED
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\build.xml:527:
Compile
failed
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_
isapi_plugin.c


 Second One:

Compiling
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\server\apache
2\mod_jk2.c
Linking
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\build\jk2\apache2/mod_j
k2.dll
   [so] Link failed 1181
   [so] Command:C:\Program Files\Microsoft Visual Studio\VC98\bin\link
@li
nk.opt
   [so] Output:
   [so] LINK : fatal error LNK1181: cannot open input file
../jk_logger_win
32_message.res
   [so] StdErr:


BUILD FAILED
D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\build.xml:276: Link
fai
led mod_jk2

Total time: 42 seconds

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat 4.1.0 nightly build - problem deploying

2002-05-30 Thread Kurt Heston

I had the same problem on my W2K machine.

The JVM was looking to create files in a folder called temp in the
directory from which Tomcat was started as indicated by this JVM property:

java.io.tmpdir=.\temp

Since I was starting Tomcat from the %TOMCAT_HOME% directory with the
command bin\startup, creating a folder called temp under TOMCAT_HOME
did the trick.

Hope this helps.

--Kurt

-Original Message-
From: Jakarta Tomcat Newsgroup
[mailto:@[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 6:25 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.0 nightly build - problem deploying


Subject: Tomcat 4.1.0 nightly build - problem deploying
From: Chris Miller [EMAIL PROTECTED]
 ===
I'm trying to deploy an app on the latest nightly build of Tomcat 4.1.
Several of the WEB-INF/lib/*.jar files are not being deployed, and the error
is the same for each one (shown below). Any ideas what is causing this? I
assume that there's something wrong with the jar file, but I have no idea
what that something is...  What is Tomcat actually doing with the jar file
at this point?

Any help greatly appreciated!

Thanks,
Chris


2002-05-23 14:04:45 WebappLoader[]: Deploy JAR /WEB-INF/lib/oscache.jar to
C:\mydocs\deploy\swebcms\bin\..\webapps\swebcms\WEB-INF\lib\oscache.jar

...

2002-05-23 14:04:45 WebappLoader[]: Reloading checks are enabled for this
Context
2002-05-23 14:04:47 ContextConfig[] Exception processing JAR at resource
path /WEB-INF/lib/oscache.jar
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/oscache.jar
 at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.start(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)
 at org.apache.catalina.core.StandardContext.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardHost.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardEngine.start(Unknown Source)
 at org.apache.catalina.core.StandardService.start(Unknown Source)
 at org.apache.catalina.core.StandardServer.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.execute(Unknown Source)
 at org.apache.catalina.startup.Catalina.process(Unknown Source)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
- Root Cause -
java.io.IOException: The system cannot find the path specified
 at java.io.Win32FileSystem.createFileExclusively(Native Method)
 at java.io.File.checkAndCreate(File.java:1162)
 at java.io.File.createTempFile(File.java:1247)
 at java.io.File.createTempFile(File.java:1284)
 at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:143)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:138)
 at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43)
 at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:81)
 at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88)
 at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:7
2)
 at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.start(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)
 at org.apache.catalina.core.StandardContext.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardHost.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardEngine.start(Unknown Source)
 at org.apache.catalina.core.StandardService.start(Unknown Source)
 at org.apache.catalina.core.StandardServer.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.execute(Unknown Source)
 at org.apache.catalina.startup.Catalina.process(Unknown Source)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Unknown Source)



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat 4.1.0 nightly build - problem deploying

2002-05-23 Thread @Basebeans.com

Subject: Tomcat 4.1.0 nightly build - problem deploying
From: Chris Miller [EMAIL PROTECTED]
 ===
I'm trying to deploy an app on the latest nightly build of Tomcat 4.1.
Several of the WEB-INF/lib/*.jar files are not being deployed, and the error
is the same for each one (shown below). Any ideas what is causing this? I
assume that there's something wrong with the jar file, but I have no idea
what that something is...  What is Tomcat actually doing with the jar file
at this point?

Any help greatly appreciated!

Thanks,
Chris


2002-05-23 14:04:45 WebappLoader[]: Deploy JAR /WEB-INF/lib/oscache.jar to
C:\mydocs\deploy\swebcms\bin\..\webapps\swebcms\WEB-INF\lib\oscache.jar

...

2002-05-23 14:04:45 WebappLoader[]: Reloading checks are enabled for this
Context
2002-05-23 14:04:47 ContextConfig[] Exception processing JAR at resource
path /WEB-INF/lib/oscache.jar
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/oscache.jar
 at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.start(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)
 at org.apache.catalina.core.StandardContext.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardHost.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardEngine.start(Unknown Source)
 at org.apache.catalina.core.StandardService.start(Unknown Source)
 at org.apache.catalina.core.StandardServer.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.execute(Unknown Source)
 at org.apache.catalina.startup.Catalina.process(Unknown Source)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
- Root Cause -
java.io.IOException: The system cannot find the path specified
 at java.io.Win32FileSystem.createFileExclusively(Native Method)
 at java.io.File.checkAndCreate(File.java:1162)
 at java.io.File.createTempFile(File.java:1247)
 at java.io.File.createTempFile(File.java:1284)
 at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:143)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:138)
 at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43)
 at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:81)
 at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88)
 at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:7
2)
 at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.start(Unknown Source)
 at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)
 at org.apache.catalina.core.StandardContext.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardHost.start(Unknown Source)
 at org.apache.catalina.core.ContainerBase.start(Unknown Source)
 at org.apache.catalina.core.StandardEngine.start(Unknown Source)
 at org.apache.catalina.core.StandardService.start(Unknown Source)
 at org.apache.catalina.core.StandardServer.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.start(Unknown Source)
 at org.apache.catalina.startup.Catalina.execute(Unknown Source)
 at org.apache.catalina.startup.Catalina.process(Unknown Source)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Unknown Source)



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Apache 2.0, mod_webapp, Redhat 7.2 build problem

2002-04-25 Thread Ford, Richard

Well, I can't seem to get mod_webapp built under RedHat 7.2. 
I can't build the connector, and I'm not entirely sure why. I'm
using Apache 2.0.35, which builds fine with no errors, and the 
latest snapshot of apr. mod_webapp is from the 4.0.2-01 bundle
of the connectors.

Apache was build with --prefix=/usr/local/apache --enable-so.
For mod_webapp, I tried --with-apache-apxs=/usr/local/apache/bin/apxs
--with-apr= etc. However, I always get an error from libtool:

Compiling and Linking Apache 2.0 WebApp Module
/usr/local/apache2/bin/apxs -I../include -c -L ../lib -lwebapp mod_webapp.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc   
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -I/usr/local/apache2/include -I../include 
 -c -o mod_webapp.lo mod_webapp.c  touch mod_webapp.slo
mod_webapp.c: In function `wam_invoke':
mod_webapp.c:482: warning: initialization discards qualifiers from pointer target type
/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_webapp.la -rpath 
/usr/local/apache2/modules -module -avoid-version -I../include  -L../lib -lwebapp  
mod_webapp.lo

*** Warning: This library needs some functionality provided by -lwebapp.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module mod_webapp.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
make[2]: Leaving directory 
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp/apache-2.0'
make[1]: Exiting directory apache-2.0
make[1]: Leaving directory 
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp'

Of course, no .so gets produced.

I did a search of the archives and couldn't find an answer. libtool is pretty recent:

[root@localhost webapp]# libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)

Any idea what is happening?

Richard

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Apache 2.0, mod_webapp, Redhat 7.2 build problem

2002-04-25 Thread Michael Delamere

Hi,

have a look at the HOWTO produced by Simon.

http://www.pubbitch.org/jboss/

bye Michael Delamere


- Original Message -
From: Ford, Richard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 7:05 PM
Subject: Apache 2.0, mod_webapp, Redhat 7.2 build problem


 Well, I can't seem to get mod_webapp built under RedHat 7.2.
 I can't build the connector, and I'm not entirely sure why. I'm
 using Apache 2.0.35, which builds fine with no errors, and the
 latest snapshot of apr. mod_webapp is from the 4.0.2-01 bundle
 of the connectors.

 Apache was build with --prefix=/usr/local/apache --enable-so.
 For mod_webapp, I tried --with-apache-apxs=/usr/local/apache/bin/apxs
 --with-apr= etc. However, I always get an error from libtool:

 Compiling and Linking Apache 2.0 WebApp Module
 /usr/local/apache2/bin/apxs -I../include -c -L ../lib -lwebapp
mod_webapp.c
 /usr/local/apache2/build/libtool --silent --mode=compile
c   -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=
500 -D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -I/usr/local/apache2/includ
e -I../include  -c -o mod_webapp.lo mod_webapp.c  touch mod_webapp.slo
 mod_webapp.c: In function `wam_invoke':
 mod_webapp.c:482: warning: initialization discards qualifiers from pointer
target type
 /usr/local/apache2/build/libtool --silent --mode=link gcc -o
mod_webapp.la -rpath
/usr/local/apache2/modules -module -avoid-version -I../include  -L../lib -lw
ebapp  mod_webapp.lo

 *** Warning: This library needs some functionality provided by -lwebapp.
 *** I have the capability to make that library automatically link in when
 *** you link to this library.  But I can only do this if you have a
 *** shared version of the library, which you do not appear to have.

 *** Warning: libtool could not satisfy all declared inter-library
 *** dependencies of module mod_webapp.  Therefore, libtool will create
 *** a static module, that should work as long as the dlopening
 *** application is linked with the -dlopen flag.
 make[2]: Leaving directory
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp/apache-2
.0'
 make[1]: Exiting directory apache-2.0
 make[1]: Leaving directory
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp'

 Of course, no .so gets produced.

 I did a search of the archives and couldn't find an answer. libtool is
pretty recent:

 [root@localhost webapp]# libtool --version
 ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)

 Any idea what is happening?

 Richard

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Apache 2.0, mod_webapp, Redhat 7.2 build problem

2002-04-25 Thread Jeffrey Bonevich

Ford, Richard wrote:

 Well, I can't seem to get mod_webapp built under RedHat 7.2. 
 I can't build the connector, and I'm not entirely sure why. I'm
 using Apache 2.0.35, which builds fine with no errors, and the 
 latest snapshot of apr. mod_webapp is from the 4.0.2-01 bundle
 of the connectors.
 
 Apache was build with --prefix=/usr/local/apache --enable-so.
 For mod_webapp, I tried --with-apache-apxs=/usr/local/apache/bin/apxs
 --with-apr= etc. However, I always get an error from libtool:
 
 Compiling and Linking Apache 2.0 WebApp Module
 /usr/local/apache2/bin/apxs -I../include -c -L ../lib -lwebapp mod_webapp.c
 /usr/local/apache2/build/libtool --silent --mode=compile gcc   
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -I/usr/local/apache2/include 
-I../include  -c -o mod_webapp.lo mod_webapp.c  touch mod_webapp.slo
 mod_webapp.c: In function `wam_invoke':
 mod_webapp.c:482: warning: initialization discards qualifiers from pointer target 
type
 /usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_webapp.la -rpath 
/usr/local/apache2/modules -module -avoid-version -I../include  -L../lib -lwebapp  
mod_webapp.lo
 
 *** Warning: This library needs some functionality provided by -lwebapp.
 *** I have the capability to make that library automatically link in when
 *** you link to this library.  But I can only do this if you have a
 *** shared version of the library, which you do not appear to have.
 
 *** Warning: libtool could not satisfy all declared inter-library
 *** dependencies of module mod_webapp.  Therefore, libtool will create
 *** a static module, that should work as long as the dlopening
 *** application is linked with the -dlopen flag.
 make[2]: Leaving directory 
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp/apache-2.0'
 make[1]: Exiting directory apache-2.0
 make[1]: Leaving directory 
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp'
 
 Of course, no .so gets produced.
 
 I did a search of the archives and couldn't find an answer. libtool is pretty recent:


Obviously not very deep a search.  There is a *ton* of postings from the 
last two weeks covering this issue.  The short of it is: Go here and 
follow the instructions, it works.

http://www.pubbitch.org/jboss.html


 
 [root@localhost webapp]# libtool --version
 ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
 
 Any idea what is happening?
 
 Richard
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 


-- 
Jeffrey Bonevich
Ann Arbor, Michigan
[EMAIL PROTECTED]
http://www.bonevich.com

Hwæt! Wë Gär-Dena   in geär-dagum,
peod-cyninga,   prym gefrünon,
hü ða aepelingas   ellen fremedon!


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Apache 2.0, mod_webapp, Redhat 7.2 build problem

2002-04-25 Thread Ford, Richard

 Obviously not very deep a search.  There is a *ton* of 
 postings from the 
 last two weeks covering this issue.  The short of it is: Go here and 
 follow the instructions, it works.
 
 http://www.pubbitch.org/jboss.html

Heh. Type mod_webapp in the search engine and see what gets returned :)

Richard

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Apache 2.0, mod_webapp, Redhat 7.2 build problem

2002-04-25 Thread Ford, Richard

 Hi,
 
 have a look at the HOWTO produced by Simon.
 
 http://www.pubbitch.org/jboss/

This is great, thanks!

Richard

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Apache 2.0, mod_webapp, Redhat 7.2 build problem

2002-04-25 Thread Simon Stewart

The build process is buggy. This is something that has been discussed
a lot recently, and there's a HOWTO that I've knocked up from my own
experiences and those on the list. Take a look at
http://www.pubbitch.org/jboss/ for the document.

HTH!

Cheers,

Simon

-- 
You know, I've gone to a lot of psychics, and they've told me a lot of different 
things, but
 not one of them has ever told me 'You are an undercover policewoman here to arrest 
me.'
--- anonymous New York City undercover policewoman

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp build problem

2002-04-09 Thread Srinidhi H.

Hello,

I am trying to build mod_webapp module on hp-ux platform and getting the
following error while running configure script of this module.
I ran the following command after building libtool and placing it in current
path.

#./configure --with-apxs=/opt/apache1322/bin/apxs
Building APR configure script
  Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr
APR buildconf: buildconf: checking installation...
APR buildconf: buildconf: autoconf not found.
APR buildconf: You need autoconf version 2.13 or newer installed
APR buildconf: to build Apache from CVS.
  Execution of ./buildconf returned 1
configure: error: APR buildconf terminated with error code 1


Can any one help me out to over come the above mentioned error.

Regards,
Srinidhi


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp build problem

2002-04-09 Thread Jean-Luc BEAUDET

Srinidhi H. a écrit :

 Hello,

 I am trying to build mod_webapp module on hp-ux platform and getting the
 following error while running configure script of this module.
 I ran the following command after building libtool and placing it in current
 path.

 #./configure --with-apxs=/opt/apache1322/bin/apxs
 Building APR configure script
   Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr
 APR buildconf: buildconf: checking installation...
 APR buildconf: buildconf: autoconf not found.
 APR buildconf: You need autoconf version 2.13 or newer installed
 APR buildconf: to build Apache from CVS.
   Execution of ./buildconf returned 1
 configure: error: APR buildconf terminated with error code 1

 Can any one help me out to over come the above mentioned error.

 Regards,
 Srinidhi

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Well i had the same pb on SOLARIS 8 after i made some modifications...

I was workin' under root, to have my installations achieved, and obviously with
/bin/sh shell...

As i like the completion and other stuff, i used the ENV=$HOME/.kshrc; export
ENV features to get some
special features when enter an exec ksh.

In this .kshrc i had an echo New Shell : $0, just to know where i am.

I tried then to have my mod_webapp compiled and had the error yu mentionned.

I investigated:

When yu launch the webapp/support/buildconf.sh

if [ -f ./apr/buildconf ]
then
echo --- Running the \buildconf\ script for APR
( cd ./apr
sh ./buildconf
)

The script looks for webapp/apr/buildconf and if true, generates a child
process () and executes a sh ./buildconf

The first thing is done is to make an sh of apr/biuld/biuldconf.sh

and in this third fiel yu have :
ac_version=`autoconf --version 2/dev/null|head -1|sed -e 's/^[^0-9]*//' -e
's/[a-z]* *$//'`

The head -1 says to bind the sed to the first line of the `autoconf
--version`
In My case, the first line was the echoed cmd of my .kshrc file, cause i was
under ksh !

ksh# New Shell -ksh
autoconf (GNU Autoconf) 2.52
Written by David J. MacKenzie.

So try to trace this file and yu'll get it !

The best has to be to stay under /bin/sh

Hope this help,

JLB :O)




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: mod_webapp build problem

2002-04-09 Thread Schulze Christian

I had the same Problem.

I'll forward you the answer which helped me ...


Hi Christian,

Sorry it tool so long to reply.

Yes I have installed mod_webapp correctly.

The biggest problem is the fact that hp-ux
does not keep zero length string in the shell memory.  the configure script
script however perform a number of tests on string throughout the script.
By using a couple dozen echo statements the only place I found that I needed
to override the logic was near the bottom

your configure script should have something like this around line 2000 or so

if ${TEST} -z ${MODULE}
then
  echo $ac_terror 16
  { echo configure: error: No target module specified 12; exit 1; }
fi
echo $ac_t${MODULE} 16
CFGFILES=${CFGFILES} ./${MODULE}/Makefile

if ${TEST}  -z ${APR_VARFIL}

at least for me, at this point APR_VARFIL should not contain a value so I
change the if logic to 


if ${TEST} -z ${MODULE}
then
  echo $ac_terror 16
  { echo configure: error: No target module specified 12; exit 1; }
fi
echo $ac_t${MODULE} 16
CFGFILES=${CFGFILES} ./${MODULE}/Makefile

APR_VARFIL=I am really empty

echo I have $MODULE and am using the hardcoded value for APR_VARFIL 
if ${TEST}  -n ${APR_VARFIL}

The script will work.

you may have to make a change in the make file as well


somewhere along the line $(MFLG) gets set to b
which my make has trouble deal with

so in Makefile

change

template:
@ { \
$(ECHO)  ; \
$(MECHO) Entering directory \$(MDIR)\ ; \
cd $(MDIR) ; \
$(MECHO) Invoking \$(MAKE) $(MFLG) $(MTGT)\ ; \
$(MAKE) $(MFLG) $(MTGT); \
RET=$$? ; \
$(MECHO) Exiting directory \$(MDIR)\ ; \
cd $(SRCDIR) ; \
if test $${RET} != 0 ; then \
exit $${RET} ; \
fi ; \
}

to 

template:
@ { \
$(ECHO)  ; \
$(MECHO) Entering directory \$(MDIR)\ ; \
cd $(MDIR) ; \
$(MECHO) Invoking \$(MAKE) $(MTGT)\ ; \
$(MAKE) $(MTGT); \
RET=$$? ; \
$(MECHO) Exiting directory \$(MDIR)\ ; \
cd $(SRCDIR) ; \
if test $${RET} != 0 ; then \
exit $${RET} ; \
fi ; \
}


Let me know if you have any problems
I can send you my mod_webapp.so file

Jeffrey Peloquin



 -Ursprüngliche Nachricht-
 Von: Srinidhi H. [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 9. April 2002 14:51
 An: Tomcat-User (E-mail)
 Betreff: mod_webapp build problem
 
 
 Hello,
 
 I am trying to build mod_webapp module on hp-ux platform and 
 getting the
 following error while running configure script of this module.
 I ran the following command after building libtool and 
 placing it in current
 path.
 
 #./configure --with-apxs=/opt/apache1322/bin/apxs
 Building APR configure script
   Invoking: ./buildconf in 
 /opt/apache1322/webapp-module-1.0-tc40/apr
 APR buildconf: buildconf: checking installation...
 APR buildconf: buildconf: autoconf not found.
 APR buildconf: You need autoconf version 2.13 or newer installed
 APR buildconf: to build Apache from CVS.
   Execution of ./buildconf returned 1
 configure: error: APR buildconf terminated with error code 1
 
 
 Can any one help me out to over come the above mentioned error.
 
 Regards,
 Srinidhi
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: mod_webapp build problem

2002-04-09 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)

Depending on how your system is set up you will also need
the gnu tools 
autoconf
m4
libtool

and if you go on to use APACHE SSL you will need
flex

HP has depots for autoconf and m4 at
http://hpdrdev.fc.hp.com/OpenSource/Tools/autoconf/autoconf.html

http://hpdrdev.fc.hp.com/OpenSource/Tools/m4/m4.html


libtool and flex as well as autoconf and m4 can be obtained at 
http://www.gnu.org/ as tar files.



Below in the message from Christian, I make mention of a problem with the
letter b making it into the build commands.

I have not had a chance to check but I think it is from this line in the
apache/bin/apxs script 

my $CFG_LDFLAGS_SHLIB = q(-b); # substituted via Makefile.tmpl

I would guess removinf the -b would fix the make problem


Also, one person I know of, has encounted a number of syntax errors with the
make scripts generated by the mod-webapp configure scripts.

This appears to be a system specific issue, as he gets the same problem when
I send him a tar of my src directory.

good luck
Jeff Peloquin

-Original Message-
From: Schulze Christian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 7:20 AM
To: 'Tomcat Users List'
Subject: AW: mod_webapp build problem


I had the same Problem.

I'll forward you the answer which helped me ...


Hi Christian,

Sorry it tool so long to reply.

Yes I have installed mod_webapp correctly.

The biggest problem is the fact that hp-ux
does not keep zero length string in the shell memory.  the configure script
script however perform a number of tests on string throughout the script.
By using a couple dozen echo statements the only place I found that I needed
to override the logic was near the bottom

your configure script should have something like this around line 2000 or so

if ${TEST} -z ${MODULE}
then
  echo $ac_terror 16
  { echo configure: error: No target module specified 12; exit 1; }
fi
echo $ac_t${MODULE} 16
CFGFILES=${CFGFILES} ./${MODULE}/Makefile

if ${TEST}  -z ${APR_VARFIL}

at least for me, at this point APR_VARFIL should not contain a value so I
change the if logic to 


if ${TEST} -z ${MODULE}
then
  echo $ac_terror 16
  { echo configure: error: No target module specified 12; exit 1; }
fi
echo $ac_t${MODULE} 16
CFGFILES=${CFGFILES} ./${MODULE}/Makefile

APR_VARFIL=I am really empty

echo I have $MODULE and am using the hardcoded value for APR_VARFIL 
if ${TEST}  -n ${APR_VARFIL}

The script will work.

you may have to make a change in the make file as well


somewhere along the line $(MFLG) gets set to b
which my make has trouble deal with

so in Makefile

change

template:
@ { \
$(ECHO)  ; \
$(MECHO) Entering directory \$(MDIR)\ ; \
cd $(MDIR) ; \
$(MECHO) Invoking \$(MAKE) $(MFLG) $(MTGT)\ ; \
$(MAKE) $(MFLG) $(MTGT); \
RET=$$? ; \
$(MECHO) Exiting directory \$(MDIR)\ ; \
cd $(SRCDIR) ; \
if test $${RET} != 0 ; then \
exit $${RET} ; \
fi ; \
}

to 

template:
@ { \
$(ECHO)  ; \
$(MECHO) Entering directory \$(MDIR)\ ; \
cd $(MDIR) ; \
$(MECHO) Invoking \$(MAKE) $(MTGT)\ ; \
$(MAKE) $(MTGT); \
RET=$$? ; \
$(MECHO) Exiting directory \$(MDIR)\ ; \
cd $(SRCDIR) ; \
if test $${RET} != 0 ; then \
exit $${RET} ; \
fi ; \
}


Let me know if you have any problems
I can send you my mod_webapp.so file

Jeffrey Peloquin



 -Ursprüngliche Nachricht-
 Von: Srinidhi H. [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 9. April 2002 14:51
 An: Tomcat-User (E-mail)
 Betreff: mod_webapp build problem
 
 
 Hello,
 
 I am trying to build mod_webapp module on hp-ux platform and 
 getting the
 following error while running configure script of this module.
 I ran the following command after building libtool and 
 placing it in current
 path.
 
 #./configure --with-apxs=/opt/apache1322/bin/apxs
 Building APR configure script
   Invoking: ./buildconf in 
 /opt/apache1322/webapp-module-1.0-tc40/apr
 APR buildconf: buildconf: checking installation...
 APR buildconf: buildconf: autoconf not found.
 APR buildconf: You need autoconf version 2.13 or newer installed
 APR buildconf: to build Apache from CVS.
   Execution of ./buildconf returned 1
 configure: error: APR buildconf terminated with error code 1
 
 
 Can any one help me out to over come the above mentioned error.
 
 Regards,
 Srinidhi
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp build problem

2002-01-11 Thread Cavan Morris

Hey Everybody,
I'm having trouble building mod_webapp.so v1.0.1 on my redhat 7.2 system.  Possibly 
because my libtool is version 1.4 instead of 1.3something.  There is a binary copy of 
mod_webapp v1.0 at the Jakarta site but only source for v1.0.1.  Does anybody know 
were I can get a binary of v1.0.1?  I'm looking for one for both apache 1.3.22 and 
2.0.28.
It seems to me that these would be good things to have in the binaries dir on the 
Jakarta site.  Are there any plans to add these in the future?

Any information would be helpful. Thanks.
-Cavan Morris


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




[TC4] Tomcat Build Problem!!

2001-09-24 Thread Moin Anjum H

Hi,

  I have installed TC 4.0 with complete source in my Win2k machine.
Working very well. I have downloaded Jakarta-ant 1.3. (Compiled on March
2 2001) If i try to build tomcat i get the following error

D:\Program Files\Apache Tomcat 4.0\src\catalina\build.xml:94: Class
org.apache.t
ools.ant.taskdefs.FixCRLF doesn't support the eol attribute

Can anybody tell me if i am missing some thing to build.

Thanks for your time

Best Regards
Moin.




Re: [TC4] Tomcat Build Problem!!

2001-09-24 Thread Jochen Schwoerer

Hello Moin,

Monday, September 24, 2001, 8:31:23 AM, you wrote:

MAH Hi,

MAH   I have installed TC 4.0 with complete source in my Win2k machine.
MAH Working very well. I have downloaded Jakarta-ant 1.3. (Compiled on March
MAH 2 2001) If i try to build tomcat i get the following error

MAH D:\Program Files\Apache Tomcat 4.0\src\catalina\build.xml:94: Class
MAH org.apache.t
MAH ools.ant.taskdefs.FixCRLF doesn't support the eol attribute

MAH Can anybody tell me if i am missing some thing to build.

MAH Thanks for your time

have a look into building.txt. there is the following note:

quote
NOTE: Previous versions of Tomcat 4.0 relied on Ant 1.3 for the build
process. The 1.4 release is now required.
/quote

you have just to follow the instructions in this file and everything
will be good...


MAH Best Regards
MAH Moin.



-- 
Best regards,
 Jochenmailto:[EMAIL PROTECTED]




Re: mod_webapp build problem (Related to earlier mapping problemquestion)

2001-09-06 Thread Pier Fumagalli

Jim Handwerk [EMAIL PROTECTED] wrote:

 I managed to find an earlier missive in the archives about the problem I was
 having and Pier responded that there was a patch for the source.
 Whether this works or not, I'm still trying to find out.  I can't seem to
 build the module with the instructions in the readme for the WebApp library.
 
 System info:  RH7.1, Apache 1.3.20, downloaded binary from apache.org,
 Tomcat4.0b7
 
 CVS downloads seem to be ok (and the latest include the patch mentioned --
 which is not in 4b7 src dist)
 buildconf.sh appears to run ok as well.
 When I run:
 
   ./configure --with-apxs
 
 things fall apart.
 
 End of the checking list returned looks like this:
 
   checking Tomcat 4.0 directory... not required
   checking for apxs... /usr/local/apache/bin/apxs
   checking if apxs is working... ./configure: /usr/local/apache/bin/apxs:
 No such file or directory
   no
   configure: error: apxs is unworkable
 
 Any help would be greatly appreciated.

Aha... I finally found the source of all great problems... It's the binary
distribution from Apache.ORG which seems to include a non-working APXS...

I'll dig into it... Stay tuned...

Pier




mod_webapp build problem (Related to earlier mapping problem question)

2001-09-05 Thread Jim Handwerk

I managed to find an earlier missive in the archives about the problem I was
having and Pier responded that there was a patch for the source.
Whether this works or not, I'm still trying to find out.  I can't seem to
build the module with the instructions in the readme for the WebApp library.

System info:  RH7.1, Apache 1.3.20, downloaded binary from apache.org,
Tomcat4.0b7

CVS downloads seem to be ok (and the latest include the patch mentioned --
which is not in 4b7 src dist)
buildconf.sh appears to run ok as well.
When I run:

./configure --with-apxs

things fall apart.

End of the checking list returned looks like this:

checking Tomcat 4.0 directory... not required
checking for apxs... /usr/local/apache/bin/apxs
checking if apxs is working... ./configure: /usr/local/apache/bin/apxs:
No such file or directory
no
configure: error: apxs is unworkable

Any help would be greatly appreciated.

Thanks,
Jim Handwerk





[fixed] Re: [t4] build problem

2001-08-14 Thread Mykola A. Nickishov

Thnx, Martin. I run 'cvs update' after deleting wrong files.

Martin van den Bemt [EMAIL PROTECTED] writes:

 go inside eg the jakarta-tomcat-4.0 and do a cvs -q update -d and see which
 files have problems. (this only shows the files that need updating or are
 modified locally).

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE



RE: [t4] build problem

2001-08-13 Thread Martin van den Bemt

The only thing I can think of that you don't use the latest servleta - api.
As far as I understood a couple of weeks ago there was an update to that.
Not much to go on though ;-(

Mvgr,
Martin

 -Original Message-
 From: Mykola A. Nickishov [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, August 12, 2001 9:56 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [t4] build problem


 Martin van den Bemt [EMAIL PROTECTED] writes:

  go inside eg the jakarta-tomcat-4.0 and do a cvs -q update -d
 and see which
  files have problems. (this only shows the files that need
 updating or are
  modified locally).

 There were no problems with any file :( Any ideas?

 --
 ICQ #83060237
 MAN-UANIC NIK6-RIPE





Re: [t4] build problem

2001-08-12 Thread Mykola A. Nickishov

Martin van den Bemt [EMAIL PROTECTED] writes:

 go inside eg the jakarta-tomcat-4.0 and do a cvs -q update -d and see which
 files have problems. (this only shows the files that need updating or are
 modified locally).

There were no problems with any file :( Any ideas?

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE



openbsd and mod_jk.so build problem

2001-05-26 Thread joan

hey,
I tried to build mod_jk.so on openbsd but I failed...
My environment is as follows:
  * OpenBSD 2.8 Current/ i386
  * JDK 1.1.8 (built from ports)
  * Tomcat 3.2.1

I used from 
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3

root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include 
-I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include 
-I../jk mod_jk.c ../jk/*.c

and the output was:
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c mod_jk.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
../jk/jk_jni_worker.c:764: warning:
#warning ---
../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR
JAVA 2 FEATURES DISABLED
../jk/jk_jni_worker.c:766: warning:
#warning ---
../jk/jk_jni_worker.c: In function `load_jvm_dll':
../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
function)
../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only once
../jk/jk_jni_worker.c:724: for each function it appears in.)
../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
function)
apxs:Break: Command failed with rc=65536
root@localhost#

I searched all the mailing list but I did not found the solution...
Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good 
response was replied...

On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
The shell script with tomcat-3.2.1 is buggy on freebsd but works well on 
linux.
So I used the apxs command that fails for openbsd and that is described at 
the beginning of the message

So, is there anyone who succesfully built mod_jk.so on openbsd?
Please help me...

Thanks




Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Jack Lauman

I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
jni_md.h.  I put them in /usr/include and the problem went away.

Hope it helps,

Jack

joan wrote:
 
 hey,
 I tried to build mod_jk.so on openbsd but I failed...
 My environment is as follows:
   * OpenBSD 2.8 Current/ i386
   * JDK 1.1.8 (built from ports)
   * Tomcat 3.2.1
 
 I used from
 /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
 
 root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include
 -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include
 -I../jk mod_jk.c ../jk/*.c
 
 and the output was:
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c mod_jk.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
 ../jk/jk_jni_worker.c:764: warning:
 #warning ---
 ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR
 JAVA 2 FEATURES DISABLED
 ../jk/jk_jni_worker.c:766: warning:
 #warning ---
 ../jk/jk_jni_worker.c: In function `load_jvm_dll':
 ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
 function)
 ../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only once
 ../jk/jk_jni_worker.c:724: for each function it appears in.)
 ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
 function)
 apxs:Break: Command failed with rc=65536
 root@localhost#
 
 I searched all the mailing list but I did not found the solution...
 Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good
 response was replied...
 
 On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
 The shell script with tomcat-3.2.1 is buggy on freebsd but works well on
 linux.
 So I used the apxs command that fails for openbsd and that is described at
 the beginning of the message
 
 So, is there anyone who succesfully built mod_jk.so on openbsd?
 Please help me...
 
 Thanks



Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Joan

Well, I made a symlink of these files to /usr/include and tried to build 
again as described in the previous mail but the result was the same...
Thank you Jack but it isn't the solution with my environment.

Do you think I can do this with JDK 1.3.1rc2?
what is the command you used with apxs?
Is you mod_jk.so working on a openbsd platform?

Or is anyone another idea?

Le Samedi 26 Mai 2001 18:17, vous avez écrit :
 I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
 jni_md.h.  I put them in /usr/include and the problem went away.

 Hope it helps,

 Jack

 joan wrote:
  hey,
  I tried to build mod_jk.so on openbsd but I failed...
  My environment is as follows:
* OpenBSD 2.8 Current/ i386
* JDK 1.1.8 (built from ports)
* Tomcat 3.2.1
 
  I used from
  /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
 
  root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include
  -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include
  -I../jk mod_jk.c ../jk/*.c
 
  and the output was:
  cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
  -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
  -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
  -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c mod_jk.c
  cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
  -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
  -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
  -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
  cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
  -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
  -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
  -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
  cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
  -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
  -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
  -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
  cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
  -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
  -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
  -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
  cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
  -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
  -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
  -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
  ../jk/jk_jni_worker.c:764: warning:
  #warning ---
  ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT
  FOR JAVA 2 FEATURES DISABLED
  ../jk/jk_jni_worker.c:766: warning:
  #warning ---
  ../jk/jk_jni_worker.c: In function `load_jvm_dll':
  ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
  function)
  ../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only
  once ../jk/jk_jni_worker.c:724: for each function it appears in.)
  ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
  function)
  apxs:Break: Command failed with rc=65536
  root@localhost#
 
  I searched all the mailing list but I did not found the solution...
  Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good
  response was replied...
 
  On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
  The shell script with tomcat-3.2.1 is buggy on freebsd but works well on
  linux.
  So I used the apxs command that fails for openbsd and that is described
  at the beginning of the message
 
  So, is there anyone who succesfully built mod_jk.so on openbsd?
  Please help me...
 
  Thanks



Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Jeff Waugh

These constants are defined in /usr/include/dlfcn.h (or something included
from there).
They are also defined in $APACHE_HOME/include/os.h

You definitely need them to build a shared library.

-Jeff

- Original Message -
From: Joan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 26, 2001 7:34 PM
Subject: Re: openbsd and mod_jk.so build problem


 Well, I made a symlink of these files to /usr/include and tried to build
 again as described in the previous mail but the result was the same...
 Thank you Jack but it isn't the solution with my environment.

 Do you think I can do this with JDK 1.3.1rc2?
 what is the command you used with apxs?
 Is you mod_jk.so working on a openbsd platform?

 Or is anyone another idea?

 Le Samedi 26 Mai 2001 18:17, vous avez écrit :
  I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
  jni_md.h.  I put them in /usr/include and the problem went away.
 
  Hope it helps,
 
  Jack
 
  joan wrote:
   hey,
   I tried to build mod_jk.so on openbsd but I failed...
   My environment is as follows:
 * OpenBSD 2.8 Current/ i386
 * JDK 1.1.8 (built from ports)
 * Tomcat 3.2.1
  
   I used from
   /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
  
   root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include
 
 -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include
   -I../jk mod_jk.c ../jk/*.c
  
   and the output was:
   cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
   -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
   -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
   -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c mod_jk.c
   cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
   -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
   -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
   -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c
../jk/jk_ajp12_worker.c
   cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
   -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
   -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
   -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
   cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
   -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
   -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
   -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c
../jk/jk_ajp13_worker.c
   cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
   -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
   -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
   -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
   cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
   -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
   -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
   -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
   ../jk/jk_jni_worker.c:764: warning:
   #warning ---
   ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS!
SUPPORT
   FOR JAVA 2 FEATURES DISABLED
   ../jk/jk_jni_worker.c:766: warning:
   #warning ---
   ../jk/jk_jni_worker.c: In function `load_jvm_dll':
   ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
   function)
   ../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported
only
   once ../jk/jk_jni_worker.c:724: for each function it appears in.)
   ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
   function)
   apxs:Break: Command failed with rc=65536
   root@localhost#
  
   I searched all the mailing list but I did not found the solution...
   Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good
   response was replied...
  
   On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
   The shell script with tomcat-3.2.1 is buggy on freebsd but works well
on
   linux.
   So I used the apxs command that fails for openbsd and that is
described
   at the beginning of the message
  
   So, is there anyone who succesfully built mod_jk.so on openbsd?
   Please help me...
  
   Thanks





Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Joan
 */





and here my dlfcn.h located to /usr/include:




/*  $OpenBSD: dlfcn.h,v 1.3 1999/12/09 18:10:23 espie Exp $ */
/*  $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */

/*
 * Copyright (c) 1995 Paul Kranenburg
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *notice, this list of conditions and the following disclaimer in the
 *documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *must display the following acknowledgement:
 *  This product includes software developed by Paul Kranenburg.
 * 4. The name of the author may not be used to endorse or promote products
 *derived from this software withough specific prior written permission
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef _DLFCN_H_
#define _DLFCN_H_

#include sys/cdefs.h

/*
 * User interface to the run-time linker.
 */
__BEGIN_DECLS
extern void *dlopen __P((const char *, int));
extern int  dlclose __P((void *));
extern void *dlsym __P((void *, const char *));
extern int  dlctl __P((void *, int, void *));
extern char *dlerror __P((void));
__END_DECLS

/* Values for dlopen `mode'. */
#define DL_LAZY 1
#define RTLD_LAZY   DL_LAZY /* SunOS Compat */

/*
 * dlctl() commands
 */
#define DL_GETERRNO 1
#define DL_SETSRCHPATH  x
#define DL_GETLIST  x
#define DL_GETREFCNTx
#define DL_GETLOADADDR  x

#endif /* _DLFCN_H_ */



--
Do you see something wrong?
thank you for your help Jeff...

Or is anyone another idea?
---




Le Samedi 26 Mai 2001 20:14, vous avez écrit :
 These constants are defined in /usr/include/dlfcn.h (or something included
 from there).
 They are also defined in $APACHE_HOME/include/os.h

 You definitely need them to build a shared library.

 -Jeff

 - Original Message -
 From: Joan [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, May 26, 2001 7:34 PM
 Subject: Re: openbsd and mod_jk.so build problem

  Well, I made a symlink of these files to /usr/include and tried to build
  again as described in the previous mail but the result was the same...
  Thank you Jack but it isn't the solution with my environment.
 
  Do you think I can do this with JDK 1.3.1rc2?
  what is the command you used with apxs?
  Is you mod_jk.so working on a openbsd platform?
 
  Or is anyone another idea?
 
  Le Samedi 26 Mai 2001 18:17, vous avez écrit :
   I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
   jni_md.h.  I put them in /usr/include and the problem went away.
  
   Hope it helps,
  
   Jack
  
   joan wrote:
hey,
I tried to build mod_jk.so on openbsd but I failed...
My environment is as follows:
  * OpenBSD 2.8 Current/ i386
  * JDK 1.1.8 (built from ports)
  * Tomcat 3.2.1
   
I used from
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
   
root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include
 
  -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include
 
-I../jk mod_jk.c ../jk/*.c
   
and the output was:
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
-I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
-I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
-I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c mod_jk.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
-I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
-I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
-I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c

 ../jk/jk_ajp12_worker.c

cc

RE: mod_jk: build problem OpenBSD 2.8

2001-02-07 Thread Palumbo, Mark

I don't know if this helps but on my system, the #define your compile is
failing on, is located in:

/usr/include/dlfcn.h

This appears to be the header file associated with the dynamic-loader
library (libdl.a), notice this header file is included at the top of the
jk_jni_worker.c...again I don't know if this is helpful...



 -Original Message-
 From: Tobias Oberstein [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 06, 2001 5:30 PM
 To: [EMAIL PROTECTED]
 Subject: mod_jk: build problem OpenBSD 2.8
 
 
 Hi there,
 
 I'm having a hard time trying to get the mod_jk.so properly built.
 My environment is as follows:
 
   * OpenBSD 2.8 Rel. / i386
   * JDK 1.1.8 (actually, the FreeBSD port of SUNs JDK)
 
 
 Please help - after reading through all the dox and mailing 
 lists I'm still
 lost.
 
 My only guess is, that I need to get the IBM compilers, as 
 the problem seems
 to be related to JNI ??
 
 Greets,
 Toby
 
 
 PROBLEM DESCRIPTION
 
 
 I'm executing the following from
 
 /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
 
 /usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include 
 -I/usr/local/jdk1.1.8/includ
 e/freebsd -DFREEBSD -I/usr/lib/apache/include -I../jk 
 mod_jk.c ../jk/*.c
 
 
 The Output is as follows ..
 
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
 -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
 -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
 -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c mod_jk.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
 -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
 -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
 -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
 -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
 -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
 -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
 -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
 -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
 -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
 -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
 -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
 -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
 cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
 -DUSE_EXPAT -I../li
 b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
 -I/usr/local/jd
 k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
 -I/usr/lib/apache/inclu
 de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
 ../jk/jk_jni_worker.c:764: warning:
 #warning ---
 ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 
 HEADERS! SUPPORT FOR
 JAVA 2 FEATURES DISABLED
 ../jk/jk_jni_worker.c:766: warning:
 #warning ---
 ../jk/jk_jni_worker.c: In function `load_jvm_dll':
 ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
 function)
 ../jk/jk_jni_worker.c:724: (Each undeclared identifier is 
 reported only once
 ../jk/jk_jni_worker.c:724: for each function it appears in.)
 ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
 function)
 apxs:Break: Command failed with rc=65536
 root:mabuse #
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




mod_jk: build problem OpenBSD 2.8

2001-02-05 Thread Tobias Oberstein

Hi there,

I'm having a hard time trying to get the mod_jk.so properly built.
My environment is as follows:

  * OpenBSD 2.8 Rel. / i386
  * JDK 1.1.8 (actually, the FreeBSD port of SUNs JDK)


Please help - after reading through all the dox and mailing lists I'm still
lost.

My only guess is, that I need to get the IBM compilers, as the problem seems
to be related to JNI ??

Greets,
Toby


PROBLEM DESCRIPTION


I'm executing the following from

/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3

/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include -I/usr/local/jdk1.1.8/includ
e/freebsd -DFREEBSD -I/usr/lib/apache/include -I../jk mod_jk.c ../jk/*.c


The Output is as follows ..

cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c mod_jk.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
../jk/jk_jni_worker.c:764: warning:
#warning ---
../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR
JAVA 2 FEATURES DISABLED
../jk/jk_jni_worker.c:766: warning:
#warning ---
../jk/jk_jni_worker.c: In function `load_jvm_dll':
../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
function)
../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only once
../jk/jk_jni_worker.c:724: for each function it appears in.)
../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
function)
apxs:Break: Command failed with rc=65536
root:mabuse #


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat Build Problem on Solaris

2000-12-12 Thread Kief Morris

Stephen F. Kispersky typed the following on 11:55 11/12/2000 -0800
- In the README, "servletapi" is referenced, but it is not to be found on the
  Tomcat site that I could see. I tried substituting the JSAPI classes on
  Sun site (version 2.2).

If you go to http://jakarta.apache.org/builds/tomcat/release/v3.2/src/,
you should see jakarta-servletapi-3.2-src.tar.gz.

- After untaring the Tomcat source, I found the shell scripts to be lacking
  the executable file mode, and also had to translate them to Unix file
  format before they would run!

Hmm, I just downloaded a fresh copy of the 3.2 final source. build.sh has
its bits set properly, and line endings are Unix-style. Just for reference,
my jakarta-tomcat-3.2-src.tar is 6,256,640 bytes - double check yours,
maybe you should d/l it again.

I'm running TC 3.2 on Solaris 7 also, so let me know if you have problems.

Kief

---
  bitBull makes the Internet bite: http://www.bitBull.com/demos/




Tomcat Build Problem on Solaris

2000-12-11 Thread Stephen F. Kispersky




Dear Tomcatters,

I tried to update my Apache/JServ installation to Tomcat, and had some
problems. Could you please comment??

Thanks,

Steve Kispersky



Environment:

- Solaris 7, SPARC Ultra 5
- Tomcat 3.2 source
- Apache 1.3.12

Problems:

- In the README, "servletapi" is referenced, but it is not to be found on the
  Tomcat site that I could see. I tried substituting the JSAPI classes on
  Sun site (version 2.2).

- After untaring the Tomcat source, I found the shell scripts to be lacking
  the executable file mode, and also had to translate them to Unix file
  format before they would run!

- My build came up with compile errors (see listing below)


Build Listing:

# ./build.sh
Searching for build.xml ...
Buildfile: /usr/local/jakarta/jakarta-tomcat-3.2-src/build.xml

prepare:

tomcat:
[javac] Compiling 26 source files to /usr/local/jakarta/build/tomcat/classes
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/compiler/JspCompiler.java:136:
 Method getClassName(java.lang.String) not found in class 
org.apache.jasper.compiler.ClassName.
[javac] realClassName = ClassName.getClassName( getClassFileName() );
[javac]   ^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/compiler/JspCompiler.java:137:
 Exception org.apache.jasper.JasperException is never thrown in the body of the 
corresponding try statement.
[javac] } catch( JasperException ex) {
[javac]   ^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/compiler/JspParseEventListener.java:867:
 Wrong number of arguments in constructor.
[javac] = new GeneratorWrapper(new ForwardGenerator(start, attrs, 
param),
[javac]^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/compiler/JspParseEventListener.java:877:
 Wrong number of arguments in constructor.
[javac] = new GeneratorWrapper(new IncludeGenerator(start, attrs, 
param),
[javac]^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/servlet/JspServlet.java:462:
 Method compile() not found in class org.apache.jasper.compiler.Compiler.
[javac] outDated = compiler.compile();
[javac]^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/servlet/JspServlet.java:467:
 Method compile() not found in class org.apache.jasper.compiler.Compiler.
[javac] outDated = compiler.compile();
[javac]^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/servlet/JspServlet.java:471:
 Exception java.io.FileNotFoundException is never thrown in the body of the 
corresponding try statement.
[javac] } catch (FileNotFoundException ex) {
[javac]   ^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/servlet/JspServlet.java:473:
 Exception org.apache.jasper.JasperException is never thrown in the body of the 
corresponding try statement.
[javac] } catch (JasperException ex) {
[javac]   ^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/jasper/JspC.java:367: 
Method compile() not found in class org.apache.jasper.compiler.CommandLineCompiler.
[javac] clc.compile();
[javac]^
[javac] 
/usr/local/jakarta/jakarta-tomcat-3.2-src/src/share/org/apache/tomcat/request/JspInterceptor.java:205:
 Method compile() not found in class org.apache.jasper.compiler.Compiler.
[javac] compiler.compile();
[javac] ^
[javac] Note: 3 files use or override a deprecated API.  Recompile with 
"-deprecation" for details.
[javac] 10 errors, 1 warning

BUILD FAILED