ty manager + NoClassDefFoundError
On Tue, 24 Jun 2003 02:41, Phillip Qin wrote:
> I solved this problem by including a grant entry
>
> grant codeBase "file:${catalina.home}/webapps/myapp/WEB-INF/struts.jar" {
> permission java.security.AllPermission;
> };
Why isn't it in WEB-I
ty manager + NoClassDefFoundError
Is there a part in your error message that says "Root Cause"? If so, what
is it?
John
On Mon, 23 Jun 2003 14:24:36 -0400, Phillip Qin
<[EMAIL PROTECTED]> wrote:
> Don't know if this mailing list filters my post, try it again.
>
> I am frustrated.
uot;I'm getting
NoClassDefFoundError and it doesn't go away no matter how many times I mess
with my classpath" question, no.
John
On Mon, 23 Jun 2003 14:23:00 -0400, Phillip Qin
<[EMAIL PROTECTED]> wrote:
> Does this mailing list filter words like NoClassDefFoundError o
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:536)
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: June 23, 2003 2:23 PM
To: '[EMAIL PROTECTED]'
Subject: tomcat-user filter
Does this mailing list fi
Does this mailing list filter words like NoClassDefFoundError or security?
The message that I was posting never gets to the list.
Regards,
PQ
"The difference between 'involvement' and 'commitment'
is like an eggs-and-ham breakfast: the chicken was
'involved' - the pig was 'commi
You don't need this line of code at all! Log4J automatically searches for
your log4j.properties.
But, as general practice, try avoiding getRealPath... to get java.io.File,
use getServletContext().getResourceAsStream instead.
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Se
If you use Apache + Tomcat, you need to replace server name in apache's
httpd.conf.
-Original Message-
From: Sam at Yahoo [mailto:[EMAIL PROTECTED]
Sent: June 21, 2003 2:01 PM
To: [EMAIL PROTECTED]
Subject: Apache Web Server + Tomcat Integration with Domain Name?
Hi,
I've integrated my
I run tomcat as service on Debian. All you have to do is
- create a script tomcat in /etc/init.d, refer to scripts in the same
directory, start->startup.sh, stop->shutdown.sh, otherwise exit;
- create symbolic links in rcn.d: K15tomcat in rc0.d and rc6.d, S85tomcat in
rc2.d thru rc5.d
-Orig
Check you ssl.conf.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: June 17, 2003 3:07 PM
To: Tomcat Users List
Subject: Re: ssl keystore
I don't use SSL, but when you stop and start the server, do you clean out
the work directory?
John
On Tue, 17 Jun 2003 11:55:
I strongly disagree with all of you.
Suppose you are upgrading from 4.1.18 to 4.1.24. The unpacked tar will
override all of the contents re admin and install its admin app.
Why don't you guys think of renaming your own admin app to something like
myappadmin?
-Original Message-
From: Jeff
Use web-based Tomcat Manager or ant Catalina tasks.
-Original Message-
From: Steven Garrett [mailto:[EMAIL PROTECTED]
Sent: June 13, 2003 4:42 PM
To: 'Tomcat Users List'
Subject: command line application manger?
Is there such a thing? I see stuff for the application one, but we don't
ha
I just implemented an onlinestore. It emails confirmations to the clients.
You can use any mail server other than HTTP-based (hotmail or yahoo). In
your case, use your ISP's. If you use Tomcat's mail session, define it in
your context xml
mail.smtp.host
If myapp is deployed as a war, how do I create a grant entry in
catalina.policy to allow writing to my log file? I tried
grant {
permission java.io.FilePermission
"${catalina.home}/logs/myapp_debug.txt","write" ;
}
But it didn't work.
Caused by: java.security.AccessControlException: acce
Replace your url with fully qualified url, in Oracle I use
jdbc:oracle:thin:@myhost.myudomain.com:port:sid
-Original Message-
From: Tarek M. Nabil [mailto:[EMAIL PROTECTED]
Sent: June 12, 2003 1:09 PM
To: 'Tomcat Users List' (E-mail)
Subject: JNDI DataSource
Hi,
I'm trying to setup a JD
Edit render method in DefaultServlet class and rebuild Tomcat.
-Original Message-
From: Angus Mezick [mailto:[EMAIL PROTECTED]
Sent: June 12, 2003 9:10 AM
To: Tomcat Users List
Subject: RE: Directory Listing in Tomcat 4.1.24
Well, if he got REALLY ambitious he could go edit tomcat itself
Very old version of jvm crashes after 20k classes are loaded.
-Original Message-
From: Roman Fail [mailto:[EMAIL PROTECTED]
Sent: June 11, 2003 5:10 PM
To: Eric J. Pinnell; Tomcat Users List
Subject: RE: JVM Profilers
We are trying to debug a production system. The JVM crashes occur eve
Try forum.java.sun.com or www.theserverside.com or www.jguru.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: June 11, 2003 4:10 PM
To: [EMAIL PROTECTED]
Subject: Non-Tomcat question
Hi,
Does anyone know of a good java forum I can post my question to?
I ap
Is there a connector called ajp14?
-Original Message-
From: Michele Neylon :: Blacknight Solutions
[mailto:[EMAIL PROTECTED]
Sent: June 11, 2003 5:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie: Apache & Tomcat Configuration.
> Hello All,
>
> Newbie Question:
>
> I believe these questi
Isn't your context's path the alias?
-Original Message-
From: Karsten Krieg [mailto:[EMAIL PROTECTED]
Sent: June 11, 2003 5:27 AM
To: [EMAIL PROTECTED]
Subject: Alias definition in Tomcat standalone
Hi list!
Newbie question: I'm using Tomcat as a standalone webserver (without
Apache) a
Did you start tomcat with start security? If not, some else messed up.
-Original Message-
From: Maxime Colas des Francs [mailto:[EMAIL PROTECTED]
Sent: June 10, 2003 3:23 PM
To: [EMAIL PROTECTED]
Subject: tomcat security
Hi,
Is there a typical security configuration for a web applicati
Agree. Point 2 is for you to manually deploy the webapp.
-Original Message-
From: Ulrich Mayring [mailto:[EMAIL PROTECTED]
Sent: June 10, 2003 7:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat Manager deploy and undeploy
Phillip Qin wrote:
> Just move your .. from server.xml to
Not sure if Catalina.policy will do the trick.
-Original Message-
From: G. Wade Johnson [mailto:[EMAIL PROTECTED]
Sent: June 9, 2003 9:51 AM
To: Tomcat Users List
Subject: Re: Urgent : Can we restrict access to a directory in tomcat
Unfortunately, this doesn't always work.
In the past,
In Tomcat's web.xml, under defaultServlet, change listings to false. It will
disable listings for all of the webapps.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: June 8, 2003 7:02 PM
To: [EMAIL PROTECTED]
Subject: Newbie Q:How to prevent Directory listing in
I do it in my init servlet's destroy method. When I "start" my application,
I use an init Servlet to initialize logger, connection pool etc. When Tomcat
is shutting down, it automatically executes my init servlet's destroy method
where I close the connection pool.
-Original Message-
From:
Having gone thru the source code, I figured out that this init param will
only work with DefaultServlet. I wish we could have something similar to
apache's per-directory disable/enable.
-Original Message-
From: David Legg [mailto:[EMAIL PROTECTED]
Sent: June 9, 2003 5:50 AM
To: 'Tomcat Us
Don't forget to call super.init() first.
-Original Message-
From: bilal sulehri [mailto:[EMAIL PROTECTED]
Sent: June 9, 2003 5:43 AM
To: [EMAIL PROTECTED]
Subject: re. to Thomas.Rimmele( I used param tag just as u said)
>From: [EMAIL PROTECTED]
>Reply-To: "Tomcat Users List" <[EMAIL P
Is this a re-post? I saw some pal posted a very good explaination why you
cann't do it. Are you not reading those posts?.
My suggestion is to use session.removeAttribute(attr_name) or simply set
those attributes to null.
-Original Message-
From: shyam [mailto:[EMAIL PROTECTED]
Sent: June
password
driverClassName
org.hsql.jdbcDriver
driverName
jdbc:HypersonicSQL:database
mail.smtp.host
localhost
- Original Message -
Fro
Simple set the element value to null instead of removing it.
-Original Message-
From: Shyama Gavulla [mailto:[EMAIL PROTECTED]
Sent: June 6, 2003 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: clear user session
--
Hi,
Thanks for the reply. As you have said I was trying to make changes wh
o get undeploy to work either. Where might I go to learn about
>context.xml and most importantly, what goes into it? Examples would be
>great.
>
>Thanks,
>Jim.
>
>Phillip Qin wrote:
> >
> > Having added context.xml, Deploy/Undeploy works perfectly for me now
EXCEPT
Tested. Looks like the web.xml in $CATALINA_HOME/conf is the only file to
enable/disable listings and this init param either enable for all webapp or
disable for all. Any input?
-Original Message-
From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED]
Sent: June 6, 2003 2:31 PM
To: Tomcat Us
My God, having been coding Servlet/jsp for 3 years, never noticed that very
beginning listings=false.
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: June 6, 2003 2:29 PM
To: Tomcat Users List
Subject: Re: directory list
On Sat, 7 Jun 2003 02:28, Phillip Qin
It is Friday. Let's ask some simple questions.
If I don't use apache at all, how do I disable directory listing in Tomcat?
Regards,
PQ
"The difference between 'involvement' and 'commitment'
is like an eggs-and-ham breakfast: the chicken was
'involved' - the pig was 'commi
Is your book out? I couldn't find in local bookstore.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: June 6, 2003 2:19 PM
To: Tomcat Users List
Subject: Re: security of server.xml
Java code can be decompiled. Easily.
Rogue classes can be inserted into improperly
Jakarta.apache.org/struts
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: June 6, 2003 2:09 PM
To: 'Tomcat Users List'
Subject: RE: Struts Framework
Ever heard of Google?
http://www.google.com/search?q=struts
-Original Message-
From: Anitha K Rao [mailto:[
- did you do the Servlet mapping in web.xml?
- Editing CLASSPATH in Tomcat's script only makes things worse. Classloader
is smart enough to load all the necessay jars.
- my CLASSPATH only contains tools.jar and .;
- my PATH only contains $JAVA_HOME and %ANT_HOME/bin
-Original Message-
From
deploy and undeploy
I've been following this thread with interest since I've never been able
to get undeploy to work either. Where might I go to learn about
context.xml and most importantly, what goes into it? Examples would be
great.
Thanks,
Jim.
Phillip Qin wrote:
>
> Having
: June 6, 2003 11:42 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 4.1.24 ignores context settings in server.xml
Phillip Qin wrote:
> I guess you don't have a context.xml bundled with your war.
Yes, I do, in META-INF.
ports http PUT which
>is what the Ant manager task uses to "deploy".
>
>So, make sure you don't mix these concepts and make sure you don't mix up
>"remove" and "undeploy" because mixing them will very likely give you
>unpredictable behavior.
>
>
The bug logged in Bugzilla should be removed since "unable to deploy.."
is not really a bug. It is caused by the absence of the context.xml. In
manager source code, it explicitely looks for the context.xml. If one
exists, every attribute will be added to the context in server.xml except
docBase
After 3 days playing around with Tomcat Manager, I have some lessons to
share with you Paul.
-> If you Deploy, you have only use Undeploy. Install -> Remove. No
exception.
-> You have to create a context.xml and package it into META-INF.
When I deploy:
- war is uploaded to manager/myapp;
- contex
I guess you don't have a context.xml bundled with your war.
-Original Message-
From: Ulrich Mayring [mailto:[EMAIL PROTECTED]
Sent: June 6, 2003 9:34 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.24 ignores context settings in server.xml
Hello,
I've defined a context in server.xml, which
Don't understand your question. Tomcat has built-in mail session jndi
lookup. You can use it in your program. Is that what you want?
-Original Message-
From: Clement [mailto:[EMAIL PROTECTED]
Sent: June 6, 2003 2:53 AM
To: Tomcat Users List
Subject: Tomcat configuring for email
Hello
you don't mix up
"remove" and "undeploy" because mixing them will very likely give you
unpredictable behavior.
Jake
>-Original Message-
>From: Paul Christmann [mailto:[EMAIL PROTECTED]
>Sent: June 5, 2003 1:54 PM
>To: [EMAIL PROTECTED]
>
Because Tomcat Manager deploys webapp from war.
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: June 5, 2003 2:50 PM
To: Tomcat Users List
Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?
Dang it! I knew it was too good to be true. Well
makes no sense unpacking the war.
-Original Message-
From: Paul Christmann [mailto:[EMAIL PROTECTED]
Sent: June 5, 2003 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat Manager deploy and undeploy
> Phillip Qin wrote:
>> - war is uploaded to $CATALINA/work/Standalone/my.hos
bout how the context work and an exemple could
be helpful
thanks in advance
emerson
Phillip Qin wrote:
>Looks like some files are not removed. I had similar problem on Windows, my
>struts.jar under WEB-INF/lib never got removed. Linux is OK.
>
>Try put context.xml into META-INF.
>
Looks like some files are not removed. I had similar problem on Windows, my
struts.jar under WEB-INF/lib never got removed. Linux is OK.
Try put context.xml into META-INF.
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: June 5, 2003 1:28 PM
To: [EMAIL PROTECTED]
Yes, the classes and jars are unpacked to work/my.host/myapp too. I use
Digester to parse my xmls. I'll give getResourceAsStream a try.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: June 5, 2003 1:04 PM
To: Tomcat Users List
Subject: Re: Tomcat Manager deploy and un
I finally had my Catalina-Ant undeploy task working after I included
context.xml into my war's META-INF directory. What this deployment doing is
- war is uploaded to $CATALINA/work/Standalone/my.host/manager;
- war is unpacked into $CATALIAN_HOME/webapps/myapp;
- context.xml is extracted to manage
I found apache wiki's "using jk2 connector" is quite helpful for setting up
jk2 (http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Jk2Connector) and
http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatFAQ/ModJK2OnRedHat makes
me realize that it is not necessary building coyote etc before building
What is your problem? Be specific. I have been using Tomcat 4.1.24 + struts
1.1rc1 without any trouble.
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: June 4, 2003 5:50 PM
To: Tomcat Users List
Subject: Re: tomcat 4.1.24 and struts
On Wed, 5 Jun 2002 05:42, Jan
VM, ClassLoader etc).
Thanks
tim
Phillip Qin wrote:
> Commons-logging is a wrapper. Try use log4j or jdk 1.4 logger for the
> underlying logger
>
> -Original Message-
> From: Tim Shaw [mailto:[EMAIL PROTECTED]
> Sent: June 4, 2003 1:42 PM
> To: Tomcat Users List
&g
Remove didn't delete struts.jar only happens on Windows box. Linux is OK.
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: June 4, 2003 2:03 PM
To: 'Tomcat Users List'
Subject: RE: tomcat manager deploy and undeploy
But remove will not remove your C
List
Subject: Re: tomcat manager deploy and undeploy
I do an ant remove before I do the deploy. That works for me.
Jim.
Phillip Qin wrote:
>
> Did anyone solve "Cannot remove document base for path /mywebapp"?
>
-
Commons-logging is a wrapper. Try use log4j or jdk 1.4 logger for the
underlying logger
-Original Message-
From: Tim Shaw [mailto:[EMAIL PROTECTED]
Sent: June 4, 2003 1:42 PM
To: Tomcat Users List
Subject: Logging help please
Hi,
Does anyone have a link to a FAQ or HOW-TO for using comm
Did anyone solve "Cannot remove document base for path /mywebapp"?
My environment is
Redhat 7.2
Apache 2.0.46
Tomcat 4.1.24
J2sdk 1.4.1_01
I deployed my webapp using Catalina-ant Deploy task. War file was uploaded
to work/Standalone/myhost/manager and unpacked into webapps/mywebapp.
Can you destroy it in your initialization servlet's destroy method?
-Original Message-
From: Guillaume Albini [mailto:[EMAIL PROTECTED]
Sent: March 20, 2003 6:32 AM
To: [EMAIL PROTECTED]
Subject: Problem with a Database ConnectionPool
Hi,
I use Tomcat 4.0.1 with the parameter reloadable
My question is why didn't you use a stable mod_jk build?
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Cameron Hart [mailto:[EMAIL PROTECTED]
Sent: March 2, 2003 11:57 PM
To: [EMAIL PROTECTED]
Subject: Tomcat
I encountered similar errors except that "graceful restart". My errors
usually occur when I open up a new jsp page (yet to compile).
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Ori Tend [mailto:[EMAIL PROTECT
This is not a problem. If I know the answer, I'd love to post.
I think the real problem is some one posts questions without having looking
through the archive or without having going through the Tomcat document.
I am not a contractor of your project. If you ask "how do I do this", I will
definite
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Will Hartung [mailto:[EMAIL PROTECTED]
Sent: February 28, 2003 12:56 PM
To: Tomcat Users Li
talina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Regards,
Pratt
- Original Message -----
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List
I see many problems when you include apache in your Red hat installation. If
you make a clean build, John's document should perfectly meet your
requirement.
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Jeremy
--- Original Message -
From: "Scott, Sean" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 9:39 PM
Subject: RE: Tomcat WAR expansion
> I can't speak for Pratt, but my WAR runs fine without being e
So unpackWars is just a nice feature provided by Tomcat?
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: February 28, 2003 11:08 AM
To: Tomcat Users List
Subject: RE
My Tomcat used to expand my app war automatically. As soon as I added JNDI
stuff (resource) to my context, it stopped expanding my app war and threw
exception. I guess it looks for the resource before it expands my war.
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Kn
War is different from jar. WAR has to be expanded in order to run.
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Scott, Sean [mailto:[EMAIL PROTECTED]
Sent: February 28, 2003 11:02 AM
To: 'Tomcat Users List'
Probably it's being cached by your browser. Try close and re-open your
browser.
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: February 27, 2003 2:44 PM
To: [EM
What's in your web.xml?
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Sébastien Col [mailto:[EMAIL PROTECTED]
Sent: February 27, 2003 1:37 PM
To: Tomcat Users List
Subject: RE: JNDI Datasource failed to start
301 - 370 of 370 matches
Mail list logo