Asif Chowdhary wrote:
Hi,
Apache running on linux with mod_jk2
Tomcat on windows. Running
Do I need to create a map to the shm file defined on the Linux server.
No.
What is the purpose of this file and what is the recommended size?
That file makes sense in a situation where Apache and Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am Thursday 27 November 2003 16:49 schrieb Stuart Stephen:
Why not use apache mod_rewrite ?
You need to have apache (and jkwhatever) up and running for this ;-)
Mit freundlichem Gru / With kind regards
Holger Klawitter
- --
lists at
Hi all,
I have a an application that depends on session timeout to manage security. If I
continuously navigate through the different jsp pages of the application and then
logout, everything is ok, but if I leave any of the pages untill the session timesout,
then there is a great possibility
Hello there,
I'm currently in the process of configuring Tomcat. The network
configuration is a bit above avarage:
The Tomcat 5.0.14 server serves a site at 192.168.0.15:8085/Site/
The http requests come in to the router. The router is running Apache
1.3.22, and uses ProxyPass and
Is GZIP-encoding/mod_gzip avaliable in Tomcats web server?
-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
Remember, all JSPs get converted to servlets before being compiled.
If you want to see how to mimick JSP functionality in a servlet, look at the
generated servlet code in your TOMCAT_HOME/work directory.
On Thursday 27 November 2003 07:24 am, you wrote:
I'm wondering what the servlet
you can, insert your war's file under the folder webapps,
and them you can start of your webserver.
Or you can use the manager application to deploy from a browser.
Or you could write an ANT script to deploy.
On Thursday 27 November 2003 07:25 am, you wrote:
Hi,
you can, insert your war's
Hello there,
I'm currently in the process of configuring Tomcat. The network
configuration is a bit above avarage:
The http requests come in to the router. The router is running Apache
1.3.22, and uses ProxyPass and ProxyPassReverse to forward the request to
the Tomcat 5.0.14 server running on
One way would be to register the jsp/s in your web.xml and include the
load-on-startup/ tag. Your entry in the web.xml would look as follows:
servlet
servlet-namestart/servlet-name
jsp-filestart.jsp/jsp-file
load-on-startup1/load-on-startup
/servlet
For the following jsp,
I use the following Ant build file to precompile all jsps to work dir. I
prepared this based on another post in this list. All the jsps are converted
to java and then to class files.
project name=myapp default=all
basedir=E:\Tomcat4.1\work\Standalone\localhost\myapp
!--Simple build file to
public class myServlet extends HttpServlet
{
}
Error:
C:\myServlet.java:18: cannot resolve symbol
symbol : class HttpServlet
public class myServlet extends HttpServlet
^
Output completed (6 sec consumed) - Normal Termination
My PATH is
add C:\Inetpub\wwwroot\tomcat\common\lib\servlet.jar to classpath variable
-Original Message-
From: V B [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2003 4:37 PM
To: [EMAIL PROTECTED]
Subject: Path and HttpServlet compiling error
public class myServlet extends HttpServlet
{
}
hello,
i installed a .war-file with manager. i noticed, that in server.xml
there was no entry for the corresponding context afterwards.
i wanted to do it with the tomcat-admin-page, i got the message, that my
alterations were saved. but then again: no context in server.xml.
must i do it by
Hi
Sorry but I don't understand what you are trying to do,
could you be more explicit, then maybe we can help :-)
dont bother, it was just a dumb idea.
the problem was, I had one tomcat (A) pointing at
/usr/local/websites and another one (B) pointing at
/usr/local/websites/mmbase
mmbase is a
Hans
I personally have not used the admin or manager to make these entries and
have been doing them by hand. The entry in the server.xml will be something
like:
Context path=/meccafemme docBase=meccafemme debug=0
reloadable=true /
Kind Regards
Schalk Neethling
Web
Sorry if off topic but...
What do people use to edit JSPs?
I'm after an editor, free if possible, to run on windows, with syntax
colouring and possibly auto complete for java.
Have tried vim for windows, but it doesn't seem as nice on windows as it
is on linux.
Any other suggestions?
Cheers
Hi,
I don't use it because I am too used to my own editor (EditPlus) but one of
my colleagues uses Macromedia Dreamweaver and it is really fabulous.
I can't even begin to list all of it's amazing features. If you are looking
to get the right editor this is what to go with.
Andoni.
-
Hi all,
I have installed apache already and now installed tomcat,
tomcat connector .Tomcat starts and the test pages r all
working.but when i start apache it is giving the following error.
./apachectl start
Syntax error on line 4 of /RAID/usr/geeta/software/jakarta-tomcat-4.1.27/conf/au
Cannot
hi,
thank you for your mail. i tried it out but found that it was no
solution (as i hoped) to my other problem (i posted it already): the
jsp:include... doesn't work. you asked me, if i used web.xml or
direct-call.
what can i do here else?
greetings
hans
Schalk schrieb:
Hans
I personally
You don't need to do it at all. Tomcat will create a default context in
memory if it finds your war file in the right place.
If you do want to specify things about the context you will need to add a
section to server.xml. If you want to do this I recommend you first remove
all the comments and
You don't have to instruct the user to do this. Just have login form as a
hidden form and fill (and submit) it using JavaScript. You can get the
values from a login form you call whatever you like and then append whatever
you like to the end of each of the username and password.
This does sound
www.jedit.org
www.eclipse.org
Both are free and up to the task.
Andy
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 09:54
To: Tomcat User List
Subject: JSP Editors
Sorry if off topic but...
What do people use to edit JSPs?
I'm after an editor, free
JIDEA is also best .by using this u can go through internal java scource
code and also option to remote debug ur servlets by using tomcat
-Original Message-
From: Bodycombe, Andrew
To: 'Tomcat Users List'
Sent: 28/11/2003 3:48 PM
Subject: RE: JSP Editors
www.jedit.org
Hi,
I've notice that Tomcat (v.4.1.29) does not release memory on session
invalidate event...
I try to create many session (with a stress tool like grinder) and i've set
session life time to 1 minute.
Tomcat memory occupation stretch to increase ... inexplicably, in my
opinion.
When destroy
Hans
Do you use your web.xml file at all to do any servlet mappings etc.?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web:
Weird enough, if I leave the page trying to load (for a long time, almost 30 minutes
or more) it eventually properly displays its contents, although when I check the
server status during the loading of the page, the server indicates that there are no
active sessions (all timed out).
Thanks.
Hi,
I successfully installed JK(isapi_redirect.dll) and is working fine with
Tomcat 4.1.27 and IIS5 on Win2k. I tried JK2(isapi_redirector2.dll).(I dont
know which is JK and JK2)
Followed all steps given at the connectors page but the DLL is not loaded. A
red arrow is shown at the left. And no
i started java-programming with netbeans 3.2. i never had the problem to
do something with web.xml but everything was running.
then i upgraded to 3.5 and nothing ran! so i had to learn something
about servlet-mappings in web.xml. but it's only a basic knowledge.
although everything now is
Yes, but there it is just used in a call to JspFactory.getPageContext()
where the J2EE documentation says the needsSession parameter should be
true if the JSP participates in a session.
I wonder whether the session is always created by default or whether it
sometimes honestly doesn't get
Yes, but if they happen to have javascript disabled, they will get very
confused!
On 11/28/2003 11:23 AM Andoni wrote:
You don't have to instruct the user to do this. Just have login form as a
hidden form and fill (and submit) it using JavaScript. You can get the
values from a login form you
¿Any of this editors you mentioned (or other)supports step by step
debbuging in JSP
¿or simply debugging?
David Sierra Fernández
e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Mensaje original-
De: Shanta B [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 28 de noviembre
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html
or
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/coyote.html
See property compression.
-Tim
Ron Andersen wrote:
Is GZIP-encoding/mod_gzip avaliable in Tomcats web server?
Textpad (Best $27 you'll spend)
-Tim
Duncan wrote:
Sorry if off topic but...
What do people use to edit JSPs?
I'm after an editor, free if possible, to run on windows, with syntax
colouring and possibly auto complete for java.
Have tried vim for windows, but it doesn't seem as nice on windows
Textpad (Best $27 you'll spend)
I second that. Has a few quirks, but nothing that affects your programming.
G.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have apache running on linux with tomcat on NT.
Servlets work fine but when I try to load a JSP from the examples
It give Internal Server Error 500 Context not configured.
Linux 9.0
Apache 2.0
Tomcat 4.1.27
Any help is appreciated.
Hi all,
I am trying to create a security realm. I am confused as to where to
put the Realm directive. If I want to create a realm for a Context,
would I place the directive before or inside of the Context directive?
Thanks in advance.
--
_
Atreya Basu
Is it possible to run Tomcat on Ibm J9 VM running on HardHat Linux by
Montavista?
In such case, which versions of Tomcat?
Thanks,
Cristian
Software Developer
Selta Telematica Spa
www.selta.com
Hi,
After not able to connect IIS5.0 on Win2K with Tomcat 4.0, JDK 1.4 using
JK1.2
I tried to connect IIS 5 on Win2K with Tomcat 3.2, JDK 1.3. This
configuration used to worked on my system in the past. But today I am not
able run even this.
The contents of my isapi.log are given below. Any clue
What's a J9 VM ? If you mean does Tomcat run on Linux with IBM's Java 2
SDK 1.4.1/1.4/1.3, the answer is yes but you may need to setup some
environment variables and maybe download a different package for
Montavista Hardhat Linux (does it support rpms?). Give us more
information about your
SunOne CE (nice, based on NetBeans)
NetBeans
^
|
You cant download this IDE from java.sun.com
Jcreator.com
Best Regards
Leonardo Martinez
From Chile
-Mensaje original-
De: David Sierra Fernández [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 28 de Noviembre de 2003 09:15
Para:
Inside.
-Tim
Atreya Basu wrote:
Hi all,
I am trying to create a security realm. I am confused as to where to
put the Realm directive. If I want to create a realm for a Context,
would I place the directive before or inside of the Context directive?
Thanks in advance.
Hi Chong,
we develop embedded systems with Montavista HardHat Linux (PowerPC) mainly
in C/C++.
Now we want to develop other application using the java language always on
this platform.
The Montavista HardHat Linux supports the IBM's J9 JVM implementation that
is fully certified to be compliant
Thanks for yours sugestions, the reason for which i need to do that is because i have
to do an authentication module that are able to authenticate a user depending on a
company. That is because a user can be in 2 or more companys and the data of the
companys is diferent.
Thanks in Advanced.
Hi all,
I'd like to create a file with some configuration details for my
application.
I tryed to reference my file like this ./data.txt and I found it in my
tomcat/bin directory.
Well, I should have expected this, quite like any other java
application points to the executable directory.
Is
Hi,
What is the minimum version of Tomcat that will work with JK2?
4.0.3, 4.1.27etc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am not sure with jsp...but i tried here for servlets ...step by step
debugging .
-Original Message-
From: David Sierra Fernández
To: Tomcat Users List
Sent: 28/11/2003 6:44 PM
Subject: RE: JSP Editors
¿Any of this editors you mentioned (or other)supports step by step
Hi all,
I thought I would share some of my experiences with JDBCRealm
authentication.
First what I wanted to do was see if JDBCRealm based authentication even
worked. All I got was Tomcat quitting. My first problem was that my
web.xml file wasn't in the right order. I went to BEA's website
You may want to check out this link::
http://www-3.ibm.com/software/wireless/smf/
and download Extension Services for WSAD (Websphere Developer Studio).
IBM has scaled down version of application server (compliant with
Servert 2.3 and JSP 1.2 specifications) that runs with J9 on different
Here is the solution that worked for me:
http://cvs.apache.org/~fhanik/precompile.html
Antony Paul wrote:
I use the following Ant build file to precompile all jsps to work dir. I
prepared this based on another post in this list. All the jsps are converted
to java and then to class files.
project
If you are looking for WYSWIG JSP editor check Macromedia Dreamweaver MX
for debugging you can use one of IDEs mentioned in previous e-mails.
Shanta B wrote:
JIDEA is also best .by using this u can go through internal java scource
code and also option to remote debug ur servlets by using
Please, i have tried to compile hundred of times jakarta-tomcat-connectors-4.1.29-src
and jakarta-tomcat-connectors-jk2-2.0.2-src, but it's impossible. There are a lot of
errors during compilation.
I use: gcc.3.2.1, libtool 1.4.2,autoconf 2.53,automake 1.5, make 3.79
#cd
Hi,
I am using Tomcat 5.0.14
I have a servlet running under Tomcat.
Tomcat seems to add character encoding charset=ISO-8859-1
to the content-type in response header.
A third party program to which my servlet talks to, expects
only application/octet-stream as the response content-type,
however the
We have started loadtesting the current release of our application, which on
4.1.12 we were able to acheive over 200 concurrent users. However, our
current version is running on 4.1.24 and has not been able to respond to
more than 100 users.
When we have between 80-100 users using the system,
Ha! That thing (SunOne) is the bulkiest, heaviest app I've ever
installed on my machine. I have to wait minutes for it to start up and
a good 30 seconds when intellisense recognizes a new class. Besides,
didn't Sun start charging some crazy price for it recently? Use to be
free but I think now
Dear colleagues,
Please help in the following situation.
We are cuurently developing a web application based on
Tomcat4.1. Thus web app allows a user to upload files
and folders in a subdirectory of its context, so that
the content of these folders be viewed or retrieved by
other users. The
We're having a problem with tomcat 4.0.4. Every time a context is reloaded it
leaks memory. The oddest thing about this is that it starts throwing
OutOfMemoryExceptions before process list shows that it's using the memory I
allocated to it.
eg. It will through OutOfMemoryExceptions at like 130M
Why not use a Properties file which you can get the class loader to locate
for you using call similar to:
properties.load(Thread.currentThread().getContextClassLoader().getResourceAsStream(/myfile.properties));
Just place the file at the root level of your (web project) source tree,
so that it
Hello Atreya,
Your stylesheet is returned after authentication because it is access
restricted. If you make your stylesheet freely accessible it will work.
grts,
Patrick
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2003 8:01 AM
To: Tomcat
Take a look at Eclipse (www.eclipse.org) [FREE] combined with MyEclipse
(www.myeclipseide.com) [$29.95].
Having used many IDE's, standalone editors etc, I can positively state
that this IDE will save you LOADS of time, blood sweat and tears. It is
fast, feature packed, written in java, and allows
http://www.netbeans.org
Welcome to netbeans.org, the project that develops NetBeans IDE, the full-featured
integrated environment for Java Developers and NetBeans Platform, the widely adopted
infrastructure backplane for complex desktop applications.
They (netbeans.org) don't have Sun One
Hi all,
I've searched the email archive and bugzilla, and come across bug 20041:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20041 back from June 2003.
I'm using Tomcat 4.1.24 Standalone, and I've attached the server.xml file
I'm using (I'm using the Catalina connector).
Does anyone know
BTW: You can also run into this problem with MSIE.
If you start a new instance of MSIE from taskbar or the icon on the desktop,
it will run with it's own session cookie. If, however, the user starts a new
instance with ctl+n or by using file - new window then both instances share
the same
I use the following Ant build file to precompile all jsps to work dir. I
prepared this based on another post in this list. All the jsps are converted
to java and then to class files.
project name=myapp default=all
basedir=E:\Tomcat4.1\work\Standalone\localhost\myapp
!--Simple build file to
Is your JAVA_HOME evironment variable set?
Have you installed a full j2sdk or are you running with just a JRE?
On Friday 28 November 2003 08:28 am, you wrote:
Hi,
I have apache running on linux with tomcat on NT.
Servlets work fine but when I try to load a JSP from the examples
It give
Is it possible to run Jetty on Ibm J9 VM running on HardHat Linux by
Montavista?
In such case, which versions of Jetty?
Thanks,
Cristian
Software Developer
Selta Telematica Spa
www.selta.com
It didn't attach the file. Here it is below:
Server port=8005 shutdown=SHUTDOWN debug=0
Service name=Tomcat-Standalone
Connector className=org.apache.catalina.connector.http.HttpConnector
port= minProcessors=64 maxProcessors=256
I use the Gel IDE, from www.gexperts.com
I've used JBuilder, Eclipse, Netbeans, JCreator and various text editors
with syntax highlighting, but nothing mathes Gel IMO.
And it's free..
regards,
Vidar
- Original Message -
From: Duncan [EMAIL PROTECTED]
To: Tomcat User List [EMAIL
I am in the process of upgrading my servers from:
apache 1.3 , jakarta-tomcat-3.2.1, mod_jk 1.2
to:
apache 2 , jakarta-tomcat-4.1.29, mod_jk 2
I am having problems finding information on how to forward calls to sevlets from jsp's
in the context.
old mod_jk 1.2
JkMount /mycontext/*.jsp worker2
The best way is to use ServletContext.getResourceAsStream() to load a file
from your webapp. This is portable (and safest) to any servlet container.
-Tim
Giorgio Franceschetti wrote:
Hi all,
I'd like to create a file with some configuration details for my
application.
I tryed to reference
This problem is also in 4.1.29. The next release of 5 should be soon, unless
wacky things happen. (No exact date known)
-Tim
Amit Dhar wrote:
Hi,
I am using Tomcat 5.0.14
I have a servlet running under Tomcat.
Tomcat seems to add character encoding charset=ISO-8859-1
to the content-type in
Folks,
Here is the scenario
1) User logs in and begins a session along with loading some session
objects (worker classes)
2) Tomcat is shut down and restarted
3) Same user clicks next button on current JSP page (user did not
know tomcat was restarted)
a) Session isNew() reports
Hello,
I think I've stumbled into a bug in the webapp classloader in Tomcat 5.0.14.
Consider the following servlet, which I mapped to /* for testing
convenience.
import java.io.*;
import java.net.URL;
import javax.servlet.ServletException;
import javax.servlet.http.*;
public class Test extends
Trenton D. Adams wrote:
We're having a problem with tomcat 4.0.4. Every time a context is reloaded it
leaks memory. The oddest thing about this is that it starts throwing
OutOfMemoryExceptions before process list shows that it's using the memory I
allocated to it.
eg. It will through
Jose,
How about sending the user to an intermediate page after
logging in to select a company?
Robert
= Original Message From Jose Antonio Chirinos [EMAIL PROTECTED]
=
Thanks for yours sugestions, the reason for which i need to do that is
because i have to do an authentication module
Karau, Joe wrote:
We have started loadtesting the current release of our application, which on
4.1.12 we were able to acheive over 200 concurrent users. However, our
current version is running on 4.1.24 and has not been able to respond to
more than 100 users.
You should upgrade to 4.1.29,
Make sure all the objects in your session are serializable. If not, you
will get null values (or possibly other errors) after deserialization.
Jake
At 04:34 PM 11/28/2003 -0800, you wrote:
Folks,
Here is the scenario
1) User logs in and begins a session along with loading some session
This will almost certainly get lost in the shuffle unless you post the bug
to Apache's Bugzilla. Better get it in soon before they make the next
release...
http://issues.apache.org/bugzilla/
Jake
At 01:40 AM 11/29/2003 +0100, you wrote:
Hello,
I think I've stumbled into a bug in the webapp
David Rees wrote:
Trenton D. Adams wrote:
We're having a problem with tomcat 4.0.4. Every time a context is
reloaded it
leaks memory. The oddest thing about this is that it starts throwing
OutOfMemoryExceptions before process list shows that it's using the
memory I
allocated to it.
eg. It
Trenton D. Adams wrote:
David Rees wrote:
Trenton D. Adams wrote:
We're having a problem with tomcat 4.0.4. Every time a context
is reloaded it leaks memory. The oddest thing about this is that
it starts throwing OutOfMemoryExceptions before process list
shows that it's using the memory I
David Rees wrote:
Trenton D. Adams wrote:
We're having a problem with tomcat 4.0.4. Every time a context is
reloaded it
leaks memory. The oddest thing about this is that it starts throwing
OutOfMemoryExceptions before process list shows that it's using the
memory I
allocated to it.
eg. It
David Rees wrote:
Trenton D. Adams wrote:
David Rees wrote:
Trenton D. Adams wrote:
We're having a problem with tomcat 4.0.4. Every time a context
is reloaded it leaks memory. The oddest thing about this is that
it starts throwing OutOfMemoryExceptions before process list
shows that it's
Trenton D. Adams wrote:
Oh, one other quick question. I was wondering about why it would start
throwing out of memory exceptions before it reaches the 512M limit. Are
there maybe parameters that can be passed to tomcat to tell it how much
to use for web applications? And if so, are these set
Trenton D. Adams wrote:
Bugs have been filed for this issue against 4.1.x and they have been
marked as WONTFIX. Best to try to reproduce the problem on 5.0.x and
if the bug still exists there, file a report in bugzilla if one does
not already exist.
Where can I find this information? Is there
83 matches
Mail list logo