WAR « Web « Spring Q&A





1. How to externalize a Spring MessageSources bundle outside the WAR    stackoverflow.com

I have to externalize the Spring MessageSources bundle for i18n support (properties files) outside the classpath in order to modify properties more easily. How can I do that ?

<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
 ...

2. Deploying war issue with spring frame work    stackoverflow.com

I am getting an exception when I am trying to deploy my project on linux machine, I am using Spring and hibernate framework for my project. Following is the error ...

3. Is it possible to locate a Spring non-web context from a web context?    stackoverflow.com

I have a Spring app which launches a REST Service within an embedded instance of Jetty, which itself is launched from Spring. The initial Spring context has an integration and database layer, ...

4. War to War invocation in same JVM    forum.springsource.org

If I have two wars running in the same WebLogic instance and I want to call a method from one of the wars to the other, do I need to use ...

5. TC Server - Deploying War    forum.springsource.org

I have a WAR file that I want to deploy which I compiled via Maven. I am using SpringSource and trying to deploy this application to the server instance. I am ...

6. CHKJ3000E: WAR Validation Failed ?    forum.springsource.org

CHKJ3000E: WAR Validation Failed ? Hi, I am using the Flex addon to Roo and built a basic application. I got some missing class exceptions ( - Newbie side questions i) ...

7. FreeMarkerConfigurationFactory FileTemplateLoader not loading templates outside war    forum.springsource.org

FreeMarkerConfigurationFactory FileTemplateLoader not loading templates outside war I am trying to load templates that are external to my war. The location of the templates has been added to the classpath of ...

8. War file    forum.springsource.org

War file Hi, I have built a Java application using the Spring MVC template project. From STS I can run it and it works as expected. Now I would like to ...

9. Parsing a xml file outside WAR    forum.springsource.org

Hi All, I am deploying my application as .war in BEA weblogic. Now I would like to place some configurations on a xml outside the war and to read the data ...





10. Reading a XML file outside WAR    forum.springsource.org

Hi All, I have a xml file with some parameters which is placed outside the war. I need to read the xml file and get the values in them inside my ...

11. Keeping config files out of the .war    forum.springsource.org

Keeping config files out of the .war We've got a Spring app doing all the usual things with datasources. Notably, pulling datasource info (url, username, password, etc.) from a separate property ...

12. How to make License for war file    forum.springsource.org

I want to give my war file to customer to setup their server. but i want to make my war file license one so that they should be able to deploy ...

13. applicaitoncontext.xml outside the war file    forum.springsource.org

applicaitoncontext.xml outside the war file Hi All I have a problem that i move applicationContext.xml file outside of the war file in the classpath. In my struts action class i am ...

14. Load ResourceBundle from outside WAR file    forum.springsource.org

I have a requirement to load a resource bundle from outside the war file using ReloadableResourceBundleMessageSource. I've tried the following basename settings with no success. C:/etc/myproject/content is the file system and ...

15. Redirect to JSP in different war...    forum.springsource.org

Hi all, I have an application where: after completing the logic i need to forward to a JSP in different WAR using spring controller. I am using MultiAction controller. how can ...

16. hbm mappingDirectoryLocations doesnt work in war    forum.springsource.org





17. mappingDirectoryLocations doesnt work in a war archive    forum.springsource.org

i guess weblogic 8.1 dont unpack the war , so getrealpath return null it seem that i must use mappingResources,but i have almost one hundred tables, too hard ... Is there ...

18. Storing template outside war?    forum.springsource.org

Storing template outside war? Hi Gang, I know this is a bit more of a general Java problem than one specific to Spring, but since I have been having trouble finding ...

19. Does Spring offer a blank.war?    forum.springsource.org

Just curious if there is something like Struts has with a "blank.war" that throws out the web.xml, applicationContext.xml, etc for a new Web Application that uses Spring MVC and Spring DI? ...

20. Spring shares context between independent WAR files    forum.springsource.org

Dec 18th, 2007, 10:39 AM #1 xmaniac View Profile View Forum Posts Private Message Senior Member Join Date Dec 2005 Posts 147 Spring shares context between independent WAR files Hi, We're ...

