• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unreachable catch block

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I am trying to deploy .ear on websphere. I am getting the following error 'the installation of application com failed.'

ADMA5058I: Application and module versions validated with versions of deployment targets.
ADMA5018I: The EJBDeploy command is running on enterprise archive (EAR) file C:\Program Files\IBM\WebSphere\AppServer\profiles\default\wstemp\0\upload\com.ear.
Starting workbench.
Creating the project.
Building: /com-server
Deploying jar com-server
Generating deployment code
Refreshing: /com-server/ejbModule.
Building: /com-server
ejbModule/com/objectmodel/server/ejb/EJSRemoteStatelesscom_objectmodel_server_ej_cb7e8f11.java(2182): Unreachable catch block for AssociationException. This exception is never thrown from the try statement body

Shutting down workbench.
Execution Halted: Compilation Errors Reported
37 Errors, 0 Warnings, 0 Informational Messages

Any body who can suggest a solution is appreciable.

Advance thanks,
Reddy
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check the exceptions you are throwing from your ejb's. remove those exceptions which are not relevant

Shailesh
 
reply
    Bookmark Topic Watch Topic
  • New Topic