RE: Server caching servlet response problem.

2003-10-18 Thread JStanczak
Well, I set the debug to 99 and didn't get any error messages. I don't see how a bad mapping could cause this. There's nothing in the servlet that's caching. The only cache I have is the database connection. I am using Velocity, but I wouldn't think that would cause this. Here's my mappings:

RE: Server caching servlet response problem.

2003-10-17 Thread JStanczak
That's what I thought. You say that, but I don't see any errors. For example, I have a servlet that's accessed by using /Myapp/servlet/MyServlet. This works and shows the updated version every time. As soon as the change is made you can refresh the browser and the changes show up. But I also

RE: Server caching servlet response problem.

2003-10-17 Thread JStanczak
I only catch the exceptions that can be corrected. All others with be thrown to the container. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Wade Chandler [EMAIL PROTECTED] 10/17/2003 02:17 PM Please respond to Tomcat Users List

RE: Server caching servlet response problem.

2003-10-17 Thread JStanczak
Ok, I'll do that. It's definitely possible that I've messed that up. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Shapira, Yoav [EMAIL PROTECTED] 10/17/2003 02:12 PM Please respond to Tomcat Users List To: Tomcat

RE: Java/JSP/Servlet Programmer

2003-10-17 Thread JStanczak
I agree. I'm getting funds to hire a new person and I dread it. I've screened a lot of people on the last time I hired someone an still got a lemon. Lot's of people talk to talk, but can't even walk yet. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes

Re: Java/JSP/Servlet Programmer

2003-10-17 Thread JStanczak
I agree. I worked for a place that listed C++ in all there job listings, but there was not one line of C in the whole company. I asked who was programming C, but they didn't know what I was talking about. LOL Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes

RE: Java/JSP/Servlet Programmer

2003-10-17 Thread JStanczak
I would have taken a person that would of at least tried to learn programming for more then six months before giving up. To many people jump into programming and don't realize it's still work. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University

RE: Tomcat 5 failing on my Solaris 9 box, help!!! Never mind, my bad.

2003-10-16 Thread JStanczak
My mistake. I guess my cable is not working right. My work network works just fine. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Shapira, Yoav [EMAIL PROTECTED] 10/14/2003 08:22 AM Please respond to Tomcat Users List

Server caching servlet response problem.

2003-10-16 Thread JStanczak
I'm running a Tomcat 5 on Solaris 9. For some reason the server keeps caching my responses. What happens is the first time I access my servlet using a certain mapping the server caches that response and never updates again. I have two instances of this. One is with a mapping to a servlet using

Tomcat 5 failing on my Solaris 9 box, help!!!

2003-10-13 Thread JStanczak
I'm having a strange problem. I'm running Tomcat 5 on my Solaris 9. It ran ok for about a day and now it's acting up. I have images in file form that now show up on the page as broken, but the images are there. It's like Tomcat just won't send them. I have a servlet that sends images and it

RE: Help root context problem!!!

2003-10-12 Thread JStanczak
Yes, I did this. But the problem looks to me like the server is caching the page and not the client. Because, when you access the servlet directly it refreshes the content just fine, but when you access it through the jsp page that forwards the request it never changes after the first request.

RE: Help root context problem!!!

2003-10-10 Thread JStanczak
Well, I got it to work, but I don't care for it. I'd like to know what's wrong if someone knows. Here's the jsp below: % java.net.URL url = new java.net.URL(request.getRequestURL().append(/PageWorks/servlet/PageMill).toString()); java.net.URLConnection connect = url.openConnection();

Help root context problem!!!

2003-10-09 Thread JStanczak
I'm having caching problems with Tomcat. Here's what I'm trying to do. I have an app under the mapping of /PageWorks. In the context I have a index.jsp that does a jsp:forward to a servlet that handles the request. So to access the app you have to type http://myserver/PageWorks and it works.

RE: Help root context problem!!!

2003-10-09 Thread JStanczak
Here is it. !-- Tomcat Root Context -- Context path= docBase=PageWorks debug=0 / Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Shapira, Yoav [EMAIL PROTECTED] 10/09/2003 03:04 PM Please respond to Tomcat Users List

RE: Help root context problem!!!

