Re: AW: Multiple arguments in a GET URL

2004-10-01 Thread steve
Due to increasing levels of spam, this email address no longer receives email. To contact us, please go to http://takanomi.com/contact.php. [If you publish an ezine or newsletter to which we are subscribed, or own an affiliate program or service of which we are a member, please visit the abo

AW: Multiple arguments in a GET URL

2004-10-01 Thread Steffen Heil
Hi > 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&item2=inf o2 > However, I can only do a request.getParameter on item1 in the somePage.jsp JSP. When I attempt to do it for item2, it fails.. This is cor

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Lee, Paul NYC
I can't see your attachments. Just paste the relevant parts in the body of the email. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:15 PM To: Tomcat Users List Subject: RE: How to make Apache direct Servlet to Tomcat Thank you for your at

RE: Tomcat Question - HELP

2004-10-01 Thread John Najarian
Can all you people take this bitching contest elsewhere? My 9 year old knows better than to keep this up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP Let me summarise

Re: Multiple arguments in a GET URL

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 05:10:22PM -0400, [EMAIL PROTECTED] wrote: > it sees "hello" as expected > > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp?arg1=hello&arg2 > =helloagain > > > > In this scen

mod_jk installation problem

2004-10-01 Thread anjani verma
Hello Everybody, I downloaded source of mod_jk (jakarta-tomcat-connectors-jk-1.2.6-src) from jakarta.apache.org and trying to install it but facing couple of problems. I untar'ed it in /usr/local and cd into /usr/local/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/common and executed : apxs

RE: Tomcat Question - HELP

2004-10-01 Thread Michiel . Toneman
Let me summarise this thread: 1. You hate "all those open source stuff" 2. You are "not a big fan of tomcat" 3. You think we are not "educated and professional" 4. You will trust your web engineer over our judgement 5. You "really don't care what your personal views are" 6. You seem to know exactl

RE: Tomcat becoming almost completely non-responsive

