Application and jdi/jvmti agent in single vm?

We're building a suite of monitoring tools that will help us inspect and manage our enterprise-class app. We currently have working an instrumenting interface (via mbeans) that uses javassist to instrument bytecode; this tool runs as an agent within the app's vm using the java.lang.instrument package -- no native code involved. The next aspect of the tool suite is a more sophisticated "inspector" that will offer debugging-like facilities: method tracing, local variable inspection, thread inspection, etc.
We prototyped a version using jdi and that works fine if the agent does not run in the same vm as the app. However, setting things up so that the JDI agent does run in the app's vm does not work -- the entire vm (app, agent) hang after a call to VirtualMachine.suspend().
Intuitively, I think I knew this would happen but wanted to confirm it here. I have two questions:
1. Is it possible for a JDI-based agent to run in the same vm as a monitored app?
2. If not (1), and we write our agent in C, will the RunAgentThread() jvmti api allow us to run the inspector in the app's vm?
Thanks for your help.

JDI wasn't intended to be used to debug the same process in which the JDI client is running. We haven't tested that.
However, it is an interesting question and it seems that theoretically, if you are very careful, you might be able to do
a limited amount of debugging.
I gave it a try. My test program is launched with
java -agentlib:jdwp=transport=dt_socket,address=60000,server=y,suspend=n
The program starts a thread (named by default Thread-0) and then uses the SocketAttachingConnector
to attach to 60000. After it gets back a VirtualMachine object, it does
VirtualMachine.allThreads()
and prints the result:
instance of java.lang.Thread(name='Thread-1', id=66),
instance of java.lang.Thread(name='JDI Target VM Interface', id=4),
instance of java.lang.Thread(name='JDI Internal Event Handler', id=7),
instance of java.lang.Thread(name='Thread-0', id=69),
instance of java.lang.Thread(name='Signal Dispatcher', id=70),
instance of java.lang.ref.Finalizer$FinalizerThread(name='Finalizer', id=71),
instance of java.lang.ref.Reference$ReferenceHandler(name='Reference Handler', id=72),
instance of java.lang.Thread(name='main', id=1)
So, this method worked. It sounds like you have basically gotten this far since you said your entire
app hangs after a call to VirutalMachine.suspend(). This hang is to be expected since you are suspending
'yourself'. You have to be very careful to not do this. EG, don't set a SUSPEND_ALL breakpoint at a location
which your 'debugger' will execute. There might be other pitfalls too that make this idea impractical.
But, if you are careful, eg, restrict actions to threads in the part of your app that you want to 'monitor', you
might be able to do something useful.
Let us know how it goes.

