Problem with web sharing in Lion

Until recently web sharing in Lion used 127.0.0.1 and 127.0.0.1/~user/ for websites. Now it uses 192.168.1.105 and 192.168.105/~user/, where 192.168.1.105 is the IP of my MacBook Air assigned by my router. Since i only want my websites for development purposes and not for online access i want to use 127.0.0.1 and 127.0.0.1/~user/ again.
How can i do that?

The pdf files in the Developer directory say to type:
     sudo <Xcode directory>/Library/uninstall-devtools --mode=all   
in a Terminal window.
I tried that, and got back the message:
  -bash: Xcode: No such file or directory
and the directory is still there.

Similar Messages

  • Problems with screen sharing

    Upgraded three systems to Mountain Lion yesterday (Early 2011 MBP, Mid 2010 Mini and Mid 2011 Mini). 
    I rely on Screen Sharing to maintain the two Minis using the MBP.  Now, while the Mid 2010 Mini can be accessed just fine, the same is not true for the Mid 2011 Mini.  After a long delay, a window will pop up but is black.  If I toggle between scaled and full screen a couple of times, the screen will be displayed but will accept no input.  Odd.

    I was able to resolve the problem with screen sharing from my MBP to my problematic Mini.
    My home network uses a Belkin N600 dual band router with both the MBP and Mini using the faster N band.  After switching the Mini to the slower band, screen sharing began working again.  My other Mini that worked all along was hardwired to the router so was not an issue.
    Oddly, with Lion, screen sharing worked having the MPB and Mini on the same N band.

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • Problem with web.xml

    Hello,
    I have a big problem with web.xml.
    i can run the servlet demos with the default web.xml, but when i try to user a costum web.xml files, i receive a 404 page not found on a link.
    i have some dificulty to post here. but can somebody help my with my web.xml files?
    thanks for your help.
    have a nice day!

    Be careful with the place of your files and folders. It's possible that you've just mentioned the cause of your problem.
    My web.xml is
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>gco</display-name>
    <description>gco webapplicaties</description>
    <servlet>
    <servlet-name>MopoController</servlet-name>
    <servlet-class>org.gertcuppens.controller.MopoController</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>MopoController</servlet-name>
    <url-pattern>/MOPO</url-pattern>
    </servlet-mapping>
    </web-app>
    When I want to call my web application locally, I use the URL http://localhost:8080/gco/MOPO.
    The http://localhost:8080 calls Tomcat. With /gco, Tomcat knows it should look for a folder gco inside the webapps folder. This one should contain a WEB-INF/web.xml folder for further instructions.
    With /MOPO Tomcat knows, having read the web.xml files of all webapps folders at start, it should look for a servlet with the name MopoController. And this MopoController points to the class org.gertcuppens.controller.MopoController. So, Tomcat knows where to find everything.
    Try to see whether your Tomcat can find everything inside the folders using your web.xml file.

  • Is there compatibility problem with updating OS-X Lion to new Mountain Lion?

    is there compatibility problem with updating OS-X Lion to new Mountain Lion?

    http://www.apple.com/osx/specs/

  • I have some problem with home sharing

    I have some problem with home sharing. I have iPad, iPhone, MacMini, MacBook and Apple Tv. Five items. I can't add other items to home sharing, like iPhones and pc of my sons, and my wife's pc. More than home (Family) sharing it becomes Single sharing. Is there any solution?

    Post in the iPhoto forums.

  • Problems with share screen in lion

    Hello
    I have had problems with share screen since i have installed Lion. I can't share screen even inside the Lan, between Macs and between Mac and Iphone. It's like Lion would had some port block in any hidden place. Anyone knows something about it?

    FINALLY! Got Screen Sharing to work! REPLACE ARDAgent (v3.5.1) with the older v3.4
    Instructions by tchaga:
    1. Download ARD 3.4 (http://support.apple.com/kb/DL1350 RemoteDesktopClient.dmg), mount it, look inside the package/Contents, copy the Archive.pax.gz to the desktop
    2. Expand the Archive.pax.gz and navigate inside the resulting folder Archive to /System/Library/CoreServices/RemoteManagement
    3. Navigate to the same folder at the root of your HD (i.e. HD/System/Library/CoreServices/RemoteManagement)
    4. Copy ARDAgent from your HD/System/Library/CoreServices/RemoteManagement to the Desktop and then delete it from the HD/System/Library/CoreServices/RemoteManagement folder (you need admin password).
    5. Copy ARDAgent from Archive/System/Library/CoreServices/RemoteManagement to HD/System/Library/CoreServices/RemoteManagement (you need admin password again).
    6. Restart

  • Problem using Web Sharing

    Hi... I am running OSX 10.5.7 on my new Unibody Macbook that is about a week old. (I used migration assistant to transfer everything over, web sharing worked fine on my old macbook).
    At first when I tried to connect I got the plain Apache startup page, and followed the advice in the apple article:
    http://support.apple.com/kb/TA25038?viewlocale=en_US
    I updated the username.conf file but I'm not sure if I did it right, because now I can't connect to anything at all... I simply get the message:
    Safari can’t connect to the server.
    Safari can’t open the page “http://192.168.1.6/” because it could not connect to the server “192.168.1.6”.
    (This is when I click the web sharing link in system preferences. I get the same message for the username.local link and the /~username/ link too)
    I tried entering the following command in terminal:
    apachectl configtest
    as suggested in another post on this forum. I get the following result:
    Syntax error on line 1 of /private/etc/apache2/users/Jasmine.conf:
    Invalid command '{\\rtf1\\ansi\\ansicpg1252\\cocoartf949\\cocoasubrtf460', perhaps misspelled or defined by a module not included in the server configuration
    is there a way to start over from scratch?
    Can I get rid of the Syntax error on line 1 and get web sharing working (I'm not building websites, I just need to get some files moved over to my iPod Touch).
    I've been searching for awhile but so far no luck. Any suggestions would be appreciated.

    Hi, I just wanted to know if you could help me out with a similar problem.
    I'm new to both macs and apache, and I have run into a problem while installing mysql and php. I have been using a online video tutorial from lynda.com but I can't seem to access the localhost. I tried the http://localhost/~(username)/ but all it says is that safari can't connect. I checked both web sharing and MySQL server status and they are both turned on. When I ran apachectl configtest in the terminal I get this output:
    httpd: Syntax error on line 459 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 8 of /private/etc/apache2/users/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/local/php5/libphp5.so: no matching architecture in universal wrapper
    any help would be great,
    thanks
    gb207

  • Problem with photo sharing El11

    My sharing photos has stopped working. I use windows live mail on a 64 bit  windows 7 program.

    Problems may occur as Microsoft is constantly changing or updating Windows Live Essentials. I’ve found it usually works best with web mail via Adobe after obtaining verification. I know some email services block bulk email completely and I’ve only tested it with Gmail which works fine. Should also work with other web mail e.g. Yahoo and Hotmail. Give it a try. Before you start it will help to check your internet security settings. If they are set to High, reduce the settings to Medium temporarily. Then follow these instructions.
    1. Log in to your mail provider on the web and add the following email to your address/contacts book.
    [email protected]
    2. Open Organizer and on the menu click:
    Edit >> Preferences >> Sharing
    3. Choose Adobe Email Service from the client dropdown menu.
    4. Add your name and email address to the fields provided and click OK
    5. Test the system (first use only)  by selecting a photo in organizer and choosing Share >> Photo Mail then click Next (Mac users should use attachments)
    6. Choose a contact then click  Next
    7. Click Next Step, then click Next - the sender verification dialog will open.
    8. Check you have spelt your email address correctly and hit the Resend E-Mail button.
    9. Go to your inbox (also check spam) and when the Adobe mailer message is received copy (Ctrl+C) the long verification code.
    10. Return to the verification dialog and paste it (Ctrl+V) into the Sender verification field and click OK. Wait for validation confirmation then click OK to continue

  • Wierd problem with web start in windows 7

    I have a wierd problem with my web start app in windows 7, it just hang it self. it work fine in windows XP and Vista.
    The wierd thing is that i can open the app but when i press on a specific button that will make a jlabel present a .png image everthing crash. why do i get this problem now? when i start the app, i load some pic i jlabels and that seems to work fine, but when i do it under the exection it seems to crash, why?
    Should i do something different to make the app work in windows 7?
    I hope someone can help me out!!

    You should:
    a) open the console (java control panel, advanced options) and see the stackTrace (if any). If it's not there check for swallowing.
    b) post a code snippet, to at least show how and where you retrieve the png. Possibly a SSCCE.
    c) check if this happens also running as a standalone app (may be more Swing-related than JWS-related).
    Bye.

  • Partition problem with Win 7 and Lion

    I have a 2011 Mac Mini with two hard drives - the original 500GB drive and a SSD.   The SSD is laid out as follows:
    $ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *60.0 GB    disk0
       1:                        EFI                         209.7 MB   disk0s1
       2:                  Apple_HFS OSX Lion SSD            19.0 GB    disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
       4:       Microsoft Basic Data BOOTCAMP W7             40.2 GB    disk0s4
    It has my two bootable operating systems and works fine (for now) so I am happy to leave it alone.
    The problem is with the second drive.  It has:
    1) EFI partition 200M
    2) Original Lion install 40G HFS+
    3) Original recovery partition 650M
    4) Space set aside for OSX HFS+ 160G (has some big files in it)
    5) Space set aside for Windows NTFS 300G (no files in it yet)
    I think there is a problem with MBR vs GPT and Disk Utility vs Disk Management.
    Disk Utility or fdisk calls it
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *500.1 GB   disk1
       1:                        EFI                         209.7 MB   disk1s1
       2:       Microsoft Basic Data                         37.6 GB    disk1s2 (these entries are wrong)
       3:       Microsoft Basic Data                         650.0 MB   disk1s3
       4:       Microsoft Basic Data                         161.5 GB   disk1s4
       5:       Microsoft Basic Data NTFS stuff              300.1 GB   disk1s5 (this entry seems right)
    and I cannot access the partitions in Lion.
    Gdisk calls it:
    GPT fdisk (gdisk) version 0.8.1
    Partition table scan:
      MBR: hybrid
      BSD: not present
      APM: not present
      GPT: present
    Found valid GPT with hybrid MBR; using GPT.
    Disk /dev/disk1: 976773168 sectors, 465.8 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 0000303E-4D40-0000-1B4C-0000F9090000
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 976773134
    Partitions will be aligned on 8-sector boundaries
    Total free space is 2061 sectors (1.0 MiB)
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40          409639   200.0 MiB   EF00  EFI system partition
       2          409640        73900919   35.0 GiB    0700  Customer (name is wrong)
       3        73900920        75170455   619.9 MiB   0700  Recovery HD
       4        75170456       390588423   150.4 GiB   0700  stuff
       5       390590464       976773119   279.5 GiB   0700  Basic data partition (name is wrong)
    Windows Disk Management is happy to see inside the HFS partitions, so I know all my files are at least still there.  I had a 5th NTFS partition formatted, but upon going into Lion and back, it disappeared.
    I think ideally what I would like to have is a spare Lion + recovery partition on this drive in case my SSD barfs, then a big NTFS partition to hold my Windows files.  I guess merging the 40G OSX and 160G HFS+ partitions will be ok.  Could the problem be related to MBR having a limit of 4 partitions?  There isn't any data on this drive that isn't backed up, but I would rather do this partition fixing shuffle without having to restore big files.  Any suggestions on how to proceed?

    I managed to fix the problem.  First I used Disk Utility to delete the NTFS partition.  It hung during the process, so I quit it, and the partition was deleted anyway.  Next, I used gdisk to change the partition type from 0700 to AF00 and AB00 for the Lion and Recovery partitions respectively.  It worked and I can access the partitions under OSX again.  Thanks, everybody, you've been super helpful.

  • Problems with a shared calendar using Outlook 2007 and Exchange 2010

    Hello all,
    We are having a problem with sharing a calendar using Outlook 2007 and Exchange 2010.
    I will start with some background. I have just started my position with this company. I have been working with networks for awhile at the small business level. I have not had much production experience with exchange. There is only myself and my supervisor
    who has inherited a midsized network which was built by five previous techs that are no longer with the company. Of course, the previous techs did not leave much documentation, so the original hows and whys for our system setup has been lost.
    One of the managers has a calendar she shares with some of our users. I believe this calendar has been in use since sometime in 2006. A mailbox was created to hold this calendar to keep it separate from the managers calendar. I am not sure what version
    of exchange they were using at that time, but I assume there was one or two migrations of it getting to its current state on our exchange 2010 server. At some point it was observed that the other workers she was sharing with were not able to access it correctly.
    I am not fully sure what the original problem was (possibly some people not being able to see or connect to the calendar), but it was decided to give everyone who needed access to this calendar full access permissions through exchange. Correct me if I
    am wrong, but I believe that gave everyone connected the ability to do anything with the calendar. Of course the manager was not happy about that. This is where I started working on the problem.
    I removed everyone, except the manager who wants to control the calendar, from having "Full Access Permissions". This did have the effect of making some people just able to see the calendar and not make changes. Though there were others that were
    able to connect to the calendar who I thought would not be able to. The manager that originally created the calendar did try to manage access to it through the Outlook interface, though it currently does not seem to be fully in effect.
    So, to get to the point of what we are trying to do, is there a way to get the original manager back into control of the calendar though Outlook? It would be preferred to be able to keep the history of what they tracked of this calendar, so starting a new
    one would be something we would rather avoid. After that, getting all of the users that need to connect to the calendar reconnected with the correct access permissions and making sure they are all synchronized.
    I realize this is a big mess, and your help would be greatly appreciated.

    Hi Nigel,
    How is the impact, just one user or all users, Outlook or OWA?
    If just one user, it seems like an issue on the Outlook Client side.
    Please trying to re-create new profile to fresh the caches.
    Please runing Outlook under safe mode to avoid some AVs, add-ins and firewall.
    Found a similar thread for your reference:
    Calendar Sharing not available error message
    http://social.technet.microsoft.com/Forums/exchange/en-US/d9b33281-d7bb-4608-8025-16fb26643d0d/calendar-sharing-not-available-error-message?forum=exchangesvrclientslegacy
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Problem with web service that returns an object with a String that have som

    Hi everybody:
    I have a problem with a web service I am doing, I have made a web service that returns a collection of objects, the objects have a set of properties, there is one property that is a String,this property consists in a text fragment that could have some characters that are considered special in XML like &, <, >, " and that's why when I execute the service from a client an exception is thrown:
    {code}
    Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
    at [row,col {unknown-source}]: [9,646]
    org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
    at [row,col {unknown-source}]: [9,646]
    at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
    at org.codehaus.xfire.client.Client.onReceive(Client.java:410)
    at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
    at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
    at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
    at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
    at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
    at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
    at org.codehaus.xfire.client.Client.invoke(Client.java:336)
    at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
    at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
    at $Proxy0.search(Unknown Source)
    at cu.co.cenatav.webservices.client.Client.main(Client.java:26)
    {code}
    I know that this is happening because special characters are sent by the soap message but I don't know how to solve this problem.
    How could I avoid this exception ?
    I hope you can help me.
    Regards.
    Ariel

    Hi,
    BPEL and BPEL PM do not have a good support for SOAPENC-Array: it would be very difficult to create such an array in BPEL or to receive it and manipulate it.
    The (unfortunately very intrusive) work around is to change the WSDL of the service to use a XML type defined using XML schema. This is all the more painful that JDev 9.0.4 does not have strong support for complex types.
    In general though, I would highly recommend this best practice:
    1) Start by define the WSDL contract first
    2) Then generate the server side skeleton to implement it
    3) Use BPEL as the client to this contract.
    By starting with the contract first, you make sure that 1) your interfaces are clean and coarse grained.
    2) things like java objects, sessions, etc to not leak through the interface (which would be the worst thing that could happen because it would closely link the client and the server.
    Sorry for not being more helpful. This will get radically cleaner in Oracle AS 10.1.3.
    Edwin

  • Problem with File Sharing-Permissions throughout Folders

    I'm having an odd problem when setting up a Mac Pro with File Sharing. I have a second Hard Drive in it which is a Server Drive to be shared as a networked Hard Drive for both my MBP and my Fiancee's MBP. Here is the problem I have.
    I set up File Sharing and set up both her ID and my ID. Since this is done she is able to get to drive from my MBP and she is able to get to the drive from her MBP. I am able to read or write to those folders. She is able to view them but is unable to write to them.
    I went to the Server Drive icon on the Mac Pro's Desktop. When I right click and do "Get Info" and select Sharing I can tell her ID is not listed on any of the Folders. She is listed as Read and Write for the entire Hard Drive (which is an internal drive). I am also listed as Read and WRite and then it lists Everyone and says No Access. The same is listed in System Preferences in File Sharing. I have heard this Everyone 'No Access' can cause problems but I prefer not to give access to everyone. The only other option is Read Only and Read and Write. Also, when I have Everyone selected the - sign is greyed out so I'm unable to remove Everyone.
    To continue, what is strange is I thought with it saying on the Server Drive itself for my Fiancee, read & write, that it would say this on every Folder inside. Yet when I select any Folder inside on the Server Drive and select Get Info it says for me "Read & Write" and for Staff "Read Only" and for Everyone "Read only" I'm not even sure where Staff comes fro and of course Everyone is Read Only and my Fiancee not even listed. It just seems that these file sharing permissions are not replicated througout all the Folders when I select it for the Hard Drive itself. What could be causing this and how can I get the same to go throughout the Folders? I know manually I could change them all but this would take a long time and likely still be a problem when any additional Folders are added.

    1. I have turned logged into it from my MBP while at Home and if I'm logged in as Guest I only see the Server Drive which is good. My concern is that if I log in with my login I then sell all Folders including the Main 'Macintosh HD' At least as a guest I can only see the Server Drive but is it any way I can stop it from showing all the other folders on the computer since I have no reason to do that?
    When you login to a mac as an administrator it is normal to see all the contents of the volumes connected to that mac.
    2. Also, I would like to disable all access for Guest. Yet I have it list Everyone or Guest in the file sharing and I have no way of deleting this. I don't want a Guest to be able to connect to this computer or share any files at all on it. Is there any way to disable this?
    Goto system preferernces-->accounts
    click on the lock to and enter your password to unlock the preference pane.
    Then select the guest account. Then uncheck the 2 check boxes. The account should now have 'disabled' underneath it.
    3. Security: How secure is this? I am using it on a Home Wi-Fi network with an Airport Base Station 1GB. I have the Leopard filewall set to "Set Access for Specific Services" since it won't work with "Allow only essential services" I hope my home network is more security but with Back to my Mac how hard would it be for someone to be able to find this computer on the network? I don't do any filesharing on my MBP but do have it set up for File Sharing but only with my login ID.
    If you have your base station set to distribute ip addresses then it is acting as a NAT router and will firewall you.
    I have not setup back to my mac yet so can't comment on its security. Although I would suggest a strong password.
    have a read of Mac OS X 10.5: About Back to My Mac security
    My method of remote access is to use SSH and run screen sharing over an SSH tunnel.

  • Streaming Video problems with Latest update of Lion.

    Having major issues with streaming youtube videos since the latest Lion update.  The videos play halfway through and then just stop, every video that I try.  Other news websites that used to play flawlessly are also hanging up. Is this a youtube issue or are others having problems with Lion in regards to videos.  iMac Intel

    None here.

Maybe you are looking for