JBOss, Two Network Interfaces, Flex Problem

Hi,
I am using JBoss as an application server, and has a flex
application trying to reach WebServices (Apache),
located on the server.
I'm using Flex's WebService class to connect to the web
service. The machine on which JBoss is running has two
network interfaces (two ip addresses). One reachable, the
other is not (and It must be that way).
I load the web services using m_webService.wsdl =
"http:XXX/A/B/x.wsdl",
In the logs I can see that the wsdl loads, but when I try to
call to some remote method, flash tries to access it
using the unreachable IP (again it can be seen with log
file).
Does somebody knows how to solve the problem?
Does somebody knows where from flex knows the unreachable ip,
(I never pass it!)?
Thank you.

Adobe Newsbot hopes that the following resources helps you.
NewsBot is experimental and any feedback (reply to this post) on
its utility will be appreciated:
Flash, Web Services, and Data Binding:
TV: JBoss's Seam: Eliminate Complexity and Build
Next-Generation Web 2.0 Applications .... Example 3 - Not Using the
Web Service Connector or Data Binding
Link:
http://flex.sys-con.com/node/48956
Vic on Flex: asp.net c# webservice consumed by flex:
using System.Web; using System.Web.Services; namespace
Director { public class Hello : System.Web.Services.WebService ....
Flash 8, Flex 2, LocalConnection
Link:
http://viconflex.blogspot.com/2006/10/aspnet-c-webservice-consumed-by-flex.html
Flash, Web Services, and Data Binding:
The First and Only Independent Magazine for Adobe Flex
Developers .... Once opened, we can load the WSDL of a Web service
into it and Flash will parse it
Link:
http://flex.sys-con.com/node/48635
Vic on Flex: asp.net C# data webservice for Flex:
Oct 2, 2006 ... public class MemberService :
System.Web.Services.WebService .... Flash 8, Flex 2,
LocalConnection · October (8)
Link:
http://viconflex.blogspot.com/2006/10/aspnet-c-data-webservice-for-flex.html
How to send parameters to webservice and get data back:
I'm able to connect the webservice threw my Button in Flex.
.... Are you able to retrieve a valid response from the web service
using an alternative tool
Link:
http://www.flexdeveloper.eu/forums/index.php?topic=935.msg2810
web service array result undefined - ActionScript.org Forums:
Nov 28, 2007 ... web service array result undefined Flash
Remoting. ... Hi just a idea you are returning a Number aka integer
from your jboss function
Link:
http://www.actionscript.org/forums/showthread.php3?t=154047
Disclaimer: This response is generated automatically by the
Adobe NewsBot based on Adobe
Community
Engine.

Similar Messages

  • Two Network Interfaces and DNS

    Hi -
    Sorry for asking what sounds like a simple question. I'm running 10.6.2 on and early 2009 Xserve.
    I have two interfaces. One that I'm using for web traffic and the other for a SIP PBX that's running on the Xserve. I know how to point the the inbound traffic to the correct interface (web vs. SIP) through WAN to LAN rules (I have a separate pubic IP for each service), but how do tell a particular service to use that interface for outbound traffic?
    Is this done by creating a machine name locally for that interface? When I do that, I notice that in server admin, that DNS name is linked to that IP. I have outbound rules that tie that LAN IP to external IP, but I just want to make sure the Xserve is sending out traffic on the correct interface.
    Thanks!

    Static routes likely won't help here - they're based on the destination IP address and you're not likely to know that for all possible incoming connections. In addition, it's entirely possible that the same client IP establishes a web and a SIP connection so now you're hosed - you're only going to use one destination-based route for that client address.
    My first suggestion would be to simplify your network and run on a single public interface. What's your thinking behind using two interfaces here? Unless you have > 1gbps WAN link you're not going to saturate the link. Even if you do you could bond the two interfaces together to get a 2gbps link to your switch/router.
    Then you use your firewall to manage the address translation based on port (port 80 -> WAN IP 1, 5060 -> WAN IP 2).
    That said, Snow Leopard appears to support source-based routing where the default route is based on the source (i.e. server-side) IP address. This could solve your issue, but I can't confirm this since my network is architected to not use source-based routing so I haven't needed to look at that option.

  • SCVMM 2012 R2 – two iSCSI network interfaces connected to the same subnet

    I would like to configure two networks in SCVMM 2012 R2 which will be used by VMs to connect to iSCSI SAN. Both of these networks should be connected to the same subnet (192.168.100.0/24) because they will connect VMs to Dell EqualLogic using iSCSI MPIO.
    Those networks should be available on all Windows Server 2012 R2 Hyper-V cluster nodes.
    When I try to create two logical networks in SCVMM with the same subnet, I receive error (Unable to assign the subnet 192.168.100.0/24 because it overlaps with an existing subnet)
    How should I configure networking in SCVMM to allow one virtual machine to connect to the same subnet using two network interfaces?

    "How should I configure networking in SCVMM to allow one virtual machine to connect to the same subnet using two network interfaces?"
    You can achieve this by simply adding multiple vNICs to a VM - connected to the same VM Network. 
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • How to configure network interface only when cable inserted?

    Hi there,
    I was wondering if anyone here could help me with a minor configuration problem. I have a server with two network interfaces, I'll call one "internal" and the other one "external". It has NAT configured so that the "internal" interface gets served DHCP, can access the Internet, etc. My problem is that sometimes I want to run the server without anything connected to the internal interface, and at these times it seems that the boot process gets stuck on the "bringing up internal interface" part. (It's a bit hard to know exactly what's going on because the server is headless.)  I am using a script in /etc/network.d/, set to static IP address, for the internal interface.
    Does anyone know how I could configure Arch so that it only tries to bring up the internal interface if something is actually connected to the port? Otherwise I have to physically go to my server and plug in my laptop to keep the boot process going... let me know if I should provide more details.
    Thanks for your suggestions!

    ifplugd? Which is used by net-auto-wired from netcfg.

  • Oracle 10g RAC - public network interface down

    Hi all,
    I have a question about Oracle RAC and network interface.
    We're using Oracle 10gR2 RAC with two nodes on Linux Red Hat.
    Let's assume that the public network interface goes down.
    I would like to know what happens with existing connections
    on node with network interface with problems.
    Are connections frozen, actives?
    Can the users continue to use theses existing connections using the another node of RAC?
    I know that the listener goes down and any other connections is allowed.
    Thank you very much!!!!

    Tads wrote:
    Hi all,
    I have a question about Oracle RAC and network interface.
    We're using Oracle 10gR2 RAC with two nodes on Linux Red Hat.
    Let's assume that the public network interface goes down.
    I would like to know what happens with existing connections
    on node with network interface with problems.
    Are connections frozen, actives?
    Can the users continue to use theses existing connections using the another node of RAC?If the interface is down? what do you think? All connections to this node will die. How does your application handle fail-over, does it attempt to reconnect or just have a complete application failure?
    You should spend some time in a test lab where you can test this stuff for yourself. Read the documentation and there are tons of sites out there that purport to have all of your RAC/TAF/FAN/FAF questions. - I would read and trust the documentation first.
    >
    I know that the listener goes down and any other connections is allowed.
    Thank you very much!!!!

  • Multiple network interface....

    I have group (cloud) of systems and each system has two network interfaces. One interface is 172.17.0.0/19 and other is 192.168.x.x.
    The 192.168.x.x network interface is dedicated to NFS (usually). So I want to configure that interface do not listen to inetd services and SSH. I want only RPC and Portmap services should be listening on that interface. And other interface (172.17.0.0/19) for normal services.
    ( Note: all system running Solaris 9)
    --Ritesh Patel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hello.
    WHY do you want inetd not to listen on this interface?
    I do not think that is possible with inetd. If you wish to prevent users to connect from another interface you must use the "tcpd" tool (on the companion CD). However inetd will listen on the interface; tcpd will just block incoming connections.
    Martin

  • Dual network interface when joining multicast group

    Hello,
    I've have a machine with two networks interfaces, eth0 and eth1. The route table is configured to send all the multicast traffic through eth1.
    This is
    route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1
    I have the following code that joins to a multicast address to listen incoming messages in my Java application
    InetAddress group = InetAddress.getByName(multiCastAddress);
    socket = new MulticastSocket(Integer.parseInt(multiCastPort));
    socket.joinGroup(group);
    The result is that the application can not see the multicast traffic since the joinGroup operation is always done on eth0, guess because JVM selects the first one available.
    If I change the route entry to use eth0 for all the multicast traffic, the same code works perfectly, and from my Java application I can see the multicast traffic.
    This is
    route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
    Is there any way to force to join a specific network interface?
    Thanks

    The answer is staring you in the face in the Javadoc:
    http://java.sun.com/j2se/1.5.0/docs/api/java/net/MulticastSocket.html#joinGroup(java.net.SocketAddress,%20java.net.NetworkInterface)
    That bug report only concerns setNetworkInterface(), which the OP isn't using, on Linux and IPv6, and it's dated 2002.

  • URGENT !!! Two physical network interface with two completely different subnets - No bridges - cannot connect both

    This is my urgent problem:
    I have a physical machine with two physical network interfaces. I have a VMWARE player installed and a virtual machine that must use both cards on two different subnets, one directly public on the router and one intranet inside the company.
    How can I just tell one net card to go on that sub and the other on the public sub ?  Going crazy. Please help.
    Thanks,
              P.

    Using VMware Player Virtual Network Editor, create a additional bridged VMnet and bind each bridged VMnet to a different physical network adapter... on virtual machine, create a virtual network adapter to each subnet, and bind each virtual network adapter to a different bridged VMnet.
    For additional help with virtual network editor, check this KB: VMware KB: Using the Virtual Network Editor in VMware Workstation

  • Problem importing two service interfaces using the same data types

    Hi,
    I've been playing around with BPM for a while. Now I wanted to add a custom service interface to my starting event. I created the interface in ESR of CE 7.11. After importing I get this error message and I can't use the interface:
    Cannot change XsdSimpleTypeDefinition AcademicTitleCodeContent by importing the document http://sap.com/xi/APPL/SE/Global::src/wsdl/TestInterface.wsdl, because it is already defined in the document http://sap.com/xi/APPL/SE/Global::src/wsdl/rootwsdl_CustomerERPByIDQueryResponse_InService.wsdl in this project. Importing into another project might be possible.
    Of course the problem is clear, but how can I achieve importing two service interfaces that use the same data type without changing the xsd source?
    Thanks in advance,
    Mane

    Sorry for the late answer, but I am really busy at the moment.
    Unfortunately I can't the Interface and data types are already changed.
    But this happened various times. Each time I already had imported a SAP Enterprise Service into NW BPM that contains a bunch of inline data types. While creating my own interface I referenced one of those data types that are stored in a SAP namespace. After import the error message appeared.
    In the wsdl of the created interface there is a import statement for the namespace where the referenced data types origin from. Additionally there is a namespace definition xmlns:p1="SAPnamespace". In the element the type is "p1:ReferencedType". Could this maybe cause the error, because one time it is with this leading p1 in my created wsdl and once without in the SAP Service wsdl?
    Thanks and I am looking forward to next EhP of NW BPM,
    Mane

  • Problem with network interfaces

    I have installed Solaris 8 on intel. The two network adapters I have were properly
    recognised during the installation by the configuration assistant. However, after the installation none of them has the interface installed (no /etc/hostname files).
    Both network adapters are SMC PCI cards from solaris 8 hardware compatibility list.
    Any ideas? Or where to put the card's driver manually and how to set it up?

    By accessing. I mean accessing them through thier network ip address through ssh or an xterm or any other network service the zone is running.
    say I have all 3 zone running each in a xterm.
    I click on zone 1 or global zone and both this 2 xterm windown respond and I can run commands.
    If I swich to the zone 2 zterm, zone 1 and global zone freeze, and zone 2 takes 30 sec - 1 min to start responding.
    If I am in a ssh session instead of a xterm the ssh session will stop responding and session will get disconnected.

  • Deep problem with starting SOA suite when network interface is up......

    Hi
    thank you for reading my post
    I have finally installed SOA suite in Advanced mode.
    When i install the SOA suite my network interface was down and now that the network inteface is up the SOA suite does not starts.
    even if i disable the network interface and start the soa suite, i can not use it when i am connected to the network (My network IP is static).
    for example when i am connected to network EM does not opens and gives the folowing error :
    Error connecting to OPMN (is it running?): Connection refused: connect
    oracle.ias.opmn.optic.OpticBadConnectException: Error connecting to OPMN (is it running?): Connection refused: connect at oracle.ias.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:451) at oracle.ias.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:178) at oracle.ias.opmn.optic.OpmnPhone.request(OpmnPhone.java:130) at oracle.ias.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:347) at oracle.ias.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:467) at oracle.ias.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:615) at oracle.sysman.ias.studio.cluster.OpticTopologyAdminBean.getOrganizedApps(OpticTopologyAdminBean.java:540) at oracle.sysman.ias.studio.cluster.OpticTopologyAdminBean.listApplications(OpticTopologyAdminBean.java:507) at oracle.sysman.ias.studio.cluster.TopologyHelper.getApplicationsHGrid(TopologyHelper.java:1382) at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1283) at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875) at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391) at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765) at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283) at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)Is there any solution for this?

    By accessing. I mean accessing them through thier network ip address through ssh or an xterm or any other network service the zone is running.
    say I have all 3 zone running each in a xterm.
    I click on zone 1 or global zone and both this 2 xterm windown respond and I can run commands.
    If I swich to the zone 2 zterm, zone 1 and global zone freeze, and zone 2 takes 30 sec - 1 min to start responding.
    If I am in a ssh session instead of a xterm the ssh session will stop responding and session will get disconnected.

  • Server 2003 with two network cards problems

    We have a win server 2003 with two network cards. From the server we connect using a vpn client from cisco to another server. When we do that we can NOT RDC to our server because it inherits the remote IP from the vpn connection. We installed an additional NIC. We gave an static IP to connect to our local network. How can we or is there a way to tell the vpn client to use one nic card and leave the other so we can RDC to it? thanks

    It is possible to configure server to use on nic for incoming and other for outgoing, but it is not possible when vpn client is running. Also it cannot be specified as to which card to use.

  • HP LaserJet P1505n stops printing and blocks network interface

    I have been using my P1505n for over two years without any problem. But it suddenly stopped printing. The scenario is as follows:
    1. The P1505n is connected to a wired home network with reserved IP address in the DHCP server.
    2. The P1505n is used from Ubuntu 10.4, 11.4 , Windows XP and Windows 7 without any previous problems.
    3. The last partial successful print job stopped in the middle of a page leaving the rest blank: no paper jam.
    4. I have reset the printer several times: turn off + press Cancel & Go + turn on while holding the two buttons down.
    5. The first reset was successful: the toner level going from 40 to 100%. The next ones may have been successfull too.
    6. After each reset and also after each power-on, I can ping and access the embedded web server.
    7. Whenever I send a print job, the print queue on the computer (all OS behave identically) says "printing" and stops. I can cancel/remove the jobs from Ubuntu.
    8. After the printer receives the print job, it silently blocks the network interface (no ping nor web) and doesn't print anything. No movementsm no LED blinking either: just nothing happens.
    What is the reason for this problem? And how do I solve it?

    Hi firedude007,
    Welcome to the HP Forums!
    I see that your HP Laserjet P1102w stops printing files from your Mac but not on Windows, and I am happy to help!
    For further assistance, I will need to know the following information:
    The version number of the Mac Operating System. To find the exact version, visit this link. Whatsmyos.
    If the printer is connected, Wireless, or USB.
    If the printer is able to make copies by itself.
    In the meantime, I would try the following:
    Reset the printing system. Mac OS X: How to reset the printing system.
    Verify and repair disk permissions. Disk Utility 12.x: Repair disk permissions.
    Hope to hear from you, and thank you for posting!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Dhcp across two network

    Hi,
    We are running into a problem with dhcp. Diagram is attached here.
    portion on the left side belongs to Network A & right side is network B. These two networks are seperated by Firewall B.
    Firewall B has minimal rules & permits traffic between the two Network A & B. On network B , 6506 does all routing.
    The edge switch in Network B has users connected to it. But these users(vlan50) connected to this edge switch are actually belonging to Network A, they are physically attached there.
    Layer 3 interface Vlan 50 - 172.16.50.0/24 is configured on the Firewall A & on its interface , dhcp relay is pointed to 172.16.70.10 ( dhcp server).
    Firewall A does all routing for this portion in Network A.
    Appropriate routing is in place on both sides. We have created vlan 50 ( layer 2 ) in Core 6506 in Network B.
    We are trying to see if  these users (in vlan 50-172.16.50.0/24) can get an ip address via dhcp server from Network A.
    This proves to be unsuccessful.
    It will be really helpful if people can help us out.
    Thanks in advance.

    John, thanks for the reply.
    Layer 3 for Vlan 50 - 172.16.50.0 /24 is configured on Firewall A . The 6506 only has vlan 50 in its layer 2 database.
    Helper address/relay pointing to 172.16.70.10 is configured on Vlan 50 interface on Firewall A.
    Both the firewalls have the broad rules which permit all traffic in between these two segment of network.
    Appreciate all inputs.

  • Two network cards configuration

    Hi
    I have problem with my network - I have two network cards and it seems they can't live both but I need them both so:
    1st card (rtl8139) is connected to cable modem and gets ip by DHCP (eth0="dhcp" in rc.conf)
    2nd card (nv forcedeth) is connected to router and gets ip by DHCP too (eth1="dhcp")
    When I start them both -> 1st and 2nd card gets good IP by DHCP but when I want to ping google.com for example packet is lost.
    What I want ? I want to use my eth0 (1st card) for internet and my 2nd card for local network.
    ##EDIT##
    My resolv.conf is 192.168.1.1 but I need DNS from 1st interface -> how to do this?
    Last edited by cpu (2007-02-22 22:46:09)

    Messy setup IMO, but anyway....
    Your faulty resolv.conf is the reason you can't ping google. Edit it manually as required, and then use the -R flag in /etc/conf.d/dhcpcd to prevent it being overwritten. DHCP on both interfaces will probably cause routing issues as well, in which case you will need the -G flag.

Maybe you are looking for