Deploying the Web Example [message #79142] |
Wed, 05 October 2005 05:02  |
Eclipse User |
|
|
|
I have tried to follow the example here:
http://www.eclipse.org/birt/index.php?page=deploy/viewer-dep loy.html and
attempt to get it working. I downloaded and installed Tomcat for XP (version
5.5.9, the exe, not the zip) and it installed and ran OK, after a bit of
messing around to get the manager application to work. If I follow the
example in the above link, then I get a whole series of errors - here they
are:
SEVERE: Servlet.service() for servlet ViewerServlet threw exception
java.lang.NoSuchMethodError:
org.apache.jasper.runtime.JspRuntimeLibrary.include(Ljavax/s ervlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl etResponse;Ljava/lang/String;Ljavax/servlet/jsp/JspWriter;Z) V
at layout.frame.NavigationToolbarFragment_jsp._jspService(Unkno wn Source)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(App licationDispatcher.java:574)
at
org.apache.catalina.core.ApplicationDispatcher.include(Appli cationDispatcher.java:499)
at org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
Source)
at org.eclipse.birt.report.viewer.aggregation.BaseFragment.call Back(Unknown
Source)
at layout.frame.NavigationRootFragment_jsp._jspService(Unknown Source)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(App licationDispatcher.java:574)
at
org.apache.catalina.core.ApplicationDispatcher.include(Appli cationDispatcher.java:499)
at org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
Source)
at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doPost (Unknown
Source)
at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doGet( Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
I can run Birt and create reports OK, but I need to deploy them across the
web.
Any ideas? I'm no Java expert, so please keep it simple!
Andy
|
|
|
|
Re: Deploying the Web Example [message #79365 is a reply to message #79304] |
Wed, 05 October 2005 13:38  |
Eclipse User |
|
|
|
Yes, you should install the compatibility package, but you may need to do
further configuration. From the online help, which describes deploying to
Tomcat 5.5.7:
BIRT is not tested with versions of the Java run-time higher than 1.4, but
Apache Tomcat 5.5.7 runs Java 5 by default. If you use Apache Tomcat 5.5.7,
you must download and install the compatibility package from the Apache
Tomcat download site. After installing the compatibility package, you might
need to configure Apache Tomcat to use the Java 1.4 run-time. For
information on configuring Apache Tomcat to use Java run-time 1.4, see the
Apache Tomcat help pages.
--
Jane Tatchell
BIRT documentation lead
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:di0s1l$6gl$1@news.eclipse.org...
> Andy,
>
> I believe you can install the compatability package or you can
> Stop Tomcat remove the birt-viewer under webapps and copy the birt.war
file
> located under the birt-runtime-XXX directory to the webapps directory.
> Restart Tomcat and this should fix the problem.
>
> Jason Weathersby
> BIRT PMC
>
> "Andy" <andy.lawton@siemens.com> wrote in message
> news:di04rh$279$1@news.eclipse.org...
> >I have tried to follow the example here:
> > http://www.eclipse.org/birt/index.php?page=deploy/viewer-dep loy.html and
> >attempt to get it working. I downloaded and installed Tomcat for XP
> >(version 5.5.9, the exe, not the zip) and it installed and ran OK, after
a
> >bit of messing around to get the manager application to work. If I follow
> >the example in the above link, then I get a whole series of errors - here
> >they are:
> >
> > SEVERE: Servlet.service() for servlet ViewerServlet threw exception
> > java.lang.NoSuchMethodError:
> >
org.apache.jasper.runtime.JspRuntimeLibrary.include(Ljavax/s ervlet/http/Http
ServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava /lang/String;Lja
vax/servlet/jsp/JspWriter;Z)V
> > at layout.frame.NavigationToolbarFragment_jsp._jspService(Unkno wn
Source)
> > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:252)
> > at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:173)
> > at
> >
org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDispatcher.
java:672)
> > at
> >
org.apache.catalina.core.ApplicationDispatcher.doInclude(App licationDispatch
er.java:574)
> > at
> >
org.apache.catalina.core.ApplicationDispatcher.include(Appli cationDispatcher
..java:499)
> > at
org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
> > Source)
> > at
> > org.eclipse.birt.report.viewer.aggregation.BaseFragment.call Back(Unknown
> > Source)
> > at layout.frame.NavigationRootFragment_jsp._jspService(Unknown Source)
> > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:252)
> > at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:173)
> > at
> >
org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDispatcher.
java:672)
> > at
> >
org.apache.catalina.core.ApplicationDispatcher.doInclude(App licationDispatch
er.java:574)
> > at
> >
org.apache.catalina.core.ApplicationDispatcher.include(Appli cationDispatcher
..java:499)
> > at
org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
> > Source)
> > at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doPost (Unknown
> > Source)
> > at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doGet( Unknown
> > Source)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:252)
> > at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:173)
> > at
> >
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
va:213)
> > at
> >
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
va:178)
> > at
> >
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126
)
> > at
> >
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105
)
> > at
> >
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
:107)
> > at
> >
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
> > at
> >
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:856)
> > at
> >
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
ction(Http11Protocol.java:744)
> > at
> >
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.jav
a:527)
> > at
> >
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWo
rkerThread.java:80)
> > at
> >
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
a:684)
> > at java.lang.Thread.run(Unknown Source)
> >
> > I can run Birt and create reports OK, but I need to deploy them across
the
> > web.
> >
> > Any ideas? I'm no Java expert, so please keep it simple!
> >
> > Andy
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02376 seconds