• 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Deploy Spring+Struts+GlassFish

Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Java Master,

i'm new using GlassFish. this is my first time using GlassFish. Before Using glassfish, i deploy my application using Tomcat 6. Now i'm trying to change it using glassfish. With Tomcat 6 there is no problem. i put all my applicationContext.xml in WEB-INF/classes. but in GlassFish my applicationContext wouldn't be loaded by glassfish, even when i put my applicationContext.xml in WEB-INF/classes. so when i'm trying to call some beanId, then error message appear, said than there is No Bean Name "xxxxx". Is there something that i miss?

i load the applicationContext using this code :

i use "applicationContext-*.xml" because i have more than 1 applicationContext. in Tomcat 6 there is no problem. but in glassfish the applicationContext wouldn't be loaded.

Thanks Before.
Oh the stink of it! Smell my tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!