SMS port already in use... MessageConnection using connector.open

I created an application that listens for incoming txt messages and it works very well on all devices except the 8330... works of ideal app on all phones on sms listening but on the 8330 I get the problem where the exception says "port already in use"... my application is currently in beta and a user reported he was continues smart guard... as soon as he took the chip guard the app works perfectly... so im guessing as smart guard uses sms messages to intitate itself is what is the origin of the port problem... is there anyway around this? my code is below...

public void open()
    {
        this.controller.write("Attempting to open message connection (Message tracker)");
        try {
            this.msgconnection=(MessageConnection)Connector.open("sms://:0");
        } catch (IOException e) {
            this.controller.writeToConsole("Error opening message Connection (MessageTracker) "+e.getMessage());
        }
        try {
            if(this.msgconnection!=null)
            {
            this.msgconnection.setMessageListener(this);
            }
        } catch (Exception e) {
            this.controller.writeToConsole("Error adding messagelistner (MessageTracker) "+e.getMessage());
        }
    }

MessageConnection is pretty useless, since only one application can attach to the SMS port at a time.

My advice is to switch to use the method of datagram.

See this article:

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

Tags: BlackBerry Developers

Similar Questions

  • net.rim.device.api.io.IOPortAlreadyBoundException: SMS port already in use.

    It's strange, the code works fine on j2me, but it does not work on Blackberry. I'm testing with Blackberry 9000 V4.6 emulator. He throws net.rim.device.api.io.IOPortAlreadyBoundException: SMS port already in use. when I try to open a connection.

    The line below throws the exception:

    MC MessageConnection = (MessageConnection) Connector.open (connection);

    It seems that the port is already open, but I don't know that I finally closed the connection by exiting the application.

    The link below gives me a great help:

    http://supportforums.BlackBerry.com/T5/Java-development/SMS-MessageConnection/m-p/63975#M7177

  • Port already in use exception...

    Hello

    Being a beginner in blackberry I have some problems while developing Java applications for blackberry. I am developing CLDC application that receives SMS on perticular port in a background thread. But when I sent sms to my application using this perticular port, I got "Port already in use exception." What could be the problem. ?

    Code shown below...

    Builder includes:

    try {}
    incomingConnection = (DatagramConnection)Connector.open("sms://:7878");
               
    } catch (Exception e) {}
    Dialog.Alert ("problem with port" + e);

    Thread contains:

    While (true) {}
    try {}
    Datagram sms = incomingConnection.newDatagram (incomingConnection.getMaximumLength ());
    incomingConnection.receive (sms);
    payload of Byte [] = sms.getData ();
    } catch (Exception e) {}

    }

    Thank you

    Pritesh

    Hi pritesh_bb,

    Well understood, the error itself would mean that another application has already got hold of this port, and as explained it is first come first served. As such, you will be able to return to the port, unless you uninstall the other application. Would it be possible for you to change the port number? Perhaps 9189 or similar?

    Concerning

  • On the issue of the port already in use and multiply the application instance?

    I use the message connection to receive sms. When I restart the application, I found the already used port exception. I've been through many posts and believe that BB allows a UNIQUE APPLICATION connecting the port of sms at a time. But the port of sms I know certainly is used only by my candidacy, is somehow wrong to create a second instance of application trying to access this port?

    This question confused me a lot of time, to appreciate someone give me a help.

    This problem has been resolved.

    The two possible solutions for this problem:

    1 re - save the connection string for registery push in the start method. but avoid registering a new when enforcement is woken up by sms push, otherwise it won't get the message.

    public void startApp()
    {
     String[] list = PushRegistry.listConnections( true );
                boolean isByPush = (list != null && list.length > 0) ? true : false;
                if(!isByPush)
                {
                    PushRegistry.unregisterConnection( connString );
                    PushRegistry.registerConnection( connString,Test.class.getName(), "*" );
                }
    
                bbReceiveSmsThread = new BBReceivingSmsThread(connString);
                bbReceiveSmsThread.start();        
    
    }
    
        private static class BBReceivingSmsThread extends Thread
        {
            private boolean stop = false;
            private MessageConnection mc;
            private String connString;
    
            public BBReceivingSmsThread(String connString)
            {
                this.connString = connString;
            }
    
            public synchronized void stop() throws IOException
            {
                stop = true;
                mc.close(); // Close the connection so the thread returns.
            } 
    
            public void run()
            {
                try
                {
                    mc = (MessageConnection)Connector.open(connString);
                    for(;;)
                    {
                        if ( stop ) return;
    
                        Message message = mc.receive();
    
                        String text = null;
    
                        if( message instanceof TextMessage ) text = ( (TextMessage)message ).getPayloadText();
                        if( message instanceof BinaryMessage ) text = new String( ( (BinaryMessage)message ).getPayloadData(), "UTF-8" );
    
                        if(text != null)
                        {
                           //do your message here
                        }
                   }
              }
              catch (Exception e) {}
            }
        }
    
  • connection problem, using Connector.open ()?

    While m, try the following code:

    HttpConnection conn = (HttpConnection) Connector.open ("http://www.nasa.gov/rss/hurricaneupdate.rss");

    my phone is stuck on this line:

    conn.openInputStream ();

    and after a long time he gives IllegalStateException, can anyone suggest the reason or another?

    And looking at the basics of network processing, maybe you should check the thread of events.

    "the problem is that hconn.openInputStream () is not yet back stream, it stucks on this line and alter long Simulator says"IllegalStateException.

    This is caused by your Exception handling is attempting to add a LabelField on-screen - but your exception handling runs in your net shot.  So you get IllegalStateException because you must run on the event Thread or blocking of the event to do this.

    Search for resources to explain the event Thread - there is a little.

  • Close the SMS port if it is already in use.

    Hello

    I try to open the port by SMS

    MessageConnection messageConnection = (MessageConnection) Connector.open (connection_name);

    It throws an IOException saying "cannot open: SMS Port already in use.

    Is it possible to close this connection?

    Thanks in advance

    Concerning

    Coralie.

    No, if you did not create yourself.
    You should check for that, although every time I met this error I used port myself (still active instance or not properly closed port)

  • New blackBerry Bold Smartphones and the SMS Port problems

    I recently improved last night from my 9650 on Verizon, and whenever I do the discount to zero (battery and buttons) I get a pop up window that says SMS Port already in use.  This happens also with the card SIM do I do I wipe and finish then re-install at all?

    DJ

    It's a common error on the device who have installed more than one 'SMS port' asking to listen. Think of SmrtGuard, DexRex, PeekaWho, matrix of the alert, alert BlackBerry.

    Think, what applications did you use SMS messaging for a function?

    Here is some additional information.

    http://blog.dexrex.com/2008/11/SMS-port-0-learning-to-share.html

  • want to connect Apple TV but HDMI port is already in use.  Y at - it a triangle connector I can buy or?

    want to connect Apple TV but HDMI port is already in use.  Y at - it a triangle connector I can buy or?

    Sorry but no.

    Apple TV requires an HDMI cable and a HDMI port.

  • "Impossible to copy the requested resource is already in use" error message when you try to move the file to the thumb drive.

    I'm going to try really hard to do this makes sense, but I don't know much about computers.  Bear with me.

    Brother gave me a computer.  A graphics Nvidia GeForce 9800 inside.  Because it restored the system settings, the drivers are missing.  Can not connect this computer to the internet.

    So, I went to the nvidia site and downloaded the necessary drivers on my OTHER computer, which is what I'm now on the right.  The download ends, and when I try to move the (drivers) file in the USB, I get this delicious "cannot copy xxxx that the requested resource is already in use".  It is not in use.  I can't even use it on this computer as its pilots for a graphics card that is not yet part of this computer.

    What should I do to make sure I put the file with the drivers on a USB key, on the port to the other computer.

    (by the way, this also occurs with a few random mp3s of the mine.  10 of the 12 tracks on a CD, for example, does copy on the USB no problem, but then two of them to come up with the error message, for no apparent reason.  Don't know if it's relevant)

    Try another USB key. That one is may be damaged or failing. In the meantime, to burn the drivers on a CD - R disc (not CD - RW) to take the target machine. MS - MVP - Elephant Boy computers - don't panic!

  • Error 633: the modem (or other connecting device) is already in use or is not configured correctly. Any solution?

    I have Microsoft Vista Home Premium edition. I use the data card (broadband +, model - HUAWEI EC1262) to connect to the internet.
    I get error 633 whenever I try to use the data card to connect to the internet on my laptop. He says that "the modem (or other connecting device) is already in use or is not configured properly" and preventing me from accessing Internet.

    I tried with a different brand of card data, but still getting same error. Map data even works on another laptop with Win7.

    I did all the options like:
    1 uninstall and reinstall modem drivers
    2. release the COM port and the new port assigng

    We always get but same error. Any solution for this problem would make.

    Have you tried system restore? If you can restore the system to the date where it worked fine maybe it will work.

    System Restore frequently asked questions.

  • Which of my sata ports should I use?

    I have this hard drive [http://www.amazon.com/gp/product/B00471G8CC/], but I want to make sure that I use the best sata port. My office is the CQ5720F, here is the link to the plug to motherboard [http://support.hp.com/us-en/document/c02552467]

    He says I have sata 1 and 2 under 'internal connectors' but I have 4 sata ports. That's the problem, I don't know which one to use. Currently, I have it plugged into one marked "Sata 3. What should I do?

    Thank you, Travis

    The specs are incorrect. All 4 SATA ports are the same and are SATA2.0 ports. I doesn't really matter which port you are using, but I put the main hard drive on #1, secondary hard drives on #2 and #3 and the CD/DVD on #4.

    If you have any other questions, feel free to ask.

    Please click the 'Thumbs Up' white LAURELS to show your appreciation

  • Problem: Error 633: the modem (or other connecting device) is already in use or is not configured correctly.

    While I am connected to internet using Reliance Netconnect Huawei 1260, the connection disconnects after 10 to 15 minutes. Shows as connected Netconnect but does not work. I try to disconnect the connection, but it gives an error.

    Reconnect to always remove the modem and then re - login again.

    Please provede me a permanent solution to this. I use Windows 7 Enterprise

    Hello

    1. If it works well before?

    2. what version of Modem drivers do you use? Do you have any other device connected to the computer?

    First of all, I suggest you to check if the modem is compatible with Windows 7.

    Check out the link:

    Windows 7 Compatibility Center:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    I would also recommend to connect the modem to a different computer and check if it detects there. If it does not work on another computer also, then the problem is with the modem and I would ask you to contact the manufacturer of the modem for any further assistance.

    Error 633 indicates that the port is already in use or is not configured for remote access dial out. You may need to check if the VPN and the connection connection try to use the same port that is causing the problem. You may need to check the settings of the modem and change the port for your needs.

    To work around this problem, use one of the following methods:

    Method 1:

    Reserves explicitly the TCP port that is used for the VPN connection. To do this, follow these steps:

    a. click Start, click run, type regedit.exe in the Open box and then click OK.

    b. in the registry editor, find and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters

    (c) in the Edit menu, point tonewand then click multi-string value.

    d. rename the multi-string value as 'ReservedPorts' and then double-clickReservedPorts.

    e. in the value data box, type1723-1723, and then click OK.

    f. exit the registry editor.

    Registry warning: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: http://support.microsoft.com/kb/322756/

    .

    Method 2:

    Use the netstat command to find the program that is using port 1723. Then, end the process for this program. To do this, follow these steps:

    a. click Start, click run, type cmd.exe in the Open box and then click OK.

    b. at the command prompt, type the following command and press ENTER:

    NETSTAT - aon

    c. in the result which appears, identify the process ID for the program, if any, who is using the TCP port 1723.

    d. at the command prompt, type the following command and press ENTER:taskkill/pid PID/f

    Note: The taskkill command terminates the process that corresponds to the ID of the process. The/F option is used forcefully to complete the process.

    e. at the command prompt, typeexitand press ENTER to quit the command prompt.

    Restart your computer. This may cause the program that uses the TCP 1723 port to use a different port.

    I hope that helps!

  • "Camera is already in use by another program.

    I have Windows 7 Ultimate and a LifeCam VX-6000.
    The reason why I bought this new camera is because my previous Logitech camera also got the error "camera is already in use by another program", and I read on the internet that Logitech not have updates day for Windows 7 yet.
    Whenever I open the LifeCam software, it says "Initialization error" after attempting to connect.
    I looked at all my processes and none would use the camera, and I've updated the drivers of all my USB ports.
    In addition to try it with Windows Live Messenger, I tried it with Skype and AOL Instant Messenger, all my video programs say that the camera is already in use.
    I tried to restart my computer, programs and even reinstall the camera software but nothing works.
    I also installed SplitCam to try to mislead other programs using the SplitCam video driver as a video source, but that doesn't work anymore.
    I don't have any connected TV adapters, just a mouse, keyboard and camera with a USB port left free.
    After looking at my device manager, a single device has a flag on this issue, saying: there is no drivers installed - a mass storage controller located in PCI Bus 6, device 9, function 3, but I don't think this affects the camera.
    Please let me know ASAP, I need my ability to shoot back!
    Sincerely,
    Dharma L.

    Those who have the same methods that were posted above.  So instead of calling Microsoft to access my computer remotely and fix it, I just reformat and re-installed Windows 7 on my computer, and now the camera works perfectly.

  • Configure Apache HTTP Srvr for WLS12c error - "address already in use: make_sock: could not bind to address 80.

    Hello the Experts of Oracle.

    I already have

    1. installed the Apache HTTP Server (with libraries)
    2. Downloaded the Plugin of Apache WLS12c
    3. copied the plugin files into the appropriate directories.
    4. Modify the httpd.conf (see below)

    At the present time, I try to start the Apache HTTP server and runs in an unexpected error.

    WHY APACHE ATTEMPTS TO LISTEN ON PORT 80. ?  I've SPECIFIED the PORT 8888

    Question: How to go beyond the error.   -| "Address already in use: make_sock: could not bind to address 80 '

    My server is 192.168.1.21.  In my view, that it has ESTABLISHED processes.  Yet, he reports, that it cannot start.

    junk1.PNG

    Here is the content of the httpd.conf file.  My customizations are in Red.

    #

    # This is the main Apache HTTP server configuration file.  It contains the

    configuration directives # that give the server its instructions.

    See # < URL: http://httpd.Apache.org/docs/2.4/ > for more information.

    # See especially

    # < URL: http://httpd.Apache.org/docs/2.4/mod/directives.html >

    # for an analysis of each configuration directive.

    #

    # Do NOT simply read the instructions here without understanding

    # what they do.  They are there only as advice or reminders.  If you do not know

    # consult the online documentation. You have been warned.

    #

    # Configuration and logfile names: If the file names that you specify for a lot

    number of files in server control begin by "/" (or "drive: / 'for Win32 '), the

    # server uses this explicit path.  If filenames do * not * start

    # with "/", the value of ServerRoot directive is preceded by - both "logs/access_log".

    # with ServerRoot set to "/ usr/local/apache2" will be interpreted by the

    # Server as "/ usr/local/apache2/logs/access_log", considering that "/ logs/access_log".

    # will be interpreted as "/ logs/access_log".

    #

    # ServerRoot: The top of the directory under which the server tree

    # configuration, error and the log files are kept.

    #

    # Do not add a bar slash at the end of the directory path.  If you point

    # ServerRoot to non-local disk, remember to choose a local drive on the

    # Directive Mutex, if based on mutex files are used.  If you want to share the

    # ServerRoot even for several demons httpd, you will need to change to

    # PidFile less.

    #

    ServerRoot "/ usr/local/apache2.

    #

    # PidFile: The file in which the server should record its process

    ID # when it starts.

    #

    PidFile ' / usr/local/apache2/logs/httpd.pid '.

    #

    # Mutex: Allows you to set the mutex mechanism and the mutex file directory

    # for individual mutex, or change the default global values

    #

    # Uncomment and change the directory if mutexes are based on files and the default

    # mutex file directory is not on a local disk or is not suitable for some

    # other reason.

    #

    # Default Mutex: newspapers

    #

    # Listen: Allows you to bind Apache to specific IP addresses and/or

    ports #, instead of the default value. See also the < VirtualHost >

    directive #.

    #

    # Change this to listen on specific IP addresses below for

    # prevent Apache glomming on all related IP addresses.

    #

    # Example-> look 12.34.56.78:80

    # Listen api.astcorporation.com:8001

    Listen 8888

    #

    # Dynamic Shared Object (DSO) Support

    #

    # To be able to use the features of a module that was built as a DSO you

    # duty place corresponding 'LoadModule' lines at this location until the

    # directives that it contained are actually available _avant_, that they are used.

    # Modules statically compiled (those listed by "httpd-l") is not necessary

    # to be responsible here.

    #

    # Example:

    # LoadModule foo_module modules/mod_foo.so

    #

    LoadModule authn_file_module modules/mod_authn_file.so

    #LoadModule authn_dbm_module modules/mod_authn_dbm.so

    #LoadModule authn_anon_module modules/mod_authn_anon.so

    #LoadModule authn_dbd_module modules/mod_authn_dbd.so

    #LoadModule authn_socache_module modules/mod_authn_socache.so

    LoadModule modules/mod_authn_core.so authn_core_module

    LoadModule modules/mod_authz_host.so authz_host_module

    LoadModule modules/mod_authz_groupfile.so authz_groupfile_module

    LoadModule modules/mod_authz_user.so authz_user_module

    #LoadModule authz_dbm_module modules/mod_authz_dbm.so

    #LoadModule authz_owner_module modules/mod_authz_owner.so

    #LoadModule authz_dbd_module modules/mod_authz_dbd.so

    LoadModule modules/mod_authz_core.so authz_core_module

    LoadModule modules/mod_access_compat.so access_compat_module

    LoadModule auth_basic_module modules/mod_auth_basic.so

    #LoadModule auth_form_module modules/mod_auth_form.so

    #LoadModule auth_digest_module modules/mod_auth_digest.so

    #LoadModule allowmethods_module modules/mod_allowmethods.so

    #LoadModule file_cache_module modules/mod_file_cache.so

    #LoadModule cache_module modules/mod_cache.so

    #LoadModule disk_cache_module modules/mod_cache_disk.so

    #LoadModule cache_socache_module modules/mod_cache_socache.so

    #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so

    #LoadModule socache_dbm_module modules/mod_socache_dbm.so

    #LoadModule socache_memcache_module modules/mod_socache_memcache.so

    #LoadModule macro_module modules/mod_macro.so

    #LoadModule dbd_module modules/mod_dbd.so

    #LoadModule dumpio_module modules/mod_dumpio.so

    #LoadModule buffer_module modules/mod_buffer.so

    #LoadModule ratelimit_module modules/mod_ratelimit.so

    LoadModule modules/mod_reqtimeout.so reqtimeout_module

    #LoadModule ext_filter_module modules/mod_ext_filter.so

    Request_module modules/mod_request.so #LoadModule

    #LoadModule include_module modules/mod_include.so

    LoadModule modules/mod_filter.so filter_module

    #LoadModule substitute_module modules/mod_substitute.so

    #LoadModule sed_module modules/mod_sed.so

    Modules/mod_deflate.so deflate_module #LoadModule

    LoadModule mime_module modules/mod_mime.so

    LoadModule log_config_module modules/mod_log_config.so

    #LoadModule log_debug_module modules/mod_log_debug.so

    #LoadModule logio_module modules/mod_logio.so

    LoadModule env_module modules/mod_env.so

    #LoadModule modules/mod_expires.so expires_module

    LoadModule headers_module modules/mod_headers.so

    #LoadModule unique_id_module modules/mod_unique_id.so

    LoadModule setenvif_module modules/mod_setenvif.so

    LoadModule modules/mod_version.so version_module

    #LoadModule remoteip_module modules/mod_remoteip.so

    #LoadModule modules/mod_proxy.so proxy_module

    Modules/mod_proxy_connect.so proxy_connect_module #LoadModule

    Proxy_ftp_module modules/mod_proxy_ftp.so #LoadModule

    Modules/mod_proxy_http.so proxy_http_module #LoadModule

    #LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so

    #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so

    #LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

    #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

    Proxy_balancer_module modules/mod_proxy_balancer.so #LoadModule

    #LoadModule proxy_express_module modules/mod_proxy_express.so

    #LoadModule session_module modules/mod_session.so

    #LoadModule session_cookie_module modules/mod_session_cookie.so

    #LoadModule session_dbd_module modules/mod_session_dbd.so

    #LoadModule slotmem_shm_module modules/mod_slotmem_shm.so

    #LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so

    #LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so

    #LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so

    #LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so

    LoadModule modules/mod_unixd.so unixd_module

    #LoadModule dav_module modules/mod_dav.so

    LoadModule status_module modules/mod_status.so

    LoadModule autoindex_module modules/mod_autoindex.so

    #LoadModule info_module modules/mod_info.so

    #LoadModule cgid_module modules/mod_cgid.so

    #LoadModule dav_fs_module modules/mod_dav_fs.so

    #LoadModule vhost_alias_module modules/mod_vhost_alias.so

    #LoadModule modules/mod_negotiation.so negotiation_module

    LoadModule modules/mod_dir.so dir_module

    #LoadModule actions_module modules/mod_actions.so

    Modules/mod_speling.so speling_module #LoadModule

    #LoadModule userdir_module modules/mod_userdir.so

    LoadModule alias_module modules/mod_alias.so

    #LoadModule rewrite_module modules/mod_rewrite.so

    # Added on 23/09/2015 | -enabling reverse proxy requests for users of WLS12c

    LoadModule modules/mod_wl_24.so weblogic_module

    < IfModule unixd_module >

    #

    # If you want httpd to run as a different user or group, you must run

    # httpd as root initially and it will pass.

    #

    # Group / user: the name (or #number) of the user/group to run httpd as.

    # It is generally advisable to create a dedicated and aggregatable for user

    # httpd, as with most system services are running.

    #

    Demon of the user

    Daemon group

    < / IfModule >

    Server configuration # 'hand '.

    #

    # The directives in this section implement the values used by the 'hand '.

    # Server, which meets all demands that are not managed by a

    definition of # < VirtualHost >.  These values also provide defaults for

    # all < VirtualHost > containers you can set later in the file.

    #

    # All these directives may appear inside containers < VirtualHost >,.

    # in which case the value default parameters will be substituted for the

    virtual host of # being defined.

    #

    #

    # ServerAdmin: Your address, where problems with the server should be

    # e-mail.  This address appears on some generated by the page server, such

    # as error documents.  for example [email protected]

    #

    ServerAdmin [email protected]

    #

    # ServerName gives the name and the port used by the server to identify itself.

    # This can often be determined automatically, but we recommend that you specify

    # explicitly to avoid problems during startup.

    #

    # If your host doesn't have a registered DNS name, enter its IP address here.

    #

    Servername 192.168.1.21

    #

    # Deny access to the whole of the file system of your server. You must

    # explicitly allow access to web content directories in other

    blocks of # < directory > below.

    #

    < directory / >

    AllowOverride none

    Need all refused

    < / Book >

    #

    # Note that, from this point forward you must precisely enable

    features special # to be enabled - so if something doesn't work not as

    # you might expect, make sure that you have specifically enabled it

    # below.

    #

    #

    # DocumentRoot: The directory you are going to use your

    documents #. By default, all requests are taken from this directory, but

    aliases and symlinks # can be used to point to other locations.

    #

    DocumentRoot "/ usr/local/apache2/htdocs.

    < directory "/ usr/local/apache2/htdocs" >

    #

    # Possible values for the Options directive are "None", "All."

    # or any combination of:

    # Indexes includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

    #

    # Note that "MultiViews" must be named * explicitly *-'all Options '.

    # is not give it to you.

    #

    # The Options directive is complex and important.  Please see

        # http://httpd.Apache.org/docs/2.4/mod/core.HTML#options

    # For more information.

    #

    Options Indexes FollowSymLinks

    #

    # AllowOverride controls what directives may be placed in .htaccess files.

    # It can be 'All', 'None', or any combination of key words:

    # AllowOverride FileInfo AuthConfig Limit

    #

    AllowOverride None

    #

    # Controls who can get stuff from this server.

    #

    Need of all granted

    < / Book >

    #

    # DirectoryIndex: sets the file Apache will serve if a directory

    # is requested.

    #

    < IfModule dir_module >

    DirectoryIndex index.html

    < / IfModule >

    #

    # The following lines prevent the .htaccess and .htpasswd files to be

    # seen by customers of the Web.

    #

    < files ".ht *" >

    Need all refused

    < / files >

    #

    # ErrorLog: The location of the error log file.

    # If you do not specify an ErrorLog directive in a < VirtualHost >

    # container, error messages related to this virtual host will be

    # logged here.  If you * define an error for a < VirtualHost > log file

    container of #, that host errors will be logged there and not here.

    #

    ErrorLog "logs/error_log".

    #

    # LogLevel: Control the number of messages in the error_log.

    # Possible values include: debug, info, notice, warn, error, crit,.

    # emerg, alert.

    #

    LogLevel debug

    < IfModule log_config_module >

    #

    # The following directives define some nicknames format for use with

    # a directive CustomLog (see below).

    #

    "LogFormat '%%u %t \"%r\ hour' % > s \"%{Referer}i\ %b" \"%{User-Agent}i\" "handset"

    "LogFormat '%%u %t \"%r\ hour' % > s %b "commune

    < IfModule logio_module >

    # You must enable mod_logio.c use %I and frequency

    "" LogFormat '%%u %t \"%r\ hour' % > s %b \"%{Referer}i\ "\"%{User-Agent}i\ "%I %o "combinedio

    < / IfModule >

    #

    # The location and format of the access (Common Log Format) log file.

    # If you do not have any logfiles access set in a < VirtualHost >

    container of #, they will be saved here.  On the other hand, if you * do *.

    # define per - < VirtualHost > access logfiles, transactions will be

    # logged there and * not * in this file.

    #

    CustomLog "logs/access_log" common

    #

    # If you prefer a log file of access, agent, and referer information

    # (Combined logfile format) you can use the following directive.

    #

    #CustomLog "logs/access_log" combined

    < / IfModule >

    < IfModule alias_module >

    #

    # Redirect: Allows to tell clients the documents used for

    # exist in your server's namespace, but no more. The customer

    # make a new request for the document at its new location.

    # Example:

    # Redirect permanent/foo http://www.example.com/bar

    #

    # Alias: Maps web paths into paths of file system and is used to

    # access content that don't live under the DocumentRoot directive.

    # Example:

    # Alias /webpath/full/filesystem/path

    #

    # If you include a trailing / on /webpath, then the server will be

    # require that he be present in the URL.  It is also likely that

    # duty provide a < Directory > section to allow access to

    # the path to the file system.

    #

    # ScriptAlias: This controls which directories contain server scripts.

    # ScriptAliases are essentially the same as assumed names, except that

    # documents in the target directory are treated as applications and

    # executed by the server on demand, rather than as documents sent to the

    client of #.  The same regulation on flight "/" applies to the ScriptAlias

    # as for the Alias directives.

    #

    ScriptAlias/cgi-bin / "/ usr/local/apache2/cgi-bin /".

    < / IfModule >

    < IfModule cgid_module >

    #

    # ScriptSock: On threaded servers, refers to the access path to the UNIX

    decision # used to communicate with the CGI mod_cgid daemon.

    #

    #Scriptsock cgisock

    < / IfModule >

    #

    # "/ usr/local/apache2/cgi-bin" just need to replace your ScriptAlias

    # CGI directory exists, if you have set up.

    #

    < directory "/ usr/local/apache2/cgi-bin" >

    AllowOverride None

    None of the options

    Need of all granted

    < / Book >

    < IfModule mime_module >

    #

    # TypesConfig points to the file containing the list of mappings from

    # MIME file extension - type.

    #

    TypesConfig conf/mime.types

    #

    # AddType allows you to add or replace the MIME configuration

    # the file specified in TypesConfig for specific file types.

    #

    #AddType application/x-gzip .tgz

    #

    # AddEncoding allows you to have certain browsers uncompress

    # information on the fly. Note: Not all browsers support this.

    #

    #AddEncoding x-compress. Z

    #AddEncoding x-gzip .gz .tgz

    #

    # If the AddEncoding directives above are commented out, then you

    # should probably define these extensions to indicate media types:

    #

    AddType application/x-compress. Z

    AddType application/x-gzip .gz .tgz

    #

    # AddHandler allows you to map certain "manipulators": file extensions

    # No actions associated with the file type. It can be either integrated into the server

    # or added to the directive of the Action (see below)

    #

    # To use CGI outside of ScriptAlias directories scripts:

    # (You will also need to add "ExecCGI" to the "Options" directive.)

    #

    #AddHandler cgi-script .cgi

    # For maps of type (negotiated resources):

    #AddHandler type-plan of the var

    #

    # Filters allow you to process content before sending it to the client.

    #

    # To parse .shtml for server-side includes (SSI) files:

    # (You will also need to add "Includes" the "Options" directive.)

    #

    #AddType text/html .shtml

    #AddOutputFilter INCLUDES .shtml

    < / IfModule >

    #

    # The mod_mime_magic module allows the server to use various boards of the

    content of the file itself to determine its type.  The MIMEMagicFile

    # directive tells the module where the definitions of suspicion.

    #

    #MIMEMagicFile conf/magic

    #

    # Customizable error responses come in three flavors:

    ((# 1) text 2) local redirects 3) external redirects

    #

    # Examples:

    #Error Document 500 "The server made a boo boo".

    #Error Document 404 Missing.html

    #Error Document 404 "/cgi-bin/missing_handler.pl"

    #Errordocument 402 http://www.example.com/subscription_info.html

    #

    #

    # MaxRanges: Number of channels in a Maximum request before

    # return the resource, or one of the extraordinary

    # values 'default', 'none' or 'unlimited '.

    # Default is to accept 200 beaches.

    Unlimited #MaxRanges

    #

    # EnableMMAP and EnableSendfile: on systems that support.

    projection in memory # or the sendfile syscall can be used to deliver

    # files.  Usually, this improves the performance of the server, but must

    # turn off when mounted network is served

    # file systems or if support for these functions is also

    # broken on your system.

    # Default: EnableMMAP, EnableSendfile Off

    #

    #EnableMMAP off

    #EnableSendfile on

    # Additional configuration

    #

    # The configuration files in the conf/extra/directory can be

    # included to add additional features or change the default configuration

    # the server, or you can simply copy their content here and change as

    # necessary.

    # Server-pool management (MPM specific)

    #Include conf/extra/httpd-mpm.conf

    # Multilingual error messages

    #Include conf/extra/httpd-multilang-errordoc.conf

    # Entries to the fancy directory

    #Include conf/extra/httpd-autoindex.conf

    # Language settings

    #Include conf/extra/httpd-languages.conf

    # User directories

    #Include conf/extra/httpd-userdir.conf

    # Info in real time on the applications and configuration

    #Include conf/extra/httpd-info.conf

    # Virtual hosts

    #Include conf/extra/httpd-vhosts.conf

    # Local access to the manual for the Apache HTTP Server

    #Include conf/extra/httpd-manual.conf

    # Distributed authoring and versioning (WebDAV)

    #Include conf/extra/httpd-dav.conf

    # Various default settings

    #Include conf/extra/httpd-default.conf

    # Configure mod_proxy_html to understand HTML4/XHTML1

    < IfModule proxy_html_module >

    Include the conf/extra/proxy-html.conf

    < / IfModule >

    # Secure connections (SSL/TLS)

    #Include conf/extra/httpd-ssl.conf

    #

    # Note: The following text should be present to support

    # start without SSL on platforms without equivalent/dev/random

    but # a statically compiled in mod_ssl.

    #

    < IfModule ssl_module >

    SSLRandomSeed startup builtin

    SSLRandomSeed connect builtin

    < / IfModule >

    #

    # Uncomment on the below to deal with user agents that deliberately

    # violate open standards by abusing DNT (DNT * must * be a specific)

    choice of end-users #)

    #

    # < IfModule setenvif_module >

    #BrowserMatch "MSIE 10.0"; bad_DNT

    # < / IfModule >

    # < IfModule headers_module >

    #RequestHeader unset DNT env = bad_DNT

    # < / IfModule >

    #= WLS 12 c routing Configuration. Seven 2015 =.

    # Added to fix the mistakes of transport of myAST resulting from the use of deprecated SSL 2.0 Mobile Security.

    # The following has been added to activate the reverse proxy requests from users of WLS 12 c-based applications.

    #-8002 port = SSL listener for api.astcorporation.com (managed server)

    # - the port 443 = SSL listener for myast.astcorporation.com (managed server)

    #

    # Phases of deployment:

    API.astcorporation.com:8001/myast # (1).

    # VirtualHost (2) Setup / WeblogicCluster guidelines to register myast.astcorporation.com:443

    # 3-test api & myast

    # 4-regenerate private certificate + all certificates.

    # Minimum nonclustered directive specifies WebLogic IP + port.

    < IfModule mod_weblogic.c >

    WebLogicHost 192.168.1.43

    WebLogicPort 8002

    Debugging now

    DebugConfigInfo WE

    Newspapers/myAst12c_WLS_error_log WLLogFile

    WLS-JSESSION-ID WLCookieName

    < / IfModule >

    # Proxy request per path Note: SetHandler specifies the handler for the plug-in module for the Apache HTTP Server

    < /myast location >

    SetHandler weblogic-Manager

    ErrorPage http://www.astcorporation.com/services/middleware/Middleware_Services.html

    < / location >

    # Added proxy

    ProxyPreserveHost off

    #ProxyPass /api http://API.astcorporation.com:8001 / myast

    #ProxyPass /myast http://myast.astcorporation.com

    I found my answer after I posted.  I'll leave it here to help others...

    The list of all instances of Apache that were started

    • ' ps - ef | grep apache. "

    Kill the persistent process

  • AMT-00512: address already in use

    Hello
    10 g R2 on AIX, the listener does not start with:

    AMT-00512: address already in use

    It is proposed to change the DB port. But this is not practical, given that multiple users connect to real port and we cannot change tnsnames.ora to all.
    Any idea?

    Thank you.

    Hello

    I can recommend 2 options.

    1. netstat - a | grep

    Use netstat to find which process id using the port of the listener and then kill him this process to get the listener run.

    2 another option may be to stop the listener, reconfigure it on the same port and start the receiver.

    Kind regards

    Ugur

Maybe you are looking for