JDK1.5 and Tomcat5.5.0

2004-10-01 Thread Subhash
Hi! Has any one tried configuring the JDK1.5 with Tomcat5.5.0? When I start Tomcat, I get the following message in `catalina.out': This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the

RE: Security of Servlets

2004-10-01 Thread Pawson, David
-Original Message- From: QM Executables and other server-side dynamic content( CGI, servlets/JSPs, PHP, etc) permit end-users to interact with the server in a different way: they must process user input, and in doing so, watch out for malformed values.

tomcat data source - mysql

2004-10-01 Thread Eric Wulff
Hi, I am not able to access a mysql server from a simple jsp example. I have googled the errors, checked mysql and tomcat docs and mailing list archives without success. Finding a tremendous amount of info but nothing so far worked to solve my problem. I created a data resource in my

Re: tomcat data source - mysql

2004-10-01 Thread Michael Eastwood
Hi Eric, You also need a ResourceLink element in your Context. If you rely on tomcat to create your contexts dynamically, AFAIK you'll never pick up your datasource. So put a file named whatever context you want your stuff under in $CATALINA_HOME/conf/Catalina/localhost/ if you're using the

Re: NewBee needs help with deployment descriptor

2004-10-01 Thread Christian Ruediger
Sorry for the anouncement of beeing a newbie. I didn't know that. Now for my problem At first i had ANT deploy the war file. As i didn't find the war file or the {appname}-folder in {tomcat}/webapp even though it was registered in the admin web-frontend of tomcat, I just copied the .war file into

RE: Synchronization in cluster

2004-10-01 Thread Ralph Einfeldt
With this usage scenario i would recommend sticky sessions. -Original Message- From: Igor [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 8:59 PM To: [EMAIL PROTECTED] Subject: Re: Synchronization in cluster Users of my application can upload comma separeted

urls not conforming to the standards problem

2004-10-01 Thread Michael Cornell
I am having a problem with the way Tomcat handles urls that do not conform to the standards regarding get parameters.. As we all know this looks like http://www.myhost.com/someapp/jsp/index.jsp?name=fredage=10 My problem is that an incoming request url comes in as:

tomcat 5.x windows installer

2004-10-01 Thread Christopher Watson
I cannot get the latest windows installer .exe jakarta-tomcat-5.5.2.exe to install properly It freezes after writing conf\server.xml and conf\tomcat-users.xml with the message Using Jvm: C:\jdk1.5\jre\bin\server\jvm.dll where that is where I've installed the jdk. It make no difference if I

Re: JDK1.5 and Tomcat5.5.0

2004-10-01 Thread Subhash
It works fine! The culprit was a JAVA_HOME variable pointing to another path... - Subhash. On Fri, 2004-10-01 at 13:03, Subhash wrote: Hi! Has any one tried configuring the JDK1.5 with Tomcat5.5.0? When I start Tomcat, I get the following message in `catalina.out': This release of Apache

Manager Deploy without start

2004-10-01 Thread Andrea Polci
Is it possible to deploy a war with the Manager serlvet without starting it immediately. I'd like to start it with the manager later. I tried to change the tomcat configuration (autoDeploy and liveDeploy). I tried to look at the code to figure out a way to do this, and I considered the

Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Hello! My scenario is an order application, where my customers can order products. But the software or the design of the pages are changing rapidly. The question is now: how can I deploy a new version without the customer noticing anything? I'm searching for something similar to what

Re: JK2 2.0.4

