The type in Java is a combination of a fully qualified class name and its
defining classloader. So the two objects with the same class name are
considered different types in your two web applications because each web
application is loaded by the dedicated webapp classloader.
To solve your
Hi,
try to register Tomcat as service with nice GUI.
GUI is Tomcat Service Manager
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview
regards
Matej
David Kerber wrote:
Does anybody have a script to create a tomcat service on windows 2000?
I'm
hello
i would like to know how to set the context path in
tomcat5.5.9 hi
I also read something and a build.properties file
and i dont know how to do this too.
please i need help on this cause i cant see my
application file when i give in the uri
http://localhost:8080/myApp
What about using JNDI to share objects between webapps?
I think that:
init(){
...
String context = java:comp/env/;
InitialContext ic = new InitialContext();
ClassX c = (ClassX) ic.lookup(sContexto);
...
}
should return the same object to different servlets/webapps, if you define
the
Hi,
I'm trying to have one connector on tomcat 5.0.x open with secure=true
with
out it being SSL or https. I just want request.isSecure() return true.
This is the setup for the connector :
Connector port=9020
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
Murali schrieb:
Hi ,
Can you someone provide me some information on how to precompile JSPs
(probably thousands of JSPs) ?
Regards,
Murali
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html
-
To
Hallo,
Is there a restriction on renaming/deleting .gif (as example) files
(with Java File class) under tomcat5 (.xml etc works)? With exactly the
same programs under tomcat3, there is no problem (i.e.: shouldn't be a
program error).
rgrds
Kurt Spescha
Consor AG, CH-8006 Zürich
+41 (0)44 368 35
Hi friends,
I have installed Netbeans 4.1 which has jakarta-tomcat-5.5.7
bundled with it. Tomcat is working fine but logs are not being created. My
system OS is Windows XP. How can I get logs?
Please advice.
Thanks regards,
Mukesh Kumar
Put it in a package ... http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Tim
Goo GGooo wrote:
On 10/4/05, Wendy Smoak wrote:
From: Goo GGooo [EMAIL PROTECTED]
An error occurred at line: 1 in the jsp file: /name.jsp
Generated servlet error:
UserData cannot be resolved or is not a
chainsaw
- Original Message -
From: Leon Rosenberg [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Sunday, October 02, 2005 1:17 PM
Subject: Re: log4j log viewer for tomcat
lf5
regards
Leon
On 10/2/05, matador [EMAIL PROTECTED] wrote:
win200x
tomcat
Hello everyone,
i have a short urgent question: i would like to know if i can use my tomcat
with a mysql based RealM to restrict access to some directories ?
Thanks
YEL
Greetings From Cologne
__
Verpassen Sie keine eBay-Auktion und bieten Sie
Hi,
I'm an absolute beginner in setting up services on Windows box.
Please, bear with me if my questions seem stupid.
I have a windows XP machine, I'm using Oracle Java Developer for java
develpment, I'm using Quartz as a scheduler. We will be transferring our
application to a Linux box
What is u r declaration in web.xml file.
If you give any alias name then you have to use that in u r URL.
http://localhost:8080/app/anyaliasname.
Parthi
On 10/3/05, Andrew Pierce [EMAIL PROTECTED] wrote:
Hello. I realize this is about the stupidest question I could ask but,
I've scoured the
Hi I am migrating my apps from a server running Tomcat4 on a RHEL3 to a
Tomcat5 installation of a FC4 box.
The apps work on the TC4 box but I am getting the following on the TC 5 box
when I try and run anything.
Can someone point me to any migration docs.
I have the jt400.jar installed at
From: Andrés Glez. [mailto:[EMAIL PROTECTED]
Subject: Re: ClassCastException while sharing objects accross
applications
What about using JNDI to share objects between webapps?
Won't change anything, due to the previously noted classloader-specific casting
issue. What should work
I have some demo apps on http://simple.souther.us that you can run.
They're all war files so all you have to do is download to your webapps
directory.
SimpleServlet.war is your basic Hello, World app in a servlet.
On Mon, 2005-10-03 at 21:49, Andrew Pierce wrote:
Hello. I realize this is
To add the context path, you need to edit the $TOMCAT_HOME/conf/server.xml file
and these lines:
Host name=www.yourdomainname.com debug=0 unpackWARs=true
Context path=/myApp docBase=/where/you/store/your/apps debug=0
reloadable=true crossContext=true /
/Host
Hope this help...
---Trung
From: Trung Nguyen [mailto:[EMAIL PROTECTED]
Subject: RE: setting the context path in tomcat5.5.9?
To add the context path, you need to edit the
$TOMCAT_HOME/conf/server.xml file and these lines:
This completely ignores the admonition in the Tomcat doc:
Please note that for tomcat 5,
%
pageContext.getRequest().???
List userRoleList =
UserRoleService.getInstance().getUserRoleList();
%
I fail to find getRemoteUser() in pageContext.getRequest
after login with JDBCRealm.
I'd like to pass it in as a parameter in getUserRoleList().
Thanks
%
String user = request.getRemoteUser();
%
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 October 2005 15:34
To: Tomcat Users List
Subject: How to get login username with pageContext?
%
pageContext.getRequest().???
List
In an issue related to this and the documentation cited below, my attempts
to create a Context in the
META-INF/context.xml were not successful, that is, I could create the
context.xml file but the attributes did not seem to take affect. I could set
them in the
I have looked at the source code and it seems to me that presented
client certificates are only checked for their validity dates, and NOT
for whether they have been revoked. I am able to access my Tomcat site
with a revoked certificate.
It is easy to implement OCSP and/or CRL checking, so I
It is blank if it is printed like this
%
String user = request.getRemoteUser();
%
c:out value=${user} /
2005/10/4, Raghupathy,Gurumoorthy [EMAIL PROTECTED]:
%
String user = request.getRemoteUser();
%
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
From: Stephen Faustino [mailto:[EMAIL PROTECTED]
Subject: RE: setting the context path in tomcat5.5.9?
my attempts to create a Context in the META-INF/context.xml
were not successful, that is, I could create the context.xml
file but the attributes did not seem to take affect. I could
set
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Re: Script to create tomcat service on windows?
Do they still work?
Yes, they still work. (It probably would have taken you less time to
try it than to e-mail the question.) I've never seen a justifiable
Does anyone have a sample initial context setup that works with jboss
external? Do I need to create a resource for the context that will be
performing the JNDI lookup in the conf/server.xml file? I have read
all
the docs and scoured the net but cannot find a solution.
Hi
I've got a servlet which works fine when using http. But when I want to access
it through https I get a certificate unknown exception. Why does
https://localhost:8443 work in a browser but accessing my servlet (with java
client) not? Do I need to make my servlet SSL aware? Using another
hi i'm not sure if this will help you but i have hade a quite similar issue :
i have passed a full URL a param Vlaue in my web.xml something like
http://localhost:8080/MyServlet
both http and :8080 are specifying a differnt port number than the ssl port so
if you are performing such a call you
Many articles talk about how access https using java client throws
HttpsURLConnection.
You must use :
- your own TrustManager (implements javax.net.ssl.X509TrustManager)
- your own KeyManager (implements javax.net.ssl.X509KeyManager)
- your own HostnameVerifer(implements
Hi, thanks!
I've got my own TrustManager/HostnameVerifier and it works when I use Apache's
SecureWebServer and SecureXmlRpcClient. I'm not using javax.net.ssl, but
instead com.sun.net.ssl - couldn't make it work with javax.net.ssl. Is the code
below necessary for the servlet as well? Thought
If I'm reading it correctly, according to the docs, I should be able to
set an environment variable in server.xml, like the built-in example:
Environment name=simpleValue type=java.lang.Integer value=30/
Unfortunately, I can't get this to work; I can't read in simpleValue, or
the ones I
What Chuck says is right.
This approach has a few gotchas though, especially if ClassX is complex
and references many other objects loaded from the same (WebApp)
classloader. You can end up with a lot of classes up in the common
repository. -o
Make ClassX an interface, if you can. That way
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old
This is a bug that is fixed in 5.5.10+
Mark
Reynir Hubner wrote:
Hi,
I'm trying to have one connector on tomcat 5.0.x open with secure=true
with
out it being SSL or https. I just want request.isSecure() return true.
This is the setup for the connector :
Connector port=9020
Tomcat 5.5.9:
What is tomcat.log and how is it created?
Peiyun Jiang
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi, I have changed my version of tomcat (before 4.0.28) to v.5.5 but my old
application (works in old tomcat) doesn´tt work in the new version ,
I don´t know what to do about it , when I start my tomcat I receive this
message.
java.lang.reflect.InvocationTargetException
at
James Rome wrote:
Why don't my methods get called? The start() method gets called, but
nothing else.
Take a look at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/authenticator/package-summary.html
Mark
Yes, using the shared classloader seems like an obvious and easy option for
sharing the objects between the web applications. However, like the previous
author notes relying on the classloader can bring up some issues like
introducing new dependencies and reducing the web application
Hi:
I am resending this question since I did not get any
answer last time.
We've just migrated Tomcat from version 4.06 to 5.5.9
and found that the configuration variable
'acceptCount' under 'Connector' element takes no
effect.
For example, if I set acceptCount to 1000 but leave
maxThreads
[ANNOUNCE] Dear Tomcat-Users,
Customers who have purchased qualifying Altova XML Products, including
Altova XMLSPY 2005, Altova XMLSPY(r) 2004 (Enterprise or Professional
Edition), Mapforce(r) 2005, Mapforce 2004 (Enterprise or Professional
Edition), on or before October 1, 2005 can now obtain a
David,
Just in case you haven't done this yet, have you checked to see if the
environment variable shows up as a catalina:type=Environment MBean? if so you
should be able to access it. Hope this helps.
- andy gordon
David Kerber [EMAIL PROTECTED] wrote:
If I'm reading it correctly,
Anyone have any thoughts on this?
On 9/30/05, David Johnson [EMAIL PROTECTED] wrote:
Hi all.
I think I'm doing something wrong. I'veadded the following to my web
application to use http-basicis there anything else I need to do to ensure
anyone logging in like this has full access to the
Hi everybody, i need help from you
I am trying to install a webapp in Tomcat (AlovMap) , I have set up some
others apps on it, but this time i dont know what is happening... i am using
FreeBSD 4.11-STABLE with Tomcat 5.0.29
The application is a map server called Alov Map (http://alov.org)
It
David,
You post is missing some key information before anyone here is going
to be able to help you.
What happens that you don't expect to happen?
What doesn't happen that you do expect to happen?
Mark
David Johnson wrote:
Anyone have any thoughts on this?
On 9/30/05, David Johnson [EMAIL
Hi, I am using Tomcat and I have the following problem: when I develop
and test my
applications on my local computer everything is OK. But a few days
ago, when I
uploaded my .war file to the server where I host my domain something
is wrong. A request to the first(index.jsp) page returns nothing in
Liubomir
I have experienced the same problem.
Are you including any servlets in this JSP? Or are you using any
filters? Any java type that has been pre-compiled locally, is what I am
basically asking? If so, you will have a major/minor mismatch.Best to
develop and compile to the same version
I am going through a tuturial on setting up JAAS with Tomcat. It says to
modify $CATALINA_HOME/bin/catalina.sh or $CATALINA_HOME/bin/catalina.bat.
The edit it suggests is something like this:
JAVA_OPTS=-Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas-myfile
.conf
Where would a change
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Subject: Where'd catalina.sh go in 5.5.x ?
Where would a change like this be made in Tomcat 5.5.x?
In the same places. However, the scripts are not included in the .exe
download for some reason, but are in the .zip version. (I haven't
Hm, in my 5.5.9, it is in the bin directory...
Larry
On 10/4/05, Barnett, Brian W. [EMAIL PROTECTED] wrote:
I am going through a tuturial on setting up JAAS with Tomcat. It says to
modify $CATALINA_HOME/bin/catalina.sh or $CATALINA_HOME/bin/catalina.bat.
The edit it suggests is something
I do have the .exe download so this would explain it. I'm not sure what this
means though. Does it mean all the .sh, .bat, .properties, .xml, etc., files
are not needed? Does it mean that if I download the .zip and put them there
that they will be used?
Currently, I only have five files in
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Subject: RE: Where'd catalina.sh go in 5.5.x ?
Does it mean all the .sh, .bat, .properties, .xml, etc., files
are not needed?
Only the .bat and .sh files are missing from the .exe version. The
others are all there, in their appropriate
That was it - thank you very much - dave
David Thielen
www.windwardreports.com
303-499-2544
-Original Message-
From: andy gordon [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 10:27 AM
To: Tomcat Users List
Subject: Re: Asking again: index.jsp and virtual directories
I wish they'd put those files back in the .exe distribution, if only
to save work for Chuck!
--
Len
On 10/4/05, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Subject: Where'd catalina.sh go in 5.5.x ?
Where would a change like this be made
OK. So when running Tomcat as a service, I go into the Configure Tomcat
application and make the setting on the Java tab under Java Options. I'll
try that.
Thanks,
Brian
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 04, 2005 4:50 PM
To:
Hi all,
I'm trying the following , with Tomcat 5.5.12 ( Also with 5.0.30 ) ,
and after reading the request.getReader(), the
request.getParameter(param) is unusable, returning null.
I'm trying setting a mark in the BufferedReader, but the result it's the
same.
Any hint?
public void
Nope, never heard of that one. I'll see if I can figure out how to get
at that type.
andy gordon wrote:
David,
Just in case you haven't done this yet, have you checked to see if the environment variable shows up as a catalina:type=Environment MBean? if so you should be able to access it.
Hello,
I am using Tomcat 4.1.29, with Coyote HTTP Connector.
After a few hours of uptime, I get an error on the log
telling that all threads are busy. The workload is not
high on the server.
Getting a dump of Tomcat Threads I see that most of
them are stuck in a read() method on the socket:
if you are using 5.5x you can look at the mbean with jmxproxy which is part of
the manager app.
David Kerber [EMAIL PROTECTED] wrote:Nope, never heard of that one. I'll see
if I can figure out how to get
at that type.
andy gordon wrote:
David,
Just in case you haven't done this yet, have
58 matches
Mail list logo