There is no meaning in saying that one can plug in required
services to Tomcat. My question is by design is it an application
server ?. My opinion is that Tomcat in the shipped form is not an
application server. At the minimum it should provide transaction and
persistence services, method
IMHO :
Tomcat is a web application server, not an application server.
It is true you can extend tomcat and make it work like an application server.
Tomcat and just Tomcat is no application server.
It's like saying that an engine is a car. Which is not true!
You can extend this engine and build
Hello all,
i am using Tomcat 4.1.3x, mod_jk 1.x and Apache 1.3.x.
I have read all the documentation available on apache.org, but
i think i have not understood some principles of JK.
Problem:
I have java.domain.tld pointing to the root-directory of Tomcat. The default
tomcat site appears. I
Hi,
I would guess that there is a security policy in JBoss that prevents
JBoss (and its integrated Tomcat) from writing outside some special
directories (e.g. its working directory and the temp directory).
There is surely a way to lessen this security restriction, but that is
obviously a
Hello,
Just a thought but I believe renameTo only works if you are renaming the
file in the same disk volume. If you try and do this across disk volumes
then this is effectively a copy and the renameTo does not work. This
maybe your problem.
Paul
-Original Message-
From: Christoph
There only relevant question here is:
How is a application server defined?
As Richard Mixon already pointed out, there are many definitions under
which Tomcat IS an application server.
For many others however application server is equivalent to full J2EE
application server (or something like
Hello All,
I am thinking of writing a document of how to set up. Apache +
tomcat + mod_jk with Apache using SSL. for free.
I am using Apache 1.3.* and Tomcat 4.1 and this works very nicely
I have this running on my linux box for 2 years + now.
I need your advice if I
Hi,
Try setting tomcatAuthentication=false on the connector, or jk2.properties
file
Cheers, Allistair.
-Original Message-
From: Scott Heitkamp [mailto:[EMAIL PROTECTED]
Sent: 21 June 2005 21:40
To: tomcat-user@jakarta.apache.org
Subject: getRemoteUser() always returns null
Hi bernhard,
Just a few dumb questions on this, I still have problem to generate servlets
source files from jsp.
From a previous message you sent on this subject in another thread I guess I
have a classpath problem in my jspc task ( NullPointerException at
I think most people would probably use later versions of both Java and
Tomcat if they were going to set an environment up from scratch now. So I
would suggest it better for you to upgrade now and document for later
releases.
Rgds
-Original Message-
From: Raghupathy,Gurumoorthy
Hi Nicolas,
what jspc basically needs, is acces to all the internal tomcat libraries,
as you see from the ant script:
${tomcat.home}/bin/*.jar
${tomcat.home}/server/lib/*.jar
${tomcat.home}/common/lib/*.jar
As well as all the libraries from you web application.
So what I did was just installing
Hello!
Our web-application uses a combination of JSP-pages and a controller
servlet. When viewing these pages with Internet Explorer weird things tend
to happen. I found out that if Internet Explorers caching is set to
automatic checking for newer versions on the server everything goes wrong.
Hi,
Not an answer as such, but all our dev machines (and we do LOTS of changes per
5 minutes) have Automatically switched on, and we don't experience this problem.
Like I say, not a solution, but perhaps you are looking in the wrong direction.
Cheers, Allistair.
-Original Message-
Hey!
I downloaded the pug-ins for eclipse 3.0 to use JBoss. I followed a
tutorial on the internet
http://docs.jboss.com/jbosside/tutorial/build/en/html/debugging.html and it
all worked wellup until the very end. My file is deployed and works but when
try and run the file, it doesn't work. I
You may be right, but I think it's just our weird way of combining
jsp/servlets with a magnet card reader that takes IE off guard.
Heres a typical example:
User uses his user card on our magnet card reader.
The reader tells our client (which implements IE through an ActiveX control,
dont ask
hi,
A solution is after submit clear a User object from the session, than
identifies the user and put a User object in a session and always check on
every page and action if User object exists in the session.
regards,
Maarten
-Oorspronkelijk bericht-
Van: Øyvind Johansen [mailto:[EMAIL
I guess it should be http://localhost:81/fibo/
-Original Message-
From: Enda Dowling [mailto:[EMAIL PROTECTED]
Sent: 22 June 2005 11:32
To: tomcat-user@jakarta.apache.org
Subject: JBoss with Tomcat using Eclipse
Hey!
I downloaded the pug-ins for eclipse 3.0 to use JBoss. I
Hi,
Have set up JK (1.2.13) connector from IIS to tomcat.
When I define a worker to have cachesize=1,
and there happen to come two simultaneous requests,
the second request is aborted with status 500 Internal Server Error (as seen
in IIS log file) and no bytes are returned.
The isapi redirector
Hi
This simple Servlet works (address: http://localhost:8080/testapp/testservlet):
public class Server extends HttpServlet {
public void doGet (HttpServletRequest req, HttpServletResponse res) throws
ServletException, IOException {
PrintWriter out = res.getWriter();
Hello
We have a system set up with Tomcat 4.1 and SQL Server 7. We use a Merlia
jdbc driver to communicate with SQL Server via a connection pool.
Occasionally users get the following error when they first access a servlet
that needs to call a stored procedure...
On 6/22/05, Sue Roe [EMAIL PROTECTED] wrote:
Hello
We have a system set up with Tomcat 4.1 and SQL Server 7. We use a Merlia
jdbc driver to communicate with SQL Server via a connection pool.
Occasionally users get the following error when they first access a servlet
that needs to call a
On Wed, 2005-06-22 at 09:08 +0200, Michael Echerer wrote:
There is no meaning in saying that one can plug in required
services to Tomcat. My question is by design is it an application
server ?. My opinion is that Tomcat in the shipped form is not an
application server. At the minimum it
Sorry I just spelt it wrong in the email. Any other suggestions buddy?
-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: 22 June 2005 11:46
To: 'Tomcat Users List'
Subject: RE: JBoss with Tomcat using Eclipse
I guess it should be http://localhost:81/fibo/
Are you running on the correct port ? 8080 or are you sure that it is 81 ?
What is th error you getting ? 404 ( produced by tomcat ) or any thing else
?
-Original Message-
From: Enda Dowling [mailto:[EMAIL PROTECTED]
Sent: 22 June 2005 13:26
To: 'Tomcat Users List'
Subject: RE: JBoss
Assuming an configuration problem on my PC to be the cause of my problem, I
did successively:
- desinstall tomcat 5.5.9 (there was one to test the web app)
- desinstall jdk 1.5.0_03 and an anterior jdk 1.4
- install jdk 1.5.0_03, with standard directories option
- install tomcat
After that I
Hi all,
I have a vendor-supplied application here that is bundled with Microsoft
IIS 5 and Tomcat version 4.1.29. Our hosting infrastructure eploys proxy
servers and external SSL acceleration hardware in front of the Tomcat
server and needs to pass scheme and secure information back to our
hello Mr.Raghupathy
I installed Tomcat server and server is running. I want to know which directory
of Tomcat,i should copy the servlet class and what is the address to excecute
this serlvet in internet explorer.
please answer it back.
Thank You
Ramesh.D
Raghupathy,Gurumoorthy [EMAIL
If I just run http://localhost:81 It does bring up the tomcat page as you
would expect. But anything after that is a no go. I don't actually get an
error, it just brings me to a InstantCantFind page.
-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: 22 June
target name=jspc
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath id=jspc.classpath
pathelement location=${java.home}/../lib/tools.jar/
fileset dir=${tomcat.home}/bin
include name=*.jar/
/fileset
fileset
I am working on porting a WebSphere JSP application to Tomcat.
I can not seem to find a way in Tomcat to block access to valid pages within
the application. I don't want the user to access selected pages by them
typing the URL to the pages in question.
Is there a means to prevent this in
One way to do this is to declare a host in your server.xml instance
The server.xml will need to contain an entry within the engine like
Host name=myotherdomain.tld appBase=webapps unpackWARs=true
autoDeploy=true
Logger className=org.apache.catalina.logger.FileLogger
I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0
system. I am running Apache V2.0.54 and my version of Tomcat is 5.5.9.
I believe my apache installation is okay because when I go to localhost I
see the apache welcome screen. When I go to localhost:8080 I see the
Tomcat
Hello,
This exception is thrown in the clustering of Tomcat 5.0.28. The fun part is,
that the user is seeing this stacktrace in his browser.
java.util.NoSuchElementException
java.util.LinkedList.remove(LinkedList.java:644)
java.util.LinkedList.removeFirst(LinkedList.java:134)
Hi all,
I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck.
I'm able to attach to a running instance of tomcat using JPDA, but
then my breakpoints are activated erraticaly.
Did someone try this before?
These are the things I did:
-compiled tomcat 5.5.9 with a
You need some JkMount directives to tell Apache which requests to
forward to Tomcat.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html
Jon
Katherine Faella wrote:
I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0
system. I am running Apache V2.0.54
I am a newbie at this stuff also, and as I understand, for development I
do not need to install Apache at all. Tomcat will act as a static web
page server. I am using eclipse so I dont even want Apache installed.
Just redirect everything to localhost:8080
Steve
Jon Wingfield wrote:
You need
Firtst read java / j2ee / jsp and some tutorials ...
http://www.tusc.com.au/tutorial/html is a good place to start
Guru
-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]
Sent: 22 June 2005 16:49
To: Tomcat Users List
Subject: Re: New user, help!
I am a newbie at this stuff
Thanks
Mind you though, the introduction to this document says
*Prerequisites for this tutorial.*
Before you start this tutorial, you should ideally have a working
knowledge of *Java technology, XML, J2EE technology and some exposure to
SQL, JDBC concepts, and Xdoclet (Attribute
Classification: UNCLASSIFIED
Caveats: NONE
There are more tutorials on the web you just have to spend some time
googling.
Some that really help understand putting all the bits and pieces together is
http://www.coreservlets.com
You'll find tutorials on the different technologies and tools
Fadi
Hi,
I have a servlet, RenameFile, that receives audio file via HTTP Post and
writes it to /tmp/recording.0002002B-0C0022BB-0001.1.20050622.073208.wav.
Then it creates directories under /alert_messages directory based on the
timing parameters that it get. Finally, it renames the
I would like to move the Webapps
from the current default path (CATALINA_HOME\WEBAPPS) to a different
path on a different drive - let's say D:\DATA. I would still prefer
to run the webserver from the default installation directory, as I
only want to move the webapps to serve them from another
Hi Øyvind,
This works quite well for me. Place the following magic incantation at
the *end* of your JSP. Specifically, place it after the closing body
tag, but before the closing html tag. In context it looks like this:
/body
!-- Hack to disable IE caching --
head
meta HTTP-EQUIV=PRAGMA
Change
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
To
Host name=localhost debug=0 appBase=D:\Data
unpackWARs=true autoDeploy=true
And restart tomcat
guru
-Original Message-
From: MW [mailto:[EMAIL PROTECTED]
Sent: 22 June 2005 17:24
To:
On 6/22/05, Kam Lung Leung [EMAIL PROTECTED] wrote:
Hi,
I have a servlet, RenameFile, that receives audio file via HTTP Post
I should have read your post better and realized there was no Java
method for RenameFile as that is what I wrongly assumed... How exactly
are you ceating the
Hi Jason,
Thank very much for helping me to solve this issue. Only the
jakarta-tomcat-4.1.30 contains servlet named RenameFile. The other version of
tomcat ( jboss-3.2.1_tomcat-4.1.24) is embedded in the Jboss. This version of
tomcat does not contais the servlet named RenameFile. A color coded
This might be something to look at, but I know in Fedora Core 3, the
last SE Linux Policy broke mod_jk. You had to either turn of SELinux or
modify targeted policy. If you think you may have this problem, look at
/var/log/messages to see if the security policy is logging any errors.
You can
There was a change in the StandardManager class for Tomcat 5.5.9 that
deprecated the createSession method and created the
createSession(sessionId) method to allow emptySessionPath=true to
work. The SimpleTcpReplicationManager which subclasses StandardManager
was not updated to reflect this
Hey guys,
I was wondering if anybody has seen an intermittent communication error
between Apache web server and Tomcat. We were seeing something happening
intermittently about every 15-30 minutes where the apache logs were showing
something like this:
[Tue Jun 21 14:47:25 2005] [error]
Hi,
Thank to stdunbar for pointing out the problem that I was having. It turns out
that the /tmp and the /alert_messages ware mounted on two different nodes in
the file system. After changing the directory for writing the temporary audio
file to be the same as the /alert_messages directory.
Hi,
I followed the example on : http://jakarta.apache.org/tomcat/
tomcat-5.0-doc/jndi-datasource-examples-howto.html
The only thing I changed was jdbc/TestDB into jdbc/weblog.
on al locations I could find.
If I look at my page (http://www.karnhuis.nl/gastenboek.jsp)
The ${row.name} and
I have Tomcat 5.0 set up on a Linux env running JDK 1.4.2. My Tomcat is
not customized in any fashion (pretty much running out of the box). I
have an external JCE provider (Phaos) that I'd like to use. I have added
the provider into my list of approved providers by adding a reference to
it under
System: Solaris SunOS 5.9
Apache: 2.0.52
Tomcat: 4.1.31
Mod JK: 1.2.6
The problem: Apache/mod_jk cannot resolve servlet URL mappings
When Tomcat is running stand-alone, it can resolve servlet mappings without
any problems; so that a page with this form definition:
FORM name=login method=POST
Hi David:
An alternate to using mod_JK is to proxy http (or https) request to
the Tomcat from Apache.
i.e:
ProxyPass /path http://localhost:port/path
ProxyPassReverse /path http://localhost/path
There are valid reasons for using mod_JK - above just an alternate
suggestion if you can do without
Hi Amarish:
This could be a network or DNS issue.
regards,
Hari Mailvaganam
On 6/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hey guys,
I was wondering if anybody has seen an intermittent communication error
between Apache web server and Tomcat. We were seeing something happening
Hi Steve:
When Tomcat is started, the version number appears in Catalina.log.
regards,
Hari Mailvaganam
On 6/20/05, Steve Vanspall [EMAIL PROTECTED] wrote:
Hi there,
I am running tomcat under linux, unfortunately can't remember whether it is
4.1.24 or 4.1.31, which made me relise, I
Hi,
As you test, can you load a servlet through apache httpd? Such as
http://www.xyz.com/testservlet
You should make a simple servlet that just has the doGet method to test.
-Steve O.
System: Solaris SunOS 5.9
Apache: 2.0.52
Tomcat: 4.1.31
Mod JK: 1.2.6
The problem: Apache/mod_jk
Greetings:
As promised, i report back my solutions and hope this may help others.
On Mon, 2005-06-06 at 07:42 -0600, Duong BaTien wrote:
On Mon, 2005-06-06 at 07:04 -0400, Tim Funk wrote:
Almost. (I think)
Thanks. I will try the workaround and report to the list for the
benefits of
This is a production site. We use Tomcat 4.1.
website stops answering requests from time to time
Our website is under very high daily volume. Several
times a week, no
requests are answered.
Here is the log exception:
java.util.ConcurrentModificationException
at
Hi All,
Does anyone have a working config for JDBC persisted sessions that I
could look at as the information in the docs seems a little disjointed.
Also, for those that have it working, what has been their experience
with it?
Thanks,
Peter Johnson
Hi again
What is this service name in server.xml
I have seen two ways of writing it.
1)Tomcat Standalone
2)Tomcat-Apache
what is the difference between two?
--- Randall Svancara [EMAIL PROTECTED] wrote:
This might be something to look at, but I know in
Fedora Core 3, the
last SE Linux
60 matches
Mail list logo