You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by shruts <sh...@gmail.com> on 2012/10/08 12:59:22 UTC

Re: Does Wicket creates session (in work folder) when deployed on jboss?

hi

I have implemented a logic with which i'm removing the vesrions appended in
the url. but still then i'm unable to resolve the issue of page store in
jboss.

Is there any work around with which i may over-write the pm_null file
(generated for each session) on every request made? This may reduce the file
size and may my application work fine.




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-creates-session-in-work-folder-when-deployed-on-jboss-tp4652363p4652740.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Does Wicket creates session (in work folder) when deployed on jboss?

Posted by smsmaddy <sm...@gmail.com>.
Wicket 1.4.17 is used in the application. For every request, under the
deployed component work folder...a file pm-null is getting created and is
growing upon subsequent requests from the same session. And this is
consuming more disk space, which leading to system crash. Tried, but was not
possible to remove the cache..from the running session. Can someone suggest
how to get rid of this issue? 

DiskPageStore is used in the implemented version 1.4.17



-----
//Maddy
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-creates-session-in-work-folder-when-deployed-on-jboss-tp4652363p4652762.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Does Wicket creates session (in work folder) when deployed on jboss?

Posted by shruts <sh...@gmail.com>.
please provide any suggestion.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-creates-session-in-work-folder-when-deployed-on-jboss-tp4652363p4652832.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Does Wicket creates session (in work folder) when deployed on jboss?

Posted by shruts <sh...@gmail.com>.
I'm already using DiskPageStore something like this 

MAX_OPEN_FILES_FOR_DISK_STORE = 100;

int maxSession = (calculated programatically) is around 10 MB / session

int maxPageMap = maxSession - (int) Bytes.megabytes(1).bytes();
DiskPageStore store = new DiskPageStore(maxPageMap, maxSession,
MAX_OPEN_FILES_FOR_DISK_STORE); 

But is there any way i can over-write the pm_null file on every request.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-creates-session-in-work-folder-when-deployed-on-jboss-tp4652363p4652743.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Does Wicket creates session (in work folder) when deployed on jboss?

Posted by Martin Grigorov <mg...@apache.org>.
Read the document I mentioned in my previous answer.
You can provide your own impl of IPageManager/IPageStore/IDataStore

On Mon, Oct 8, 2012 at 1:59 PM, shruts <sh...@gmail.com> wrote:
> hi
>
> I have implemented a logic with which i'm removing the vesrions appended in
> the url. but still then i'm unable to resolve the issue of page store in
> jboss.
>
> Is there any work around with which i may over-write the pm_null file
> (generated for each session) on every request made? This may reduce the file
> size and may my application work fine.
>
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-creates-session-in-work-folder-when-deployed-on-jboss-tp4652363p4652740.html
> Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com