Tomcat 6.0.18 error 405

2009-01-23 Thread bigtoto
hi, when i'm trying to visualize a wsdl file through the URL http://localhost:8080/activation-service/activationService.wsdl i have the error 405. PS: my application is webservice developped using spring2.5 -- View this message in context:

How to prevent direct ip address

2009-01-23 Thread Jaakko Taipale
I have specified domain eg. www.myapp.com and I have tomcat running my machine that have IP address 123.123.123.123. Now I can access to my app with two address: http://www.myapp.com/myapp or http://123.123.123.123/myapp How can I prevent tomcat to response when somebody is trying to access

RE: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Peter Crowther
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Sure we can argue about which DBMS has the fastest JOINs but nonetheless it remains that JOIN queries will always be computationally expensive compared to single table queries. Depends what you do with the results of those single table

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Chris Wareham
Jonathan Mast wrote: Perhaps the discussion should move back towards how Tomcat interacts with databases. It would be more on topic, but a well architected web application will have a data access layer that is not dependent on the Servlet API, both for testability and reusability. While a

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Peter Stavrinides
when they hit this kind of problem they assume it's a limitation of the kind of tools they are using Exactly, mostly its a suboptimal implementation of these technologies Our core business is reporting with complex risk modeling, we do intensive risk calculations on raw data using complex joins

Re: How to prevent direct ip address

2009-01-23 Thread Kees de Kooter
You could create two virtual hosts, one 'default' that displays some error page and one for your domain that displays the app. Kees On Fri, Jan 23, 2009 at 10:52, Jaakko Taipale jaakko.taip...@dbmanager.fi wrote: I have specified domain eg. www.myapp.com and I have tomcat running my machine

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Leon Rosenberg
On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham cware...@visitlondon.com wrote: By it's very definition (see Codd or Date), an RDBMS should be capable of performing joins with good performance. MySQL often struggles to do so thanks to the poor optimiser, so you had to implement what should be

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Jim Cox
On Fri, Jan 23, 2009 at 6:23 AM, Leon Rosenberg rosenberg.l...@googlemail.com wrote: On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham cware...@visitlondon.com wrote: By it's very definition (see Codd or Date), an RDBMS should be capable of performing joins with good performance. MySQL

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Chris Wareham
Leon Rosenberg wrote: On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham cware...@visitlondon.com wrote: By it's very definition (see Codd or Date), an RDBMS should be capable of performing joins with good performance. MySQL often struggles to do so thanks to the poor optimiser, so you had to

403 on https connection but not http

2009-01-23 Thread Emsley, I (Iain)
Hi, I'm trying to get https:// working on an application running on Tomcat 5.5.23 on Windows Server 2003. When I ran the application on port 8080, it logged me in fine using our login filters, however when I moved to https://, the application returns 403 without any messages being written to

RE: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Peter Crowther
Leon, it's rare for me to disagree with you, but... From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] For example if you need all orders by user with name Chris, you will ALWAYS be faster if you first retrieve the userid, and than the orders of the userid. ... I disagree and can

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Leon Rosenberg
On Fri, Jan 23, 2009 at 12:36 PM, Chris Wareham cware...@visitlondon.com wrote: Leon Rosenberg wrote: On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham cware...@visitlondon.com wrote: By it's very definition (see Codd or Date), an RDBMS should be capable of performing joins with good

How to enforece status like manager authentication for my web app?

2009-01-23 Thread kaprasi
Hi, I have written a simple web-app and I have deployed it in tomcat-6.0.18. I want to ensure that a particular jsp file can't be accessed directly. As in, in the tomcat page (http://localhost:8080/) on the left side there is a link titled Status. Clicking on which brings up a log-in dialog. I

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Chris Wareham
Leon Rosenberg wrote: On Fri, Jan 23, 2009 at 12:36 PM, Chris Wareham cware...@visitlondon.com wrote: So you perform two queries from the application layer? You are basically doing a join by hand - the cost of those two round trips to the database will lose to a single query with a join,

Re: How to prevent direct ip address

2009-01-23 Thread Markus Schönhaber
Jaakko Taipale: I have specified domain eg. www.myapp.com and I have tomcat running my machine that have IP address 123.123.123.123. Now I can access to my app with two address: http://www.myapp.com/myapp or http://123.123.123.123/myapp How can I prevent tomcat to response when

Re: How to enforece status like manager authentication for my web app?

2009-01-23 Thread Pid
kaprasi wrote: Hi, I have written a simple web-app and I have deployed it in tomcat-6.0.18. I want to ensure that a particular jsp file can't be accessed directly. As in, in the tomcat page (http://localhost:8080/) on the left side there is a link titled Status. Clicking on which brings up

Re: GenericType error?

