Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » 2.1M5 example viewer gives NoClassDefFoundError
2.1M5 example viewer gives NoClassDefFoundError [message #148064] Sun, 26 March 2006 21:20 Go to next message
Simon Hobbs is currently offline Simon HobbsFriend
Messages: 40
Registered: July 2009
Member
1) copied zip contents into resins webapps.
2) Copy itext-1.3.jar
3) Copy prototype.js
4) restarted resin
as per instructions.

get birt index page, but when click on the example report link, the firsts
time I get:

java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
at org.apache.axis.components.logger.LogFactory.class$(LogFacto ry.java:45)
at org.apache.axis.components.logger.LogFactory$1.run(LogFactor y.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.components.logger.LogFactory.getLogFactory(L ogFactory.java:41)
at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
at
org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
com.caucho.server.dispatch.ServletConfigImpl.createServlet(S ervletConfigImpl.java:585)
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:97)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:178)
at
com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest .java:259)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 386)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
at java.lang.Thread.run(Thread.java:595)
Then any time after that I get:java.lang.NoClassDefFoundError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
com.caucho.server.dispatch.ServletConfigImpl.createServlet(S ervletConfigImpl.java:585)
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:97)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:178)
at
com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest .java:259)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 386)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
at java.lang.Thread.run(Thread.java:595)Interestingly, the index page gives
Thank you for your choosing BIRT (Business Intelligence Reporting
Tool).Viewer Version : 2.0.0Engine Version: 2.0.0When it should be 2.1?Any
ideas?
Re: 2.1M5 example viewer gives NoClassDefFoundError [message #148067 is a reply to message #148064] Sun, 26 March 2006 21:25 Go to previous messageGo to next message
Simon Hobbs is currently offline Simon HobbsFriend
Messages: 40
Registered: July 2009
Member
Forgot to mention:
Java 1.5.0
Resin 3.0.15

See updated message below (the original wasnt registering line feeds for
some reason.



"birt" <birt@ohds.co.uk> wrote in message
news:e070ja$mhd$1@utils.eclipse.org...
> 1) copied zip contents into resins webapps.
> 2) Copy itext-1.3.jar
> 3) Copy prototype.js
> 4) restarted resin
> as per instructions.
>
> get birt index page, but when click on the example report link, the firsts
> time I get:
>
> java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
> at org.apache.axis.components.logger.LogFactory.class$(LogFacto ry.java:45)
> at org.apache.axis.components.logger.LogFactory$1.run(LogFactor y.java:45)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.axis.components.logger.LogFactory.getLogFactory(L ogFactory.java:41)
> at
> org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
> at
> org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
> at java.lang.Class.newInstance0(Class.java:350)
> at java.lang.Class.newInstance(Class.java:303)
> at
> com.caucho.server.dispatch.ServletConfigImpl.createServlet(S ervletConfigImpl.java:585)
> at
> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:97)
> at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:178)
> at
> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:229)
> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest .java:259)
> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 386)
> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
> at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
> at java.lang.Thread.run(Thread.java:595)


Then any time after that I get:

>java.lang.NoClassDefFoundError
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
> at java.lang.Class.newInstance0(Class.java:350)
> at java.lang.Class.newInstance(Class.java:303)
> at
> com.caucho.server.dispatch.ServletConfigImpl.createServlet(S ervletConfigImpl.java:585)
> at
> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:97)
> at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:178)
> at
> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:229)
> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest .java:259)
> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 386)
> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
> at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
> at java.lang.Thread.run(Thread.java:595)

Interestingly, the index page gives
Thank you for your choosing BIRT (Business Intelligence Reporting Tool).
Viewer Version : 2.0.0
Engine Version: 2.0.0

When it should be 2.1?

Any
ideas?
>
>
Re: 2.1M5 example viewer gives NoClassDefFoundError [message #148092 is a reply to message #148067] Mon, 27 March 2006 09:46 Go to previous message
Simon Hobbs is currently offline Simon HobbsFriend
Messages: 40
Registered: July 2009
Member
I found the problem: the distribution &/or documentation is missing
commons-logging.jar.

i copied this from teh apache.org into the lib dir of the viewer webapp and
it worked.

Im amazed noone else had this problem.

Birt.


"birt" <birt@ohds.co.uk> wrote in message
news:e070t5$o8n$1@utils.eclipse.org...
> Forgot to mention:
> Java 1.5.0
> Resin 3.0.15
>
> See updated message below (the original wasnt registering line feeds for
> some reason.
>
>
>
> "birt" <birt@ohds.co.uk> wrote in message
> news:e070ja$mhd$1@utils.eclipse.org...
>> 1) copied zip contents into resins webapps.
>> 2) Copy itext-1.3.jar
>> 3) Copy prototype.js
>> 4) restarted resin
>> as per instructions.
>>
>> get birt index page, but when click on the example report link, the
>> firsts time I get:
>>
>> java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
>> at
>> org.apache.axis.components.logger.LogFactory.class$(LogFacto ry.java:45)
>> at org.apache.axis.components.logger.LogFactory$1.run(LogFactor y.java:45)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.axis.components.logger.LogFactory.getLogFactory(L ogFactory.java:41)
>> at
>> org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
>> at
>> org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
>> at java.lang.Class.newInstance0(Class.java:350)
>> at java.lang.Class.newInstance(Class.java:303)
>> at
>> com.caucho.server.dispatch.ServletConfigImpl.createServlet(S ervletConfigImpl.java:585)
>> at
>> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:97)
>> at
>> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:178)
>> at
>> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:229)
>> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest .java:259)
>> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 386)
>> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
>> at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
>> at java.lang.Thread.run(Thread.java:595)
>
>
> Then any time after that I get:
>
>>java.lang.NoClassDefFoundError
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
>> at java.lang.Class.newInstance0(Class.java:350)
>> at java.lang.Class.newInstance(Class.java:303)
>> at
>> com.caucho.server.dispatch.ServletConfigImpl.createServlet(S ervletConfigImpl.java:585)
>> at
>> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:97)
>> at
>> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:178)
>> at
>> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:229)
>> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest .java:259)
>> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 386)
>> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
>> at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
>> at java.lang.Thread.run(Thread.java:595)
>
> Interestingly, the index page gives
> Thank you for your choosing BIRT (Business Intelligence Reporting Tool).
> Viewer Version : 2.0.0
> Engine Version: 2.0.0
>
> When it should be 2.1?
>
> Any
> ideas?
>>
>>
>
>
Previous Topic:Database access without mysql-connector-x.x.x.jar
Next Topic:how to get Report Viewer webapps to ask for the report parameters?
Goto Forum:
  


Current Time: Sun Oct 06 11:20:04 GMT 2024

Powered by FUDForum. Page generated in 0.03675 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top