The only thing I can think of is that I rewrite all my /dspace/* with apache
using the AJP and port 8009, and it seems that I loose the referer header in
the process.

RewriteCond %{REQUEST_URI} !^/dspace/certificate-login.*
RewriteCond %{REQUEST_URI} !^/dspace/password-login.*
RewriteCond %{REQUEST_URI} !^/dspace/register.*
RewriteRule ^/(.*) http://%{HTTP_HOST}/$1 [L,R]



John

On 3/15/07, John Preston <[EMAIL PROTECTED]> wrote:

OOps. Sorry I opened the FeedServlet.java instead of FeedbackServlet.java.
The NullPointerException is for the line 84

79        String fromPage = request.getHeader("Referer");
80
81        // Prevent spammers and splogbots from poisoning the feedback
page
82        String host = ConfigurationManager.getProperty("dspace.hostname
");
83
84        if (fromPage.indexOf(host) == -1)

John

On 3/15/07, John Preston <[EMAIL PROTECTED]> wrote:
>
> I noticed this just yesterday also. I  see  where the trace is:
>
> Mar 15, 2007 7:02:28 AM org.apache.catalina.core.StandardWrapperValveinvoke
> SEVERE: Servlet.service() for servlet feedback threw exception
> java.lang.NullPointerException
>         at org.dspace.app.webui.servlet.FeedbackServlet.doDSGet(
> FeedbackServlet.java:84)
>         at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(
> DSpaceServlet.java:151)
>         at org.dspace.app.webui.servlet.DSpaceServlet.doGet (
> DSpaceServlet.java:99)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java :213)
>         at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>         at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke (
> ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>         at org.apache.jk.server.JkCoyoteHandler.invoke(
> JkCoyoteHandler.java:199)
>         at org.apache.jk.common.HandlerRequest.invoke(
> HandlerRequest.java:282)
>         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
>         at org.apache.jk.common.ChannelSocket.processConnection(
> ChannelSocket.java:684)
>         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
> ChannelSocket.java:876)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:619)
>
> and the line given in FeedbackServlet.java (84) is an import statement
> line. I've done nothing to my installation of late, but I can't remember
> when last I tried the feedback page.
>
> John
>
> On 3/15/07, Brett, Hamish < [EMAIL PROTECTED]> wrote:
>
> >  Hi,
> >
> > All of a sudden when you click on our feedback link on the home page,
> > it requests a log in and when I log in as an admin it says
> >
> > "Authorization Required
> >
> > You do not have permission to perform the action you just attempted.
> >
> > If you think you should have authorization, please feel free to
> > contact the DSpace administrators:"
> >
> > No other pages display this behaviour. We have not noticed this
> > before, does anyone know how and why this has occured?
> >
> > Thanks,
> >
> > Hamish
> >
> > *IMPORTANT:* This email remains the property of the Australian Defence
> > Organisation and is subject to the jurisdiction of section 70 of the CRIMES
> > ACT 1914. If you have received this email in error, you are requested to
> > contact the sender and delete the email.
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to