I just dumped the tomcat 4.1.18 from RPM onto a system.
It can't seem to find JAVA_HOME.
I echo $JAVA_HOME
and it comes back perfect, any clues
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
It violates the Sun classloading spec to load endorsed classes from
WEB-INF/lib or WEB-INF/classes. There are a number of bugs that have been
filed on this and the conclusion of all of them is that Tomcat simply won't
support any sort of overriding of XML or DOM libraries from the webapp
I have just installed Tomcat 4.1 - to date I have been using Tomcat 4.0. In
4.0 I have the following resource in the DefaultContext. I have copied this
context from the sever.xml of 4.0 to the server.xml of the 4.1 version.
Otherwise the war I am deploying on both is identical.
DefaultContext
In the tomcat-dev group there were a few discussions/code patches to
support a ForwardDirectories JkOption in mod_jk (which didn't work for me
when I tried, BTW) which would send a request to Tomcat for each file
listed in the DirectoryIndex (if it matched the correct URI mappings).
I was hoping
change user to username and driverName to url
Jake
At 09:23 PM 1/12/2003 +1300, you wrote:
I have just installed Tomcat 4.1 - to date I have been using Tomcat 4.0. In
4.0 I have the following resource in the DefaultContext. I have copied this
context from the sever.xml of 4.0 to the server.xml
Hi Richard,
Which package did you use to create the mod_jk2.so and jkjni.so? I
build everything from the:
jakarta-tomcat-connectors-jk2-2.0.2-src source and every things works
correctly.
Included is a copy of my jk2.properties and workers2.properties. The
[vm:] is at present, because I
On Sun, 12 Jan 2003 21:32, Jacob Kjome wrote:
change user to username and driverName to url
Did this - but still had the same problem.
A little reading put me right however, as I have now found that the reason was
that I was attempting to define the context in the DefaultContext. This
appears
Thanks It is working this way.
Nihita
Paul Yunusov wrote:
On Saturday 11 January 2003 10:03 am, Paul Yunusov wrote:
You don't need to add a context for your webapp to server.xml. Add this to
your webapp's web.xml:
servlet
servlet-nameAnyNameWorks/servlet-name
* David Durst [EMAIL PROTECTED] [0102 08:02]:
I just dumped the tomcat 4.1.18 from RPM onto a system.
It can't seem to find JAVA_HOME.
I echo $JAVA_HOME
and it comes back perfect, any clues
what does
ls $JAVA_HOME
return?
If your java binary is in /opt/bin/java, it should be set to
now I'm getting confused :-)
but still it's good to see some alternatives..
I need to implement ldap for authorisation in a couple
of months.. so I'll need to check this out as well..
Rob
On Sun, Jan 12, 2003 at 12:33:24PM +0530, Kaustuv Sharma wrote:
I too am using the Netscape Directory SDK
--- Reynir_Hübner [EMAIL PROTECTED] wrote:
Has anyone created debian packages of tomcat 4.1.x ?
Please inform me of where to find these if there are
any available (I've only found some unstable
packages).
Thanx
[EMAIL PROTECTED]
That is one of the reasons I upgraded my machine to
On Saturday 11 January 2003 11:15 pm, Michael Muratet wrote:
Greetings
I am using Tomcat 4.1.10 in its standalone mode. My understanding of the
documentation is that every time a jsp is requested, the source is
checked and reparsed if it is more recent than the object in memory.
(Where would
On Sunday 12 January 2003 03:34 am, David Durst wrote:
I just dumped the tomcat 4.1.18 from RPM onto a system.
It can't seem to find JAVA_HOME.
I echo $JAVA_HOME
and it comes back perfect, any clues
Specific error messages and echo output, please? Also, you could be running
Tomcat as
Hi All,
Very often I am experiencing problem to browse http://localhost even I use dot
notation http://127.0.0.1 it seems to me there is some problem with my access to ISP's
DNS server. I would like to ask any one from Canada using Rogers' ISP about their
experience, let me know please have
On Sunday 12 January 2003 02:23 pm, Tomislav Miladinovic wrote:
Hi All,
Very often I am experiencing problem to browse http://localhost even I use
dot notation http://127.0.0.1 it seems to me there is some problem with my
access to ISP's DNS server. I would like to ask any one from Canada
Actually, you can define your JNDI Datasource in GlobalNamingResources
and then define a ResourceLink inside your context although I would have
thought that DefaultContext would have worked as well?
Jake
At 10:25 PM 1/12/2003 +1300, you wrote:
On Sun, 12 Jan 2003 21:32, Jacob Kjome wrote:
Very often I am experiencing problem to browse http://localhost even I
use dot
notation http://127.0.0.1 it seems to me there is some problem with my
access
to ISP's DNS server.
The point of the localhost or 127.0.0.1 (loopback) interface is that you
do not need a
network connection to test
Successfully installed tomcat 4.1.18 and can access it on port 8080. Jsp
servlets run ok.
Installed mod_jk.so v1.2.2, configured apache and get no errors on startup.
But, though I can access the directory pointed to by JKMount, and can load
static .html, no .jsp or servlet examples will run.
On Sun, 12 Jan 2003 10:35:50 -0500
Paul Yunusov [EMAIL PROTECTED] wrote:
On Saturday 11 January 2003 11:15 pm, Michael Muratet wrote:
Greetings
I am using Tomcat 4.1.10 in its standalone mode. My understanding of
the documentation is that every time a jsp is requested, the source
is
Well, to get DBCP working was not difficult at all. I just followed Tomcat
how-to docs. And, as I learned from other people, it's being used on a
production level.
My Tomcat's version is 4.1.12.
Thank you.
Igor TN
Hi,
I developed a web-app consisting mostly of servlets and JSP, almost no
Use:
JkMount *.jsp ajp13
JkMount /examples/* ajp13
-Original Message-
From: Randall Perry [mailto:[EMAIL PROTECTED]]
Sent: Sonntag, 12. Januar 2003 19:52
To: [EMAIL PROTECTED]
Subject: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18
Successfully installed tomcat 4.1.18 and
Ok...Thanx for your comment...
-reynir
-Original Message-
From: Charles Baker [mailto:[EMAIL PROTECTED]]
Sent: 12. janúar 2003 15:05
To: Tomcat Users List
Subject: Re: Debian packages
--- Reynir_Hübner [EMAIL PROTECTED] wrote:
Has anyone created debian packages of tomcat
Well, to get DBCP working was not difficult at all. I just followed
Tomcat how-to docs. And, as I learned from other people, it's being used
on a production level.
My Tomcat's version is 4.1.12.
Thank you.
Igor TN
I have been trying to get this damn thing working w/ postgres for about
a
On Sunday 12 January 2003 02:50 pm, David Durst wrote:
Well, to get DBCP working was not difficult at all. I just followed
Tomcat how-to docs. And, as I learned from other people, it's being used
on a production level.
My Tomcat's version is 4.1.12.
Thank you.
Igor TN
I have been
Alright, I finally have my answer. Postgres prepends the username to the
password before creating the digest. For example, if I wish to create a
postgres account with the username 'tomcat' and password 'tomcat', postgres
will prepend 'tomcat' to 'tomcat' to create 'tomcattomcat' and then make
I was doing a development of the servlet/JSP web app on Windows and now
I'm deploying it on Linux RedHat7.2 for production. The software used is
Tomcat - MySQL - DBCP connection pool.
On Windows my app is running fine but I have the following problem on
Linux. The app runs stable all day long but
I've got a problem with log4j on Linux and maybe the reason is
Tomcat-related. I post it to this list too since it's hard to tell,
what causes this error.
The errors are:
log4j:WARN Failed to set property [maxFileSize] to value 200KB.
java.lang.IllegalArgumentException: object is not an instance
* Rob Abernethy IV [EMAIL PROTECTED] [0130 19:30]:
Alright, I finally have my answer. Postgres prepends the username to the
password before creating the digest. For example, if I wish to create a
postgres account with the username 'tomcat' and password 'tomcat', postgres
will prepend
* Paul Yunusov [EMAIL PROTECTED] [0127 19:27]:
On Sunday 12 January 2003 02:50 pm, David Durst wrote:
Well, to get DBCP working was not difficult at all. I just followed
Tomcat how-to docs. And, as I learned from other people, it's being used
on a production level.
I have been trying
Hi there,
Paul's suggestion in #1 is probably the best way to go.. Here's a quick
way to do it on solaris.
# add the user to the OS
useradd myuser
# switch to C-shell
/bin/csh
# run the following script
#!/bin/sh
JAVA_HOME=/usr/java
TOMCAT_HOME=/usr/local/tomcat
su - myuser -c
If it is this simple, you gotta wonder...why no cvs rename command...
Because, as Jeff Schnitzer points out, it doesn't work. But some people use
CVS more as a backup utility for emergency restoration of old versions than
as a revision control system. However, others do consider that at any
I concur with Paul's observation below... please check to see if the
tomcat is running as a different user and if so either adjust the
user's login shell (.profile (bourne) or .cshrc (c-shell)) and add the
appropriate java binary
also do the following when tomcat attempts to run
/bin/ps -ef |
Hi all,
After installing tomcat 4.1.18 on windows 2000, I get the following
exception trying to access my web application. This app worked fine with
4.0.6. I have also included my web.xml file for this application. Thanks
in advance.
org.apache.jasper.JasperException:
I am at a loss. My last guesses:
- Its a programming issue
- Your tomcat has virtual hosting set up that tomcat treats
localhost/webapp and 192.x.x.x/webapp as different webapps
thanks,
I forgot this point.
I have defined a virtual host for localhost to directly map the webapp,
but no one
Hi,
I'm doing the following in a Java class:
RequestDispatcher rd = context.getRequestDispatcher(/some.jsp, req,
res);
and I want to display any compile-time or run-time excpetions. Is there
some kind of
JspException object in the request containing this information?
Thanks,
Add something to your webapp which logs when it is loaded. If you see 2
log messages - then it is being loaded twice. One for each virtual host.
-Tim
Albrecht Berger wrote:
I am at a loss. My last guesses:
- Its a programming issue
- Your tomcat has virtual hosting set up that tomcat treats
That's not it. I get the following error from 'apachectl configtest' :
Context should start with /
Use:
JkMount *.jsp ajp13
JkMount /examples/* ajp13
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales
http://www.systame.com/
--
I discovered that the URL I was using to access the pages was wrong.
Never mind. It's working fine. :)
That's not it. I get the following error from 'apachectl configtest' :
Context should start with /
Use:
JkMount *.jsp ajp13
JkMount /examples/* ajp13
--
Randall Perry
sysTame
I don't think he needs an LDAP library: I think he needs to use
JNDIRealm authentication . Haven't checked lately, but I have the
impression that's in the standard Tomcat distribution now.
martin
Eriam Schaffter wrote:
Or maybe a free one .. have a look at com.novell.ldap on
Instead of predefining connections in either server.xml or another file
(such as using DBCP or DBPool), is it possible to have connection pools
created on-the-fly?
For example in IIS 5.0 under Windows 2000, database connections are
automatically pooled. When an ASP requests a database connection,
Hello,
I am using mod_webapp to connect Apache 2.0.43 to Tomcat 4.0.1
Problem is that both Tomcat AND Apache each cause an instance of the
same webapp. So the one webapp is instantiated twice (this breaks all
sorts of socket stuff we have in our webapp)
there is a reference to this problem
Martin Smith wrote:
I don't think he needs an LDAP library: I think he needs to use
JNDIRealm authentication . Haven't checked lately,
but I have the
impression that's in the standard Tomcat distribution now.
Yes it is in the standard Tomcat distribution now. I think it has been
included
I have spent the last three days looking at all the JK2 docs, and all the
sites, and even checked the archives of this list. I believe I have done my
due diligence on doing research before posting this message, believe me it
was a last resort.
1) Apache 2.0.43 was installed and works great on
you might consider checking your httpd.conf (it wasn't included),
there should be something like the following:
on a typical solaris install using mod_jk. I haven't worked with
mod_jk2 before (so there might be some differences .. but the idea
should be the same)
#
LoadModule libexec/mod_jk
44 matches
Mail list logo