roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson, Jason R" <Jason.R.John...@usd.edu>
Subject issue deploying roller as root context
Date Mon, 07 May 2007 16:47:49 GMT
Does anyone know what would cause this error?

 

May 7, 2007 11:34:26 AM org.apache.catalina.core.StandardWrapperValve
invoke

SEVERE: Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: Unable to compile class for JSP: 

 

 

An error occurred at line: 24 in the jsp file: /login-redirect.jsp

UserData cannot be resolved to a type

21: <%@ page import="org.apache.roller.ui.core.RollerSession" %>

22: <%@ page import="java.util.List" %>

23: <%

24: UserData user =
RollerSession.getRollerSession(request).getAuthenticatedUser();

25: List websites =
RollerFactory.getRoller().getUserManager().getWebsites(user,
Boolean.TRUE, null, null, null, 0, Integer.MAX_VALUE);

26: 

27: if (websites.size() == 1) {

 

 

An error occurred at line: 24 in the jsp file: /login-redirect.jsp

RollerSession cannot be resolved

21: <%@ page import="org.apache.roller.ui.core.RollerSession" %>

22: <%@ page import="java.util.List" %>

23: <%

24: UserData user =
RollerSession.getRollerSession(request).getAuthenticatedUser();

25: List websites =
RollerFactory.getRoller().getUserManager().getWebsites(user,
Boolean.TRUE, null, null, null, 0, Integer.MAX_VALUE);

26: 

27: if (websites.size() == 1) {

 

 

An error occurred at line: 25 in the jsp file: /login-redirect.jsp

RollerFactory cannot be resolved

22: <%@ page import="java.util.List" %>

23: <%

24: UserData user =
RollerSession.getRollerSession(request).getAuthenticatedUser();

25: List websites =
RollerFactory.getRoller().getUserManager().getWebsites(user,
Boolean.TRUE, null, null, null, 0, Integer.MAX_VALUE);

26: 

27: if (websites.size() == 1) {

28:     WebsiteData website = (WebsiteData) websites.get(0);

 

 

An error occurred at line: 28 in the jsp file: /login-redirect.jsp

WebsiteData cannot be resolved to a type

25: List websites =
RollerFactory.getRoller().getUserManager().getWebsites(user,
Boolean.TRUE, null, null, null, 0, Integer.MAX_VALUE);

26: 

27: if (websites.size() == 1) {

28:     WebsiteData website = (WebsiteData) websites.get(0);

29:
response.sendRedirect(request.getContextPath()+"/roller-ui/authoring/web
log.do?method=create&weblog="+website.getHandle());

30: } else {

31:
response.sendRedirect(request.getContextPath()+"/roller-ui/yourWebsites.
do");

 

 

An error occurred at line: 28 in the jsp file: /login-redirect.jsp

WebsiteData cannot be resolved to a type

25: List websites =
RollerFactory.getRoller().getUserManager().getWebsites(user,
Boolean.TRUE, null, null, null, 0, Integer.MAX_VALUE);

26: 

27: if (websites.size() == 1) {

28:     WebsiteData website = (WebsiteData) websites.get(0);

29:
response.sendRedirect(request.getContextPath()+"/roller-ui/authoring/web
log.do?method=create&weblog="+website.getHandle());

30: } else {

31:
response.sendRedirect(request.getContextPath()+"/roller-ui/yourWebsites.
do");

 

 

Stacktrace:

        at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:85)

        at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:330)

        at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:41
5)

        at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)

        at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)

        at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)

        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:566)

        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:308)

        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:228)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:104)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
16)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)

        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:634)

        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)

        at java.lang.Thread.run(Thread.java:595)

 

I attempted to make roller the default context for a tomcat 6
virtualhost, and all worked well except for this happening at login.

 

On this note, does anyone have a definitive step-by-step for making
roller the default context, eg. http://server.com/ instead of
http://server.com/roller/ ?

 

 

Thanks!

 

Jason


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message