Re: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread AHaider31
i have no idea what you are talking about i just want to get unsubscribed out of this website

Re: mod_jk install problem

2004-06-21 Thread AHaider31
i dont' want to install i want to delete this website that keeps poppping up here i never requested for this someone must have gotten my password and did this please help

Re: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread AHaider31
i have no idea what you are talking about i just want to get unsubscribed out of this website

RE: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread Carl Olivier
To unsubscribe, e-mail: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 08:50 AM To: [EMAIL PROTECTED] Subject: Re: Load-balancing with MS IIS and tomcat 5 i have no idea what you are talking about i just want to get

Re: workers2.properties path ???

2004-06-21 Thread Nikola Milutinovic
Elijah Epifanov wrote: Silly question: Where do I need to store my workers2.properties file if my apache isn't contained in one directory? /var/conf/apache2 - replacement for ${APACHE2}/conf /usr/local/apache2 - Apache2 root Well, if you're going to re-organize your Apache, then I

Re: workers2.properties path ???

2004-06-21 Thread Elijah Epifanov
Thanks, I already solved this problem. mod_jk2 has a little bug: it looks for *.properties in `apxs -q prefix`/conf instead of `apxs -q sysconfdir`. - Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 21, 2004

Web Log Problem in isapi_redirector2.dll

2004-06-21 Thread klyik
Hi, I am currently connecting a Tomcat 5.0 together with an IIS 4.0 over a Windows NT 4.0 Platform. Everything works fine except for the log file generated per forwarded request: The original GET request is for: http://localhost/jsp-examples/jsp2/misc/dynamicattrs.jsp But the Log file entry

Re: workers2.properties path ???

2004-06-21 Thread Nikola Milutinovic
Elijah Epifanov wrote: Thanks, I already solved this problem. mod_jk2 has a little bug: it looks for *.properties in `apxs -q prefix`/conf instead of `apxs -q sysconfdir`. OK, but you can still use JkSet config.file location to point mod_jk2 to any location for workers2.properties. Nix.

Tomcat 4.1 SSO pb

2004-06-21 Thread Boulay Arnaud
Hello ! I've got some trouble with SSO : the SSO Valve is enabled, 2 Contexts are defined . I must login on each application at the first time before I can do a straightforward switch between both application. Any Idea ? Thanks, Arnaud

HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Surendra Kumar
Hi Everyone I am using Tomcat 4.1.29 and the getRemoteHost() call from HttpServletRequest is returning null. Do i need to need to configure anything for this api to work ? Thanks Surendra

Re: HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Carsten Lex
Hi, by default enableLookups is enabled (==true) You can add the parameter enableLookups=true to a Connector, then getRemoteHost() gives you the desired information Carsten Surendra Kumar wrote: Hi Everyone I am using Tomcat 4.1.29 and the getRemoteHost() call from HttpServletRequest is

RE: Tomcat 4.1 SSO pb - forget !

2004-06-21 Thread Boulay Arnaud
Sorry, there was an error in my server.xml Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with Tomcat 4.1.30, IIS, isapi_redirect.dll and POSTs

