How to debug in eclipse with tomcat started by sysdeo

2006-05-08 Thread minilin-inbox
Hi, I want to debug my web application with the web service tomcat started by sysdeo in eclipse, How could I do? Minilin

Re: Connector ports

2006-05-08 Thread Mark Thomas
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

Re: Default servlet

2006-05-08 Thread Mark Thomas
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

Re: access to content out of webapps directory

2006-05-08 Thread Mark Thomas
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

Re: User Web Applications

2006-05-08 Thread Mark Thomas
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

Connector ports

2006-05-08 Thread Jorge Isaac Martínez Hatch
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

ClassCastException when forwarding wrapped HttpServletRequest

2006-05-08 Thread Yuri de Wit
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

Re: Tomcat 5.5 configuration problem

2006-05-08 Thread Mark Thomas
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

Re: Creating Virtual Hosts

2006-05-08 Thread Jorge Isaac Martínez Hatch
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

Does Tomcat reuse parameterMap?

2006-05-08 Thread Nikita Tovstoles
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

InstanceAlreadyExistsException on Tomcat load

2006-05-08 Thread Vasily Ivanov
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

Re: Creating Virtual Hosts

2006-05-08 Thread Paul Singleton
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

Re: Creating Virtual Hosts

2006-05-08 Thread Jorge Isaac Martínez Hatch
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:

Installing Tomcat as a service

2006-05-08 Thread Rajesh Rajamani
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

Re: "This page contains secure and non secure elements" (was "mod_jk : "connection aborted or network problems", but apache and tomcat are on the same machine??")

2006-05-08 Thread Francis Galiegue
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

Re: "This page contains secure and non secure elements" (was "mod_jk : "connection aborted or network problems", but apache and tomcat are on the same machine??")

2006-05-08 Thread Marc Farrow
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

Wrong userrole gets me 403 error code

2006-05-08 Thread Henke
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

"This page contains secure and non secure elements" (was "mod_jk : "connection aborted or network problems", but apache and tomcat are on the same machine??")

2006-05-08 Thread Francis Galiegue
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

Re: Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Hassan Schroeder
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

Default install of Tomcat not working properly

2006-05-08 Thread Darren Hall
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

Problem with Tomcat 5

2006-05-08 Thread Raul Lapitzondo
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

Re: Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Mark Eggers
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

Re: Application Configuration

2006-05-08 Thread Mark Petrovic
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

RE: Application Configuration

2006-05-08 Thread Asaf Lahav
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

RE: Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Chris Berthold
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.

Showing on the console or in the logs all the content of the post http methods

2006-05-08 Thread Julien Martin
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

Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Scott Purcell
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

RE: Session last-access/lifetime clustered versus non

2006-05-08 Thread Tim Lucia
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

Re: Session last-access/lifetime clustered versus non

2006-05-08 Thread Filip Hanik - Dev Lists
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

cannot copy Request parameters to Map while load testing

2006-05-08 Thread Nikita Tovstoles
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

Session last-access/lifetime clustered versus non

2006-05-08 Thread Tim Lucia
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Hugh Morgan
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Hugh Morgan
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

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-08 Thread Pascal
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

Re: Listener in tld files - bug ?

2006-05-08 Thread Tim Funk
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

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-08 Thread Fabio Gurgone
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

Listener in tld files - bug ?

2006-05-08 Thread MiSt
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

Re: Default servlet

2006-05-08 Thread Tim Funk
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Pascal
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

Re: Creating Virtual Hosts

2006-05-08 Thread Paul Singleton
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

RE: Default servlet

2006-05-08 Thread Tim Lucia
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread David Smith
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

Default servlet

2006-05-08 Thread Dmitry S. Kravchenko
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. ---

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Hugh Morgan
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

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-08 Thread Pascal
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
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: >> >> >> >> > >

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-08 Thread Pascal
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

Re: Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread Gustavo Noronha
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

Re: Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread David Goodenough
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

Re: Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread Gustavo Noronha
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

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-08 Thread Fabio Gurgone
[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

Re: Crashing Tomcat 4.1 on Debain

2006-05-08 Thread bossert
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

Re: Crashing Tomcat 4.1 on Debain

2006-05-08 Thread Gustavo Noronha
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

RE: Creating Virtual Hosts

2006-05-08 Thread Chris Berthold
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

Creating Virtual Hosts

2006-05-08 Thread 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.

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Hugh Morgan
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.

Connector with Static Content Caching

2006-05-08 Thread Feris Thia
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
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

Content negotiation, getMimeType

2006-05-08 Thread Bruce Miller
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

c:import and session scope in tomcat

2006-05-08 Thread Bob Damato
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: --

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Hugh Morgan
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

Re: Enabling JMX and jconsole in Tomcat 5.5 - SOLVED

2006-05-08 Thread David Goodenough
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
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

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-08 Thread Pascal
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

Re: Log Files

2006-05-08 Thread Hugh Morgan
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

Log Files

2006-05-08 Thread Michael McQuade
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Hugh Morgan
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

Thank you for participating in the Hexamind Companion survey

2006-05-08 Thread Itai Shirav
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
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

Re: easiest way to schedule an automatic restart of tomcat?

2006-05-08 Thread Gaël Lams
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

RE: Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread Tim Lucia
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

Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread David Goodenough
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

Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Hugh Morgan
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://

RE: Application Configuration

2006-05-08 Thread Tim Lucia
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

easiest way to schedule an automatic restart of tomcat?

2006-05-08 Thread Jack
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,

RE: Startup exception in Tomcat

2006-05-08 Thread Peter Crowther
> 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

Startup exception in Tomcat

2006-05-08 Thread Krish B
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

Re: Problem: An unexpected error has been detected by HotSpot Virtual Machine

2006-05-08 Thread Mark Hagger
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

RE: Problem: An unexpected error has been detected by HotSpot Virtual Machine

2006-05-08 Thread Chris Nappin
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

Problem: An unexpected error has been detected by HotSpot Virtual Machine

2006-05-08 Thread Martijn Moret
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

Application Configuration

2006-05-08 Thread Asaf Lahav
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

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-08 Thread Fabio Gurgone
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

RE: Install Guide

2006-05-08 Thread Dirk Moolman
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