Getting file-realm users programatically.

Hi
Is there any way of getting the list of users of the App server defined in file realm programmatically? Is there any api available?
I am in the process of creating a wrapper application to manage security of those applications deployed in my app server....

Greg <[email protected]> wrote in message news:<3bec04ec$[email protected]>...
Is there a way to create users in a batch mode in the default file realm using the WL Security API?Using Weblogic Security API - yes! (look at
weblogic.security.acl.ManageableRealm.newUser())
Batch? In the JSP way? Yes! see below
One solution is to write a Java bean and use that bean by your JSP. In
that way, your JSP can be easily modified to add more users. Here is
an example JSP .
<%
     Users users = new Users (); // Users is your bean
     users.addUser("support1", "password", "Support");
     users.addUser("support2", "password", "Support");
     users.addUser("developer1", "pass1", "Development");
     users.addUser("developer2", "pass5", "Development");
     users.addUser("developer3", "pass6", "Development");
     users.addUser("sales1", "pass2", "Sales");
     users.addUser("sales2", "pass3", "Sales");
     users.addUser("manager", "pass4", "Management");
     // .... add more users there ...
%>
Good luck,
drit
Freelance Java Developer / Code Inspector - no job too small or too
difficult!
http://www.geocities.com/doc_i_t/resume2001.html

