What operating system are you using?
On Tue, 2006-01-03 at 10:43, [EMAIL PROTECTED] wrote:
> hello
> how i can set the env. variables like "JAVA_HOME" so that tomcat can be
> start.
> thank you
> bye
> richard
>
>
> -
> To uns
### [EMAIL PROTECTED] wrote message to users@tomcat.apache.org ###
### this is reply for: question ###
> hello
> how i can set the env. variables like "JAVA_HOME" so that tomcat can be
> start.
> thank you
> bye
> richard
conf/catalina.sh
--
Rafał Zawadzki
Deploy/Release Manager
eo Networks Sp.
> ==
> Date: Tue, 3 Jan 2006 16:43:52 +0100
> From: <[EMAIL PROTECTED]>
> To:
> Subject: question
> ==
>
> hello
> how i can set the env. variables like "JAVA_HOME" so that tomcat
> can be start.
> thank you
> bye
> richard
Wich OS? Linux, Windows
Linux
in catalina.sh`?
like
JAVA_HOME=path ?
bye
- Original Message -
From: "Giuseppe Briotti" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, January 03, 2006 4:50 PM
Subject: Re: question
==
Date: Tue, 3 Jan 2006 16
### [EMAIL PROTECTED] wrote message to "Tomcat Users List"
###
### this is reply for: Re: question ###
> Linux
> in catalina.sh`?
> like
> JAVA_HOME=path ?
> bye
1. Do not top-post
2. Have you ever looked into that file?
--
Rafał Zawadzki
Deploy/Release Mana
hello
a.) Top Post?
b.) Thx now i did sorry it works now.
thx for help guys
cya
- Original Message -
From: "Rafal Zawadzki" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, January 03, 2006 5:0
### [EMAIL PROTECTED] wrote message to "Tomcat Users List"
###
### this is reply for: Re: question ###
> hello
> a.) Top Post?
http://www.google.com/search?q=top+posting&ie=UTF-8&oe=UTF-8
--
Rafał Zawadzki
Deploy/Release Manager
eo Networks Sp. z o.o.
pgp5UJP6KU
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 03, 2006 11:10 AM
> To: Tomcat Users List
> Subject: Re: question
>
> hello> a.) Top Post?
http://catb.org/~esr/jargon/html/T/top-post.html
Personally, I never ha
Hi.
A lot of people on this forum Top Post.
Is this really such a big issue?
-Original Message-
From: Rafal Zawadzki [mailto:[EMAIL PROTECTED]
Sent: 03 January 2006 16:26
To: Tomcat Users List
Subject: Re: question
### [EMAIL PROTECTED] wrote message to "Tomcat Users
Yes.
Carl Olivier wrote:
Hi.
A lot of people on this forum Top Post.
Is this really such a big issue?
Because you don't know the question the answer is related to.
Rgds.
--
Aurélien
-
To unsubscribe, e-mail: [EMAIL PROTEC
Hi Miriam,
We had the same problem here. Our LDAP authentication was working up to
version 5.5.12 but broke on anything above it. I finally got it fixed
and I'll show you what we had previously and what we have now.
WORKED WITH 5.5.12 AND BELOW:
ldap://ldap.bc.com";
> From: Andrew English [mailto:[EMAIL PROTECTED]
> Were do I need to look to figure out what SQL server
> tomcat/jboss 2.4 is pointing at?
Could be anywhere. A generic approach that will probably get you quite
a long way is to run:
netstat -an | find "1433"
And seeing what the far-en
On 3 Sep 2008 at 10:36, Jojo Nadir wrote:
> hi how are you,
>
> I have a probleme in the installation process of tomcat 5.5 under
> Windows 98 (I have an old computer), it always get me a message
> containing the following files with some number like this : jvm.dll
> and 1329 prunsrv.c
I serious
Steve Ochani wrote:
> On 3 Sep 2008 at 10:36, Jojo Nadir wrote:
>
>> hi how are you,
>>
>> I have a probleme in the installation process of tomcat 5.5 under
>> Windows 98 (I have an old computer), it always get me a message
>> containing the following files with some number like this : jvm.dll
>>
Sun says that their Java 5 does run on Windows 98 SE - see here:
http://java.sun.com/j2se/1.5.0/system-configurations.html
Jojo, can you post the whole error message?
The problem might be that the Microsoft C runtime lib is missing - or maybe not.
--
Len
On Wed, Sep 3, 2008 at 17:48, Steve Och
>From the line number, it looks like a copy of tomcat-util.jar somewhere that
it doesn't belong.
"Eric C. Forcey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I'm not sure if this is the appropriate list if not forgive me.
I have a server running Fedora/Tomcat/ColdFusion. I am
> From: Randy Paries [mailto:[EMAIL PROTECTED]
> Subject: question about ugrading
>
> So i was going to try to upgrade to the latest of tomcat. I just saw
> that the latest 5.5.x needs jre 5.0.
Not true. The 5.5 versions run fine on a 1.4 JRE, as long as you
download and install the compat.zip
So would that be the suggested best upgrade path?
On 11/9/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Randy Paries [mailto:[EMAIL PROTECTED]
> > Subject: question about ugrading
> >
> > So i was going to try to upgrade to the latest of tomcat. I just saw
> > that the latest 5.5
> From: Randy Paries [mailto:[EMAIL PROTECTED]
> Subject: Re: question about ugrading
>
> So would that be the suggested best upgrade path?
Going to JRE 5.0 (aka JDK 1.5) is probably better, but if you can't do
it, we've had no problems staying on 1.4.2 with Tomcat
Hi,
Based upon your talk I am assuming following:
- You have directory c:\sample-dir which text files and other files.
- You want to make something like http://ADDRESS/sample-dir which displays list
of files (like online apache browsing).
Here is the one way you can do it quickly:
(1) Even
Hi It's me again.
I am sure about it. I think you want to point tomcat to some other directory
then
webapps. (like when you open http://ADDRESS:PORT/, instead of tomcat page you
want to see your directory listing). To do that, create a new file called
ROOT.xml inside TOMCAT_HOME/conf/Catalina/loc
Shaban Ghumri wrote:
> Hi,
> I would like to know based on your experience with TomCat, if there are
> tools that I can use to debug a potential memory leak on servlet running on
> TomCat 3.2?
Try Googling for Java Profiler. There are a number of tools that could
help with this. My personal favour
Gregor Schneider wrote:
Hi guys,
I have quite a bit of a problem here.
Status quo:
We have some heavily framed static html, which now should be served by
Tomcat (5.5) only via SSL.
The whole content needs to be protected, so I've implemented a
FormAuthenticator.
However, the heavy framing *yu
Hi there,
On Wed, Sep 3, 2008 at 1:50 PM, H. Hall <[EMAIL PROTECTED]> wrote:
>
> Assuming that your login form is a jsp, why don't you put something like
> this in it:
>
> if(isOKLogin ){
> RequestDispatcher rd = request.getRequestDispatcher("/index.html");
> rd.forward(request, response);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
Gregor Schneider wrote:
> The only options I'm having seem to be
>
> - subclass FormAuthenticator and patch Tomcat
Agreed: yuk.
> - use a JAAS-implementation, but I got no Idea if this will work,
> besides, you'll have to deal with the JAAS
It looks like you did:
./configure --with-apache=/path/to/httpd/source
instead of:
./configure --with-apxs=/path/to/httpd/dist/bin/apxs
The first builds mod_jk for static linking with Httpd, the second builds
mod_jk.so. The second also correctly resolves the apr and apr-util includes
autom
Bill,
Thanks for pointing that out. I got locked in to the way I did
it from a previous version and didn't look far enough.
Can you point out where the docs for configuring mod_proxy_ajp might
be?
Thanks,
-Bob
> It looks like you did:
> ./configure --with-apache=/path/to/httpd/source
>
> in
"Bob Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Bill,
>
> Thanks for pointing that out. I got locked in to the way I did
> it from a previous version and didn't look far enough.
>
> Can you point out where the docs for configuring mod_proxy_ajp might
> be?
It's integra
Is it connection between apache and tomcat?
May be it is in keepalive connection to reuse existent connections?
--
Best regards,
Dimamailto:[EMAIL PROTECTED]
Friday, December 22, 2006, 7:29:54 PM, you wrote:
VC> Hello there! We have a Jboss 4.0.1 server, and we're e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
Stephens, Daniel wrote:
> Does anyone know the main differences between
> commons-beanutils-1.7.0.jar and Tomcat's original
> common-beanutils.jar.
Try this:
$ unzip -p commons-beanutils.jar META-INF/MANIFEST.MF
This should give you informa
Excellent, Thanks Chris, I'll check it out.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Friday, February 16, 2007 6:12 PM
To: Tomcat Users List
Subject: Re: Question on common-beanutils.jar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
D
Savoy, Melinda wrote:
I understand that Apache Tomcat 6 now supports the EAR file.
Is that correct?
Incorrect, Geronimo with Tomcat 6 does
Filip
Melinda Savoy
Sr. Programmer Analyst
Financial Applications - Enterprise Systems
The information contained in this message and any attachments
Thanks for the response. We're trying to find an alternative to Jboss.
Regards.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 12:00 PM
To: Tomcat Users List
Subject: Re: Question on EAR files
Savoy, Melinda wrote
:00 PM
To: Tomcat Users List
Subject: Re: Question on EAR files
Savoy, Melinda wrote:
I understand that Apache Tomcat 6 now supports the EAR file.
Is that correct?
Incorrect, Geronimo with Tomcat 6 does
Filip
Melinda Savoy
Sr. Programmer Analyst
Financial Applications - Enterpri
ternative to Jboss.
>>
>>
>> Regards.
>>
>>
>>
>> -Original Message-
>> From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent:
>> Thursday, March 15, 2007 12:00 PM
>> To: Tomcat Users List
>> Subject: Re: Question on EAR
java.net.UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
Could you post the snippet of code that throws this error?
-Rashmi
On 3/21/07, James liu <[EMAIL PROTECTED]> wrote:
SEVERE: Servlet.service() for servlet jsp threw exception
java.net.Unknow
I don't know where error happen from this information.
It work well when i use winxp+tomcat6(same zip file)+java 1.6
It is index.jsp.
<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor lic
Maybe header.jsp output host cause it happen
Am i right? i m jsp newbie.
<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this
i fix itjust modify my host name
Thk u,Rashmi
your system returns ".chemease.local" as a hostname, and naturally that
doesn't resolve to anything
two options
1. fix your hostname
2. possibly add ".chemease.local" into /etc/hosts to trick the server,
not sure how that is gonna work with the . prefix, but it just might
Filip
James liu wro
gb1071nx wrote:
> I can't see the vote. did it ever happen?
No. There was an issue, I can't remember what, that meant we decided
to leave it as Beta.
> Also, what about 5.0.31 and 5.0.32, which are in the changelog, but I
> can't find any reference to in the archives (well, except this one):
> h
See Thread at: http://www.techienuggets.com/Detail?tx=11977 Posted on behalf of
a User
Nothing to do with Tomcat. Look up the Singleton pattern and it will teach you
what you need.
In Response To:
I have a unique situation where I'm building a polling server for a
Flash/Flex application. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chad,
Chad Lung wrote:
> What I want to do is store information in a few static variables used
> in a servlet. I'm looking for speed more than anything as the clients will
> be polling the server every 2-3 seconds.
I think what you really want is to
> From: Chad Lung [mailto:[EMAIL PROTECTED]
> Coming from ASP.NET experience I know that using
> static variables with IIS they are held in the app domain and
> the app domain
> can be reloaded by IIS for a number of reasons (config files
> changed, files
> changed, etc.) This kinda makes using
That is because you have one session per browser session. If you open a
new tab, and log back in, the session is switched to the new user. If
you open another instance of IE/FF in another process, you should get
another session. if you open another type of browser (Opera, etc.), you
can log in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joshua and Rob,
Joshua Fielek wrote:
> That is because you have one session per browser session.
Or, more precisely, your application is using a cookie to maintain
state, and since the cookies used for both logins have the same
hostname, path, and na
> From: ryoung5367 [mailto:[EMAIL PROTECTED]
> Subject: Re: Question about Session MGMT
>
> I was just looking at how to turn off cookies in the
> context.xml file it added this:
>
>
> cookie
> false
>
That's incorrect. The cookies attribute
I was just looking at how to turn off cookies in the context.xml file it
added this:
cookie
false
Yet I am not seeing the URL rewritting... I was reading the tomcat doco, am
I missing something.
(Please pardon these newbie questions)
Christopher Schultz-2 wrote:
>
> -BEGIN PG
Thanks very, much to all who replied. That works now.
Rob
Caldarale, Charles R wrote:
>
>> From: ryoung5367 [mailto:[EMAIL PROTECTED]
>> Subject: Re: Question about Session MGMT
>>
>> I was just looking at how to turn off cookies in the
>&g
Well technically, tomcat does not write to catalina.out, it writes by
default to standard output. The startup script does a redirect of tomcat
stdout and stderr to catalina.out using the '>' operator.
Now, on unix system, when a file is opened and a handle is retrieved
(here by invoking shell
Thank you very much. David Delbecq!
I think I can solve it with log4j**.
2008/1/12, David Delbecq <[EMAIL PROTECTED]>:
>
> Well technically, tomcat does not write to catalina.out, it writes by
> default to standard output. The startup script does a redirect of tomcat
> stdout and stderr to catal
This seems like a question intended for the Apache HTTPD list, rather
than the Tomcat list, perhaps you could repost it there?
p
Tan, Liao wrote:
All,
My apache installed is has only the mod_jk.sl in the "libexec/" directory.
I want to know what I need to do in order to to configure my cur
Pid wrote:
This seems like a question intended for the Apache HTTPD list, rather
than the Tomcat list, perhaps you could repost it there?
Yes, this is mostly an httpd question. You config snippets look like
they are for httpd 1.3.x, although your version says you are using httpd
2.0.x.
Your
e for httpd 1.3.x, although your version says you are using httpd
2.0.x.". Didn´t see anywhere with 1.3.x version written below.
Txs,
Ingrid
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2008 6:04 AM
To: Tomcat Users List
Subject: Re: Ques
om: Rainer Jung
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 6:04
AM To: Tomcat Users List Subject: Re: Question about mod_ssl & mod_jk
Pid wrote:
This seems like a question intended for the Apache HTTPD list,
rather than the Tomcat list, perhaps you could repost it there?
Yes,
John MccLain wrote:
we currently have 1 project in tomcat webapps dir. We want to add another
project there. The problemn is that we would like to have both projects'
web-inf/lib populated with the same set of libraries (jar files). When we
kick off Tomcat with this configuration,The second cont
You can place common library in common/lib. If that class needs to use
reflection to instantiate any classes in your webapp - it may fail. (But
since this looks to be a standalone utility - that doesn't seem to be the case)
In the case of the reloads - a dll may only be registered once during t
Peter,
If I understand what you described, it looks like your database is ok but
your specification to tomcat is ever so slightly off. Change your server.xml in
a way so that the role elements reference the role table and not users table.
HTH
- andy
[EMAIL PROTECTED] wrote:
Guten Tag Peter
Since rolNameCol is defined as "The name of the column, in the user roles
table, that contains the name of a role assigned to this user.
so you will need 2 tables 'users' and 'user-roles'"
Then you will need to create 2 tables 'users' and 'user-roles' where user_name
is a foreig
[EMAIL PROTECTED] wrote:
> Hi all!
>
> I have got a question regarding setup of a JBDCRealm. I read the HOW-TO
> on Tomcat homepage, and I am wondering about the database structure.
> I have an existing application, and the database it uses has got a table
> 'users'
> with the follwing columns: lo
> From: Carl Olivier [mailto:[EMAIL PROTECTED]
> A lot of people on this forum Top Post.
>
> Is this really such a big issue?
I can sum it up with the following quote:
-- snip --
A: Top posting.
Q: What's the most confusing thing about mailing list messages?
-- snip --
If I'm reading through
I'm not expert, but you should out your Jar file into lib directory
(WEB-INF/lib) of your application.
When Tomcat compiles your class automatically look into lib to find the class.
Bye
On 20/05/07, Rodrigo Pimenta Carvalho <[EMAIL PROTECTED]> wrote:
Hi.
I have a TomCat project and its Java s
Rodrigo Pimenta Carvalho ha scritto:
Hi.
I have a TomCat project and its Java source code can't compile. The problem
is due to an import clause.
This is trying to import Connector class. But I didn't put the respectively
jar file in my classpath.
What is the correct jar file (containin
I don't think so, you may find performance issues I suppose in terms of
time to load classes, and memory limitations will constrain you, but
theoretically I don't believe so.
Xalan is 3MB which is one of the largest we use.
Allistair.
-Original Message-
From: Christopher Molnar [mailto
Reason I am asking is we have a web app that is run on laptops and
then synced with a main server daily. I am wondering if it is better
to (as the thing grows) to break it up into smaller jar files or
continue to leave it as one file. I am currently right at 700KB.
-Chris
(who is doing a ma
I would have thought some Apache [RewriteRule]s would do the trick. Do you use
an Apache web server in front of Tomcat (you seem to suggest so with (c))
Allistair
-Original Message-
From: Alan Honczar [mailto:[EMAIL PROTECTED]
Sent: 23 March 2006 14:06
To: Tomcat Users List
Subject: RES
> From: Christopher Molnar [mailto:[EMAIL PROTECTED]
> Subject: Re: Question on jar file size
>
> Reason I am asking is we have a web app that is run on laptops and
> then synced with a main server daily. I am wondering if it is better
> to (as the thing grows) to break
the StandardSession is not big, I would go back and guess it is your
application.
The key is to read the profiling data correctly, that's where I would start.
Tomcat has been optimized for memory and cpu usage, so 11MB session
objects would have been discovered early on.
John McClain wrote:
I
: Tomcat Users List
Subject: Re: Question about StandardSession and ApplicationContext
the StandardSession is not big, I would go back and guess it is your
application.
The key is to read the profiling data correctly, that's where I would start.
Tomcat has been optimized for memory and cpu usag
Yeah we use it successfully. We've got the following in our server.xml
in the tag:
ldap://ldapname.bc.com";
roleBase="ou=xxx,dc=bc,dc=com"
roleName="cn"
roleSearch="(uniqueMember={0})"
roleSubtree="true"
userBase="o
Hello and thanks for the help. However, now I am receiving this
error in my log
javax.naming.InvalidNameException: cn=domain\uname,ou=Th
Users,ou=Building Users,dc=domain,dc=xxx: [LDAP: error code 34 -
208F: NameErr: DSID-031001AA, problem 2006 (BAD_NAME), data 8349,
best match of:
I
I want to clarify this email a little more. I believe the issue
is the userSearch. Because when I try to connect to my webapp I need to
type in mydomain\username to authenticate against the active directory.
My web app is going to be running on my web server so how to do I get
the filter to
OTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2007 3:55 PM
Subject: RE: Question on setting up LDAP...
I want to clarify this email a little more. I believe the issue
is the userSearch. Because when I try to connect to my webapp I need
Here is my realm I am using in my server.xml file and the web
apps xml file
Corey R. Smith
Information Systems
System Analyst/Programmer
EMH Regional Healthcare System
Office: (440) 326-5228
Pager: (440) 758-6541
Cell:(440) 315-4812
Fax:(440) 329-7792
Visit our web site
Hello and how are things? Well I am convinced that having to
type in the domain in front of my user name is causing the Invalid
escape sequence error in the web apps log. I guess my question is how
can I either remove that domain\ in front of my username before the
realm searches for the ui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
German,
[EMAIL PROTECTED] wrote:
| When I logging in my webApp, I' m been redirected to SiteMinder (that
part
| is ok), then SM redirect me to tomcat (it s mean to the root /),
appending
| some special headers, (and that part is ok).
|
| head
The problem is the next:
I have a webApp (called RS) running in Tomcat;
http://sscllinuxora03.santiago.cl.jpmorganchase.com:8084/RS
Now I put SSO (SiteMinder) to my app, for that I had to use apache,
because the SSO work with apache.
So, the url that I have to use is
http://sscllinuxora03.san
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
German,
[EMAIL PROTECTED] wrote:
| Now I put SSO (SiteMinder) to my app, for that I had to use apache,
| because the SSO work with apache.
Okay, so SiteMinder adds headers to requests that match certain criteria.
| When I go there, I'm authenticate
Hello Christopher
The redirection is in my hands.
If I edit /etc/httpd/conf/httpd.conf:
JkMount / worker1
I'm sent to Tomcat home page (root level /)
---> /TOMCAT_HOME/webapps/
And the special headers are comming.
But... if I edit /etc/httpd/conf/httpd.conf:
JkMount /RS/* worker1
Trying to be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
German,
[EMAIL PROTECTED] wrote:
| JkMount / worker1
|
| And the special headers are coming.
|
| JkMount /RS/* worker1
|
| BUT !!! in this case I lose the special headers.
If it's working for / but not for other URLs, I don't believe there is
any mo
See - http://tomcat.apache.org/faq/classnotfound.html
Odds are you have your own servlet-api.jar somewhere in the webapp or system
classpath and that is conflicting with the one in common/lib (installed by
tomcat)
-Tim
John Poley wrote:
Please forgive my intrusion if this is not the proper
Robert Palmer wrote:
Could somebody help with a question about how to configure
workers2.properties. I have domains www.domain1.com and www.domain2.com.
I would suggest that you use mod_jk instead mod_jk2.
mod_jk2 is deprecated and there was no active support
or development for almost two year
I'd given that a try and compiled the sources (I coulddn't figure out
where to get mod_jk.so from in the binaries). When I restart Apache with
the LoadModule
statement I get,
Cannot load /etc/httpd/modules/mod_jk.so into server:
/etc/httpd/modules/mod_jk.so: undefined symbol: ap_null_cleanup
Robert Palmer wrote:
I'd given that a try and compiled the sources (I coulddn't figure out
where to get mod_jk.so from in the binaries). When I restart Apache with
the LoadModule
statement I get,
Cannot load /etc/httpd/modules/mod_jk.so into server:
/etc/httpd/modules/mod_jk.so: undefined sym
I'm running 2.0.51 of Apache. I build mod_jk with --with-apxs. ??
Mladen Turk wrote:
Robert Palmer wrote:
I'd given that a try and compiled the sources (I coulddn't figure out
where to get mod_jk.so from in the binaries). When I restart Apache
with the LoadModule
statement I get,
Cannot lo
Robert Palmer wrote:
I'm running 2.0.51 of Apache. I build mod_jk with --with-apxs. ??
If your Apache supports dso modules then simple:
./configure --with-apxs=/path/to/apache/bin/apxs
make
make install
will work for sure.
Use most recent stable (jk-1.2.15).
If you are not sure if apache sup
I notice that configure for mod_jk reported it was building a connector
for apache 1.3. I'm thinking the apxs version I have is incorrect. I'm
running Plesk so I'll take
a closer look at what it installs.
Thanks Mladen.
Mladen Turk wrote:
Robert Palmer wrote:
I'd given that a try and compil
[EMAIL PROTECTED] native]# httpd -V
Server version: Apache/2.0.51
Server built: Nov 12 2004 10:10:20
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped a
.lang.Thread.run(Unknown Source)
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: December 6, 2005 6:30 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
See - http://tomcat.apache.org/faq/classnotf
omcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Unknown Source)
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: December 6, 2005 6:30 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundEr
ROTECTED]
Sent: December 6, 2005 11:57 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
I take it you also included j2ee.jar in that search?
--David
Armand Rock wrote:
>Hi,
>I'm getting the same error. I searched m
NoClassDefinition errors are normally thrown if the class or JAR isn't
in the classpath, the only other time this happens is when the
ClassLoader isn't able to load the class path because an exception is
thrown on any static initialisers.
(This is conjecture...) It may be the ServletContext ha
il to avoid pushing down the previous responses
too far. Any more ideas would be appreciated!
- Original Message -
From: "Armand Rock" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, December 06, 2005 12:44 PM
Subject: RE: Question concerning
> From: John Poley [mailto:[EMAIL PROTECTED]
> Subject: Re: Question concerning
> java.lang.NoClassDefFoundError: javax/servlet/ServletContext
>
> I even went so far as to start with a machine with
> no development tools on it, downloading just the
> elements I require
too far. Any more ideas
would be appreciated!
- Original Message - From: "Armand Rock" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, December 06, 2005 12:44 PM
Subject: RE: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
iginal Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: December 7, 2005 7:47 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
> ...and that servlet-api.jar from tomcat is in the path.
You wouldn't happen to be m
. The only files I have added to java/lib/ext are
freemarker.jar and and a mysql-connector jar.
Am I missing something somewhere?
- Original Message -
From: "Armand Rock" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, December 07, 2005 5:32 PM
Subjec
BINGO!
freemarker.jar does not belong in the system classloader. It belongs in
WEB-INF/lib.
[ Quick rule of thumb - putting a lib in java/lib/ext will cause problems 99%
of the time. ]
-Tim
John Poley wrote:
And as for me, since we seem to be having similar issues, I cut out eclipse
Thanks for your help. I resolved this. The version of apxs that Plesk
had installed was for Apache 1.3. I downloaded the httpd-devel package
for 2.0.51 and was able to get this working.
Mladen Turk wrote:
Robert Palmer wrote:
I'm running 2.0.51 of Apache. I build mod_jk with --with-apxs. ??
sping this
classloader thing, apparently =)
Thanks for the help, all!
- Original Message -
From: "Tim Funk" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, December 07, 2005 9:01 PM
Subject: Re: Question concerning java.lang.NoClassDefFoundErro
1 - 100 of 223 matches
Mail list logo