Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11EE510844 for ; Sun, 3 Nov 2013 09:20:59 +0000 (UTC) Received: (qmail 24377 invoked by uid 500); 3 Nov 2013 09:20:57 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 24159 invoked by uid 500); 3 Nov 2013 09:20:50 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 24142 invoked by uid 99); 3 Nov 2013 09:20:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Nov 2013 09:20:49 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fredand44@hotmail.com designates 157.55.1.140 as permitted sender) Received: from [157.55.1.140] (HELO dub0-omc2-s1.dub0.hotmail.com) (157.55.1.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Nov 2013 09:20:43 +0000 Received: from DUB112-W19 ([157.55.1.137]) by dub0-omc2-s1.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 3 Nov 2013 01:20:21 -0800 X-TMN: [6E1UD43x72BHMmK+i8D3FLwFXjY3e+Se] X-Originating-Email: [fredand44@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_fe80133f-8959-4268-baad-b6679378a811_" From: Fredrik Andersson To: Struts Users Mailing List Subject: RE: Is this a createclassloader issue - HTTP Status 404 - result 'null' not found Date: Sun, 3 Nov 2013 09:20:21 +0000 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 03 Nov 2013 09:20:21.0496 (UTC) FILETIME=[EB8CA780:01CED875] X-Virus-Checked: Checked by ClamAV on apache.org --_fe80133f-8959-4268-baad-b6679378a811_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Muralidhar! =20 Thanks for your reply! Interesting to hear that you do not think this has something to do with str= uts. Then I guess either that I have done something wrong or that the service pr= ovider might have done something wrong with my account. Best reagards! /Fredrik Btw If you are familiar with Apache and Tomcat do you know in what log fil= e you would look to find more info about this? (I seems to have to request = the log files from the support guys at the webhotel and they email it to me= later which makes this a bit more difficult to solve this=2C I do not have= the privileges my self to look in them.) =20 > Date: Sat=2C 2 Nov 2013 09:33:27 +0530 > Subject: Re: Is this a createclassloader issue - HTTP Status 404 - result= 'null' not found > From: yaragallamurali@gmail.com > To: user@struts.apache.org >=20 > I don't think it has something to do with struts. The jira you specified > also clearly says it is the problem with server security policy. And as f= ar > as i know for every web app that you deploy on the server=2C the server > creates and maintains a separate classloader for it. So if the security > policy does not allow creating a classloader then the problem with hostin= g > service provider. >=20 > *Thanks and Regards=2C* > Muralidhar Yaragalla. > *http://yaragalla.blogspot.in/ > * >=20 >=20 > On Sat=2C Nov 2=2C 2013 at 2:32 AM=2C Fredrik Andersson wrote: >=20 > > Hello guys! > > > > > > > > I have bought some space at a webhotel saying that it supports applicat= ion > > that uses struts. > > > > But when I enter a link like Log in from = my > > index.jsp I just get: > > > > > > > > HTTP Status 404 - result 'null' not found > > type Status report > > message result 'null' not found > > description The requested resource (result 'null' not found) is not > > available. > > > > > > The webhotel uses a Tomcat fronted by a Apache. At the webhotel I have = add > > a mapping like "/*" that according to theres doc should forwarding all > > request to the Tomcat. > > > > > > > > I first developed my site at home where it of course works fine in a > > similar environment (tomcat fronted by a apache). At my first attempt t= o > > deploy it at the webhotel I got this error. Unfortenately I can not see= all > > logs my self=2C but the support at the webhotel told me that my app tri= ed to > > do some "createclassloader" and that is not allowed for me. > > > > > > > > So in my hunt to find out why this createclassloader-issue derives from= I > > have stripped the site down to just a simple hello-world-app similar li= ke > > this: http://www.mkyong.com/struts2/struts-2-hello-world-example/. (My > > app is supposed to be run as the default app so my.) > > > > > > > > But I still get the same error. > > > > > > > > I found this post: > > > > https://issues.apache.org/jira/browse/WW-1933 > > > > > > > > Is the "createclassloader"-issue coming from struts? Does it sounds lik= e > > this might be something that stuts needs to do? > > > > > > > > What do you think guys could I facing the same problem? Is this a > > security-setting-problem? I do not think I got the privileges to change > > security-settings at the webhotel according to what the support first t= old > > me. Is there some other way to solve this? > > > > > > > > Else I think that this "product"/"type_of_account" at the webhotel prom= ise > > to much. If struts need to do the "createclassloader"-thing I doubt the= re > > will ever work to run a struts-app or what do you think guys? > > > > > > > > I also post some other info in this mail that might be of interest if y= ou > > guys do not think I'm on the right track. > > > > > > > > In my Apache httpd.con I have set this (that I guess is the same mappin= g > > that I have done at the webhotel) > > JkMount /* worker1 > > > > > > > > In my web.xml > > > > struts2 > > /* > > > > > > > > > > At the webhotel I have edit the context.xml.default to: > > > > > > > > > > > > I have also added a context.xml like (that should overide the > > context.xml.default): > > > > > > > > In my struts.xml i got this: > > > > > > > > > > /login.jsp > > > > > > > > /welcome.jsp > > > > > > > > > > > > And my index.jsp looks like below=2C and that renders out fine but when= I > > click the link I get the error above: > > <%@page import=3D"se.myapp.WelcomeUserAction"%> > > <%@ page contentType=3D"text/html=3B charset=3DUTF-8"%> > > <%@ taglib prefix=3D"s" uri=3D"/struts-tags"%> > > > > > > > >

Site is under construction

> > > > Log in > >
> > <%=3Dnew java.util.Date().toString()%> > >
> > <%=3DWelcomeUserAction.getDate()%> > > > > > > > > > > > > All this works fine at home. > > > > So if you guys got any ideas or where to look for more info=2C please l= et me > > know. > > > > > > > > Best regards > > > > Fredrik > > > > > > > > > > > > > > = --_fe80133f-8959-4268-baad-b6679378a811_--