2003-10-09 Thread JStanczak
No, but what will that do for me? Would I have to do that every time? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Lee, PaulNYC [EMAIL PROTECTED] 10/09/2003 03:20 PM Please respond to Tomcat Users List

RE: Help root context problem!!!

2003-10-09 Thread JStanczak
Oh, no that's not it. It does recompile the code just fine. If you for example call http://myserver/a-path/index.jsp it works fine. Then index.jsp will forward to http://myserver/a-path/servlet/MyServlet and that works just fine. Both path will reflect any changes of the dynamic content from

RE: Help root context problem!!!

2003-10-09 Thread JStanczak
That's ok. Yep, something else. Here's what's in my jsp page: jsp:forward page=/servlet/PageMill / It just forwards to the servlet. It's strange, if you use the full path to either one you get the updated information from the database. But if you access using that context I set in the

RE: Help root context problem!!!

2003-10-09 Thread JStanczak
Oh, yep just Tomcat no web server. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Lee, PaulNYC [EMAIL PROTECTED] 10/09/2003 04:22 PM Please respond to Tomcat Users List To: 'Tomcat Users List'

Re: Start Tomcat on boot

2003-10-09 Thread JStanczak
Will this help. #!/bin/sh JAVA_HOME=/usr/j2se CATALINA_OPTS=-Xms512m -Xmx2000m -Xss8192k export JAVA_HOME CATALINA_OPTS TOMCAT_BIN=/opt/jakarta-tomcat-5.0.12/bin case $1 in start) echo Starting Tomcat Server... $TOMCAT_BIN/startup.sh ;;

RE: Help root context problem!!!

2003-10-09 Thread JStanczak
I just changed the jsp page to a program and removed the jsp:forward and it works. I set a single parameter that can be supplied and that will make it print a different set of numbers. When I do that it changes just fine. So my question is, why will the forward not work? Thank You, Justin A.

Servlet mappings?

2003-09-03 Thread JStanczak
I have a web app with multiple servlets. I would like one of those servlets to handle all requests to http://mywebserver/. Basically I want it to do the same thing as the welcome-file in the web.xml. How can I do this? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center

RE: Servlet mappings?

2003-09-03 Thread JStanczak
Seems strange that there wouldn't be the option to do this. Is there any way to write your own default servlet? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Mike Cherichetti \(Renegade Internet\) [EMAIL PROTECTED] 09/03/2003

Re: How do I set a default servlet?

2003-01-10 Thread JStanczak
Is that the only bad thing about it. The reason I'm asking is because the servlet that I'm wanting to map is the one that generates all the web pages. So if someone goes to http://www.myserver.com I want that to call this servlet that will generate a default web page. Namely the front page to our

How do I set a default servlet?

2003-01-09 Thread JStanczak
I would like to setup my servlet server to point anyone that accesses the default url to be sent to a certain servlet. For example if someone typed http://localhost/ then it would take them right to http://localhost/servlet/myservlet . I'm guessing this is done through the web.xml in the conf

Page Statistics for Tomcat?

2002-11-25 Thread JStanczak
Hi, I was wondering if someone could advise me on a good tool to show statistics for Tomcat. Something like webalizer. I'm going to look into webalizer, but I wanted to see if anyone had something better. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes

Tomcat or JBoss?

2002-11-25 Thread JStanczak
I'm sure you get this question all the time, but this is not that type of question. I've been using Tomcat for a while, like a year, in a production environment. I think it's been doing fine so far. I've just got a new server to replace my current application server that's been running Tomcat. I

RE: Tomcat or JBoss?

2002-11-25 Thread JStanczak
Yes, I say that. It even has a graphic with Tomcat in it. I assumed they used Tomcat, but I didn't know if there was more to it or if they just used it straight out of the box. I have no need for EJB support. Well I guess I'll just stick with Tomcat. Thanks for the info everyone!!! Thank You,

RE: Page Statistics for Tomcat?

2002-11-25 Thread JStanczak
What log format do you use for awstats? #4? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 |-+ | | Reynir Hübner| | | reynir@hugsmidja| | |

RE: Why does Tomcat not set HTTP_Referer?

