roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <shyamprasad.harianat...@contractor.thomson.com>
Subject RE: Error with Roller 3.0
Date Fri, 31 Aug 2007 11:58:55 GMT
Hi,

I am using roller 4.0 running on bundled tomcat ( with netbeans) on
Windows XP.

I have the same problem. 

I am successfully able to login into the Roller site & create Weblogs. I
can also create a new entries. 

Eben I have moved the errors directory from /WEB-INF/jsps/errors to
/web/errors directory { as suggested in Changelist:569123}

When I try to access the created Weblog entry, I am getting the
exception as  below :-

------------------------------------------------------------------------
EVERE: Exception Processing ErrorPage[exceptionType=java.lang.Exception,
location=/errors/error.jsp]

org.apache.jasper.JasperException: getOutputStream() has already been
called for this response
-----------------------------------------------------------------------

Ahmedkii, Pls kindly mail us the changes that you made inorder to access
the
Created webentry, it will be of great help for us.

Thanks

Shyam Prasad
 

 
-----Original Message-----
From: eyewinz [mailto:sarveshwinz@yahoo.com] 
Sent: Friday, August 31, 2007 4:47 AM
To: user@roller.apache.org
Subject: Re: Error with Roller 3.0


Hi ahmedkii,

"to avoid the NPE i updated the configuration of the roller server to
have
frontpage blog and then everything worked"

I am saravanan my team was facing the same problem as you did, in the
above
lines you have mentioned that you changed the server configuration, we
tried
changing the roller_properties table values,  we have set the value for
"site.frontpage.weblog.handle" as "frontpage" and tried. we are not able
to
open the frontpage itself after that.

But where as when that value is null we can able to open the frontpage
and
create weblog, but could not able to open the weblog, it throws the NPE.

can you kindly tell us what configuration chnges you did and how u
solved
this issue.

Thanks in advance


ahmedkii wrote:
> 
> The URL gives success message
> I think i solved the issue
> I've downloaded the source code and i found that the following line in
> RollerRuntimeConfig.java is causing the NPE 
> return (frontPageHandle.equals(weblogHandle));
> 
> The full  method
>    public static boolean isFrontPageWeblog(String weblogHandle) {
>         
>         String frontPageHandle =
> getProperty("site.frontpage.weblog.handle");
>         
>         return (frontPageHandle.equals(weblogHandle));
>     }
> 
> It is clear that this methods checks if this blog is the frontpage
blog.
> So to avoid the NPE i updated the configuration of the roller server
to
> have frontpage blog and then everything worked
> Afterwards i tried to remove the frontpage blog and go back to the
default
> (value is null) and the error is not there anymore
> I don't know why this happened
> 
> Regards
> 
> Dave Johnson-8 wrote:
>> 
>> Are you sure your database connection is configured correctly?
>> 
>> Try the dstest.jsp page, it will test the connection for you.
>> For example:
>>    http://localhost:8080/roller/roller-ui/tools/dstest.jsp
>> 
>> - Dave
>> 
>> 
>> On 11/14/06, ahmedkii <ahmedkii@gmail.com> wrote:
>>>
>>> I've installed Roller 3.0 with Oracle Database and Tomcat 5.0.x, JDK
1.5
>>> I can access the roller frontpage but i cannot access any newly
created
>>> blogs
>>> I receive the following error:05:42
>>> StandardContext[/servlets-examples]SessionListener:
>>> contextInitialized():06:49 ApplicationDispatcher[/roller]
>>> Servlet.service()
>>> for servlet PageServlet threw exception
>>> java.lang.NullPointerException
>>>         at
>>>
org.apache.roller.config.RollerRuntimeConfig.isFrontPageWeblog(RollerRun
timeConfig.java:223)
>>>         at
>>>
org.apache.roller.config.RollerRuntimeConfig.isSiteWideWeblog(RollerRunt
imeConfig.java:236)
>>>         at
>>>
org.apache.roller.ui.rendering.servlets.PageServlet.processReferrer(Page
Servlet.java:456)
>>>         at
>>>
org.apache.roller.ui.rendering.servlets.PageServlet.doGet(PageServlet.ja
va:129)
>>>         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(Applica
tionFilterChain.java:237)
>>>         at
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
>>>         at
>>>
org.apache.roller.ui.core.filters.CompressionFilter.doFilter(Compression
Filter.java:80)
>>>         at
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
>>>         at
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
>>>         at
>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:264)
>>>         at
>>>
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterS
ecurityInterceptor.java:97)
>>>         at
>>>
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Filte
rSecurityInterceptor.java:72)
>>>         at
>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
>>>         at
>>>
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTransl
ationFilter.java:110)
>>>         at
>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
>>>         at
>>>
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
(AnonymousProcessingFilter.java:125)
>>>         at
>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
>>>         at
>>>
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilt
er(SecurityContextHolderAwareRequestFilter.java:81)
>>> --
>>> View this message in context:
>>>
http://www.nabble.com/Error-with-Roller-3.0-tf2630151s12275.html#a733989
7
>>> Sent from the Roller - User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Error-with-Roller-3.0-tf2630151s12275.html#a124228
36
Sent from the Roller - User mailing list archive at Nabble.com.


Mime
View raw message