Re: Browser shows source of .jsp file. Why?

2009-04-24 Thread dfobox
answer is pretty simple "NOTE: If your domain name is NOT pointing to our service yet you will need to add your domain name and your server IP in your local hosts file in order for you to be able to access your JSP pages since otherwise the Tomcat will not render the context for your domain. For

RE: Memory alloation issue : java.io.IOException: Cannot run program "env": java.io.IOException: error=12, Cannot allocate memory

2009-04-24 Thread coolwithfire
Thanks chuck for the reply. >Is there any swap space configured? If not, you're going to have a tough time fitting in more than a very >small number of processes that have significant memory requirements. What is the complete output of >the free command? Below is the output of free command even

Re: Problem with DeltaManager & BackupManager

2009-04-24 Thread Kursat Tuncel
Nope, it is not a platform bug, I tried the same configuration on Linux (RHEL 5) and the result is same. I suspect that this is a bug in DeltaManager, I'll try all 6.x versions to see anything changes. Kursat Tuncel wrote: > > Hi All, > > I'm trying to setup a Tomcat Cluster configuration b

Re: Browser shows source of .jsp file. Why?

2009-04-24 Thread Andre-John Mas
What does try to open the parent folder show? Chances are, if they have set up Tomcat, the files aren't being hosted with Tomcat. Another thing worth checking is whether you have you WEB-INF/web.xml file deployed. If they are cooperative ask them to show you how they have set things up. The worst

RE: Problem with DeltaManager & BackupManager

2009-04-24 Thread Kursat Tuncel
Yes I tried, it is all the same. Either I'm hitting a platform bug (which is HP-UX 11.31 Itanium JVM 1.6.0.03) or a tomcat 6.0.18 bug. I'll try exactly the same configuration on my debian and see if anything is different at all. Robin Wilson-5 wrote: > > Sorry I can't be more help - I'm sti

Browser shows source of .jsp file. Why?

2009-04-24 Thread dfobox
I have JSP-based website running on my own server and I want to move it to hosting company. I've copied the files, they said they have enabled Tomcat for me, but browser shows source of the pages, even of those which don't have any script code inside - only properly formatted html. What could be a

RE: Problem with DeltaManager & BackupManager

2009-04-24 Thread Robin Wilson
Sorry I can't be more help - I'm still trying to figure this out myself. What happens if you use 'channelsendoptions=6' instead of '8'? -- Robin D. Wilson Director of Web Development KingsIsle Entertainment, Inc. WORK: 512-623-5913 CELL: 512-426-3929 www.KingsIsle.com -Original Message

RE: Problem with DeltaManager & BackupManager

2009-04-24 Thread Kursat Tuncel
Hi Robin, Yes, /var/tomcat$n/webapps/examples/WEB-INF/web.xml contains and /var/tomcat$n/conf/context.xml is like this: I think the problem is somewhat deeper. Because I can see from the logs that sessions are replicated when I use BackupManager. I mean, I only change DeltaManager to B

RE: Problem with DeltaManager & BackupManager

2009-04-24 Thread Robin Wilson
Did you comment out the line in 'context.xml'? If you leave that it, it doesn't use the manager you defined for the cluster. Also, is your web app defined as '' in the 'web.xml' file from the webapp dir? -- Robin D. Wilson Director of Web Development KingsIsle Entertainment, Inc. WORK: 512-6

Problem with DeltaManager & BackupManager

2009-04-24 Thread Kursat Tuncel
Hi All, I'm trying to setup a Tomcat Cluster configuration by using the example provided in http://www.mbaworld.com/docs/cluster-howto.html My problem is actually a bit strange. I've been digging the problem for 2 days but no success. Here is my configuration: 4 Tomcat instances on the same ma

RE: Tomcat 5.5 will nto start after reboot.

2009-04-24 Thread Lipker, Joseph
Owner for the Catalina. out file had been changed from Tomcat to root. I changed the owner back to tomcat and is fixed issue Please describe what you did to make it work? On Fri, Apr 24, 2009 at 3:47 PM, Lipker, Joseph wrote: > Disregard. Found what problem was. > > > Joseph Lipker > Weyerh

Re: Tomcat 5.5 will nto start after reboot.

2009-04-24 Thread Sriganesh Ananth
Please describe what you did to make it work? On Fri, Apr 24, 2009 at 3:47 PM, Lipker, Joseph wrote: > Disregard. Found what problem was. > > > Joseph Lipker > Weyerhaeuser Real Estate Company - IT Department > EC3-3C8 > Federal Way, WA 98063-9777 > Office: 253-924-5994 > Cell: 253-249-6819 > jos

RE: Tomcat 5.5 will nto start after reboot.

2009-04-24 Thread Lipker, Joseph
Disregard. Found what problem was. Joseph Lipker Weyerhaeuser Real Estate Company - IT Department EC3-3C8 Federal Way, WA 98063-9777 Office: 253-924-5994 Cell: 253-249-6819 joseph.lip...@wreco1.com From: Lipker, Joseph Sent: Friday, April 24, 2009 3:02 PM To: '

