Tomcat Binary 4.1.12
W2K
Cygwin
I have our WAR that runs peachy in 3.2, and I'm trying to get it to work in
4.1.
I downloaded the binary.
Extracted it.
Copy our WAR into $CATALINA_HOME/webapps
cd $CATALINA_HOME/bin
./catalina.sh run
Tomcat extracts the WAR and starts up.
I go to our login
java.security.AllPermission;
};
When i try to load the servlet, i get the following exception:
Wrapper cannot find servlet class testPackage.TestServlet or a class it
depends on
I do the following:
cd webapps/test/WEB-INF/classes
rm -f testPackage (remove the link)
cp -r $HOME/source/testPackage .
restart
i try to load the servlet, i get the following exception:
Wrapper cannot find servlet class testPackage.TestServlet or a class it
depends on
I do the following:
cd webapps/test/WEB-INF/classes
rm -f testPackage (remove the link)
cp -r $HOME/source/testPackage .
restart tomcat,
go to the URL
I read the docs, but couldn't find any solution but those I mentioned
My problem is that I run Tomcat from a CD-ROM...
I actually need to use virtual directories, which I want to define each
time I run Tomcat (virtual directory : I mean directories that can be
accessed with http://localhost:8080
Steve,
I assume you are just double clicking on one of the Tomcat .bat files to
run Tomcat. Instead, open up a command prompt, cd to the directory where
the .bat files are and type the name of the .bat file you want to run. Now
you will see the error output.
Jake
At 11:01 PM 12/1/2002
by baseBeans Engineering, the company voted to have the
best hands on training class by JDJ for their Fast Track to Struts class.
Get your training from the #1 trainer with a money back guarantee
You will pay $50 to register and be billed the balance. Upon registration,
you will be shipped a CD
Thank you very much. :^) i can't believe I didn't see that
regards,
Michael
You need to edit your classpath. You need to specify the drive name when
the servlet.jar is located. See tomcat\common\lib\servlet.jar;
snip
CLASSPATH=.;C:\ServletDevel;tomcat\common\lib\servlet.jar;C:
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
,
where? Is there any chance that an Object could survive a full
restart?
%0«Ñ¯
Yes, they survive a full restart as long as you don't delete the
SESSIONS.ser file.
What would I have to do to clear them out?
cd $CATALINA_HOME/work/{servicename}/{hostname}/{context-path}
rm
=/usr/local/java/jdk1.3.1
CATALINA_HOME=/usr/local/java/jakarta-tomcat-4.0.3
CATALINA_BASE=/www/develop/www.tomcat.de
export JAVA_HOME CATALINA_HOME CATALINA_BASE
cd ${CATALINA_BASE}
m4 conf/server.xml.m4 conf/server.xml
${CATALINA_HOME}/bin/startup.sh
-Ursprüngliche Nachricht
:
#!/bin/sh
JAVA_HOME=/usr/local/java/jdk1.3.1
CATALINA_HOME=/usr/local/java/jakarta-tomcat-4.0.3
CATALINA_BASE=/www/develop/www.tomcat.de
export JAVA_HOME CATALINA_HOME CATALINA_BASE
cd ${CATALINA_BASE}
m4 conf/server.xml.m4 conf/server.xml
${CATALINA_HOME}/bin/startup.sh
'
Subject: RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on
linux
Sorry, my mistake. I misread your email. Now that i think about it some
more, i didn't use ant to build the connector. These are the steps i
followed
cd /home/mark/jakarta-tomcat-connectors-4.1.9-src/jk/native
:pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
apr
cd $SNAPSHOT/webapp
./support/buildconf.sh
./configure --with-apxs=/usr/bin/apxs --with-apr=./apr/
make
and I get my mod_webapp.so in $SNAPSHOT/webapp/apache-1.3/
does anyone know where to include the -DEAPI compiling flag ?
I'm using
CONFIG FILES IN THAT DIR
cd /data2/apps/jakarta-tomcat-4.0.1/webapps
export TOMCAT_HOME=/data2/apps/jakarta-tomcat-4.0.1
export JAVA_HOME=/usr/java/jdk1.3.1_01
if [ -x ${TOMCAT_HOME}/bin/startup.sh ]; then
${TOMCAT_HOME}/bin/startup.sh /dev/tty11
echo 'Tomcat 4.0.1 Started.'
fi
sources, we need to download the
APR (Apache Portable Runtime) sources. To do this simply:
cd ./jakarta-tomcat-connectors/webapp
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout apr
At this point you already have your own README.txt to follow.
Hope this helps :)
Alan
Craig R. McClanahan wrote:
Just as a comparison, I did a quick scan of all the classes in Tomcat 4 --
the largest single class in the entire server is around 28k (it's the
class that dynamically deploys a new webapp, called by the Manager
servlet).
$ cd catalina/build/server/classes
with the list: mailto:[EMAIL PROTECTED]
Me again you should read the documetation. Nevertheless if you haven't
assigned your port 8080 to another application. Once you have installed
tomcat
$ cd to bin
chuck @maddr bin $ ./startup.sh
This should start tomcat service if not check
directory.
When I start tomcat, in this way:
[root@piko]# cd /usr/java/jakarta/tomcat/bin
[root@piko]# ./tomcat.sh start
I can see the examples pages, but I obtain an ignored exception. This is thrown every
two-three seconds. Here is the stack trace:
PoolTcpEndpoint: Endpoint ServerSocket[addr
as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
this normal?
BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
http://localhost:8080, though. And there are only following files under my
$CATALINA_HOME/conf:
% cd $CATALINA_HOME/conf
% ls
catalina.policy
server.xml
tomcat
that TOMCAT_HOME is
the same as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
this normal?
BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
http://localhost:8080, though. And there are only following files under my
$CATALINA_HOME/conf:
% cd $CATALINA_HOME
=8331 )
If anyone's got this working, I'd be fascinated to know how you did
it
I have, without the errors you mention. I assume you compiled Apache 2
from source? If so, send along the config.status file from your run of
configure. Basically, I did this:
cd ${APACHE_2_SRC_HOME
Use the buildconf.sh script to build the configure script and then run
configure. You will need tge GNU tools autoconf, automake and aclocal.
cd ./jakarta-tomcat-connectors/jk/native/
./buildconf.sh
output
libtoolize --force --automake
automake -a --foreign -i
, even when I log in as the administrator. Any
help as to where I should direct this question would be must appreiciated.
Thanks.
With administrator, you meant root, right? Well, maybe there were some
files that had the r flag removed. To remove the directory, just login to
root and cd
, you meant root, right? Well, maybe there were some
files that had the r flag removed. To remove the directory, just login to
root and cd to where the jakarta-tomcat-4.0.3-src directory resides and rm
-rf jakarta-tomcat-4.0.3-src.
BTW, isn't Tomcat package available for OS X?
Oki
:/tomcat. Then cd into C:/tomcat/bin and type startup.batreturn.
Startup.bat will figure out appropriate environment variables and
fire up tomcat. Or you can set the W2K environment variable
CATALINA_BASE.
This, of course, assumes you already have the JDK installed
properly on the win2K
connectors tar.
I ran the following script:
cd ${TOMCAT_CONNECTORS_SRC_HOME}/webapp
chmod +x support/*.sh
./support/buildconf.sh
./configure --with-apxs=${APACHE_HOME}/bin/apxs
make
The copy of the error
and a password. Does anyone know what am I doing
wrong?
#cd webapps/Myaplicaion/WEB-INF
#more web.xml
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
web-app
security
produces a BUILD SUCCESSFUL, but where is the
mod_jk.so?
Ok, so I cd into jk/native. sh ./buildconf.sh, then do
./configure --with-apxs=/opt/apache/bin/apxs
--with-java-home=${JAVA_HOME} --with-java-platform=2
--with-apr-include=/opt/apr/include --with-apr-lib=/opt/apr/lib
--enable-EAPI
cd jakarta-connector-tomcat-4.0.2src/jk/native/apache-1.3
chmod 750 build-unix.sh
./build-unix.sh
compilation ok
cp mod_jk.so /usr/local/apache/libexec
I haven't get any error information.
If I upgrade Apache to 1.3.23 or 1.3.24 the problem disapear ?
Maybe Apache 2.x.x ?
Uytkownik PJ Crump
/mod_jk.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI)
bin/apachectl start: httpd started
So, I've grabbed the source for mod_jk and I'm building it like so -
$ cd
/usr/appl/src/sma/apachebuild/jakarta/jakarta-tomcat-connectors-4.0.2-01-src/jk
$ ant
Hello
I've been trying to compile this module with no success and i haven't been
able to find a document that could shed some light on this. I'm using the
jakarta-tomcat-connectors-4.0.4. This is what i do and the error message i
get:
I cd to the jk/native dir and run buildconf.sh which
/!
java1.1/lib/classes.zip .
i have a doubt
there is no /usr/java1.1/classes in my system but is is showing in the classpath
plz help me
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http
) from:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/src/
gunzip and untar it and then cd to the src/native/mod_jk/apache1.3
directory. Copy the Makefile.linux to Makefile and then type make.
Took about 10 seconds to compile on my stock RedHat 7.1 installation. Copy
the resulting
able to access postgreSQL database
just fine. I use: export
CLASSPATH=/usr/local/jakarta-tomcat-4.0/common/lib/jdbc7.1-1.2.jar:${CLASSPA
TH}
to install the driver. I am using RedHat 7.2, and
have installed all the postgreSQL RPMs that came with
the CD. Please can somebody help me as to what I am
fine. I use: export
CLASSPATH=/usr/local/jakarta-tomcat-4.0/common/lib/jdbc7.1-1.2.jar:${CLASSPA
TH}
to install the driver. I am using RedHat 7.2, and
have installed all the postgreSQL RPMs that came with
the CD. Please can somebody help me as to what I am
doing wrong. Do I have to edit some XML
CLASSPATH=/usr/local/jakarta-tomcat-4.0/common/lib/jdbc7.1-1.2.jar:${CLASSPATH}
to install the driver. I am using RedHat 7.2, and
have installed all the postgreSQL RPMs that came with
the CD. Please can somebody help me as to what I am
doing wrong. Do I have to edit some XML file?
In order
:pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout jakarta-tomcat-connectors/webapp
OK
2)
cd ./jakarta-tomcat-connectors/webapp
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout apr
OK
3) ./support/buildconf.sh
OK
4)
./configure --with-apxs=/usr
but it might be interesting to a
DMG lot of Apache users.
DMG I got Apache 1.3.20 (plus Tomcat 3.3 and 4.0.1) running successfully
DMG on my new RH 7.2 system.
DMG Apache has been installed from the RH 7.2 CD by RPM.
DMG suEXEC has been enabled.
DMG Unfortunately the DOCROOT of suEXEC /var/www/ is wrong
=)
You obviously have access to the server... cd to $TOMCAT_HOME and read
the README file.
- r
On Thu, 16 Aug 2001 14:38:21 -0500 [EMAIL PROTECTED] wrote:
Folks,
How do I know what version of tomcat I have on my apache server? This
dude
who installed tomcat for us, I think, he installed
not one of the
developers
of apache or tomcat.But here is the answer to your how question:
*To stop and start your tomcat:
cd /usr/local/tomcat
bin/shutdown.sh
bin/startup.sh
*Exit from tomcat and go to your apache server:
su
/usr/local/apache/bin/apachectl
and start your tomcat:
cd /usr/local/tomcat
bin/shutdown.sh
bin/startup.sh
*Exit from tomcat and go to your apache server:
su
/usr/local/apache/bin/apachectl restart
exit
* Another way of stopping and starting apache:
bin/apachectl stop
bin/apachectl start
Tomcat before Apache?
I cannot answer your why question, because, I am not one of the
developers
of apache or tomcat. But here is the answer to your how question:
*To stop and start your tomcat:
cd /usr/local/tomcat
bin/shutdown.sh
bin/startup.sh
*Exit from
/
lousy program) is my guess...
I using Win2K / IIS 5 / Tomcat4 b6...my app aside... I could NOT get
/examples to come over with SSL... I'm seeing a LOT of inconsistency
(between win2k and win2k server et al)
cd
-Original Message-
From: Rob S. [mailto:[EMAIL PROTECTED]]
Sent
.
Ya'll are the Greatest! Thank you for your patience and genius.
cd
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 11:28 AM
To: '[EMAIL PROTECTED]'
Subject: RE: SSL-How-2 for Tomcat 4
On Tue, 21 Aug 2001, Curtis Dougherty wrote
-1.0-tc40b7.src.tar.gz
7. cd webapp
8. rm -rf apr
9. in the same directory docvs -d
:pserver:[EMAIL PROTECTED]:/home/cvspublic login
password: anoncvs
10.get this cvs -d
:pserver:[EMAIL PROTECTED]:/home/cvspublic co -r APACHE_2_0_22 apr
)...
I don't know if you could have a sharing violation in the VM though
(doesn't
seem like it would at first glance).
cd
-Original Message-
From: Mark Muffett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 12:12 PM
To: [EMAIL PROTECTED]
Subject: Concurrent running different
on 9/13/01 9:53 AM, nbd95 at [EMAIL PROTECTED] wrote:
Thank you Plamen! I can now run the core files. I am still having some
problems with failures on the majority of the examples *.jsp from the core
cd though. I'm looking into it, I'll post again if I can't find an answer.
Two questions
Can you cd %TOMCAT_HOME%?
-Original Message-
From: pero [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 4:15 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat startup problem
are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
-Original Message-
From: Steve
I suspect your class... They may be trying to trick you into lower the
protection around the class computers in an attempt to gain unauthorized
access. I have never seen TOMCAT spontansouly do anything that couldn't
be tracked back to humna error.
my-2-cents
cd
-Original Message-
From
anything that couldn't
be tracked back to humna error.
my-2-cents
cd
-Original Message-
From: C. Schlegelmilch
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 2:23 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Spontaneously Restarting System
Hello all,
I'm teaching
, but I would like to create a JSP
application.
At first, I installed Tomcat 3.0 and created system variables: JAVA_HOME and
TOMCAT_HOME.
I go to dos and cd into directory where startup.bat is, then startup Tomcat.
Tomcat 3.0 would startup OK, but as soon as I enter http://localhost:8080/
into the browser
to dos and cd into directory where startup.bat is, then startup
Tomcat.
Tomcat 3.0 would startup OK, but as soon as I enter http://localhost:8080/
into the browser, I get NT blue screen memory dump. So, I installed
jdk1.2.2 - same thing
happened. Then I installed Tomcat 3.2.3 - now I was able
need to have a good explanation from someone who
fully understands the class loading mechanism of catalina... I could take
a few guesses, but wont. I also think that someone who does fully
understand it will simply repeat the above advice
so, cd /myservletclasses; jar cf myservlets.jar *
(o
a good explanation
from someone who
fully understands the class loading mechanism of
catalina... I could take
a few guesses, but wont. I also think that someone
who does fully
understand it will simply repeat the above
advice
so, cd /myservletclasses; jar cf myservlets.jar *
(o
cd ./apache_1.3.20 clear
CC='gcc' CXX='gcc' \
LIBS='-lpthread' \
OPTIM='-O6 -mcpu=v8 -Wa,-xarch=v8plusa' \
CXXFLAGS='-O6 -mcpu=v8 -Wa,-xarch=v8plusa -felide-constructors
-fno-exceptions -fno-rtti' \
./configure \
--verbose \
--target=mohican \
--with-layout=Solaris_mohican \
--with-perl=/usr/bin
to follow up.
What is the name of the tomcat module?
How can I load the correct one?
lsmod reports the following:
ide-cd 23628 0 (autoclean)
nfs28768 1 (autoclean)
autofs 9124 1 (autoclean)
lockd 31176 1
-
From: Benot Jacquemont [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 17 April 2001 16:02
To: [EMAIL PROTECTED]
Subject: RE: Pentium IV - any known problems?
First of all, open a dos window, go to your TOMCAT_HOME (cd
TOMCAT_HOME), go to the bin, and execute tomcat run instead of double
clicking
h your Makefile configuration failed."
( I have gnu gcc and gnu make installed in my server with the PATH setup to
them.
Is there anything else I need to do before running configure? )
Here is the command I run:
# cd apache_1.3.19
# ./configure --prefix=/usr/local/apache \
/local/tomcat
JAVA_HOME=/usr/java
cd ${MODJKSRCDIR}
${APXS} -o mod_jk.so -DSOLARIS -I../jk -I${JAVA_HOME}/include
-I${JAVA_HOME}/include/solaris -lposix4 -c *.c ../jk/*.c
cp mod_jk.so ${APACHE_HOME}/libexec
print "Include ${TC_HOME}/conf/mod_jk.conf-auto" ${APACHE_HOME}/conf/httpd.con
am on Solaris 7
Thank you for your time.
Khim
#!/bin/ksh
MODJKSRCDIR=/usr/local/src/jakarta-tomcat-3.2.1-src/src/native/apache1.3
APACHE_HOME=/usr/local/apache
APXS=${APACHE_HOME}/bin/apxs
TC_HOME=/usr/local/tomcat
JAVA_HOME=/usr/java
cd ${MODJKSRCDIR}
${APXS} -o
mod_jk.so
I
think I was getting that error because I was using an apache that wasn't
compiled with DSO enabled.You can find out if this is the case by cd to
where your apache httpd binary is locatd, and enter the command:
httpd -l
It
will show you a list of the compiled in modules. If you don't see
uot;'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: mod_jk.conf-auto problem
Date: Thu, 26 Apr 2001 12:26:58 -0400
I think I was getting that error because I was using an apache that wasn't
compiled with DSO enabled. You can find out if this is the case by cd to
where your apache
Or, if this is Redhat and you don't have a libexec subdirectory, create a
symlink in the /etc/httpd directory that points to the apache lib
subdirectory:
cd /etc/httpd
ln -s ../../usr/lib/apache libexec
so you don't have to cart around separate copies of the mod_jk.so library.
Regards
Sounds like you are using Windows and double clicking on the startup.bat
file
Open your dos shell.
type java -version enterthis will confirm the presence of your java
environment with your java version
cd \location\of\tomcat\bin enter
startup.bat enter (I think its called startup.bat
trazendo mais novidades para você.
Venha conferir a nova sala de bate-papo e participe do Sorteio do CD-ROM
UfologiaCientífica, que está em sua terceira fase.
Webmaster
http://www.ufologiacientifica.com.br
Esta mensagem é enviada com
a complacência da nova legislação sobre correio
Try: cd to \bin then run startup.bat
On Mon, 14 May 2001, you wrote:
neyyadupakkam sundarasekaran wrote:
I downloaded jakarta-tomcat-3.2.1.zip and unziped it to my C: drive.
I set TOMCAT_HOME, JAVA_HOME, PATH in autoexec.bat file. I re-booted the
PC/windows 2000
I think
reference:
"The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
as its servlet container. This is built by following these steps:
- cd {TOMCAT-SRC-HOME}/connectors
- make
- (Edit "Makedefs" as needed for your installation)
systems is to create a missing link.
If you do the following (as root) it fixes the problem:
cd /lib/i686
ln -s libpthread.so.0 libpthread.so
/sbin/ldconfig
You should be able to use the Sun JVM now. Whether this solves your particular
problem or not I don't know. Maybe it might provide a clue
organization, here is
attached a copy of my resume,Awaiting for positive response
.With Regards .Vikram Mishra.
Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.comBuy Music, Video, CD-ROM
and Audio-Books from http://www.planetmonline.com
the directory:
/home/rino/tomkat/jakarta-tomcat-3.2.1
I do:
export JAVA_HOME=...
export TOMCAT_HOME=/home/rino/tomkat/jakarta-tomcat-3.2.1
export CATALINA_HOME=/home/rino/tomkat/jakarta-tomcat-3.2.1
cd /home/rino/tomkat/jakarta-tomcat-3.2.1/bin
then:
[root@localhost bin]# ./startup.sh
Using
instructions in the
how-to but got an
error that apxs isn't in /sbin... which it's not, but I don't
know how to
tell 'make' explicitly to go to APACHE_HOME/bin for apxs.
Should I just add
a symbolic link to sbin?
You should use autoconf.
./buildconf.sh
./configure -- (check options)
cd apache
Hi,
Probably installing the compat* library rpms from the redhat cd, which
contains the older libraries will solve the problem
Mvgr,
Martin
-Original Message-
From: Marty Haught [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 6:03 PM
To: [EMAIL PROTECTED]
Subject
The RH website has a note that jdk1.3.1 doesn't work correctly. An upgrade
to RH7.1 will resolve the problem.
On Wednesday 08 August 2001 06:06 pm, you wrote:
Hi,
Probably installing the compat* library rpms from the redhat cd, which
contains the older libraries will solve the problem
They are simply a way of bundling up a context. If you are developing a
context mycontext and it sits in $TOMCAT_HOME/webapps/mycontext, then to
make a war file all you need to do is:
cd $TOMCAT_HOME/webapps/mycontext
jar -cf ../mycontext.war *
and you would have a war file that you could
there: oracle and javax. i didn't need javax so i threw it
out
2. open a shell and cd to $TOMCAT_HOME/lib
3. jar up the oracle directory
using "jar cvf oracle.jar oracle." you
can name the jar file whatever you want.
4. rest
I reade the messages as suggesting that you have Tomcat
installed at C:\tomcat and are setting tomcat.home to
D:\tomcat
I have gotten the "The device is not ready" when I'm
trying to read a CD that isn't in the drive.
OTOH, I could be far out in left field
;-)
snip
-Origin
make
make install
Pretty easy.
For building mod_jk.so with Tomcat
Need to do two things:
1) cd /path/to/tomcat/native/mod_jk/apache1.3
Edit line 47 of build-unix.sh and make it look like this.
JAVA_INCLUDE="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/irix"
2) Modify /path
fine, for mod_jk I did the
following:
cd /$JAKARTA_HOME/src/native/apache1.3
/usr/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I$JAVA_HOME/include/solaris -I../jk -I$JAVA_HOME/include -I posix4 -c *.c
../jk/*.c
and this also worked without any errors, I copied the mod_jk.so-file to the
Apache
fine, for mod_jk I did the
following:
#cd /$JAKARTA_HOME/src/native/apache1.3
#/usr/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I$JAVA_HOME/include/solaris -I../jk -I $JAVA_HOME/include -I posix4 -c *.c
../jk/*.c
and this also worked without any errors, I copied the mod_jk.so-file
Ok, I'm sorry if this is a basic question, but I'm new to this environment.
I've tried to find the answer elsewhere, but can't. I'm not sure if this is
a Forte, PointBase, or Tomcat issue.
I downloaded Sun's Forte IDE and worked through the first part of a tutorial
to create the CD Shopping
servletapi webapps
$cd tomcat-4.0/
$ ls
bin conflib logsserver webapps work
I start bin/catalina.sh start , logs files get created - no
exceptions/errors, when trying 'http://localhost:8080' I get confirmation in
the logs :
-StandardHost[localhost]: Deploying web
that we can get SSL to
work with our jsp pages.
We tried to run apxs as per Gal Shachor's notes at
jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html, but got
message:
cd /usr/local/src/jakarta-tomcat-3.2.1-src/src/native/apache1.3/usr/sbin/
apxs -o
mod_jk.so -I../jk -I/usr/jdk1.3
was that the classpath was not correct. I determined that I
needed to have tools.jar in the class path. In order to make sure that
happened, I created a batch file with these commands:
set classpath=%classpath%;f:\jdk1.3\lib\tools.jar;
cd \jboss-tomcat-2.1-beta\jboss-2.1\bin
java -jar run.jar
Yet when I
difficulty setting the path for
JAVA_HOME after installing JDK1.3
I can't cd to $JAVA_HOME.
The .bash_profile is as follows:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=/usr/local
Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).
However, on a Redhat 7.0 server, I having difficulty setting the path for
JAVA_HOME after installing JDK1.3
I can't cd to $JAVA_HOME.
The .bash_profile is as follows:
# .bash_profile
# Get the aliases and functions
if [ -f
having difficulty setting the path for
JAVA_HOME after installing JDK1.3
I can't cd to $JAVA_HOME.
The .bash_profile is as follows:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH
JDK1.3
I can't cd to $JAVA_HOME.
The .bash_profile is as follows:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
Rasika:
Please see Tomcat development documentation in jakarta-tomcat\doc\appdev. It
has excellent approach to build your servlet/jsp applications.
In short you should
make a directory for your application. Say c:\test\cusinf where cusinf is
the application.
cd test\cusinf
mkdir src
mkdir
file the linker needs.
5. cd to /path/to/tomcat/src/native/apache/jserv and run
/path/to/apache/apxs -c -o mod_jserv.so *.c.
You should end up with a compiled mod_jserv.so in the current directory.
Note that I'm not a C programmer by any stretch of imagination, so if you
find a way to do
ranet web application for
a custom purpose and want to ship it to my customer.
Can I include apache and tomcat on the CD?
Or can I tell the customer: get apache and tomcat first, install it
on your machine. When you have done this, install my application.
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
Dave, Thanks for replying (again?).
That's exactly what I ended up doing, only without the virtual host
surrounding it. Anyone got a better method?
and for ~username access, I've just created a symbolic link from the
$TOMCAT_HOME/webapps to the users homefolder/public_html like this:
cd
The Build of Tomcat 3.2.1 from the RPM's works fine until it gets to copying the
built files then I get the following error
+ cd ../jakarta-tomcat-3.2.1-src
+ export CLASSPATH=/usr/src/redhat/BUILD/tomcat-3.2.1/dist/servletapi/lib/servle
t.jar:/usr/src/redhat/BUILD/tomcat-3.2.1/jakarta-tools
Oxley [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 11:39 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Problem installing under Win2000
In your command prompt. cd into %TOMCAT_HOME%\bin and type 'tomcat run'.
This will tell you the error because it starts it in the same window. But
the error
.
* tar zxvf tomca3_2_1-src.tar.gz
* cd tomcat3.2.1-src/src/native/apache1.3
*/usr/local/apache/bin/apxs -o mod_jk.so -I../jk
-I/usr/local/jdk inst dir>/include
-I/usr/local/jdk inst dir>/include/linux
-c *.c ../jk/*.c
(For detail,refer to mod_jk-howto.html)
As a result,mod_jk.so is produced.
gz. * tar zxvf
tomca3_2_1-src.tar.gz * cd
tomcat3.2.1-src/src/native/apache1.3
*/usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/usr/local/jdk inst
dir/include -I/usr/local/jdk inst
dir/include/linux -c *.c ../jk/*.c (For
detail,refer to mod_jk-howto.html) As a
result
module=so --enable-rule=max
(1)Install apache and tomcat3.2.1
(2)Download tomcat3_2_1-src.tar.gz.
* tar zxvf tomca3_2_1-src.tar.gz
* cd tomcat3.2.1-src/src/native/apache1.3
*/usr/local/apache/bin/apxs -o mod_jk.so -I../jk
-I/usr/local/jdk inst dir>/include
-I/usr/local/jdk inst dir>/i
nable-rule=max
(1)Install apache and tomcat3.2.1 (2)Download
tomcat3_2_1-src.tar.gz. * tar zxvf
tomca3_2_1-src.tar.gz * cd
tomcat3.2.1-src/src/native/apache1.3
*/usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/usr/local/jdk inst
dir/include -I/usr/local/jdk inst
dir/includ
of the Tomcat jars into the c:\jakarta\lib
folder, to make it easier to be sure they are all there, and each of
the path references are correct. One problem you might have later is
having two copies of servlet.jar on the classpath.
Then try
cd c:\jakarta
bin\startup
*** REPLY SEPARATOR
://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in
Change the way you talk. Indiatimes presents Valufon, Your PC to Phone
service with clear voice at rates far less than the normal ISD rates. Go to
http://www.valufon.indiatimes.com. Choose your plan
-f .libs/jk_context.lo jk_context.o
(cd . ln -s jk_context.o jk_context.lo)
Target all is up to date.
Making all in apache-2.0
/bin/sh /usr/local/apache2/build/libtool --silent --mode=compile
xlc_r -I/usr/local/apache2/include -g -O2 -DUSE_APACHE_MD5 -I
../common -I /usr/java130/include
601 - 700 of 1535 matches
Mail list logo