cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help.... new to Tomcat... no login page

jdmnation
Champ in-the-making
Champ in-the-making
Any Idea what i have to do to get this running


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

Generated servlet error:
Only a type can be imported. org.alfresco.service.cmr.security.PermissionService resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.config.ConfigService resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.app.servlet.AuthenticationHelper resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.app.servlet.FacesHelper resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.bean.NavigationBean resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.bean.repository.User resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.bean.repository.PreferencesService resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.config.ClientConfigElement resolves to a package

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ConfigService cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ConfigService cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ClientConfigElement cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ClientConfigElement cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
User cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
User cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
AuthenticationHelper.AUTHENTICATION_USER cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
PermissionService.GUEST_AUTHORITY cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
FacesHelper cannot be resolved

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
PreferencesService cannot be resolved

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
NavigationBean.LOCATION_MYALFRESCO cannot be resolved to a type


   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
   java.security.AccessController.doPrivileged(Native Method)
   javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
   org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
   org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)

root cause

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

Generated servlet error:
Only a type can be imported. org.alfresco.service.cmr.security.PermissionService resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.config.ConfigService resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.app.servlet.AuthenticationHelper resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.app.servlet.FacesHelper resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.bean.NavigationBean resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.bean.repository.User resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.bean.repository.PreferencesService resolves to a package

Generated servlet error:
Only a type can be imported. org.alfresco.web.config.ClientConfigElement resolves to a package

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ConfigService cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ConfigService cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ClientConfigElement cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
ClientConfigElement cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
User cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
User cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
AuthenticationHelper.AUTHENTICATION_USER cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
PermissionService.GUEST_AUTHORITY cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
FacesHelper cannot be resolved

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
PreferencesService cannot be resolved

An error occurred at line: 38 in the jsp file: /alfresco/index.jsp
Generated servlet error:
NavigationBean.LOCATION_MYALFRESCO cannot be resolved to a type


   org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
   org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
   org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
   org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
   java.security.AccessController.doPrivileged(Native Method)
   javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
   org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
   org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)

3 REPLIES 3

derek
Star Contributor
Star Contributor
You'll need to post a thorough description of what you did to get here; files installed, config set, etc.

jdmnation
Champ in-the-making
Champ in-the-making
The first thing that i did was followed all the step that where documented on
http://wiki.alfresco.com/wiki/Installing_on_Linux

Then i installed all the package like Faces, Hibernate, Spring, Lucene and mysql.

Alfter that i put the war file in my tomcat direcotry
/var/lib/tomcat5/webapps/ROOT/

Thats its…

what else i need to do?

kevinr
Star Contributor
Star Contributor
I'm not sure you need to install those packages - the alfresco.war includes all the libraries it needs with the exception of the MySQL DB driver.

The war should not go here:
/var/lib/tomcat5/webapps/ROOT/

Instead it should go here:
/var/lib/tomcat5/webapps/

Thanks,

Kevin