Similar Messages

  • Update: Application and jdi/jvmti agent in single vm?

    So far, using JDI as a "same-process" interface to the VM (i.e. "debugger" and "debuggee" in the same vm) seems to be working. Thus far we have MethodEnter and MethodLeave events flowing, along with capture of information available from these events. Our next goal is to get BreakpointEvents going so we can capture local variable information at certain points in a method.
    Pretty cool...
    -- david

    Interesting - I don't know of anyone who has done this before.
    Thanks for the update.

  • Single Sign on using SAML between JWS application and Web Application

    Hi,
    We have two applications one is swing based Java Web Start application and other is a normal web application. We are trying to enable single sign on between both the applications. Can SAML be used to enable single sign on? If yes, can some one let us know how to do this?
    Thanks,
    Rama

    Thanks. But it is based on two WEB applications deployed on two different weblogic domains. What I am looking for is one application which is launched using Java Web Start(JNLP) and other a web application. The Java Web Start application uses its proprietary authentication implementation and the web application used DefaultAuthenticator of weblogic. Hope this detail will help you to answer my question better. I should have given this information earlier.
    Thanks.
    Rama

  • I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.

    I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.
    Also, does reinstallation takes the back up automatically or the files will be lost. Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • How to merge an Air application and an Android java app in a single APK?

    Hi,
    I have a java-based Android application and a Air-based android application. I have the source code of both.
    I need to merge both applications in a single one, and I need to launch the air-based app from the java-based app.
    I'm open to any crazy suggestion, the single constraint is that both app must be "downloaded" and installed at the same time, without prompt the user twice for the permission.
    Thank you for your help

    Excuse for my English. You must use Air Native Extension. Start up point is Air app as android app and starts Android Activity (http://stackoverflow.com/questions/10710094/how-to-start-activity-from-frefunction). And my example https://github.com/ru-nekit-android/JAIRBridge - two-way interaction between Java and Air. I wait from you more questions.

  • Can we make single application and it should be work in all Platforms(Windows Phone 8,IOS,Android)?

    Dear Sir/Mam,
    I want write a program for Windows Phone ,IOS, Android using with C#.net ,i mean single application and it's work in multi platforms. 
    For this task which languages are needed  to make a project.
    Please give me some basic guidelines.
    Thanks & Regards,
    SrinivaaS.

    Hi,
    of course there are a lot of Cross-Platform tools. Here are some suggestions:
    1. Xamarin with C#
    2. PhoneGap with JavaScript/HTML/CSS
    3. IntelXDK.
    Regrads,
    Markus 

  • JVMTI agent and max heap

    Running an app with a JVMTI agent attached, I cannot specify a max heap greater than 320Mb, even on a 1Gb machine with hardly anything running. Specifying for example -Xms256m -Xmx512m results in following error:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Anyone any ideas?
    Thanks,
    Luc

    This appears to be a duplicate of this post:
    http://forum.java.sun.com/thread.jspa?threadID=755278&tstart=0

  • Down loading Microsoft Office update get error message to close applications microsoft database daemon and sync services agent

    when downloading microsoft office update get message to close microsoft database daemon and sync services agent. Shouldn't these be closed automatically? I try to close them, but the message still says they need to be closed.  Help!

    Are you using Outlook 2011 or Outlook 2015? I don't seem to have any relevant sync settings under Preferences -> Other in Outlook 2015.

  • Install database , application and search index on Single machine ?

    Under SAP PROD PAK SERVER 4.3 -> Windows Server on IA32 32bit (SAP Education Products" SAP PRODUCTIVITY PAK BY ANCILE" SAP PRODUCTIVITY PAK 4.3) I am only getting the below files-
    RWDuPerfServer43P_1-10009622.ZIP
    RWDuPerfServer43P_2-10009622.ZIP
    Is this the right server software ?
    - Can we install database , application and search index on same machine ?
    - OS is windows (2003, 2008, ???), Is RWD only supported on 32 bit windows with IA processor or any processor and also on 64 bit ?
    - Where can I find the installation document or all the prerequistes ?
    - Which database is preferable SQL, oracle or DB2 , currently we have SAP system on DB2
    - Do we need to integrate the RWD with all SAP system landscapes ?
    - Also suggest the hardware requirement (RAMprocessorhard disk space) if 1 server installation is possible for all the req (Search Server + Database Server + Web Application Server + Administrator Workbench)
    Thanks
    Saurabh

    Hi Saurabh,
    These are the latest patches - 4.31 and 4.32.
    To install 4.30 you will need to go to the "Installation and Upgrade" section of Service market place and download and install this first.
    Installations and Upgrades -
       P     
           "SAP PRODUCTIVITY PAK BY ANCILE"
                SAP PRODUCTIVITY PAK 4.3
    The patches can be downloaded and installed then.
    The documentation will be within the installation files.
    Hope this helps,
    Kind Regards,
    Matthew

  • ODI - Multiple Java EE Agents on Single Managed Server

    Hello All,
    Can we configure more than 1 Java EE Agent on single managed server in ODI? I have configured 1 Java EE agent successfully.
    Kindly suggest, if this is possible?
    Cheers,
    Andy.

    A default JEE agent is created when you create domain, which is named as OracleDIAgent.
    1. In Studio, duplicate the agent, change its name to genAgent, change the web application context to genagent.
    2: Go to datasource of genAgent, drop all datasources.
    3: Generate server template. put the jar file under odi\common\templates\wls
    4: Deploy this template by update the existing domain. Bring up the config.cmd, choose update existing domain.
    5: Update the domain using the template that just generated.
    Go through the Configuration wizard. (I did not modify anything or configure anything here).
    6: The wizard will give information says the deployment was successful.
    7: Bring up the admin server and ODI_server1. 

  • Clients getting Applications and Packages, but NOT Software Updates

    I am trying to set up a new SCCM2012 installation and have come across a strange problem that I need help on.
    We have a single primary site at one location with distribution points at several other locations. Clients at some of the locations (but not all) are able to get deployed applications and packages from their DP, but for some reason are not able to get Software
    Updates from the same DP.
    When I look in the LocationServices log, I can see it contact the DP when an application is available. The following appear in the log:
    Current AD site of machine is XYZ
    Calling back with the following distribution points
    Distribution Point='https://<My DP>...,Locality='LOCAL',DPType='Server',Version='7958', etc.
    Calling back with locations for location request {<CID>}
    But otherwise, the LocationServices log is filled with:
    Current AD site of machine is XYZ
    Calling back with empty distribution points list
    Current AD site of machine is XYZ
    I don't understand how the machine is able to locate and work with the DP for Applications/Packages, but not for Software Updates. I'm thinking it must be something with the boundaries/boundary groups, but I have checked and everything seems to be fine,
    and they are working for Apps/Packs. 

    The WindowsUpdate.log seems to indicate that it is talking with the MP:
    **START** Agent: Finding updates [CallerId=CcmExec]
    *Include potentialy superseded updates
    *online=Yes;Ignor download priority=Yes
    *Criteria="(DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver')"
    *Search Scope={Machine}
    +++++ PT: Synchronizing server updates +++++
    + ServiceId= {<CID>}, Server URL = <My MP with appropriate port>
    Agent * Added update {<CID>}.202 to search result
    * Found 289 updates and 77 categories in search; evaluated appl. rules of 2711 out of 4339 deployed entities
    ** END ** Agent:Finding updates [CallerID=CcmExec]
    But there is no mention of my DP.

  • In Pages 5.5.1 when I go to the Open menu I cannot get a preview of any of the files in the list using the spacebar, which I can do in every other application and finder. Is there a workaround?

    In all other applications and in the finder, if I select a document and press the spacebar I get a quickview preview of that file. It does not work in Pages when I choose Open and am given a list of files to select from. This was not the case in older versions of Pages. Is there a workaround, other than doing quickview in the Finder before going to Pages.

    On Yosemite, Pages documents that are in a package (folder) format are viewable with Quick Look in the Pages v5.5.1 file chooser. Pages documents that are in the Single File (compressed, renamed folder) format are viewable in diminished size with Quick Look. Other documents that can be opened in the version(s) of Pages on your Mac will also open properly in Quick Look from the file chooser.

  • Choosing between external and partner application and problem with login

    We have an application on Oracle App Server 10.1.3.3 and we have an OID server.
    I had taken this for granted that I should define the application as 'Partner Application' and not external application for single sign on.
    Now that we need the 'PASSWORD' retrieved by application, we are considering defining it as an external application.
    There are at least two problems I have encountered defining the application as external:
    1. 'pageConfig:serverDate' is among the login form's inputs in the login page, but I can't set it in orasso 'Edit External Applications' page
    2. After login using SSO as external application and when I click on the application's new link, the login page is shown with the username and password field filled, but I have to click on login button anyway (no automatic and invisible login).
    I will be very grateful if someone gives a general view on the differences between external and partner, whether in this case external has to be used or partner and finally give some comment on my specific problem with login button and manual login.
    Thank you

    Just some information :
    - The problem with LOGIN page exists. I don't have that problem with for example GMAIL when defined as external application, but with my applications in Oracle Application Server.
    - There is also another thing I don't understand. The link to external application is something like:
    javascript:open_jwindow('../ealogin?ID=76D4766','76');
    and couldn't be executed outside pls/orasso
    in other words we can't give that to our users, can we? They should login to orassso and see that?
    We don't want to involve them in Identity Management...
    Any help is appreciated....
    Regards

  • Mixing static and dynamic content in a single outputText value causes NPEs

    Hi,
    I am having a problem and I'm wondering if it is a result of my error or if this is a bug.
    I am mixing dynamic and static content in the value attribute of tags (e.g., outputText). On initial page load, everything works fine. However, if the same view is reloaded (e.g., after a failed validation) I get an NPE from JSF:
    [#|2006-10-24T08:49:03.756-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
            at com.sun.faces.el.MixedELValueParser.getNextToken(MixedELValueParser.java:140)
            at com.sun.faces.el.MixedELValueParser.parse(MixedELValueParser.java:123)
            at com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:60)
            at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
            at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:201)
            at com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:128)
            at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:609)
            at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
            at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
            at org.apache.jsp.registration_jsp._jspx_meth_h_panelGrid_0(registration_jsp.java:324)
            at org.apache.jsp.registration_jsp._jspx_meth_h_form_0(registration_jsp.java:223)
            at org.apache.jsp.registration_jsp._jspx_meth_f_view_0(registration_jsp.java:157)
            at org.apache.jsp.registration_jsp._jspService(registration_jsp.java:118)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
            at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
            at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
            at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
            at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)My code looks like this:
    <h:outputText escape="false"
              value='<link href="#{myBean.styleSheet}" rel="stylesheet" type="text/css"  />' />If I replace this with a much more convoluted set of tags, it works:
    <h:outputText escape="false"
              value='<link href="' /><h:outputText escape="false" value="#{myBean.styleSheet}"
              /><h:outputText escape="false" value='" rel="stylesheet" type="text/css" />' />So is the problem that I am mixing dynamic and static content with a single value? If so, why does it work on the first view, and not after?
    If it matters, I'm using the reference implementation version 1.1 (as included with NetBeans 5.5RC2) on SuSE 10.0 w/ JDK 1.5_09.
    Thanks,
    Bill

    Yes, that's how I originally had it, but then changed it to the outputText approach since a single tag could do what I wanted, as long as I was allowed to mix static and dynamic content within a single value.
    I think this is a bug in JSF 1.1, since if what I am doing is illegal, it should throw an exception on the first page view, not work on first view and throw an exception on subsequent views. I'm guessing that this has something to do with the fact that on first page view it only runs the restore view and render response JSF phases, while on subsequent requests all of the phases will be run, and it's in one of those other phases that the exception is thrown.
    For now, multiple tags is the work-around, I guess.
    Thanks,
    Bill

  • Some of my applications and/or folders got corrupted after using Migration Assistant

    Hello,
    Had an iMac with Snow Leopard installed (1 single admin user).
    Also had a Mac Mini with Snow Leopard installed (1 single admin user).
    Got everything transfered to a single brand new MacMini with Lion pre-installed using the following method:
    - Started the new Mac Mini from scratch and used Migration Assistant during setup process to import ALL data from old MacMini (user, applications, settings and other files) using ethernet connection.
    - This went perfectly well with 1 or 2 minor errors regarding 1 or 2 startup items but resolved with erasing and re-installing them.
    - Applied all available Software Updates to get an updated version of Lion (10.7.5)
    - Then launched Migration Assistant from the new Mac Mini to import ALL data from iMac (user, applications, settings and other files)
    - This went well as I got the same message than previous transfer (all data was transferred OK)
    - Also got another message saying some X folder was not compatible with targeted system and same with some CHUD folder.
    I finally got my 2 admin users gathered onto the single new Mac Mini in 2 separate admin user sessions.
    If an app was already transferred from the old Mini but also installed on the iMac it did not get transferred from the iMac thus keeping the Mac Mini version.
    For such apps I have permissions issues and some of the folders used by the 2 different admin users such as /Movies or /Documents are locked depending on which user session is opened.
    I tried repairing permissionsusing Disk Utility but with no success.
    I also tried to delete and re-install these applications but it did not work.
    Last chance was to grant full access attributes to the related folders via their information panel or System Preferences (User & Groups tab) but it did not work either.
    Could somebody please explain the background for this issue and how could I solve it?
    I am thinking of re-installing Lion from scratch, transfer the old Mac Mini again (ALL data) and then import iMac user but only USER data (not applications and settings). Would it work?
    Thanks for any help you could provide,
    François

    I was finally able to fix this by using a couple of preference management utilities. Either I missed a key preference file for each app, or there are some hidden preference files, but when I used the prefence management utitilities (such as Preferntial Treatment, PrefEdit, Defaulter, or PlistEdit Pro) I was able to look at the prefs for Firefox and Photoshop CS2 and see where the hostname for the my old G4 was listed. (in the case of Photoshop CS2 it was actually in the list of recently opened files!! I should have noticed that from within Photoshop)
    Now that I've removed those entries from preferences both Photoshop and Firefox run without prompting that the old G4 had to mounted.
    oh, also... I found that for both Photoshop & Firefox I could actually get them to work without mounting the old G4's root volume - it just took clicking past the pop-ups (about 10 of them for each app) and waiting a long time as it searched around for the next one (maybe about 10 minutes total ... normally I don't have time to waste like that, but I got curious and made the time).
    Thank you for your suggestions. as I had suspected, Migration Assistant moved some preferences from the old G4 that had it's hostname embedded and for some reason the apps weren't clearing them out when they were launched on the new machine (again, odd since I didn't have Migration Assistant move the apps from the old G4 to the new G5 - I installed each app on the G5 as a new install (aka: a "clean install") to avoid just this type of problem).
    My real thanks are to the authors of the above mentioned preference management utilities.
    Quad Core PowerMac G5 Mac OS X (10.4.3)

Maybe you are looking for

  • How Do I Group Multiple Disks as One Album?

    I've got the latest iTunes update, 11.0.4, and as with the update before it, I'm supposed to be able to group multiple disks as one album, but I can't figure out how, and can't find any directions at Apple. I've lately begun ripping my large collecti

  • Dual Monitor/View problem......

    I am having a problem running my dual monitors with my MSI gf4 ti 4200 128mb card...... i re-installed my drivers (i tried 30.00's and 30.82's) and they work fine, but once i reboot or change the resolution it'll show 4 monitors in my device manager

  • Problem with CALL Transaction syntax

    Hi All, I have created  a report in which Im displaying Sales order, planned order n production order details. In the output if the user double clicks, anyone of the sales order/planned order/production order no, it has to take to concern transaction

  • Converter doesn't work

    My converter (calculator) doesn't work now. It worked always since a year before.  At the moment it's possible only to use the calculator for mathematical operations and not to convert currency, lenght, weight and so on. Thank you in advance for pati

  • Multiple article select in Folio Producer [Add] article feature

    Folio Producer provides [Add] article feature allow designer collaborative workflow, thanks. I just completed adding articles from several shared folios, I would like to say, select multiple articles in folio is a MUST to make DPS sharing collaborati