Is tomcat 4.1.16 stable enough for production ?

2002-12-16 Thread Reynir Hübner
Hi, Is tomcat 4.1.16 stable enough for production, or should I install 4.1.12 or some other version? thanx -reynir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Is tomcat 4.1.16 stable enough for production ?

2002-12-16 Thread Reynir Hübner
Millennium ChemInformatics -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 12:25 PM To: Tomcat Users List Subject: Is tomcat 4.1.16 stable enough for production ? Hi, Is tomcat 4.1.16 stable enough for production, or should I

RE: Retrieve User - Realm

2002-12-13 Thread Reynir Hübner
Hi, One minor flaw in your idea, it's not possible to retrive the user from the session, unless you put it there when the user is authenticated. Meaning, the request.getRemoteUser() will only return you a username (login) in the actual request the authentication is made, still, depending on the

RE: Hello World

2002-12-11 Thread Reynir Hübner
Please send the error messages you get. If you are trying to get parameters from url you can use : String param_value = request.getParameter(nameofparameter); Hope it helps -reynir -Original Message- From: eduardofcomelo [mailto:[EMAIL PROTECTED]] Sent: 11. desember 2002 15:42 To:

RE: urgent !!!!problem with availability of port !

2002-12-11 Thread Reynir Hübner
You change it in server.xml where the HTTP connector is specified. You find server.xml under c:\$tomcathome$\conf\server.xml Hope it helps -reynir -Original Message- From: neha shah [mailto:[EMAIL PROTECTED]] Sent: 11. desember 2002 15:29 To: [EMAIL PROTECTED] Subject: urgent

RE: Large JSP causes tomcat to crash with multiple users

2002-12-10 Thread Reynir Hübner
Hi, I am curious to know what is it you are doing with this JSP page ? If it's large but mostly static content (such as HTML tables etc) you can choose to keep the static content blocks in a file. There are many ways to improve jsp performance, but your problem sounds like you are doing

RE: question regarding error message

2002-12-09 Thread Reynir Hübner
Hi, It means that the class you are trying to load is not found in the classpath of your application. My guess is that you are on the wrong list (yahoo games ?) Hope it helps -reynir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 9. desember 2002 02:43

RE: virtualhost based root context??

2002-12-09 Thread Reynir Hübner
If I understand you correctly you want create a virtual host definition in server.xml It's done this way : Host name=www.something.com debug=0 Context path= docBase=C:\webappbase\ reloadable=true/ /Host Hope it helps -reynir -Original Message- From: Thomas Sandor

RE: How do I install a jar file and reference it with a jsp page?

2002-12-09 Thread Reynir Hübner
I would tell you to put the jar file under WEB-INF/lib/ under your webapplication. This means the jar file along with all it's classes and what ever is in it, is in the classpath. Now, I don't kow what is inside the jar file (might be some javabeans as well as servlets). If I was you, I

RE: off-topix: commerce server

2002-12-05 Thread Reynir Hübner
Check out : http://sourceforge.net/projects/ofbiz/ -Original Message- From: Jan Agermose [mailto:[EMAIL PROTECTED]] Sent: 5. desember 2002 18:54 To: 'Tomcat Users tomcat Subject: off-topix: commerce server Does anyone of You know of something like MS Commerce server or

RE: Reading wanted.

2002-12-03 Thread Reynir Hübner
For general java/j2ee : Try www.javalobby.org and the www.theserverside.com For tomcat: guess that has to be http://jakarta.apache.org/tomcat -Original Message- From: Triptpal Singh Lamba [mailto:[EMAIL PROTECTED]] Sent: 3. desember 2002 18:56 To: Tomcat Users List Subject:

RE: Get the request path from a filter ..

2002-12-03 Thread Reynir Hübner
How about request.getRequestURI() ? It should return you a string with the uri.. Hope it helps -reynir -Original Message- From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: 3. desember 2002 22:13 To: [EMAIL PROTECTED] Subject: Get the request path from a filter ..

