RE: JBoss + Tomcat + Apache-1.3.33

2004-12-06 Thread parviz
Tomcat is an application server which listens on port 8080. mod_jk is a connector between apache and tomcat. Seems like you want to have Apache get the requests and proxy them back to tomcat. If you want to make sure Tomcat is listening on port 8080, do netstat -anp and you should see java

Session replication problem

2004-12-06 Thread marc ratun
Hi, I'm having problems with the tomcat 5.5 session replication. I've a cluster with three tomcats, one as central node, two as peers. The central node works fine, but whenever I access one of the peers I get the following exception: 06.12.2004 09:51:30

Re: Tomcat 5 notably slower than tomcat 4...more info

2004-12-06 Thread Remy Maucherat
On Sun, 5 Dec 2004 18:31:47 -0600, Dan Foreman [EMAIL PROTECTED] wrote: Hi, I've learned more since my last questions about tomcat 5 vs 4 performance. The reason that it seems so much slower is that there are more than twice as many packets being returned from the application

Re: Service Not Starting Up with Start bar icon but only with a reboot

2004-12-06 Thread Parsons Technical Services
Jack, However, hitting the icon won't start Tomcat. If I restart the machine it will restart Tomcat however. Have you tried starting it from the services window? Any ideas? Do I need to provide any more information? There is nothing in the logs. Which logs? Have you looked in the windows logs

Re: apachephp4.0---Permission denied error

2004-12-06 Thread Parsons Technical Services
Oops, wrong mailing list. Slide on over to the httpd list. This one's for Tomcat and related jsp/servlet questions. http://httpd.apache.org/lists.html Thanks Doug www.parsonstechnical.com - Original Message - From: vishal nalwa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

URL encoding in JSP?

2004-12-06 Thread Shakeel Ahmad
how to send characters in the URLs in JSP code. like vendor.jsp?name=IntelMentorSamsung now in the JSP when I call String name = request.getParameter(name); // The name must be IntelMentorSamsung // instead of Intel only. Best Regards. Shakeel Ahmad.

Re: Tomcat 5.0.27-r4 java.net.BindException