Tomcat 5.5 will nto start after reboot.

2009-04-24 Thread Lipker, Joseph
Hi, I am currently trying to restart a new instance of Tomcat 5.5 service and having no luck. Restarting service had previously worked using the /etc/ini.d/tomcat5 start process. But after a reboot was done [Tomcat service was not stopped] it seems that the service will not start up as expected

org.apache.jk.common.ChannelSocket processConnection WARNING: processCallbacks status 2

2009-04-24 Thread Robin Wilson
I'm trying to figure out what this means, and how to stop it... We're getting following error repeated in our catalina.out logs: Apr 24, 2009 8:42:24 AM org.apache.jk.common.ChannelSocket processConnection WARNING: processCallbacks status 2 Apr 24, 2009 8:44:00 AM org.apache.jk.common.ChannelSock

tomcat shutdown problem

2009-04-24 Thread S Arvind
A wierd problem occur while shutdowning the tomcat 6 in the Fedora and Centos. Usually i use shell file to shutdown. After shutting down when see the postgre preocess by [code]*ps -ef | grep java*[/code] it is still showing the process as running. such as [code] tomcat 14694 1 72 Apr23 ?

RE: Memory alloation issue : java.io.IOException: Cannot run program "env": java.io.IOException: error=12, Cannot allocate memory

2009-04-24 Thread Caldarale, Charles R
> From: coolwithfire [mailto:iwd_s...@rediffmail.com] > Subject: Memory alloation issue : java.io.IOException: Cannot run > program "env": java.io.IOException: error=12, Cannot allocate memory > > VPS has 768MB RAM (As by free command). Is there any swap space configured? If not, you're going to

Memory alloation issue : java.io.IOException: Cannot run program "env": java.io.IOException: error=12, Cannot allocate memory

2009-04-24 Thread coolwithfire
Hi, I am running tomcat tomcat 5.2.27 on Fedora 10 which is installed on a VPS. VPS has 768MB RAM (As by free command). I am unable to use maximum available memory by JVM's Xmx512m option. I am using these options in setenv.sh .. JAVA_OPTS="$JAVA_OPTS -Xmx256m -Xms128m -XX:MaxPermSize=128m -Df

Re: using glassfish remoting in tomcat 6

2009-04-24 Thread Jonathan Richard
A! makes sense now! I will try this. Thanks a lot. You guys gave me the missing piece of the puzzle. Thanks. On Fri, Apr 24, 2009 at 1:32 PM, Martin Gainty wrote: > > Richard- > > the class is org.apache.naming.factory.ResourceRef and the author is Remy > Maucherat r...@apache.org > >

RE: using glassfish remoting in tomcat 6

