Re: Stop logging from isapi_redirector2.dll

2003-03-05 Thread Konrad Rusz
Hello Jay. Thanks a lot. I will give it a trial. However I did not find 'jk_util.c' in 'native2' source directory, but it is in 'native' directory only. File 'jk_logger.h' in 'native' directory has the same entries (almost) as that in 'native2' directory, e.g.: 'jk_logger.h' from 'native'

Re: Restoring (recycling?) sessions

2003-03-05 Thread Johann Uhrmann
One additional question: Is request.getSession() the only method where a session is retrieved? I am asking this because I am planning to override the getSession method in a subclass of HttpServletRequest. However, I do not want a JSP-Page to bypass this method (e.g. by using the implicit

Re: After changing web.xml

2003-03-05 Thread Kwok Peng Tuck
Use the manager app, there you can start ,stop and reload individual apps. Xiongfei Wang wrote: After changing web.xml, do I have to restart tomcat to let it take effect? if not, what is the best way to let the changes take effect? Thanks

Security Question

2003-03-05 Thread Lars Nielsen Lind
I have a server with Apache 2.0.44 and Jakarta-Tomcat 4.1.18. I am using OpenSSL 0.9.7a with Apache. Question: If the user activates a jsp page with a javabean component with access to a PostgreSQL database server (communicates with port 5432) from the secure area (https) - is it then

Re: Tomcat on WinXP

2003-03-05 Thread Kwok Peng Tuck
Denise Mangano wrote: I have my JAVA_HOME set to point to my c:\jdk1.4.1\bin and export JAVA_HOME in my PATH variable. I checked the error logs, and for some reason it is saying unable to find java compiler. You don't have to set it to 'c:\jdk1.4.1\bin' the top level directory will do. Just

RE: response.sendRedirect( .. )

2003-03-05 Thread Ralph Einfeldt
One reason is this: After a redirect the servlet that issues the redirect will continue to run unless you stop the processing with a return statement directly after the redirect. Now consider this example: Servlet A: doSomething(); include(Servlet B); doSomethingMore(); Servlet B:

SSL configuration problem,URGENT --plz reply

2003-03-05 Thread kama rao
Hi, I am trying to configure ssl for my tomcat 4.0. I changed the server.xml in conf directory and created keystore according to documentation.when i start the server,it opens and closes on itself automatically. i checked the logs and didn't found anyproblem. when i put the comments back to

Hostname/port from ServletContext

2003-03-05 Thread rf
In my Web app startup contextListener I want to initialize certain variables using the hostname and port of the server. I dont see a way to obtain these two values from ServletContext, can somebody help me? Thanks rf __ Do you Yahoo!? Yahoo! Tax

Tomcat Java Processes consuming loads of memory and file handles

2003-03-05 Thread Deon de Villiers
Hi Tomcat Users I am a newbie to Tomcat and in fact just happen to be the server administrator - don't do (or know much about) any JSP / Java stuff myself so please excuse any ignorance. Server Config: Linux Redhat 7.0 (quite heavily patched) Apache: 1.3.26 Tomcat: 4.0.4 Java: 2sdk-1.4.0 JRE:

Retrieve certificates from secure context

2003-03-05 Thread Juanjo
Hi. I've a secure Tomcat web server and I would like to retrieve the context certificates when my application connects to the server. In my servlet I've the following capture: for(Enumeration enum = request.getAttributeName(); enum.hasMoreElements() ;) System.out.println(Attribute: +

Re: Security Question

2003-03-05 Thread Tim Funk
Here are the channels of communication. For a typical web page there are 3 socket connections that can be concurrently open. A: Web Browser -- Apache B: Apache -- Tomcat C: Tomcat -- Database Now onto the security ... A: If ssl then secure B: If ssl, then secure. If not ssl, then someone between

RE: Security Question

2003-03-05 Thread mech
Only the communication between browser and apache server is ssl encrypted. Both the communications between apache and tomcat and tomcat and database are not. At least not without further action. So make sure that your server does not open the ajp13 connector (mod_jk or whatever) port and db

Re: Hostname/port from ServletContext

2003-03-05 Thread Tim Funk
You can't. That is because the context runs in some type of service which will present you with the requests. So only at request time can you know the hostname and port number of the server. For example: I have a web server which listens on ports 8080-8090 inclusive. That means that anyone

FW: help

2003-03-05 Thread mona asfour
{\rtf1\fbidis\ansi\ansicpg1256\deff0\deflang1025{\fonttbl{\f0\fswiss\fcharset0 Arial;}{\f1\fswiss\fprq2\fcharset0 Arial;}{\f2\fswiss\fcharset178{\*\fname Arial;}Arial (Arabic);}} {\colortbl ;\red0\green0\blue255;} \viewkind4\uc1\pard\ltrpar\cf1\lang1033\f0\fs20\par \par \cf0\protect\f1\fs16

Why tomcat shutdown?

2003-03-05 Thread Khanidtha Sapprecha
I'm programmer. I use JasperReports on jsp. when JasperReports occur any Exception. tomcat will shutdown. i'd to know why tomcat shutdown and how to fix it. dori.jasper.engine.JRException: Could not load font from location : CORDIAU.TIF at

WC_OPEN

2003-03-05 Thread Larry Hytail
What does wc_open do? I have three systems all set up as copies of each other for redundant backup. They run Apache and Tomcat. Two systems work 100%. One fails to work when I start apache with the ajp13 connectors enabled. I put DEBUG on the JkLogLevel directive and ran both the broken and

Urgent help on tomcat.

2003-03-05 Thread Aaron Chu
Hi, I need urgent help to sort out a problem with running jsp in Tomcat. I have a JSP page that has scriplets in it, and in particular, I have added a line of scriplet to call a shell script: % Process p; String u = submitid.getUrl(); p =

Symlink Problem after setting resources tag allowLinking=true

2003-03-05 Thread Don Ross
After looking through the mail archives and following the examples of enabling symbolic links, I am still unable to get it to work. Added following context to default server.xml following the definition of examples context. Context path=/served docBase=served debug=0 reloadable=true

RE: Tomcat Java Processes consuming loads of memory and file handles

2003-03-05 Thread Shapira, Yoav
Howdy, I'd suggest searching the list archives, as linux memory and other resource reporting (using top, vmstat, etc) are not accurate with respect to java threading. Or rather, they are accurate but counter-intuitive to interpret. This issue has been covered numerous times (I've explained it

RE: Which version of Xerces 2 is in Tomcat 4.1.18?

2003-03-05 Thread Shapira, Yoav
Howdy, Look for the date of files inside the Xerces implementation jar (jar tvf xercesImpl.jar). It's certainly not 2.3.0, which is the latest Xerces, and also the xerces used in the current beta tomcat (4.1.21) and next stable (4.1.22 hopefully0 tomcat. I also don't think it's 2.2.1, nor

Tomcat Class loader problems?

2003-03-05 Thread White, Joshua A (CASD, IT)
When deploying my app as a war, I receive an javax.servlet.ServletException with the message Truncated class file or Extra bytes at the end of the class file for one of my classes. If I unzip the war file and deploy it in the webapps directory, all is fine. Any suggestions? I am using Tomcat

RE: SSL configuration problem,URGENT --plz reply

2003-03-05 Thread pero
Hi, erm, what about sending your server.xml-file to the list? This way we could perhaps determine what's going on. Peter -Original Message- From: kama rao [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: SSL configuration

Tomcat class loader problems?

2003-03-05 Thread White, Joshua A (CASD, IT)
When deploying my app as a war, I receive an javax.servlet.ServletException with the message Truncated class file or Extra bytes at the end of the class file for one of my classes. If I unzip the war file and deploy it in the webapps directory, all is fine. Any suggestions? I am using Tomcat

Disable mod_jk for virtualhosts

2003-03-05 Thread Adam Denenberg
Is this possible? I know that JkWorkers and JkLog stuff needs to be set globally. But even the virtualhosts that I donĀ¹t have any JkMount statements in , I still see in the debug log, mod_jk trying to match for those. Seems like a lot of extra work for no reason. Anyone know the deal with

RE: Tomcat class loader problems?

2003-03-05 Thread White, Joshua A (CASD, IT)
Hmm, If I drop the war into the webapps directory all is fine as well. The problem only seems to happen after using the custom Tomcat install/deploy tasks. Anyone have similar problems? After deploying using the install/deploy ant tasks, the application runs fine with the exception of this one

tomcat tar.gz package

2003-03-05 Thread Duma Rolando
I have a question about the correct way to extract the tar.gz tomcat archive.If I do it as root all works but I don't think this is correct for security reasons.If I do it as a normal user I saw some errors about preserving file permissions.I would like to start/run the engine in the most secure

Tomcat ignores the error-page configuration

2003-03-05 Thread Armand Larregoity
Hello, I'm using Tomcat 4.1.12. I'm trying to configure an error-page in the web.xml file : web-app ... error-page exception-typejava.lang.Throwable/exception-type location /jsp/error.jsp /location /error-page ... /web-app but when an exception occurs,

Re: Stop logging from isapi_redirector2.dll

2003-03-05 Thread Konrad Rusz
Hi Jay. I think I have not the problem, because It was no problem with 'isapi_redirector2.dll' but with my 'workers2.properties' file. In order to it works properly we need edit that file very carefully. Our entry logLevel in Windows registry is no matter, we can even delete it. The most

RE: SSL configuration problem,URGENT --plz reply

2003-03-05 Thread Raja Sekhar
Hi Kama rao, Dont start the server automatically from startup.bat. Instead goto the command prompt and start the server by giving this command catalina run. This command executes the server in same window so you would be able to see the error message. I feel that you missed out having the JSSE

Re: response.sendRedirect( .. )

2003-03-05 Thread Geoff Coffey
After a redirect the servlet that issues the redirect will continue to run unless you stop the processing with a return statement directly after the redirect. Now consider this example: [...] This will stop Servlet B from processing doMoreOtherThings() after the redirect, but Servlet A will

Re: response.sendRedirect( .. )

2003-03-05 Thread Tim Funk
Section 4.4 of the Jsp spec: An included page only has access to the JspWriter object and it cannot set headers. This precludes invoking methods like setCookie(). Attempts to invoke these methods will be ignored. The constraint is equivalent to the one imposed on the include() method of the

RE: Server denies access to resource (mysql JDBC)

2003-03-05 Thread Kal Govindu
First of all it looks like you an extra parameter tag in your xml. As long as the mysql deamon is running on your local machine the hostname looks correct. -Original Message- From: Adam Denenberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 5:26 PM To: Tomcat Users List

strange problem with starting up servlets on tomcat

2003-03-05 Thread matt dilley
Hi guys, I have a strange problem that only seems to happen with tomcat v.4.1.12, and due to the strange behaviour of this, I can't quite describe the full clues to the reasons behind it - can anyone tell me if you are also experiencing the same or similar problems? Description: I have a

Re: response.sendRedirect( .. )

2003-03-05 Thread Geoff Coffey
On Wednesday, March 5, 2003, at 08:32 AM, Tim Funk wrote: I paraphrase as its nice to present some body content in your page since browsers/agents do have the option of displaying/parsing the body for some context before following the redirect. I stand corrected on that point, although I've

RE: DataSource resource in GlobalNamingResources

2003-03-05 Thread apachep2
It is just a scope thing. -Original Message- From: Jon Archer [mailto:[EMAIL PROTECTED] Sent: March 4, 2003 6:49 PM To: [EMAIL PROTECTED] Subject: DataSource resource in GlobalNamingResources I see a lot of to and fro over setting up database connection pooling as a JNDI resource. I

IIS, mod_jk2, NIMDA, warnings, weird messages

2003-03-05 Thread Kundrot, Steven
I'm receiving some interesting warning messages from the mod_jk2 connector and from IIS in general. In my IIS Log: 2003-03-04 09:14:08 xxx.xxx.xxx.xxx - xxx.xxx.xxx.xxx 80 HEAD /_vti_cnf/..%5c..%5c..%5c..%5c..%5c..%5cwinnt/system32/cmd.exe /c+dir+c:\ 403 - 2003-03-04 09:14:10 xxx.xxx.xxx.xxx -

Re: response.sendRedirect( .. )

2003-03-05 Thread Erik Price
Geoff Coffey wrote: On Wednesday, March 5, 2003, at 08:32 AM, Tim Funk wrote: I paraphrase as its nice to present some body content in your page since browsers/agents do have the option of displaying/parsing the body for some context before following the redirect. I stand corrected on that

Re: response.sendRedirect( .. )

2003-03-05 Thread Erik Price
Geoff Coffey wrote: It seems like we need our authentication check and redirect (or forward) on the content page itself and not in an include, so Muffi created a taglib to encapsulate this check and that seems to be working. Is this a typical solution? It seems like a frustrating restriction

RE: log listener

2003-03-05 Thread Vano Beridze
I've created a custom logger, inherited from FileLogger (I had to upgrade to 4.1.12 because in 4.0.6 FileLogger is final) I put a jar file with my logger in $TOMCAT_HOME/server/lib dir and modified $TOMCAT_HOME/server/lib/catalina.jar/org/apache/catalina/mbeans/mbeans-descriptors.xml and

Virtual hosts with mod_jk2 to different JVM

2003-03-05 Thread Johann Uhrmann
Hi, is it possible to configure mod_jk2 to pass the requests to different installations of tomcat depending on the host name used in the request? Please note that this is not the virutal host feature from tomcat as Apache (or mod_jk2) has to decide where to pass the request to. Thank You, Hans

RE: response.sendRedirect( .. )

2003-03-05 Thread Mike Jackson
I have 3 machines that I support with broken browsers that don't follow redirects immediately. In fact if the page includes any content, any at all, the ignore the redirect. I'm not 100% sure, but I even thing they ignore meta tag redirects. --mikej -=- mike jackson [EMAIL PROTECTED]

[ANNOUNCEMENT] Liferay Enterprise Portal 1.8 RC3 released

2003-03-05 Thread Mete Kural
Hello Everyone, Liferay Enterprise Portal 1.8 Release Candidate 3 has been released. A new feature in this release is an RSS portlet. You can download Liferay bundled and pre-configured with JBoss/Tomcat, JBoss/Jetty or Orion. Or if you wish you can download the .EAR enterprise archive file and

SSLVerifyClient breaks application

2003-03-05 Thread Aaron Stromas
Hi, I am seeking advice resoving this problem. We use Apache 1.3 with Tomcat 4.0 and mod_ssl 0.9.6. When the servlet mounts are configured with the SSLVerifyClient directive set to none all works fine, but when the directive value is set to require it returns 404 Not found HTML page. Has anyone

Re: response.sendRedirect( .. )

2003-03-05 Thread Geoff Coffey
On Wednesday, March 5, 2003, at 09:41 AM, Mike Jackson wrote: I have 3 machines that I support with broken browsers that don't follow redirects immediately. In fact if the page includes any content, any at all, the ignore the redirect. I'm not 100% sure, but I even thing they ignore meta tag

Re: Tomcat ignores the error-page configuration

2003-03-05 Thread Daniel Williams
I have the some problem, but I'm trying to handle 404 and 500 errors. error-page error-code404/error-code location/error/tomcat404.jsp/location /error-page error-page error-code500/error-code

Re: Hostname/port from ServletContext

2003-03-05 Thread rf
--- Tim Funk [EMAIL PROTECTED] wrote: You can't. That is because the context runs in some type of service which will present you with the requests. So only at request time can you know the hostname and port number of the server. Thanks for the info. I understand - the context is at a

RE: Hostname/port from ServletContext

2003-03-05 Thread Shapira, Yoav
Howdy, Put the information in a configuration file your clients read when they start up. Yoav Shapira Millennium ChemInformatics -Original Message- From: rf [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:06 PM To: Tomcat Users List Subject: Re: Hostname/port from

Re: Hostname/port from ServletContext

2003-03-05 Thread Tim Funk
The HttpServletRequest object contains that information, and it provides it to you on every request. -Tim rf wrote: I have some funcionality available on my server that is supposed to be used by clients over network(http). Now to demonstrate this I have some sample clients within my server, how

Re: Hostname/port from ServletContext

2003-03-05 Thread Tomcat-RND
Hi, Sample clients means they are browsers again, used to access the application, Whether Client and your application both will be in one application or both are different, If I was wrong, please ignore, Regards, Pratt. - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat

Re: DataSource resource in GlobalNamingResources

2003-03-05 Thread Jon Archer
On Tue, 2003-03-04 at 19:50, Jacob Kjome wrote: Look in server.xml in recent tomcat-4.1.x versions ( I have 4.1.19 here). There is an entry in GlobalNamingResources called UserDatabase There's your example. Jake Fabulous, thanks Jake. That worked a treat :-)

java.lang.NoClassDefFoundError

2003-03-05 Thread Jeremy Whitlock
Tomcat List, This might not be a Tomcat problem but I imagine that you might be able to help anyways. Every time I start Tomcat, I get this error: StandardContext[/openejb_loader-0.9.1]: Servlet /openejb_loader-0.9.1 threw load() exception javax.servlet.ServletException:

AliasMatch: HowTo remove ~ in URL

2003-03-05 Thread Manu Kits
Hello Everyone: I am using Apache 1.3 on UNIX. I have User named HARI on UNIX System. My UserDir is public_html I can access www.hostname.com/~hari/index.html - which I think it accesses /home/hari/public_html/index.html page. BUT how do I access www.hostname.com/hari/index.html such that it

RE: Stop logging from isapi_redirector2.dll

2003-03-05 Thread Jay Lee
Great. glad to know that you have solved this. It used to be Tomcat 3.x that the infomation of debug was on workers.properties. jay -Original Message- From: Konrad Rusz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 6:58 AM To: Tomcat Users List Subject: Re: Stop logging from

Correction: SSLVerifyClient breaks application

2003-03-05 Thread Aaron Stromas
Aaron Stromas said: Hi, I am seeking advice resoving this problem. We use Apache 1.3 with Tomcat 4.0 and mod_ssl 0.9.6. When the servlet mounts are configured with the SSLVerifyClient directive set to none all works fine, but when the directive value is set to require it returns 404 Not

Re: java.lang.NoClassDefFoundError

2003-03-05 Thread Jon Wingfield
Looks like you've using OpenEJB ;) The OpenEJB distro comes with a war file, which looks like it's been expanded to a context by your tomcat install. However, the war file doesn't contain the required OpenEJB jar files (which probably need to be put in common/lib or server/lib). The class file

bug in tomcat 4.1.18 catalina.sh on solaris 8?

2003-03-05 Thread jo outen
After much pain found out that the tomcat deamon will die when the parent shell is using sh. In bried user tomcat has /bin/sh for a login shell and executes catalina.sh or startup.sh from shell prompt . The j2se daemon runs fine and is owned by parent process 1 until the tomcat user logs out and

Does anybody know what this error implies ?

2003-03-05 Thread Mufaddal Khumri
Hi I have a tag handler class called Context ... what does the following error mean ? cannot access member of class XYZ with modifiers ? org.apache.jasper.JasperException: Class org.apache.jasper.runtime.TagHandlerPool can not access a member of class

Tomcat/JCE provider may not be installed. Algorithm DES not available

2003-03-05 Thread chengteh
I started a chemistry visualization and high performance computing project, http://molstart.sourceforge.net/ and I would like to implement Kerberos logon capability in the program. I installed Kerberos from MIT and try Kerberos login. It works well from stand alone Java application with my own

Does anybody know what this error implies ?

2003-03-05 Thread Mufaddal Khumri
Hi I have a tag handler class called Context ... what does the following error mean ? cannot access member of class XYZ with modifiers ? org.apache.jasper.JasperException: Class org.apache.jasper.runtime.TagHandlerPool can not access a member of class

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread David Blevins
This reply is for the archives. Jeremy did finally get it running -- he simply forgot to uncomment the openejb.home init-param after setting it. The full install process In Linux, it is literally just three steps: 1. Copy the openejb_loader-0.9.1.war into the

RE: Does anybody know what this error implies ?

2003-03-05 Thread Filip Hanik
could be that your bean has a non public method that you are trying to call using a TAG like jsp:setProperty Filip -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 11:37 PM To: Tomcat List Subject: Does anybody know what this error implies

How to determine Tomcat version

2003-03-05 Thread Joe Weeden
Hi, Is there a way to programmatically identify which version of Tomcat you have installed? I originally just checked the header in the RELEASE-NOTES file, but this file does not exist in all Tomcat versions. Thanks, Joe

Re: Does anybody know what this error implies ?

2003-03-05 Thread Mufaddal Khumri
Yes, after sending the question out ... i found out that having a non public constructor causes that problem. Thanks. On Thursday, March 6, 2003, at 01:39 AM, Filip Hanik wrote: could be that your bean has a non public method that you are trying to call using a TAG like jsp:setProperty

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
Filip, I didn't register my servlet in web.xml because I didn't know I had to. I have this same setup on my Windows 2000 machine and I didn't have a web.xml file for that EJB. Also, your first statement, can you give me an example of how you do that? Thanks, Jeremy -Original

Re: How to determine Tomcat version

2003-03-05 Thread Steven Shand
Hi, a call to getServerInfo() on the ServletContext should provide you with what you want.. Steven Shand On Wednesday, March 5, 2003, at 08:30 pm, Joe Weeden wrote: Hi, Is there a way to programmatically identify which version of Tomcat you have installed? I originally just checked the

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Filip Hanik
1. If you have the invoker servlet, you can access it that way, but you need the full classname look in the docs for the invoker servlet, it is a shortcut in Tomcat so you don't have to register your servlets in web.xml. Or search the archives for the invoker servlet.

RE: Tomcat on WinXP (Solved??)

2003-03-05 Thread Denise Mangano
Ok, well here's a strange thing (to me at least)... I uninstalled Tomcat, and removed CATALINA_HOME JAVA_HOME environment variables. I also removed anything I added to the path, such as %JAVA_HOME%\bin. I then reinstalled Tomcat using the Executable. After the installation the service is

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
Filip, Which web.xml? There is one in the $CATALINA_HOME/conf directory and I can also put one in the WEB-INF directory of the app. I'm new to OpenEJB. I have configured it many times but with my current schedule, I haven't had time to play with EJBs for awhile. Thanks for your help,

Re: SSL configuration problem,URGENT --plz reply

2003-03-05 Thread stev sutherland
Hi I haven't worked with tomcat 4.0 but I have worked with 3.2.3 and I discovered there are more steps. For example. -- recompiling webserver.jar for SSL support. -- downloading and including the JSSE package in the tomcat path and the java/lib/extension -- 4. ADD THE SECURITY PROVIDER TO THE

Tomcat 4.1.18: 500+ Servlets locks up on Solaris under load

2003-03-05 Thread Dov Rosenberg
I have a Solaris server running Tomcat 4.1.18 and Java 1.3.0 with a single CPU and 2GIG RAM. The application has 500+ servlets that were originally developed under JDK 1.17b to run under the old Java Web Server on Windows NT4. The old system seems to handle the load much better than the new

Re: Tomcat on WinXP (Solved??)

2003-03-05 Thread Henry Tang
mine worked without the environments you mentioned, but i would put it in because i had to do it to get my mod_jk2 to work.. Not sure why either and i think that was what caused my mod_jk2 not working.. will investigate later. - Original Message - From: Denise Mangano [EMAIL PROTECTED]

RE: Tomcat on WinXP (Solved??)

2003-03-05 Thread Tam, Michael
This is my wild guess: If you use the exe format to install tomcat, there maybe a chance some of these information has been written in the registry. Michael -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:56 PM To: 'Tomcat Users List'

RE: Tomcat 4.1.18: 500+ Servlets locks up on Solaris under load

2003-03-05 Thread Shapira, Yoav
Howdy, Given once a servlet loads that retrieves a bunch of data, the CPU processing starts to increase until it pegs at 99% (according to TOP). All users then stop responding. The only way to recover is to terminate the process and restart Tomcat. The garbage collection indicates when the app

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
David, I have deployed the myHelloEjb.jar and it's in the /usr/local/openejb/openejb-0.9.1/bean directory. I haven't copied it or moved it. In my Windows install, I had to do some weird things for my EJB to work with OpenEJB. I had to move the META-INF, org and myHelloEjb.jar files from

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
Filip, I'm sorry man but I'm lost on your advice. Please give me the dummy terms to explain this. I am new to this. Thanks, Jeremy -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 1:48 PM To: Tomcat Users List Subject: RE:

Re: Tomcat 4.1.18: 500+ Servlets locks up on Solaris under load

2003-03-05 Thread Dov Rosenberg
I'm not sure if Tomcat is totally to blame, I'm sure when I figure out the problem it will point to our code. The reason I suspect Tomcat at this point is when the app is not under load (i.e. using Jmeter to simulate 10-20 user concurrent load) the app seems OK. the response times are

RE: Tomcat 4.1.18: 500+ Servlets locks up on Solaris under load

2003-03-05 Thread Shapira, Yoav
Howdy, I would suggest profiling just your application, if possible, without a web server at all. Alternatively, run the web server with a profiler (OptimizeIt, JProbe, etc.) and try to allocate memory leaks. The profiler will show tomcat classes as well, so you can try to look for memory leaks

Tomcat w/ Apache integration question

2003-03-05 Thread Matt Fury
Hi all! I am a bit confused and forgive me if I am not seeing things straight. When I integrate Apache with Tomcat and have workers forward JSP pages, does this mean all JSP will be served by Tomcat INCLUDING the HTML in the page? Or will the images, and html layout be served by Apache and

Re: Tomcat 4.1.18: 500+ Servlets locks up on Solaris under load

2003-03-05 Thread Dov Rosenberg
We have profiled the app using JProbe and a couple of other tools. Nearly all of the servlets are very simple. They open a connection (from a pool), execute a query, cycle thru the result set, and then close everything (result sets, statements, connection, etc). The profiler does not show any

Re: How to determine Tomcat version

2003-03-05 Thread Peter Choe
check the manager app. http://tomcatserver/manager/html At 03:30 PM 3/5/2003, you wrote: Hi, Is there a way to programmatically identify which version of Tomcat you have installed? I originally just checked the header in the RELEASE-NOTES file, but this file does not exist in all Tomcat

RE: Tomcat 4.1.18: 500+ Servlets locks up on Solaris under load

2003-03-05 Thread Shapira, Yoav
Howdy, Going back to your original message, it seems that things get out of hand when a server retrieves a large result set. Can you test the case when you have only a few users, but they ask for large amounts of information? Maybe something in the result set processing code is a hog.. Yoav

remember password HOW-TO?

2003-03-05 Thread David Reed
Hi, I am a relative newbie to servlet programming and I'm not really sure how to best solve a problem I am having. I am trying to implement a save my password feature on my web site. I am using Tomcat 4.1.18. I am using form-based authentication and I am using the Tomcat provided userdatabase

Re: remember password HOW-TO?

2003-03-05 Thread Will Hartung
From: David Reed [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 1:46 PM Subject: remember password HOW-TO? I am a relative newbie to servlet programming and I'm not really sure how to best solve a problem I am having. I am trying to implement a save my password feature on my web site.

Re: remember password HOW-TO?

2003-03-05 Thread David Reed
Thanks Will, So what are my alternatives to container based authentication? --- Will Hartung [EMAIL PROTECTED] wrote: From: David Reed [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 1:46 PM Subject: remember password HOW-TO? I am a relative newbie to servlet programming and I'm

RE: remember password HOW-TO?

2003-03-05 Thread Mike Jackson
You can write your own security. It's really not that hard, you setup a servlet or something that intercepts all page requests and validates the user. If they don't have permission, or aren't logged in you display a login screen. If they are you give them access. If you want persistant logins,

RE: remember password HOW-TO?

2003-03-05 Thread Raible, Matt
I've been able to implement Remember Me functionality using form-based authentication and cookies on Tomcat 4.1.18. http://www.mail-archive.com/[EMAIL PROTECTED]/msg86636.html An example app (requires Ant 1.5.1 to build and J2EE_HOME to be set) is available at:

Trying to Install JAVA 4.1 to run Webgate Anywhere

2003-03-05 Thread LarryF
first time user and I can't seem to get a runtime of Java 4.1 to run. on start up I get the following message inside the black box: The JAVA_HOME environment variable is not defined correctly The path I have set for JAVA_HOME is: C:\Program Files\Java\j2re1.4.1_01 In addition I get an error

Re: remember password HOW-TO?

2003-03-05 Thread Will Hartung
From: David Reed [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 2:10 PM Subject: Re: remember password HOW-TO? Thanks Will, So what are my alternatives to container based authentication? Common wisdom today would be to use Filters, as they're pretty much ideal for this depending on how

RE: Trying to Install JAVA 4.1 to run Webgate Anywhere

2003-03-05 Thread Mike Jackson
You're running a version of the jre it looks like, you need the jdk. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 2:52 PM To: [EMAIL PROTECTED] Subject: Trying to Install JAVA 4.1

Re: remember password HOW-TO?

2003-03-05 Thread Will Hartung
From: Raible, Matt [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 2:36 PM Subject: RE: remember password HOW-TO? I've been able to implement Remember Me functionality using form-based authentication and cookies on Tomcat 4.1.18. http://www.mail-archive.com/[EMAIL

Re: Tomcat Scalability

2003-03-05 Thread Steven J. Owens
On Mon, Mar 03, 2003 at 11:32:07PM -0600, Haytham Samad wrote: I have searched in the mail archive and did not find a comprehansive answer to the settings one needs to look for to make sure Tomcat scales with an increasing number of users. You'll probably get more milage out of

RE: Trying to Install JAVA 4.1 to run Webgate Anywhere

2003-03-05 Thread LarryF
I am running what they sent me to run their product and can only assume it is appropriate. What is jre? jdk? Larry Fisher KnowledgeArc, in Tucson http://www.KnowledgeArc.com [EMAIL PROTECTED] Phone: 520 747 0664 Cell: 520 241 7355 Mike Jackson [EMAIL PROTECTED] 03/05/2003 03:56 PM

RE: Trying to Install JAVA 4.1 to run Webgate Anywhere

2003-03-05 Thread Filip Hanik
JRE-Java Runtime Environment JDK-Java Development Kit http://java.sun.com Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:22 PM To: Tomcat Users List Subject: RE: Trying to Install JAVA 4.1 to run Webgate Anywhere I am

Re: remember password HOW-TO?

2003-03-05 Thread David Reed
Thanks Will, I'm beginning to understand I think. If I were to subclass the org.apache.catalina.authenticator.FormAuthenticator class where would I declare that class? Would it be somewhere in the web.xml or somewhere in the server.xml or somewhere else? --- Will Hartung [EMAIL PROTECTED]

Still a problem with tomcat-apache integration

2003-03-05 Thread Simone Chiaretta
Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references

Re: remember password HOW-TO?

2003-03-05 Thread Dan Tran
http://securityfilter.sourceforge.net/ - Original Message - From: David Reed [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 2:10 PM Subject: Re: remember password HOW-TO? Thanks Will, So what are my alternatives to container based

RE: Still a problem with tomcat-apache integration

2003-03-05 Thread Filip Hanik
1) when I access the site from another client I get apache error 404 saying that /examples does not exist your servername in httpd.conf is not configured properly 2) but when I access the site from the localhost with lynx I got the right see, what did I tell you :) when I try to access a jsp

RE: Still a problem with tomcat-apache integration

2003-03-05 Thread Mike Jackson
Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=-

Unable to Compile JSP with Tomcat 4.1.21 JDK 1.4.1_01

2003-03-05 Thread Imran Balkhi
Hi, I am getting the following error when I try to access JSP pages. here is the error message: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated

Apache/Tom-SymLink NOT working

2003-03-05 Thread Manu Kits
Here is the snippet of my HTTPD.CONF file: - DocumentRoot /usr/local/apache/htdocs Directory / Options +FollowSymLinks +Indexes AllowOverride None /Directory Directory /home/hari Options +FollowSymLinks

  1   2   >