[JBoss-user] [Clustering/JBoss] - Re: HAJNDI Access Error via HTTPS from internal VM
hi arnold, can you tell me how did u do that. I am in a jboss(2 nodes) cluster envrionment and each jboss is bound to their loal lan ip. If i access my web application, i get an error like this on the console anonymous wrote : 2006-05-01 03:16:18,916 DEBUG [org.jnp.interfaces.NamingContext] Failed to connect to localhost:1099 | javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254) | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at com.mobiapps.servicelocator.ServiceLocator.getRemoteService(ServiceLocator.java:67) | at com.mobiapps.seakey.responsecenter.ui.login.MobiappsSqlLoginModule.getRemoteHome(MobiappsSqlLoginModule.java:141) | at please guide me how to solve this thanks & regards shann View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940492#3940492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940492 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HAJNDI Access Error via HTTPS from internal VM
I tested the lookup (using HAJNDI) from the server side using the native RMI protocol by using the standard org.jnp.interfaces.NamingContextFactory and a URL of locahost:1100 and the lookup from the server side works fine. Also I tested the same using the auto-discovery feature, by setting the jnp.partitionName as a jndi property and not passing in the provider URL. This also works as well. In retrospect I decided to use the auto-discovery feature from the server side exclusively since that is within the local network and there is little need to use http here. However, it is still a mystery why lookup via HAJNDI using HTTP(S) does not work from Jboss VM. However, the client access to the cluster via HTTP works well. Perhaps someone can benefit from using the config information I posted to get cluster access via HTTP(S) instead of only JRMP/RMI. The whole goal for accessing the HAJNDI from the server side was to lookup a mbean which is a HASingleton which may reside at any box in the cluster, this access is being done using SingletonJMX Invoker (RMIAdaptor) to then lookup the hasingleton mbean, this is very nicely documented in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55794. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853325#3853325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853325 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user