2004-10-01 Thread Alex
yes, i have. do a search for one of my posts from a few weeks back where i posted the configs you needed to get it all working. On Thu, 30 Sep 2004, Paul D. Hester wrote: Date: Thu, 30 Sep 2004 14:33:45 -0400 From: Paul D. Hester [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Ralph Einfeldt
Just a guess: - Use Apache + mod_jk(2) + 2 tomcat instances - Use sticky sessions (look at the jvmRoute of the engine tag) - Use the load factor to distribute 100% of the requests to the first instance. - Update the second instance. - Change the load factor to distribute 100% of the

RE: JK2 2.0.4

2004-10-01 Thread Alex
In the workers2.properties you've posted below, you're not utilizing virtual hosts. can you modify your workers2.properties and test the following? [uri:virtual-host-1/*] group=ajp13:localhost:8409 [uri:virtual-host-2/*] group=ajp13:localhost:8209 have you set up virtual-hosts in tomcat? On

RE: Synchronization in cluster

2004-10-01 Thread Filip Hanik \(lists\)
That doesn't solve the problem -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:26 AM To: Tomcat Users List Subject: RE: Synchronization in cluster With this usage scenario i would recommend sticky sessions. -Original

Re: urls not conforming to the standards problem

2004-10-01 Thread Ben Souther
Those are path parameters. Here's an excerpt from the Servlet Specs (SRV 4.1) regarding path parameters: Path parameters that are part of a GET request (as defined by HTTP 1.1) are not exposed by these APIs. They must be parsed from the String values returned by the getRequestURI method or the

WAP Gateway

2004-10-01 Thread Vijay Mathew
hello, I am trying to send some data using POST from a BlackBerry handheld device to a servlet deployed in tomcat. everything works fine when i use the BlackBerry simulator. But when i use the device and connect with a WAP Gateway, tomcat hangs when large packets are transmitted. Is there any

RE: JK2 2.0.4

2004-10-01 Thread Cox, Charlie
To avoid all confusion, I would remove your [uri: mappings from the workers2.properties and then specify the mappings in your httpd.conf: VirtualHost 1.1.1.1:80 Location / JkUriSet worker ajp13:localhost:8409 /Location /VirtualHost VirtualHost 2.2.2.2:80

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
When I try to remove the uri's in the worker2.properties and set up the mappings in my httpd.conf I get the Apache web page saying I've successfully installed Apache for both virtual hosts. Thanks, Paul -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: tomcat data source - mysql

2004-10-01 Thread David Smith
Sorry guy, but read the original post again. ResourceLink is only required when the data source is defined as a global resource in server.xml. The poster defined the data source in the Context, not as a GlobalResource. The real problem here: Host 'localhost.localdomain' is not allowed to

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Andoni
This is very interesting. Do you think it would copy over the sessions correctly? Surely the think that WO is doing is maintaining all sessions on the old machine until they are shut down. My way of doing this is simply to get up at 3:30am and make the changes then! I am lucky in that 90% of my

RE: configure tomcat for default index

2004-10-01 Thread Shapira, Yoav
Hi, You need a Context with path=. Not sure what this means? RTFM and search the archives of this list. Yoav Shapira Millennium Research Informatics -Original Message- From: didik [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 11:52 PM To: [EMAIL PROTECTED] Subject:

RE: JNDI binding a new resource

2004-10-01 Thread Shapira, Yoav
Hi, You have a couple of options within Tomcat: use a custom JNDI resource factory (this is covered in the JNDI how-to) which would allow you to control JNDI resource creation and stuff, but only for that factory and type, so it's limited. Alternatively, extend and/or customize the

RE: Security of Servlets

2004-10-01 Thread Shapira, Yoav
Hi, I'm using mySQL for login name, password validation. This from a standard html static page. I can't see how I can get to this data to validate it? Is it possible? On a standard HTML static page you can use JavaScript for form field validation and not even submit the form if the inputs

RE: tomcat 5.x windows installer

2004-10-01 Thread Shapira, Yoav
Hi, I just installed 5.0.28.exe on Win2K the other day, using both JDK 1.4.2_04 and 1.5 RC2 (the last beta before the final customer shipment went out yesterday): in either case it worked fine, no freezing. Installation, running as a service, running from the command line, and de-installation all

RE: configure tomcat for default index

2004-10-01 Thread khanaz
Didik: Tomcat, by default, sources the ROOT folder of your CATALINA_HOME\webapps.. if you would like to make modifications to your ROOT content as you are trying to do, you can change the Context docBase in the server.xml file of CATALINA_HOME\conf directory. !-- Tomcat Root Context --

RE: urls not conforming to the standards problem

2004-10-01 Thread Shapira, Yoav
Hi, I think what he's saying is that he has request parameters AFTER path parameters, and that Tomcat stops evaluating the URL after encountering the special ; delimiter ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent:

RE: Synchronization in cluster

2004-10-01 Thread Ralph Einfeldt
Why not ? As I understood the static variable holds the information for the current upload. If the session is sticky the user will stay in the same jvm and see the same static variable with each refresh. I just see some downsides: - if you want to assure that the downloads are serialised you

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Am 01.10.2004 um 14:10 schrieb Andoni: Surely the think that WO is doing is maintaining all sessions on the old machine until they are shut down. Yes, that's what WO is doing. You can see it in the Monitor application. Sessions are bound to the application instance. Otherwise changing the way

Re: NewBee needs help with deployment descriptor

2004-10-01 Thread QM
On Fri, Oct 01, 2004 at 10:55:27AM +0200, Christian Ruediger wrote: : After starting tomcat it was unfolded as described in : the Tomcat Application Developer's Guide. : But when it ry to reference the inherited html page, or try to access : the Servlet with my client I get the message: I won't

RE: Security of Servlets

2004-10-01 Thread Pawson, David
-Original Message- From: Shapira, Yoav I'm using mySQL for login name, password validation. This from a standard html static page. I can't see how I can get to this data to validate it? Is it possible? On a standard HTML static page you can use

RE: urls not conforming to the standards problem

2004-10-01 Thread Michael Cornell
Precisely, However I need to get at these parameters inside a Filter in tomcat to determine the action taken.. Whatever tomcat uses to parse this url (JK2 ??) simply wipes this ;jsessionid=2345345 and I can't see it So to reiterate, Client ---

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Shapira, Yoav
Hi, You are really lucky not to offer your service to thousands of customers. From what I can see in the sales figures, those customers never sleep! And so do the product managers: the best downtime is no downtime :-) Thus I want to keep the version cycle as small as possible. Yes, it's true

RE: Security of Servlets

2004-10-01 Thread Shapira, Yoav
Hi, form method=POST action=j_security_check name=login Which I'm guessing is picked up by Tomcat, though I don't know how to 'add checking to it'? Any advice appreciated, since I'd prefer java to jscript! If you're trusting the container, trust it ;) You're depending on the container to auth

Re: NewBee needs help with deployment descriptor

2004-10-01 Thread Christian Ruediger
On Fri, 1 Oct 2004 07:46:50 -0500, QM [EMAIL PROTECTED] wrote: On Fri, Oct 01, 2004 at 10:55:27AM +0200, Christian Ruediger wrote: : After starting tomcat it was unfolded as described in : the Tomcat Application Developer's Guide. : But when it ry to reference the inherited html page, or try

Re: WAP Gateway

2004-10-01 Thread Peter Lin
it depends on which wap gateway it is. the older wap gateways had a page limit, so the solution to that is to break pages into smaller chunks. It's hard to tell if the problem you see is related to that. back when i worked on WAP in 99, we figured out that openwave's WAP gateway had a limit of

mod_jk configuration question

2004-10-01 Thread Anto Paul
Hi all, Is it possible to define two AJP13 connectors both listening at different ports and different addresses. These two addresses have different Host elements. Config Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8005 minProcessors=5 maxProcessors=75

RE: JK2 2.0.4

2004-10-01 Thread Cox, Charlie
Sorry, try Location /* Charlie -Original Message- From: Paul D. Hester [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 8:06 AM To: 'Tomcat Users List' Subject: RE: JK2 2.0.4 When I try to remove the uri's in the worker2.properties and set up the mappings in my

Newbie - Tomcat 5.0.28 Build failed (ExceptionInInitializerError)

2004-10-01 Thread Raphael Damasceno
Hi. I downloaded the Tomcat 5.0.28 source version and unzipped it, but when I ran Ant to build it, an ExceptionInInitializerError was thrown at this part of build.xml: taskdef classname=org.apache.jasper.JspC name=jasper2 classpath refid=jspc.classpath/ /taskdef Any suggestions?

Does anybody have a JSP/Servlet example on MS SQLServer JDBC Connectivity?

2004-10-01 Thread Venkat Radha Venkataramanan
Hello: I am a newbie trying to learn Tomcat. I was successful in creating my first HelloWorld servlet. However, I am unable to make a MS SQL Server 2000 database connection. Does anybody have a quick sample application/tutorial that walks one through the required steps? Thanks.

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
Thanks Charlie for you help. I tried what you suggested and now http://orbt.at.ufl.edu is accessing the ORB webapp properly. However, http://edist.at.ufl.edu renders an 'Internal Server Error' and I now have an HTTP1.1 500 error in my apache log file. My httpd.conf and workers2.properties file

RE: Does anybody have a JSP/Servlet example on MS SQLServer JDBC Connectivity?

2004-10-01 Thread khanaz
import java.sql.*; import java.util.*; public class Untitled7 { public static void main(String args[]) { Connection db; String DriverName = com.microsoft.jdbc.sqlserver.SQLServerDriver; String DBUrl = jdbc:microsoft:sqlserver://host:port;user=[username];password=[password];

RE: JK2 2.0.4

2004-10-01 Thread Cox, Charlie
-Original Message- From: Paul D. Hester [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 10:20 AM To: 'Tomcat Users List' Subject: RE: JK2 2.0.4 Thanks Charlie for you help. I tried what you suggested and now http://orbt.at.ufl.edu is accessing the ORB webapp properly.

RE: mod_jk configuration question

2004-10-01 Thread Cox, Charlie
You need to separate these into different Service elements in server.xml, each with the corresponding Connector and Host. Charlie -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 10:01 AM To: Tomcat Users List Subject: mod_jk configuration

Re: tomcat data source - mysql

2004-10-01 Thread Carlos Bracho
Try jdbc:mysql://localhost:port/database (usually the port number is 3306) in the url param value On Fri, 1 Oct 2004 01:09:43 -0700, Eric Wulff [EMAIL PROTECTED] wrote: Hi, I am not able to access a mysql server from a simple jsp example. I have googled the errors, checked mysql and tomcat

Re: Synchronization in cluster

2004-10-01 Thread Filip Hanik - Dev
cause if you have two servers, two different sessions can perform upload in two different VMs. He never said there is only one session doing upload, he was asking for a distributed lock Filip - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Hello! It would be really great if we could work out a solution that does the job like the WebObjects Monitor application. Perhaps some kind of howto documentation giving you a step-by-step guide to the setup and usage. There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Shapira, Yoav
Hi, There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki where we could collect information? http://wiki.apache.org/jakarta/TomcatProjectPages P.S. Where can I find more information about the balancer? In the Tomcat docs there's one devoted to Balancer. It's not a

RE: JK2 2.0.4

2004-10-01 Thread Alex
post the server.xml :) On Fri, 1 Oct 2004, Paul D. Hester wrote: Date: Fri, 1 Oct 2004 10:20:00 -0400 From: Paul D. Hester [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: JK2 2.0.4 Thanks Charlie for you help. I

Session handling on machine behind a hardware load balancer

2004-10-01 Thread Donie Kelly
Hi all Just wondering how easy it is to use sessions on tomcat (with struts) when the machines are behind a hardware load balancer. Can somebody point me at some relevant documentation? Im searching with google but havent found anything too helpful yet Thanks Donie

Re: Session handling on machine behind a hardware load balancer

2004-10-01 Thread Filip Hanik - Dev
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html - Original Message - From: Donie Kelly To: Tomcat Users List (E-mail) Sent: Friday, October 01, 2004 9:40 AM Subject: Session handling on machine behind a hardware load balancer Hi all Just

Clustered webapp that updates LDAP???

2004-10-01 Thread Donie Kelly
Hi all I need to create a webapp which will be running on multiple machines but they all get work which requires updates to an LDAP server. I need to make sure that each webapp handles just one transaction each so that they do stomp over each others changes. Im thinking of allowing

deploy simple HTTP doPost servlet to tomcat 5.0.28

2004-10-01 Thread Christian Ruediger
Hi folks, after trying the complex aproach without any success, I started a lowtech approach. I simply want a small servlet deployed. Can't be too complicated. What I have: Apache Tomcat 5.0.28 Server Win 2000 j2sdk1.4.2_05 I constructed the following structure in tomcats webapp folder: webapp

RE: Clustered webapp that updates LDAP???

2004-10-01 Thread Dale, Matt
Is it an option to run a small java app on the LDAP server that does the updates? This way the tomcats could send update requests to the small server app and it could queue the requests until it is able to do them. Ta Matt -Original Message-From: Donie Kelly [mailto:[EMAIL

RE: Session handling on machine behind a hardware load balancer

2004-10-01 Thread Donie Kelly
Hi Filip Can this work on Tomcat 4.1.18??? Or am I better to upgrade to Tomcat 5??? Donie -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 01 October 2004 15:52 To: Tomcat Users List Subject: Re: Session handling on machine behind a hardware load balancer

RE: Session handling on machine behind a hardware load balancer

2004-10-01 Thread Dale, Matt
You would have to use 3rd party clustering in tomcat 4, the tomcat clustering was not implemented until version 5. -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: 01 October 2004 15:51 To: 'Tomcat Users List' Subject: RE: Session handling on machine behind a

Re: JNDI binding a new resource

2004-10-01 Thread Derek Greer
So, is there not any other open source JNDI projects which have already written an InitialContextFactory class I can use? Ideally I would like to just replace my: System.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.apache.naming.java.javaURLContextFactory); with

Re: method level synchronization doesn't work

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 04:05:53PM +1200, [EMAIL PROTECTED] wrote: Is your primary key generated automatically? If so, the combined insert/query is: String stmt=INSERT INTO SOMEFILE (FLD1,FLD2,FLD3) VALUES(?,?,?); PreparedStatement sql =

RE: JNDI binding a new resource

2004-10-01 Thread Shapira, Yoav
Hi, There are numerous other open source JNDI projects with their own InitialContextFactory implementations, it's just that most don't allow what you're trying to do. For example, OpenJMS, JBoss, several components of the Enhydra server, and others. BTW, don't use the System.setProperty

RE: deploy simple HTTP doPost servlet to tomcat 5.0.28

2004-10-01 Thread Shapira, Yoav
Hi, Your web.xml is invalid: you can't have both 2.2 and 2.4 DTD/schema declarations. Pick one, probably 2.4. Your app structure is invalid. Classes and libs go under [webapp]/WEB-INF, not just [webapp]. Yoav Shapira Millennium Research Informatics -Original Message- From:

RE: method level synchronization doesn't work

2004-10-01 Thread Mike Curwen
mysql definitely supports retrieval of generated keys through jdbc. http://dev.mysql.com/tech-resources/articles/autoincrement-with-connectorj.h tml -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 10:09 AM To: [EMAIL PROTECTED]

Re: deploy simple HTTP doPost servlet to tomcat 5.0.28

2004-10-01 Thread David Smith
Your folder structure doesn't look right -- no WEB-INF folder. You might want to take a look at the servlet specification or a good book on tomcat. Think of a structure like this: $CATALINA_HOME (essentially the top of the Tomcat install directory) - config - server - common - shared -

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
OK...I've got it working but am getting errors in my Apache error log: [error] uriEnv.init() map to invalid worker /* apj13:localhost:8209 [error] uriEnv.init() map to invalid worker /* apj13:localhost:8209 [error] uriEnv.init() map to invalid worker /* apj13:localhost:8209

Re: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL

RE: Tomcat Question - HELP

2004-10-01 Thread Shapira, Yoav
Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav

RE: JK2 2.0.4

2004-10-01 Thread Dale, Matt
This is working because of your workers2.properties not the httpd.conf as your port definitions will never match in there. You should be able to remove those virtual hosts and it will still work. Can you post your jk2.properties from the 8209 tomcat? -Original Message- From: Paul D.

Re: deploy simple HTTP doPost servlet to tomcat 5.0.28

2004-10-01 Thread Christian Ruediger
Ok, The structure has been ok already. I just missed to write the WEB-INF dir in my mail. I corrected my web.xml file in that way: ?xml version=1.0 ? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
Below is a copy of the jk2.properties for the 8209 tomcat: jk2.properties # Set the desired handler list handler.list=apr,channelSocket,request # Set the default port for the channelSocket channelSocket.port=8209 #shm.file=/usr/local/apache-2.0.50/logs/jk2.shm

RE: JK2 2.0.4

2004-10-01 Thread Cox, Charlie
Remove the last 4 lines in workers2.properties. these URI mappings are duplicating the JkUriSet in httpd.conf. this would explain why it works, but still reports errors. Charlie -Original Message- From: Paul D. Hester [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:27 AM

Re: method level synchronization doesn't work

2004-10-01 Thread Mike Fuellbrandt
Correct me if I'm wrong, but couldn't the code synchronize on a static final member of the jsp? private static final String COUNTER_INCREMENT_LOCK = newString(lock); and then you would use the second method from the first post to synchronize on? (It's been a long time since I considered

{Spam} Re: Thanks :)

2004-10-01 Thread Craigmcc
Dangerous Attachment has been Removed. The file price.com has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

RE: JK2 2.0.4

2004-10-01 Thread Dale, Matt
Wouldn't he then have to get the ports right in httpd.conf? -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: 01 October 2004 16:47 To: 'Tomcat Users List' Subject: RE: JK2 2.0.4 Remove the last 4 lines in workers2.properties. these URI mappings are duplicating the

RE: JK2 2.0.4

2004-10-01 Thread Dale, Matt
I'd take out the apr at the beginning of the handler list but can't see how that would cause the errors -Original Message- From: Paul D. Hester [mailto:[EMAIL PROTECTED] Sent: 01 October 2004 16:42 To: 'Tomcat Users List' Subject: RE: JK2 2.0.4 Below is a copy of the jk2.properties

RE: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
First of all, let me tell you that I am not a big fan of tomcat and second if you just want to annoy me, don't even reply to my question. Be professional man. I am soliciting for clue on where else to look. I am a Unix admin and not a an app admin. I also managed Weblogic and it's a lot easier

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Am 01.10.2004 um 16:45 schrieb Shapira, Yoav: There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki where we could collect information? http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is

RE: JK2 2.0.4

2004-10-01 Thread Cox, Charlie
Yes, I missed that this time because I pointed it out in my last email. The VirtualHost should use port 80 for it to ever accept requests. -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:55 AM To: Tomcat Users List Subject: RE: JK2

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Shapira, Yoav
Hi, http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is not much content yet related to tomcat. There isn't that much content on the wiki: mostly links to connector configuration examples provided by other

Re: JNDI binding a new resource

2004-10-01 Thread Derek Greer
You mean none of them allow for doing a standard JNDI InitialContext creation as presented in the JDNI tutorial http://java.sun.com/products/jndi/tutorial/getStarted/examples/naming.html on Sun's site? Of course this site seems to use a file system bound context factory which I don't want,

Re: [tomcat] Re: deploy simple HTTP doPost servlet to tomcat 5.0.28

2004-10-01 Thread Christian Ruediger
The admin frontend doesn't show a context of my app. Others are there. I added a static file debugger.html to the root-folder of my app. The new structure is: webapp - XML_RPC_Testserveur - - debugger.html - - WEB-inf - - - classes - - - - testserveur - - - - - XML_RPC_Servlet.class - - - libs

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
Thanks Matt. By deleting the Virtual Host and all directive within in the httpd.conf remedied the errors I was getting in the Apache log file. All is working now! Thanks everybody for your help. Have a great weekend. Paul -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED]

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
My httpd.conf and worker2.properties files are as follows: httpd.conf # # /usr/local/etc/httpd.conf # # Local Apache configuration file for mmdb.at.ufl.edu # ServerName mmdbt.at.ufl.edu Listen 80 AddHandler cgi-script .cgi Directory /home/*/public_html Options

RE: JK2 2.0.4

2004-10-01 Thread Dale, Matt
Excellent, glad to hear it. I'm sure your weekend will be rosier after getting that working. -Original Message- From: Paul D. Hester [mailto:[EMAIL PROTECTED] Sent: 01 October 2004 17:06 To: 'Tomcat Users List' Subject: RE: JK2 2.0.4 Thanks Matt. By deleting the Virtual Host and all

Re: Synchronization in cluster

2004-10-01 Thread Igor
You are right :-( Igor - Original Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:31 PM Subject: Re: Synchronization in cluster cause if you have two servers, two different sessions can perform upload in two

Re: Tomcat Question - HELP

2004-10-01 Thread QM
On Fri, Oct 01, 2004 at 08:58:32AM -0700, [EMAIL PROTECTED] wrote: : First of all, let me tell you that I am not a big fan of tomcat and second : if you just want to annoy me, don't even reply to my question. For good or ill, when you post to a public forum, you put yourself at the mercy of all

Tomcat running as root?

2004-10-01 Thread Rhino
Our instance of Tomcat (4.1.30) is currently running as root. Can someone remind me of whether that is the recommended way of running Tomcat? I can't remember where that would be documented. If root is not the right ID for Tomcat, what should I use? Can anyone give me (or point me to)

Apache 2.0.47+ jk2.0.4 + tomcat 5.0.24 - Error registering Catalina

2004-10-01 Thread David Muller
We get this occasionally on startup... INFO: Starting Coyote HTTP/1.1 on http-8080 Sep 30, 2004 3:29:25 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Sep 30, 2004 3:29:25 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=1/42

RE: Tomcat running as root?

2004-10-01 Thread Shapira, Yoav
Hi, No, don't run Tomcat as root. Create a special user called whatever you want with only the bare minimum permissions for running Tomcat. If you're running with a port number under 1024, use commons-daemon to invoke Tomcat, otherwise just run Tomcat normally with this user. Details on

Re: Tomcat running as root?

2004-10-01 Thread Filip Hanik - Dev
unless your tomcat runs on a privileged port (80 is, 8080 isnt) you can run tomcat as any user you want FIlip - Original Message - From: Rhino To: tomcat-user Sent: Friday, October 01, 2004 11:40 AM Subject: Tomcat running as root? Our instance of Tomcat (4.1.30) is

Re: method level synchronization doesn't work

2004-10-01 Thread Peter Lin
My feeling on this is, doing a sync on a data bean in this specific case is not worth it. If the transaction is complex, which this case isn't, use something like java transaction API. doing either a subquery or the prepared statement example is a far better way. doing a sync unnecessarily is a

RE: Tomcat Question - HELP

2004-10-01 Thread Gerardo Juarez
I think a UNIX admin should know how hard it is to debug a problem when it is not accompanied by any other information. A UNIX admin should also know that novice users normally don't see anything abnormal in the logs. They have to list the output of a program for you to notice something. Ninety

Tomcat 5 and returning PDF in response outputstream

2004-10-01 Thread Jeremy Nix
Has anyone else had trouble rendering PDF's (in Internet Explorer) when sending the pdf directly into the response outputstream and rendering in Internet Explorer? I realize there are a lot of factors at work here, but I find that my configuration works fine when I switch to Tomcat 4.1.30. I'm

Re: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
Thanks a lot. This is my first time to subscribed to this kind of forum and I would expect people who are here are mostly educated and professional. I appreciate your input. Daniel Salud (310)665-6583 QM [EMAIL PROTECTED] 10/01/2004 09:33 AM Please respond to Tomcat Users List

RE: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have

Re: Tomcat running as root?

2004-10-01 Thread Rhino
Thanks, I *thought* that running Tomcat as root was a bad idea! Rhino - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 01, 2004 12:42 PM Subject: RE: Tomcat running as root? Hi, No, don't run Tomcat as root.

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Tim Funk
Actually the wiki link is here: http://wiki.apache.org/jakarta-tomcat/ -Tim Shapira, Yoav wrote: Hi, http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is not much content yet related to tomcat. There isn't that

Re: urls not conforming to the standards problem

2004-10-01 Thread Mike Fuellbrandt
If you are looking for just the SessionID that is passed, then you could retrieve it via HttpServletRequest.getRequestedSessionId(); To get it back into the outgoing url, wouldn't you just use encodeUrl()? As an aside, I don't believe that it's JK (mod_jk?) that's parsing it out as Tomcat

Re: Using XInclude in tomcat's config files

2004-10-01 Thread Shankar Unni
Robert Koberg wrote: Haven't tried it, but have you set the: org.xml.sax.parser=org.apache.xerces.parsers.XIncludeParserConfiguration Ah. No. Thanks for that clue. Let me go back at it.. - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Tomcat Question - HELP

2004-10-01 Thread khanaz
With your tomcat PID destroyed, try telneting to your listener ip/port and see if you can get a connection.. something else may be bound to your ip/port that is keeping tomcat from starting.. Thanks, Azam Khan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Multiple arguments in a GET URL

2004-10-01 Thread khanaz
I am attempting to redirect to a URL that is similar to the following http://www.mysite.com/index.jsp?mainFrame=somePage.jsp?item1=info1 http://www.mysite.com/index.jsp?mainFrame=somePage.jsp?item1=info1item2=in fo2 item2=info2 However, I can only do a request.getParameter on item1 in the

RE: Tomcat Question - HELP

2004-10-01 Thread Gerardo Juarez
Have I seen something like this before? Yes I have. Many times. Would I share what I did? Absolutely: I posted the log and described the situation. Now, I see that you're still not posting it... :( Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: I know all those. I already have our web

  1   2   >