Good day
I use tomcat with default settings.
When i start tomcat with startup.bat, i can connect to tomcat by
jconsole (JDK 5 tool).
But when i start tomcat as service, i can't connect to tomcat.
That is my question.
Configuration: Win XP, Tomcat 5.5.15, default service (tomcat5.exe)
--
Andrei
Hi,
I am facing a problem with my Apache-Tomcat-MySQL
installation.MyEnvironment is as follows:
Redhat ES4(2.6.9-5.EL), Apache-Tomcat-5.5.15, MySQL 4.1.12, Java version
1.5.0_06, Apache-Tomcat connector ajp13,
mysql-connector-java-3.2.0-alpha-bin.jar.
After installation and configuration I am un
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 thread. Thi
Martin Grogan wrote:
> Hi all,
> I have devleoped a small website that uses a couple of frames. 1 out of
> the 3 frames are being served by Tomcat (using Tomcat stand-alone) fine,
> but the other 2 just show up as garbage.
> Any help is appreciated,
Try Live HTTP Headers for Firefox or ieHttpHead
Ah! When I added debug="9" this appears in stdout.log:
Exception in thread "http-8443-1"
java.lang.IllegalMonitorStateException: current thread not owner
at java.lang.Object.notifyAll(Native Method)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1216)
at java.lang.Thread.r
Hi Rajeev,
First of all, thanks for your answer.
For memory measuring, the best ways seems to be JMX. And then connect to it
using some front end application, something like MC4J.
I think that by that way I should put inside my web services the JMX code.
Could I have a problem that way? Couse
Another option if your main goal is to get tomcat bound to port 80 is to use
port forwarding (e.g. iptables works well on linux). Then tomcat can run as
any old user on a non-privileged port such as 8080 and you redirect all
incoming port 80 traffic to the actual tomcat port.
Andrew
On 6/29/06,
Sean Machin wrote:
> I'm setting up a Linux server with Tomcat that will be used for field
> trialing. The server will be connected
> to the public Internet. Is it typical practice to have Tomcat installed
> and running as root on a system
> like this, or should it be running as a less privileged
> "MyPrincipal cannot be resolve to a type"
>
> when trying the following:
>
> ((MyPrincipal)request.getUserPrincipal()).getDisplayName();
Yuri,
Josso implemented their own Principal that has additional properties. You
may want to poke around http://www.josso.org/developer-howto.html
--
Nichol
I run mine as nobody:nogroup.
--j
-Original Message-
From: Sean Machin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 4:20 PM
To: Tomcat Users List
Subject: Running Tomcat as root on Linux
Hi All,
I'm setting up a Linux server with Tomcat that will be used for field
trialing
Hi All,
I'm setting up a Linux server with Tomcat that will be used for field
trialing. The server will be connected
to the public Internet. Is it typical practice to have Tomcat installed
and running as root on a system
like this, or should it be running as a less privileged user?
Thanks for a
I have created my own Realm implementation that returns a custom Principal
extending GenericPrincipal (it must extend it). The reason I did that was to
be able to provide additional information about the principal such as the
user display ame and possibly other data in the future.
The Realm imple
Maybe not your answer, but I've encountered similar messages when the
log4j*.jar and properties files were not copied to the server
directories. If you using it that way, which would require a server
restart.
- Lou Caudell
Leon Rosenberg wrote:
I think there was a bug (already fixed in the t
I'm not an expert in this, but I thought I'd compare your setup with our working
setup and see if I could spot any differences. A couple of observations:
* Have you tried using a keystoreFile location that doesn't contain spaces?
I've gotten bitten in other apps where a space in the path isn't ha
On 6/28/06, Erik Matthew Brakke <[EMAIL PROTECTED]> wrote:
keystoreFile="C:\Documents and Settings\Administrator\.keystore"
It's highly advisable to avoid paths with spaces in them for anything
related to Tomcat, Java, etc.
FWIW!
--
Hassan Schroeder [EMAIL PROTECTED]
Can someone point me to the next place to look.
My class files are built...I receive a warning error when I compile. I can
build a war file but nothing comes up in my browser. I'm a bit of a newbie
to web deployment.
2006-06-28 15:06:56 StandardContext[/strutsBlank]Marking servlet action as
un
Sarma,
I think your url-pattern is invalid. You can't specify both a directory and
a file extension. You can either restrict each jsp in the /protected/
directory explicitly using multiple url-pattern elements, restrict all
resources in /protected directory using
/protected/*, or restrict all
I have created my own Realm implementation that returns a custom Principal
extending GenericPrincipal (it must extend it). The reason I did that was to
be able to provide additional information about the principal such as the
user display ame and possibly other data in the future.
The Realm imple
Hi, its the default connector statement in server.xml, but I've tried adding
the arguments: keystoreFile, keystorePass, keystoreType.
Thanks!
E
- Original Message -
From: "Jay Burgess" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 28, 2006 1:55 PM
Subject: RE: Setting up SSL on Tom
On Wednesday 28 June 2006 14:05, John Caron wrote:
> I assume I need to get a session established, so that the authorization
> need only be done once. It would also be nice if I recieve a
> unauthorized request, that I could pass it to Tomcat's 401 challenge and
> authentication mechanism. Howev
Can you include your definition so we can take a look?
Jay
http://www.vtgroup.com/
-Original Message-
From: Erik Matthew Brakke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 1:48 PM
To: Tomcat Users List
Subject: Re: Setting up SSL on Tomcat 5.5.17 - no response from Tomcat
Hi,
Someone asked that I try Firefox to see if it was a certificate issue with
MSIE. I'm still having the same issue with Firefox: no response at all from
Tomcat 5.5.17 over the HTTPS connector. HTTP is fine. Netstat shows
established connection by TCP/IP, just no response from TC.
I've t
I think there was a bug (already fixed in the trunk) related to your
situation. I experienced the same behaviour. It happend because in the
middle of the shutdown process a wrong classloader was used, not sure
though.
I didn't try a new version myself, just added checks for null before
loging in p
Hello,
I am creating a new application, and I would like to be able to add
logging statements to my code that will run within the Tomcat container.
This log, would be just for my web application code. Then I would like
to also be able to have a log of this context. In that log I would like
to s
Pid wrote:
It really depends on what you're trying to achieve, maybe you could
elaborate?
Do you need to restrict access to filesystem resources, servlets, jsps,
images, DB content, or something else?
Ok, I am creating a data server that is controlled by an XML configuration "catalog" of dat
Hi,
I've just migrated my app from TC 5.0.28 to TC 5.5.17 and run into
problems after redeployment. After the initial deployment everything
works just fine. When I copy a new version of the war into the webapps
directory, tomcat expands it automatically and restarts the application.
But when I fir
I do not see one in either location. So I guess the admin just does the
update to the server.xml and then we need to handle the rest of the
configuration?
-Original Message-
From: Pid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 9:55 AM
To: Tomcat Users List
Subject: Re: Tom
Before all that, the poster might like to tell us where they installed
it, and anything else about the installation/config...
David Smith wrote:
> Yup. Gotta love Windows. You might also want to check with the domain
> admins to be sure some group policy hasn't been set that would
> interfere.
You can also configure DBCP to do some connection pooling, without much
effort. I'd recommend avoiding the root user for your DB connection.
The error message you saw is a poor one, but common.
In your global resources:
A DataSource in your
A Realm in your or
Pid wrote:
>
Yup. Gotta love Windows. You might also want to check with the domain
admins to be sure some group policy hasn't been set that would
interfere. The tomcat service has to have at least read access to all
of it's files and all the webapp files. Check the logs for which
specific files it's hav
It sounds like the Tomcat installation isn't able to locate some of it's
classes. the error logs might give you more information, look at those.
ie Tomcat isn't installed/embedded properly.
Lucilene Souza wrote:
> Anybody, can help me?
> Why can it instantiate the classes in the JSPCompilationC
Hi Scott,
I had also this problem some time back. You need to create a file named
context.xml in WEB-APP/META-INF directory. The resource needs to be
defined her as follows
Note in the above that the value of attribute 'type' should be the
DataSource class from your db driver jar. Also
Password,
You need to move this line of questioning to a Java Forum. The questions
you are asking has nothing to do with Tomcat running/setup.
On 6/28/06, password password <[EMAIL PROTECTED]> wrote:
Hi I have created this class (ExampleClass as Ségio told me) but and I
don't know how i can
You need a ResourceLink in the Host or Context, to make the global
resource available.
Does the Context xml file contain this?
Scott Purcell wrote:
> Hello,
>
>
>
> I am receiving errors when configuring a JNDI resource for my database
> using Tomcat 5.5 on a Windoz box. I used the admin in
Hi I have created this class (ExampleClass as Ségio told me) but and I don't
know how i can see the content the List with the position. I have put this but
it return an error
for (int i = 0; i < listToSort.size(); i++) {
System.out.println(listToSort.get(i));
}
S
usually the admin package doesn't come with the tomcat distribution.
You should download it and install.
If you already done so, then maybe you should try to reinstall it.
On 6/28/06, Ioana <[EMAIL PROTECTED]> wrote:
Hi,
I'm having the same problem u encountered. Have u solved it?
I also del
configure an access logging valve for your application
also configure application logging for the app.
the docs are pretty clear on how to do this.
is tomcat serving the images?
David Delbecq wrote:
> Hi bob
>
> There are several ways to try to find where this comes from
>
> 0) Check in the t
Anybody, can help me?
Why can it instantiate the classes in the JSPCompilationContext, if it's
in the tomcat?
-Original Message-
From: Lucilene Souza [mailto:[EMAIL PROTECTED]
Sent: June 28, 2006 10:25 AM
To: Tomcat Users List
Subject:
JspCompilationContext.createCompiler(JspCompilationCo
Lou Caudell wrote:
If I deploy a war file named by the project-version it will name the
application instance by the filename not the actual name of the
application supplied in the META-INF/context.xml file.
Why is this. My development ide knows the difference.
- Lou Caudell
sweng
I am trying to embed tomcat in an application. I am using Sun Java
1.5_07 and
Tomcat 5.5.17 During the tomcat startup, I receive the following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () th
Gary:
You can track Property # 404175 to me.
Regards,
Bob
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 9:49 AM
To: Tomcat Users List
Subject: Re: Cannot use Tomcat
Antonio-
someone has been mucking with the file/folder permissions..In o
I have a web app that uses JMX to start and stop other webapps. I am
using JMX to do this. By poking around, I found this MBean on the
Tomcat MBeanServer:
Catalina:j2eeType=WebModule,name=//localhost/jsp-examples,J2EEApplicatio
n=none,J2EEServer=none which exposes stop(), start() and other method
Antonio-
someone has been mucking with the file/folder permissions..In other words its
not your fault..
Martin--
*
This email message and any files transmitted with it contain confidential
information intended only for the perso
Hello,
I am receiving errors when configuring a JNDI resource for my database
using Tomcat 5.5 on a Windoz box. I used the admin interface and entered
the following data:
in admin screen
under Data Sources
JNDI Name= jdbc/BuilderDB
Driver com.mysql.jdbc.Driver
Data Source URL=jdbc:mysql:/
Hi bob
There are several ways to try to find where this comes from
0) Check in the tomcat manager the status of memory. You may be running
out of java memory and so the garbage collector is running like crazy.
1) When issue arise, go to an AIX console (the timer is ticking, you
have 60 secon
Hi to everybody.
I have a problem with tomcat 5.5.17 where I try to set the client
authentication to true in the server.xml file.
I've used the instructions explained in the SSL part of the tomcat manual
but I receive only an SSl error code 12271.
I.ve tested the same technique in apache with the
The problem is that nothing happens. I have installed Tomcat in another
PC at home and it works fine
localhost:8080/index.jsp
Displays the page OK. Here in my office my PC is connected to am
Intranet and I suspect that is related to my problem.
Thanks
Antonio
-Original Messa
Sorry, but this is re-request. My original request didn't elicit any
replies, so I thought I'd try again.
Our web application has a search feature that can be activated by pressing
the F2 key in Internet Explorer, or by clicking a small (978 bytes) gif
image file of a magnifying glass in our my
I seem to have some odd behaviour on tomcat 4.0.x - I know this is an
old version - we're not the only app running underneath it and one of
the others doesn't support later versions :(
We have a servlet which matches the url pattern
/html/*
In this servlet we first tracelog that we enter the doG
Hi every one,
I want to control access to my application running on tomcat by Host names,
I tried the class
"org.apache.catalina.valves.RemoteHostValve" in the following manner
I know that it takes a regular expression in the allow values, so I use (\.)
to represent the dot(.) and
Offer details. We are not looking over your shoulder at the screen and
have no idea what you've setup.
--David
Rosario Antonio wrote:
Tomcat is running but when tryin to access localhost:8080 I receive
message:
UNAUTHORIZED
How can I correct the problem?
Thanks
Antonio
--
Hi all,
I have devleoped a small website that uses a couple of frames. 1 out of
the 3 frames are being served by Tomcat (using Tomcat stand-alone) fine,
but the other 2 just show up as garbage. I can't even paste in the
details here, cause the charset is not accepted. I have attached a JPEG
sc
Tomcat is running but when tryin to access localhost:8080 I receive
message:
UNAUTHORIZED
How can I correct the problem?
Thanks
Antonio
It really depends on what you're trying to achieve, maybe you could
elaborate?
Do you need to restrict access to filesystem resources, servlets, jsps,
images, DB content, or something else?
Martin Gainty wrote:
> Good Evening All-
>
> The best way is to put up a Jsp / servlet which itself has
I have embedded Tomcat 5.5 into our application. Works great.
Right now it spits way to much information to STDERR by default
including all the INFO from myFaces JSF.
I have read many discussions on how to incorporate log4j etc, to take
control of the logging, but could never get it to work.
Cou
Hi,
I'm having the same problem u encountered. Have u solved it?
I also deleted the admin directory that contains the index.html and cleared
tomcat5.5/work/Catalina. And still..no luck.
Cheers,
Ioana
--
View this message in context:
http://www.nabble.com/Trouble-with-Admin-WebApp-tf1836378.html
On 6/28/06, dirk ooms <[EMAIL PROTECTED]> wrote:
AFAIK there are 2 situations in which Tomcat creates a HttpSession (generating
JSESSIONIDS) without an explicit call to request.getSession():
- when the form-based login procedure is used
- when jsp's are compiled, a session will automatically be
Hi
After reading your post on the LVS list I guess the problem is the
keepalive in the HTTP Protocol. If you pull the plug on realserver1 and
HTTP is doing keepalive, the client tries to get the new request on the
same TCP connection which is not working anymore. (You can't failover
open tcp conne
AFAIK there are 2 situations in which Tomcat creates a HttpSession (generating
JSESSIONIDS) without an explicit call to request.getSession():
- when the form-based login procedure is used
- when jsp's are compiled, a session will automatically be created by the JSP
engine (also for jsp's that ha
Dear List,
I have an simple application that I would like to have cached by a squid
server. My question is, is it possible to disable the Tomcat generating
JSESSIONIDs, as these requests are all stateless.
Thanks in advance,
Regards
Andrew
-
Pid schrieb:
debug is a bit high, try using error.
Yes, I think so, too. However, at the moment, this setting is active and
there is
not a single entry like those shown in the flooded logfile. Seems to me that
those endless notice-messages don't happen just because of loglevel=debug.
I wi
debug is a bit high, try using error.
Oliver Schoenwald wrote:
> Good morning,
>
> Wer are running the following configuration:
> Apache 2.0.58 with mod_jk2
> Tomcat 5.5.7
>
> This morning we had to stop our system and remove a 1.5
> GigaByte-Errorlogfile of
> our apache installation because our
Good morning,
Wer are running the following configuration:
Apache 2.0.58 with mod_jk2
Tomcat 5.5.7
This morning we had to stop our system and remove a 1.5
GigaByte-Errorlogfile of
our apache installation because our filesystem capacity had been reached.
The apache-errorlog-file never used to g
63 matches
Mail list logo