Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Jeromy Evans
Paul Benedict wrote: I can't see how this could be a Tomcat or Windows problem. With Struts 2.1.2 and setting antiJARLocking="true", I was able to undeploy. However, the necessity of the option tells me Struts (or XWork) is leaky somewhere and is not properly cleaning up its house. When running u

Re: help required in using < S:set

2008-08-24 Thread ravi_eze
the issue is solved. The corresponding signature for getSubCategories(#catId) is absent. Its fixed now.. THnaks for ur time. Ravi -- View this message in context: http://www.nabble.com/help-required-in-using-%3C-S%3Aset-tp19121396p19137857.html Sent from the Struts - User mailing list archive

Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Paul Benedict
I can't see how this could be a Tomcat or Windows problem. With Struts 2.1.2 and setting antiJARLocking="true", I was able to undeploy. However, the necessity of the option tells me Struts (or XWork) is leaky somewhere and is not properly cleaning up its house. When running under Windows, files are

Re: struts-hibernate-mysql date problem

2008-08-24 Thread Dustin Pearce
The best way to handle dates globally in your application is to use a TypeConverter by extending ognl.DefaultTypeConverter; and overriding public Object convertValue(Map map, Object object, Class aClass). You register your type converter in xwork-conversion.properties ja

ClassCastException:MultipartRequestWrapper

2008-08-24 Thread sunilmitta
Hi all, I know that this is an old problem but i couldnt get the solution anywhere.It would be good if you could direct me one. I get the ClassCastException(ClassCastException:org.apache.struts.upload.MultipartRequestWrapper) when i try to forward the a Multipart form request(I use this to upload

[OT] Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Dave Newton
> I prefer a reliable slow restart rather than > a fast redeployment with an occasional failure. That's what she said. (Had to; long, irritating weekend.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Struts 2.0.11 from 2.0.9 EL Expression problem

2008-08-24 Thread crappycrumpet
Hi Gabriel, I tried that already and just gives me "name" for listValue and "id" for listKey (as in the select box would be filled with literally the string 'id' for value and 'name' for the display value :( ). is there an ognl expression that I can use so that it evaluates the result again? Th

Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Jeromy Evans
Hi Paul, I'm not 100% sure as I've never investigated this in detail myself. Now that you've mentioned it though, I recall another issue with Struts 2 leaving files open. It related to the FreeMarker template caching and someone had setup a task to monitor open file counts at run-time. Tha

Re: FW: Add Application specific configurations

2008-08-24 Thread Gabriel Belingueres
Seems to me you could do it with a custom written interceptor. 2008/8/24 Ramez Hassan <[EMAIL PROTECTED]>: > > > > I want to reconfigure the Application per session. And a base configuration > at the application start. > Sorry for posting a vague issue like that, but let me clarify what's the > sc

Re: Add Application specific configurations

2008-08-24 Thread Gabriel Belingueres
These days, dependency injection (or IoC) containers are of common use in applications. They allow you to inject any kind of bean into your actions. S2 comes with a built in dependency injection container [1], or through the plugin mechanism, you can integrate your preferred IoC container (like Sp

Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Paul Benedict
Jeromy, I wrapped a try/finally in the init and destroy method as you and the ticket described, but there was still a memory leak that locked down the Struts 2 core library. Are you sure these are the only things to be done? @Override public void init(FilterConfig filterConfig) throws ServletExce

Default bundles with JDK6

2008-08-24 Thread Repko, Brian
We have a custom TextProvider that implements getTexts by calling ResourceBundle.getBundle(...) with a ResourceBundle.Control object in order to load the data from a database. However if we try to configure our bundles in the list of defaults (struts2.custom.i18n.resources), then they never get

Re: Error while accessing struts 1.3.8 web application in websphere 6.1 - tag library issue

2008-08-24 Thread Paul Benedict
Can you provide more information? Such as, relevant portions of your JSP including the taglib import, plus the exception stack? On Sun, Aug 24, 2008 at 11:04 AM, Bharathi Mani <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a struts 1.3.8 application which when deployed in tomcat works fine. > Bu

Fwd: Error while accessing struts 1.3.8 web application in websphere 6.1 - tag library issue

2008-08-24 Thread Bharathi Mani
Hi All, I have a struts 1.3.8 application which when deployed in tomcat works fine. But on deploying the same in Websphere 6.1, none of the struts html tags are working. I get the following error when the page is rendered: org.apache.struts.taglib.html.*formtag* (*initialization failure)* ** Can

FW: Add Application specific configurations

2008-08-24 Thread Ramez Hassan
I want to reconfigure the Application per session. And a base configuration at the application start. Sorry for posting a vague issue like that, but let me clarify what's the scope I need to define web pages and forms data in xml files that will be displayed to user by xml configuration files.

RE: Add Application specific configurations

2008-08-24 Thread Dave Newton
--- On Sun, 8/24/08, Ramez Hassan wrote: > But the application I am putting the architecture for, should > contain properties file and xml configurations that should be > loaded sometimes for the application and other configurations per > request/session. You want to re-configure the application p

RE: Add Application specific configurations

2008-08-24 Thread Ramez Hassan
I guess the usage of package.properties mainly for messages and localization text. But the application I am putting the architecture for, should contain properties file and xml configurations that should be loaded sometimes for the application and other configurations per request/session. So strut

Re: Add Application specific configurations

2008-08-24 Thread Dave Newton
--- On Sun, 8/24/08, Ramez Hassan wrote: > I need to add certain application specific configurations > into a struts application, as simple as a property bundle. > But I want it to be integrated directly with Struts framework > classes such that it's accessible from all actions and contexts. > A

Add Application specific configurations

2008-08-24 Thread Ramez Hassan
Hello folk, I need to add certain application specific configurations into a struts application, as simple as a property bundle. But I want it to be integrated directly with Struts framework classes such that it's accessible from all actions and contexts. Are there any struts-like extension to

S2 tag: mod_rewrite

2008-08-24 Thread Pascal Forget
Hi, I modified the PropertyTag to add a "formatterClass" parameter. I would like to be able to define the tag under two names in the tld file and set the formatterClass parameter based on the name. Something like this: duration com.ubeans.struts2.views.jsp.PropertyTag [...]