Hi,
I want to debug my web application with the web service tomcat started by
sysdeo in eclipse, How could I do?
Minilin
Jorge Isaac Martínez Hatch wrote:
> Hi,
>
> Why does some connectors used for SSL refer to the port "443" and other
> connectors to "8433"?
Port 443 is the standard. On *nix boxes users do not necessarily have
permission to bind to ports below 1024. Using 8443 means non-privileged
users can test
Tim Lucia wrote:
> Look in conf/web.xml -- it is commented out by default.
Not it isn't. The default servlet is enabled by default.
> It is widely
> considered evil to use the default servlet. At a minimum, it poses security
> risks.
Again, no. The default servlet is not considered evil. You are
Manos Moschous wrote:
> Could someone help me on this?
> is there any property to conf files...?
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Look for allowLinking
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECT
Robert Frank wrote:
> Under 5.0 this was indeed the case,
> with 5.5, the 'applications' (given as ~user) are started and are
> visible in the manager,
> but when I click on them, I get an error saying that the requested
> resource is not available - and nothing in the logs!
This is because directo
Hi,
Why does some connectors used for SSL refer to the port "443" and other
connectors to "8433"?
I want to search on this because I hava a binding issue on my tomcat
configuration.
Thank you,
Isaac Martínez
I am not sure I should have posted this question to the dev mailing list,
let me know if that should be the case.
I am using Tomcat 5.5.16.
I have a series of chained HttpServlets in my web app. The first servlet is
registered with the web.xml and the following ones are dispatched manually.
Befo
Tom Bednarz wrote:
> With my current configuation the tomcat startup page appears. If I look
> in the manager application, I see the two hosts 'localhost' and
> 'my.mycompany.com'. Under both hosts I see the SAME list of
> webapplications.
This is because they use the same appBase. For different ap
Paul:
I restarted the server and the problem still there.
I don't have other servers running.
Should I assign different ports in the connector tag?
Do you have an example of a complete server.xml file?
Do you other user lists, forums, books any resource where I can find some
help?
Thank you
In Tomcat, do multiple HttpServletRequest objects share same
parameterMap instance? If so, and access to that instance is not
synchronized, doesn't that mean that one request can get another
requests parameters?
see http://sourceforge.net/mailarchive/message.php?msg_id=12468534
thanks
-nikita
Hello,
Every time we run tomcat (4.1.31) there is an error in logs:
=
2006-05-08 10:46:34,762 [TP-Processor23] Registry ERROR - Error
registering Catalina:type=RequestProcessor,worker=jk-8009,name=JkRequest25
javax.management.InstanceAlr
Jorge Isaac Martínez Hatch wrote:
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:443
Probably the port is already in use, perhaps by a task left
over from your previous attempts. Can you reboot and try again?
Or do you have another web serve
Hi, thank you Paul and Chris for your help.
I still having some problems.
I configured tomcat as Paul told me:
...
...
...
...
But get an error:
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address:
Hi there,
I'm trying to install tomcat 5.5.16 as a service on my Windows XP
machine using the service.bat script. I tried following the
instructions given at
http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html to
specify the user account (the --User parameter, in conjunction with th
2006/5/8, Marc Farrow <[EMAIL PROTECTED]>:
You said it gives a warning in Firefox, but IE doesn't allow page to be
pulled up.
No, both fail to load it. The only benefit of Firefox is its more
accurate error message.
--
Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
O
You said it gives a warning in Firefox, but IE doesn't allow page to be
pulled up. I am pretty sure this is a security setting within IE (and can
be disabled or changed to prompt) and not anything you can control (however
the user/client could). You would have to remove the warning totally to ge
Hi!
In a application i´m using JDBCRealm and form-based login to
authenticate the user. But i have som problems.
When i enter a user with correct username, password and role everything
works fine. Entering username or password incorrect i´m beeing
redirected to the login-error-page, that´s
OK, I have some more information...
The whole webapp is served through mod_ssl, as such (in the webapp
specific config file):
[...]
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:-MEDIUM:-SSLv2:-LOW:-eNULL
SSLOptions +StdEnvVars +Expor
On 5/8/06, Mark Eggers <[EMAIL PROTECTED]> wrote:
Some thoughts on a solution:
a) Not respond to theuniquepear.com as a web site.
b) Virtual host that responds to theuniquepear.com
consisting of a single page with a redirect to
www.theuniquepear.com.
c) use a Filter on your webapp to re
I'm having a problem getting tomcat 5.5.17 running on Solaris 10. I
preformed a default install of all the binary files and set my JAVA_HOME
variable to my install of jdk1.5 (/opt/jdk1.5/)
The problem I am running into is when I try to view my servlets-examples
page I get a 404 error from tomcat
I ´ve problem when start Apache/2.0.49 in SuSE 9.1 and apache-tomcat-5.5.17.
start apache
===
linux # rcapache2 restart
linux # Invalid command 'JkUriSet', perhaps mis-spelled or defined by a
module not included in the s
There are probably a couple of things going on here.
On the name, do you really need Tomcat
to respond to the host name of www? You probably just
want Tomcat to respond to www.theuniquepear.com and
theuniquepear.com. I don't think the
www is necessary.
It looks like www.theuniquepear.com is a C
You can put those types of resources in your .war file and access them as
"resources".
servlet.getClass().getResource("xmlfile.xml");
type of scheme.
On 5/8/06, Asaf Lahav <[EMAIL PROTECTED]> wrote:
Hi everybody,
I still need help on this. Please read below…
*Asaf Lahav*
*VP R&D, Prim
Hi everybody,
I still need help on this. Please read below…
Asaf
Lahav
VP
R&D, Prima Grid LTD.
Cellular:
972-54-4717955
Phone:
972-3-6540255
Fax:
972-3-6540254
From: Asaf Lahav
[mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 11:30
AM
To: users@tomca
The alias is only there so Tomcat knows to answer for that host if it see's
it. A lot of people do it for the people who can't properly type 3 W's. So
they add 2 W's and 4's for the host and setup DNS so it will answer all
those requests and the clients never realize how stupid they really are.
Hello,
How can I configure log4J in order to show on the console or in the
logs all the content of the post http methods?
thanks in advance,
Julien.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
Hello,
Last Friday, I posted the below thread, and followed Chris' directions
to create the virtual host. All appears good, and works great.
I only ran into one last problem, and was hoping someone may know the
solution. When google indexes my site, and I enter [The Unique Pear]
into the search b
Cool! Got a workaround for now? Something we can do to our session state?
Like add a junk variable or something?
(I will test the SVN head shortly and report back to you.)
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 12:43 PM
T
yes, I believe peter just fixed this, here is the SVN commit log,
let me know if this fixes it for you.
Filip
Author: pero
Date: Wed May 3 10:16:15 2006
New Revision: 399358
URL: http://svn.apache.org/viewcvs?rev=399358&view=rev
Log:
Session timeout much shorter than setting at web.xml at clu
Hi,
I'm load-testing my webapp running on Tomcat 5.5.12 (Win) using the
following URL:
http://localhost:8081/myapp/admin?cmd=test
In doGet() I have this line:
Map _requestParams = (MapString[]>)request.getParameterMap();
In load-testing, Most of the time this requests processes normally, b
All (especially Filip ;-),
I have a web app. When run on a single, non-clustered
Tomcat, it behaves correctly, maintaining the session state essentially
forever. When run in a cluster, however, the session state is lost (the
session is clearly destroyed.)
The application essentially refreshes
Pascal wrote:
Hello
Do you tried to connect to your databse normaly (I mean without tomcat)
to see if your user/pwd and database are set correctly in Mysql
Like this for example
#mysql -uUSER -pPASSWORD DATABASE
[EMAIL PROTECTED] [~/temp/java]# mysql -uroot -pROOT_PASSWORD smsserver
Reading
David Smith wrote:
Yes, authority in the url is the name of the database being accessed.
URL syntax looks something like this:
jdbc:mysql//[DNS_name|IP][:portNum]/database
portNum is 3306 if not specified and you can add a ? and connect options
after the database name as needed.
I have made
Fabio
Thanks a ton :)
So I'll try this config.
- 1 connector
- all vhost defined in server.xml
- 1 worker.properties (arff this last one I can't figure out how it can
work, isn't it also use for auto-deploy war ? Ireally not need a
worker.properties per vhost... anyway I'll try)
and we'll se
Listeners are allowed in TLD files.
-Tim
MiSt wrote:
I added (by mistake) element
org.springframework.web.context.ContextLoaderListener
to struts .tld file (after ) despite web.xml and I noticed
that Spring context was loaded properly! Why? Elment is
illegal in
Pascal,
"normally", in your kind of configuration, tomcat connector listen on
all your IPs.
When the *.jsp request arrives (main points):
- Apache checks if it's managing this vhost (VirtualHost)
- JkMount says (this is tomcat stuff)
- mod_jk speaks with Tomcat (connector)
- Catalina checks if
I added (by mistake) element
org.springframework.web.context.ContextLoaderListener
to struts .tld file (after ) despite web.xml and I noticed
that Spring context was loaded properly! Why? Elment is
illegal in tld files. Tomcats notifies list
The default servlet already is mapped to / so your mapping below is not needed.
Tomcat's default servlet is defined in $CATALINA_HOME/conf/web.xml
-Tim
Dmitry S. Kravchenko wrote:
Hi!
How can I configure existance of default servlet?
This servlet, as I can see, allows me to use following
Hello
Do you tried to connect to your databse normaly (I mean without tomcat) to
see if your user/pwd and database are set correctly in Mysql
Like this for example
#mysql -uUSER -pPASSWORD DATABASE
Are you sure the user have access authority to this databse from localhost ?
I know this is ve
Jorge Isaac Martínez Hatch wrote:
Genius all around the world,
Goal: Intall two SSL certificates in the same server, but working for two
different IP addresses and domains.
I have:
- One server running Tomcat 5.5 over Windows.
- Two IP addresses.
- Two domains, one for each IP address.
- Two SS
Look in conf/web.xml -- it is commented out by default. It is widely
considered evil to use the default servlet. At a minimum, it poses security
risks.
Tim
-Original Message-
From: Dmitry S. Kravchenko [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 11:23 AM
To: users@tomcat.apac
Yes, authority in the url is the name of the database being accessed.
URL syntax looks something like this:
jdbc:mysql//[DNS_name|IP][:portNum]/database
portNum is 3306 if not specified and you can add a ? and connect options
after the database name as needed.
Hugh Morgan wrote:
> Franck Borel
Hi!
How can I configure existance of default servlet?
This servlet, as I can see, allows me to use following mappings
default
/res/*
See, that I don't want to write this servlet by my own, it should already
exist somewhere in the Tomcat.
Thnx.
Dims.
---
Franck Borel wrote:
Try this:
usernameroot
passwordROOT_PASSWORD
driverClassNamecom.mysql.jdbc.Driver
urljdbc:mysql://localhost/authority
Same error (after changing paramater ;) ). Did make me think though,
what is authority? Should I have cganged this (to the name of
Oups
Ok in fact I should create few connector (one per IP/port non SSL/SSL) and
then only one worker.properties ?
Is that correct ?
Like an other thread show
...
Pascal
Thank you Fabio
You don't have to create a connector per IP ? or vhost ?
I only have to create a connector f
Try this:
usernameroot
passwordROOT_PASSWORD
driverClassNamecom.mysql.jdbc.Driver
urljdbc:mysql://localhost/authority
-- Franck
> Franck Borel wrote:
>> Where did you place your Realm block?
>>
>> It must be placed inside the context block like this:
>>
>>
>>
>>
>
>
Thank you Fabio
You don't have to create a connector per IP ? or vhost ?
I only have to create a connector for localhost ? and for both no ssl port
and ssl port ?
We have few IP and Few domains per IP
I'm sorry I'm a newbie in Tomcat.
To resume I have to
Define virtualhost in server.xml
Defi
2006/5/8, David Goodenough <[EMAIL PROTECTED]>:
On Monday 08 May 2006 14:51, Gustavo Noronha wrote:
> 2006/5/8, Tim Lucia <[EMAIL PROTECTED]>:
> > I have the following settings in my (Windows) service configuration on
> > the Java tab (ONE PER LINE!)
> >
> > -Dcom.sun.management.jmxremote
> > -D
On Monday 08 May 2006 14:51, Gustavo Noronha wrote:
> 2006/5/8, Tim Lucia <[EMAIL PROTECTED]>:
> > I have the following settings in my (Windows) service configuration on
> > the Java tab (ONE PER LINE!)
> >
> > -Dcom.sun.management.jmxremote
> > -Dcom.sun.management.jmxremote.port=8086
> > -Dcom.su
2006/5/8, Tim Lucia <[EMAIL PROTECTED]>:
I have the following settings in my (Windows) service configuration on the
Java tab (ONE PER LINE!)
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8086
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authentica
[cut]
What is a trouble for us is this
Other file that needs editing is workers.properties First thing. Add
the connection name to the worker.list
worker.list=ajp12, ajp13, connect_id
Next add that connection to the worker
worker.connect_id.port=8112
worker.connect_id.h
Yoo,
Please specify your problem. how are you trying to start tomcat?
Greetings O.
On Mon, 2006-05-08 at 10:40 -0300, Gustavo Noronha wrote:
> 2006/5/4, Dieter Schmidt <[EMAIL PROTECTED]>:
> >
> > Hello all,
> >
> > I am fighting the whole day log against Tomcat 4.1 and can't get it
> > star
2006/5/4, Dieter Schmidt <[EMAIL PROTECTED]>:
Hello all,
I am fighting the whole day log against Tomcat 4.1 and can't get it
started.
I noticed, the first time I installed it, that the tomcat4 package in Debian
would only work if you have tomcat4-webapps installed. I forgot if I found a
solu
If you copy and pasted your config file then your first useIPVHosts is not
"true" its "tru". I'd be willing to bet that might be your problem.
Chris Berthold
IT Systems Analyst
Commercial Refrigerator Door Company
941 . 371 . 8110 x 205
-Original Message-
From: Jorge Isaac Martínez Hatch
Genius all around the world,
Goal: Intall two SSL certificates in the same server, but working for two
different IP addresses and domains.
I have:
- One server running Tomcat 5.5 over Windows.
- Two IP addresses.
- Two domains, one for each IP address.
- Two SSL certificates one for each domain.
Franck Borel wrote:
Where did you place your Realm block?
It must be placed inside the context block like this:
I did not have it here, I had it in the Engine tag. I have now changed
it, and stoped and restarted the server. I still get the same error.
The relavent bit of my server.
Hi All,
Can I set worker2.properties from mod_jk connector to do static
content caching ? Or is there any better alternative solutions ?
--
Regards,
Feris
PT. Putera Handal Indotama
JL. KH. Moh. Mansyur No. 11 Blok B.8-12
Telp. +62-21-631 6688 (Hunting)
Fax. +62-21-6330211
Jakarta (10140) - INDO
Where did you place your Realm block?
It must be placed inside the context block like this:
-- Franck
> Franck Borel wrote:
>> Have you set the entry unpackWARs true like this ?
>>
>> > appBase="webapps"
>> unpackWARs="true"
>> autoDeploy="true"
>> xmlValidation="fal
Hello again;
My app needs a custom content negotiation where URI's
that correspond to xml (but without explicit extension)
are XSLT'd to html or xhtml (custom since I need browser
sniffing to decide about MathML). I'll also be dealing
with pre-built pages and caching.
I gather from the list arc
I have two webapps.
Webapp one contains this JSP
x.jsp:
--
<%@ taglib uri="/c.tld" prefix="c" %>
<%
session.setAttribute("tester", "this is a test attribute");
%>
Value from attribute in webapp one:
--
Franck Borel wrote:
Have you set the entry unpackWARs true like this ?
Yes, that is exactly what my Host tag looks like, and the war file is
unpacked correctly;
Thanks for the help.
-
To unsubscribe, e-mail: [EM
I could not get this to work at all on Tomcat 5.5.9, so I installed 5.5.17,
copied across the changes I had made to 5.5.9, and it worked first time.
Bizaar.
David.
On Monday 08 May 2006 12:02, Tim Lucia wrote:
> I have the following settings in my (Windows) service configuration on the
> Java t
Have you set the entry unpackWARs true like this ?
-- Franck
> Franck Borel wrote:
>> Have you installed a mysql-connector?
>>
>> --> http://dev.mysql.com/downloads/connector/j/3.0.html
>>
>> - unpack
>> - find a file called mysql-connector-java-..jar
>> - copy this file into the common/li
Hello all,
Thanks Fabio and Pedro.
Pedro : I ahd already readen this
http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html , but there is smethink I
do not understand.
Ok you update your vhost to add an handler for jsp page, with jkmount, it's
fine
Ok you define all your vhost in server.xml : arf
Michael McQuade wrote:
Newbie question here folks I read in previous mails that there is a Catalina.out file Is this an error logging file? I looked in my Tomcat directory for it, but I do not have one If its not, do I need to Enable error logging files somehow Or, are they th
Newbie question here folks I read in previous mails that there is a
Catalina.out file Is this an error logging file? I looked in my Tomcat
directory for it, but I do not have one If its not, do I need to Enable
error logging files somehow Or, are they there, and I dont know
Franck Borel wrote:
Have you installed a mysql-connector?
--> http://dev.mysql.com/downloads/connector/j/3.0.html
- unpack
- find a file called mysql-connector-java-..jar
- copy this file into the common/lib directory of your Tomcat installation
-- Franck
On the VPS there is already the
We would like to thank everyone who participated in our online survey
about Hexamind Companion for Apache Tomcat. Your opinion is important to us!
If you haven't filled the survey yet, you can still do so. Just follow
this link:
http://www.hexamind.com/website/surveys/tomcat?orig=a2
Itai Shir
Have you installed a mysql-connector?
--> http://dev.mysql.com/downloads/connector/j/3.0.html
- unpack
- find a file called mysql-connector-java-..jar
- copy this file into the common/lib directory of your Tomcat installation
-- Franck
> I am tring to get an web site that I have developed
What is an easy way to schedule an automatic restart of Tomcat - say
every day at 3am?
if you use linux: add a line in your crontab executing
"/etc/init.d/tomcat restart"
Regards,
Gaël
I have the following settings in my (Windows) service configuration on the
Java tab (ONE PER LINE!)
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8086
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
I have similar settings in $CATALI
I am trying to get jconsole to talk to Tomcat 5.5, and failing dismally.
My first attempt was to enable the local access to JMX, using just
-Dcom.sun.management.jmxremote but when I then start jconsole
there are NO local services shown.
So then I tried remote access, by setting -Dc.s.m.j.port=900
I am tring to get an web site that I have developed with Java Studio
Creator working on a VPS. I cannot get tomcat to comunicate with the
MySQL database. I have got a minimal web site working, and I have added
a simple dtabase query to it and I get the error at [1] (for full error
see http://
Suggested practice is to put any property files, XML files, resource(s) of
any kind beneath WEB-INF/classes (or WEB-INF/lib, if a jar). Then you can
load them using one of the mechanisms here:
http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html
Once you have an Input
Hi,
What is an easy way to schedule an automatic restart of Tomcat - say
every day at 3am?
--
Cheers
Jack...
The claim "natural" is not synonymous with safe.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
> From: Krish B [mailto:[EMAIL PROTECTED]
> I get an exception sometimes during tomcat startup.
We'll need a little more information - most notably the *exact* Tomcat
version you're using, but it would also be useful to know the operating
system, Java version and we may need to know snippets from
hi,
I get an exception sometimes during tomcat startup. I saw a few posts
related to this
but am not able to resolve the same.
java.util.ConcurrentModificationException
at java.util.HashMap.onEntry(HashMap.java:205)
at java.util.HashMap.transfer(HashMap.java:510)
at java.util.HashMap.resize(Hash
No question that this is a Java VM problem, no java code should be able
to crash a VM, thats the point of java really.
Although back in the real world this is clearly a problem being
"tickled" by some code in tomcat. You might want to check that your OS
is fully up to date, and possibly try using
This is the Java Virtual Machine (VM), please report the details to Sun.
-Original Message-
From: Martijn Moret [mailto:[EMAIL PROTECTED]
Sent: 08 May 2006 09:45
To: users@tomcat.apache.org
Subject: Problem: An unexpected error has been detected by HotSpot
Virtual Machine
Hi,
We use tom
Hi,
We use tomcat 5.5.15 on Solaris 9 (latest recommended patches and j2se
cluster). once in a while tomcat crashes, the following message appears:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xfee32868, pid=7483, tid=10
#
# Java VM: Java HotSpot
Hi
all,
I'm
building a web services application that requires configuration xml files.
Is
there a location where I should put the xml configuration files?
Is
there a best practice saying where to put configuration files?
If
there is, how am I expected to get the configuration info f
Hi Pascal, hi All,
I'm very interested on this topic too.
I'm using Apache with vhosts + mod_jk + 1 tomcat with vhosts.
You have to configure the same vhosts in apache and tomcat (look
tomcat conf docs).
I this should be possible to configure multiple tomcat instances (not in
LB) too (one f
Excellent, thank you very much
-Original Message-
From: Gaël Lams [mailto:[EMAIL PROTECTED]
Sent: 06 May 2006 07:49 PM
To: Tomcat Users List
Subject: Re: Install Guide
On 5/5/06, Dirk Moolman <[EMAIL PROTECTED]> wrote:
> Sorry, I tried 8081, but also 8080 (as in a previous mail), but bo
83 matches
Mail list logo