2004-10-01 Thread Kumar, Sunitha
Kaleb: What command did you use to generate the thread dump? Thanks, -sunitha -Original Message- From: Kaleb Pederson [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 3:08 PM To: Tomcat Users List Subject: Tomcat becoming almost completely non-responsive Hello, I have an intere

Re: type in twice for basic authentication???

2004-10-01 Thread Stephen Charles Huey
Yeah, I need some major help on this to figure out what's going on! We have a Windows version and a Linux version of the database. I just changed my DSN over to the Linux one, and now it pops up 4 times!!! No, wait...sometimes it still logs you in just after 2 times, and sometimes it takes as ma

Re: Reducing network traffic for rollover images

2004-10-01 Thread Robert Hunt
Frank, Thanks for the code snippet. However, I'm having a bit of trouble mapping your jscript to the CSS that currently creates the rollover/hover effect: a.glink:hover { background-image: url("../images/glblnav_selected.gif"); } I've tried several permutations for the anchor that has

type in twice for basic authentication???

2004-10-01 Thread Stephen Charles Huey
When my web app pops up a basic authentication box, I type in the username and password, and then it bounces back with blank text boxes asking for it again. Every time when I type them in a second time it then lets me in! What's going on? Here's what I have in my server.xml:

Tomcat becoming almost completely non-responsive

2004-10-01 Thread Kaleb Pederson
Hello, I have an interesting problem. After a while, tomcat (5.0.27) becomes almost completely non-responsive. If I telnet in to port 8009 (I'm using apache and mod_jk2), I get no response, at least not within the default timeout. If a browse to a page, I will generally, after about 4-5 min

Re: newbie questions

2004-10-01 Thread QM
On Fri, Oct 01, 2004 at 03:42:09PM -0600, Cameron Roe wrote: : Ok so here goes. I want a have a version of the JavaDoc for the Java Servlet : API on my local machine. I can then link in my IDE and get mouse-over : javadoc for the Servlet API. Where do I get it? java.sun.com, there should be a down

newbie questions

2004-10-01 Thread Cameron Roe
Hi all, Ok so here goes. I want a have a version of the JavaDoc for the Java Servlet API on my local machine. I can then link in my IDE and get mouse-over javadoc for the Servlet API. Where do I get it? I know the Javadoc is available online but I would like to have a local copy.I've looked at t

Re: Multiple arguments in a GET URL

2004-10-01 Thread Wendy Smoak
From: "Gerardo Juarez" <[EMAIL PROTECTED]> > The problem is I don't know that there are any parenthesis in URLs, to > group things like > http://your.server.com/index.jsp?mainFrame={blahblah.jsp?arg1=val1&arg2=val2} > which is what I understand you want. I haven't been following this thread so par

Re: Multiple arguments in a GET URL

2004-10-01 Thread QM
On Fri, Oct 01, 2004 at 04:17:59PM -0500, [EMAIL PROTECTED] wrote: : > So for example I would have : > http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp : : What you're doing seems like a great way to allow anyone to crash : your app, or at least use up a lot of memory. Think wha

RE: Multiple arguments in a GET URL

2004-10-01 Thread Gerardo Juarez
The problem is I don't know that there are any parenthesis in URLs, to group things like http://your.server.com/index.jsp?mainFrame={blahblah.jsp?arg1=val1&arg2=val2} which is what I understand you want. Were I in your place, I would use the URL http://your.server.com/index.jsp?mainFrame=blahbl

Re: Multiple arguments in a GET URL

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 04:51:47PM -0400, [EMAIL PROTECTED] wrote: > For example, my index.jsp is the frameset that takes an argument "mainFrame" > specifying the JSP/HTML to use as the center frame of the frameset. > > So for example I would have > http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daxin Zuo
Thank you for your attention. The Apache2/conf/wrokers2.property is attached. The Tomcat/conf/jk2.property is empty, all lines are commented. in the httpd.conf I added: LoadModule jk2_module modules/mod_jk2-2.0.43.so the .so files are in apache2/modules Thanks -Original Message- From: Lee

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
it sees "hello" as expected Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:05 PM To: Tomcat Users List Subject: RE: Multiple

RE: Multiple arguments in a GET URL

2004-10-01 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > Subject: RE: Multiple arguments in a GET URL > > http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp?arg1=hello&arg2=helloagain > > In this scenario, I am able to perform a request.getParameter > on arg1 in blahblah.jsp but when I try to do it on arg2, I > re

RE: Multiple arguments in a GET URL

2004-10-01 Thread Ben Souther
Try: http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp&arg1=hello&arg2=helloagain On Fri, 2004-10-01 at 16:51, [EMAIL PROTECTED] wrote: > Yoav- > I understand that an ? indicates the beginning of a query string but with my > scenario it is exactly how I want it. > > For example, my

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daniel_Salud
Here's a couple of useful docs: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html http://www.oop-reserch.com/tomcat_3_1/config.html Those 2 docs helped me how to configure Apache to redirect to tomcat servlets. Basically they both talked about creating virtual hosts for each of y

RE: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
I appreciate your feedback and I do respect his input but he and the other gentlemen should not attack anybody's technical capability if they are really since in helping. That's what this forum is for. They don't know what I know and how much I know. Daniel Salud (310)665-6583 Justin Jaynes

Re: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
I did use it but it didn't shut it down so I had not choice. I think that's the other puzzle I need to solve. Why it won't shut down gracefully. Daniel Salud (310)665-6583 "Robert F. Hall" <[EMAIL PROTECTED]> 10/01/2004 12:26 PM Please respond to "Tomcat Users List" To: Tomcat

Re: Using XInclude in tomcat's config files

2004-10-01 Thread Shankar Unni
Shankar Unni 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.. Alas, that didn't help. I tried setting both org.xml.sax.parser and org.apache.xerces.xni.parser.XMLParserConfig

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
Yoav- I understand that an ? indicates the beginning of a query string but with my scenario it is exactly how I want it. For example, my index.jsp is the frameset that takes an argument "mainFrame" specifying the JSP/HTML to use as the center frame of the frameset. So for example I would have ht

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Lee, Paul NYC
Hi, It should be done the same way you redirected jsp requests to tomcat. It needs to be mapped in your jk (or jk2) properties file. Post the relevant parts of your properties file if you're not sure why it doesn't work. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sen

RE: JNDI binding a new resource

2004-10-01 Thread Shapira, Yoav
Hi, >BTW Yoav, I wanted to thank you for the information you provided. This >helped to steer me down the right road to discovering a solution. No problem, glad to help. >discovered that all I had to do to overcome the Read only issue of >Tomcat's JDNI instance was to change the name of my init

Re: JNDI binding a new resource

2004-10-01 Thread Derek Greer
BTW Yoav, I wanted to thank you for the information you provided. This helped to steer me down the right road to discovering a solution. I also wanted to share my findings for the benefit of others who may run across this need. I was able to get my Tomcat instance working with my code by usin

RE: Tomcat Question - HELP

2004-10-01 Thread Justin Jaynes
Daniel, You really SHOULD care. I just started a web hosting business on the Linux platform using Tomcat. I had no prior experience using the software and I have read as much as I can in books, but they are always out of date, even when new. Press time is always too long. Open source just keep

Re: Tomcat Question - HELP

2004-10-01 Thread Robert F. Hall
[EMAIL PROTECTED] wrote: We actually replicated the issue and killing a tomcat PID, sometimes does not release the port it is listening to/or using. I killed the tomcat PID, clear port 8080 and make sure nothing else is using it or holding it and restarted tomcat with my rc2.d script that calls

Tomcat and encryption cards

2004-10-01 Thread Bill Sweeney
Hello all - Does anyone know if Tomcat supports the Sun Crypto Accelerator card? We think that since Tomcat uses JSSE we should be all set but can't find anyone actually doing it. Bill - To unsubscribe, e-mail: [EMAIL PRO

RE: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
I really don't care what your personal views are. I am not a decision maker here. We use apache/tomcat for non-mission critical app. Actually we don't have a choice because the vendor who wrote the code bundled everything with all those open source stuff. Why don't we make this forum simple. I

RE: Multiple arguments in a GET URL

2004-10-01 Thread Shapira, Yoav
Hi, Be careful with your syntax, use ?param1=param1¶m2=param2, not ?param1=param1?param2=param2. The ? indicates the beginning of the query string and is expected once per URL, & is a parameter separator in the query string is can be there zero or more times. Yoav Shapira Millennium Research I

RE: Tomcat Question - HELP

2004-10-01 Thread Shapira, Yoav
Hi, Personally, I'd take this support list over any commercial support organization, hands down. But that's just my personal experience as someone who's had to make that decision (commercial versus open-source, paid support versus community support, dedicated support staff versus outsourced, etc.

ot: fax input

2004-10-01 Thread Didier McGillis
Have a question and maybe this is the wrong spot. but I am looking at doing away with accepting orders that are faxed. however there are lots and lots of my customers who doing the fax ordering is second nature. I have looked at making an exact copy of the order form and making them available

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

2004-10-01 Thread Ernesto Echeverría
Without examining details in your message I can ask: Structure should be (maybe it is already?) Webapp WEB-INF web.xml classess lib Etc. Then, shouldn't be you calling http://localhost:8080/webapp/XML_RPC_Testserveur Instead? Regards. José Ernesto Echeverría [EMAIL PROTECTED

RE: Multiple arguments in a GET URL

2004-10-01 Thread Ben Souther
Yea.. it's a null string.. I have a feeling it is passing item2 into the > index.jsp instead of the somePage.jsp .. I guess will

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
Yea.. it's a null string.. I have a feeling it is passing item2 into the index.jsp instead of the somePage.jsp .. I guess will try to retrieve item2 in index.jsp and see if it works Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com -Orig

Re: Multiple arguments in a GET URL

2004-10-01 Thread Gerardo Juarez
getParameter should work for all parameters. Your url is not correct or it is extremely long and blows up with the GET method. But that is highly unlikely. How does it fail? Do you obtain an error? Is it a null String? Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: > I am attempting to

Re: Reducing network traffic for rollover images

2004-10-01 Thread fzlists
The problem is actually in your scripting... The browser should be caching the image after the first view anyway, but the problem you are referring to is a result of not pre-loading the images. You do that by the following script when the page loads: img0 = new Image(); img0.src = "normal_versi

Reducing network traffic for rollover images

2004-10-01 Thread Robert Hunt
Is there a way (as in, response header or other HTTPServletResponse setting) that can persuade a browser to use a cached version of an GIF/JPG that's used for a rollover effect? I'd like to reduce the network traffic (and perhaps improve the browser's "response") from browsers that attempt to (r

How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daxin Zuo
On my Apache 2.0.43 + Tomcat5.0.28 on UNIX sparc, I can run the same JSP files from both Apache and Tomcat, and run servlets on Tomcat, but I cannot run Servlet from Apache. I register the servlet in tomcat/webapps/www/WEB-INF/web.xml: ServletTest ServletTest

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

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 &item2=info2 However, I can only do a request.getParameter on item1 in t

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: F

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: 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 without

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 mu

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 roo

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 you?

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"

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 se

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

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 ba

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 curre

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 commons-

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 config=

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) ins

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 t

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 uploa

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 and all directive wit

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 Options FollowSymLinks ExecCGI Includes

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
Thanks Matt. By deleting the 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] Sent: Friday

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: 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 on Sun's site? Of course this site seems to use a file system bound context factory which I don't want, b

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 othe

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 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 2.0.4 >

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 no

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 f

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 for

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 J

{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=quickSearchDirectly&virusName=W32%2FBagle.

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 synchr

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: 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 apr.NativeSo=/usr/local/a

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: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/ j2ee http://java.sun.com/xml

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. He

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 S

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 PROT

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: 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 - l

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 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: Christ

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 approa

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 = > conn.prepareStatement(

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 System.setPrope

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 hardware

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 http:

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

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 -

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.   I’m thinking of allowin

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 wonde

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? I’m searching with google but haven’t found anything too helpful yet… Thanks Donie  

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 h

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: 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 w

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" <[EMAI

Re: tomcat data source - mysql

2004-10-01 Thread Carlos Bracho
Try jdbc:mysql://localhost:/ (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 docs and mai

  1   2   >