2004-06-21 Thread Leif Mortenson
I have been using version 4.1.18 along with the newest isapi_redirect.dll at (Bthe time it was installed for the past year or. Recently to resolve an (Bunrelated problem we upgraded to Tomcat 4.1.30 and isapi_redirect.dll 1.2.5 (Band have been testing things out on our test servers. (B (BThis

RE: mod_jk install problem

2004-06-21 Thread Kommuru, Bhaskar
I have struggled/managed before to compile on solaris8. but not on Redhat9. What is you mod_jk version? I remember i have changed something like.. apx path .configure file as i found it hardcoded there. I have specified the apx-path to apache installation directory (usr/local/apache2/apxs). Have

RE: Session Timeout Error

2004-06-21 Thread Kommuru, Bhaskar
I do not remember where i can set session time our for a web-app? But i think you must also set keepalive time, if i am not wrong :~)) -Original Message- From: Matt Krone [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: Session Timeout Error

Inital values for custom MBeans

2004-06-21 Thread tobias rademacher
Hi Folks, I'm using Tomcat 5.0. the documenation of JMX MBeans descriptors deployable in Tomcat I found contain only the __description__ of attributes and operations. Is there a way to feed a MBean with inital values (default values) at deployment time similar as in jboss SAR files? Any

Re: How to recover from a database server restart when using connection pools?

2004-06-21 Thread Alex
Use a validationQuery when creating your connection pools. This can be defined where you define your resource. parameter namevalidationQuery/name valueselect 1/value /parameter On Fri, 18 Jun 2004, Tim Freeman wrote: Date: Fri, 18 Jun 2004 14:57:01 -0700 From: Tim

Re: Web Log Problem in isapi_redirector2.dll

2004-06-21 Thread Alex
Yes, that is correct. I don't believe there is a way. It's how it works. IIS is logging what you are doing on that machine. You are accessing the isapi dll. You aren't accessing the jsp -- that's being done across the ajp13 connection. Ideall, you should be setting up some nice logging

Problem with Tomcat + Apache + mod_jk

2004-06-21 Thread Jens . Mueller
Hello List, I have a problem with Tomcat 4.1.27, Apache 1.3.26, mod_jk 1.2.5, JDK1.4.2. Somethimes the Apache sends a wrong HTTP-Answer and I'll see the following HTTP-Header in the browser: #3Apache Tomcat/4.1.27 HTTP/1.1 302 Moved Temporarily Date: Fri, 18 Jun 2004 11:23:55 GMT Server:

e-Mails with executable attachments are not accepted here

2004-06-21 Thread Postmaster
From : [EMAIL PROTECTED] To : [EMAIL PROTECTED] Subject : Mail Delivery (failure [EMAIL PROTECTED]) (X-FILE ??? ) : message.scr TYPE : audio/x-wav SUSPECT FILES : 1 An e-Mail with the above particulars was received here and was

list active sessions.

2004-06-21 Thread Alex
Is there a way to list all sessions which are currently active for the webapp which would be calling for such a list? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: list active sessions.

2004-06-21 Thread Frank Zammetti
I spent a couple of days last week implementing just such a thing, so I feel qualified to answer :) There is no easy way to do it. There USED to be a SessionContext object available in the servlet spec that would allow you to do a lot of cool things with sessions, but it was removed as of

RE: list active sessions.

2004-06-21 Thread Alex
How would your application cope if it were required to scale up to 250 concurrent users ? It's an interesting approach. Currently I record limited information to a db. All I really want is to be able to list all the active session id's...nothing more. If it's being done already, why do it

RE: AW: How can I add Host without restarting Tomcat?

2004-06-21 Thread Carl Olivier
Hmmm Is it possible to prgramatically init and start a new StandardHost? I have code that deploys the context for a new Host and writes the Host block into the server.xml - now I want to be able to programatically init and start the new host - making it available WITHOUT having to do a server

RE: list active sessions.

2004-06-21 Thread Frank Zammetti
Well, never having tried it, I don't know for sure :) But, since we're only talking about a pretty small static object in memory, I assume that would be better-performing than writing out to a database (although obviously you have no persistence, but I don't think that's a problem when talking

Re: HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Surendra Kumar
Hi Carsten I did that and it still returns null. Even if i haven't enabled, it should return me the ip not null value. I am using org.apache.ajp.tomcat4.Ajp13Connector connector. Any clues ? Thanks Surendra - Original Message - From: Carsten Lex [EMAIL PROTECTED]

RE: sleepy tomcat

2004-06-21 Thread Yana Begun
Thanks for all for the help. I found out that the problem is the way how I connect to the database. With JRun I used InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup(xxx); con = ds.getConnection(); It didn't work with Tomcat

Tomcat 5.0.16 behind SSL Accelerator

2004-06-21 Thread Adrian Klingel
I searched for this in the archives at mikal.org, and only found the question and no answer. I have Tomcat 5.0.16 behind a hardware SSL accelerator box. The links in my webapps of course refer back to HTTP://myserver.com/myapp, but I of course want them to be rewritten as

Overenthusiastic use of 'exit' in .bat files in 5.0.25?

2004-06-21 Thread Benson Margulies
I just dropped a clean install of 5.0.25 onto Windows Server 2003, and I did not install ask for a service from the installer. I don't have 'start and stop tomcat' links in my Start menu at all. I then tried to run 'TOMCAT_ROOT\bin\catalina run' to test out my configuration. It didn't locate

RE: Overenthusiastic use of 'exit' in .bat files in 5.0.25?

2004-06-21 Thread Benson Margulies
I left a really bad typo in this message. Here's the fixed version: I just dropped a clean install of 5.0.25 onto Windows Server 2003, and I did not install ask for a service from the installer. I don't have 'start and stop tomcat' links in my Start menu at all. I then tried to run

mod_jk2 property - [shm]

2004-06-21 Thread Kommuru, Bhaskar
I have beeng working with workers2.properties, But i cound not understand one thing in that file. [shm] file=C:/Program Files/Apache Group/Apache2/shm.file size=1048576 What is this shared memory file? I have never seen anything written to it. How would it be used? well! i could guess on this,

RE: JK2: lb_factor

2004-06-21 Thread Weseloh, Nicole
Hello Bhaskar (and everyone else who might be interested), I've got good news: finally, loadbalancing with JK2 works great. :-) (And, best of it all: no recompiling of Apache was necessary! *g*) The reason why loadbalancing did not work as it should: I used a test-tool (in fact, Microsofts Web

Tomcat 5 Session Replication and ServletContext

2004-06-21 Thread Lukas Bradley
I'm looking for a clarification on the functionality of the Session Replication within Tomcat 5. Is the only data replicated across servers that which is placed in the HttpSession? In other words, is any data placed within the ServletContext (application layer) object replicated? Thanks

RE: Tomcat 5 Session Replication and ServletContext

2004-06-21 Thread Dale, Matt
Yes the only data replicated is the session information. Anything in the application ServletContext will not be copied between servers. Ta Matt -Original Message- From: Lukas Bradley [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 16:09 To: [EMAIL PROTECTED] Subject: Tomcat 5 Session

RE: Tomcat 5 Session Replication and ServletContext

2004-06-21 Thread Woodchuck
is it possible to set it up so that each user's session always go to the same app server in a multi app server scenario? or is this not possible and/or a bad idea? --- Dale, Matt [EMAIL PROTECTED] wrote: Yes the only data replicated is the session information. Anything in the application

RE: Tomcat 5 Session Replication and ServletContext

2004-06-21 Thread Dale, Matt
Yes, this would be controlled by your load balancer. JK2 can do it with sticky sessions. Pen can do it on an IP basis, others have other methods but its easily done. You would then possibly lose failover but it depends on why you are running a cluster. Ta Matt -Original Message-

Tomcat 5 Debug Questions

2004-06-21 Thread Worley Brent - bworle
I have a couple of questions about the debugging options on Tomcat 5: 1. What are the different levels of debugging used within the server.xml file, and is there a description of what each level will bring? 2. I'm looking for a document or instructions to do remote debugging on Tomcat 5. I

Re: mod_jk2 property - [shm]

2004-06-21 Thread Elijah Epifanov
Shared Memory File is a cool feature:) (I haven't looked at mod_jk sources for details of its implementation, but the idea should be the same). Generally speaking, it's an ordinary file (with name, attributes, inode, ...), but it isn't used with conventional read/writes. Instead of them,

Re: mod_jk install problem

2004-06-21 Thread Graeme
Thank you to everyone who replied to my post. BK, I've got apache installed an running. The version I'm using is: Apache/2.0.40 Server I installed mod_jk from http://www.apache.org/dist/jakarta/tomcat-connectors/jk/ , the file I downloaded is:

Re: Multiple Tomcat Instances with Linux

2004-06-21 Thread Jon Feauto
Dan, Thanks for the post, good ideas I'm going to try them. One thing I'm still not clear on. My application is configured to deploy shared modules (jar files) under CATALINA_HOME/shared/lib. If I create multiple instances, how do I configure the apps to share the correct version of

bean problem

2004-06-21 Thread Casas, Claudia
Hello everyone, I have managed to install tomcat4.1.30, apache2.0.49 and the jk1.2.5 connector. I included inside my server.xml file a new context path so that I can run my jsp application through my user directories. Here is what I included: Context path=/myuser docBase=/home/myuser/wwwdocs

ConnectionPool timeout

2004-06-21 Thread Frank von Daak
Hello ! I've installed tomcat4 and I'm using the MSSQL-JDBC-Driver with tomcats connectionpooling. Now I have a question about timeouts. In my JSP-site I get a connection from the pool, which works great. But if the Database-Server is not reachable, the JSP does not give any feedback - it

Tomcat licensing questions

2004-06-21 Thread Adrian Cho
Is there anyone on the list that can answer some questions I have about the redistribution of certain files in Tomcat 4.1.30? Specifically: servlet.jar appears to be a Sun-originated module but is apparently redistributed as part of Tomcat 4.1.30 under the Apache Software License 1.1. Is

Re: ConnectionPool timeout

2004-06-21 Thread Frank von Daak
Hi again. What the hell ist this ? Spam as autorespond on the tomcat-user list Oh f... unbelevable!!! Am Montag, 21. Juni 2004 20:43 schrieb Autoresponder: Most likely the answer to your question is at: http://pc-magic.com/faq.htm Should you not find the answer to your question

RE: ConnectionPool timeout

2004-06-21 Thread Benson Margulies
I'm seeing evidence of several odd auto-responses. It looks like someone thinks that it is a fun prank to add random addresses of unsuspecting people to this list. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: AW: How can I add Host without restarting Tomcat?

2004-06-21 Thread Ivan Jouikov
Look at tomcat's administration tool - it can dynamically add hosts. Looks at its codes. Go from there. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 7:00 AM To: 'Tomcat Users List' Subject: RE: AW: How can I add Host without restarting

connectionpool initial number of connections

2004-06-21 Thread shyam
Hi, I have successfully migrated my application from using a third party connection pooling to tomcat connection pooling using data sources. The documentation helped me a lot. However I want to initialize a certain number of connections at the start up just as the maxActive connections. Is there

Re: Design question ..

2004-06-21 Thread Peter Lin
There's a couple of different ways to handle this. 1. do not do it in real time. this is the easiest solution, but it means a human has to be the one who figures who gets what class. 2. use JMS to update each user's session and make it so that once the class has no more entries, no one else can

Re: Design question ..

2004-06-21 Thread David Smith
Have you thought about doing something like a soft reservation? As the person adds courses to their shopping cart, the available space is decremented. If the transaction isn't finalized either because of an error or timeout, just release the seat for someone else. When they do finalize the

RE: Design question ..

2004-06-21 Thread Jérôme Duval
Most commercial databases implement a solution to this problem since it is fairly common. For MySQL, you must use the InnoDB engine (at least for now). You use the concept of transaction. To do this, you must turn the AutoCommit mode to off (some client have this mode off by default, some do not.

RE: Design question ..

2004-06-21 Thread Frank Zammetti
Probably the easiest way to handle this is simply to have a constraint on your database that says a record cannot be added if some field is 0 (or a unique constraint, depending on how your table is keyed). Then, just catch the exception in your code and check to see if it's a violation of your

Re: Multiple Tomcat Instances with Linux

2004-06-21 Thread Dan Barron
Jon, I have used the CATALINA_HOME/common/lib to share jar files among different Service instances. Not sure if that answers your question though. Dan At 10:54 AM 6/21/2004, you wrote: Dan, Thanks for the post, good ideas I'm going to try them. One thing I'm still not clear on. My application

/admin/users/ is open for source browsing

2004-06-21 Thread Ushakov, Sergey N
Hi, I have occasionally discovered that the 'admin' app reveals its jsp folders' contents without any password. And allows reading jspf sources afterwards... Is it intended? ;) And maybe a more general question - is it sound to have the default servlet 'listings' defaulting to 'true'? Perhaps

Enabling EL on Tomcat 5.0

2004-06-21 Thread Valter G. Nogueira Jr.
I am following the book Java Server Pages, 3rd Edition and all samples run in a snap. But when I try to use EL no my pages it doesn't work. I mean if a write: ${1+2+3} I got the ${1+2+3} instead of 6 How should I configure tomcat to evaluate expression? Thanks, Valter

JNDI Question

2004-06-21 Thread Worley Brent - bworle
Forgive me for being a newbie, but here is a question regarding JNDI. I have my server.xml configured and my web.xml configured for a resource named xyz. xyz is a custom object factory contained within class files (currently under WEB-INF/classes/xyz/). The error I'm getting is this: Caused

Re: Enabling EL on Tomcat 5.0

2004-06-21 Thread Stephen Souness
I had a similar problem recently Assuming that you have the appropriate jar files in the appropriate locations you will need the following in your application's web.xml web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Apache2 and mod_jk.so

2004-06-21 Thread Samuel V . Green III
I've currently have a CMS called Magnolia installed. Magnolia 1.1 comes with Tomcat 4.0 and installs Tomcat during the Magnolia installation. Magnolia consists of two instances: Author (for Admin) and Public. I'm using Mac OS X (Panther), and have Magnolia installed and the Author and

I do not want port 8080. Anyone know how to?

2004-06-21 Thread Casas, Claudia
Hello everyone, I have my jsps running thorugh my user directories. For example, http://mydomain.com:8080/myuser/myfile.jsp I would like see if it is possible to take out the port 8080, so that it would seem like apache is processing the page. http://my.domain.com/myuser/myfile.jsp Is this

Re: Apache2 and mod_jk.so

2004-06-21 Thread Filip Hanik - Dev
why not use mod_proxy or mod_redirect instead, and a named virtual host in apache, no compilation needed, the apache modules already come with it Filip - Original Message - From: Samuel V. Green III [EMAIL PROTECTED] To: _Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 21, 2004

Re: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Filip Hanik - Dev
in conf/server.xml change 8080 to 80 - Original Message - From: Casas, Claudia [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 21, 2004 4:18 PM Subject: I do not want port 8080. Anyone know how to? Hello everyone, I have my jsps running thorugh my user

RE: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Dale, Matt
Hi, You merely need to comment out the HTTP connector in your conf/server.xml Ta Matt -Original Message- From: Casas, Claudia [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 22:19 To: Tomcat Users List Subject: I do not want port 8080. Anyone know how to? Hello everyone, I have my

RE: JNDI Question

2004-06-21 Thread Benson Margulies
Have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=29584. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Design question ..

2004-06-21 Thread Mufaddal Khumri
Hi, Yes , first come first is something that I prefer too. But I will need a singleton java object with a synchronized method to do the transaction. The transaction would involve 1. Check data 2. Register 3. commit data to database. After the method completes i can send them a confirmation.

Re: Memory Settings On Tomcat

2004-06-21 Thread David Strupl
Endre Stølsvik wrote: Why not? I don't think this is correct. See, if the class isn't referenced anymore, by not having any referenced objects of that class (by any reference), nor having the class object referenced, on the stack of any of the JVM's created Threads, then the static fields of that

Re: Design question ..

2004-06-21 Thread Mufaddal Khumri
I understand this method of doing it and I understand the pseudo code too. I believe this code will be in a synchronized method that should be placed in a singleton object. The code validates information. One example validation could be getting current registrations for the course and seeing

Reply to Filip

2004-06-21 Thread Samuel V . Green III
Thanks Filip, If I'm running my host on a network and serving Apache2 from 10.0.1.2.. I've been successful in the past at setting up the virtual host stuff to serve document roots from my Apache root doc, i.e.. /library/webserver/documents What I don't understand is how to serve the

Re: Design question ..

2004-06-21 Thread Justin Ruthenbeck
Since everyone else seems to have an opinion on this, I figure that I might as well share mine. :) A couple things to keep in mind: (*) Depending on your geographic location, you may have a legal responsibility to make sure that an item listed as available is, indeed, available. In other

Re: Reply to Filip

2004-06-21 Thread Filip Hanik - Dev
this is a great read, a virtual hosts lets you set up docbase and all kinds of commands just for that host. http://httpd.apache.org/docs-2.0/vhosts/ named virtual hosts, lets you access the same IP, different doc bases using different host names. Filip - Original Message - From:

Re: Design question ..

2004-06-21 Thread Mufaddal Khumri
Hi Frank I understand this approach. The problem is that the course table has a field called maxregistration if this field is set to -1 it means that there is no limit. If there is a value in this field, it will be = 1. I have another table called Enrollments. This table has courseId, userId

RE: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Casas, Claudia
Thanks for your prompt answer. Unfortunately this solution did not work for me. When I remove the http connector, then I can see my web pages through apache. But I cannot see any jsp's at all. Also, If I change port 8080 to port 80 in my server.xml file; then I have the same problem. I can see

Re: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Filip Hanik - Dev
ok, try mod_proxy, it might be easier. but your problem is that you prolly didn't configure mod_jk properly, read the docs (should be tons of them out there) and try again Filip - Original Message - From: Casas, Claudia [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

RE: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Dale, Matt
Then it sounds like both solutions worked partly. For Filip's solution to work you would have to shut down apache completely and apache becomes the standard web server and both servlets and jsp's should work, but you lose apache. It sounds like when you tried my solution that you have a

request process flow and user profiling

2004-06-21 Thread Trond Hersløv
Hi, I need to mainten a profile database with login, password, telephone numbers and so on. I think I need to know how tomcat is handeling the request flow. My goal is to achive the following (if there are better ways to it, please let me know). Profile profile =

RE: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Dale, Matt
sorry, corrected mistake below -Original Message- From: Dale, Matt Sent: 21 June 2004 22:54 To: Tomcat Users List Subject: RE: I do not want port 8080. Anyone know how to? Then it sounds like both solutions worked partly. For Filip's solution to work you would have to shut down

Re: Multiple Tomcat Instances with Linux

2004-06-21 Thread Jon Feauto
Dan, That is essentially the situation I am trying to avoid. There are several applications within an instance of Tomcat that share resources from shared/lib, but those shared/lib resources should not be shared between instances. My goal is to have the separate instances represent independent

Re: request process flow and user profiling

2004-06-21 Thread Filip Hanik - Dev
you have tons of options, Servlet filters (standard servlet API) lets you process requests. Using a MVC framework, such as struts, you can build your own controllers, hence do a bunch of stuff there Use Tomcat's pipeline by building valves Filip - Original Message - From: Trond Hersløv

SV: request process flow and user profiling

2004-06-21 Thread Trond Hersløv
Thanks, but I still don't know where to look for documentation. Can you give me a link to pages describing Tomcat's pipeline and how to use valves? \trond -Opprinnelig melding- Fra: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sendt: Tuesday, June 22, 2004 00:05 Til: Tomcat Users List

RE: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Casas, Claudia
All I have in my workers.properties is the following: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 I still want apache alive. I guess my problem is just the 8080 extension. If run my jsps through tomcat with port (8080) or without it from the

Re: Design question ..

2004-06-21 Thread Frank Zammetti
If your thinking in terms of singletons and synchronized blocks, it seems like you are thinking along the lines of doing this all in-memory. You CAN do that, but it's generally not a good idea. First, I don't know if your dealing with a clustered environment, but if you are you'll find that

Re: Design question ..

2004-06-21 Thread Frank Zammetti
The more typical way of doing this is to use JDBC transactional code. In essence, the concurrancy issues are handled under the covers by the classes, JDBC driver and database. You just start a transaction, do your updates, and commit the transaction. Catch any failures that occur and deal

Re: Design question ..

2004-06-21 Thread Frank Zammetti
The first point is a very good one, I wouldn't have thought of it! The second point is certainly arguable. I see where your coming from, but if it's a business rule, it by definition belongs in the model layer. Remember, view is easy, the controller interfaces the two, and business logic of

Re: Design question ..

2004-06-21 Thread Frank Zammetti
I'd need to know what RDBMS you were using to give you an example, and then I'd have to go look up in some references to see how to write the rule. But from a generic standpoint... I would add a number_registered field to your course table. Each time someone tried to enroll in a class, you do

Re: Design question ..

2004-06-21 Thread Erik Earle
Unless it's too late in your implementation, I would decouple the reserve from the purchase. This way, the reserve transaction is shorter and more scalable and is not dependent on how fast you can enter CC and address data. This is nicer for the user too because they are getting close to real

RE: I do not want port 8080. Anyone know how to?

2004-06-21 Thread Casas, Claudia
I think I found the solution to my problem, I included the following line inside my apache httpd.conf: JkMount /*.jsp ajp13 The name of my worker is ajp13, ugly name, but it was the default so I did not dare to change it. According to the Apache How to in the Jakarta site, this will tell

Re: Design question ..

2004-06-21 Thread Peter Lin
you don't necessarily need to lock or synchronize in a first come first serve mode. simple put the order into a queue and generate a temporary order id. Once the order goes through, the real order ID is emailed to the user. peter On Mon, 21 Jun 2004 14:47:52 -0700, Mufaddal Khumri [EMAIL

Re: Design question ..

2004-06-21 Thread Mufaddal Khumri
Yes, I could not said it better. I am not using clusters, but I certainly do want to stay away from the singleton and synchronization approach. It does have to be done at the database or with an extra table called Enrollment_Temp or something. Basically, when a user adds the course to his

Re: Design question ..

2004-06-21 Thread Robert F. Hall
Mufaddal, You might want to add a wait list. A wait list would allow someone to enroll in a course should a seat become available. The time allowed for a wait list response should be greater than that allowed for the shopping cart timeout. -Robert Mufaddal Khumri wrote: Yes, I could not said it

Re: Design question ..

2004-06-21 Thread Justin Ruthenbeck
At 04:12 PM 6/21/2004, Frank Zammetti wrote: The first point is a very good one, I wouldn't have thought of it! The second point is certainly arguable. I see where your coming from, but if it's a business rule, it by definition belongs in the model layer. Remember, view is easy, the controller

RE: Setup problem with Tomcat 5.0.25 running as a daemon under jsvc

2004-06-21 Thread Fernando Fernandez
Hi Doug, Thanks for your suggestion. For some reason, my Linux (7.2) doesn't like the chusr command. Is that the same function provided by the chown -R tomcat.tomcat /opt/jakarta-tomcat-5.0.25 command? If so, I already had that applied. Here is what you see in the directory structure: drwxrwxrwx

Re: Tomcat licensing questions

2004-06-21 Thread Bill Barker
Adrian Cho [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there anyone on the list that can answer some questions I have about the redistribution of certain files in Tomcat 4.1.30? Specifically: servlet.jar appears to be a Sun-originated module but is apparently redistributed

Connector error

2004-06-21 Thread Andre Prasetya
I got this message on httpd's error_log ajp13.service() ajpGetReply recoverable error 3 ajp13.service() ajpGetReply recoverable error ajp13.service() Error forwarding ajp13:/usr/share/tomcat5/work/jk2.socket 1 0 mod_jk2.handler() Error connecting to tomcat 3, status 200 My workers : # Shared

Tomcat 4.1.24 stops responding due to attack

2004-06-21 Thread Kedar
Hi, I am facing following problem : Problem : After working properly for a day or 2, I cannot access my website. Only way to restart is kill the process and again run startup.sh. I cannot stop normally using shutdown.sh Configuration : Red Hat Linux release 9 (Shrike), Tomcat 4.1.24, Postgres

Re: bean problem

2004-06-21 Thread deepak shripat mane
  Hii.. Can u tell me Wat is scope of beans in ur JSP Page. Can u send me ur source code. If u not specified scope of beans then u have to specify scope of beans Deepak On Mon, 21 Jun 2004 Casas,Claudia wrote : Hello everyone, I have managed to install tomcat4.1.30, apache2.0.49 and the

VIRUS ALERT (mailhub esterni)

2004-06-21 Thread antivirus
ISS Mail Filter (C) 2003 WARNING: VIRUS FOUND IN MESSAGE Subject:Mail Delivery (failure [EMAIL PROTECTED]) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] File: message/message.scr Virus: [EMAIL PROTECTED] ID:

Prevent Apache Backup when a single tomcat stops responding

2004-06-21 Thread Akash Jauhar
All Here is an interesting problem that we are facing. Our Production architecture is as follows: There are 4 Machines each hosting 1 Apache and 3 Tomcat 3.3.1a servlet engines. Hence there are a total of 4 Apache and 12 tomcat workers. Each apache can talk to all the 12 tomcat workers.

Tomcat and hot code deployment

2004-06-21 Thread Ivan Jouikov
Hey! As far as I understand, hot code deployment, is when you modify .class inside /WEB-INF/classes, and tomcat reloads it, correct? If so, is it true, that whenever it reloads it, the OLD instance of static objects, threads, and properties stay alive, that is, tomcat doesnt destroy them?