| Author |
Message |
|
|
Post subject: Unable to find listeners
Posted: Apr 08, 2008 - 11:32 AM
|
|
Registered Member


Joined: Jul 11, 2006
Posts: 21
|
|
I'm trying to run the example application in MyEclipse Reports Tutorial - The Basics. On startup Tomcat gives the following messages:
SEVERE: Error configuring application listener of class org.eclipse.birt.report.listener.ViewerHttpSessionListener
java.lang.ClassNotFoundException: org.eclipse.birt.report.listener.ViewerHttpSessionListener
and
SEVERE: Error configuring application listener of class org.eclipse.birt.report.listener.ViewerServletContextListener
java.lang.ClassNotFoundException: org.eclipse.birt.report.listener.ViewerServletContextListener
So it seems Tomcat can't find the listener classes. Where should these classes be located? How can I correct this problem? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to find listeners
Posted: Apr 08, 2008 - 06:34 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8012
|
|
Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
Were you able to setup the MyEclipse Reports update successfully after installing MyEclipse ? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to find listeners
Posted: Apr 09, 2008 - 07:29 AM
|
|
Registered Member


Joined: Jul 11, 2006
Posts: 21
|
|
There were no problems setting up the MyEclipse Reports.
Here are the installation details:
*** Date:
Wednesday, April 9, 2008 9:23:27 AM EEST
** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710
Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555
Eclipse Platform
Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145
Eclipse Java Development Tools
Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: M20070921-1145
Eclipse Plug-in Development Environment
Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
Build id: M20070921-1145
Eclipse Project SDK
Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
Build id: M20070921-1145
Eclipse RCP
Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
-startup
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
1924_84
-clean
-vm
C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to find listeners
Posted: Apr 09, 2008 - 11:14 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
dipp,
Do you see the MyEclipse Reports libraries in your build path for your project? If so, can you open you project properties, go to the Java Build Path and then the Libraries tab and expand the library group there and make sure none of the JARs are marked with warning or error markers?
You can also click the "Browse" button when you have your deployment selected and drill down to your WEB-INF/lib directory of the deployed app and make sure all the reports libraries are getting there correctly... if they aren't, then we might need to restore the default build path contents... this might just be a config goof. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to find listeners
Posted: Apr 10, 2008 - 07:30 AM
|
|
Registered Member


Joined: Jul 11, 2006
Posts: 21
|
|
Thank you for your help.
I did a clean install of MyEclipse but the problem still exists.
The report libraries are on the build path (see screenshot at http://www.saunalahti.fi/tkot/libraries.jpg ) and none of them are marked with a warning or an error. I browsed to WEB-INF\lib and it's empty! How can I restore the default build path contents? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to find listeners
Posted: Apr 11, 2008 - 08:02 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
dipp,
Thank you for the screenshot. You need to browse to WEB-INF/lib for your *deployed* app, not for the project iself... the libraries are not copied into the /lib directory until deployment time.
From the deployment manager, you can select the deployment and click "Browse" to jump right to the deployed directory and check it. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 25, 2009 - 10:48 PM
|
|
Registered Member


Joined: Jul 27, 2004
Posts: 11
|
|
I am having this same problem. The WEB-INF/lib folder is either missing or empty in the deployed folders. I have tried following the tutorial, creating my own project, and downloading the Examples On Demand project. Deployments to WLS 9, and ME Tomcat behave the same -- no lib files and listener exceptions.
In the project, the "Report Web Libraries" library in the project all points to jars in MyEclipse 7.5/configuration subfolders. For some reason they are not getting copied to the deployment folders. I tried checking "Report Web Libraries" in the "Order and Export" tab of the build path dialog, but it made no difference. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 25, 2009 - 11:02 PM
|
|
Registered Member


Joined: Jul 27, 2004
Posts: 11
|
|
Just found a solution. In the projects Properties->MyEclipse->Web, Deployment tab. Under Library Deployment Policies, unchecked workbench default and checked JARs from User Libraries. When I redeployed, I got the jars into the lib folder, and the app worked. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 28, 2009 - 06:03 AM
|
|
Registered Member

Joined: May 18, 2009
Posts: 1532
|
|
cbattis,
Good to know that you are all set and thank you for posting your findings. |
_________________ Shalini
MyEclipse Support
|
| |
|
|
|
 |
|
|