2004-12-06 Thread Parsons Technical Services
Chris, Great. Wasn't a home run, but at least I didn't strike out. Doug - Original Message - From: Chris Stratton [EMAIL PROTECTED] To: Parsons Technical Services [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, December 05, 2004 12:54 PM Subject: Re: Tomcat

CompleteTomcat-4.1.24: Tomcat Admin 'Invalid Direct Reference' error

2004-12-06 Thread Mieke Banderas
Just as Matthew Smith 19 months ago I have a similar problem with 'Invalid Direct Reference' error when I try to use the admin app with Tomcat-4.1.24, installed from ServerLogistics CompleteTomcat-4.1.24 distribution for Mac OS X. This is when I go directly via Tomcat and the 8080 port. Apache

problems with session replication

2004-12-06 Thread Ina Skåre
Hi, I'm a newbie to tomcat session replication. I have a web application running on several tomcat instances (5.0.28) in a clustered environment. Session replication is working as it should when stopping and restaring a tomcat instance. The member joins the cluster and receives all mcast

web.xml

2004-12-06 Thread Andreas Andersson
Hi all! I'm wondering how to get the values of the context-param CONFIGFILE (see below) into my normal class. web-app context-param param-nameCONFIGFILE/param-name param-valuec:\some\path\config.xml/param-value /context-param /web-app -- Andreas Andersson IT Dept. Travelstart Nordic

Sending New Line Characters and ; in URL

2004-12-06 Thread inr
Hai all, I like to send new Line character and ; characters in URL. In hmtl I am using a Form [as like mail box] To address, From address and Message.. When the form is submitted to servlet the information is set to its window.location in servlet response, there by outlook express

[OT] RE: URL encoding in JSP?

2004-12-06 Thread Allistair Crossley
http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html or JSTL c:url .. / -Original Message- From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 12:30 To: Tomcat Users List Subject: URL encoding in JSP? how to send characters in the URLs in JSP

RE: Sending New Line Characters and ; in URL

2004-12-06 Thread Peter Crowther
From: inr [mailto:[EMAIL PROTECTED] I like to send new Line character and ; characters in URL. In hmtl I am using a Form [as like mail box] To address, From address and Message.. When the form is submitted to servlet the information is set to its window.location in servlet

Re: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-06 Thread Trond G. Ziarkowski
Hi! 3) In Apache I'm using some aliases to serve images stored outside my appbase from inside my webapp (Alias /myapp/alias /path/outside/appbase). I've implemented this by creating context xml files for all my aliases with appBase=/path/outside/appbase path=/myapp/alias. Again, is this the

RE: web.xml

2004-12-06 Thread Allistair Crossley
normal class? Is that a Servlet? public void init(ServletConfig cfg) throws ServletException { String s = cfg.getInitParameter(CONFIGFILE); } you'll need \\ instead of \ Allistair. -Original Message- From: Andreas Andersson [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 12:57

Re: CompleteTomcat-4.1.24: Tomcat Admin 'Invalid Direct Reference' error

2004-12-06 Thread Mieke Banderas
Mieke Banderas said: Just as Matthew Smith 19 months ago I have a similar problem with 'Invalid Direct Reference' error when I try to use the admin app with Tomcat-4.1.24, installed from ServerLogistics CompleteTomcat-4.1.24 distribution for Mac OS X. This is when I go directly via Tomcat and

Re: web.xml

2004-12-06 Thread Andreas Andersson
Allistair Crossley wrote: normal class? Is that a Servlet? Well, no. This class is called from another class wich in turn is used in a jsp-page as a session bean. Do I have to pass the value down all the way via jsp:setProperty? -- Andreas Andersson IT Dept. Travelstart Nordic [EMAIL PROTECTED]

RE: web.xml

2004-12-06 Thread Allistair Crossley
you should be acquiring your config params in the way I show, and then setting them perhaps in the application scope, or maybe a registry, or whatever pattern you wish. but do not make your normal classes attempt to access any objects like servletconfig or otherise as that breaks good design.

JSP is not working

2004-12-06 Thread Akhthar Parvez. K
Hi All, I have installed Tomcat 5.0.28 with apache 1.3.3 Following are the details of tomcat environments. Using CATALINA_BASE: /usr/local/jakarta/jakarta-tomcat-5.0.28/ Using CATALINA_HOME: /usr/local/jakarta/jakarta-tomcat-5.0.28/ Using CATALINA_TMPDIR:

Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Segree, Gareth
I want to invalidate previous page if the back button is pressed. The user should not get the previous page if they return to it pressed. Gareth Segree mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Technical Support Analyst The Gleaner Company Ltd. 7 North Street Kingston Tel: 922-3400

[OT] RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Allistair Crossley
use a meta expires tag in the html or add an expires header to the response. Allistair. -Original Message- From: Segree, Gareth [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 13:54 To: '[EMAIL PROTECTED]' Subject: Prevent user from retrieving previous page in jsp/servlet I

Re: problems with session replication

2004-12-06 Thread Filip Hanik - Dev
yes, this is a known bug. Should be fixed in .29 or .30. Filip - Original Message - From: Ina Skåre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 06, 2004 6:47 AM Subject: problems with session replication Hi, I'm a newbie to tomcat session replication. I have a web

Re: Session replication problem

2004-12-06 Thread Filip Hanik - Dev
This is a TCP connection, using the tcpListenAddress and tcpListenPort attributes. You are probably broadcasting an invalid address, check those two attributes Filip - Original Message - From: marc ratun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 06, 2004 3:08 AM

RE: Exception in RealmBase

2004-12-06 Thread Shapira, Yoav
Hi, What Tomcat version are you using? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: Saturday, December 04, 2004 4:49 AM To: Tomcat Users List Subject: Exception in RealmBase Searching the archives, I found two similar

RE: Filter/...

2004-12-06 Thread Shapira, Yoav
Hi, The Servlet Spec v2.4, which Tomcat 5.x implements, provides an answer to your problem: add a forward/include directives to your filter-mapping. See SRV.13.1 for the syntax and examples. Yoav Shapira http://www.yoavshapira.com -Original Message- From: QM [mailto:[EMAIL PROTECTED]

Re: Sending New Line Characters and ; in URL

2004-12-06 Thread inr
Hi Peter Crowther, I am using the POST Method , The problem is not loss of data, it is about the new Line Character and ' , ; charcters when setting as below, Window.location=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED];?CC=ik [EMAIL PROTECTED]

RE: Tomcat 5.0.28 -- HTTP server dies

2004-12-06 Thread Shapira, Yoav
Hi, Thank you for providing a good laugh on this cold Monday morning ;) We haven't had an oops I had a System.exit call... email in at least a year. The container itself can't do much about developer carelessness. Of course there are other gotchas: don't have infinite loops, don't leave

[OT] RE: Sending New Line Characters and ; in URL

2004-12-06 Thread Allistair Crossley
you can't have new line characters in URLs, you'll need to get rid of them with a regular expression for what you are doing I think. Allistair. -Original Message- From: inr [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 14:29 To: Tomcat Users List Subject: Re: Sending New Line

Re: Developing my First web app

2004-12-06 Thread Alessandro Ronchi
Il giorno dom, 05-12-2004 alle 03:51 +, Alessandro Ronchi ha scritto: Hi to all. I must develop my first Tomcat web app (to make an olap system for datawarehousing queries with versioning support). I'm looking for a (LGPL or similar) gui library to use for my web app, a framework to

RE: Developing my First web app

2004-12-06 Thread Shapira, Yoav
Hi, There are numerous options, but talking about them usually leads to flame wars. Check out for example Java Server Faces: http://java.sun.com/j2ee/javaserverfaces/index.jsp, http://www.macromedia.com/software/flex/, and http://www.laszlosystems.com/, among others. If you google for any of

RE: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-06 Thread Shapira, Yoav
Hi, Thanks for the tip ;) We're well aware of package-renaming approach, and in fact do it with DBCP for Tomcat 5.5. But for XML parses after JAXP that's really hardly ever necessary. Yoav Shapira http://www.yoavshapira.com -Original Message- From: David Stevenson [mailto:[EMAIL

another problem with session replication

2004-12-06 Thread Ina Skåre
Thank you for your quick response, Filip, you saved me a lot of hassle trying to figure out the problem... I have now discovered another issue. When restarting tomcat, my application joins the cluster and receives all the mcast messages from that point on, but does not receive the state at

Re: another problem with session replication

2004-12-06 Thread Filip Hanik - Dev
This should work fine. What do your logs say? Filip - Original Message - From: Ina Skåre [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 06, 2004 8:36 AM Subject: another problem with session replication Thank you for your quick response, Filip, you

RE: another problem with session replication

2004-12-06 Thread Allistair Crossley
i'm not sure if this is a similar issue to this thread, but i setup a 3 member tomcat cluster on 1 machine the other night (ensuring that ports were unique) and also each AJP was unique and so fourth. jk was configured correctly. i noticed on starting each tomcat, that although it seemed happy

RE : web.xml

2004-12-06 Thread VAN DER MARLIERE FREDERIC
Hi Andreas. You can get you parameter with: 'request.getSession().getServletContext().getInitParameter(CONFIGFILE)' It first gets a reference on your application context and then gets the parameter you wrote in context-param.../context-param Fred. -Message d'origine- De : Andreas

Re: web.xml

2004-12-06 Thread Andreas Andersson
Allistair Crossley wrote: you should be acquiring your config params in the way I show, and then setting them perhaps in the application scope, or maybe a registry, or whatever pattern you wish. but do not make your normal classes attempt to access any objects like servletconfig or otherise as

RE: RE : web.xml

2004-12-06 Thread Allistair Crossley
well if request is available (either in a JSP or a Servlet) then he may as well use application.getInitParameter(CONFIGFILE), or in a Servlt getServletContext().getInitParameter .. no point going via the session. He should not be passing J2EE objects down into his business logic either.

RE: web.xml

2004-12-06 Thread Allistair Crossley
we have objects that statically (and lazily) load properties from databases and files and it works great. we have a context listener so we can clean up after ourselves. it means we don't rely on managing context-params and storing them somewhere for the rest of our app. -Original

how tomcat compile jsp

2004-12-06 Thread Jiang, Peiyun
When tomcat compiles jsp, does it add jars in /WEB-INF/lib/ to classpath? [If I include third party libs in /WEB-INF/lib/, do I have to add them somewhere for tomcat to load? Or I can just leave them there in /WEB-INF. ] Thanks. Peiyun Jiang

RE : web.xml

2004-12-06 Thread VAN DER MARLIERE FREDERIC
Your value is also available in a jsp with %= application.getInitParameter(CONFIGFILE) % Fred. -Message d'origine- De : Andreas Andersson [mailto:[EMAIL PROTECTED] Envoyé : lundi 6 décembre 2004 13:57 À : [EMAIL PROTECTED] Objet : web.xml Hi all! I'm wondering how to get the

RE: how tomcat compile jsp

2004-12-06 Thread Allistair Crossley
all libraries in WEB-INF/lib are automatically loaded for your web application. if you want ALL web applications to have access to a particular library or you are setting up datasources there is also the possibility of adding them to tomcat/common/lib e.g a database driver. -Original

RE: RE : web.xml

2004-12-06 Thread Allistair Crossley
is there an echo in here? -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 14:57 To: Andreas Andersson; [EMAIL PROTECTED] Subject: RE : web.xml Your value is also available in a jsp with %=

Re: another problem with session replication

2004-12-06 Thread Filip Hanik - Dev
your problem might be as simple as multicasting is not working in your network. filip - Original Message - From: Allistair Crossley [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 06, 2004 8:44 AM Subject: RE: another problem with session replication

RE: how tomcat compile jsp

2004-12-06 Thread Jiang, Peiyun
I know they are loaded to RUN the application. I'd like to know when it COMPILES the jsp pages, if they are loaded or not. Can you clarify it? Thanks. Peiyun -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: December 6, 2004 9:58 AM To: Tomcat Users List

What's the usage of the beanName attribute of the jsp:useBean element?

2004-12-06 Thread zerol tib
Howdy, There are five attributes of the JSP standard action jsp:useBean : scope, id, class, beanName and type, as we know, the usage of these attributes are easy to understand except beanName.Would you please tell me what does beanName mean? Thanks in advance.

RE: how tomcat compile jsp

2004-12-06 Thread Shapira, Yoav
Hi, Can't you just test this in much less time than it takes to ask and wait for responses on this list? ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Jiang, Peiyun [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 10:10 AM To: 'Tomcat Users List' Subject:

RE: how tomcat compile jsp

2004-12-06 Thread Allistair Crossley
no need to SHOUT, i can HEAR you ;P yoav is right .. just access a library in a new jsp and see what happens ;) if you want the answer scroll down. yes, the libs are available when the jsps are compiled. -Original Message- From: Jiang, Peiyun [mailto:[EMAIL PROTECTED]

RE: how tomcat compile jsp

2004-12-06 Thread Jiang, Peiyun
I don't have access to the system. I can only deploy the application to the system by using the manager. It's hard to debug without touch it. I'd appreciate an answer. Thanks. Peiyun -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: December 6, 2004 10:13 AM To:

Re: another problem with session replication

2004-12-06 Thread Ina Skåre
The log seems to be fine and gives me no glue as to what is going wrong. I have attached the log from startup of a new tomcat instance. I have sometimes seen this warning (but didn't appear when producing the log this time): Dec 6, 2004 3:57:57 PM messageDataReceived WARNING: Context manager

%@page isThreadSafe=false % does not work

2004-12-06 Thread zerol tib
Howdy, I compared two servlets' source code compiled from JSPs, at the beginning of one jsp I add page directive: [EMAIL PROTECTED] isThreadSafe=false % and the other, [EMAIL PROTECTED] isThreadSafe=true %. But the two servlet are the same , I had thought the first servlet will implement

RE: %@page isThreadSafe=false % does not work

2004-12-06 Thread Shapira, Yoav
Hi, Don't rely on SingleThreadModel, it's more than deprecated: it's evil. Don't use the isThreadSafe directive, don't use SingleThreadModel. Yoav Shapira http://www.yoavshapira.com -Original Message- From: zerol tib [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 10:23 AM

[OT] Re: What's the usage of the beanName attribute of the jsp:useBean element?

2004-12-06 Thread Ben Souther
From: Core Servlets http://pdf.coreservlets.com Rather than use the class attribute, you are permitted to use beanName instead. The difference is that beanName can refer either to a class or to a file containing a serialized bean object. The value of the beanName attribute is passed to the

RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Phillip Qin
Google it. Hint, you need to play with response header. -Original Message- From: Segree, Gareth [mailto:[EMAIL PROTECTED] Sent: December 6, 2004 8:54 AM To: '[EMAIL PROTECTED]' Subject: Prevent user from retrieving previous page in jsp/servlet I want to invalidate previous page if the

RE: how tomcat compile jsp

2004-12-06 Thread Razzakul H Chowdhury
Hi, I had problem in deploying the web-apps in tomcat 4 in windows 2000 workstation. When I installed the tomcat 5 in windows XP it disappeared. In windows 2k I was able to run the jsps but not the servlet except from the following folder: C:\Program Files\Apache Group\Tomcat

RE: how tomcat compile jsp

2004-12-06 Thread Jiang, Peiyun
It's a linux box. It's working on my win2k, on another linux box, but not on the one I'm deploying now. Have no access to it, just want to know some general possibilities and try them out for now. Thanks. Peiyun -Original Message- From: Razzakul H Chowdhury [mailto:[EMAIL PROTECTED]

Re: %@page isThreadSafe=false % does not work

2004-12-06 Thread Andre Van Klaveren
I have to agree with Yoav. You shouldn't use the isThreadSafe directive unless you absolutely have to (why would you?). I would reconsider your design if you think you need to use this directive. On the other hand, AFAIK, the servlet spec only requires the container to guarantee synchronized

Re: Service Not Starting Up with Start bar icon but only with a reboot

2004-12-06 Thread Dakota Jack
Hi, Doug, I am talking about the regular Tomcat logs. If that is not what you mean, then I am not aware of the windows logs. Where are they? My server.xml is: Server port=8005 shutdown=SHUTDOWN GlobalNamingResources !-- Used by Manager webapp -- Resource name=UserDatabase

RE: webapps ROOT folder significance

2004-12-06 Thread Allistair Crossley
Hi Is there anymore background information you can offer on this? Cheers, Allistair. -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 05 December 2004 10:35 To: Tomcat Users List Subject: Re: webapps ROOT folder significance On Sat, 4 Dec 2004 19:32:13

Tomcat with IIS 6 on Win 2003

2004-12-06 Thread Vakulenko, Andrey V
Do you know if a new isapi_redirect.dll is available to run Tomcat under IIS 6 (without switching in IIS 5 isolation mode)? Thanks, Andrey Vakulenko, EDS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Chirag: Which Version is Stable 5.5.2 Is this Version Stable

2004-12-06 Thread Shapira, Yoav
Hi, 5.5.4 is stable is you said. 5.0.29 and 5.0.30, both available now, are both beta. 5.0.28 is stable. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Saturday, December 04, 2004 2:20 PM To: Tomcat Users List

RE: how tomcat compile jsp

2004-12-06 Thread Razzakul H Chowdhury
Presumably this is a security issue. You could check the directory permission and also see whether the examples or any other webapp's servlets are running. After deploying webapps you might restart the tomcat server and check the log files. Thanks. Razzakul -Original Message- From:

DBCP/JNDI/Realms

2004-12-06 Thread Ruth, Brice
Good morning! I've been running into an intermittent problem with my database connections for authentication. It appears that periodically, the iSeries (DB2/400) that I connect to terminates all incoming ODBC/JDBC connections (one a week, apparently). What happens in my application is that

RE: DBCP/JNDI/Realms

2004-12-06 Thread Shapira, Yoav
Hi, DBCP will NOT gracefully recover by itself. You need to configure it according to your desired behavior. Specifically, check out the testOnBorrow, testOnReturn, and testWhileIdle properties at http://jakarta.apache.org/commons/dbcp/configuration.html. Yoav Shapira

Re: Tomcat with IIS 6 on Win 2003

2004-12-06 Thread Mladen Turk
Vakulenko, Andrey V wrote: Do you know if a new isapi_redirect.dll is available to run Tomcat under IIS 6 (without switching in IIS 5 isolation mode)? No. Neither it will. We'll probably develop a new connector for IIS6 using new proxy_ajp code base. There are just too many differences between

RE: Tomcat with IIS 6 on Win 2003

2004-12-06 Thread Vakulenko, Andrey V
Any timetable? -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 10:40 AM To: Tomcat Users List Subject: Re: Tomcat with IIS 6 on Win 2003 Vakulenko, Andrey V wrote: Do you know if a new isapi_redirect.dll is available to run Tomcat under

Re: HP-UX misbehaving AGAIN

2004-12-06 Thread Wendy Smoak
From: Tim Funk [EMAIL PROTECTED] http://jakarta.apache.org/tomcat/faq/memory.html#why After a long battle with HP-UX - I love the performance I get on it. Odds are - your memory issues have to do with process/thread limits. Thank you for the tip! It turned out to be that Tomcat was out of

Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Chirag
Software Installed -- jakarta-tomcat-5.5.2 JDK 1.5 IE 6.0SP1 Requirement The PC has Internet Connection. and we start the Tomcat Server. After that we try to see the site http://localhost:8080/ We get normal Tomcat Home Page ready Afterwards I

Re: Tomcat with IIS 6 on Win 2003

2004-12-06 Thread Mladen Turk
Vakulenko, Andrey V wrote: Any timetable? Not this year for sure :). I think by the end of February next year. MT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Karl Ostendorf
This is an interesting question. I have created a ServletFilter that appends the following headers to all responses: response.setHeader(Cache-Control, no-cache); response.setHeader(Pragma, no-cache); response.setDateHeader(Last-Modified, System.currentTimeMillis/());

RE: Tomcat with IIS 6 on Win 2003

2004-12-06 Thread Vakulenko, Andrey V
Thanks a lot -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 10:54 AM To: Tomcat Users List Subject: Re: Tomcat with IIS 6 on Win 2003 Vakulenko, Andrey V wrote: Any timetable? Not this year for sure :). I think by the end of February

RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Allistair Crossley
response.setDateHeader(Last-Modified, System.currentTimeMillis/()); ^^^ is invalid .. -Original Message- From: Karl Ostendorf [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 17:03 To: Tomcat Users List Subject: Re:

RE: HP-UX misbehaving AGAIN

2004-12-06 Thread Wick, Daniel
Wendy, There are also a number of HP recommended tunes you can do the kernal of HP-UX to improve performance for tomcat apache httpd - provided you have a busy system. Some easy ones are: maxuprc default=75, recommend 3500 nproc default=(20+8*MAXUSERS), recommend (20+32*MAXUSERS)

Re: JSP is not working

2004-12-06 Thread Alain Gaeremynck
by default, tomcat runs it's http server on port 8080. It sounds as thought you haven't configured a connector between apache and tomcat and you are expecting tomcat to answer the request made tp apache. Try directing your http request to port 8080 by appending :8080 to the domain name part

help with html + servlet

2004-12-06 Thread Nestor Florez
Hello experts, I am reading to the documentation, but I do not understand how to make it so that Tomcat executes a servlet as the action for an HTML file after the submit button is clicked. I put my HTML code in the Tomcat 5.0\webapps\ROOT directory and I am putting my servlet in the Tomcat

[OT] RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Allistair Crossley
hm, i can't seem to get them working either in IE, I think the last time I had this working was after a form post, not just navigation through pages. Sorry. A google search may be more appropriate. Cheers, Allistair. -Original Message- From: Allistair Crossley Sent: 06 December

Re: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Alain Gaeremynck
I would suggest doing it client side with javascript. use location.replace(url) which will in effect replace the url in the history. so the back button will take you 2 step back. The only other way that i know of to do this is to clear the cache as offered in the other answer thread and

RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Phillip Qin
Also add response.setHeader(cache-control, no-cache,no-store,must-revalidate,post-check=0, pre-check=0); -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: December 6, 2004 12:11 PM To: Tomcat Users List; Karl Ostendorf Subject: RE:

RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Phillip Qin
There were a lot of posts rearding this Back issue in struts-user mailing list. -Original Message- From: Alain Gaeremynck [mailto:[EMAIL PROTECTED] Sent: December 6, 2004 12:26 PM To: Tomcat Users List Subject: Re: Prevent user from retrieving previous page in jsp/servlet I would

problem with response.encodeURL in jsp

2004-12-06 Thread Robert Harper
I am trying to customize the login.jsp page and when I add more formatting and some graphics the jsp that encodes the URL for the security check does not encode correctly. Instead of %= response.encodeURL(j_security_check) % retruning

OT (Slightly): Large 64 bit JVMs

2004-12-06 Thread Dale, Matt
Title: OT (Slightly): Large 64 bit JVMs Hi, Does anyone have any experience of running large 64 bit JVMs on Solaris. We've got a box with 16GB of RAM and despite increasing the kernel parameter shmmax I can't get a JVM to be any bigger than about 3300MB. Any hints or tips or links

RE: OT (Slightly): Large 64 bit JVMs

2004-12-06 Thread Shapira, Yoav
Hi, I have a little bit of experience in this area, not much. The JVM will grow as much as it needs subject to your -Xms/-Xmx and other settings, as I'm sure you know already. So could it be it's not growing past 3300MB because it doesn't need to? Stress it out with a bigger load, or maybe

Re: JSP is not working

2004-12-06 Thread Akhthar Parvez. K
hi All, I just fixed it. Now the JSP is working:) The problem was with the /Engine directive. It was above of all the domain's host entries in server.xml. So that Tomcat did not recognize those domains. I have moved that entry at the bottom and JSP is working fine for all the domains. Any

Re: help with html + servlet

2004-12-06 Thread Ben Souther
I've got some example code here: http://simple.souther.us SimpleBean has an example of a form post. SimpleServlet has a mapped bean. They're all war files that you can just drop into your webapps folder and run. On Mon, 2004-12-06 at 12:24, Nestor Florez wrote: Hello experts, I am

Re: help with html + servlet

2004-12-06 Thread Wendy Smoak
From: Nestor Florez [EMAIL PROTECTED] I put my HTML code in the Tomcat 5.0\webapps\ROOT directory and I am putting my servlet in the Tomcat 5.0\webapps\ROOT\WEB-INF\classes\florezn, Make sure your package statement is correct for that path. I am doing this for a homework and part one is

Re: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-06 Thread Giuseppe SANTAMARIA
Hi Yoav But consider having two Tomcat instances, it means make a new installation of Tomcat? Thanks Peppe - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 03, 2004 5:58 PM Subject: RE: xercesImpl.jar

FactoryConfigurationError: Couldn't find SAXParserImpl

2004-12-06 Thread Williams, Allen
I get an error similar to this everytime I try to start Tomcat, and it won't start. Does anyone have any idea why this is? To the best of my knowledge, the jar file are correctly in the path and there is a SAXParserImpl in one of them. How does Tomcat try to find these? Could it be some sort of

RE: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-06 Thread Shapira, Yoav
Hi, But consider having two Tomcat instances, it means make a new installation of Tomcat? I'm not sure what your point is here. You can have as many instances of Tomcat as you like, using at least two approaches. One is completely separate installations, i.e. different CATALINA_HOME/BASE for

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Parsons Technical Services
Are you running any kind of firewall? Doug - Original Message - From: Chirag [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 06, 2004 11:53 AM Subject: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket Software Installed --

Re: FactoryConfigurationError: Couldn't find SAXParserImpl

2004-12-06 Thread D. Stimits
Williams, Allen wrote: I get an error similar to this everytime I try to start Tomcat, and it won't start. Does anyone have any idea why this is? To the best of my knowledge, the jar file are correctly in the path and there is a SAXParserImpl in one of them. How does Tomcat try to find these?

RE: FactoryConfigurationError: Couldn't find SAXParserImpl

2004-12-06 Thread Williams, Allen
Thanks! I'll try again and give that a shot... Thanks, Allen -Original Message- From: D. Stimits [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 2:25 PM To: Tomcat Users List Subject: Re: FactoryConfigurationError: Couldn't find

IIS replacement

2004-12-06 Thread Vakulenko, Andrey V
I am trying to move a Java web application (Tomcat 3, IIS, Windows 2000) to Win 2003 server. I already know that there is no way to make tomcat working with IIS 6 (without switching in IIS 5 mode). So, my next question is if I can get rid of IIS? I am using IIS now to get Windows integrated

Re: help with html + servlet

2004-12-06 Thread Nestor Florez
The assign text book is Beginning java 2, Ivor Horton, but I was reading one of O'reilly's books about servlets I am also trying to do the same thing using the Oracle 10g IDE but I have the same problem. The thing is in our previous homework I manage to make jsp files find on TOmcat by putting

Guide to installing Latest JVM on Redhat?

2004-12-06 Thread Keddie, Robert
Can someone help a noob out and tell me if there is any definitive guide of Somones experience installing a JRE/JVM on a Redhat Linux machine? Please help. Thankyou! Robert Keddie Web Development/MIS Phone: (352)671-8802 Marion County BCC Florida

Re: IIS replacement

2004-12-06 Thread Mladen Turk
Vakulenko, Andrey V wrote: I am trying to move a Java web application (Tomcat 3, IIS, Windows 2000) to Win 2003 server. I already know that there is no way to make tomcat working with IIS 6 (without switching in IIS 5 mode). The main question is are you using full features of IIS6, namely separete

Redhat and JVM Install?

2004-12-06 Thread Keddie, Robert
Can someone help a noob out and tell me if there is any definitive guide of Somones experience installing a JRE/JVM on a Redhat Linux machine? Please help. Thankyou! Robert Keddie Web Development/MIS Phone: (352)671-8802 Marion County BCC Florida

RE: IIS replacement

2004-12-06 Thread Vakulenko, Andrey V
It will be shared server used by multiple MS application, so switching to IIS 5 mode is out of question -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 1:57 PM To: Tomcat Users List Subject: Re: IIS replacement Vakulenko, Andrey V wrote: I

Re: Redhat and JVM Install?

2004-12-06 Thread Alain Gaeremynck
Can you give an idea af what problems you have? The rpm install is quiite simple. the only thing to remember is to put the bin folder of the installed jvm in the path env variable and JAVA_HOME in .bash_profile. The settings can also be made system wide in profile.d

Re: IIS replacement

2004-12-06 Thread Mladen Turk
Vakulenko, Andrey V wrote: I am trying to move a Java web application (Tomcat 3, IIS, Windows 2000) to Win 2003 server. I already know that there is no way to make tomcat working with IIS 6 (without switching in IIS 5 mode). So, my next question is if I can get rid of IIS? You may take a look at:

Re: IIS replacement

2004-12-06 Thread Mladen Turk
Vakulenko, Andrey V wrote: It will be shared server used by multiple MS application, so switching to IIS 5 mode is out of question Well, then either add additional server, or you'll be unable to use integrated athorization with Tomcat. MT.

migrate IIS to J2ee based web server, then migrate .net architecture to j2ee based one

2004-12-06 Thread qiubo su
Dear Sir/Madam: the company i will work for later on has the software product based on the .net framework with the IIS middle ware. because of the requirement of the current market, the company needs to migrate the whole architecture to J2ee based one. because the company only has .net

  1   2   >