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 3CDEF10F7C for ; Sat, 2 Nov 2013 04:04:11 +0000 (UTC) Received: (qmail 19930 invoked by uid 500); 2 Nov 2013 04:04:07 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 19781 invoked by uid 500); 2 Nov 2013 04:04:00 -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 19768 invoked by uid 99); 2 Nov 2013 04:03:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 04:03:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yaragallamurali@gmail.com designates 209.85.223.182 as permitted sender) Received: from [209.85.223.182] (HELO mail-ie0-f182.google.com) (209.85.223.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 04:03:48 +0000 Received: by mail-ie0-f182.google.com with SMTP id as1so9101613iec.13 for ; Fri, 01 Nov 2013 21:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NZxo34OjBwKNVilEFk4H5+k1P+X4sg+3S3+HNOppOWQ=; b=okTe0g5yofi459JKVWCwMB43lEgHOmTabBtrmdFTTV5MFfhG1/X14PB2zv1NdtWG2p ZzxvHvApTacRCT3arhRriuFK4fL4iLNLw/v6hJTxm2hXXxUhXBom+50W9OMMF3OAFuUJ Dy9PAG9lZDIMfz4ideBDTfpXp6vTtVdtDiE6KwsPGAB7oHWq/a5dTYPZK6joIcPMFNpC 4M+ZkL/x313yw8D3zvmoOJqqKiQ3um+yTBf0UyF3pB2togCqV9PAUD8W7Qn1sQ8CK0y0 BlxCV+speGzteon7Dw+cFWFBNdtb1WKEtJ6ezp31B4/l4ALRlfn6Lqa/gZbqQdmwZ4qL jEhQ== MIME-Version: 1.0 X-Received: by 10.50.110.100 with SMTP id hz4mr4572015igb.51.1383365007886; Fri, 01 Nov 2013 21:03:27 -0700 (PDT) Received: by 10.64.240.68 with HTTP; Fri, 1 Nov 2013 21:03:27 -0700 (PDT) In-Reply-To: References: Date: Sat, 2 Nov 2013 09:33:27 +0530 Message-ID: Subject: Re: Is this a createclassloader issue - HTTP Status 404 - result 'null' not found From: Yaragalla Muralidhar To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=089e011618a0e3d26404ea29c33a X-Virus-Checked: Checked by ClamAV on apache.org --089e011618a0e3d26404ea29c33a Content-Type: text/plain; charset=ISO-8859-1 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 far as i know for every web app that you deploy on the server, 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 hosting service provider. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Nov 2, 2013 at 2:32 AM, Fredrik Andersson wrote: > Hello guys! > > > > I have bought some space at a webhotel saying that it supports application > 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 to > deploy it at the webhotel I got this error. Unfortenately I can not see all > logs my self, but the support at the webhotel told me that my app tried 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 like > 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 like > 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 told > me. Is there some other way to solve this? > > > > Else I think that this "product"/"type_of_account" at the webhotel promise > to much. If struts need to do the "createclassloader"-thing I doubt there > 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 you > 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 mapping > 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, and that renders out fine but when I > click the link I get the error above: > <%@page import="se.myapp.WelcomeUserAction"%> > <%@ page contentType="text/html; charset=UTF-8"%> > <%@ taglib prefix="s" uri="/struts-tags"%> > > > >

Site is under construction

> > Log in >
> <%=new java.util.Date().toString()%> >
> <%=WelcomeUserAction.getDate()%> > > > > > > All this works fine at home. > > So if you guys got any ideas or where to look for more info, please let me > know. > > > > Best regards > > Fredrik > > > > > > > --089e011618a0e3d26404ea29c33a--