2002-11-07 Thread JStanczak
Yes, your correct. It does set it. But if you have a popup window then it will not be set. Thanks for the info. I just thought it was the whole header thing because I've never had to mess with this before. I've used the refer system for servlets for login stuff, but never really looked at that

Why does Tomcat not set HTTP_Referer?

2002-11-05 Thread JStanczak
I'm trying to setup some links that jump to another site. That other site checks the header for the HTTP_Referer environment variable. When I jump from my servlet in Tomcat to this other site this variable is empty. Why does Tomcat not set this variable? Am I just doing something wrong? Help.

RE: How do I increase performance on Tomcat?

2002-10-31 Thread JStanczak
I am getting a cycle like pattern. I have 256M allocated for the VM. It shows the VM using about 115M to run Tomcat. I increased the memory using -Xmxn and also used -server. I had to increase the memory because Tomcat was running out and crashing. I didn't know to much memory would cause a

RE: How do I increase performance on Tomcat?

2002-10-31 Thread JStanczak
Now that I think about it, this couldn't be the problem. Wouldn't the CPU be running at almost 100% if this was an issue? I very rarely see it jump into the red. I see more CPU activity when I open the web browser on this server. Does this sound right? Thank You, Justin A. Stanczak Web Manager

Re: How to allocate memory to JVM

2002-10-31 Thread JStanczak
This should have what you need. http://java.sun.com/j2se/1.4.1/docs/tooldocs/linux/java.html#nonstandard Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 |-+ | | [EMAIL

How do I increase performance on Tomcat?

2002-10-30 Thread JStanczak
I'm running Tomcat 4 on a Solaris 8 Sparc server. I've been watching the traffic increase on my server as I add more and more resources over time. In the process of this I've increased the maximum memory the JVM uses to keep Tomcat from running out of memory. Then I had to increase the maximum

Re: How do I increase performance on Tomcat?

2002-10-30 Thread JStanczak
Here's my server.xml file. I'm using Tomcat 4 in standalone. I guess I'm not understanding the connection pooling part of what you sent. I thought the maxProcessors part was for that. I'm still reading through it all, but the JVM part I've already done. !-- Example Server Configuration File --

Re: [offtopic] IDE for Tomcat?

2002-06-14 Thread JStanczak
I'm using Forte 4, which is now called Sun ONE Studio 4. I'm liking the new version a lot. It has better integration with Tomcat now. Plus, it has Tomcat 4. Functionality and response wise it seem to of improved. I've been using Forte, and now Sun ONE Studio 4, for about six months or so to

Tomcat 4 java.lang.OutOfMemoryError

2002-06-13 Thread JStanczak
I've seen this question a lot in the email group, but I can't find the solution. Could someone point me to the fix for this problem. I can send the whole log file if needed. It just shows exceptions being thrown and at the bottom it says this: - Root Cause - java.lang.OutOfMemoryError

Tomcat 4 java.lang.OutOfMemoryError - More Info?

2002-06-13 Thread JStanczak
When you say CATALINA_OPTS, you are talking about in the catalina.sh that starts the Tomcat server? Your talking about this line in the catalina.sh file: JPDA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address =$JPDA_ADDRESS,server=y,suspend=n Also, is the somewhere I can find documentation on

Does Jakarta have a connection pooling project?

2002-06-13 Thread JStanczak
Is there a connection pooling project in Jakarta that I can use for database connection pooling? I've found the pool component under Jakarta Commons, but is that the only one? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 -- To

Re: mod_webapp error

2002-01-28 Thread JStanczak
Unfortunately I did not get Apache and Tomcat connected. I found that for my needs just using Tomcat and removing Apache was the best option. I started to setup the mod_jk, but stopped when I decided to just use Tomcat only. For the most part I found that web app mod was just not ready for

How good of a web server is Tomcat 4.0.1?

2001-12-14 Thread JStanczak
How good is Tomcat as a web server? The reason I ask is because I'm think of using Tomcat instead of Apache as my web server because most of my work is going to be servlets or jsp. I've tried to use webapp_mob with no luck. I started to use jk_mod, but the documentation that I read shows it being

RE: mod_webapp config

2001-12-13 Thread JStanczak
Send me the steps. I'm running a Solaris 8 7/01 Sparc station with apache and tomcat 4.0.1. I try to use the mod_webapp.so but get errors every time. I complains that the mod can't be loaded. I'm going to ask the question on the list again, but I think mod_jk is the only way. Thank You,

