aspose file tools*
The moose likes Struts and the fly likes Deploy Spring+Struts+GlassFish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Deploy Spring+Struts+GlassFish" Watch "Deploy Spring+Struts+GlassFish" New topic
Author

Deploy Spring+Struts+GlassFish

Geoffrey Laurens
Greenhorn

Joined: Sep 19, 2006
Posts: 24
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? Thanks Before.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38881
    
  23
We have a forum dedicated to Struts; I think it best I move this thread there.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

This is actually a container-specific Spring question.

Dave
Geoffrey Laurens
Greenhorn

Joined: Sep 19, 2006
Posts: 24
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.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You'd be better off asking on a GlassFish or Spring mailing list or forum, no?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploy Spring+Struts+GlassFish