[Clustering/JBoss] - Re: Clustering begginner..please HELP
by davewebb
Install Apache and configure the nodes as described in the wiki for using mod_jk1.2 with JBoss. The .so file _IS_ correct. I installed apache on my windows machine to verify that.
.so files are not made like .jar files. JAR files are just zip files with a .jar extension. .so files are "Shared Object" files that are generated via "make" when you compile the modules using --with-apache option. If you have the mod_jk module, then you shouldnt have to make anything else. Make sure you are using mod_jk1.2 and _NOT_ any later version!
Once you configure it correctly, tail the logs of your 2 jboss servers, then point your browser to your apache listener (IP and port). When you hit apache, it will invoke mod_jk and pass your request to jboss (which you will see in the log).
To test the cluster, kill the jboss server serving the requests, then go back to your browser and make another request. You should now see the other jboss server handling the requests.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015783#4015783
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015783
19Â years, 2Â months
[Installation, Configuration & Deployment] - Error in shutting down JBoss using shutdown -S
by kaiser101
I am using jboss 3.2.8 both at my workplace and home. The shutdown -S commands works perfectly all right at my workplace. However, at home I get the following. I have to shut down jboss using Ctrl+C and I hate doing that. Can you please help me out?? Attached below is the stack trace
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\jboss-3.2.8.SP1\bin>shutdown -S
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy1.shutdown(Unknown Source)
at org.jboss.Shutdown.main(Shutdown.java:237)
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishme
nt; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274
)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Sour
ce)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo
kerProxy.java:149)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerIntercep
tor.java:241)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
a:181)
at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientIntercepto
r.invoke(InvokerAdaptorClientInterceptor.java:75)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7
0)
at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodIntercepto
r.java:70)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy0.invoke(Unknown Source)
at org.jboss.Shutdown$ServerProxyHandler.invoke(Shutdown.java:266)
... 2 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:333)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215
)
... 14 more
Press any key to continue . . .
C:\jboss-3.2.8.SP1\bin>
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015777#4015777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015777
19Â years, 2Â months
[JBoss Seam] - Please Help (multiple row operations in a data table)
by ask4saif
Dear fellows,
the problem is i want to perform multiple row deletion in a datatable. here is my code, it is the exact copy of the code given in the dvd example.
| <h:dataTable id="hotelslist" rows="5" value="#{allHotelsList}" var="hotels" styleClass="scrollerTable" headerClass="standardTable_Header" footerClass="standardTable_Header" columnClasses="column_style,column_style,columna_style1" >
| <h:column>
| <f:facet name="header">
| <h:outputText value="Select" />
| </f:facet>
| <h:selectBooleanCheckbox value="#{hotelSelections[hotels]}" />
| </h:column>
|
| <h:column>
| <f:facet name="header">
| <h:outputText value="Name"/>
| </f:facet>
| <h:outputText value="#{hotels.name}"/>
| </h:column>
|
| <h:column>
| <f:facet name="header">
| <h:outputText value="City"/>
| </f:facet>
| <h:outputText value="#{hotels.city}"/>
| </h:column>
|
| <h:column>
| <f:facet name="header">
| <h:outputText value="Contact Number"/>
| </f:facet>
| <h:outputText value="#{hotels.phone}"/>
| </h:column>
|
| <h:column>
| <f:facet name="header">
| <h:outputText value="Action" />
| </f:facet>
| <h:commandButton value="Details" action="#{HotelsAction.showHotelDetails}" image="../images/details.gif" />
|
| </h:dataTable>
|
|
| <h:commandButton action="#{ERegHotelsAction.deleteAll}" value="DeleteAll"/>
|
In the above mentioned code, whenever i press any command button the associated action is not called by the component and the same page is redisplayed.
and if i remove the "[hotels]" EL exp from the checkbox value then it start working. I dont know what is going on, and what is the exact problem.
can anyone help me on this matter.
thanks alot in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015757#4015757
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015757
19Â years, 2Â months