[jboss-user] [JBoss Cache: Core Edition] - Re: Tuning Cache for optimum memory

2009-06-16 Thread sudarshanacharya
Oops. It stripped off the tags eviction wakeUpInterval="5000" default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" eventQueueSize="20" property name="maxNodes" value="5000" property name="timeToLive" value="6" property name="maxAge" value="100

[jboss-user] [JBoss Cache: Core Edition] - Tuning Cache for optimum memory

2009-06-16 Thread sudarshanacharya
I am using JBoss Cache 3.1.0 "Cascabel", with a single node, with mostly default configuration but this: location=/tmp/mycache This is causing a memory leak in my application, w

[jboss-user] [JBoss Portal] - Re: sendRedirect not working

2008-03-18 Thread sudarshanacharya
We have been using the beta1 version since almost a year now. Although we are planning to upgrade, we can't get away with it right now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137594#4137594 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Portal] - Re: sendRedirect not working

2008-03-18 Thread sudarshanacharya
Prabta, I am using JBoss-Portal-2.6-beta1, which is under http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509 (Glad that you are from Nepal) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137582#4137582 Reply to the post : http://

[jboss-user] [JBoss Portal] - sendRedirect not working

2008-03-18 Thread sudarshanacharya
I am calling the sendRedirect method from the processAction using the actionResponse. actionResponse.sendRedirect(absoluteURL); I get the following error. I know there was a bug with sendRedirect sometime ago. Is it still not solved? If so, how do I workaround it? I am using JbossAs 4.0.5.GA a

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configuring queue in jboss-web.xml

2007-11-14 Thread sudarshanacharya
Do you have any working examples on that? I still am not able to figure this out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104792#4104792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104792

[jboss-user] [Messaging, JMS & JBossMQ] - Configuring queue in jboss-web.xml

2007-11-09 Thread sudarshanacharya
I am trying to set up the queue in jboss-web.xml. My listener class implements MessageListener,and doesnt implemnet MessageDrivenBean. If it were a MDB, my config in jboss to map to jndi would be: SomeClass queue/QueueA jms/test/TestQueue ConnectionFactory and in my ejb-jar.xml, it would be

[jboss-user] [JBoss Portal] - Re: correct use of processAction and doView

2007-07-13 Thread sudarshanacharya
How about the form validation, and returning to the form with fields populated? How do you do that? Any examples? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064019#4064019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[jboss-user] [JBoss Portal] - Re: correct use of processAction and doView

2007-07-11 Thread sudarshanacharya
setRenderParameter(name, value) takes only string parameters.Is there any method for objects in processAction to be rendered tio doView without putting in session?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063126#4063126 Reply to the post : http://www

[jboss-user] [JBoss Portal] - Re: correct use of processAction and doView

2007-07-09 Thread sudarshanacharya
"If you want to void that then you should store the error message in the PortletSession and remove it from the session during the render." >> This is what I am uncomfortable with. I have built a whole web portal using >> JBP, but I have to put so many objects and messages in session scope from

[jboss-user] [JBoss Portal] - correct use of processAction and doView

2007-07-06 Thread sudarshanacharya
While processing the data in processAction(), I catch an error. How do I transfer that error message to doView() so that I can render my jsp page? I don't want to put every of the error message in session, to make them available to doView or jsp. In broader terms, how do you guys do error handli

[jboss-user] [JBoss Portal] - Portlet modes

2007-02-26 Thread sudarshanacharya
I have a portlet with different modes. Form the default page (mode), there are links to the various modes. The default page is accessed through a navigation link. It works fine for all the modes. But when I refresh the page from the explorer, the default page shows up regardless of which mode I

[jboss-user] [JBoss Portal] - Splitting a big portlet

2007-02-20 Thread sudarshanacharya
I have to write a big Portlet. The page consists of different hyperlinks to add, edit and delete functionalities (at least 15 functionalities). Each of these functionalities are completed in different steps. I have the business layer ready for everything, but my problem is only to call & organiz

[jboss-user] [JBoss Portal] - Re: Is it okey to put the logic within doView method instead

2007-02-13 Thread sudarshanacharya
Thank you so much for the suggestion. Is there any example how you can appropriately split a portlet in different classes? Do I have to pass a lot of parameters as arguemts into the methods of such classes? Can I subclass a portlet? What is the better way to do that? Are there any kind of portl

[jboss-user] [JBoss Portal] - Is it okey to put the logic within doView method instead of

2007-02-13 Thread sudarshanacharya
My portlet is extremely big because of different events. If I put all the logic in the processAction, I end up putting everything in session so that I can access it from my jsp (I have lots of data to render the jsp with). But if I put the that logic in doView, I can access it in jsp with reqest

[jboss-user] [JBoss Portal] - Portlet Handlers??

2007-02-10 Thread sudarshanacharya
I am relatively new to JBoss Portlet. Currently I a writing a few portlets, and some of them are really big, as there are lot of events in the Portlet. Is there any way to manage all those events by having some kind of Handler classes or Subclasses and just calling them in the main Portlet. How

[jboss-user] [JBoss Portal] - Re: Problem running HelloWorldPortlet

2007-01-25 Thread sudarshanacharya
Thank you. It is working fine now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006444#4006444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006444 ___ jboss-user mailing l

[jboss-user] [JBoss Portal] - Re: Problem running HelloWorldPortlet

2007-01-25 Thread sudarshanacharya
Thanks Prabhat. That works now. There already is a hsqldb-ds.xml file within the deploy directory which has the same information. Are these two files hsqldb-ds and portal-hsqldb-ds.xml each necessary? Actually, now I have a whole running portal application to deploy. It connects to a posgresql

[jboss-user] [JBoss Portal] - Problem running HelloWorldPortlet

2007-01-25 Thread sudarshanacharya
I am new to JBoss Portal. I am trying to run the HelloWorldPortlet. This is what I did: 1. My JBoss server runs fine. 2. I copied jboss-portal.sar under C:\jboss-4.0.5.GA\server\default\deploy\jboss-portal.sar 3. I put HelloWorldPortlet.war to the same directory. I tried to access, but I receive