RE: Retrieving username and password from url??

2002-12-02 Thread Reynir Hübner
Hi, Depending on the browser and authentication scheme this will may try to authenticate against tomcat. There for you should be able to do request.getRemoteUser() on (at least) the first request that has the authenticative username:password. request.getRemoteUser() only returns the

RE: How do I access files above and below \web-inf folder?

2002-12-02 Thread Reynir Hübner
Hi... things that come to mind... What you mention as \web-inf is always uppercase WEB-INF (java is case sensitive). The slash should be made with a java.io.File.seperator it's / in unix and \\ in windows. \web-inf will leave you with eb-inf as a single backslash \ is an escape char. Hope it

RE: Retrieving username and password from url??

2002-12-02 Thread Reynir Hübner
Reynir, how can you get the Authentication header? As far as I know the only information you can get is the Principal and the username, but not the password, neither clear nor encoded. Andreas On 2 Dec 2002 at 9:14, Reynir Hübner wrote: Hi, Depending on the browser

RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Reynir Hübner
Hi, My setup is much faster with tomcat 4.1.12 than 4.0.x What kind of things are you doing with your servlets/jsps ? Which libraries are you using ? Do you do a lot of XML parsing ? Did you disable tagpooling ? Do you have less memory assigned to the process than before ? -reynir

RE: Servlet unavailable discussion

2002-12-01 Thread Reynir Hübner
I've have got this error, when a class that the servlet uses has changed. If a class that the servlet relies on has been changed and compiled afterwards the servlet was compiled it may report as unavailable. Because this is an error you should get at compile time, but not runtime. There may

RE: Redirecting requests back to the webserver from tomcat

2002-12-01 Thread Reynir Hübner
Hi, I don't think it is with out changing the connectors somehow. I cannot see the gain in doing it either, as if you are handling the request at somepoint for all content (both static and non static) in tomcat, you are delaying each request a small bit, and there for you could just as well

RE: need request lifecycle diagram

2002-12-01 Thread Reynir Hübner
Hi aaron, To answer your questions directly, I don't know if a diagram as you want exists, but yes it's a good idea. In my understanding the row is like this : 1. HTTP service receives the request. 2. If an authentication valve is set to handle the authentication it will happen next, as it

RE: Tomcat problems

2002-12-01 Thread Reynir Hübner
Hi, The first thing I think of is I've never heard of a file called jakarta.dll, in my experience it's called isapi_redirect.dll. What kind of errors are you getting ? Do you get a green arrow (for the filter) ? If I understand you correctly you are trying to redirect from the IIS machine to

RE: JSP/Beans