2009-01-23 Thread Jonathan Mast
You were right, the copy of blah.jsp on production server had been corrupted by SVN (there was a conflict when I checked blah out). It wasn't a Tomcat issue at all. I only thing is that the corruption (actually SVN's DIFF notation) was nowhere near line 28, it was further down in the file.

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Wareham wrote: I am particularly wary of MySQL because of the way missing features have been disingenuously described as unnecessary, and broken features as the MySQL developers knowing better than everyone else. Not to pick a fight,

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan Riegel wrote: - Request 1 running in Thread 1 gets a db connection. - Request 1 closes the db connection. - The JVM switches the running thread to Thread 2 - Request 2 running in Thread 2 gets a db connection (the same db

[Travel Assistance] Applications for ApacheCon EU 2009 - Now Open

2009-01-23 Thread Mladen Turk
The Travel Assistance Committee is now accepting applications for those wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009 in Amsterdam. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon EU 2009 who need some financial

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Leon Rosenberg
On Fri, Jan 23, 2009 at 12:59 PM, Chris Wareham cware...@visitlondon.com wrote: Reread my last message, and take a look at the internals of any half decent RDBMS. Frequently accessed data will get cached in memory, and the cost of many joins will be less than the cost of a hash table lookup

Java Crash

2009-01-23 Thread Stephen Caine
All, Whenever I attempt to access a charting jsp, I get an invalid memory access error and the JVM just crashes. Here are the relevant portions of the java crash log. Any thoughts would be appreciated. Is this an Apple Java issue?? Stephen Caine CommonGround Softworks, Inc.

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Chris Wareham
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Wareham wrote: I am particularly wary of MySQL because of the way missing features have been disingenuously described as unnecessary, and broken features as the MySQL developers knowing better than everyone

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Chris Wareham
Leon Rosenberg wrote: On Fri, Jan 23, 2009 at 12:59 PM, Chris Wareham cware...@visitlondon.com wrote: Reread my last message, and take a look at the internals of any half decent RDBMS. Frequently accessed data will get cached in memory, and the cost of many joins will be less than the cost of a

different jsessionid for different webapps

2009-01-23 Thread Stefano Nichele
Hi All, I have a strange (for me?) requirement for my application. Basically I have webapp A deployed in Tomcat A and webpp B deployed in Tomcat B. webappA is the main webapplication that provides the main web page to the the browser. That page contains an IFrame that points to webappB. Is

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Wareham wrote: By the way, if it's not static data your caching, how's your messaging system? Without one how are you going to maintain the integrity of your caches? Even with one, can you tolerate a race condition between the data

Re: encodeRedirectURL URL rewrite not working

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg, Greg Burrow wrote: I have two web applications in different context, one servlet will forward the request to a servlet in the other application using encodeRedirectURL and sendRedirect. NB that's a redirect, not a forward. The receiving

Re: different jsessionid for different webapps

2009-01-23 Thread Pid
Stefano Nichele wrote: Hi All, I have a strange (for me?) requirement for my application. Basically I have webapp A deployed in Tomcat A and webpp B deployed in Tomcat B. webappA is the main webapplication that provides the main web page to the the browser. That page contains an IFrame that

Regarding SVN

2009-01-23 Thread Sneha Manohar
Hello ,   I wish to install SVN on my laptop .  Do I need to install SVN server client both ? . I have windows vista operating system which version do I need to install ?   sneha Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

Re: run tomcat as tomcat user

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rusty, Rusty Wright wrote: It's set up so that tomcat runs as the user tomcat. In order to do that you'll need to tweak the ownership of the files in the tomcat directory. I would recommend that, instead of modifying the ownership of the Tomcat

Re: Java Crash

2009-01-23 Thread Jonathan Mast
that is almost certainly an Apple Java issue. If by charting, you mean graphics, then even more so. The Java2D api on Mac still has bugs that will crash. But you can't be certain unless you test ur webapp on a windows machine. On Fri, Jan 23, 2009 at 11:03 AM, Stephen Caine

Re: Java Crash

2009-01-23 Thread Stephen Caine
Jonathan, that is almost certainly an Apple Java issue. If by charting, you mean graphics, then even more so. The Java2D api on Mac still has bugs that will crash. I am sorry that I did not specify the charting jsp. We are using the ones provided by CEWolf (based on JFreeChart).

RE: Java Crash

2009-01-23 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Java Crash that is almost certainly an Apple Java issue. Note also the excessive heap size vs installed RAM. This is guaranteed to induce serious paging, and I don't know if the MAC OS is robust enough to deal with a lot

Re: run tomcat as tomcat user

2009-01-23 Thread Rusty Wright
Thanks, I like that suggestion. So, to use your method, using the su below, would I do export CATALINA_BASE=/home/tomcat su - tomcat -c /path/to/tomcat/bin/startup.sh Do I need to copy anything from the original tomcat directory to /home/tomcat, or do I need to make any directories in it?

Re: TCP connections and HTTP sessions

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tovaldez wrote: Hi, monitoring our webapp while running load testing, I noticed that the number of the effective users browsing the site is more than the number of opened sockets in ESTABLISHED state (while under a 240 Virtual Users load, I see

Re: GenericType error?

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, Jonathan Mast wrote: I only thing is that the corruption (actually SVN's DIFF notation) was nowhere near line 28, it was further down in the file. Perhaps Tomcat could have been helpful in indicating this. You'd be surprised at what can

Configuring SSL for Tomcat 6

2009-01-23 Thread Inya-Agha, Wynne
The problem with the SSL is that the Tomcat server is not using the certificate. When it starts, depending on the exact options chosen in the server.xml file for the port 8443 listener section, it does one of the following: It will either fail to start listening on port 8443 at all, or It will

Re: 403 on https connection but not http

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain, Emsley, I (Iain) wrote: I'm trying to get https:// working on an application running on Tomcat 5.5.23 on Windows Server 2003. When I ran the application on port 8080, it logged me in fine using our login filters, however when I moved to

Question abut CometProcessor EventSubType.TIMEOUT semantics

2009-01-23 Thread David Boreham
I'm re-writing an application to use the CometProcessor interface. Generally things are working but despite several late evenings single-stepping through the connector code, I'm still unclear on one issue and would appreciate some education: In my debugging I'm using NIO (production deployment

Re: different jsessionid for different webapps

2009-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, Pid wrote: Stefano Nichele wrote: Hi All, I have a strange (for me?) requirement for my application. Basically I have webapp A deployed in Tomcat A and webpp B deployed in Tomcat B. webappA is the main webapplication that provides the main

Re: Java Crash

2009-01-23 Thread Ken Bowen
Just a datapoint: I have a webapp which does basic graph construction using JFreeChart which has been running in development mode on a Mac OS X 10.5.6 under both Tomcat 5.5.26 and 6.0.18 for many months, and has never produced such a crash. On Jan 23, 2009, at 1:56 PM, Stephen Caine

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Jonathan Mast
Perhaps I should explain more about how my rewrite sans JOINs works: The reports read from a log table with this schema: PK | ref_PK1 | ref_PK2 | ref_PK3 | start_time | stop_time Where ref_PK# is the primary key of another table. These 3 other tables are very shallow (row count 100). The log

RE: Configuring SSL for Tomcat 6

2009-01-23 Thread Caldarale, Charles R
From: Inya-Agha, Wynne [mailto:winya-a...@trimontrea.com] Subject: Configuring SSL for Tomcat 6 The documentation I'm using is just whatever I can find on the Internet Why don't you use the documentation on the Tomcat web site? http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html Note

Re: run tomcat as tomcat user

2009-01-23 Thread Rusty Wright
To answer my own question; I did some google searching and figured out that you need to copy the tomcat conf directory to ~tomcat and also create the directories ~/tomcat/logs, ~/tomcat/temp, and ~/tomcat/work; all owned by tomcat. Then copy over the webapps directory, or make a new one in

RE: run tomcat as tomcat user

2009-01-23 Thread Caldarale, Charles R
From: Rusty Wright [mailto:rusty.wri...@gmail.com] Subject: Re: run tomcat as tomcat user To answer my own question; I did some google searching and figured out that you need to copy the tomcat conf directory to ~tomcat and also create the directories ~/tomcat/logs, ~/tomcat/temp, and

Re: Facing “Javax.servlet.servletException: c annot connect to windows server”. error

2009-01-23 Thread Kees Jan Koster
Dear prakash.s, I had visited the link suggested by you, please let me know how to change the java property -Djava.awt.headless=true Is it just enough to type the command prompt? For tomcat, you can either edit catalina.sh and add it after the Java command, for example.

Re: Java Crash

2009-01-23 Thread Stephen Caine
Ken, This is very helpful. It strongly suggests the issue is memory management, not JFreeChart. Thanks, Stephen On Jan 23, 2009, at 2:28 PM, Ken Bowen wrote: Just a datapoint: I have a webapp which does basic graph construction using JFreeChart which has been running in development

Re: different jsessionid for different webapps

2009-01-23 Thread tovaldez
Actually, you should have the path set in the cookie, too. Verify looking at your browser cookies. Be sure not to have something like: emptySessionPath=true in the connector definition in server.xml (usually we have to set it to true because when not set or set to false we have errors due to

Re: TCP connections and HTTP sessions

2009-01-23 Thread tovaldez
On Friday 23 January 2009 20:04:40 Christopher Schultz wrote: tovaldez wrote: Hi, monitoring our webapp while running load testing, I noticed that the number of the effective users browsing the site is more than the number of opened sockets in ESTABLISHED state (while under a 240

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Terence M. Bandoian
As a general rule, it's been my experience with MySQL that well-designed queries on properly indexed tables yield good performance. There are, of course, exceptions to the rule where performance may be improved by moving a portion of a query into the application and times when the execution of a

Re: Regarding SVN

2009-01-23 Thread Rusty Wright
Try here: http://subversion.tigris.org/ http://subversion.tigris.org/mailing-lists.html Sneha Manohar wrote: Hello , I wish to install SVN on my laptop . Do I need to install SVN server client both ? . I have windows vista operating system which version do I need to install ? sneha