[Beginners Corner] - Re: Problems: Configuring JBoss 4.0 in Red Hat Enterprise 4.
by PeterJ
What is linux.conf? (From my question, you probably guessed that I have never changed it.) Nor have I changed any other scripts. Have you even tried the steps I outlined? I have run JBoss AS on RHEL 4, SUSE 9, FC4, FC5 and FC6, and in every case the steps I have outlined previously have worked.
Caveats: I always unzip the JBoss AS zip file into /opt (yielding, for example, /opt/jboss-4.0.5.GA). (Well, not always, I often download the source distribution of grab the source straight from Subversion and compile it myself, but even those always go into /opt or /opt/jboss.) I always did this as my own login id (not as root), so I did have to first grant myself access to /opt. And when I ran JBoss AS I ran it as my own login id.
On every machine I have had root access. But you don't even need that if you install JBoss AS in your home directory. By default, JBoss AS does not use any of the reserved IP ports (1..1023), so running as non-root is not an issue.
As long as you run the browser from the same machine and use http://localhost::8080 to access the server, or run client apps on the same machine and use port 1099 to access JNDI (and various other ports such a 1098, 4444 and 4445), you don't even need to configure your firewall.
Once again I am wondering what exactly it is that you are attempting to do. And no, determining what configuration files to change is NOT your goal. Changing configuration files is what you assume you need to do to accomplish your goal. Perhaps if you could clarify your actual goal... (So far, I have assumed that your goal is to install JBoss AS, which is what you specified in your second post.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000137#4000137
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000137
19 years, 3 months
[Clustering/JBoss] - Re: Load balance policy problem
by xyoungli
Thanks for your response. I forgot to mention some application details. We have two SLSBs, ejb1 and ejb2, in a cluster of two server instances. In my test, I first lookup home objects and create one ejb1 instance and one ejb2 instance. Then an infinite loop is entered where a simple method is called on ejb1 and thenn on ejb2. At the same time, server one is stopped. My custom load balance policy for ejb2 is first called with 2 targets, then with 1, while custom load balance policy for ejb1 is called with 1 correctly.
In a second test, I created only ejb1, and my custom load balance policy is called with the right number of targets after server stop/restart.
Is there a way to avoid the wrong number of targets in custom load balance policy?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000134#4000134
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000134
19 years, 3 months
[JBoss Seam] - invoke a action method everytime a page is accessed FROM ano
by antispart
I have a SFSB in conversation scope. But I want to have the option of passing it request parameters.
So, for example:
<s:link value="Search" action="search">
| <f:param name="searchPattern" value="#{oldbean.searchPattern}"/>
| </s:link>
Now, I need some way of telling the searchActionBean to use the RequestParameter searchPattern instead of another one living in conversation scope (they cant be the same property b/c of some other complication).
Now, if i put an action=... in pages.xml this will get called everytime the page/view is accessed. Instead I only want this action method to be invoked when the request parameter comes in. I thought I could stick a call to this method in the setter but the setter seems to be called regardless of whether the RequestParameter is specified.
Anyone have any ideas what i can do?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000128#4000128
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000128
19 years, 3 months