21. Multiple Spring containers, same WAR    forum.springsource.org

Multiple Spring containers, same WAR Does anyone know if it's possible to have both a Spring 1.2.x container and a Spring 2.5.x container in the same web application where they can ...

22. WAR deploy in 1.1.0-m1 vs. 1.1.0-m2?    forum.springsource.org

WAR deploy in 1.1.0-m1 vs. 1.1.0-m2? I have a WAR deploying just fine in 1.1.0-m1 (using the web extender with Tomcat). The MANIFEST.MF file looks like this: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 ...

23. Problem packaging spring into WAR file    forum.springsource.org

May 8th, 2008, 09:23 AM #1 nowonder View Profile View Forum Posts Private Message Junior Member Join Date May 2008 Posts 3 Problem packaging spring into WAR file Hello All, Not ...

24. WAR deploys with 1.1.0-rc1, but not 1.1.0    forum.springsource.org

My little sample no longer deploys when I specify 1.1.0, but it still works when I use 1.1.0-rc1. It seems the 1.1.0 web-extender parses the web bundle, but doesn't consider it ...

25. Strange behaviour with Interceptors building WAR    forum.springsource.org

Strange behaviour with Interceptors building WAR It's a really strange thing... I use interceptors (one to set up my HttpSession with a path, in a pre-handle method, or setting the request ...

26. unable to find path to iimages in my war file    forum.springsource.org

unable to find path to iimages in my war file Hi, Should be a very simple thing but having a hard time here. I have a URL to an image in ...

27. How can I accelerate WAR Deploy speed ?    forum.springsource.org

Jan 29th, 2009, 09:49 PM #1 guruguru View Profile View Forum Posts Private Message Junior Member Join Date Jan 2009 Posts 1 How can I accelerate WAR Deploy speed ? I'm ...

28. Communication between two war files without hardcoding the context root    forum.springsource.org

I have an ear application which has two war files. The first web application is using struts frame work and the second one is using spring framework. In the application on ...

29. Communication between two war files without hardcoding the context root    forum.springsource.org

I have an ear application which has two war files. The first web application is using struts frame work and the second one is using spring framework. In the application on ...

30. pet-clinic buid war fails    forum.springsource.org

pet-clinic buid war fails Hi All, I'm trying to build and deploy the petclinic sample provided with the latest Sptring distribution spring-framework-3.0.0.M2. The build and deployment section of the readme.txt file ...

31. i could not deploy war file in ibm portal server??????    forum.springsource.org

Jun 15th, 2009, 10:54 PM #1 murali81 View Profile View Forum Posts Private Message Junior Member Join Date Jun 2009 Posts 1 i could not deploy war file in ibm portal ...

32. Configuration outside of .war file ?    forum.springsource.org

I have a web application with Spring Security that I distribute to multiple customers, with different security contexts. To ease upgrade, I want to put the configuration out of the war ...

33. Using a shared parent application context in a multi-war Spring application    forum.springsource.org

Using a shared parent application context in a multi-war Spring application Their is already discussion going on this topic in this forum I have related question http://blog.springsource.com/2007/06...comment-172050 -------------------------------------------------------------------------- I tried to ...

34. Unable to deploy war in one environment but not in others    forum.springsource.org

Unable to deploy war in one environment but not in others Hello, I am unable to deploy an application (war file) at work while the same application is deployed smoothly at ...

35. messageResource in several War Archives    forum.springsource.org

messageResource in several War Archives Hello. I am having some issue with the messageResource, and I was wondering if the experts can give me some lights here.. I have several war ...

36. Ofuscated Spring Web(War)    forum.springsource.org

Hello there, I am looking for success stories about using Spring Web an open source ofuscator like Proguard. I hope someone tried it and would like to share the experience and ...

37. Unable to use Log4jWebConfigurer to load config file located outside the WAR    forum.springsource.org

Unable to use Log4jWebConfigurer to load config file located outside the WAR In my production environment, I have a requirement to load a Log4j configuration file that is located outside of ...