[JBoss-user] [Messaging, JMS & JBossMQ] - JMS behind NAT
Hi All, I have a problem in looking up the connection factory from the server. Server is behind the NAT. So as per the wiki/forum page procedure I have done the following changes in my server. In run.bat script I have included the nat address using -Djava.rmi.server.Hostname=IP address of the NAT -Djava.rmi.server.useLocalHostname=false This does not work. It actually displays the server internal ip address instead of the NAT address which results in communication exception. Then I have changed in my HTTP-INVOKER.sar-->jboss-service.xml to UseHostName=false. Then i tried to connect.Still the problem persisted. Then I explicitly specified the URLHOSTaddress in jms-->jbossmq-http-->metainf-->jboss-service.xml. Then i tried to connect. Then also I couldn't able to connect using my client due to the local ip address exposure. Thanks Maruthi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926055#3926055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926055 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - JNDI Lookup Behing NAT
Hi All, I have a problem in JMS Client lookup. Our present network configuration is Client <-->NAT<-->NAT<--->Server. When I try to lookup the Server from my Client I am getting an error like connection refused. But I can able to connect through browser(i.e. http). In the jndi lookup I specified the NAT address. The code can able to communicate the NAT address and able to identify the corresponding local Computer IP Address also.But I am getting connection refused exception. What could be the problem? My JNDI Lookup Code is java.util.Properties properties = new java.util.Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); properties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); properties.put(Context.PROVIDER_URL,"jnp://203.101.41.32:1099"); InitialContext iniCtx = new InitialContext(properties); Object tmp = iniCtx.lookup("ConnectionFactory"); TopicConnectionFactory tcf = (TopicConnectionFactory) tmp; I am getting the following error if try to run my client Exception in thread "main" javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.27.136 (Internal IP Address) Do I need to specify anything else? Thanks Regards Maruthi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912020#3912020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912020 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Client Communication behind NAT
Hi All, I have a problem in JMS Client lookup. Our present network configuration is Client <-->NAT<-->NAT<--->Server. When I try to lookup the Server from my Client I am getting an error like connection refused. But I can able to connect through browser(i.e. http). In the jndi lookup I specified the NAT address. The code can able to communicate the NAT address and able to identify the corresponding local Computer IP Address also.But I am getting connection refused exception. What could be the problem? My JNDI Lookup Code is java.util.Properties properties = new java.util.Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); properties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); properties.put(Context.PROVIDER_URL,"jnp://203.101.41.32:1099"); InitialContext iniCtx = new InitialContext(properties); Object tmp = iniCtx.lookup("ConnectionFactory"); TopicConnectionFactory tcf = (TopicConnectionFactory) tmp; I am getting the following error if try to run my client Exception in thread "main" javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.27.136 (Internal IP Address) Do I need to specify anything else? Thanks Regards Maruthi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911128#3911128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911128 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deployment problem due to session facade
Hi svandenbussche, Thank u for ur reply.So u mean to say that we must use value objects in between struts form and session facade?. Is there exist an example for using this along with struts and session facade? Thanks maruthi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875031#3875031 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875031 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deployment problem due to session facade
"maruthi_cse" wrote : Hi | I have a doubt.In our project we are using struts framework with jboss.Our project flow is | jsp to strtus form to struts action to session facade to ejb. | Now I tried to pass the form bean to a function in my session facade. | When i start the jboss it post the following error as Noclassdeffounderror due to the use of import statements which refer that form bean.I tried to move the form bean to some packages also but it still shows the same error(Alos,The class file is placed in the correct package).Can any one know the reason? | | 10:34:51,515 WARN [EJBDeployer] Verify failed; continuing | java.lang.NoClassDefFoundError: com/dhyan/erp/stores/accountmanagement/ejb/TransactionForm | | Thanks | maruthi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874568#3874568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874568 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Deployment problem due to session facade
Hi I have a doube.In our project we are using struts framework with jboss.Our project flow is jsp to strtus form to struts action to session facade to ejb. Now I tried to pass the form bean to a function in my session facade. When i start the jboss it post the following error as Noclassdeffounderror due to the use of import statements which refer that form bean.I tried to move the form bean to some packages also but it still shows the same error(Alos,The class file is placed in the correct package).Can any one know the reason? 10:34:51,515 WARN [EJBDeployer] Verify failed; continuing java.lang.NoClassDefFoundError: com/dhyan/erp/stores/accountmanagement/ejb/TransactionForm Thanks maruthi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874567#3874567 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874567 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Displaying a value in Jsp
Hi all, I am a newbie to this forum.I have a problem in displaying a data in the jsp.I will explain it with an example; say i am having a variable as <%String val="0"; val=(String)session.getAttribute("value"): System.out.println("val is"+val); %> I have developed the code as above.The variable 'val' value gets updated and correctly displayed in the console(i mean in the jboss server).However in the jsp it doesnot get updated.After refreshing the page only the value gets displayed in the jsp. Can u know the possible reason for this? Thanks maruthi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838052#3838052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838052 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user