Feedback request for a Single Instance Application Implementation

Hello,
I have been working on a class which I tried to make the most generic I could so that I could re-use it for various projects. It offers 2 main functionalities:
-Preventing multiple instances of an application
-Allowing a user to stop the application even if it doesn't read any user input
Of course if someone wants to have multiple instances of the same application, it is still possible. The only requirement is that each instance be configured to run on a different port.
I would like your feedback on how I've implemented this to make sure I haven't missed the chance to make my Class flexible and re-usable. I would also make sure that there aren't any situations where the different threads used for realizing this functionality will run into any conflicts.
My code includes the following files:
Serviceable.java : An interface which must be implemented by every application using these classes
DuplicateServiceException.java : An exception thrown when an instance of the application is already running
Service.java : The class responsible for offering the functionalities I already mentionned
Main.java : An example of a class implementing Serviceable and offering two ways of closing the Application. 1- By closing the JFrame which is displayed. 2- By sending the stop command.
In order to execute this example, you have to specify the following command line arguments:
-DService.Command={start/stop} //Either start or stop command
-DService.Port=<0-65535> //Port to be used for receiving the stop command and preventing multiple instances
Serviceable.java
* Serviceable cares about two parts of the life of a Service.  Its startup
* and its shutdown sequences.  The startup occurs only after making sure
* no other instance of the Service is running.  Shutdown has to be
* synchronized between multiple threads since it is possible to shutdown
* the service through a shutdown command sent by another process, or through
* the normal flow of execution of the service.
* @author Gabriel Aubut-Lussier
public interface Serviceable {
      * Initiates the startup of the Service since we have made sure
      * that there isn't any other instance of the Service running.
     public void startup();
      * Initiates the shutdown of the Service since we've received
      * a shutdown request from one of the two supported means of
      * shutting down.
     public void shutdown();
DuplicateServiceException.java
public class DuplicateServiceException extends Exception {
      * serialVersionUID?  Bah. Eclipse generates one automatically so why not...
     private static final long serialVersionUID = 3929576386522489749L;
     public DuplicateServiceException() {
          super();
     public DuplicateServiceException(String msg) {
          super(msg);
Service.java
* The same way a graphical application is running as long as there
* is something to display, a background service will run as long as
* there is an active Thread.
* A service can be terminated in different ways.  First of all, it
* can be terminated through its normal flow of execution.  On the
* other hand, it is possible to provoke the termination of a Service
* externally.
* To terminate the service through the normal flow, just call the
* Service.shutdown() method.  Another way to terminate the service
* is to start a new instance of the program with the Stop command.
* This Service implementation will behave according to two system
* properties.  The property Service.Command can be set
* to "start" or "stop".  When set to "start", the Service will make
* sure there isn't another instance of the service already running.
* If it is the case, a DuplicateServiceException will be thrown.  In
* the other case, the Service will start.  When the "stop" command
* is invoked, the Service will attempt to stop a running instance of
* the Service.  The other property is Service.Port and
* it defines the Port number which will be used to support the
* functionalities offered by the Service class.
* It is recommended to set these properties as command line arguments
* when launching the application.  Moreover, batch files or shell
* scripts can be created for invoking the start and stop commands.
* @author Gabriel Aubut-Lussier
public class Service implements Runnable {
     public final static String START_COMMAND = "start";
     public final static String STOP_COMMAND = "stop";
     public final static String SERVICE_COMMAND = "Service.Command";
     public final static String SERVICE_PORT = "Service.Port";
     private String serviceCommand;
     private int servicePort;
     private Serviceable service;
     private ServerSocket serviceListener;
     private Thread serviceThread;
      * Creates a new service registering the hooks required to perform
      * clean termination sequences.
      * @param s
      * @throws DuplicateServiceException
     public Service(Serviceable s) throws DuplicateServiceException {
          service = s;
          serviceCommand = System.getProperty(SERVICE_COMMAND);
          String servicePortString = System.getProperty(SERVICE_PORT);
          if(servicePortString == null)
               servicePort = -1;
          else
               servicePort = Integer.parseInt(servicePortString);
      * Try running this new Service instance if there isn't one
      * already running.
      * @throws DuplicateServiceException if another service instance is already running.
     public void start() throws DuplicateServiceException {
          if(serviceCommand == null || servicePort < 0) {
               throw new IllegalArgumentException("The command and port number must be specified.");
          if(serviceCommand.equals(START_COMMAND)) {
               try {
                    serviceListener = new ServerSocket(servicePort);
                    serviceThread = new Thread(this);
                    serviceThread.start();
                    service.startup();
               } catch(BindException e) {
                    throw new DuplicateServiceException("An instance of the service is already running.");
               }catch(IOException e) {
                    e.printStackTrace();
          } else if(serviceCommand.equals(STOP_COMMAND)) {
               shutdown();
      * Provoke a shutdown command.
     public void shutdown() {
          try {
               Socket sock = new Socket("localhost", servicePort);
               OutputStreamWriter out = new OutputStreamWriter(sock.getOutputStream());
               out.write("shutdown");
               out.flush();
               out.close();
               sock.close();
          } catch (UnknownHostException e) {
               e.printStackTrace();
          } catch (IOException e) {
               //This exception may occur when trying to stop a service which wasn't running.
               //There is no need to do anything in this case.
      * While the Service is running, it listens on a port to make sure no
      * other instance of this Service is started and to listen to shutdown
      * commands.
     public void run() {
          boolean keepGoing = true;
          while(keepGoing) {
               try {
                    Socket sock = serviceListener.accept();
                    InputStreamReader in = new InputStreamReader(sock.getInputStream());
                    char cBuf[] = new char[256];
                    int amount = in.read(cBuf);
                    in.close();
                    sock.close();
                    keepGoing = !((new String(cBuf, 0, amount)).equals("shutdown"));
               } catch (IOException e) {
                    e.printStackTrace();
          try {
               service.shutdown();
               serviceListener.close();
          } catch(IOException e) {
               e.printStackTrace();
     public String getServiceCommand() {
          return serviceCommand;
     public void setServiceCommand(String serviceCommand) {
          this.serviceCommand = serviceCommand;
     public int getServicePort() {
          return servicePort;
     public void setServicePort(int servicePort) {
          this.servicePort = servicePort;
Main.java
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
public class Main implements Serviceable {
     private JFrame window;
     private Service service;
     public static void main(String[] args) {
          new Main();
     public Main() {
          try {
               service = new Service(this);
               service.start();
          } catch(DuplicateServiceException e) {
               e.printStackTrace();
     public void startup() {
          window = new JFrame("SERVICE TEST! :D");
          window.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
          window.addWindowListener(new WindowAdapter() {
               public void windowClosed(WindowEvent e) {
                    service.shutdown();
          window.setVisible(true);
     public void shutdown() {
          System.out.println("Application shutdown");
          window.dispose();
}Thanks in advance for your feedback.
-Gabriel Aubut-Lussier

I have fixed the handshake.
And even though it isn't implemented yet, I think I have my solution for the limitation of 1 instance per user. I plan on using a hidden file in the user's home directory in which I will write the port number where the running application is listening for events. I have not yet chosen how the port number will be chosen before being written to the file but I am thinking about using a random number between 1024 and 65535. Using this approach, it is possible to maintain all the features I've implemented in the Single Overall Instance solution I already have.
Here is the code with the handshake fixed:
Serviceable.java
* Serviceable cares about two parts of the life of a Service.  Its startup
* and its shutdown sequences.  The startup occurs only after making sure
* no other instance of the Service is running.  Shutdown has to be
* synchronized between multiple threads since it is possible to shutdown
* the service through a shutdown command sent by another process, or through
* the normal flow of execution of the service.  Moreover, when another instance
* is prevented from being launched, the running instance is notified so that it
* can react to such an event.
* @author Gabriel Aubut-Lussier
public interface Serviceable {
      * Initiates the startup of the Service since we have made sure
      * that there isn't any other instance of the Service running.
     public void startup();
      * Notifies the Service that the application has been invoked again in
      * case the running instance wants to react to such an event.  Most GUI
      * applications will just bring themselves to the front while background
      * services will maybe just want to re-scan their configuration files or
      * just ignore the event.
     public void invoke();
      * Initiates the shutdown of the Service since we've received
      * a shutdown request from one of the two supported means of
      * shutting down.
     public void shutdown();
DuplicateInstanceException.java
public class DuplicateServiceException extends Exception {
      * serialVersionUID?  Bah. Eclipse generates one automatically so why not...
     private static final long serialVersionUID = 3929576386522489749L;
     public DuplicateServiceException() {
          super();
     public DuplicateServiceException(String msg) {
          super(msg);
Service.java
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.BindException;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.UnknownHostException;
* The same way a graphical application is running as long as there
* is something to display, a background service will run as long as
* there is an active Thread.
* A service can be terminated in different ways.  First of all, it
* can be terminated through its normal flow of execution.  On the
* other hand, it is possible to provoke the termination of a Service
* externally.
* To terminate the service through the normal flow, just call the
* Service.shutdown() method.  Another way to terminate the service
* is to start a new instance of the program with the Stop command.
* This Service implementation will behave according to two system
* properties.  The property Service.Command can be set to "start"
* or "stop".  When set to "start", the Service will make sure there
* isn't another instance of the service already running.  If it is
* the case, a DuplicateServiceException will be thrown.  In the
* other case, the Service will start.  When the "stop" command is
* invoked, the Service will attempt to stop a running instance of
* the Service.  The other property is Service.Port and it defines
* the Port number which will be used to support the functionalities
* offered by the Service class.
* It is recommended to set these properties as command line arguments
* when launching the application.  Moreover, batch files or shell
* scripts can be created for invoking the start and stop commands.
* @author Gabriel Aubut-Lussier
public class Service implements Runnable {
     public final static String START_COMMAND = "start";
     public final static String STOP_COMMAND = "stop";
     public final static String SERVICE_COMMAND = "Service.Command";
     public final static String SERVICE_PORT = "Service.Port";
     private final static String GREETING = "Greetings";
     private final static String QUERY = "?";
     private final static String ACCEPT = "yes";
     private final static String DECLINE = "no";
     private final static String SHUTDOWN = "shutdown ";
     private final static int SO_TIMEOUT = 100;
      * This is the application-specific String
     private String serviceClass;
      * This is the command which we will execute when start() is invoked
      * The value is either "start" or "stop"
      * This value can be configured using the System property: Service.Command
     private String serviceCommand;
      * This is the port which is used to watch for duplicate instances
      * This value can be configured using the System property: Service.Port
     private int servicePort;
     private Serviceable service;
     private ServerSocket serviceListener;
     private Thread serviceThread;
      * Creates a new service registering the hooks required to perform
      * clean termination sequences.
      * @param s A Serviceable class
      * @throws DuplicateServiceException If there is a duplicate instance running
     public Service(Serviceable s) throws DuplicateServiceException {
          service = s;
          serviceClass = s.getClass().toString();
          serviceCommand = System.getProperty(SERVICE_COMMAND);
          String servicePortString = System.getProperty(SERVICE_PORT);
          if(servicePortString == null)
               servicePort = -1;
          else
               servicePort = Integer.parseInt(servicePortString);
      * Try running this new Service instance if there isn't one
      * already running.
      * @throws DuplicateServiceException if another service instance is already running.
      * @throws BindException if another application is using the configured port.
     public void start() throws DuplicateServiceException, BindException {
          if(serviceCommand == null || servicePort < 0 || servicePort > 65535) {
               throw new IllegalArgumentException("The command and port number must be specified.");
          if(serviceCommand.equals(START_COMMAND)) {
               try {
                    serviceListener = new ServerSocket(servicePort);
                    serviceThread = new Thread(this);
                    serviceThread.start();
                    service.startup();
               } catch(BindException e) {
                    queryOtherInstance();
                    throw e;
               } catch(IOException e) {
                    e.printStackTrace();
          } else if(serviceCommand.equals(STOP_COMMAND)) {
               shutdown();
      * Send the shutdown command to the running instance of the application.
     public boolean shutdown() {
          boolean shutdownSuccessful = false;
          try {
               Socket sock = new Socket("localhost", servicePort);
               sock.setSoTimeout(SO_TIMEOUT);
               //If the greeting doesn't match, it's not a duplicate instance
               //and we can't shut it down
               InputStreamReader in = new InputStreamReader(sock.getInputStream());
               OutputStreamWriter out;
               if(receivedGreeting(in)) {
                    //Sending the shutdown command
                    out = new OutputStreamWriter(sock.getOutputStream());
                    out.write(SHUTDOWN + serviceClass);
                    out.flush();
                    //Read the confirmation
                    char cBuf[] = new char[1024];
                    int amount = in.read(cBuf);
                    String confirmation = new String(cBuf, 0, amount);
                    if(confirmation.equals(ACCEPT)) {
                         shutdownSuccessful = true;
                    out.close();
               //Closing the connection
               in.close();
               sock.close();
          } catch (UnknownHostException e) {
               //This exception shouldn't happen unless the loopback address doesn't exist?
          } catch (IOException e) {
               //This exception may occur when trying to stop a service which wasn't running.
               //There is no need to do anything in this case.
          return shutdownSuccessful;
      * Reads the greeting from the running instance we are interacting with.
      * @param in An InputStreamReader built on the Socket's InputStream
      * @return True if we received the expected greeting, false otherwise
      * @throws IOException if a problem occurs while receiving the greeting
     private boolean receivedGreeting(InputStreamReader in) throws IOException {
          //Reading the expected greeting from the server
          char cBuf[] = new char[1024];
          int amount = in.read(cBuf);
          String greeting = new String(cBuf, 0, amount);
          return greeting.equals(GREETING);
      * While the Service is running, it listens on a port to make sure no
      * other instance of this Service is started and to listen to shutdown
      * commands.
     public void run() {
          boolean keepGoing = true;
          while(keepGoing) {
               Socket sock;
               InputStreamReader in;
               try {
                    sock = serviceListener.accept();
                    sock.setSoTimeout(SO_TIMEOUT);
                    //Sending a greeting
                    OutputStreamWriter out = new OutputStreamWriter(sock.getOutputStream());
                    out.write(GREETING);
                    out.flush();
                    //Reading the incoming message
                    in = new InputStreamReader(sock.getInputStream());
                    char cBuf[] = new char[1024];
                    int amount = in.read(cBuf);
                    String message = new String(cBuf, 0, amount);
                    //Writing an answer
                    boolean invoked = message.equals(serviceClass + QUERY);
                    if(invoked) {
                         out.write(ACCEPT);
                    } else {
                         out.write(DECLINE);
                         keepGoing = !message.equals(SHUTDOWN + serviceClass);
                    out.flush();
                    //Closing the connection
                    out.close();
                    in.close();
                    sock.close();
                    //Notify the running application is there has been an invocation
                    if(invoked) {
                         service.invoke();
               } catch (IOException e) {
                    //Seems like an IO operation failed.  Let's just forget about
                    //this connection attempt and wait for another
          //Shutdown the Service
          service.shutdown();
          try {
               serviceListener.close();
          } catch(IOException e) {
               //Couldn't close the serverSocket upon shutdown?
               //weird... but anyhow...
      * Connects to the configured port to check out wether it is a duplicate
      * instance of the application or if it is another application using the
      * same port number.  If it is another application, nothing will happen.
      * @throws DuplicateServiceException if it is a duplicate instance
     private void queryOtherInstance() throws DuplicateServiceException {
          try {
               Socket sock = new Socket("localhost", servicePort);
               sock.setSoTimeout(SO_TIMEOUT);
               //Read greeting
               InputStreamReader in = new InputStreamReader(sock.getInputStream());
               String answer = null;
               if(receivedGreeting(in)) {
                    //Writing the application-specific query
                    OutputStreamWriter out = new OutputStreamWriter(sock.getOutputStream());
                    out.write(service.getClass().toString() + "?");
                    out.flush();
                    //Reading the answer
                    char[] cBuf = new char[3];
                    int amount = in.read(cBuf);
                    answer = new String(cBuf, 0, amount);
                    out.close();
               //Closing the connection
               in.close();
               sock.close();
               //If the answer is "yes" then it is a duplicate
               if(answer != null && answer.equals("yes")) {
                    throw new DuplicateServiceException("An instance of the service is already running.");
          } catch (UnknownHostException e) {
               //This exception shouldn't happen unless the loopback address doesn't exist?
          } catch (IOException e) {
               //If we fail to query the application appropriately we consider
               //it isn't a duplicate entry so we do nothing.
     public String getServiceCommand() {
          return serviceCommand;
     public void setServiceCommand(String serviceCommand) {
          this.serviceCommand = serviceCommand;
     public int getServicePort() {
          return servicePort;
     public void setServicePort(int servicePort) {
          this.servicePort = servicePort;
Main.java
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.net.BindException;
import javax.swing.JFrame;
public class Main implements Serviceable {
     private JFrame window;
     private Service service;
     public static void main(String[] args) {
          new Main();
     public Main() {
          try {
               service = new Service(this);
               service.start();
          } catch(DuplicateServiceException e) {
               e.printStackTrace();
          } catch(BindException e) {
               e.printStackTrace();
     public void startup() {
          window = new JFrame("SERVICE TEST! :D");
          window.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
          window.addWindowListener(new WindowAdapter() {
               public void windowClosed(WindowEvent e) {
                    service.shutdown();
          window.setVisible(true);
     public void shutdown() {
          System.out.println("Application shutdown");
          window.dispose();
     public void invoke() {
          System.out.println("Another instance tried to startup");
          window.toFront();
}

Similar Messages

  • How To get the number of request's for a single Composite Application

    Hi can any body tell how to get the number requst's for a single composite application.
    Thanks
    Mani

    Hi,
    There are lots of STATE is available for composite instances, like mentioned in the below query. I hope you will get answer from the below query.
    SELECT (CASE WHEN STATE=1 THEN 'OPEN AND RUNNING'
    WHEN STATE=2 THEN 'OPEN AND SUSPENDED'
    WHEN STATE=3 THEN 'OPEN AND FAULTED'
    WHEN STATE=4 THEN 'CLOSED AND PENDING'
    WHEN STATE=5 THEN 'CLOSED AND COMPLETED'
    WHEN STATE=6 THEN 'CLOSED AND FAULTED'
    WHEN STATE=7 THEN 'CLOSED AND CANCELLED'
    WHEN STATE=8 THEN 'CLOSED AND ABORTED'
    WHEN STATE=9 THEN 'CLOSED AND STALE'
    WHEN STATE=10 THEN 'NON-RECOVERABLE'
    ELSE STATE || ''
    END) AS STATE, component_name, COUNT(*) AS NUM_OF_CUBE_INST FROM CUBE_INSTANCE where composite_name='PASS THE COMPOSITE NAME HERE..........'
    group by (CASE WHEN STATE=1 THEN 'OPEN AND RUNNING'
    WHEN STATE=2 THEN 'OPEN AND SUSPENDED'
    WHEN STATE=3 THEN 'OPEN AND FAULTED'
    WHEN STATE=4 THEN 'CLOSED AND PENDING'
    WHEN STATE=5 THEN 'CLOSED AND COMPLETED'
    WHEN STATE=6 THEN 'CLOSED AND FAULTED'
    WHEN STATE=7 THEN 'CLOSED AND CANCELLED'
    WHEN STATE=8 THEN 'CLOSED AND ABORTED'
    WHEN STATE=9 THEN 'CLOSED AND STALE'
    WHEN STATE=10 THEN 'NON-RECOVERABLE'
    ELSE STATE || ''
    END), component_name;
    Thanks,
    Vijay

  • How to create the multiple spool requests for a single report.

    Hi gurus,
                     I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
    now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
    And one more question is can we create a spool request for a report which is running in online.
    waiting for inputs frm gurus.

    Hello,
    As per my knowledge for creating new spool id you will have to set
    output_options-tdnewid = 'X'.
    and then using
    job_output_info-spoolids
    create a pdf using
    call function 'CONVERT_OTFSPOOLJOB_2_PDF'
    Rachana.

  • Creating a RAC standby database for a single instance database

    Dear All,
    I have a task of migrating a 500GB single instance database to a two-node RAC database with a little downtime at hand. My migration strategy is to:
    1) Create a RAC physical standby for the Single Instance database
    2) Switchover to RAC standby.
    Primary and Standby OS and DB configurations:
    OS: Windows Server EE 2003 (64-bit)
    DB: Oracle 10g Database Release 2 (10.2.0.4)
    Oracle 10g Clusterware Release 2 (10.2.0.4)
    To create a RAC standby, I will:
    a) Install Clusterware (10.2.0.1)
    b) Install Database (10.2.0.1)
    c) Patch both Clusterware and Database (10.2.0.4)
    d) Create ASM instance for both the nodes (+ASM1 & +ASM2)
    e) create standby controlfile on primary
    f) Move standby controlfile, RMAN backup of primary, pfile, listener.ora, tnsnames.ora, password file to standby host-1
    g) make necessary changes to the pfile on standby host-1 like cluster_database, instance_name, thread, ...
    h) mount standby database and restore backup
    Kindly validate my steps and if there already exists such a document then please do provide me with a link.
    Regards

    Please refer to MAA whitet paper :
    [http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf]
    [MAA website|http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm]

  • Trying to install flash player; keep getting message that only single instance application can rub, but this has been happening 2/3 days; help?

    I've been attempting to install Flashplayer, but keep getting the message that only a single instance of the application can run. Have tried various things but not getting anywhere.
    Can anyone assist? Thanks.

    Does this error appear after you complete the download and start up the installer file? If so, you may need to restart Windows. Sometimes the Windows Installer accumulates a backlog of changes and stops working correctly until you restart your system and let it clear its queue.

  • Load balancing HTTP requests for an OC4J instance w/multiple JVMs

    Hello everyone,
    I am using OAS 10.1.3.1 and wish to load balance HTTP requests across an OC4J group of one or more OC4J instances, where each like named OC4J instance may have multiple JVMs or it may just have one JVM.
    My mod_oc4j.conf file would contain the following directives :
    Oc4jSelectMethod roundrobin:local
    Oc4jRoutingMode Static
    Oc4JMount /xyz/* xyz
    In the degenerate case, I would like to have an OC4J group with a cluster size of one, and have that one OC4J instance have two or more JVMs. I would like to be able to receive a request within my web application, determine that the JVM that has been sent the request is the wrong JVM to process the request, and then call HttpServletResponse.sendRedirect("/xyz"). Then, when the browser receives the HTTP 302 response and issues the subsequent HTTP request, have that request sent to a different JVM than the previous JVM that issued the sendRedirect().
    What I have seen is that the subsequent request is sent back to the same JVM that issued the sendRedirect(). I also call invalidate() against the HttpSession prior to calling sendRedirect(), but that does not seem to affect the behavior that I see.
    In the full blown case, I would have an OC4J group with a cluster size > 1, and each of those OC4J instances would have at least one JVM. In that case, I wish the sendRedirect() call to allow the subsequent request to be sent to any one of the OC4J instances in the group, and any one of those JVMs within all of those OC4J instances.
    Can anyone verify that my mod_oc4j mount directive is appropriate given the select method and routing mode? What else might I need to do to have a chance to have a different JVM respond to the request that results from a sendRedirect()?
    Thank you,
    Doug

    I should clarify that in the full blown environment, the OC4J instances that form a group will each be housed within a separate OAS instance that resides on its own machine.
    So ideally, a request could be inbound to say OAS instance 1 on machine A, OC4J instance AA, JVM 2, and I need to force a redirect so that the request can actually be serviced by OAS instance 3 on machine C, OC4J instance AA, JVM 1, and I need to be able to call sendRedirect() against an HttpServletResponse from within a JVM until the subsequent request from the browser, Internet Explorer in my case, is serviced by that JVM.
    Thanks,
    Doug

  • Feedback Request for OS X 10.8.3 and Logic 9.1.8

    Can anyone who has updated their system to 10.8.3 and is still noticing the lag/unresponsive button press issue with Logic Pro 9.1.8, reply to this thread with the following info please
    1) System specs (inc Amount of memory, Processor speed, Insteranl and external HD speed and connection type.. and Graphic card memory)
    2) Running Logic in 32bit... 64bit or both?
    3) If running Logic in both modes, is there any difference in the noticable lag between the two modes?
    4) Which specific AU Plugins (Botyh built in and 3rd party) seem to cause the Lag issue when added to a project
    5 )Any other Audio based hardware connected to your mac (i.e. UAD2 for example)
    6) Midi and/or Audio Interface used.
    7) Any other noticable and repeatable issues present in Logic 9.1.8 apart from the Lag/Unresponsive button press issue.
    Please note: Thiis feedback is requested from those who have the Lag/Unresponsive Button press issue and not the slow redraw issue....which may be unconnected to the lag isue.
    Many thanks...

    To get the ball rolling, I had an emailed report from a new client of mine this evening so I'll add this one to the thread..
    Steve A. from VI Studios
    1) 2011 iMac 3.4Ghz, 8GB mem, Internal HD 2TB 5400rpm Ext HDs twin FW800 Glyph 7200 1TB HDs, 1TB VRAM
    2) 32bit Logic only (No issues running Logic in 64bit)
    3) N/A
    4)  Slate Digital VCC in particular... VTM to a lesser extent.
    5) None
    6) Presonus Audiobox Studio
    7) Constant nagging about Airplay still present in Logic.

  • Feedback request for First PC Build - For video editing (Premiere, AE)

    Hey guys. This is going to be my first PC Build, and I've been researching for weeks to put together parts to build a balanced system that is affordable but will still perform solidly. Since I am so new at this, most of this PC jargon is extremely new to me. I would just build it, but for me this is a lot of money, and I want to double check with some more experienced people that this is a solid build before stepping forward.
    I've recently started my own videography business, and I need to build something that will allow me to edit and add effects more efficiently. I don't need the best in the game, but I do need to upgrade from my current system. I edit almost entirely DSLR footage. I mostly use Premiere, but am learning AE, and hope to implement it a lot more in the near future. Anyway, if you have time to look it over, I really appreciate any feedback you are willing to give!!
    -Does everything fit?!
    -Is this system balanced?
    -Are there any bottlenecks?
    -Anything overkill?
    -How upgradeable is it?
    -Is there anything worth upgrading now rather than later?
    -Also, are there other sites to find these parts cheaper?
    Component
    Choice
    Link
    MOBO
    ASRock Z77 Extreme4 LGA 1155 Intel Z77 HDMI SATA 6Gb/s USB 3.0 ATX Intel Motherboard
    http://www.newegg.com/Product/Product.aspx?Item=N82E16813157293
    CPU
    Intel Core i7-3770K Ivy Bridge 3.5GHz 3.9GHz Turbo LGA 1155 77W Quad-Core Intel HD Graphics 4000
    http://www.newegg.com/Product/Product.aspx?Item=N82E16819116501
    GPU
    EVGA GeForce GTX  650Ti BOOST SuperClocked 2GB 192-bit GDDR5 PCI Express 3.0 SLI Support Video Card
    http://www.newegg.com/Product/Product.aspx?Item=N82E16814130910
    Memory
    G.SKILL Ripjaws X Series 32GB (4 x 8GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory Model F3-1600C9Q-32GXM
    http://www.newegg.com/Product/Product.aspx?Item=N82E16820231569
    Drives
    SAMSUNG 840 Pro Series MZ-7PD128BW 2.5" 128GB SATA III MLC Internal Solid State Drive (SSD)
    http://www.newegg.com/Product/Product.aspx?Item=N82E16820147192
    Western Digital WD Black WD2002FAEX 2TB 7200 RPM 64MB Cache SATA 6.0Gb/s 3.5" Internal Hard Drive - OEM
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822136792
    Cooling
    COOLER MASTER Hyper 212 EVO RR-212E-20PK-R2 Continuous Direct Contact 120mm Sleeve CPU Cooler Compatible with latest Intel 2011/1366/1155 and AMD FM1/FM2/AM3+
    http://www.newegg.com/Product/Product.aspx?Item=N82E16835103099
    Power Supply
    CORSAIR HX Series HX750 750W ATX12V 2.3 / EPS12V 2.91 SLI Ready CrossFire Ready 80 PLUS GOLD Certified Modular Active PFC Power Supply New 4th Gen CPU Certified Haswell Ready
    http://www.newegg.com/Product/Product.aspx?Item=N82E16817139010
    Optical Drive
    LG Black 14X BD-R 2X BD-RE 16X DVD+R 5X DVD-RAM 12X BD-ROM 4MB Cache SATA BDXL Blu-ray Burner, Bare Drive, 3D Play Back (WH14NS40) - OEM
    http://www.newegg.com/Product/Product.aspx?Item=N82E16827136250
    Case
    COOLER MASTER HAF 932 Advanced RC-932-KKN5-GP Black Steel ATX Full Tower Computer Case with USB 3.0, Black Interior and Four Fans-1x 230mm front RED LED fan, 1x 140mm rear fan, 1x 230mm top fan, and 1x 230mm side fan
    http://www.newegg.com/Product/Product.aspx?Item=N82E16811119160

    In addition to what cc_merchant has said, my only comments to add would be to consider the new Haswell platform and/or the Nvidia 700 series cards that recently came out.
    Depending on how soon you need this machine, it may be worth your while to get a 4770k and Z87 mobo. (You might want to wait for the C2 stepping to hit shelves, as the current C1 offerings have a USB 3.0 bug). I've read that the C2 version should hit shelves early to mid August.
    As for the videocard, Nvidia just released the Gtx 760, which would be a much stronger offering for a little bit more money. (Some here might argue that it is overkill for that machine, but I think the future proof aspect makes it worth it).
    For the hard drives, below is the hypothetical scenario I plan to go with when I build my system (per Harm's instructions):
    C:\  OS, Programs, Windows Pagefile - 128GB Samsung 840 Pro SSD
    D:\  Projects and Media - 3TB Seagate 7200.14 HDD
    E:\  Media Cache / Scratch - RAID 0, 2x 1TB Seagate 7200.14 HDD
    F:\  Misc/Non-Video Editing Hard Drive - 1TB WD Caviar Black
    Exports go to whichever drive has space available.
    If you're only able to afford one of these upgrades, I would focus on getting the optimum hard drive setup. Right now, that's your bottleneck.
    Hope that helps.

  • More than one request for a single submit through IE 5.5/Netscape 4.7

    While using IE 5.5 or Netscape 4.7, I'm getting 3 requests coming to my servlet for a sigle submit from the same page. All 3 requests have 3 different thread ids. Can anyone advise how to prevent this?
    Thanks in advance for your early response.
    Thanks,
    Kalyan

    There is a good chance that the page that makes the request has the problem. I have seen it happen for using unnecessary javascript which submits the same form several times. check that page first.

  • I requested for update of the applications but they were simply showing waiting, finally i deleted those applications but the icons still remains on Iphone

    I tried to update my applications but they were simply showing waiting then i deleted these applications but still the icons remain on the Iphone

    Try This...
    Close All Open Apps...  Sign Out of yopur Account... Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • Feedback - requests for future sw/hw Enhancements

    Landscape documents
    Landscape keyboard for two thumb support
    Save documents/pictures/video locally
    Voice activated dialing
    Voice recording
    WMV, AVI conversion support in iTunes
    Cut and Paste
    3G
    Macro camera support
    Video capture
    Instant Message support
    Configuration of Stock and Weather order in list (like in World Clock)
    Simple Games

    The requirements team doesn't really follow the posts here.
    Good ideas, though. Be sure to submit them through the feedback form:
    http://www.apple.com/feedback/iphone.html
    Aym

  • Coding a LOGOFF button for a single Webdynpro Application

    Hi Experts,
           Can you please help me with the coding for a LOGOFF button for a standalone Webdyn pro Application.
    I did do the initial research and have the following in place.
            View O/P plug => Calling Window I/P plug => Calling Window O/P plug [Type 1 Exit ].
    Also, have the following coding in the Window I/P Plug.
                       wd_this->fire_op_logoff_plg(
              close_window = ABAP_TRUE  " wdy_boolean
    The Problem  is, When I press the LOGOFF button, a Window pops-up with "Do you want to Close this Window?" and Has 2 buttons YES/NO. If the user clicks YES, the window close and ALL IS WELL! But if the user CLICKs "NO" .  The Brower is still open with the message "Application was terminated; You can close the Window". Not sure how to take it forward. Please advise.
           If am totally fine, if I can close the window w/o any popup or user option.
    Cheers in advance!

    Hi,
    What you enumerated above should be all you need to code logoff:
    View O/P plug => Calling Window I/P plug => Calling Window O/P plug Type 1 Exit .
    Also, have the following coding in the Window I/P Plug.
    wd_this->fire_op_logoff_plg(
    close_window = ABAP_TRUE " wdy_boolean
    Just check your sessions before and after you click the logoff button. You should see the HTTP session only while the WD app is active.
    Are you saying it is not working? Did you setup the navigation link between the I->O plugs?
    Is there a problem?
    Regards,
    George

  • Feedback request for this case

    http://www.amazon.com/Premium-Crystal-Silicone-Precut-Protector/dp/B003E8LBVM/re f=cmcr_pr_pbt
    Anyone ever used this?

    http://www.amazon.com/Premium-Crystal-Silicone-Precut-Protector/dp/B003E8LBVM/re f=cmcr_pr_pbt
    Anyone ever used this?

  • Single instance standby for 2-node RAC

    Hi,
    Oracle Version:11.2.0.1
    Operating system:Linux
    Here i am planing to create single instance standby for my 2-node RAC database.Here i am creating my single instance standby database on 1-node of my 2-node RAC DB.
    1.) Do i need to configure any separate listener for my single instance standby in $ORACLE_HOME/network/admin in ORACLE user or need to change in Grid user login.
    2.) Below is the error when i am duplicating my primary 2-Node RAC to single instance DB. And it is shutting down my auxiliary instance.
    [oracle@rac1 ~]$ rman target / auxiliary sys/racdba123@stand
    Recovery Manager: Release 11.2.0.1.0 - Production on Sun Aug 28 13:32:29 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: RACDB (DBID=755897741)
    connected to auxiliary database: RACDB (not mounted)
    RMAN> duplicate database racdba to stand
    2> ;
    Starting Duplicate Db at 28-AUG-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=6 device type=DISK
    contents of Memory Script:
       sql clone "create spfile from memory";
    executing Memory Script
    sql statement: create spfile from memory
    contents of Memory Script:
       shutdown clone immediate;
       startup clone nomount;
    executing Memory Script
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/28/2011 13:33:55
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptorAlso find my listener services.
    [oracle@rac1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 29-AUG-2011 10:56:24
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                18-AUG-2011 10:35:07
    Uptime                    11 days 0 hr. 21 min. 17 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/rac1/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.8.123)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.8.127)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "RACDB" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
    Service "RACDBXDB" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
    Service "stand" has 2 instance(s).
      Instance "stand", status UNKNOWN, has 1 handler(s) for this service...
      Instance "stand", status BLOCKED, has 1 handler(s) for this service...
    Service "testdb" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
    Service "testdb1" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@rac1 ~]$ lsnrctl services
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 29-AUG-2011 10:56:35
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "RACDB" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:3 refused:0 state:ready
             LOCAL SERVER
    Service "RACDBXDB" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: rac1.qfund.net, pid: 3975>
             (ADDRESS=(PROTOCOL=tcp)(HOST=rac1.qfund.net)(PORT=43731))
    Service "stand" has 2 instance(s).
      Instance "stand", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
      Instance "stand", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:669 refused:0 state:ready
             LOCAL SERVER
    Service "testdb" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:3 refused:0 state:ready
             LOCAL SERVER
    Service "testdb1" has 1 instance(s).
      Instance "RACDB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:3 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    [oracle@rac1 ~]$Tnsnames.ora file content.
    RACDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = racdb-scan.qfund.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = RACDB)
    #QFUNDRAC =
    stand =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST= racdb-scan.qfund.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = stand)
          (UR = A)
      )Please help me how to solve this problem.
    Thanks & Regards,
    Poorna Prasad.S

    Hi,
    Please find the output from v$dataguard_status from primary and standby
    Primary
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARCH: LGWR is scheduled to archive destination LOG_ARCHIVE_DEST_2 after log swit
    ch
    ARCH: Beginning to archive thread 1 sequence 214 (4604093-4604095)
    Error 12514 received logging on to the standby
    ARCH: Error 12514 Creating archive log file to 'stand'
    ARCH: Completed archiving thread 1 sequence 214 (4604093-4604095)
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    MESSAGE
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    MESSAGE
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    MESSAGE
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    ARC2: Becoming the heartbeat ARCH
    ARC7: Beginning to archive thread 1 sequence 215 (4604095-4604191)
    ARC7: Completed archiving thread 1 sequence 215 (4604095-4604191)
    ARC5: Beginning to archive thread 1 sequence 216 (4604191-4604471)
    ARC5: Completed archiving thread 1 sequence 216 (4604191-4604471)
    ARCt: Archival started
    MESSAGE
    ARC3: Beginning to archive thread 1 sequence 217 (4604471-4605358)
    ARC3: Completed archiving thread 1 sequence 217 (4604471-4605358)
    LNS: Standby redo logfile selected for thread 1 sequence 217 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 217
    LNS: Completed archiving log 1 thread 1 sequence 217
    LNS: Standby redo logfile selected for thread 1 sequence 218 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 218
    MESSAGE
    LNS: Completed archiving log 2 thread 1 sequence 218
    ARC4: Beginning to archive thread 1 sequence 218 (4605358-4625984)
    ARC4: Completed archiving thread 1 sequence 218 (4605358-4625984)
    LNS: Standby redo logfile selected for thread 1 sequence 219 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 219
    LNS: Completed archiving log 1 thread 1 sequence 219
    ARC5: Beginning to archive thread 1 sequence 219 (4625984-4641358)
    ARC5: Completed archiving thread 1 sequence 219 (4625984-4641358)
    LNS: Standby redo logfile selected for thread 1 sequence 220 for destination LOG
    MESSAGE
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 220
    LNS: Completed archiving log 2 thread 1 sequence 220
    ARC6: Beginning to archive thread 1 sequence 220 (4641358-4644757)
    ARC6: Completed archiving thread 1 sequence 220 (4641358-4644757)
    LNS: Standby redo logfile selected for thread 1 sequence 221 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 221
    LNS: Completed archiving log 1 thread 1 sequence 221
    MESSAGE
    ARC7: Beginning to archive thread 1 sequence 221 (4644757-4648306)
    ARC7: Completed archiving thread 1 sequence 221 (4644757-4648306)
    LNS: Standby redo logfile selected for thread 1 sequence 222 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 222
    LNS: Completed archiving log 2 thread 1 sequence 222
    ARC8: Beginning to archive thread 1 sequence 222 (4648306-4655287)
    ARC8: Completed archiving thread 1 sequence 222 (4648306-4655287)
    LNS: Standby redo logfile selected for thread 1 sequence 223 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 1 thread 1 sequence 223
    LNS: Completed archiving log 1 thread 1 sequence 223
    ARC9: Beginning to archive thread 1 sequence 223 (4655287-4655307)
    ARC9: Completed archiving thread 1 sequence 223 (4655287-4655307)
    LNS: Standby redo logfile selected for thread 1 sequence 224 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 224
    LNS: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3135)
    LNS: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    MESSAGE
    Error 3135 for archive log file 2 to 'stand'
    LNS: Failed to archive log 2 thread 1 sequence 224 (3135)
    ARC3: Beginning to archive thread 1 sequence 224 (4655307-4660812)
    ARC3: Completed archiving thread 1 sequence 224 (4655307-4660812)
    LNS: Standby redo logfile selected for thread 1 sequence 224 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 224
    LNS: Completed archiving log 2 thread 1 sequence 224
    LNS: Standby redo logfile selected for thread 1 sequence 225 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 1 thread 1 sequence 225
    LNS: Completed archiving log 1 thread 1 sequence 225
    ARC4: Beginning to archive thread 1 sequence 225 (4660812-4660959)
    ARC4: Completed archiving thread 1 sequence 225 (4660812-4660959)
    LNS: Standby redo logfile selected for thread 1 sequence 226 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 226
    LNS: Completed archiving log 2 thread 1 sequence 226
    ARC5: Beginning to archive thread 1 sequence 226 (4660959-4664925)
    MESSAGE
    LNS: Standby redo logfile selected for thread 1 sequence 227 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 227
    ARC5: Completed archiving thread 1 sequence 226 (4660959-4664925)
    LNS: Completed archiving log 1 thread 1 sequence 227
    LGWR: Error 1089 closing archivelog file 'stand'
    ARC6: Beginning to archive thread 1 sequence 227 (4664925-4668448)
    ARC6: Completed archiving thread 1 sequence 227 (4664925-4668448)
    ARC5: Beginning to archive thread 1 sequence 228 (4668448-4670392)
    ARC5: Completed archiving thread 1 sequence 228 (4668448-4670392)
    MESSAGE
    LNS: Standby redo logfile selected for thread 1 sequence 228 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 228
    LNS: Completed archiving log 2 thread 1 sequence 228
    ARC4: Standby redo logfile selected for thread 1 sequence 227 for destination LO
    G_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 229 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 1 thread 1 sequence 229
    LNS: Completed archiving log 1 thread 1 sequence 229
    ARC3: Beginning to archive thread 1 sequence 229 (4670392-4670659)
    ARC3: Completed archiving thread 1 sequence 229 (4670392-4670659)
    LNS: Standby redo logfile selected for thread 1 sequence 230 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 230
    LNS: Completed archiving log 2 thread 1 sequence 230
    ARC4: Beginning to archive thread 1 sequence 230 (4670659-4670679)
    ARC4: Completed archiving thread 1 sequence 230 (4670659-4670679)
    MESSAGE
    LNS: Standby redo logfile selected for thread 1 sequence 231 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 231
    LNS: Completed archiving log 1 thread 1 sequence 231
    ARC5: Beginning to archive thread 1 sequence 231 (4670679-4690371)
    ARC5: Completed archiving thread 1 sequence 231 (4670679-4690371)
    LNS: Standby redo logfile selected for thread 1 sequence 232 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 232
    MESSAGE
    LNS: Completed archiving log 2 thread 1 sequence 232
    ARC6: Beginning to archive thread 1 sequence 232 (4690371-4712566)
    ARC6: Completed archiving thread 1 sequence 232 (4690371-4712566)
    LNS: Standby redo logfile selected for thread 1 sequence 233 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 233
    LNS: Completed archiving log 1 thread 1 sequence 233
    ARC7: Beginning to archive thread 1 sequence 233 (4712566-4731626)
    LNS: Standby redo logfile selected for thread 1 sequence 234 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 2 thread 1 sequence 234
    ARC7: Completed archiving thread 1 sequence 233 (4712566-4731626)
    LNS: Completed archiving log 2 thread 1 sequence 234
    ARC8: Beginning to archive thread 1 sequence 234 (4731626-4753780)
    LNS: Standby redo logfile selected for thread 1 sequence 235 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 235
    ARC8: Completed archiving thread 1 sequence 234 (4731626-4753780)
    LNS: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3135)
    MESSAGE
    LNS: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Error 3135 for archive log file 1 to 'stand'
    LNS: Failed to archive log 1 thread 1 sequence 235 (3135)
    ARC9: Beginning to archive thread 1 sequence 235 (4753780-4765626)
    ARC9: Completed archiving thread 1 sequence 235 (4753780-4765626)
    LNS: Standby redo logfile selected for thread 1 sequence 235 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 235
    LNS: Completed archiving log 1 thread 1 sequence 235
    LNS: Standby redo logfile selected for thread 1 sequence 236 for destination LOG
    MESSAGE
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 236
    LNS: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3135)
    LNS: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Error 3135 for archive log file 2 to 'stand'
    LNS: Failed to archive log 2 thread 1 sequence 236 (3135)
    ARCa: Beginning to archive thread 1 sequence 236 (4765626-4768914)
    ARCa: Completed archiving thread 1 sequence 236 (4765626-4768914)
    LNS: Standby redo logfile selected for thread 1 sequence 236 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 2 thread 1 sequence 236
    LNS: Completed archiving log 2 thread 1 sequence 236
    LNS: Standby redo logfile selected for thread 1 sequence 237 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 237
    LNS: Completed archiving log 1 thread 1 sequence 237
    ARCb: Beginning to archive thread 1 sequence 237 (4768914-4770603)
    ARCb: Completed archiving thread 1 sequence 237 (4768914-4770603)
    LNS: Standby redo logfile selected for thread 1 sequence 238 for destination LOG
    MESSAGE
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 238
    LNS: Completed archiving log 2 thread 1 sequence 238
    ARCc: Beginning to archive thread 1 sequence 238 (4770603-4770651)
    ARCc: Completed archiving thread 1 sequence 238 (4770603-4770651)
    LNS: Standby redo logfile selected for thread 1 sequence 239 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 239
    LNS: Completed archiving log 1 thread 1 sequence 239
    MESSAGE
    ARCd: Beginning to archive thread 1 sequence 239 (4770651-4773918)
    ARCd: Completed archiving thread 1 sequence 239 (4770651-4773918)
    LNS: Standby redo logfile selected for thread 1 sequence 240 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 240
    LNS: Completed archiving log 2 thread 1 sequence 240
    ARCe: Beginning to archive thread 1 sequence 240 (4773918-4773976)
    ARCe: Completed archiving thread 1 sequence 240 (4773918-4773976)
    LNS: Standby redo logfile selected for thread 1 sequence 241 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 1 thread 1 sequence 241
    LNS: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3135)
    LNS: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Error 3135 for archive log file 1 to 'stand'
    LNS: Failed to archive log 1 thread 1 sequence 241 (3135)
    ARC3: Beginning to archive thread 1 sequence 241 (4773976-4774673)
    ARC3: Completed archiving thread 1 sequence 241 (4773976-4774673)
    LNS: Standby redo logfile selected for thread 1 sequence 241 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 1 thread 1 sequence 241
    LNS: Completed archiving log 1 thread 1 sequence 241
    LNS: Standby redo logfile selected for thread 1 sequence 242 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 242
    LNS: Completed archiving log 2 thread 1 sequence 242
    ARC4: Beginning to archive thread 1 sequence 242 (4774673-4776045)
    ARC4: Completed archiving thread 1 sequence 242 (4774673-4776045)
    LNS: Standby redo logfile selected for thread 1 sequence 243 for destination LOG
    _ARCHIVE_DEST_2
    MESSAGE
    LNS: Beginning to archive log 1 thread 1 sequence 243
    LNS: Completed archiving log 1 thread 1 sequence 243
    ARC5: Beginning to archive thread 1 sequence 243 (4776045-4776508)
    ARC5: Completed archiving thread 1 sequence 243 (4776045-4776508)
    LNS: Standby redo logfile selected for thread 1 sequence 244 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 244
    LNS: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3135)
    LNS: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    MESSAGE
    Error 3135 for archive log file 2 to 'stand'
    LNS: Failed to archive log 2 thread 1 sequence 244 (3135)
    ARC6: Beginning to archive thread 1 sequence 244 (4776508-4778741)
    ARC6: Completed archiving thread 1 sequence 244 (4776508-4778741)
    ARC7: Beginning to archive thread 1 sequence 245 (4778741-4778781)
    ARC7: Completed archiving thread 1 sequence 245 (4778741-4778781)
    ARC8: Beginning to archive thread 1 sequence 246 (4778781-4778787)
    ARC8: Completed archiving thread 1 sequence 246 (4778781-4778787)
    ARC9: Standby redo logfile selected for thread 1 sequence 244 for destination LO
    G_ARCHIVE_DEST_2
    MESSAGE
    ARC3: Beginning to archive thread 1 sequence 247 (4778787-4778934)
    LNS: Standby redo logfile selected for thread 1 sequence 247 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 247
    ARC3: Completed archiving thread 1 sequence 247 (4778787-4778934)
    LNS: Completed archiving log 1 thread 1 sequence 247
    LNS: Standby redo logfile selected for thread 1 sequence 248 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 248
    MESSAGE
    ARC4: Beginning to archive thread 1 sequence 248 (4778934-4781018)
    LNS: Completed archiving log 2 thread 1 sequence 248
    ARC4: Completed archiving thread 1 sequence 248 (4778934-4781018)
    LNS: Standby redo logfile selected for thread 1 sequence 249 for destination LOG
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 1 thread 1 sequence 249
    LNS: Completed archiving log 1 thread 1 sequence 249
    ARC5: Beginning to archive thread 1 sequence 249 (4781018-4781033)
    ARC5: Completed archiving thread 1 sequence 249 (4781018-4781033)
    LNS: Standby redo logfile selected for thread 1 sequence 250 for destination LOG
    MESSAGE
    _ARCHIVE_DEST_2
    LNS: Beginning to archive log 2 thread 1 sequence 250
    233 rows selected.
    SQL>Standby
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    MESSAGE
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    MESSAGE
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARC1: Becoming the 'no FAL' ARCH
    ARC2: Becoming the heartbeat ARCH
    Error 1017 received logging on to the standby
    FAL[client, ARC2]: Error 16191 connecting to RACDB for fetching gap sequence
    MESSAGE
    ARCt: Archival started
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery starting Real Time Apply
    Media Recovery Log /u02/stand/archive/1_119_758280976.arc
    Media Recovery Waiting for thread 2 sequence 183
    RFS[1]: Assigned to RFS process 30110
    RFS[1]: Identified database type as 'physical standby': Client is ARCH pid 25980
    RFS[2]: Assigned to RFS process 30118
    RFS[2]: Identified database type as 'physical standby': Client is ARCH pid 26008
    RFS[3]: Assigned to RFS process 30124
    MESSAGE
    RFS[3]: Identified database type as 'physical standby': Client is ARCH pid 26029
    RFS[4]: Assigned to RFS process 30130
    RFS[4]: Identified database type as 'physical standby': Client is ARCH pid 26021
    ARC4: Beginning to archive thread 1 sequence 244 (4776508-4778741)
    ARC4: Completed archiving thread 1 sequence 244 (0-0)
    RFS[5]: Assigned to RFS process 30144
    RFS[5]: Identified database type as 'physical standby': Client is LGWR ASYNC pid
    26128
    Primary database is in MAXIMUM PERFORMANCE mode
    ARC5: Beginning to archive thread 1 sequence 247 (4778787-4778934)
    MESSAGE
    ARC5: Completed archiving thread 1 sequence 247 (0-0)
    ARC6: Beginning to archive thread 1 sequence 248 (4778934-4781018)
    ARC6: Completed archiving thread 1 sequence 248 (0-0)
    ARC7: Beginning to archive thread 1 sequence 249 (4781018-4781033)
    ARC7: Completed archiving thread 1 sequence 249 (0-0)
    58 rows selected.
    SQL>also find the output for the primary alertlog file.
    Tue Aug 30 10:45:41 2011
    LNS: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3135)
    LNS: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Errors in file /u01/app/oracle/diag/rdbms/racdb/RACDB1/trace/RACDB1_nsa2_26128.trc:
    ORA-03135: connection lost contact
    Error 3135 for archive log file 2 to 'stand'
    Errors in file /u01/app/oracle/diag/rdbms/racdb/RACDB1/trace/RACDB1_nsa2_26128.trc:
    ORA-03135: connection lost contact
    LNS: Failed to archive log 2 thread 1 sequence 244 (3135)
    Errors in file /u01/app/oracle/diag/rdbms/racdb/RACDB1/trace/RACDB1_nsa2_26128.trc:
    ORA-03135: connection lost contact
    Tue Aug 30 10:50:25 2011
    Thread 1 advanced to log sequence 245 (LGWR switch)
      Current log# 1 seq# 245 mem# 0: +ASM_DATA1/racdb/onlinelog/group_1.268.758280977
      Current log# 1 seq# 245 mem# 1: +ASM_DATA2/racdb/onlinelog/group_1.265.758280979
    Tue Aug 30 10:50:25 2011
    Archived Log entry 612 added for thread 1 sequence 244 ID 0x2d0e0689 dest 1:
    Thread 1 cannot allocate new log, sequence 246
    Checkpoint not complete
      Current log# 1 seq# 245 mem# 0: +ASM_DATA1/racdb/onlinelog/group_1.268.758280977
      Current log# 1 seq# 245 mem# 1: +ASM_DATA2/racdb/onlinelog/group_1.265.758280979
    Thread 1 advanced to log sequence 246 (LGWR switch)
      Current log# 2 seq# 246 mem# 0: +ASM_DATA1/racdb/onlinelog/group_2.269.758280979
      Current log# 2 seq# 246 mem# 1: +ASM_DATA2/racdb/onlinelog/group_2.266.758280981
    Tue Aug 30 10:50:27 2011
    Archived Log entry 613 added for thread 1 sequence 245 ID 0x2d0e0689 dest 1:
    Thread 1 cannot allocate new log, sequence 247
    Checkpoint not complete
      Current log# 2 seq# 246 mem# 0: +ASM_DATA1/racdb/onlinelog/group_2.269.758280979
      Current log# 2 seq# 246 mem# 1: +ASM_DATA2/racdb/onlinelog/group_2.266.758280981
    Thread 1 advanced to log sequence 247 (LGWR switch)
      Current log# 1 seq# 247 mem# 0: +ASM_DATA1/racdb/onlinelog/group_1.268.758280977
      Current log# 1 seq# 247 mem# 1: +ASM_DATA2/racdb/onlinelog/group_1.265.758280979
    Tue Aug 30 10:50:30 2011
    Archived Log entry 614 added for thread 1 sequence 246 ID 0x2d0e0689 dest 1:
    Tue Aug 30 10:51:37 2011
    ARC9: Standby redo logfile selected for thread 1 sequence 244 for destination LOG_ARCHIVE_DEST_2
    Tue Aug 30 10:51:39 2011
    Thread 1 advanced to log sequence 248 (LGWR switch)
      Current log# 2 seq# 248 mem# 0: +ASM_DATA1/racdb/onlinelog/group_2.269.758280979
      Current log# 2 seq# 248 mem# 1: +ASM_DATA2/racdb/onlinelog/group_2.266.758280981
    Tue Aug 30 10:51:39 2011
    Archived Log entry 620 added for thread 1 sequence 247 ID 0x2d0e0689 dest 1:
    Tue Aug 30 10:51:39 2011
    LNS: Standby redo logfile selected for thread 1 sequence 247 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 248 for destination LOG_ARCHIVE_DEST_2
    Tue Aug 30 11:08:27 2011
    Thread 1 advanced to log sequence 249 (LGWR switch)
      Current log# 1 seq# 249 mem# 0: +ASM_DATA1/racdb/onlinelog/group_1.268.758280977
      Current log# 1 seq# 249 mem# 1: +ASM_DATA2/racdb/onlinelog/group_1.265.758280979
    Tue Aug 30 11:08:27 2011
    Archived Log entry 622 added for thread 1 sequence 248 ID 0x2d0e0689 dest 1:
    Tue Aug 30 11:08:27 2011
    LNS: Standby redo logfile selected for thread 1 sequence 249 for destination LOG_ARCHIVE_DEST_2
    Thread 1 cannot allocate new log, sequence 250
    Checkpoint not complete
      Current log# 1 seq# 249 mem# 0: +ASM_DATA1/racdb/onlinelog/group_1.268.758280977
      Current log# 1 seq# 249 mem# 1: +ASM_DATA2/racdb/onlinelog/group_1.265.758280979
    Thread 1 advanced to log sequence 250 (LGWR switch)
      Current log# 2 seq# 250 mem# 0: +ASM_DATA1/racdb/onlinelog/group_2.269.758280979
      Current log# 2 seq# 250 mem# 1: +ASM_DATA2/racdb/onlinelog/group_2.266.758280981
    Tue Aug 30 11:08:31 2011
    Archived Log entry 624 added for thread 1 sequence 249 ID 0x2d0e0689 dest 1:
    LNS: Standby redo logfile selected for thread 1 sequence 250 for destination LOG_ARCHIVE_DEST_2Thanks & Regards,
    Poorna Prasad.S

  • Oracle Apex Multilpe Theme for a single application

    Hi All,
    I have a query regarding display multiple theme for a single apex application. My object is to change the color scheme for an existing apex application and use both old and new color scheme in a single application. For example I'm planning to modify apex 3.1 theme 9 (Red theme) to green and wants to use red theme for some pages and green theme for some other pages in same application.
    The following steps I have tried.
    1. Copied /theme/theme_9 to my local
    2. Changed color scheme of all the images.
    3. Renamed my local folder name from theme_9 to theme_9_1
    4. Moved my new folder to server path /theme/theme_9_1
    Now I went to my application which have theme 9 and copied One Tab page template as One Tab Template 9.1. In my new page template I changed all the the /theme_9/ reference to /theme_9_1. In my application I applied this new page template to get green color scheme. But its appearing without any css scheme (even default style is not there).
    So Please help me out to resolve my issue. and also suggest me if you have any other easy way to achieve my objective.
    Thanks in advance.

    Hi,
    You steps look okay to me, so not sure why you're CSS isn't working, I would need to see your actual templates to find out (perhaps you could put this up on apex.oracle.com). Just a few general pointers though, I would suggest using one of the newer themes, introduced in APEX 4.0 and APEX 4.1. Those themes are mostly DIV based, i.e. fewer HTML tables for formatting, and as a result, they are much smaller. They also use a DOCTYPE, prompting all modern browser to render your pages in standards more, ensuring better cross-browser compatibility. And most relevant for your task, they no longer use theme-specific class names, i.e. a class called "t9header", would now simply be "header". They also generally reference images directly from the CSS stylesheet, rather than inside your templates, making it much easier to modify your UI. So in essence, assuming you'd be using theme 21, all you'd have to do to switch from a red-look to (in this case) a blue-look, would be to reference the theme CSS file in /themes/theme_22, instead of /themes/theme_21, so in your templates, you would only need to change one path in your page templates.
    Regards,
    Marc

Maybe you are looking for