RE: mod_webapp config

2001-12-13 Thread JStanczak
Never mind. I didn't see the directions that you sent later. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813

Re: mod_webapp error

2001-12-13 Thread JStanczak
Hi, I'm getting this same problem. I'm running Solaris 8 7/01 Sparc. I have Tomcat 4.0.1 and the Apache 1.3.somthing that came with the install of Solaris 8 7/01. I've tried multiple things with no luck. I even tried to compile the webapp_mod but that failed and I never got it to compile. I'm

Should I use Apache + Tomcat or just Tomcat?

2001-12-13 Thread JStanczak
Hi, I have been trying to use webapp_mod to connect Apache to Tomcat 4.0.1 with no luck. I'm running Solaris 8 7/01 on a Sparc station. The Apache install is the one that came with the Solaris 8 I installed. I plan on using Servlets for most of my work so I was wondering which route to take. I

Re: Should I use Apache + Tomcat or just Tomcat?

2001-12-13 Thread JStanczak
I will be using the Tomcat to run a web content management software Servlet. Here's the summary that I have on our activity for a week: Analysis for the Week of Dec 2nd, 2001.

Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
Does anyone have a solution for using the mod_webapp.so to connect Apache and Tomcat on a Solaris 8 machine? I have a Solaris 8 Sparc and I've installed Tomcat 4.0 and Apache 1.3.22. I'm trying to use the mod_webapp.so to connect the two together. When I run the /apachectl configtest it comes up

Re: Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
Yes. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 Cross Fire Labs

Re: Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
That's exactly what I did. I installed Apache, Tomcat and untared the mod_webapp.so. Then I edited the httpd.conf to add the two lines LoadModule and AddModule. I even tried it with just LoadModule and still got the same results. The reason I talked about the compiler is because someone

Re: Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
Not fully. I've only got to the /apachectl configtest stage. Then I get this error. Is there more I need to do? I was just following the directions that came with it. I'm thinking about just scraping Apache and using Tomcat to do what little html I'll need. Or maybe just go with something like

Re: Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
No I didn't use that one. I think I used that one before. I just tried with that one and it did you same thing. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813

Re: Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
I don't have the libgcc.so, I have the libgcc_s.so so I used it instead. When I used that variable now the message says: Syntax error on line 238 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_webapp.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal:

Re: Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
I just tried it again and this is what I get: # ./apachectl configtest Syntax error on line 238 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_webapp.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file

Re: Apache + Tomcat mod_webapp.so Does anyone have a solution?

2001-12-05 Thread JStanczak
No I didn't compile Apache. I'm currently using the binaries from the Apache site. Version 1.3.9. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813

Re: Mailing list question

2001-12-05 Thread JStanczak
Does it return you email saying you don't have permission or something like that? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813

webapp_mod problem

2001-11-30 Thread JStanczak
I'm running a Solaris 8 ultra 10 station. It has the Apache 1.3 that comes with Solaris 8 installed. I downloaded Tomcat 4.0 and it runs fine. I also downloaded the webapp_mod for sparc. I added the lines to the httpd.conf file. When I did the apachectl configtest or apachectl start I get this

Test

2001-11-28 Thread JStanczak
Test -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Download question?

2001-11-20 Thread JStanczak
I have a question on the download for Tomcat 4. Which one do you download for a Solaris 8 box? It says in the directions to download the zip. Is this right? What's the tar there for? I installed the GNU Tar and when I untar it, it said check sum error. I got Tomcat 3.3, in tar form, when I

Setting up Tomcat 4

2001-11-19 Thread JStanczak
I have a Sparc box running Solaris 8. I would like to set the JAVA_HOME environment variable and I would also like to put a script in the rc3.d to allow Tomcat to startup and shutdown with the server. I'm somewhat new to the Solaris OS, so I was wondering if I could get more of an expert opinion

Replace JServ with Tomcat

2001-10-23 Thread JStanczak
I have a Solaris 8 X86 OS. When I installed the OS, it also installed Apache and JServ. What I would like to do is remove JServ and install Tomcat instead. Can someone tell me how to do this or where to get information on this? Thank you.