RMI differents machines

Hey guys! I'm spanish man and my english is not very good.
Well, my problem is that server RMI is launched on port 1099 and the command line is like:
start java -classpath C:\xxx\xxx\xxx\xxx\xxxx.jar
-Djava.rmi.server.hostname=<NAME_MACHINE> -Djava.rmi.server.codebase=file:C:\xxx\xxx\xxx\xxx\ Server.Server -Xmx512
-Djava.security.policy=C:\xxx\xxx\xxx\xxx\java.policy engine.ComputeEngineand source:
Integer port  = 1099;
try {
            Server obj = new Server();
            MyFile stub = (MyFile) UnicastRemoteObject.exportObject(obj, 0);
            // Bind the remote object's stub in the registry
            Registry registry = LocateRegistry.createRegistry(port);
            registry.rebind("Traduction", stub);
            System.out.println("Server ready on port: " + port + "\n\n");
            Calendar cal = Calendar.getInstance();
            String fecha = " " + cal.getTime();
            System.out.println(fecha);
            for (int i = 0; i < fecha.length() + 1; i++) {
                System.out.print("-");
            System.out.println("\n");
        } catch (Exception e) {
            System.err.println("Server exception: " + e.toString());
            e.printStackTrace();
Client source:
if (System.getSecurityManager() == null) {
            System.setSecurityManager(new RMISecurityManager());
        System.setProperty("java.rmi.server.hostname", "<NAME_MACHINE>");
try {
            Registry registry = LocateRegistry.getRegistry(finalsVar.REMOTE_HOST);
            MyFile stub = (MyFile) registry.lookup("Traduction");
            response = stub.getFile(fichero);
        } catch (RemoteException re) {
            System.out.println("REMOTE_EXCEPTION");
            re.printStackTrace();
        } catch (NotBoundException nbe) {
            System.out.println("NOT_BOUND_EXCEPTION");
            nbe.printStackTrace();
        } catch (java.lang.ArithmeticException ae) {
            System.out.println("ARITHMETIC_EXCEPTION");
            ae.printStackTrace();
        }finalsVar.REMOTE_HOST is static IP of my server.
Then If I run the RMI applicattion on the same LAN and differents machines server/cleint, all works fine! But, when I run it out of the same LAN, Exception --> <<Connection Refused to 192.168.1.51>>, that IP is the local IP of my server in the LAN.
How I solve this problem?
Before nothing, Thanks!

If both data are the same, it causes an exception on the client. I can't remember it, because I'm not at work, I'm home.
How would run the server if you had the client on a different LAN where is the server?
In fact, these data should be the same?
I think the source is correct, no? But the parameter to start the server may be not correct.
I need help, I have several days trying to find the solution, but can't find it.
Once again, I'm sorry for my english.

Similar Messages

  • Problem in Rmi in machine with two IP local & internet

    I am having problem in Rmi in machine with two interfaces local & internet
    i.e..
    if I set property java.rmi.server.hostname+ to the one with internet ip address using System.setProperty()
    I can not access Rmi through local LAN
    if I do not set the property Everything works fine in LAN but I can not access the RMI from Internet
    Pls tell me the solution

    Consider the code Here and if you can suggest in this code what changes I have to make ,I will be thankful to you
    // Class MyHelloServer
    package rmi.server;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.net.Inet4Address;
    import java.net.InetAddress;
    import java.net.MalformedURLException;
    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.rmi.*;
    import java.rmi.server.ServerNotActiveException;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import javax.swing.JOptionPane;
    import rmi.bl.HelloImpl;
         public class MyHelloServer
              static public ArrayList hostList = new ArrayList();
              static String hostname=null;
              static String SERVER_PORT="9999";
              static String MULTIPLE_BIND="true";
              static{
                   startTest();
              public static void startTest(){
                   try {
                        Enumeration enum1= NetworkInterface.getNetworkInterfaces();
                        while(enum1.hasMoreElements()){
                             NetworkInterface networkInterface = (NetworkInterface)enum1.nextElement();
                             Enumeration enum2 = networkInterface.getInetAddresses();
                             while(enum2.hasMoreElements()){
                                  Object obj = enum2.nextElement();
                                  if(obj instanceof Inet4Address){
                                       if(!hostList.contains(((Inet4Address)obj).getHostAddress())){
                                       hostList.add(((Inet4Address)obj).getHostAddress());
                                            if(networkInterface.isPointToPoint()){
                                                      hostname=((Inet4Address)obj).getHostAddress();
                   }catch (SocketException e) {
                        e.printStackTrace();
                   if(hostname!=null){
                        System.setProperty("java.rmi.server.hostname", hostname);
                   System.out.println(System.getProperty("java.rmi.server.hostname")+"<<<<<< New");
              public static void main(String args[])
               try
                HelloImpl storeServer = new HelloImpl();
                int port=Integer.parseInt(SERVER_PORT);
                String host=InetAddress.getLocalHost().getHostAddress();
                 java.rmi.registry.LocateRegistry.createRegistry(port);
                if(MULTIPLE_BIND.equals("true")){ 
                    for (int i = 0; i < hostList.size(); i++) {
                         System.out.println(hostList.get(i).toString() + " <<<<IP" + i);
                         Naming.rebind("//"+hostList.get(i).toString()+":"+port+"/STORESERVER", storeServer);
                  }else{
                       Naming.rebind("//"+host+":"+port+"/"+"STORESERVER", storeServer);
                MyHelloServer.MyThread thread= new MyThread(":"+port+"/"+"STORESERVER", storeServer);
                System.out.println("Remote Server started.....");
            catch (java.net.MalformedURLException me)
                 System.out.println("Malformed URL: " + me.toString());
                 System.exit(0);
            catch (RemoteException re)
                 System.out.println("Remote exception: " + re.toString());
                 System.exit(0);
            catch (Exception e)
                 System.out.println("Error: " + e.toString());
                 System.exit(0);
         static class MyThread extends javax.swing.JPanel implements ActionListener{
                   String str="";
                   HelloImpl impl;
                   public MyThread(String text,HelloImpl storeServer){
                        this.impl=storeServer;
                        str=text;
                        int timetoWaitForCheck=15000;
                        javax.swing.Timer timer = new javax.swing.Timer(timetoWaitForCheck, this);
                        timer.start();
                          public void actionPerformed(ActionEvent ae)
                             startTest();
                             // Rebind
                                   for (int i = 0; i < hostList.size(); i++) {
                                        try {
                                            Naming.rebind("//"+hostList.get(i).toString()+str, impl);
                                       } catch (RemoteException e) {
                                            e.printStackTrace();
                                       } catch (MalformedURLException e) {
                                            e.printStackTrace();
    }

  • RMI LoadBalancing and failover without an application server.

    Hi All,
    I have just one RMI object doing mathematical
    calculations.I want to provide
    1. Load Balancing and
    2. Failover
    for this rmi object.Few Application
    servers(like weblogic) provide a wrapper over sun's
    rmi to produce replica aware rmi stubs but they force
    to use vendor specific (like weblogic rmi-registry)
    rmi-registry, which runs within the app server.
    My problem is :
    I dont want to run the whole app server to just run
    one rmi object ?
    Is there a way using which I can provide load balancing to my single rmi object ?
    Thanks in advance for the help !!
    Regards
    Rais

    To provide load balancing the best way that I know of would be to create a front server that handles distribution of work between several back servers. This would be how they do it in app servert load balancing to distribute the load amonst several app servers like BEA Weblogic, Microsoft IIS and others. So create a "dummy" from RMI server that:
    1. Queries the servers that it knows about and finds out how how many request it can handle and how many request it is currently handling (they would keep track internally).
    2. Use an algorithm to determine which server to send the request to
    3. Pass the request through.
    What a request is would probably be best designed as an interface like IRequest so regardless of the addition of IRequest i the system the RMI back end servers are sure to be able to process it. How ever ther will always be a maximum number of request that can be handled that can only be changed by adding more resources (RMI server machines).
    RMI request ---> RMIServer ---> RMIServer 1 on machine 1
    ---> RMIServer 2 on machine 2
    ---> RMIServer 2 on machine 2
    You would most likely want to have a base interface that defines a Server in your system like IServer because the front RMI server from above is really nothing more that a regular instance of your server implementation except configured to be a load balancer.
    Possible configuration file for the servers(server.conf):
    Config for the front load balancing server would look like this:
    loadBalancer=1 #Tells the server to use a LoadBalancerRequestHandlerImpl from startup
    balanceServers=http://machine1:port/server1,http://machine2:port/server2,http://machine3:port/server3
    All Other servers like this
    loadBalancer=0 #Tells the server to use a regualar RequestHandlerImpl from startup
    balanceServers=
    The about RequestHandlerImpl,LoadBalancerRequestHandlerImpl are just some ficticious implementation of you Business Process stuff like login,add user in User database app. etc.
    FAILOVER
    By failover I assume that you are refering to if an app fails then who handles it's request that it currently has. Well you can do this qite simple by making the back end servers (request servers) knowledgable about the fron server(s)(load balancers). Then when ever (assuming a nice server) will check it's config for who it's load balancer(s) are and hand over the sessions.
    Well since this is RMI and assumig that you are not doing login stuff the above is not practical. The load balance servers(s) would may be in a back groud thread(low priority) try to comm with it's servers from the balanceServers property (from the earlier config file, now in memory in some data structure) and if comm failes with a particular server then remove it from the list. THen it will no longer be eligible to recieve request.
    I ama bit long winded in my explaination but I hope this helps.
    I hope that

  • SMP3 - AppDevelopment (Mobiliser): Different Machine Between SMP3 and Mobiliser

    Hi, Expert I have a question on SMP3 and AppDevelopment (Mobiliser):
    Let me explanation an issue,
    I Have a mobiliser 5.1  banking system and it running normally on server, and a few  month later i want to use mobile application with (SMP3, Cordova with Kapsel and SAPGUI) for use my existing mobiliser system, heBut  i find difficult when they want to access te services (SOAP) provided by the mobiliser system.
    for information, which i have done for that:
    install smp3.0 sp01
    configure Eclipse IDE with SAPGUI plugin and integration gateway plugin
    create odata service from jdbc -> successfully to access odata service provided from mobile application
    create odata service from SOAP -> successfully to access odata service provided from mobile applicationn
    But when i tried create Odata from mobiliser service, it failed with message " Could not send Message", i think this happens because the mobiliser service requires authentication. the following my question:
    how to create Odata Service from SOAP service with authentication
    if point 1 not possible, anyone have another solution for integrate service between SMP3 and Mobiliser (running on difference machine)
    difference function the SAP mobile solution (Agentry, Integration gateway(SMP3), Appbuilder, Kapsel, SAPGUI, Afaria, Fiori)
    Many thanks for explanation, and if possible can guide me with some example.
    Basuki

    The Mobiliser server components have been integrated into SMP3.0 and are actually the same components that are used for the standalone Mobiliser 5.1 SP03 release (also referred to as 5.1.3). The difference is in the packaging.
    Documentation for the Mobiliser 5.1.3 can be found here : http://sybooks.sybase.com/sybooks/sybooks.xhtml?id=100066&c=firsttab&a=0&p=categories
    Now for the less obvious part …
    The Mobiliser sample/reference mobile apps (aka Smartphone Mobiliser) and the build scripts required to build for iOS, Android, Blackberry and Mobile Web are part of the Mobiliser 5.1 SP03 release only. The apps didn't make it into the mobile platform, except for the build output of Mobile Web. With the build scripts mentioned, we did create a Mobile Web version that is included in the SMP3.0 server. This is a separate bundle that needs to be activated via the admin cockpit.
    If you want to leverage the Smartphone Mobiliser product, you will have to use Mobiliser 5.1.3. Not sure how this works out from a sales/customer point of view. Let me know if you have issues with this.
    Technically, the web services used by Smartphone Mobiliser to interface with the server are identical for SMP3.0 and Mobiliser 5.1.3. So Smartphone Mobiliser apps can work with both SMP3.0 and Mobiliser standalone. Mobiliser apps will directly interface with the smartphone web services.
    Hope this helps.
    Regards,
    Ludo Noens

  • RMI connection through IP two address

    respected Sir
    I want to pass a String through RMI to machine which IP address is
    IP Address. . . . . . . . . . . . : 172.28.127.239
    Subnet Mask . . . . . . . . . . . : 255.255.255.255
    Default Gateway . . . . . . . . . : 172.28.127.239
    my machine IP address is
    IP Address. . . . . . . . . . . . : 172.28.127.39
    Subnet Mask . . . . . . . . . . . : 255.255.255.255
    Default Gateway . . . . . . . . . : 172.28.127.238
    Pls give me the proper source code using RMI
    Pls help ME

    respected Sir
    I want to pass a String through RMI to machine which IP address is
    IP Address. . . . . . . . . . . . : 172.28.127.239
    Subnet Mask . . . . . . . . . . . : 255.255.255.255
    Default Gateway . . . . . . . . . : 172.28.127.239
    my machine IP address is
    IP Address. . . . . . . . . . . . : 172.28.127.39
    Subnet Mask . . . . . . . . . . . : 255.255.255.255
    Default Gateway . . . . . . . . . : 172.28.127.238
    Pls give me the proper source code using RMI
    Pls help ME

  • Looking up RMI stub class

    Hi there, I have questions on RMI stub classes. Beside putting a stub class in web server, is there any way I can do for client to lookup the stub class? Do I need to sacrifice dynamic class loading in order to block all http request?
    Thanks,
    Jax

    Since the stub class needed to be downloaded via http, how if I don't want to have a webserver on the RMI server machine? Is packing the stub class together with the client package the only solution?

  • Problems with JNDI between JSP and EJB

    Good morning:
    I've got a problem related to EJB and JNDI.
    I want to run methods of an EJB that is in Weblogic, from a JSP that runs IPlanet. When I try to execute getInitialContext() I catch a NamingException. The error description is :Cannot instantiate class: weblogic.jndi.T3InitialContextFactory
    I have this code in the JSP:
    Context initialCtx;
    initialCtx = getInitialContext();
    private InitialContext getInitialContext() throws NamingException
    Properties p = new Properties();
    (Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3InitialContextFactory");
    (Context.PROVIDER_URL,"t3://atlas:7001");
    InitialContext ctx = null;
    ctx = new InitialContext(p);
    return ctx;
    Configuration:
    JSP runs in IPlanet 4.1 SP7
    EJB runs in a Weblogic 5.1. Atlas it's the server name
    IPlanet and Weblogic runs on differents machines.
    Can anybody help me?
    Thanks in advance
    David

    I have two weblogic jars (weblogicaux.jar and one service pack of weblogic) in the iplanet classpath.
    I don't know if I have to configure Weblogic with any special parameter (RMI/IIOP) or something similar in IPlanet.
    Can anybody help me?
    Thanks.

  • Looking for a way to encode IDs

    Hi
    I have a problem � I am looking to join two data bases for a research I am trying to do but -
    These two databases are from two separate government agencies. Both include different info of (among others) the same people, identified by personal IDs. Neither of them is allowed access to the info of the other. I am not allowed to see any info with IDs.
    So I am looking for a package that can transform the IDs in two sites into another series of numbers, identical in both cases - That I will later be able to join
    Is there a friendly package that can do this? A nice GUI will help a lot with bureaucracy! :(
    Can you tell me about a nice complicated function that will encrypt as needed here and that the values of which are dependant on a user given input so that the same input will always (in the two cases�) give the same results?
    Thanks a lot!!!
    gil

    But I have two questions:
    1) Its an abstract class, any implementations you
    know of? If not, I couldn't get what do I need to
    implement?The usual object-oriented magic is going on here. The static
    instance method is returning instances in some non-abstract subclass.
    2) How do I get both sites to run exactly the same
    encryption so I will be able to join them? Without
    this it will be useless� will using MessageDigest
    with SHA give me that (I couldn't figure it out)?The digests are deterministic and portable. You will get the same result
    on difference machines.

  • Why opening from java the rpt search for a JNDI when it's setup for a DNS ?

    I downloaded CR for eclipse 2.
    All is 'quite' working froma a java app.
    i've only a problem with an 'jndi name search error'. I'll try to explain.
    In the RPT i use a DSN connection to a sql server into a differente machine. When I open directly the rpt, all is working.
    From java code, i'll open the report, but when i try to export  to pdf iit tell me about an error 'jndi name search error', with the name of the DSN connection i setup.
    Why? Why opening rpt all is working, but opening from code NOT is working ?
    What's the difference from two opening methods? Why an .rpt opened from java cannot just open the connection like when opened from cristal report !?
    *My question is: why opening from java the rpt search for a JNDI when it's setup for a DNS connection ?! *

    The .rpt has been originally created from an ancient version of Cristal report. probably the '8'.
    In an italian software called 'Business', the .rpt is populated for printing of invoices and similar docs.
    My society is trying to 'integrate' our software with the .rpt used from our customer.
    So we want simply open .rpt, add a new logo, set the selection for record and save as pdf.
    We so bought Cristal report 2008 (v.12 ), opened the .rpt, saved (so it 's now in a supported version).
    The sql server is located at 10.1.2.40, and is a Microsoft Sql Server.
    In my development pc I've installed Cr 12. I added a User DSN to point to Sql server at 10.1.2.40, at right DB with username and password. Opening from my development machine the .rpt and 'running' it, it display the data. Ok !
    I downloaded CR4 Eclipse 2.
    I open report using the unmanaged sdk. (to access it through file system, not via RAS), Ok.
    I set selection record. Ok.
    I execute .export with 'PDF' for format option and here I get an exception: the JNDI name 'CPR'  is not found. Where CPR is the DSN name setup into .rpt from Cristal Report 2008.
    So, no, i'm not trying to using the designer from Eclipse, but from the full application. But I must use the rpt at runtime to export some rendered records.
    What must I do to do this?
    CR4E only supports java based connections, so it is looking for the JDBC/JNDI name and won't look at the DSN's.
    How Can i setup at runtime a JDBC / JNDI connection ?
    I already have a 'connection' from my code to the sql server, using sqlserver jdbc driver v. 4 from microsoft. And executing query I see the results. So i have right driver, ip, db name, user name and password
    But is there a way to simply tell at runtime to my .rpt to use THIS connection? Or a similar connection...
    Thanks in advance for help provided to us. (we bought a CR license only for this work...)

  • Adapter Engine not visible in SLD, RWB and Directory

    Hi all,
    I have problem with the registration of the adapter engine in my sld. When I search for it in Technical Systems doesn´t appears.
    I have implemented SAP notes 764176 and 804124 and it doesn´t work.
    My system is SAP PI 7.0 and the SLD is configured on a differente machine. The SAP PI machine can reach SLD machine (is not network problem).
    Any suggestions?
    Thank for your postings.

    Hi -
    Do you have your SLD Data Supplier service (within Visual Admin tool) for PI Java server pointed to the host of the SLD machine?   If so, you should at least see a Technical System (type Web AS Java) for your PI system in your SLD.
    Regards,
    Jin

  • ONLINE Backup from DB13

    Hello :
    When we try plan online backup and offline backup we obtein next result,
    BR0252E Function fopen() failed for '/oracle/CR5/sapbackup/bdxxipoo.log' at location file_printout-4
    BR0253E errno 2: No such file or directory
    External program terminated with exit code 5
    We have sap instance and DB machine in  differents machines.
    Please could you help us ???
    Thanks

    Hello,
    check the authorization to
    /oracle/CR5/sapbackup/

  • CRX/DE failing on Publish nodes with 404 for JSON data

    I'm in the process of rebuilding our author and publish staging instances using the 2.1 service pack for CQ5.5, and now I'm seeing problems with CRX/DE on both publish nodes on two difference machines.
    We get this error whenever we try to pull up CRX/DE on these two nodes:
    11.03.2013 13:18:40.222 *INFO* [12.104.103.30 [1363022320201] GET /crx/server/crx.default/jcr%3aroot/.1.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /crx/server/crx.default/jcr:root/.1.json not found
    The app works fine on the author node, and the websites themselves still appear to serve correctly from the publish instances.
    The odd thing is that, after I saw this problem, I wiped both publish instances and restored from a backup I had made this morning and restarted them to find that the problem persists.
    Any thoughts?  I had thought myself done with this process until this issue appearing suddenly.  At the time I was rebuilding bundles on the Author node after having installed an updated content package and replicating it to the publish nodes.  I was attempting to rebuild the bundles on the Publish nodes when I saw the CRX/DE problem.

    Hi,
    It seems to be access issue to me even though you have logged in as admin. To confirm this do the below.
    1. Open a browser and log in to your author instance using admin rights.
    2. Now using same browser now access http://localhost:4502/crx/server/crx.default/jcr:root/.1.json which is actually request to access jcr respository. When you access this link you will see the proper JSON response return.
    Now
    1. Open another browser (not same as above because above browser does have your cq session) and just access http://localhost:4502/crx/server/crx.default/jcr:root/.1.json you will see a 404 because anonymous user doesnt have access to it.
    If above is true then plz try to look at your permissioning for jcr:root ("/") and if it looks good then check for authorization bundles status in felix console and check logs.
    Also try to access crx explorer, if you can see the hierarchy http://<host>:<port>/crx/explorer/browser/index.jsp
    Thanks,
    Pawan

  • How to know username and password from existing PPPOE broadband connection?

    Hi All,
    I am using windows server 2008 R2, and now I've used PPPOE broadband connection to connect the internet. what I am asking is how to know the username and password from my PPPOE setting, I have the requirement to create same setting in the difference machine.
    thanks.

    You can get this info from your ISP. This one may help.
    Create a Broadband connection using PPPoE in Windows Vista and Windows Server 2008
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Database choices, SQL, Servlets, etc.

    Just one question:
    For a simple applet to run on multiple computers all across the world and access the same database on one web server, what would I need to learn?
    In case I'm on the wrong track please warn me:
    Servlets is next on my list...followed by SQL, ODBC, MySQL.
    Just curious, also, if anyone has some good simple sample code that accesses a database from an applet on a website.
    Here's hoping.
    So far, from what I've read on the web, it won't be simple at all.
    Later guys,
    Jeff C

    if you simply must use applets (I ditto the advice to go with jsp/servlets instead),
    keep the database code out of the applet!
    Reasons:
    1. Typically, the database server and the web server are on difference machines,
    but applets by default can only connect back to the machine from which
    they were taken.
    2. JDBC drivers may run native code (I think all the ODBC flavor ones do),
    and by default that's another applet no-no.
    3. Seperation of application layers: your applet is the front end, the database
    is the back end, So there should be no database code in what gets
    downloaded on the clients machine. This means writing Java code to run
    on the server, typically a servlet or web service, and having your applet
    communicate with that.

  • Reverse Proxy

    Hi,
    Does it make sense to use a reverse proxy in the scenario below ?
    I am trying to access a web based internal application (ports not opened up to the outside world) through a reverse proxy using the Oracle HTTP server that is installed with OAS 10.1.2.
    My aim would be that I would be able to access the web based application through my Portal from the outside world without having to open up the ports. The Portal is available to the outside world and the web based app runs on a difference machine.
    Is this possible or am I taking an incorrect approach ?
    Thanks,
    Message was edited by:
    user535862
    Message was edited by:
    user535862

    You can use a reverse proxy in this scenario. Web Cache will also be able to fulfill that role.

Maybe you are looking for

  • HT201386 iPhone 5 64G did not ask me to migrate iPhotos?

    The article about how to migrate iPhoto to Photos on iOS8 mentions two things: It will ask you to migrate every time you open iPhoto until you migrate"Tap Migrate to start the migration process. If you choose Cancel, the dialog is dismissed, but will

  • Cannot 'Synchronize with database' my entity objects

    Hello, I have successfully created entities in my model using the 'new buisness components from tables' function. But now my database moddel has changed and I would like to synchronize my entities with database to get newest colums, but when right cl

  • Hierarchial query returns ex-employees

    I have query that was developed from the similar queries I've found on various sites. It display the hierarchy starting from our board of directors in a descending manner. The problem is that the query is pulling our "Ex-employees" which are identifi

  • How to display related links iview in content area?

    Hi, I have created Related links, but they are opening in a separate windows even though I have set the attribute of the iviews to "open in portal content area". Please let me know how I can display the iviews of the Related links in the content area

  • Windows doesnt detect SoundBlaster wireless tactic 3d v2.0

    Hello Even though I said in the title that windows doesnt detect it that isnt entirely correct but it would have cluttered the title even further so today I bought this headset and im trying to get it to work so a few informations would help: I use w