Hi Don,
As Bryan already told you, you should clear the work directory of
already compiled versions.
Antonio
Donald Lee wrote:
I have since downloaded version 4.1.30 and am not experiencing this
problem. I have noticed that there are fewer sub-directories under
the WEB-INF. This leads me
Hi.
How do I run JApplets / Applets with the Tomcat server?
I place the applets in
/WEB-INF/classes/package_name/package_name/JAppeltExample.class, but the browser
can't see them.
/Lars Nielsen Lind
I have only one tomcat instance running on port 50089 but mod_jk2 can't
connect. It require port 8009?
If i try to run ajp connector on port 8009 all runs fine. But I need a
different port.
This is the output log:
[Sun Mar 28 15:06:22 2004] [error] channelSocket.open() connect failed
The updated web.xml below now correctly lists the required security-role
tags, but the only effect was to bring the form.html resource into the
secured area (ie login is requested before accessing this page now), so
I have also modified web.xml to put form.html *outside* the secured area
- thus
Hi,
Class files for applets (or jars) are to be served by the web server
exactly as any other STATIC file.
Place them outside WEB-INF/classes, as anything in that directory is NOT
served.
Antonio Fiol
Lars Nielsen Lind wrote:
Hi.
How do I run JApplets / Applets with the Tomcat server?
I
Thanks Filip. I only found the thread of mails starting March 17 with
the title Horrible memory leak in tomcat 5.0.19 If this is indeed
the mails you advised me to look at, here is what I found out:
Our setup differs in a way that we are using mod_jk 1.2.5 instead of
2.0.2. So mod_jk
Hello Robert,
We are having the same problem with mod_jk 1.2.5 and Tomcat 5.0.19.
However, we cannot downgrade to Tomcat 5.0.18 because of a bug fix
regarding session states. I was wondering, have you guys tried
disableing the JMX registration? Was that indeed the problem?
Thank you very
But then it is possible for third part to download and read the code in the
applet? or?
How do I protect my applets?
/Lars Nielsen Lind
- Original Message -
From: Antonio Fiol Bonnín [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, March 28, 2004 4:29 PM
Subject:
Obfuscators.
http://developers.evrsoft.com/directory/dir.pl?redir=/Computers/Programming/Languages/Java/Development_Tools/Obfuscators/
Doug
- Original Message -
From: Lars Nielsen Lind [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, March 28, 2004 11:30 AM
Howdy,
But then it is possible for third part to download and read the code in
the applet? or?
How do I protect my applets?
No. You need to make your class files accessible only. You do not need
tomcat for this. You can use tomcat as well as apache, iis or any other web
server.
You do not
Look at ROOT/WEB-INF/web.xml.
all web-apps in tomcat 4/5 distributions, are precompiled.
cu Fohrer
On Sunday 28 March 2004 03:31, Donald Lee wrote:
Ok, I know this has got to be a stupid newbie question but I have searched
the archives without success. What is special about the default
Hi Lars,
put the applet in another folder than WEB-INF
I have the same problem, and I put the applet in a diferrent folder and
works.
Dan A.
- Original Message -
From: Lars Nielsen Lind [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 28, 2004 1:18 PM
Subject: Tomcat and
Hi all,
how do I catch http errors with tomcat?
404 Error, 403 Error. I put the same question 2 years ago :) but I forgot
I remember that are some tags in config xml, something like ?
Thanks,
Dan A.
-
To unsubscribe, e-mail:
Dan Agarlita wrote:
Hi all,
how do I catch http errors with tomcat?
404 Error, 403 Error. I put the same question 2 years ago :) but I forgot
I remember that are some tags in config xml, something like ?
You can put this in your web.xml file:
error-page
error-code404/error-code
The spec says using new() is OK. So tomcat does since it is *much* faster
than reflection.
-Tim
Rupert Jones wrote:
Hi there
[Running Tomcat 5.0.19]
I have a servlet which forwards a Boolean object resource
(request.setAttribute(someBoolean, someBoolean);) on to a jsp page. As
you know
Sehr geehrte Damen und Herren
Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich
bearbeiten.
Mit internetten Grüssen
Ihr Shoppingcity.ch-Team
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
No, it's not that big a deal really. I just noticed that there are compiled
class files and a jar file under the ROOT that does not exist in TC4. I
came to the conclusion either right or wrong, that it must be the compiled
class that is actually being loaded not the jsp itself. Since I am
Sehr geehrte Damen und Herren
Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich
bearbeiten.
Mit internetten Grüssen
Ihr Shoppingcity.ch-Team
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Background threads? What can be causing them to occur? If you have any suggestions
on where to look that'll be great.
Thanks
Tom
Tim Funk [EMAIL PROTECTED] wrote:
Sounds like background threads doing bad things or things that the GC can't
resolve as candidate for freeing.
-Tim
tom ly
Sehr geehrte Damen und Herren
Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich
bearbeiten.
Mit internetten Grüssen
Ihr Shoppingcity.ch-Team
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Yes, I did clear my work directory. No diff. The index.jsp just would not
change or even go away despite my deleting it.
From: Antonio Fiol Bonnín [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: I know this is a stupid
Sehr geehrte Damen und Herren
Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich
bearbeiten.
Mit internetten Grüssen
Ihr Shoppingcity.ch-Team
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Tim
I realise the spec says it's ok to use new, however it's a fairly
restrictive implementation.
In fact it means that you can only pass objects through to the JSP page
that have an empty constructor. It is no longer 'all objects'.
Is the performance hit of using reflection 'that much'?
My problem was a port number... changing from 50089 to 8010 jk2 runs
perfectly.
There is some documentation about this? It's normal?
Thanks in advance.
Angelo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Sehr geehrte Damen und Herren
Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich
bearbeiten.
Mit internetten Grüssen
Ihr Shoppingcity.ch-Team
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
After further testing, I believe this is a bug specific to the JBoss
environment (both 3.2.3 and 3.2.4RC1)
Martin
-Original Message-
From: Martin Alley [mailto:[EMAIL PROTECTED]
Sent: 28 March 2004 15:24
To: 'Tomcat Users List'
Subject: RE: post data through form based authentication
Hi,
I am using Tomcat 4.1.29 and deploy/undeploy my webapp with the Tomcat
Manager Application. My webapp uses Struts 1.1, SecurityFilter and Log4J.
The first deploy works fine. Then, when I remove the webapp, the app folder
is not totally removed from the tomcat webapps directory. The folder
If you are still seeing a page that litterally does not exist, then you ARE
looking at a cached version of the page. Stop Tomcat, in Internet Exploder
click tools-internet options-settings-every visit to the page and set
amount os disk space to the min (1MB) and ok. then click delete files under
Dirk,
Have you tried putting these jars in common/lib?
This way they are loaded on Tomcat start-up and will be available to your
app without impacting the deploy/undeploy.
Doug
www.parsonstechnical.com
- Original Message -
From: Just Fun 4 You [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
If I place the applet as a *.jar file in the 'public' area of a web folder -
is it possible to prevent any programs from scanning the Apache/Tomcat
server for extraction of the files (html, jsp, class, jar)?
I want to prevent access by programs to the source files - like /WEB-INF is
protected -
Yes I did do all of this ( i may be newbie to tomcat but not that new to
web/application servers). I tetsted this using both MSIE and Mozilla
Firefox. I also do not experience the problem with my test.jsp that I
placed in the webapps\ROOT folder. This seems to be isolated to only the
--- Jon Wingfield [EMAIL PROTECTED] wrote:
I just looked at the code you posted.
thank's for the t ime Jon
NullPointerException within line 33 of your
LoginServlet
int kode =
Integer.parseInt(request.getParameter(kode));
This will throw an NPE if the kode parameter is
not set..
I don't
Hi,
My Tomcat 5.0.19 configuration is typical. I have got 2 IP addresses
(202.200.xxx.xx1 and 202.200.xxx.xx2) which are pointing to 2 internal IP
addresses (192.68.xxx.xx1 and 192.68.xxx.xx2)
I have registered one domain name (www.mysite.com). The entire site should
work only on https://
I
YEAH!!!
Thank you.
--- David Short [EMAIL PROTECTED] wrote:
Thank you!!! I've been searching all over the place
for the .dll. I loaded
the .so and things seem to be ok so far.
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 10:37
Uma,
First don't take this wrong but I got to ask Why?
Someone with more knowledge will have to chime in to say if this can be
done. But if the goal is to send all request for http://www.mysite.com to
https://www.mysite.com then Tomcat can do this for you. And without two IPs.
For details see;
SH Solutions wrote:
Hi
I get the following errors in apache2s log:
[error] shm.create(): error creating shm 70014 End of file found
[error] shm.create(): error creating shm /isp/apache2.shm
Can someone tell me what to do ?
The shm file mentioned in workers2.properties exists (created using
Doug,
Thanks for the reply. It is just for security reasons out network
administrator has planned to do. So, I need to configure as such. I have
made the settings in the code to see if the user is using http or https and
block the user from using http.
But there should be some way of doing
Thanks Doug and Tim for the input.
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 27, 2004 11:04 AM
To: Tomcat Users List
Subject: Re: How to Secure my Passwd Info from server.xml file?
Cathy and list,
I have been running this one
Hi,
It would be helpful if you provide at least the platform and apache version
running.
We did observe such behavior, but it involve deleting shm file while the
httpd was running, but only on FreeBSD.
The only help was to restart the OS, but then the bug could not be
reproduced any more.
Also
Uma,
I think this will do what you want.
For each connector defined, one for http and one for https use the address
attribute to specify the IP to listen on.
So in the https connector use address=192.68.xxx.xx1 and Tomcat will
listen on 192.68.xxx.xx1 for only https request.
On the http
Hi,
For JSP files, it's easy: instead of the source, they will get the
processed page. If you do not want your JSP to be called directly, place
it in WEB-INF or establish a restriction in web.xml (can't remember at
the moment how this is done, but it is not complicated).
For HTML, if they
Clicked too fast. There is more to come...
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 1:19 AM
Subject: Re: Configuring Tomcat on different IP's
Uma,
I think this will do what you want.
I don't agree or disagree.
But this will break many apps. Mine for example.
Couldn't that be detected at jsp-java time? I believe that would not
hurt that much. In fact... (not having read the spec) ...what's the
whole point of creating the object at that time? IMHO, if it doesn't
exist, just
Doug,
There will be only one site running in the server, so there wont be much
problems. I never created a connector. Can you help me out with this? Any
sample .xml file would be helpful.
Thank you,
Best Regards,
Uma
Hi
It would be helpful if you provide at least the platform and apache
version running.
Sorry. I am using debian sarge and apache 2.0.48.
Also if I understood you correctly, you've created the shm file? Why?
Because it was mentioned to do so on one of the very few really helpful
pages:
Okay to continue,
In the Server element you can declare two services. In one service you would
have the connector for the http and the context for your application. Note
unless someone can tell me how to control which service a context is
associate you will have to put your context in the
I am using Tomcat 5.0.19 and using context tag within the server.xml file
is not recommended. Do you still want me try with this one?
Thank you,
Best Regards,
Uma
Parsons
Doug,
Can you look at this server.xml file to see if I have done everything
correct?
(See attached file: server.xml)
Thank you,
Best Regards,
Uma
Parsons
From: SH Solutions
Also if I understood you correctly, you've created the shm
file? Why?
Because it was mentioned to do so on one of the very few
really helpful
pages:
http://cymulacrum.net/writings/tomcat5/c831.html#JK2_BUILD_MOD_JK2
That's quite outdated. In 2.0.4 we've moved
Hello,
I am using the Basic Authentication in Tomcat and I would like to know if
there is a way of retrieving the username and the password that have been
typed.
Thanks
Elisabeth
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
50 matches
Mail list logo