2009-04-24 Thread Martin Gainty
Richard- the class is org.apache.naming.factory.ResourceRef and the author is Remy Maucherat r...@apache.org package org.apache.naming; public class ResourceRef extends Reference { // -- Constants /*** Default factory for t

RE: using glassfish remoting in tomcat 6

2009-04-24 Thread Caldarale, Charles R
> From: Jonathan Richard [mailto:richa...@gmail.com] > Subject: using glassfish remoting in tomcat 6 > > I place my jars (javaee.jar and appserver-rt and the necessary > dependencies) in my WEB-INF/lib/ direcectory. You must not put javaee.jar anywhere that's reachable by Tomcat, including any W

using glassfish remoting in tomcat 6

2009-04-24 Thread Jonathan Richard
Hi I am sure this is a common issue but I looked it up on google and nobody seem to have a real good fix about this. Or maybe there is something I don't understand something... ? here is my problem: I try to use the glassfish appserv-rt.jar client library to enable my webapp to call EJBs remotely

Re: mod_jk, not sure if an issue

2009-04-24 Thread Rainer Jung
Hi André, On 22.04.2009 18:29, André Warnier wrote: > As (maybe) part of another issue which I am still trying to track down > with the concerned network people (client write errors, Sample 2 below), Before commenting Sample 1: Although we generally respond to the "client errors" topic with "User

RE: customize HTTP Status 401 error page

2009-04-24 Thread Caldarale, Charles R
> From: Jill Han [mailto:jill@alverno.edu] > Subject: RE: customize HTTP Status 401 error page There is at least one thing wrong with your web.xml: > * That's not a valid URL pattern; perhaps you meant "/*". I'm not sure what you're trying to accomplish by defining an error page for a

RE: customize HTTP Status 401 error page

2009-04-24 Thread Jill Han
At this point, I just explored the options between basic and form-based authentication. No real webapp is build yet. The displayed name is just directory name, app1, under webapps. As I stated before, if it is run on window, http://localhost:8080/app1, there will be no authentication window pro

Re: customize HTTP Status 401 error page

2009-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/24/2009 9:04 AM, Jill Han wrote: > The display-name is Faculty Resources. If I supply this name to the > url, http://localhost:8080/Faculty Resources, it will generate 404 > error. I think you may be very confused about a lot of things. Th

Re: GZIP: pjl-comp-filter vs build-in compression engine

2009-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ilya, On 4/24/2009 5:53 AM, Ilya Kazakevich wrote: > Http connector is able to compress data ("compress" param), right? > So, why filters like pjl-comp-filter exist? I can think of two reasons: 1. At one point, the gzip capability in Tomcat didn't e

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/24/2009 3:27 AM, André Warnier wrote: > Sriganesh Ananth wrote: > What also still smells fishy is the line >> Alias /test /var/www/testapp/ > > Why is it there ? What does it achieve, that the following 2 lines do not ? >> JkMount /*.do a

Re: isapi redirector question

2009-04-24 Thread Rainer Jung
On 24.04.2009 15:26, danny.van-denst...@shell.com wrote: > Tomcat is running fine (working) and IIS is running fine (working) > > Steps taken to install isapi redirect: > > · Go to the 'bin folder' of the Tomcat installation and add > isapi_redirect-1.2.27.dll,install4iis.js > · Go to t

RE: isapi redirector question

2009-04-24 Thread Danny.van-denSteen
Tomcat is running fine (working) and IIS is running fine (working) Steps taken to install isapi redirect: · Go to the 'bin folder' of the Tomcat installation and add isapi_redirect-1.2.27.dll,install4iis.js · Go to the 'conf' folder of the Tomcat installation add 'workers2.propert

RE: customize HTTP Status 401 error page

2009-04-24 Thread Jill Han
The display-name is Faculty Resources. If I supply this name to the url, http://localhost:8080/Faculty Resources, it will generate 404 error. -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Thursday, April 23, 2009 4:08 PM To: Tomcat Users List Subject: RE: cus

Re: JVM crash issue

2009-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jochen, On 4/24/2009 12:55 AM, jochen wrote: > No JNI frames in the stack dump also confused me a lot, but > "LJava/lang/String" was one of parameter structure defined by our C code. I > don't know if any other Java code including JDK, tomcat, or stru

Re: isapi redirector question

2009-04-24 Thread Rainer Jung
On 24.04.2009 13:28, danny.van-denst...@shell.com wrote: >> IIS - isapi redirector - Tomcat >> >> Versions: >> OS Windows 2003 enterprise edition x64 SP2 >> (2X dual-core ADM Opteron 2218 processor) >> IIS6.0 x64 >> Tomcat5.5.exe version 2.0.4.0 X64 >> isapi_redirect-1.2.27.dll (via tomcat site x6

Re: Load balancing and sticky sessions

2009-04-24 Thread Rainer Jung
On 24.04.2009 09:29, Tom Cooper wrote: > Ben Stringer wrote: >>> Hi all, >>> >>> I have two servers, each running 5 instances of Tomcat and apache. I >>> need to do load balancing between them with sticky sessions. The load >>> balancing seems to work but not the sticky sessions. I am using mod_ajp

isapi redirector question

2009-04-24 Thread Danny.van-denSteen
> IIS - isapi redirector - Tomcat > > Versions: > OS Windows 2003 enterprise edition x64 SP2 > (2X dual-core ADM Opteron 2218 processor) > IIS6.0 x64 > Tomcat5.5.exe version 2.0.4.0 X64 > isapi_redirect-1.2.27.dll (via tomcat site x64) > Java jdk1.5.0_18 x64 > > Problem description: > We curren

GZIP: pjl-comp-filter vs build-in compression engine

2009-04-24 Thread Ilya Kazakevich
Hello. Http connector is able to compress data ("compress" param), right? So, why filters like pjl-comp-filter exist? Did anybody compare them? Any benchmarks or pitfalls? I am asking because some people in our company uses pjl, and I do not understand why do I need some third-party solution

Re: Load balancing and sticky sessions

2009-04-24 Thread Tom Cooper
Ben Stringer wrote: Hi all, I have two servers, each running 5 instances of Tomcat and apache. I need to do load balancing between them with sticky sessions. The load balancing seems to work but not the sticky sessions. I am using mod_ajp. I see that mod_jk is recommended but that means modifyin

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-24 Thread André Warnier
Sriganesh Ananth wrote: Hi Andre, I got Forbidden - You don't have permission to access /test/WEB-INF/web.xml on this server. Under httpd.conf, just before VirtualHost I have following to deny all from accessing WEB-INF folder. Httpd.conf configuration: # Globally deny access to the WEB-INF d

Re: Load balancing and sticky sessions

2009-04-24 Thread Ben Stringer
> Hi all, > > I have two servers, each running 5 instances of Tomcat and apache. I > need to do load balancing between them with sticky sessions. The load > balancing seems to work but not the sticky sessions. I am using mod_ajp. > I see that mod_jk is recommended but that means modifying the tomca