• Post Reply Bookmark Topic Watch Topic
  • New Topic

Plz Help me out ....Integrating OpenReports with Jboss server in Eclipse Environment  RSS feed

 
Nawaz Ahmed
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to OpenReports.
can any one tell me, how to deploy OpenReports in Jboss server using Eclipse Environment.


Regards,
ahmed
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What error you are you getting?
 
Nawaz Ahmed
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Firstly I have copy the OpenReports.war into ..../server/default/deploy folder.

I have setted the classpath for commons-logging-api-1.0.4.jar and log4j-1.2.8.jar.

OpenReports.war was deploying sucessfully, and when i run the url in the browser i.e., http://localhost:8080/openreports , then it is showint the login page.

when I submit the login page, I am getting the error which is printed on console.

javax.servlet.ServletException: Servlet execution threw an exception
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:69)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
net.sf.hibernate.cfg.Configuration.<clinit>(Configuration.java:91)
org.efs.openreports.providers.persistence.SessionFactoryProvider.<init>(SessionFactoryProvider.java:20)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
java.lang.Class.newInstance0(Class.java:308)
java.lang.Class.newInstance(Class.java:261)
com.opensymphony.xwork.ObjectFactory.buildBean(ObjectFactory.java:86)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.setupAndOptionallyCreateResource(DefaultComponentManager.java:189)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.loadResource(DefaultComponentManager.java:156)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.initializeObject(DefaultComponentManager.java:98)
org.efs.openreports.providers.persistence.HibernateProvider.<init>(HibernateProvider.java:44)
org.efs.openreports.providers.persistence.UserPersistenceProvider.<init>(UserPersistenceProvider.java:37)
org.efs.openreports.providers.impl.UserProviderImpl.<init>(UserProviderImpl.java:42)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
java.lang.Class.newInstance0(Class.java:308)
java.lang.Class.newInstance(Class.java:261)
com.opensymphony.xwork.ObjectFactory.buildBean(ObjectFactory.java:86)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.setupAndOptionallyCreateResource(DefaultComponentManager.java:189)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.loadResource(DefaultComponentManager.java:156)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.initializeObject(DefaultComponentManager.java:98)
com.opensymphony.xwork.interceptor.component.ComponentInterceptor.before(ComponentInterceptor.java:33)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:280)
com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:250)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:69)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need some required library, this is my prima facie observation.

Download jar file from here, put in class path and try again. If you face any post here.
[ October 27, 2005: Message edited by: Chetan Parekh ]
 
Nawaz Ahmed
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have copy the commons-logging.jar into lib folder and I set this jar in classpath ,
but it is giving the same error............ what to do
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post your error code again.
 
Nawaz Ahmed
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chetan Parekh:
Post your error code again.


javax.servlet.ServletException: Servlet execution threw an exception
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:69)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
net.sf.hibernate.cfg.Configuration.<clinit>(Configuration.java:91)
org.efs.openreports.providers.persistence.SessionFactoryProvider.<init>(SessionFactoryProvider.java:20)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
java.lang.Class.newInstance0(Class.java:308)
java.lang.Class.newInstance(Class.java:261)
com.opensymphony.xwork.ObjectFactory.buildBean(ObjectFactory.java:86)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.setupAndOptionallyCreateResource(DefaultComponentManager.java:189)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.loadResource(DefaultComponentManager.java:156)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.initializeObject(DefaultComponentManager.java:98)
org.efs.openreports.providers.persistence.HibernateProvider.<init>(HibernateProvider.java:44)
org.efs.openreports.providers.persistence.UserPersistenceProvider.<init>(UserPersistenceProvider.java:37)
org.efs.openreports.providers.impl.UserProviderImpl.<init>(UserProviderImpl.java:42)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
java.lang.Class.newInstance0(Class.java:308)
java.lang.Class.newInstance(Class.java:261)
com.opensymphony.xwork.ObjectFactory.buildBean(ObjectFactory.java:86)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.setupAndOptionallyCreateResource(DefaultComponentManager.java:189)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.loadResource(DefaultComponentManager.java:156)
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.initializeObject(DefaultComponentManager.java:98)
com.opensymphony.xwork.interceptor.component.ComponentInterceptor.before(ComponentInterceptor.java:33)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:280)
com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:250)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:69)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!