idega / idega-webapp-base

The base Idega web application with built in CeSM,CMS,DMS,XFORMS,BPM,JSF,AJAX and other features
http://www.idega.org
GNU General Public License v3.0
9 stars 3 forks source link

Getting Started error.. #1

Closed gpinkham closed 13 years ago

gpinkham commented 13 years ago

I checked out the code via the instructions on the getting started page: http://www.idega.org/gettingstarted.html

After building the web app and installing in a local tomcat instance I get the following when I try to access the site:

Mar 1, 2011 1:13:27 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception com.idega.exception.IWBundleDoesNotExist: IWBundle: ndles/com.idega.core is not installed or does not exist at com.idega.idegaweb.IWMainApplication.loadBundleFromJar(IWMainApplication.java:1083) at com.idega.idegaweb.IWMainApplication.getBundle(IWMainApplication.java:1067) at com.idega.idegaweb.IWMainApplication.getBundle(IWMainApplication.java:1056) at com.idega.servlet.filter.IWBundleResourceFilter.copyResourceFromJarOrCustomContentToWebapp(IWBundleResourceFilter.java:214) at com.idega.servlet.filter.IWBundleResourceFilter.copyResourceFromJarToWebapp(IWBundleResourceFilter.java:199) at com.idega.content.util.resources.ResourcesManagerImpl.getResource(ResourcesManagerImpl.java:293) at com.idega.content.util.resources.ResourcesManagerImpl.getConcatenatedResources(ResourcesManagerImpl.java:136) at com.idega.util.resources.ResourcesAdder.addResources(ResourcesAdder.java:224) at com.idega.util.resources.ResourcesAdder.manageHeader(ResourcesAdder.java:178) at com.idega.util.resources.ResourcesAdder.writeMyFacesJavascriptBeforeBodyEnd(ResourcesAdder.java:92) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:354) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at is.idega.idegaweb.egov.application.servlet.filter.ApplicationUrlRedirector.doFilter(ApplicationUrlRedirector.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at is.idega.idegaweb.egov.bpm.servlet.CommentViewerRedirector.doFilter(CommentViewerRedirector.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at is.idega.idegaweb.egov.bpm.servlet.TaskViewerRedirector.doFilter(TaskViewerRedirector.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.idega.slide.authentication.IWSlideAuthenticator.doAuthentication(IWSlideAuthenticator.java:181) at com.idega.slide.authentication.IWSlideAuthenticator.doFilter(IWSlideAuthenticator.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.idega.servlet.filter.IWAuthorizationFilter.doFilter(IWAuthorizationFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.idega.servlet.filter.IWWelcomeFilter.doFilter(IWWelcomeFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.idega.servlet.filter.IWAuthenticator.doFilter(IWAuthenticator.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.idega.servlet.filter.IWUrlRedirector.doFilter(IWUrlRedirector.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.idega.servlet.filter.IWEncodingFilter.doFilter(IWEncodingFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662)

Any ideas what may have gone wrong?

tryggvil commented 13 years ago

Seems some sort of string parsing error, it's trying to lookup up a bundle with name "ndles/com.idega.core" instead of just "com.idega.core" What OS, JVM and Tomcat versions are you using?

gpinkham commented 13 years ago

Linux version 2.6.9-89.ELsmp (mockbuild@builder10.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Mon Jun 22 12:31:33 EDT 2009

java version "1.6.0_23" Java(TM) SE Runtime Environment (build 1.6.0_23-b05) Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)

Apache Tomcat 6.0.32

Thanks!

gpinkham commented 13 years ago

Arggg.. I closed it by accident.. thought comment and close meant the window not the issue.. :-) Oh well.. It is still an open issue..

thanks!

Zakusov commented 13 years ago

Hello,

I have the same problem.

Ubuntu 10.04 LTS.

java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~10.04.1) OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)

apache-tomcat-6.0.32.

sputnick commented 13 years ago

Zakusov - you got further didn't you?

Zakusov commented 13 years ago

Yes, I've got latest version of sources and build it according to instructions on the gettingstarted page.

REM: I had the problem when used ready-to-use war-file from the gettingstarted page.

Zakusov commented 13 years ago

The problem is reproduced when Idega is deployed as not a ROOT web application.