I have two instances on JBoss (one instance for development test and the other one for QA). They both contain the same war files... so they both have the same applications with the same context root. They are running on different jk2 ports.
In my httpd.conf, I have this:
ProxyPass /app1 ajp://localhost:8009/app1
ProxyPass /app2 ajp://localhost:8009/app2
so when someone goes to http://www.mydomain.com/app1 or http://www.mydomain.com/app2 that works.
What I want to do is add:
ProxyPass /dev/app1 ajp://localhost:8010/app1
ProxyPass /dev/app2 ajp://localhost:8010/app2
so that when someone goest to http://www.mydomain.com/dev/app1, it goes to the second instance of JBoss.
I have yet gotten this to work (or is it even possible??)
If not... any suggestions on how to go about this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973034#3973034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973034
I am currently usign the JBoss4.0.4 and the EJB3 release that is included with it. I have been using this http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html as my basis for understanding how jboss clustering works, but I think my understanding of it may be wrong. I am currently running with a cluster of two app servers on the same partition called app1 and app2.
Here is my test:
1. My external client program connects to the cluster via HAJNDI(port 1100) and gets a client stub to a session bean by doing a lookup on an initial context.
2. It then makes some calls to the ejb using this stub and caches the stub in variable.
3. I see which of the app servers handled the request and shut it down but leave the other one running.
4. Now I use the stored stub on the client to make the same call to the cluster as before but it fails.
>From the clustering doc mentioned above, I was under the impression that step 4 should have worked and that the stubs handled failover. Is this assumption incorrect, or am I missing something??
any help with this would be greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973033#3973033
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973033
Hi @All,
i want to intecept unhandled exceptions in my webapplication that consists out of jsps and beans and send myself the exception plus the full stacktrace including the causes via mail. if take a look in my log4j logfile i see error messages that are containing the full stacktrace including the causes for an exception. If i use the context filter and catch the exception at this point, i don't get the causes - briefly saying it seems that i don't get the top exception that is "Servlet.service() for servlet FacesServlet threw exception".
I wonder if somebody can help me out. I also could parse the log4j logfile but i think there must be a better way.
Many thanks in advance,
Ingo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973030#3973030
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973030
Hi,
i suspect I am having a db issue reagarding my tables. I saw on google that someone had a problem with a missing setup.dll file for the forums...I don't have that file either form the download I did yesterday from svn. My point is, the setup.sql only brings some dummy data to insert in 3 tables that I do not have in my DB. I did found a script in the net to create those tables but I think is for the version 2.2 of the forums....
Anybody has that setup.dll file?
Thanks,
Mariella.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973026#3973026
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973026