Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Unreachable catch block

Posts: 15
  • Mark post as helpful
  • send pies
  • 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/ 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,
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the exceptions you are throwing from your ejb's. remove those exceptions which are not relevant

A magnificient life is loaded with tough challenges. En garde tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic