at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:613)
There can be two causes. Either there is a
Hi,
In my web application there are 2 webapps and single login for both.
And in UI we are given links to different modules of both webapps.
Actually the end user is not (should not be) aware of 2 webapps.
The problem what I am facing is, If someone try to work/use continuously
in one webapps
Sure, it it in the attachment. But, I don't understand what this XML file
have to do with Tomcat and JSP compiler errors? I suppose I have to copy my
JAR or my classes into some Tomcat folder, so Tomcat could find them, but I
don't know which folder? I have already copied it into
Terry Allen wrote:
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:613)
There can be two
Terry Allen wrote:
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:613)
There can be two
Terry Allen wrote:
Anything in the logs for this new setup?
Nix.
Hi again,
Okay, I've included the last log entries from a few logs as listed
below - the other logs in that directory contain only information
about startup notification etc... apologies if this is not the right
way to
I'm using Tomcat 5.0.28 and when I try to access to word documents, excel
documents it is interpreted like binary stream and not like the correct
application (Word, Excel).
I've declared mime-mapping int the conf/web.xml file and in the web.xml file of
my application.
What is strange is that
Hi Mathew,
this comes up every so often, so here is just the answer, which I posted
some time ago:
First of all the session is ALWAYS on application scope, this is not an
Tomcat specific behaviour but a requirement of the Specification:
SRV.7.3 Session Scope
HttpSession objects must be scoped at
I have been keeping an eye on this thread because I have a similar issue
which I raised under a separate thread on Friday. I note your comments re
crossContext and use of context.getContext(name). Please can you tell me
the conditions under which this will NOT work ? I am attempting to do
Hi,
I want to enable log4j logger in one of my tomcat instances. I copied
log4j-1.2.12.jar to my webapps - war file.
This means, under WEB-INF/lib, copied jar file and under WEB-INF/classes,
copied log4j.properties. Later, re-sreated warfile and started my tomcat
instance.
log4j.properties :
Hi All,
I have some trouble with auto-re-compilation of JSPs if the expanded webapp
directory structure sits outside the tomcat directory strucutre. What is
wrong with that?
Under conf/engine/localhost I have configured a myapp-context.xml with the
following content:
Context
Flks,
Herez a stack trace in the tomcat environment ( Windows 2000 / J2SE
1.4.2_09 / Tomcat 5.5.12 ). Every request processed results in this trace.
However, the image gets rendered fine. Seems like the problem is because of
the new line characters in the JSP. If I compact the JSP
Radhakrishnan J wrote:
PS: This JSP is deployed as part of a struts application, and for
certain reasons, I'd like to use an action-JSP combination to stream the
image instead of simple serlvet.
It would be much better to use pure servlet instead of JSP (which turns
into servlet
Hi,
Im about to set up a web application running Tomcat.
The application will handle a simple user account information, etc.
Some data will need to be encrypted before storing it into a database.
I will use AES for encryption/decryption.
A password will be used as a phrase/key.
Now where can
How do I go about finding out the proper mime-mapping for WordPerfect or any
other application? Is this a site I can access to give me this information?
I tried with
mime-mapping
extensionwpd/extension
mime-typeapplication/vnd.wordperfect/mime-type
/mime-mapping
and all I
I have problems running JSPs on Tomcat. I'm using latest release. I got
compiler error that some imported classes could not be found. Where should I
copy those classes? In the lib folder? Do I need to edit some configuration
(xml) files also?
Just out of curiosity, what is JAVA_HOME?
On Nov 21, 2005, at 4:49 AM, Nikola Milutinovic wrote:
Terry Allen wrote:
Anything in the logs for this new setup?
Nix.
Hi again,
Okay, I've included the last log entries from a few logs as
listed below - the other logs in that directory
From: Terry Allen [mailto:[EMAIL PROTECTED]
Subject: Re: New Tomcat install problem
I just reinstalled the iTools module after my changes, which
has had the result of being able to view the Tomcat homepage on my
server.
You might want to try going back to the basics: remove
Anthony Carlos wrote:
Just out of curiosity, what is JAVA_HOME?
JAVA_HOME is an environment variable, that should contain the path to
the installed JDK or JRE. Since you're using TC 5.5, you can point
JAVA_HOME to a JRE (5.5 comes with Eclipse Java Compiler). Older
versions had to have a
From: Milan Tomic [mailto:[EMAIL PROTECTED]
Subject: RE: Calling EJBs
I suppose I have to copy my JAR or my classes into some
Tomcat folder, so Tomcat could find them
If you're running JBoss, you have to follow the JBoss deployment rules,
not Tomcat's. The environment is quite different.
I have tried many different combinations including application/wordperfect. If
I click on a .wpd file it does open WordPerfect as expected. The mime mapping
behaves differently using Firefox, it asks me do I want to open the file using
WordPerfect.
So here is the questions What mime
From: Antony GUILLOTEAU [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.0.28 : mime type
I'm using Tomcat 5.0.28 and when I try to access to word
documents, excel documents it is interpreted like binary
stream and not like the correct application (Word, Excel).
I've declared mime-mapping
Hello
If I have changed the default admin manager
passwords and have a personal firewall preventing
anything other than http http:8080 access, is it
still possible for people to view the tomcat-users.xml
file? With only those two protocols open (plus udp 53
for dns)it should be impossible.
Thanks.
I've found in my registery base on the
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type topic all what I
nedd (all mime type are specified).
Antony
[EMAIL PROTECTED] 21/11/2005 16:26:47
From: Antony GUILLOTEAU [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.0.28 : mime
Hello,
I am having some real problems with configuring my site to the internet.
I created a site on my PC, using Tomcat 5.5, and throughout development/testing
I would call the site like so:
http://localhost/mySite
and all was good.
I purchased a DNS name from Register.com and configured my
Nick (and others),
Do you know which mailing list is for JBoss?
Thank you,
Milan
-Original Message-
From: Duan, Nick [mailto:[EMAIL PROTECTED]
Sent: Monday, November 21, 2005 4:49 PM
To: Tomcat Users List
Subject: RE: Calling EJBs
1. If you access an EJB app from another server, your
From: Antony GUILLOTEAU [mailto:[EMAIL PROTECTED]
Subject: Rép. : RE: Tomcat 5.0.28 : mime type
I've found in my registery base on the
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content
Type topic all what I nedd (all mime type are specified).
The registry entries don't seem to
Here is the actual server.xml file:
Server port=8005 shutdown=SHUTDOWN
Listener
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
Service name=Catalina
Connector port=80 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
Hi,
I am having a problem in using Security(JCE) packages in an Applet. I am
using IE and TomCat5.0 for deployment.
The same piece of code(reproduced below) run as a Java Application in
Eclipse works fine.
However, when the same applet is loaded through a .jsp page in IE, the
following
Scott Purcell wrote:
Engine name=Catalina defaultHost=localhost
Host name=www.mySite.com appBase=webapps/
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context path= docBase=/mySite /
/Host
/Engine
So, what's the
I do not understand your comments. Could you give me a link to what part of the
docs you are referring to?
-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Monday, November 21, 2005 11:00 AM
To: Tomcat Users List
Subject: Re: Re site problems, here is server.xml
TestMe.class is not the file created.
Look in $TOMCAT_INSTALLATION/work/. It'll probably be called TestMe_jsp.class
-Tim
Milan Tomic wrote:
I have created simple TestMe.jsp page and when I open it in Tomcat, I can
see it OK. The problem is that I can't find, using WinXP WE search engine,
Hello List!
One morning my tomcat server went down and I got the following in the logs.
Can anybody tell me if the out of memory error could have anything to do
with the server crashing?
I'm running the application with JAVA_OPTS='-Xms512m -Xmx1500m'
Thanks in advance and HAPPY THANKSGIVING.
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: RE: Re site problems, here is server.xml
I do not understand your comments. Could you give me a link
to what part of the docs you are referring to?
http://tomcat.apache.org/tomcat-5.5-doc/config/index.html
Read up on the three
Scott Purcell wrote:
I do not understand your comments. Could you give me a link to
what part of the docs you are referring to?
http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html
-- look at the entry for 'defaultHost' --
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
Thank you. With your help, I found it. :)
I still have a problem that I can't use my custom classes in JSPs. I am
beginner with Tomcat and JSPs. I have created one simple class:
public class TestClass
{
public TestClass () {}
}
and compiled it. Then I copied it (TestClass.class file) into
Chapoor Chapoor wrote:
Now where can I store this key? and still have good security.
Good is a relative term. You need to do a threat assessment to
identify your threats and then mitigate them until the risk level
reaches an acceptable level. I would be *very* surprised if this
included not
And make sure that the imported classes are part of some package
Mike Sabroff
Web Services Developer
[EMAIL PROTECTED]
920-568-8379
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, November 21, 2005 12:55 PM
To: Tomcat Users List
Subject: Re: JSPs on Tomcat
Thanks Wade. I agree that the bottom line is you need the resources to
support the processing. But I guess my question was whether or not the
clustering/load balancing provided within tomcat was an option to consider
based on others' experience with it and the fact that my resource drain is
I've done a similar setup (for what I understand) and have never ran
into trouble and dont have to touch server.xml at all.
I just do a /'ln -s/ ' to whatever filesystem or dir my webapps will
reside and presto! the link's name is webapps of course. I just copy the
manager, admin, ROOT and
Radhakrishnan J wrote:
Eclipse's Debug UI shows the breakpoints threadwise. If these executions
are happening over different threads, thats one way to tell the difference.
It's not the thread that's the issue - it's which _webapp_ it's
currently executing. That's what the OP cared about -
Hello,
I am completely lost in trying to configure my Tomcat 5.5. I have read the docs
under Context, Engine, Host, and am having trouble putting the
information to use.
I have one webapp that I need to configure to a DNS Entry.
Below is my server.xml. My DNS is www.theuniquepear.com and it
Smells like a webservice classic. You can use a webservice to do the high
level talking. Then use Apache Axis to implement it. That gives you the
freedom to choose whatever mechanism fits best for the actual connection.
It would allow for a in memory transfer if you are in the same jvm or a
Radhakrishnan J wrote:
Eclipse's Debug UI shows the breakpoints threadwise. If these executions
are happening over different threads, thats one way to tell the
difference.
It's not the thread that's the issue - it's which _webapp_ it's
currently executing. That's what the OP cared about -
44 matches
Mail list logo