Server with a frontend GUI

I have an application which maintains a database of objects as an ArrayList. I'm trying to add a sort of background server, which would accept requests for information from this database and provide responses, and also be able to store new objects in the database, then call a method in the main application to refresh the view.
I'm getting closer, but I've hit a wall. I can start a thread in the background which accepts connections, and because it's a separate thread the application is usable, but I'm not sure how to communicate with the application. In C#, I'd add an event and a delegate, but is there a Java equivalent to this? When a connection is accepted by the server thread, the thread needs to call methods in the main application for processing.
If someone could point me in the right direction or give me the name of what I want to I can find more information, I'd appreciate it.
Cheers

Echilon wrote:
When a connection is accepted by the server thread, the thread needs to call methods in the main application for processing.
If someone could point me in the right direction or give me the name of what I want to I can find more information, I'd appreciate it.
CheersHi,
This is implemented via callback; the MainClass implements an interface which your thread is passed to during the construction or a setter method
When the database connnection finishes, it invokes the interface method
ex:
public class MainClass implements Callback {
      * @param args
     public static void main(String[] args) {
          MainClass main = new MainClass();
          MainClass.MyThread thread= main.new MyThread(main);
          Thread t = new Thread(thread);
          t.start();
     public void doSomething() {
          System.out.println("I was called backed....");
   class MyThread implements Runnable {
       Callback callback;
       public MyThread(Callback callback){
            this.callback = callback;
       public void run() {
           try{ 
            Thread.currentThread().sleep(2000); // get connection
            System.out.println("Got connection...");
            callback.doSomething();// callback
           }catch(InterruptedException interEx) {
// and the interface
interface Callback {
       public void doSomething();
I hope this could help
Regards,
Alan Mehio
London,UK

Similar Messages

  • X Server (10.3.9) GUI freezes with spinning wheel

    I have a problem with the GUI interface on an eMac running OS X Server v10.3.9 (Build 7W98, Security Update 2006-006).
    When I login locally (with any kind of user) it ever happens that the GUI freezes during common operations.
    I noticed (or better, it seems) that the problem could be related to the spinning wheel used to graphically inform the user to wait while the operation is progressing. In fact, the GUI freezes (as well as the wheel movement) when I call windows or applications that start the wheel spinning. After less than a couple of seconds everything is frozen except the mouse pointer that, sometimes but not too often, becomes a spinning beach ball. Then it seems it doesn't happen anything more. Only one to ten times, the system restarts after 5 to 10 minutes.
    NOTE WELL that even if the local user is frozen, the server services are working well, without any slowing down.
    I can get out of the problem only if I login as root via ssh with another terminal and launch the classic "shutdown -r now" (of course, also switching off the eMac).
    I've already tried either a permission repair with DiskUtility (booting the system via the original X Server DVD) and running DiskWarrior, but without any results.
    I also tried to unplug the Ethernet RJ45 connector to isolate the unit from the network, but again, no way.
    Any suggestion?
    Thank you very much in advance.
    Regards,
    MrMars96
    eMac   Mac OS X (10.3.9)  

    Hi Jeff,
    thank you for your post.
    What do you consider common operations?
    Browsing folders with Finder, running Software Update, DiskUtility, Server Admin and so on.
    Can you keep the Activity monitor open and see if there
    are any spikes?
    Yes, I can keep the Activity Monitor open (it doesn't have the spinning wheel, and that's another reason I suspect on it or something related to it).
    Sorry for my inexperience, unfortunately I don't know what "spikes" are. I'll surely look for some explanation.
    Have you checked the logs?
    Yes. As far as I saw, there isn't any important error. Have you perhaps any clue to which log should I inspect with big attention?
    Most important, how much RAM do you have. I'd never try an
    OS X Server with less than 2GB.
    Only 512MB. It's a server for 3 people. Mainly for IMAP service and a light Joomla site (so apache+mysql) still work in progress.
    The system worked well for more than a year and half (but Joomla has been installed for 3 months).
    Thank you very much for any kind of support,
    Michael

  • Activatable server with GUI?

    Hi,
    I wonder if an activatable server may have a GUI.
    In what an environment is the server started? Can it
    contact a display?
    Thank you,
    wiedkla

    Hi,
    let me make a guess:
    the execution environment is inherited from either
    rmid or rmiregistry.
    Am I right?
    Have fun,
    Klaus

  • JCO-Java application unable to open a Frontend GUI session

    Hello,
    <P>
    I am having a problem opening a GUI session on a client PC through the JCo java call. It works on some PC's when I am logged in, but not on my PC. But other persons who login on my PC do not have a problem with the application opening a GUI session. I am at a loss. I have had a basis consultant look into this and he could not find a reason for the problem. I have submitted a customer message to SAP and am being told to file this issue in the forum, so here it is. If this is the wrong forum, please let me know which forum would be the correct one.
    </P>
    <P>
    Problem:</br>
    For test purposes, I have created a Java application using the SAP standalone SAPJCO3 vers. 3.0.1. The R/3 backend is 4.6C. The SAPGui version is 7.1 patch level 13 installed on a Windows XP Pro client PC. The application is supposed to start a Frontend GUI session as part of the initial process. This is not working on all PCu2019s for all users. The following are scenarios for two different users on two different PCu2019s, logged on and executing the Java application. The parameters for the Java application are: User, Password, and System Id in this order on the command line after the Java applicationu2019s name. The system Id in our example is PRP in uppercase. This problem happens while connecting to any of our R/3 instances.
    </P>
    <P>
    Testing of the issue:</br>
    Scenario 1:</br>
    User gmcghie: This user is the primary user of his/her PC. This PC has not had its registry entries cleaned up for a long time. Starting the Java application from the Windows command line with the supplied parameters, the program is executed and makes the initial connection with the R/3 backend. When the R/3 system sends back a request to start the GUI session, the SAP Logon is executed and opens on the PC. Nothing seems to happen after this.
    <P>
    Here is the JCO exception from the log file:
    JCoException eDest: (136)com.sap.conn.jco.JCoException: (136) JCO_ERROR_ILLEGAL_STATE: Launching SAP GUI failed, though it was requested (error message: Communication with SAPGUI timed out)
    </P>
    <P>
    When you right click on the SAP Logon icon that is in the Windows System Tray on the PC you see an entry that shows a session for Client 000. This is the wrong client being called by the application. The client being called is 600 in this particular scenario.
    </P>
    <P>
    Here is the connection string sent to backend for scenario 1:</br>
    TYPE=A DEST=PRP USER="gmcghie" PASSWD=********** CLIENT=600 LANG=E ASHOST=10.212.120.53 SYSNR=00 TRACE=1 PCS=1 USE_SAPGUI=2
    </P>
    <P>
    Scenario 2:</br>
    User mshin: This user is the primary user of his/her PC. This PC has had the OS re-installed on it within the last few years, hence the registry is likely more clean. Starting the Java application from the Windows command line with the supplied parameters, the program is executed and makes the initial connection with the R/3 backend. When the R/3 system sends back a request to start the GUI session, the SAP Logon is executed and opens on the PC. The connection is made to Client 600 and the process ends. The screens that appear above for the other scenario are not present when the connection is successful. The log file is not included for this as it was empty because it succeeded.
    </P>
    <P>
    Here is the connection string sent to backend for scenario 2:</br>
    TYPE=A DEST=PRP USER="mshin" PASSWD=********** CLIENT=600 LANG=E ASHOST=10.212.120.53 SYSNR=00 TRACE=1 PCS=1 USE_SAPGUI=2
    </P>
    I have the same issue on my PC as the first scenario.
    <P>The steps I took to try to get this to work are as follows.</br>
    1. Un-installed and re-installed the SAPGui, several times with no change.</br>
    2. Compared the registry settings of SAPGui between working and non-working PCu2019s. These were essentially the same.</br>
    3. Compared the system variables between working and non-working PCu2019s. These were essentially the same.</P>
    It should also be noted that if user u2018gmcghieu2019 from scenario #1 logs into another PC, the program executes correctly (for most other PCs but not all). Finally, if user u2018mshinu2019 from scenario #2 (certain other users as well) logs into Windows on the primary PC for user u2018gmcghieu2019 from scenario #1, and user u2018gmcghieu2019 is used to connect to SAP using the Java program, the program executes correctly. It seems that this would indicate some problem with the useru2019s Windows account on certain PCs.</P>
    Why is the connection information being dropped? How is the process of opening the SAPGui on the frontend done?</P>
    Any help with this issue is greatly appreciated.</P>
    Thanks,</br>
    Mark Shirkey

    Created Customer Message and got answer. There were settings in Windows Registry for starting the SAP Logon Launch Pad which had to have a value of 1.

  • Cannot change from server core 2012 to gui

    I have tried EVERYTHING (and I mean everything), but I cannot update from a server core 2012 to gui. I get the source error everytime. I have manually downloaded patches, and updated the source, but did not work.  The server is connected to the internet. 
    Really wishing I could just switch to RedHat for this server, but unfortunately the acronis management server doesn't run on redhat (at least with redhat you pay for support, not just the privilege to use their shitty software, so when you have problems you
    can contact them).  Every article or blogs says the samething, but it does not work.

    And the first thing to check for is to ensure that you installed Windows Server 2012 and not Hyper-V Server 2012.  Windows Server you can update.  Hyper-V Server you cannot.
    What are the first few lines of output from systeminfo?
    . : | : . : | : . tim

  • Getting error on console after configuring MS SQL DB server with portal

    Hi,
    I am using WebLogic portal 10.2. I have configured MS SQL server with this portal as mentioned in:
    http://edocs.beasys.com/wlp/docs102/db/SQL.html
    After successfully performing all the steps mentioned in above link, when i try to start WebLogic Portal
    server i get following error on console:
    <Mar 17, 2009 2:00:31 PM GMT+05:30> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\wlserver_10.0\samples\domains\portal\servers\portalServer\logs\portalServer.log is opened. All server side log events will be written to this file.>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Error> <Security> <BEA-000000> <[Security:090759]A SQLException occurred while retrieving password information
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Invalid object name 'USERS'.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
    Truncated. see log file for complete stacktrace
    >
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please e
    dit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid.
    The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the bo
    ot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
    at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    >
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Autonomy server stopped.
    and server could not proceed further.
    How can we resolve above error?

    Hi,
    I have re-installed WebLogic Portal 10.2 and now i m trying to configure MS SQL server.
    When i use configuration wizard tool, i could successfully run database scripts and i could see table being created in database. But when wizard reaches its last screen and installation completes about 75%, wizard screen shows following error:
    Traceback (innermost last):
    File "<iostream>", line 14, in ?
    File "C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py", line 118, in create
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
         at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1468)
         at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:732)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx319.create$29(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py:118)
         at org.python.pycode._pyx319.call_function(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:293)
         at org.python.core.PyFunction.__call__(PyFunction.java:179)
         at org.python.pycode._pyx322.f$0(<iostream>:14)
         at org.python.pycode._pyx322.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:162)
         at com.bea.plateng.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:911)
         at com.bea.plateng.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:878)
         at com.bea.plateng.domain.DomainChecker.preprocessOutput(DomainChecker.java:135)
         at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:248)
         at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)
    Caused by: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at com.bea.plateng.domain.script.ScriptExecutor.create4SubTypeObject(ScriptExecutor.java:955)
         at com.bea.plateng.domain.script.jython.ScriptProxyFactory.deepCreateProxy4SubTypeObject(ScriptProxyFactory.java:128)
         at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:728)
         ... 25 more
    Caused by: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:630)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.validate(AbstractConfigAspect.java:1130)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.selfSetValue(AbstractConfigAspect.java:1615)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValueInternal(AbstractConfigAspect.java:1574)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:748)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:757)
         at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleConfigAspects(HTableEditOperation.java:265)
         at com.bea.plateng.domain.script.ScriptExecutor.create4SubTypeObject(ScriptExecutor.java:930)
         ... 27 more
    Caused by: java.beans.PropertyVetoException: The property value is duplicated.
         at com.bea.plateng.domain.event.aspect.UniqueValueValidateListener.valueChanged(UniqueValueValidateListener.java:127)
         at com.bea.plateng.domain.event.aspect.ConfigAspectValueListener.vetoableChange(ConfigAspectValueListener.java:138)
         at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:189)
         at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:156)
         at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:139)
         at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:620)
         ... 34 more
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at org.python.core.Py.JavaError(Py.java:324)
         at org.python.core.Py.JavaError(Py.java:311)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:163)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx319.create$29(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py:118)
         at org.python.pycode._pyx319.call_function(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:293)
         at org.python.core.PyFunction.__call__(PyFunction.java:179)
         at org.python.pycode._pyx322.f$0(<iostream>:14)
         at org.python.pycode._pyx322.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:162)
         at com.bea.plateng.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:911)
         at com.bea.plateng.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:878)
         at com.bea.plateng.domain.DomainChecker.preprocessOutput(DomainChecker.java:135)
         at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:248)
         at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)
    what should i do?

  • Possible to view MS SQL Server Log in SAP GUI?

    Hi,
    I am wondering if I can view the SQL Server log in SAP GUI using a transaction code.
    I don't readily see how to do this with the TEs.  It would be helpful to see things like: who has tried to log into the SQL Server via a Database Management tool : agnostic to SAP.: is SQL Server Management Studio or DBArtisan or other services.
    thanks
    Chris

    Hi chris
    Yes,you can view the Sql server log in transaction code ST04 & DBA Cockpit in SAPGUI.
    Kindly refer the SAP notes.
    139945 - SAP Database Monitor for MS SQL Server
    1027512 - MSSQL: DBA cockpit for basis release 7.00 and later
    Regards
    Ram

  • Run OpenMQ Server with Unlimited Consume Messages.

    Hi,
    I am starting OpenMQ server using imqbrokerd file. After 24 hrs it don't allow any messages because destination property i.e. maxNumMsgs=100000.
    I want to start OpenMQ server with unlimited consumed messages i.e. maxNumMsgs=-1.
    How can i do that? I don't want to open admin gui & change the destination properties manually.
    I want to know the way to start OpenMQ server with unlimited consumed messages i.e. maxNumMsgs=-1
    Is it possible to pass this information at the time of startup?
    With regards,
    Pawan Modi

    Hi,
    I found the solution to my problem. Change the value for these variables as shown below in default.properties file at <MQ_HOME>/lib/props/broker/
    imq.autocreate.destination.maxNumMsgs=-1
    imq.autocreate.destination.maxTotalMsgBytes=-1
    imq.autocreate.destination.maxNumProducers=-1
    imq.autocreate.destination.maxBytesPerMsg=-1
    Restart MQ server these changes will come in to effect.
    Thanks & regards,
    Pawan Modi

  • Exchange 2007 edge server with ironport

    I currently have a frontend exch 2003 and backend exch 2003 server with ironport. my mx record is the ironport which then forwards into the backend server. The frontend server was only used for owa and using outlook with https connection to exchange.
    With 2007 it has more functionality and the front end server is now called an edge server. Should I have mx go there then to ironport or vice versa? I'm thinking ironport to edge server to hub transport server. Is that correct? will it work?
    anyone have exchange 2007 edge server with ironport? what are you doing?

    well that wouldve been nice to know a little earlier. anyway I have ironport successfully sending mail to the edge server who sends it on to the hub transport server. right now the client access server is on the same as the hub but can be easily moved later. this is for very few people so its not like I need to off load anything as its a powerful dual core server. anyway now with the edge server I can test how effective it is versus the ironport. I'll let everyone know when you can ditch the ironport for msft's edge server. (Don't hold your breath).

  • Building new server with old home folders

    I have a dying 10.5.5 server with OD that is in dire need of a rebuild. I am going to install 10.5.8 unlimited on a new machine and create all the same user accounts(names) in WGM, I then want to re-link all the old home folders to the new accounts.
    Is this as simple as naming the new accounts identically as the old ones and then making the home folder location the same as the old?
    Will I need to do anything regarding permissions on the old home folders etc??

    Hi,
    I have had to do the same thing many times what with server upgrades, crashes etc and I have found the most effective way is as follows:
    1. Create the OD on the new machine and create the accounts making sure that the shortnames are the same so that the home folder names match in the new location.
    2 as root user (type su - in terminal and put in the root password)use rsync in the terminal to copy the old folders to the new location eg:
    rsync -av --progress [email protected]:/Volumes/userdata/homefolders/ /Volumes/userdata/homefolders/
    That could take some time but it is better than using a gui as it can tend to corrupt a few things.
    NOW, you will find that there are permissions issues if the user ID's have changed accross servers so I always run a little script to correct this. I will explain how to do it in the terminal in case you may be baffled by the terminal, my apologies if you already know this but it may help someone else.
    open terminal and type: vi permissions.sh
    you will then be in a vi editing window. Press I (thats an Eye not an Ell)to start editing and type in the following (adjust for your own environment)
    for i in /Volumes/userdata/homefolders/*
    do
    u=`echo $i | cut -d/ -f5`
    chown -R $u /Volumes/userdata/homefolders/$u
    done
    Now press ESC to get out of editing mode and type : x (without the space in between, edited to remove smiley) and hit return to exit and save.
    back in the terminal window type chmod 777 permissions.sh (this makes the script executable)
    Now you should be ready to run the script which will effectively take the name of each folder and change the ownership of everything in said folder to the new user and rectify any permissions issues.
    type: ./permissions.sh
    You should be sorted now.
    Alternatively you can try Passenger. http://macinmind.com/?pid=2&progid=1&subpid=1 which can do all of the above but I find it quicker to do it manually.
    I do use passenger for bulk account creation though, admins best friend.
    Hope I never lost the plot there and that it helps someone on their way
    Message was edited by: PsyMan2009 to rectify smileys at vital parts LOL

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Setup a home file/Media server with no internet access

    Hi,
    I have a home network with a wifi router connected to an Adsl modem. I try to setup a new server (macbook pro with Yosemite as OS) which will be only used as file and media server for my local network.
    I DO NOT want this server to have access to out of my local network and no one out of my local network could access it. in other words, it has to be isolated as a local server with no incoming/outgoing access from out of my local network.
    I should mention that this server can be accessed by other family members and they can setup other applications without my awareness... and I do not want to manually deny each access request (in or out) in the server's firewall and I am not always behind the server. I want to be sure that "all access" from/to out of my local network are denied.
    my local network dhcp rang is 192.168.10.10 to 192.168.10.20 and I have a firewall on the router and one on this server (little snitch).
    I have no idea how to do this, how to configure IPs out of my local network in the firewalls etc...
    I would appreciate if anyone can help me (I have a limited knowledge about networking)
    Many thanks
    Bye

    Thanks for your reply ChuckBing.
    Unfortunately I had already copied the instructions I found in the Sun documentaion to the letter and it still needed access to the internet. In the end I solved the problem by pointing the iepluginurl to a non existent file and putting a URL, pointing to an offline JRE executable on the server, as the message that appears when the applet cannot be loaded. The clients then have the choice of downloading the JRE or installing it online by clicking on the URL.
    Thanks anyway.
    David

  • SBS2008: Move email from Exchange 2007 to new server with Exchange 2013

    We have an old server (SBS2008) and plan to buy a new server with (Server 2012). I need to move all the exchange emails, contacts & calendars to the new server. We will no longer use the old server. 
    Is there a document or migration tool that will help me understand how to move this data form the old exchange server to the new one? 
    Old Server:
    SBS2008 running Exchange 2007
    New Server:
    Server 2012
    Exchange 2013
    Any help is appreciated!

    Hi Dave,
    It can be done, and as Larry suggested you will consider two Server 2012 installs in order to achieve an environment that looks like your current SBS roles; Exchange 2013 on an Active Directory controller isn't a good long-term solution (SBS did this for
    you in the past).
    For your size operation, a virtual server host, with a Windows Server 2012 license, and two virtual machines would probably be a suitable design model.  In this manner, you have Server 2012 license that permits 1 +2 licenses (one host for virtualization,
    up to 2 Virtual Machines on same host).
    There's no migration tool. That comes with experience and usually trial and error. You earn the skills in this migration path, and for the average SBS support person you should plan on spending 3x (or more) your efforts estimate in hours planning your migration. 
    You can find a recommended migration path at this link to give you an idea of the steps, but its not exactly point by point going to cover you off for an sbs2008 to server 2012 w/exchange 2013 migration.  But the high points are in here. If it looks
    like something you would be comfortable with then you should research more.
    http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
    Specific around integrating Exchange 2013 into an Exchange 2007 environment, guidance for that can be found here:
    http://technet.microsoft.com/en-us/library/jj898582(v=exchg.150).aspx
    If that looks like something beyond your comfort level, then you might consider building a new 2012 server with Exchange 2013 environment out as new, manually export your exchange 2007 mailbox contents (to PST) and then import them into the new mail server,
    and migrate your workstations out of old domain into new domain.  Whether this is more or less work at your workstation count is dependent upon a lot of variables.
    If you have more questions about the process, update the thread and we'll try to assist.
    Hopefully this info answered your original question.
    Cheers,
    -Jason
    Jason Miller B.Comm (Hons), MCSA, MCITP, Microsoft MVP

  • How do I connect to a terminal server with my mac book pro

    How do I connect to a terminal server with my mac book pro

    Use the Remote Desktop icon on the tray and make sure to use the Fully Qualified Domain Name (FQDN) on the 'name of server' field.  If that does not work then use the IP address to connect.

  • How to Use Team Foundation Server With SharePoint 2013 For Development

    Hi All,
    As i am new to team foundation server and i want to use team foundation server for our development. Please give me good startup point.

    Hi,
    If you wanted to integrate Team Foundation Server with SharePoint 2013,
    there are two articles for your reference:
    http://dumians.wordpress.com/2013/04/01/integrate-team-foundation-server-with-sharepoint-2013/
    http://nakedalm.com/integrate-sharepoint-2013-with-team-foundation-server-2013/
    By the way, you can also post the question in in Visual Studio Team Foundation Server forums and more experts will assist you.
    Team Foundation Server – General  http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsgeneral
    More information:
    SharePoint Products requirements for Team Foundation Server:
    http://msdn.microsoft.com/en-us/library/hh667648.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • On Windows Vista, installed AdobeAir update as required. "Mandatory Upgrade" removed Acrobat!

    On Windows Vista, installed AdobeAir update as required. Next screen said "Mandatory Upgrade" & when I clicked on it, version 2.0 of Acrobat was removed, new version 3.2 wouldn't download error# 16820! What do I do now? Need Acrobat, but I don't know

  • Problems with OracleAS adapter for Siebel

    Hi, I have a problem starting the Java data bean connection from the OracleAS Adapter Application Explorer. When I try to connect to my Siebel Instance I get the following error from the application explorer Problem Activating adapter. (null). See lo

  • Concept of util and helper classes

    whats the concept behind helper and util classes, how to divide code according to both perspective would any one state clear separation line b/w them.

  • Tableview  rendering changes with SP50

    Hi, last week we upgraded from SP47 to SP50 and noticed some  changes in the tableview rendering. Take a look at these screenshots (demo application SBSPEXT_HTMLB): https://weblogs.sdn.sap.com/weblogs/images/32510/sp47.jpg https://weblogs.sdn.sap.com

  • Functional Location and Task List FM

    Hi Can you please suggest me Function module for Functional Location(TPLNR) and Task List(PLNTY) Thank you in advance