Keeping the server running

Is there a way to keep just server class up or it's up as long as other application uses that. What I mean I whote that:
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.net.InetAddress;
import java.net.ServerSocket;
import javax.swing.Timer;
public class MyServer extends ServerSocket implements ActionListener {
     public MyServer() throws IOException {
          super(4444, 0, InetAddress.getByName("localhost"));
          Timer timer = new Timer(100, this);
          timer.start();
     public void actionPerformed(ActionEvent e) {
          if (this.isClosed()) {
               System.out.println("Ups! We're closed");
               System.exit(1);
     public static void main(String args[]) {
          try {
               new MyServer();
          } catch (IOException ioe) {
               ioe.printStackTrace();
               System.exit(1);
}and I want it to run separately. Just launch it and it should run until it's killed. How to do that?

Okay I've come up with such solution:
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.net.InetAddress;
import java.net.ServerSocket;
import javax.swing.Timer;
public class MyServer extends ServerSocket implements ActionListener {
     private static final int ALIVE=1;
     private static final int DEAD=0;
     private static int state=ALIVE;
     public MyServer() throws IOException {
          super(4444, 0, InetAddress.getByName("localhost"));
          Timer timer = new Timer(100, this);
          timer.start();
     public void actionPerformed(ActionEvent e) {
          if (this.isClosed()) {
               System.out.println("Ups! We're closed");
               System.exit(1);
     public static int getState(){
          return state;
     public static void kill(){
          state=DEAD;
     public static void main(String args[]) {
          try {
               MyServer server = new MyServer();
               while (server.getState()==ALIVE){
                    Thread.sleep(100);
          } catch (IOException ioe) {
               ioe.printStackTrace();
               System.exit(1);
          } catch (InterruptedException ie){
               ie.printStackTrace();
               System.exit(1);
}Anyone has better one?

Similar Messages

  • How to patch clustered SOA domain keeping the domain running?

    Hi All,
    We want to patch SOA 11.1.1.3.0 to SOA 11.1.1.6.0. The SOA 11.1.1.3.0 environment is a clustered environment( 2-node cluster). Also database schemas are present in RAC database.
    I know the patching process but my concern is I have to patch production environment and we have to minimize the downtime. Can we patch a WebLogic + SOA domain keeping the environment running ?
    Please suggest.
    Regards,
    Roshni Shankar

    Hi Roshni,
    Check this:
    http://docs.oracle.com/cd/E16764_01/core.1111/e10106/busreq.htm
    It says, During the rolling patching of a cluster, each server in the cluster is individually patched and restarted while the other servers in the cluster continue to host your application
    Always keep a backup before applying a patchset to your environment.
    Thanks,
    Sharmela

  • How to force the display to sleep, while keeping the computer running?

    I'm running some compression and transcoding programs on my iMac G5 (iSight) that keeps the CPU at 100% for hours at a time. My Energy Saver prefernces is set to sleep the display after a few minutes, but never to sleep the computer or the hard disk.
    Like I'd expect with such a high CPU load, my computer's screen does not go to sleep.
    Is there a program or command line utility that I can run to force my screen to go to sleep, but keep the computer running?
    iMac G5 17" (iSight)   Mac OS X (10.4.5)  

    To put your display only to sleep;
    Go to System Preferences, click on 'energy saver', check the 'Put the display to sleep when the computer is inactive for' box, and then set the time. Note; this just puts the display to sleep, not the whole computer. Your hard disk will keep running. I find this much more convienent than putting the computer in 'full sheep'. It wakes up much quicker without some of the hassle some computers display coming up from full sleep.

  • The Data Received from the server running AD RMS didn't match the expected format.contact your system administrator for further investigation.

    Hi All,
       We Have implemented AD RMS in our organisation recently.But the Problem we are facing here many users those are Ms office 2013 we will get the error"The Data Received from the server running AD RMS didn't match the expected format.contact
    your system administrator for further investigation." and those who are in Ms office 2010 Professional it says  
        "The service is Temporally unavailable.Ensure the you have   connectivity to this server.This error could be caused if you are working offline.Proxy setting are preventing your connection or intermittent network issue."
      Below are the workaround did,
    1.Able to reach to Our pipeline ADRMS cluster.
    2.We have a valid Certificate.
    3.if we type https://adrms.ourdomain.com its working fine.
    4.Manually put the registry setting for effected computers.
    5. Applied the Hotfixes:MicrosoftFixit50903,KB2627273.
       Kindly help or suggest us to resolve the above issue as many computers in domain are not working with IRM.
    Thanks and reqard,
    Mohammed Siddiq.

    Hi Mohammed,
    Were you able to fix the issue with CRL disablement?
    Did my post help you or make you laugh? Don't forget to click the Helpful vote :) If I answered your question please mark my post as an Answer.

  • Graphic issue but goes away if I keep the fans running

    So I have a graphics problem where I end up with lines covering the screen and screwed up video, however I am now certain this is due to overheating however I am not able to get new thermal paste for a week or two because of shipping. I am asking you if there is a way to keep the fans running at maximum output as when I have booted up the mac from a firewire drive, the graphic issues go away, but as soon as the fans start to die down it comes back within seconds.
    Thanks

    The graphics issue may well not be lack of thermal paste, but a failing logic board. Have you run Apple Hardware Test or Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk.

  • How to retrieve ip address of the server running PAM inside its module?

    Hello all,
    I've configured Solaris 8 with a deal of ip aliases on the network interface.
    Also I've a handwritten PAM module to auth users. It have some specific functionality which is needed for me.
    For the moment, this module need to be updated. This update requires a knowledge of IP address the user connecting to.
    Is it possible to determine IP address (alias IP) of the machine inside PAM module the user connecting to?
    Thank you for your answers.
    Mikhail.

    > Can i access the ip address of the DB server through SQL or PL/SQL code?
    No. It is the wrong place to look.
    Reason: a sever can, and often has, multiple IP addresses.
    So when you run SQL or PL/SQL code (or a Java stored proc), that will likely report the 1st IP address of the server - and you could have connected via another IP address of that server.
    The actual socket call to get the hostname returns an array of IP addresses. So which one is the correct one? How do you know whether or not your client session connected to the 1st IP in this array?
    The correct place to look is at the socket handle for that Oracle session on the client. And determine to what IP address that socket is connected to.
    This is not that easy - I do not think that the OCI exposes the socket handle it creates. But you can use kernel calls to get a list of established TCP sessions and to what IP address they're connected to. The netstat command on Windows and Unix/Linux is an example of how this can be done.

  • RunTime to keep the Thread running until it is closed

    I wish to open a PDF file in Acrobat Reader from a JMenuItem in swing application. Until the PDF file is open, I want that particular JMenuItem to be inactive (setEnabled(false)). Once the PDF file is closed, that JMenuItem will become active again (setEnabled(true)).
    I will find the answer if I can keep the "cmd.exe" running until servletjsp.pdf is closed in the following class. Please advise!
    import java.io.*;
    class Runner2{
    public static void main(String args[]){
    Runtime r = Runtime.getRuntime();
    try {
    r.exec("cmd.exe /c start servletjsp.pdf");
    catch(IOException e) {
    e.printStackTrace();
    }

    I wish to open a PDF file in Acrobat Reader from a
    JMenuItem in swing application. Until the PDF file is
    open, I want that particular JMenuItem to be inactive
    (setEnabled(false)). Once the PDF file is closed, that
    JMenuItem will become active again (setEnabled(true)).
    I will find the answer if I can keep the "cmd.exe"
    running until servletjsp.pdf is closed in the
    following class. Please advise!
    try this.
    import java.io.*;
    class Runner2{
    public static void main(String args[]){
    Runtime r = Runtime.getRuntime();
    try {
    Process process = r.exec("cmd.exe /c start servletjsp.pdf");
    process.waitFor();
    catch(IOException e) {
    e.printStackTrace();
    }

  • I need the server run time for weblogic server. Please help

    Hi ^^,
    I am trying to create a web project in Eclipse WTP europa. I do not have the bea weblogic server installed on my desktop. My organization has issues running it locally. I need to first create a project and then create a war and then deploy it on server.
    I am going through the tutorial at the following website:
    http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html
    It says "To do this tutorial you will need a server runtime that is supported by WTP"
    Also "During web application development, we will need a server runtime environment to test, debug and run our project".
    Hence I need the link where I can download the server runtime for bea weblogic server.
    I have tried to download the tomcat runtime from the following location:
    http://apr.apache.org/download.cgi
    But tomcat is not accepting it as a server runtime, pls help...

    Crossposted over all places:
    [http://forums.sun.com/thread.jspa?threadID=5347690]
    [http://forums.sun.com/thread.jspa?threadID=5348001]
    [http://forums.sun.com/thread.jspa?threadID=5348002]
    Don't crosspost. It's very rude.

  • User locks out, due to 5 invalid login attempts after the server running

    Hi ,
    I HAC on WLS 10.3.2 (Oracle Solaris on x86-64 (64-bit)).
    user locks out, due to 5 invalid login attempts just after the server comes into running state.
    But the strange thing is Customer is not trying to login into it.
    we unlocked the user, after logging into the console with a different user.
    Customer knows the username and password
    Still the issue appears after few minutes.
    Below are the logs:
    ####<Oct 5, 2010 2:41:36 PM SGT> <Notice> <WebLogicServer> <STG-DS11> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-0000000000000005> <1286260896734> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "IDMDomain" running in Production Mode>
    ####<Oct 5, 2010 2:41:36 PM SGT> <Notice> <WebLogicServer> <STG-DS11> <AdminServer> <main> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-0000000000000003> <1286260896843> <BEA-000365> <Server state changed to RUNNING>
    ####<Oct 5, 2010 2:41:36 PM SGT> <Notice> <WebLogicServer> <STG-DS11> <AdminServer> <main> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-0000000000000003> <1286260896846> <BEA-000360> <Server started in RUNNING mode>
    ####<Oct 5, 2010 2:41:36 PM SGT> <Info> <J2EE> <STG-DS11> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-0000000000000006> <1286260896848> <BEA-160151> <Registered library Extension-Name: bea_wls_async_response (JAR).>
    ####<Oct 5, 2010 2:41:37 PM SGT> <Info> <EJB> <STG-DS11> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-0000000000000006> <1286260897879> <BEA-010008> <EJB Deploying file: mejb.jar>
    ####<Oct 5, 2010 2:41:39 PM SGT> <Info> <EJB> <STG-DS11> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-0000000000000006> <1286260899932> <BEA-010009> <EJB Deployed EJB with JNDI name ejb.mgmt.MEJB.>
    ####<Oct 5, 2010 2:42:35 PM SGT> <Info> <Health> <STG-DS11> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-000000000000000c> <1286260955961> <BEA-310002> <50% of the total memory in the server is free>
    ####<Oct 5, 2010 2:43:35 PM SGT> <Info> <Health> <STG-DS11> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-000000000000000c> <1286261015987> <BEA-310002> <71% of the total memory in the server is free>
    ####<Oct 5, 2010 2:46:09 PM SGT> <Notice> <Security> <STG-DS11> <AdminServer> <ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-000000000000001b> <1286261169575> <BEA-090078> <User weblogic in security realm myrealm has had 5 invalid login attempts, locking account for 30 minutes.>
    ####<Oct 5, 2010 2:46:24 PM SGT> <Info> <Server> <STG-DS11> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <21524a931a3e4d99:45f2a2df:12b7b1fb09c:-8000-000000000000001d> <1286261184189> <BEA-002635> <The server "wls_ods1" connected to this server.>
    Thanks,
    Daniel

    User weblogic in security realm myrealm has had 5 invalid login attempts, locking account for 30 minutes.The customer knows the weblogic password?

  • How to open a message popup and keep the sequence running ?

    I have some steps in my sequence to initialize communication ports that takes a few seconds. As i have the trace off i want to display a message popup to tell the user that the sequence is doing the init. After the init steps are done i want to close the popup out of the sequence without pressing any button.
    Is there a possibility in TestStand to do this ?
    The normal Message popup stays until a key is pressed and even pauses the sequence while active.
    Thank for help.

    You could call your message popup in a subsequence as new execution and terminate this execution programmatically after your init steps have finished.
    In order to do this you have to specify (module) the sequence call step that calls your subsequence:
    -Multithreading and Remote Execution = Run in a New Execution
    -Settings: Initally Hidden and Tracing disable, Restartable, Close Window when done, Wait for Execution to complete: Do not wait, Process Model Option: Do not use a Process Model
    -Store an Object Reference to the New Execution in: e.g. Locals.ExecutionRef
    After your Init steps you insert a ActvieX/COM Action Step that terminates the new execution:
    -Object Reference: Locals.ExecutionRef
    -Automation Server: NI TestStand API 3.1
    -Object Class: Execution
    -Call Method or Access Property: Call Method
    -Method: Terminate
    This will terminate your new execution showing the message popup.

  • Keeping The System Running Well

    This is a rather vague post but basically are there any applications or tests (either 3rd party or native) that can test if my mac is running smoothly? I have not been impressed or noticed any difference since the switch to 10.6 and I have even had issues with crashes, shutting down, and speed. Thanks for your help.

    HI Tyler,
    Several things come to mind...
    Boot from your install disc and run Disk Utility. If it finds errors on the startup disk, Disk Utility can repair them.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    *(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)*
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. *Make sure there is always 10% to 15% free disk space*
    You can also boot from your install disc and run the Apple Hardware Test, instructions Here.
    Go here for hlep to Maintain Mac OS X
    The most important thing you can do is back up your important data in case you should have to reformat the drive.
    Carolyn

  • Does the server app need to stay open?

    Probably a dumb question, but do I need to keep the Server.app running at all times?
    Our server is a Mac Mini that doubles as a workstation.  Do I only need the Server app to set up/ start/ manage services, or does it need to be open all the time?

    Server.app is "just" the GUI interface to the services.  You can start or stop Server.app as and when needed.  The services themselves won't be effected.

  • Error while deploying the JDI SCA file on the server

    Hi,
    I am not able to deploy the 3 SCA files JDIdevinf, JDI buildt and JDIdeinff.
    When deploying the following error occured.
    ABorted deployment component 'tc CBB Appl/'sap.com'/SAP AG'6.4009.00.0000.200411042045
    Caught exception during application deployment from SAP J2EE ENgine's deploy service.
    java.rmi.RemoteException: Cannot deploy application sap.com.tc.CBB Appl.. Reason: Exception during
    application sap.com/tc.CBB Appl in container EJBContainer; nested exception is
    exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tc.CBS Appl in container EJBContainer
    (message ID:com.sap.sdn.servlet.servertype.inqny.extern.EngineApplOnlineDEployerImpl.per
    REMEXC)
    Deployment of tc.CBBAppl finished with Error
    How to solve this

    Hi,
    We are using NWDS to create a small application to develop ( for ex jspdynpage)
    .while deploying the par file or exporting it to the server,we are getting the error as "please make sure that the server running.HTTPS protocol is not supported,please ensure that this server is not using HTTPS.
    the server is running and is shown in green.
    we have also  disabled the proxy settings.
    we have also tried by specifiing the IP of the server in the proxy settings.
    the above steps didnt work.please suggest the things to do to make this working.
    thanks,
    rajani.

  • An error occured on the server while reading settings

    Hi to everyone,
    Today i renewed my server's Profiles Manager Code Signing Certificate following this link http://support.apple.com/kb/HT5358
    The certificate was renewed sucessfully for one year.
    I switched the Profile Manager Off then next to "Sign configuration profiles" i clicked the Edit button and from the Certificate list, i selected the certificate named "myserver.mydomain.com Code Signing Certificate - myserver.mydomain.com OD Intermediate CA" which was the only listed certificate that i had renewed.
    When i turned on the Profile Manager i faced the issue.
    An error occured on the server while reading settings so the Profile Manager can't start.
    From Logs
    Error: The server '127.0.0.1' reported an error while processing a command of type: 'readSettings' in plug-in: 'servermgr_devicemgr'. Error: Error Domain=servermgr_devicemgr Code=1 "/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendo r/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb :941:in `initialize': could not connect to server: Connection refused (PGError)
    Is the server running locally and accepting
              connections on Unix domain socket "/Library/Server/PostgreSQL For Server Services/Socket/.s.PGSQL.5432"?
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 217:in `initialize'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `new'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `postgresql_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `send'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `new_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:245:in `checkout_new_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:188:in `checkout'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `loop'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `checkout'
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor .rb:242:in `synchronize'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:183:in `checkout'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:98:in `connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:326:in `retrieve_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:123:in `retrieve_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:115:in `connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/base.rb:1299:in `table_exists?'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /initializers/settings.rb:10
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load_without_new_constant_marking'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:622:in `load_application_initializers'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `each'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `load_application_initializers'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:176:in `process'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /environment.rb:55
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/railties/lib/commands/runner.rb:39
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /runner:3
    " UserInfo=0x7ff048a8dc20 {NSLocalizedDescription=/Applications/Server.app/Contents/ServerRoot/usr/share/ devicemgr/backend/vendor/rails/activerecord/lib/active_record/connection_adapter s/postgresql_adapter.rb:941:in `initialize': could not connect to server: Connection refused (PGError)
              Is the server running locally and accepting
              connections on Unix domain socket "/Library/Server/PostgreSQL For Server Services/Socket/.s.PGSQL.5432"?
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 217:in `initialize'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `new'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `postgresql_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `send'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `new_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:245:in `checkout_new_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:188:in `checkout'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `loop'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `checkout'
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor .rb:242:in `synchronize'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:183:in `checkout'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:98:in `connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:326:in `retrieve_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:123:in `retrieve_connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:115:in `connection'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/base.rb:1299:in `table_exists?'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /initializers/settings.rb:10
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load_without_new_constant_marking'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:622:in `load_application_initializers'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `each'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `load_application_initializers'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:176:in `process'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /environment.rb:55
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/railties/lib/commands/runner.rb:39
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'
              from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'
              from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /runner:3
    Do anyone can help me ? I will appriciate it so much.
    I' m looking forward to your reply.
    Thanks a lot.
    I

    You were right!! After macboo reboot the issue was solved the Profile Manager started again without problems!!
    Thaks a lot!!

  • The list of workflow actions on the server references an assembly that does not exist

    Hi,
    This issue has been discussed many times in this forum , the reason why I am posting is I tried the resolution steps but I dont see any luck.
    I am getting the below message from the SharePoint designer 2007 when I am trying to modify a workflow
    "This list of workflow actions on the server references an assembly that does not exist. Some actions will not be available. The assembly strong name is Microsoft.SharePoint.WorkflowActions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
    Contact your server administrator for more information."
    #1 : One of the post says "Normally you would see that error because someone has extended the Workflow actions available in SPD with a custom action developed in Visual Studio.  These custom actions are loaded when your workstation reads the WSS.ACTIONS
    file on the server.  The file is located in the 12 hive under Template\1033\workflow.  Your WSS.Actions file contains a reference to a custom action .dll which is not available on the server."
    I opened the WSS.Actions file in notepad, I dont see any line with *.dll in it. Am I missing something?
    #2: Another post says "The solution I discovered was that the server running my SharePoint Services was not up to .NET 3.0.  As soon as I updated to .NET 3.0 everything worked.I had made sure the machine running SharePoint Designer was updated, but
    had missed the SHarePoint Services server."
    The server is already updated to .Net 3.0.
    #3: I went to the %System Drive%\Documents and Settings\Local Settings\ApplicationData\Microsoft\SharePointDesigner.
    Deleted the ProxyAssemblyCache folder but no luck.
    Just checking if any one was able to resolve this issue by following any of the solution other than the above mentioned ones.
    Thanks,
    Cutloo

        I have the similar issue with my custom work flow. I have searched the whole day for the solution but no success, then at last a simple track works for me. Please try this if any one faces such issue.
    Basically the assembly that we have define in the ACTIONS file dose not exists on the server, because of two reasons, either we have given the wrong assembly name (in our case the namespace name inside our solution) or the PublicKeyToken may differ from the
    original assembly, that are deployed in GAC.
        So cross check both of these, in my case the assembly name was fine,
     <Action
        Name="Move Item to Another List and Send Email"
        ClassName="MyAssemblyName.Classname"
        Assembly="MyAssemblyName,Version=1.0.0.0, Culture=neutral, PublicKeyToken=4053d1fde8a1c781"
        AppliesTo="all"
        Category="Email actions">
    But the problem was in the 'PublicKeyToken', so i double click on the feature inside my solution,then in the bottom i have clicked on the manifest tab to check the entries.
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="MyAssemblyName Feature1" Id="f7f1bda0-5f65-40f1-a705-f6f15a41da3a" ReceiverAssembly="MyAssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0c32dbb769ed64b5"
    ReceiverClass="MyAssemblyName.Features.Feature1.Feature1EventReceiver" Scope="WebApplication"></Feature>
    Here i got the actual PublicKeyToken for my assembly (0c32dbb769ed64b5), i have replaced this number inside ACTIONS file, deploy the soultion, reset IIS.
    It works for me,

Maybe you are looking for

  • Tax G/L account error in invoice

    Hi friends, We have two scenario ie sales from DC(distribution center) and sales from MFG plant. the tax G/L account are different for both but after analysis in FTXP and OB40 for our tax procedure  I found the G/L account for MFG plant only. I am no

  • Stop weblogic server instance using nodemanager

    Hi, we're in the process of setting up our weblogic cluster. We've configured the nodemanager (script based). Server starts and stops from the admin console work fine using the scripts: ssh -o PasswordAuthentication=no -p %P %H wlscontrol.sh -d %D -s

  • How to display new component in Web UI correctly

    Hi everyone, I create a new component and add a new created view under this new component. Then I add "BuilHeader" BOL entity in this view. In configuration, I choose one field to display in this view. But why every field in this BOL entity displays

  • Card reader M305D-S4830 not working

    I have SD cards from  a camera that worked  one day but the the next day it was not recognized. I plug in the SD card and is not recognized in my computer. I downloaded and reinstalled driver and the Toshiba flash drive utilities but no joy. In my de

  • Error with sales order header text

    Hi All, I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I just moved them to Test system. I created a sales order by using the IDOC. I tried to go to ord