2002-11-30 Thread Reynir Hübner
Your bean, the one called Bean.TodayBean is not in your classpath, or not correctly spelled. Try putting your classfile under WEB-INF/classes/Bean/TodayBean.class or package it in a jar and put it in WEB-INF/lib/somefile.jar Hope it helps -reynir -Original Message- From: [EMAIL

RE: url patterns

2002-11-30 Thread Reynir Hübner
You could write a request filter that would be mapped onto /* and put your logic in it. By this you would be able to parse any Path-info from the url like you want. Hope it helps -reynir -Original Message- From: Warner Onstine [mailto:[EMAIL PROTECTED]] Sent: 30. nóvember 2002

RE: thread comunicating with ServletContexts

2002-11-29 Thread Reynir Hübner
the writer and then open the input stream and close it in that order. Hope this helps, Nathan. - Original Message - From: Reynir Hübner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 29, 2002 10:19 AM Subject: thread comunicating with ServletContexts Hi, I

RE: startup classes in tomcat 4.1.12

2002-11-29 Thread Reynir Hübner
Sure, there are few possibilities. One is to make a ServletContextListener, with this you can start up what ever class you like when the application starts. Another one is to make servlet and have its load-on-startup parameter set in web.xml For example if I have a servletcontextListener

RE: How do I get the absolute path of a file in a directory above WEB-INFdirectory of my web application?

2002-11-29 Thread Reynir Hübner
Try this : String filepath = ServletContext.getRealPath(/WEB-INF/somedir); Hope it helps -reynir -Original Message- From: Peter Lee [mailto:[EMAIL PROTECTED]] Sent: 29. nóvember 2002 09:18 To: [EMAIL PROTECTED] Subject: How do I get the absolute path of a file in a directory

Tomcat classloads

2002-11-28 Thread Reynir Hübner
Hello, I am wondering if there is any short-cut into seeing how much memory each webapp in tomcat is taking at runtime ? I know it's possible to wrap the classloader object for webapplications, and make it count the numbers of objects instanciated, aproxiate the memory taken by each object by

thread comunicating with ServletContexts

2002-11-28 Thread Reynir Hübner
Hi, I have a slight problem I am starting up a thread when application starts with a ServletContextListener implementation. The purpouse of the thread is to monitor a directory that has few xml descriptor files in it. Attributes from the XML files are parsed into the ServletContext on

Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Reynir Hübner
Hi, When using version tc. 4.1.14 this exception sometimes occures : java.lang.ArrayIndexOutOfBoundsException at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:615) at

REPOST: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Reynir Hübner
Hello, Sorry I probably did not provide enough information in the first request, so this is my second attempt: Well it looks as if it's an exception being thrown from coyote http connector, that I am using, in a tomcat-standalone setup (no apache/IIS isntl) As this is a server running more

RE: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Reynir Hübner
Thanx remy! -reynir -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: 27. nóvember 2002 13:11 To: Tomcat Users List Subject: Re: Coyote:: ArrayIndexOutOfBoundsException Reynir Hübner wrote: Hi, When using version tc. 4.1.14 this exception

RE: Page Statistics for Tomcat?

2002-11-25 Thread Reynir Hübner
Hi, I really like awstats, it's in sourceforge... I recommend that one : http://sourceforge.net/projects/awstats/ Hope it helps [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 25. nóvember 2002 13:41 To: [EMAIL PROTECTED] Subject:

RE: Tomcat or JBoss?

2002-11-25 Thread Reynir Hübner
If you need EJB container I recommend that you set up Jboss, if you don't need it, don't do it. You must realize the fact that Tomcat is a servlet/JSP container when Jboss is a J2EE container, usually bundled with either Jetty or tomcat for servlets/jsp support. I've been using tomcat for

RE: Page Statistics for Tomcat?

2002-11-25 Thread Reynir Hübner
|-+ | | Reynir Hübner| | | reynir@hugsmidja| | | n.is| | || | | 11/25/02 08:45 AM| | | Please respond to| | | Tomcat

Tomcat Mbeans

2002-11-21 Thread Reynir Hübner
Hi, I'm looking for documentation on the Mbean system in tomcat. I've developed a new Valve that I would like to run with in tomcat, and it does, but the parameters in server.xml dont seem to get passed down to the class, on server-startup. I've added a config for the Valve in the

Access Log valve

2002-11-20 Thread Reynir Hübner
Hi, I have configured an access log valve, it works ok, except it always makes one file per day, I would like to have one file for longer time-period. It would make it easyer to analize with the usual accesslog tools, such as AWStats, or webalizer. How do I configure it so that it's a one

RE: Access Log valve

2002-11-20 Thread Reynir Hübner
cron and shell scripting to massage your files into a format you like -Tim Reynir Hübner wrote: Hi, I have configured an access log valve, it works ok, except it always makes one file per day, I would like to have one file for longer time-period. It would make it easyer

RE: Tomcat 4.0.6 and Java versions

2002-11-18 Thread Reynir Hübner
Hæ, Did you by any chance download the LE version ? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.6/bin/ Try the standard version, but not LE. The standard version req. : Standard: This is a full binary distrbution of Tomcat 4, which includes all optional libraries and an

RE: JSP pages giving out source code

2002-11-18 Thread Reynir Hübner
Hi, In my oppinion the problem lies in url-mapping for the http engine in your setup. From the urls you sent in, it looks like as if you're on one hand accessing a webpage directly within tomcat (through port 8080), and the other through a HTTP server such as IIS or apache. When you're

RE: Scanning the URL

2002-11-18 Thread Reynir Hübner
Hello Anders, You can implement a Filter : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/servlet/Filter.html that would be executed either before or after (or both) the response is created, with traditional servlets/jsp. You could for example check out the URL in the

RE: exception when accessing web application

2002-11-18 Thread Reynir Hübner
Hi, These information do not really tell much, The problem is coming up when you try to call some class that is not in the classpath in the following class : Electric.server.http.ServletServer ? Things you should look into are versions of jdk used to compile the two and runtime, for example

RE: auto-redirect to default page - undesired

2002-11-18 Thread Reynir Hübner
You could map a servlet or jsp to the path / that dispatches the request using RequestDispatcher.forward(/path_to_somewhere to what ever place you want, then remove the welcome-files from web.xml, if you don't want that functionality. I think that might work for you. Hope it helps [EMAIL

RE: Servlet filter mapping

2002-11-17 Thread Reynir Hübner
Thanx craig. I wonder why this is not a part of the spec, as it could be very usefull. Is there a way of setting the url-patterns on runtime, or only in web.xml ? Thanx again, -reynir There are only four standard URL patterns (and this applies to servlet mappings and security

RE: why Tomcat 4.0.4 creates new instance of servlet, when applet make first request to servlet?

2002-11-17 Thread Reynir Hübner
If I understand you correctly I think I must say a servlet get's initialized once, when it's loaded (by the classloader), and then only again if it's changed. A servlets runtime is within the scope of one request, so if you want to execute the same servlet twice, first to set member variables

RE: Can I use Structs in Tomcat 4.1.12?

2002-11-17 Thread Reynir Hübner
My guess is you're asking about struts, but not structs ? Yes you can, see http://jakarta.apache.org/struts Hope it helps -reynir -Original Message- From: Cui Jun [mailto:[EMAIL PROTECTED]] Sent: 17. nóvember 2002 04:52 To: [EMAIL PROTECTED] Subject: Can I use Structs in Tomcat

RE: servlet classpath

2002-11-17 Thread Reynir Hübner
Try putting your servlet into your webapplications lib directory, its usually under, Your_web_application/WEB-INF/classes (if it's not packaged) or Your_web_application/WEB-INF/lib (if it's packaged in a jar file). The size of your terminal screen does not matter. hope it helps -reynir

Servlet filter mapping

2002-11-16 Thread Reynir Hübner
Hi, I have a filter that I want to be used for most paths in my webapplication. The paths in the webapp are created on runtime, and there for I cannot put them in web.xml, so I put url-pattern=/* Something like : filter-mapping filter-nameControllFilter/filter-name

ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Hello, I am implementing a ServletContextListener. I am wondering if it is possible to get initial parameters into it from web.xml ? From the javadocs it doesn't seem possible http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/servlet/ServletContextListener.html In other

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
().getInitParameter() ? -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: Tuesday, November 12, 2002 2:42 PM To: Tomcat Users List Subject: ServletContextListener::Initial paramters I am implementing a ServletContextListener. I am wondering

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
-Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: 12 November 2002 13:59 To: Tomcat Users List Subject: RE: ServletContextListener::Initial paramters Thanx for the replies, Am I correct when saying I must specify the contex parameters

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Of course, I did already, and no problems, it runs fine like this. It's also listed out here : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html Thanx -reynir -Original Message- From: Collins, Jim [mailto:jim.collins;uk.nomura.com] Sent: 12. nóvember 2002 14:29

RE: retrieving remote web content

2002-11-09 Thread Reynir Hübner
Hi, I haven't made a servlet to do this, but I made a jsp-tag that can do this. If you don't want to move the images from one server to another (from google to yours) as a proxy would do it, then you must parse the HTML, and change all the urls for css, img, hrefs, javascripts and a lot more

RE: Does tomcat support name based virtual hosting?

2002-11-07 Thread Reynir Hübner
Yes Just add a host with the DNS name you need, in server.xml. You can also have different aliases for that host. hope it helps -reynir -Original Message- From: GreatOne [mailto:dave-;pacbell.net] Sent: 7. nóvember 2002 19:09 To: tomcat-user Subject: Does tomcat support name

RE: Sending GIF image from tomat web application to browser

2002-11-05 Thread Reynir Hübner
Well, if someone clicks a link to a image the response would be the image, according to HTTP comunication standard. Try putting a href=http://somehost.someserver.com/somepath/image.gif; click here for image /a in to your HTML. It should work. Hope it helps -reynir -Original

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Reynir Hübner
Management, Java Consulting http://www.uptime-isc.de -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: Wednesday, October 30, 2002 8:06 PM To: Tomcat Users List Subject: JDBC / ThreadLocal pattern. In (very) short: the idea here is to have one jdbc

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Reynir Hübner
this kind of functionality that doesn't entail committing a connection to it? Með bestu kveðju, Reynir Hübner -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: Tomcat standalone - traffic logs???

2002-10-30 Thread Reynir Hübner
Just have the following in the context of your webapp (in server.xml) : Valve className=org.apache.catalina.valves.AccessLogValve resolveHosts=true directory=C:/logdir/ prefix=access_log. suffix=.txt pattern=common/ Hope it helps -reynir

JDBC / ThreadLocal pattern.

2002-10-30 Thread Reynir Hübner
Hi all, This email is a little bit off topic, as it's more about JDBC-related stuff than tomcat. I'm really looking for comments on the approach for JDBC connection pooling described in the article at : http://www-106.ibm.com/developerworks/java/library/j-threads3.html In (very) short: the

What causes this kind of error...

2002-10-23 Thread Reynir Hübner
Hi, I'm using jdk 1.4.1 tomcat 4.1.12 win2000 server. If I use the command line catalina run to startup tomcat It works perfectly, but when I start tomcat as a service, I get this error and tomcat does not get started : Bootstrap: Create Catalina server java.lang.NullPointerException

jiveLastVisited

2002-10-22 Thread Reynir Hübner
What is the cookie named jiveLastVisited for ? Is this something tomcat specific ? Thanx -reynir -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: Tomcat version output

2002-10-18 Thread Reynir Hübner
When I start tomcat up on commandline I get messages like this : C:\_tomcat2\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: c:\eplica\java 17.10.2002 13:16:09 org.apache.commons.modeler.Registry loadRegistry INFO: Loading

RE: Webinterface for tomcat?

2002-10-16 Thread Reynir Hübner
Yes. In tomcat 4.1.x(current 4.1.12) is an admin application and also an manager application. -hope it helps [EMAIL PROTECTED] -Original Message- From: Kristján Rúnarsson [mailto:[EMAIL PROTECTED]] Sent: 16. október 2002 16:23 To: Tomcat Users List Subject: Webinterface for

Strange behaviour in XP (minimize to garbagecollect)

2002-10-14 Thread Reynir Hübner
Hi, I've deployed some webapps in tomcat running windows XP. The thing is, I startup tomcat with some params in a command window, it runs for a while and takes up some memory, as it should, (but still maybe a little bit too much) so I increased the memory available for the java process. When

RE: tomcat 4.1

2002-10-06 Thread Reynir Hübner
You need to insert java_home\bin into your Path system variable and try again. Hope it helps -reynir -Original Message- From: madhur jain [mailto:[EMAIL PROTECTED]] Sent: 6. október 2002 11:51 To: [EMAIL PROTECTED] Subject: tomcat 4.1 hi! well now i have the

RE: tomcat 4.1

2002-10-06 Thread Reynir Hübner
Sorry I should have asked which enviroment you are using.. Win 3.1 win9x or win2000 or XP ? -Original Message- From: Reynir Hübner Sent: 6. október 2002 11:57 To: Tomcat Users List Subject: RE: tomcat 4.1 You need to insert java_home\bin into your Path system variable

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Well, the error message might be helpful, but if you try starting it by going into command line and browse to C:\$yourtomcathome\bin And run from there \ catalina run you should see a stacktrace of why tomcat doesn't startup. It usually has something to do with bad formed server.xml Hope it

RE: Getting the name of the context

2002-10-05 Thread Reynir Hübner
You could try ServletContext sc = getServletContext(); http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/servlet/GenericServlet.html#getServletContext() And then: String contextname = sc.getServletContextName(); Hope it helps -reynir -Original Message- From:

RE: auto deploy WAR + embedded tomcat

2002-10-05 Thread Reynir Hübner
Ok how come someone is sending emails with my name on it (in the from address) ? -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002 09:23 To: [EMAIL PROTECTED] Subject: auto deploy WAR + embedded tomcat Hello Tomcat community! Quick

RE: What is InvocationTargetException?

2002-10-05 Thread Reynir Hübner
You are using the reflection mechanism, and the error is occuring where you are trying to invoke an object. Look in the TunnelServlet.java line 63 Hope it helps -reynir -Original Message- From: Ola Tuvesson [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002 09:36 To: Tomcat

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Ok go to : Start - run - cmd C:\cd jakarta tomcat C:\jakarta tomcat\ cd bin C:\jakarta tomcat\bin\ catalina run Just try it. You could also try starting the startup.bat in the same folder. -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Yes, In server.xml you have specified a WARP connector. It seems to me like you have an extra space in here : org.apache.catalina.connector. warp.WarpConnector ^ Fix it, and try again . -hope it helps Reynir -Original Message- From: Uma Maheswar

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Just open it up (tomcat/conf/server.xml) and read the instructions. -reynir -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002 11:25 To: Tomcat Users List Subject: Re: Tomcat Problem Reynir, I never changed the server.xml file. I dont

RE: Bug in 4.0.4 DefaultServlet

2002-10-01 Thread Reynir Hübner
one way of getting there is to upgrade to either 4.0.5 or 4.1.12. -reynir -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: 1. október 2002 10:55 To: 'Tomcat Users List' Subject: Bug in 4.0.4 DefaultServlet Hi I have just come back off

RE: Two nics, two ips, one Tomcat instance

2002-09-26 Thread Reynir Hübner
alias 123.xxx.xx.xx/ ... /Host Ken -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 3:51 PM To: Tomcat Users List Subject: RE: Two nics, two ips, one Tomcat instance how about, server.xml ? tomcat doesn't really

reloadable=true problems

2002-09-26 Thread Reynir Hübner
I have been upgrading our applications to Tomcat version 4.1.9 - 4.1.10. It really seems to be something wrong with the reloadable=true attribute in context specification, as it doesn't do anything. The only way for me right now to get an change into a jsp page, is to stop tomcat, delete the

RE: Tomcat 4.1.12 memory leak, still

2002-09-26 Thread Reynir Hübner
I use lowercase letters with fine results.. -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: 26. september 2002 14:23 To: Tomcat Users List Subject: RE: Tomcat 4.1.12 memory leak, still JAVA_OPTS='-Xmx=64M' I remember I saw in Sun's website that it's

RE: Automatic Client Login

2002-09-25 Thread Reynir Hübner
sometimes this may work (depending on the browser/server combination): http://username:[EMAIL PROTECTED] -Original Message- From: Frank Lawlor [mailto:[EMAIL PROTECTED]] Sent: 25. september 2002 19:47 To: 'Tomcat' Subject: Automatic Client Login My application uses Form-based

RE: Two nics, two ips, one Tomcat instance

2002-09-25 Thread Reynir Hübner
how about, server.xml ? tomcat doesn't really care about the Ip numbers it's replying to if you have virtual hosts setup. If you need it to responde to ip numbers you can use alias123.123.123.123/alias under host .. in tomcat_home/conf/server.xml hope it helps [EMAIL PROTECTED]

RE: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread Reynir Hübner
do you have the bean specified in a package ? either put it into a package (and the correct folder) as /classes/com/domain/packagename/FormBean.class and then use this (with import line), or remove the package com.domain.packagename; from the file, and it should work. hope it helps [EMAIL

RE: how to handle requests to www.domain.com (no context path) w/ISAPI redirector and IIS?

2002-09-22 Thread Reynir Hübner
hi, you will have to create a virtual host in IIS, and install the ISAPI redirector in that host to redirect to a host installed in tomcat. in other words, if you have a virtual host configured in tomcat with by the name host.domain.com you must have a virtual host with the same hostmark in

RE: Simple Bean not working but Servlet/JSP Working

2002-09-22 Thread Reynir Hübner
do you have the bean specified in a package ? either put it into a package (and the correct folder) as /classes/com/domain/packagename/FormBean.class and then use this (with import line), or remove the package com.domain.packagename; from the file, and it should work. hope it helps [EMAIL

Hosting services

2002-09-11 Thread Reynir Hübner
Hi, I'm looking for a hosting service in USA right now. What would you recomend ? The applications use : - two virtual hosts (private/public), - tomcat 4.04 ( has been tested in tomcat 4.1.10), - MySQL database (or Oracle, MSSQL, DB2 (have been tested)), - features of using web.xml

RE: Hosting services

2002-09-11 Thread Reynir Hübner
. There are cheaper colo options, but you get what you pay for. With colo, you could do whatever you wanted to the server. John -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 7:06 AM To: Tomcat Users List Subject

RE: How to execute a command line program in jsp or servlet?

2002-09-10 Thread Reynir Hübner
try doing : Runtime r = Runtime.getRuntime(); Process p = r.exec(ExecutionParam); //and if you want to wait while the process executes you can use : p.waitFor(); all of this inside a try/catch block should compile and work. hope it helps -reynir -Original Message- From:

Tomcat IIS using Windows Intergrated Authentication

2002-08-22 Thread Reynir Hübner
Hi, I have an installation of Tomcat and IIS combo, using AJP and isapi_redirect.dll. This setup works fine. Anyway, I have a virtual directory mapped in IIS under one of the hosts, that has only Windows Intergrated Authentication security, which means the user must be apart of the

RE: Tomcat Crashes

2002-08-20 Thread Reynir Hübner
The jdbc driver from microsoft is ok supporting jdbc 2.0. Microsoft licensed the driver from merant / datadirect, and is now continuing developement / distributing it for free. the jdbc-odbc bridge is not intended for production use (only testing). hope it helps -reynir -Original

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Reynir Hübner
There are some docs/sample code at the oracle website (otn) that came in quite handy when I needed it. hope it helps - [EMAIL PROTECTED] -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: 19. ágúst 2002 16:59 To: Tomcat Users List Subject: RE: OFF-TOPIC:

RE: Design question

2002-08-19 Thread Reynir Hübner
Hi, For this problem I would say it would be best to use IIS and Tomcat combo Because IIS can authenticate users by using NTLM authentication scheme. This means that users with in your domain can be automatically authenticated (by using Windows Intergrated Authenticaton in IIS).

RE: Design question

2002-08-19 Thread Reynir Hübner
to query a windows active directory, if you're using that. This would provide a way for you to deal with a users permissions within your app. I haven't done this, and don't ever want to, but I think it's doable. -Dave -Original Message- From: Reynir Hübner [mailto:[EMAIL

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Reynir Hübner
Hi, I would first like to say, your code looks ok. I dont think it matters in what order you set the parameters. Are you calling a procedure or a function, I've had some problems with functions, in my experince a function must have a OutParameter in the no. 1 param. which errors do you get ?

RE: How can i set tomcat to auto reload the servlet?

2002-08-17 Thread Reynir Hübner
just set reloadable=true on the context (in server.xml) hope it helps -reynir -Original Message- From: Aaron Chan [mailto:[EMAIL PROTECTED]] Sent: 17. ágúst 2002 10:12 To: [EMAIL PROTECTED] Subject: How can i set tomcat to auto reload the servlet? Hi, May I know how can I

RE: Windows XP

2002-08-13 Thread Reynir Hübner
we've been using all versions of tomcat since 3.2.1 with out problems on XP -Original Message- From: David Oxley [mailto:[EMAIL PROTECTED]] Sent: 13. ágúst 2002 09:57 To: 'Tomcat Users List' Subject: Windows XP I remember hearing that there was a bug with Windows XP that

RE: JBoss, Tomcat and Apache 1.3 with mod_jk.so

2002-08-13 Thread Reynir Hübner
I would use this : http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html The same docs should be ok even though u're using jboss too.. hope it helps -reynir -Original Message- From: Sigurður Bjarnason [mailto:[EMAIL PROTECTED]] Sent: 13. ágúst 2002 13:42 To: Tomcat

RE: REPOST: Authentication: Use Tomcat and Apache

2002-08-13 Thread Reynir Hübner
I think you must have two connectors (one as this one, and one with out tomcatAuthentication=false attribute, on another port). then you would have to configure the mod_jk to handle different applications or hosts in apache with correct connector (on different ports). hope it helps -reynir

RE: Redireceting HTTP - HTTPS

2002-07-17 Thread Reynir Hübner
This is strange, why are you sending requests with my name (in the from address of this email)? [EMAIL PROTECTED] -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: 17. júlí 2002 11:27 To: [EMAIL PROTECTED] Subject: Redireceting HTTP - HTTPS Hello all

RE: email to cell phone

2002-07-17 Thread Reynir Hübner
I think you should do some research on the web. how would you like to achive this tecnically ? how does tomcat come into the whole thing ? what are the entry points of your application ? where does the email originate, what is it that you are trying to achive ? do you want to send the email as

RE: how to make tomcat faster

2002-07-13 Thread Reynir Hübner
Hi, please inform us of what kind of work you are doing with tomcat, are you requesting informations from databases for every request, are you using connection pooling, are you using cache, are using jsp alot ? There may be many places you can optimize performance in your application just as

RE: how to make tomcat faster

2002-07-13 Thread Reynir Hübner
(need to check at peak time, again). Need some more pointers regarding jasper, does it coem along with tomcat, and how to set it up. (is it similar to Jikes?) -anoop -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 13, 2002 6:16 PM

RE: Error - Please Help

2002-07-12 Thread Reynir Hübner
put tools.jar from your jsdk into tomcats classpath (for example into tomcat/common/lib/ ) that should fix it -reynir -Original Message- From: Sunit Munjal [mailto:[EMAIL PROTECTED]] Sent: 12. júlí 2002 13:18 To: [EMAIL PROTECTED] Subject: Error - Please Help Hi, I just

RE: Error - Please Help

2002-07-12 Thread Reynir Hübner
. Message History From: Reynir Hübner [EMAIL PROTECTED] on 07/12/2002 01:15 PM GMT Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Reynir Hübner
hi, in a servlet, you can try : String contextpath = request.getContextPath(); or even : ServletContext sc = getServletContext(); String contextName = sc.getServletContextName(); If I understand your question correctly, this is at least one of the things you're asking about ? hope it

<    1   2   3   4   >