Similar Messages

  • IChat Open Network for Downloads?  AKA "Get Files" Option

    On AIM There is an option called "get files" where users basically can download anything from your selected folder.
    Does ichat have this option?

    No.
    You have to Send the file by dropping it in the Text chat or On the Buddy's name in the Buddy list.
    You get the Dialogue window to Send they get one to Accept.
    With a Text chat open the files are always downloaded to the Desktop even if you have Stated different in the IChat preference.
    If there is no Text chat open (to that Buddy) the file will go to the place detailed in the Preferences.
    Ralph

  • How to get rid of Index of file:///C:/Users/lago/AppData/Roaming/SpecialSavings/ Up to higher level directory Name Size Last Modified File:SpecialSavings_2.0

    I am unable to uninstall this high risk addon shown below in Firefox Ad Data
    Index of file:///C:/Users/lago/AppData/Roaming/SpecialSavings/
    Up to higher level directory
    Name Size Last Modified
    File:SpecialSavings_2.0.0.crx 25 KB 19-Aug-12 6:03:42 PM
    Anyone know how to get rid of it please?

    I am unable to uninstall this high risk addon shown below in Firefox Ad Data
    Index of file:///C:/Users/lago/AppData/Roaming/SpecialSavings/
    Up to higher level directory
    Name Size Last Modified
    File:SpecialSavings_2.0.0.crx 25 KB 19-Aug-12 6:03:42 PM
    Anyone know how to get rid of it please?

  • My homepage keeps changing from Yahoo to this file:///C:/Users/ST1/AppData/Local/TNT2/Common/pinnedSearch.htm How do I get it to stay on Yahoo?

    We recently bought a new computer for the business. I have changed the homepage daily but it keeps reverting to other addresses like Conduit and just recently this is what I get in the address bar. file:///C:/Users/ST1/AppData/Local/TNT2/Common/pinnedSearch.htm I have tried to fix this a number of ways but still keep getting other homepages not Yahoo. Help!

    If that did not help;
    =============================================
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • ACC, File Realm and Default Login Module

    Dear Community,
    In my first attempt at using ACC with File Realm, I discovered the following problem.
    The container posts the login prompt as expected, and when entering a valid user name and password, this works as expected. However, if I should click the Cancel button or press the OK button with invalid user name or password, an exception is thrown.
    I am uncertain if this is a bug in the container or a bug in the documentation. I have been studying Chapter Eight of the Developer's Guide. It says "Authentication techniques are provided by the client container, and are not under the control of the application client component. The container integrates with the platform�s authentication system. When you execute a client application, it displays a login window and collects authentication data from the user. It also supports SSL (Secure Socket Layer)/IIOP if configured and when necessary. "
    Based only on what I find in the Guide, this must be a bug in the container.
    If anyone can shed some light on this symptom, please respond.
    Thanks,
    Gary

    Thanks, Tim.
    I am using SJSAS Platform Edition 8.1 2005Q1.
    I am looking in chapter eight of the Developer's Guide for specifics about four cases regarding the authentication thru the ACC where the ACC prompts the user for user name and password.
    1. Successful login (this is working OK).
    2. Incorrect user name or password.
    3. The Cancel button.
    4. Dismissing the prompt via the close window button.
    There seems to be no information provided on these cases, so I expect the container to handle this on behalf of my component.
    Here are the stack traces that I get for cases two thru four.
    When I try an incorrect user name and password:
    Server Log:
    [#|2005-04-18T10:20:51.859-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.security|_ThreadID=23;
    |SEC5046: Audit: Authentication refused for [username].|#]
    [#|2005-04-18T10:20:51.879-0700|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.resource.corba|_ThreadID=23;
    |IOP5049: Login exception: [com.sun.enterprise.security.LoginException:
    Login failed: javax.security.auth.login.LoginException: Failed file login for username.]|#]
    Client-side:
    Apr 18, 2005 10:20:51 AM com.sun.enterprise.appclient.Main <init>
    WARNING: ACC003: Application threw an exception.
    com.adam.framework.SystemException: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
    org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:542)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:42)
    at com.adam.framework.AdamFacadeClient.read(AdamFacadeClient.java:81)
    at com.adam.ide.AttributePanel.init(AttributePanel.java:934)
    at com.adam.framework.AdamClientFactory.createPanel(AdamClientFactory.java:256)
    at com.adam.ide.IdeApplicationClient.build(IdeApplicationClient.java:296)
    at com.adam.ide.IdeApplicationClient.main(IdeApplicationClient.java:166)
    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 com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
    at com.sun.enterprise.appclient.Main.main(Main.java:97)
    Caused by: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
    org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:542)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.disptch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:195)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at com.adam.ide._IdeHome_DynamicStub.create(_IdeHome_DynamicStub.java)
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:40)
    ... 12 more
    Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:542)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:930)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:595)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:431)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:327)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:158)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:129)
    ... 15 more
    When I try the Cancel button:
    Server Log:
    Nothing except some errors that seem related to the log viewer.
    Client Side:
    Apr 18, 2005 10:57:00 AM com.sun.enterprise.iiop.security.SecurityMechanismSelector getUsernameAndPassword
    SEVERE: IOP5023: Exception getting username and password
    com.sun.enterprise.security.LoginException: javax.security.auth.login.LoginException: No user specified
    at com.sun.enterprise.security.auth.LoginContextDriver$7.run(LoginContextDriver.java:647)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.auth.LoginContextDriver.doClientLogin(LoginContextDriver.java:639)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.getUsernameAndPassword(SecurityMechanismSelector.java:626)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.sendUsernameAndPassword(SecurityMechanismSelector.java:415)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.getSecurityContextForAppClient(SecurityMechanismSelector.java:341)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.selectSecurityContext(SecurityMechanismSelector.java:321)
    at com.sun.enterprise.iiop.security.SecurityServiceImpl.getSecurityContext(SecurityServiceImpl.java:85)
    at com.sun.enterprise.iiop.security.SecClientRequestInterceptor.send_request(SecClientRequestInterceptor.java:237)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeClientInterceptorStartingPoint(InterceptorInvoker.java:227)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeClientPIStartingPoint(PIHandlerImpl.java:322)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:259)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:121)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at com.adam.ide._IdeHome_DynamicStub.create(_IdeHome_DynamicStub.java)
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:40)
    at com.adam.framework.AdamFacadeClient.read(AdamFacadeClient.java:81)
    at com.adam.ide.AttributePanel.init(AttributePanel.java:934)
    at com.adam.framework.AdamClientFactory.createPanel(AdamClientFactory.java:256)
    at com.adam.ide.IdeApplicationClient.build(IdeApplicationClient.java:296)
    at com.adam.ide.IdeApplicationClient.main(IdeApplicationClient.java:166)
    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 com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
    at com.sun.enterprise.appclient.Main.main(Main.java:97)
    Apr 18, 2005 10:57:00 AM com.sun.enterprise.appclient.Main <init>
    WARNING: ACC003: Application threw an exception.
    com.adam.framework.SystemException: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
    org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:398)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:42)
    at com.adam.framework.AdamFacadeClient.read(AdamFacadeClient.java:81)
    at com.adam.ide.AttributePanel.init(AttributePanel.java:934)
    at com.adam.framework.AdamClientFactory.createPanel(AdamClientFactory.java:256)
    at com.adam.ide.IdeApplicationClient.build(IdeApplicationClient.java:296)
    at com.adam.ide.IdeApplicationClient.main(IdeApplicationClient.java:166)
    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 com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
    at com.sun.enterprise.appclient.Main.main(Main.java:97)
    Caused by: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
    org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:398)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:195)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at com.adam.ide._IdeHome_DynamicStub.create(_IdeHome_DynamicStub.java)
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:40)
    ... 12 more
    Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:398)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:930)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:595)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:431)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:327)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:158)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:129)
    ... 15 more
    When I try to dismiss the login screen by clicking the window close button:
    Server log:
    Nothing except some errors that seem related to the log viewer.
    Client side:
    Apr 18, 2005 11:28:33 AM com.sun.enterprise.iiop.security.SecurityMechanismSelec
    tor getUsernameAndPassword
    SEVERE: IOP5023: Exception getting username and password
    com.sun.enterprise.security.LoginException: javax.security.auth.login.LoginException: No user specified
    at com.sun.enterprise.security.auth.LoginContextDriver$7.run(LoginContextDriver.java:647)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.auth.LoginContextDriver.doClientLogin(LoginContextDriver.java:639)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.getUsernameAndPassword(SecurityMechanismSelector.java:626)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.sendUsernameAndPassword(SecurityMechanismSelector.java:415)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.getSecurityContextForAppClient(SecurityMechanismSelector.java:341)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.selectSecurityContext(SecurityMechanismSelector.java:321)
    at com.sun.enterprise.iiop.security.SecurityServiceImpl.getSecurityContext(SecurityServiceImpl.java:85)
    at com.sun.enterprise.iiop.security.SecClientRequestInterceptor.send_request(SecClientRequestInterceptor.java:237)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeClientInterceptorStartingPoint(InterceptorInvoker.java:227)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeClientPIStartingPoint(PIHandlerImpl.java:322)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:259)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:121)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at com.adam.ide._IdeHome_DynamicStub.create(_IdeHome_DynamicStub.java)
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:40)
    at com.adam.framework.AdamFacadeClient.read(AdamFacadeClient.java:81)
    at com.adam.ide.AttributePanel.init(AttributePanel.java:934)
    at com.adam.framework.AdamClientFactory.createPanel(AdamClientFactory.java:256)
    at com.adam.ide.IdeApplicationClient.build(IdeApplicationClient.java:296)
    at com.adam.ide.IdeApplicationClient.main(IdeApplicationClient.java:166)
    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 com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
    at com.sun.enterprise.appclient.Main.main(Main.java:97)
    Apr 18, 2005 11:28:33 AM com.sun.enterprise.appclient.Main <init>
    WARNING: ACC003: Application threw an exception.
    com.adam.framework.SystemException: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
    org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:398)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:42)
    at com.adam.framework.AdamFacadeClient.read(AdamFacadeClient.java:81)
    at com.adam.ide.AttributePanel.init(AttributePanel.java:934)
    at com.adam.framework.AdamClientFactory.createPanel(AdamClientFactory.java:256)
    at com.adam.ide.IdeApplicationClient.build(IdeApplicationClient.java:296)
    at com.adam.ide.IdeApplicationClient.main(IdeApplicationClient.java:166)
    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 com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
    at com.sun.enterprise.appclient.Main.main(Main.java:97)
    Caused by: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
    org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:398)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:195)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at com.adam.ide._IdeHome_DynamicStub.create(_IdeHome_DynamicStub.java)
    at com.adam.ide.IdeFacadeClient.getRemote(IdeFacadeClient.java:40)
    ... 12 more
    Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:398)
    at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
    at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:504)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:367)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAcces

  • Can I create additional file realm in AppServer 8 PE?

    I createed a additional file realm in addition to the existing default file realm, but I got this error when I clicked "manage users" button:
    A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor 'fileUsers'"
    The root cause is "com.sun.enterprise.admin.config.MBeanConfigException: Realm ericsson does not exists."
    See the HTML source for more detailed (stack trace) information.
    So, I wonder if creating more than one file realm is allowed .
    If it is allowed how should I do it?
    Thanks,

    I have asked one of our Security engineers to comment
    on your query. Is there a reason that you do not want
    to use the supplied file realm?The reason is that I think seperate security realm will be better when I run two or more applications that are not releated to each other in terms of security or users. I know I can have seperate domain for each application but I can't have the same port number in that case, right?

  • Transferring files from users mashines on the server. Uploading with applet

    I'm trying to create applet that would do uploading of user file on the server.
    I'm woundering, Is there any ways to use java applet to open a file on user mashine into a stream and transfer it thought socket into
    server? Is there any good solution that do uploading with java applet? (I can't use CGI or PHP)
    I just noticed that applets don't support FileInputStream. How could I in general get information from user file?
    Ok. Thanks for ideas that you gave me. But there are useless. All that I can use is only HTTP. Unfortunately no FTP, no Web Start application.
    looking for help

    well, i don't work a lot with applets because of their inherent limitations. but my guess would be that you have to somehow use a signed applet. of course that doesn't help with the FileInputStream problem you are talking about.
    if i were going to do it and i couldn't use FTP, i'd write a WebStart app that calls servlets (sending it byte arrays) and the servlets will construct the files on the server...
    i have no clue how you are going to do what you want...

  • Ftp get file without extension

    Hi
    I'm trying to use the sample code from http://blog.dbandbi.com/tag/ssis-script-task-check-if-file-exists-c/
    public void Main()
    string userName = Dts.Variables["User::userName"].Value.ToString();
    string password = Dts.Variables["User::password"].Value.ToString();
    string fileName = Dts.Variables["User::fileName"].Value.ToString();
    string ftpURL = String.Format("ftp://ftp.dbandbi.com/public_ftp/incoming/{0}",fileName);
    try
    FtpWebRequest ftpRequest = (FtpWebRequest)WebRequest.Create(ftpURL);
    ftpRequest.Method = WebRequestMethods.Ftp.DownloadFile;
    ftpRequest.Credentials = new NetworkCredential(userName, password);
    using (FtpWebResponse ftpResponse = (FtpWebResponse)ftpRequest.GetResponse())
    Dts.Variables["User::isFileExists"].Value = true;
    catch
    Dts.Variables["User::isFileExists"].Value = false;
    Dts.TaskResult = (int)ScriptResults.Success;
    but I'm having problems because the files are in unix format and they don't have extension. I  tried using filename*.* and filename*  but I always get "file does not exist".  What I'm trying to do is to know if the file created by
    another process has been freed so I can download it.
    thanks in advance
    cognosoft

    If no extension then check for the exact name. It must not matter. When you connect to the site using non SSIS facilities, do you see the file there? Wildcards do not work AFAIK.
    Basically, you need a directory listing to determine what files exist. You can run a remote dir command and save its output to a file or variable to skim thru.
    Arthur My Blog

  • How can i get files from my time capsule to my new mac?

    Hello there, 
    I know this topic i much discussed, but searching has not turned up a solution.
    I have a new mac book pro 15 on order and want to grab my files from my time capsule.   My old mac book pro 15 (3 months old) was encrypted with file safe.  In the past i have never had good results with bringing data to a new mac from time capsules; I've tried many times for my self and family.  As a result I use the time capsule for day to day old file retrieval needs and do manual backups of my data onto externals and NAS devices for migration to new computers-tedious but it has yet to fail me.  This time, I did that with everything except a few folders of my movies and pictures.  They are now prisoner on the time capsule.
    What is the best way to get files off the time capsule and does it require that my login and user name on the new mac be identical to that which was on my old mac?
    (I change my user names each time i get a new mac, not specifically on purpose but i haven't paid attention to what they were when setting up a new computer.)
    any assistance is appreciated.
    Thanks

    Thanks Allan,
    Help me understand what question you're referring to.  I've been through several new macs and am not sure what specifically you're speaking about.
    My old mac had a partition on the drive that I do not want on the new mac, so I am concerned about doing a full restore and prefer a file by file or folder by folder. is this possible?

  • Can I delete all files and users (including admin account) without re-installing SL?

    I have a 1st generation Macbook Air, running Snow Leopard 10.6.8.  Just bought myself a new MBA, want to sell the old one (privately, not soliciting here).
    The original install disks were Leopard.  I bought a family pack SL and upgraded the MBA at that point.  Earlier this year I sold my old Mac Mini (when I upgraded) and included the SL install disks with that sale (stupid of me).
    Now I want to sell the old MBA.  Ideally, I'd have a clean install on SL on it, minus all previous files and accounts.  I've done that before when selling old computers, reformatted / erased the HD, then reinstalled the OS.  But I don't have the SL disk anymore, and I don't really want to pay for it just to prep this notebook for sale.
    AFAICT, my options are:
    wipe the HD and reinstall Leopard (the only OSX disks I have).  Whoever buys it from me would need to upgrade to SL themselves, and from there to Lion if they want.
    somehow try to delete all files and users without touching the current install of SL.  I'm not terribly worried about security of what little information is on the MBA (nothing important to me), so I don't mind trashing files and then emptying trash instead of wiping the HD block by block. 
    Any ideas for how to do #2?  I can trash all files/folders under /user, uninstall all applications and delete their folders from Library, uninstall all browsers except Safari and wipe the history from that...
    Is there other stuff I should be deleting?  plist files, maybe?  I'm leery of messing around too much and disrupting the install of the underlying OS.
    Can I also delete the admin account (or rename it "admin" with a generic default password?)?
    Any other suggestions?  Thanks.

    Trashing files you have created is relatively easy. Getting rid of an account is a bit harder. Trashing the .plist files, etc., that may contain personal info is a lot harder, and there is always the risk that you will miss something.
    Best, and easiest, and customary, is to do option #1 - wipe the drive and re-install the original OS from the original disk set. The receiver of the machine can then decide which OS they want to upgrade it to, and purchse accordingly.
    The original disk set for that machine should be included with it when it is sold.

  • Sharing files between users and macs

    My husband and I share an iMac. I have a MBA for traveling and my husband a PC laptop (though he rarely uses for private stuff). We both have iPhones.
    We are looking for a way to:
    - Share our photos (we don't use iPhoto) and some files. We would like to have this in one shared folder, that we can access from both accounts in the iMac, the MBA and ideally (though not a must) the PC and iPhones. We would both need to have admin rights to edit documents, etc.
    - Have access to all the information in my account on the iMac from the MBA. Ideally, same thing for his and the PC.
    - Have access to all the data remotely when traveling.
    - Have all the data backed up locally (we already have a cloud backup, but we'd like to have a local backup too as it's easier and quicker to access)
    We have read a lot about configuration, NAS, time capsule... but we get more and more confused, as we are obviously no tech experts.
    Dropbox is not our preferred choice. We already have a cloud backup system. We'd rather have the files stored and accessed locally for everyday use.
    Using a NAS to store shared folders and backup the rest sounds good, but they either seem very complicated to set up, or they have mixed reviews in terms of stability, especially to access files remotely.
    Timecapsule seems easier and more straightforward, but I'm not sure it would solve the "sharing files between users and macs with admin rights"? It seems to be more focused on backing up the main drive and then providing access to the backed up files. (Though I might be completely mistaken!)
    We just can't manage to have one shared folder between both accounts in the iMac. We need to grant admin rights document by document. We don't manage to make it work automatically so we both have one folder to access with full rights for all the contents inside it. And this seems to me like something that should easily be done...?
    Any help, advice, proposals... would be greatly appreciated!!!

    Move any file you want to the other user to access to the Shared Folder. Anything you put in that folder is available to all users.
    The shared folder is here:
    Macintosh HD > Users > Shared

  • You are unable to log in to the File Vault user account "myaccount "...

    I know there are various posts already out there on remedies for recovering your data stored on a FileVault account when you receive the following message at the login screen; *"You are unable to log in to the File Vault user account "myaccount " at this time"*, but this genuinely worked for me despite AppleCare providing absolutely no assistance whatsoever. In fact, if I had followed their advise I'd be inconsolable right now having wiped my MacBook Pro and contemplating the prospect of rewriting my two essays due in 3 days time!
    I, in a moment of shear stupidity, decided to move the sparsebundle file in my one and only account to trash. Thinking nothing of my foolish actions I shut down for the evening without a care in the world. The next day I started up my computer as usual, and as usual I was prompted at the login screen for my password. I entered the correct password, but was alarmed to see the message above flash before my eyes. Without boring you all with what I did over the weekend waiting for AppleCare to open again on Monday morning. Anyway, this post is specifically for people who have put the sparsebundle of their FileVault-enabled account in the trash (NOT anything else!) without emptying it, of course! The other prerequisite is that you must REMEMBER YOUR FILEVAULT ACCOUNT PASSWORD!
    1. Firstly, you must insert *Disc 1 of the Mac OS X Install* discs.
    2. Restart your computer holding down the letter S (make sure you are holding this down BEFORE the start up noise sounds)
    3. Select the appropriate language and continue to the next screen (DO NOT go past the next screen, the WELCOME screen)
    4. At the grey bar at the top, under Utilities, select *Reset Password*
    5. Select the Administrator/Root account and proceed to change the password of this account to test
    6. Confirm the password by reentering it and click Save
    7. Restart your computer and at the login screen you should now be able to select an account named Other
    8. The username for this account is root and the password is test (the password you entered earlier)
    9. Using Finder, locate the Terminal utility, which can be found in *Applications --> Utilities*
    10. Enter the following, ignoring the bold of course (pay attention to lower cases AND spaces!): *defaults write com.apple.finder AppleShowAllFiles TRUE*
    11. Hit Enter
    12. On the next line, enter: *killall Finder*
    13. Hit Enter again
    14. Type: exit on the next line and close Terminal
    15. This has enabled the hidden files on your computer to be visible
    16. You then need to locate the sparsebundle file in the trash of your usual account folder (it could be 501, so search for that too) whilst logged in to the administrator account
    17. Once you have found it, click *Go to Folder* under Go in the grey bar and type /Users/
    18. Create a *new folder* at this location with a new username
    19. Move the sparsebundle from its present location to the folder you have just created
    20. Click Get Info on the new folder, and at the very bottom click *Apply to enclosed items*
    21. In *System Preferences --> Accounts*, create a new user with EXACTLY the same name as the folder you created (eg. Folder name = burtreynolds, new user = burtreynolds)
    22. A window should appear if you have done the above correctly stating *A folder in Users folder already has same name, would you like to use it?*
    22. Click OK
    23. Click *Show All* at the top of the Accounts window
    24. Restart your system and log in to the new account you have created
    25. The sparsebundle should now be visible
    26. Double-click on the sparsebundle, it will prompt you to enter a password
    27. Enter the password of your former account (if you have genuinely forgotten this password, I honestly can't help any further at this point)
    28. If the password is correct, the sparsebundle will automatically mount and you will have access to all the files
    29. NEVER EVER USE FILEVAULT AGAIN AND BACK UP ALL DATA YOU DON'T WANT TO LOSE!!!
    The above worked for me, and to say I'm mildly annoyed with AppleCare is, well, putting it mildly really!

    I know there are various posts already out there on remedies for recovering your data stored on a FileVault account when you receive the following message at the login screen; *"You are unable to log in to the File Vault user account "myaccount " at this time"*, but this genuinely worked for me despite AppleCare providing absolutely no assistance whatsoever. In fact, if I had followed their advise I'd be inconsolable right now having wiped my MacBook Pro and contemplating the prospect of rewriting my two essays due in 3 days time!
    I, in a moment of shear stupidity, decided to move the sparsebundle file in my one and only account to trash. Thinking nothing of my foolish actions I shut down for the evening without a care in the world. The next day I started up my computer as usual, and as usual I was prompted at the login screen for my password. I entered the correct password, but was alarmed to see the message above flash before my eyes. Without boring you all with what I did over the weekend waiting for AppleCare to open again on Monday morning. Anyway, this post is specifically for people who have put the sparsebundle of their FileVault-enabled account in the trash (NOT anything else!) without emptying it, of course! The other prerequisite is that you must REMEMBER YOUR FILEVAULT ACCOUNT PASSWORD!
    1. Firstly, you must insert *Disc 1 of the Mac OS X Install* discs.
    2. Restart your computer holding down the letter S (make sure you are holding this down BEFORE the start up noise sounds)
    3. Select the appropriate language and continue to the next screen (DO NOT go past the next screen, the WELCOME screen)
    4. At the grey bar at the top, under Utilities, select *Reset Password*
    5. Select the Administrator/Root account and proceed to change the password of this account to test
    6. Confirm the password by reentering it and click Save
    7. Restart your computer and at the login screen you should now be able to select an account named Other
    8. The username for this account is root and the password is test (the password you entered earlier)
    9. Using Finder, locate the Terminal utility, which can be found in *Applications --> Utilities*
    10. Enter the following, ignoring the bold of course (pay attention to lower cases AND spaces!): *defaults write com.apple.finder AppleShowAllFiles TRUE*
    11. Hit Enter
    12. On the next line, enter: *killall Finder*
    13. Hit Enter again
    14. Type: exit on the next line and close Terminal
    15. This has enabled the hidden files on your computer to be visible
    16. You then need to locate the sparsebundle file in the trash of your usual account folder (it could be 501, so search for that too) whilst logged in to the administrator account
    17. Once you have found it, click *Go to Folder* under Go in the grey bar and type /Users/
    18. Create a *new folder* at this location with a new username
    19. Move the sparsebundle from its present location to the folder you have just created
    20. Click Get Info on the new folder, and at the very bottom click *Apply to enclosed items*
    21. In *System Preferences --> Accounts*, create a new user with EXACTLY the same name as the folder you created (eg. Folder name = burtreynolds, new user = burtreynolds)
    22. A window should appear if you have done the above correctly stating *A folder in Users folder already has same name, would you like to use it?*
    22. Click OK
    23. Click *Show All* at the top of the Accounts window
    24. Restart your system and log in to the new account you have created
    25. The sparsebundle should now be visible
    26. Double-click on the sparsebundle, it will prompt you to enter a password
    27. Enter the password of your former account (if you have genuinely forgotten this password, I honestly can't help any further at this point)
    28. If the password is correct, the sparsebundle will automatically mount and you will have access to all the files
    29. NEVER EVER USE FILEVAULT AGAIN AND BACK UP ALL DATA YOU DON'T WANT TO LOSE!!!
    The above worked for me, and to say I'm mildly annoyed with AppleCare is, well, putting it mildly really!

  • SSIS 2012 Script Task to Get File Properties

    Hello,
    I researched on how to grab a file properties such as file size, file modified date, etc and I came across the following
    link:
    I followed exact steps and when I went to execute the package, I got the following error:
    Below is the code:
    // C# code
    // Fill SSIS variables with file properties
    using System;
    using System.Data;
    using System.IO; // Added to get file properties
    using System.Security.Principal; // Added to get file owner
    using System.Security.AccessControl; // Added to get file owner
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_cb8dd466d98149fcb2e3852ead6b6a09.csproj
    [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
    public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    #region VSTA generated code
    enum ScriptResults
    Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    #endregion
    public void Main()
    // Lock SSIS variables
    Dts.VariableDispenser.LockForRead("User::FilePath");
    Dts.VariableDispenser.LockForWrite("User::FileAttributes");
    Dts.VariableDispenser.LockForWrite("User::FileCreationDate");
    Dts.VariableDispenser.LockForWrite("User::FileExists");
    Dts.VariableDispenser.LockForWrite("User::FileInUse");
    Dts.VariableDispenser.LockForWrite("User::FileIsReadOnly");
    Dts.VariableDispenser.LockForWrite("User::FileLastAccessedDate");
    Dts.VariableDispenser.LockForWrite("User::FileLastModifiedDate");
    Dts.VariableDispenser.LockForWrite("User::FileOwner");
    Dts.VariableDispenser.LockForWrite("User::FileSize");
    // Create a variables 'container' to store variables
    Variables vars = null;
    // Add variables from the VariableDispenser to the variables 'container'
    Dts.VariableDispenser.GetVariables(ref vars);
    // Variable for file information
    FileInfo fileInfo;
    // Fill fileInfo variable with file information
    fileInfo = new FileInfo(vars["User::FilePath"].Value.ToString());
    // Check if file exists
    vars["User::FileExists"].Value = fileInfo.Exists;
    // Get the rest of the file properties if the file exists
    if (fileInfo.Exists)
    // Get file creation date
    vars["User::FileCreationDate"].Value = fileInfo.CreationTime;
    // Get last modified date
    vars["User::FileLastModifiedDate"].Value = fileInfo.LastWriteTime;
    // Get last accessed date
    vars["User::FileLastAccessedDate"].Value = fileInfo.LastAccessTime;
    // Get size of the file in bytes
    vars["User::FileSize"].Value = fileInfo.Length;
    // Get file attributes
    vars["User::FileAttributes"].Value = fileInfo.Attributes.ToString();
    vars["User::FileIsReadOnly"].Value = fileInfo.IsReadOnly;
    // Check if the file isn't locked by an other process
    try
    // Try to open the file. If it succeeds, set variable to false and close stream
    FileStream fs = new FileStream(vars["User::FilePath"].Value.ToString(), FileMode.Open);
    vars["User::FileInUse"].Value = false;
    fs.Close();
    catch (Exception ex)
    // If opening fails, it's probably locked by an other process
    vars["User::FileInUse"].Value = true;
    // Log actual error to SSIS to be sure
    Dts.Events.FireWarning(0, "Get File Properties", ex.Message, string.Empty, 0);
    // Get the Windows domain user name of the file owner
    FileSecurity fileSecurity = fileInfo.GetAccessControl();
    IdentityReference identityReference = fileSecurity.GetOwner(typeof(NTAccount));
    vars["User::FileOwner"].Value = identityReference.Value;
    // Release the locks
    vars.Unlock();
    Dts.TaskResult = (int)ScriptResults.Success;
    Eventually I am looking to just grab the Modified Date from the Windows Explorer folder and insert into table. Any suggestions? Thank you in advance!
    Sanjeev
    Sanjeev Jha

    Hi SSISJoost,
    I am so glad you responded to this thread. You are absolutely right. I copied the entire code including the project name (guid) and that solved the error problem.
    Now, what did you do to get the message box? I added the watch and I could see the values but how do I get these values in a table? If I remember correctly, in your blog, you mentioned something about using derived columns. I am familiar with Derived Columns
    but how do I do that? I appreciate your response.
    Thank you.
    Sanjeev
    Sanjeev Jha
    I used a second script task to show all variable values. It has a
    MessageBox in it and between all
    variables I added a
    newline to make it more readable...
    But with an Execute SQL Task and parameters you can also put these values in a Table... or you can read the file in a Data Flow Task and add those variables (as metadata) to each record with a Derived Column
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Web Matrix FTP Remote Connection Error - "Connection Error - Failure to get file list from server. An entry with the same key already exists."

    Does anyone have experience with this issue when connecting to a Linux FTP Web Server running a FTP Site?
    "Connection Error - Failure to get file list from server. An entry with the same key already exists."
    I cannot access the root directory of the ftp file server using Web Matrix 3. The site is .php based, and
    is accessible when connecting with FileZilla or Remote Connecting via FTP with Visual Studio.
    All sites have been deleted from Web Matrix, the user Application Data has been cleared and Web Matrix has been reinstalled.
    Issue Persists....
    Thanks in advance,
    Justin

    Turns out that the program leaves metadata in your app data folder that is not removed upon uninstallation of the software.
    This is incorporated to communicate with a file that uploaded into the ftp directory when publishing pages.

  • How can i get input from user in Workflows

    Hello professionals,
    I'm new to SAP B1 Workflow, i have created some workflows and they all worked fine.
    But, I am wondering, How can i get input from user?. For example, i want to display list of options to choose between them and route the workflow based on the selected option. I don't want to use the exclusive gateway and check for some conditions, i want to get input from user.
    How can i do that?
    Thanks in advance,
    Kareem Naguib

    Hi,
    Please refer SAP help file:
    http://help.sap.com/saphelp_sbo900/helpdata/en/b8/1f9a1197214254b79bcf8f93f9fff9/content.htm?frameset=/en/44/c4c1cd7ca22…
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • Dvi to DVI

    Hello I have an Sharp Aquos HDTV, It has a DVI input. I have a PowerPC G4 with a DVI slot. My mac reconizes the TV by name (SHARP LCD) but displays no picture. I just got the TV back from the repair shop today and they had it working. This computer d

  • Enterprise Manager Configin a new host after recovery from cold backup

    Dear friends , we have recovered a DB in new host(windows) from the cold backup. Listener is configured and EM is also configured . I am able to login through the EM . In the front page i get an error like java.lang.exception:unknownhost exception se

  • Email Notification function module required

    Hi All, I need fucntion module which generated email to user. In this email there is no attachment. Only some text i need to display and i ned to show output in table format. any body can help me which fucntion module i need to use. thanks, maheedhar

  • Start volume full? but cant find source!

    Hi all! My macbook pro is telling me that my start volume is full. when i looked around to find what is taking up so much space i found that my main user is using 468.55 GB. but when i checked through the seperate folders i couldnt find what would be

  • Why can't PS be more like LR ?

    I somehow had the impression that one could use PS CS5/6 in much the same way as Lightroom, in respect of 'continuous editing'. In LR, if I close and restart, my situation is exactly as if I had stayed continuously open. I can backtrack, do whatever