Problem in starting RMI server, please help!

Hi , all:
I am learning RMI from SUN's tutorial. I set all of program packages as same as the tutorial, compiled all of programs . and built all of the jar files, the server classes and the client classes.When I run the server, ComputeEngine, it did not work ,and the following messages were showed at command lines:
C:\RMI\doc>java -Djava.rmi.server.codebase=file:/c:\rmi\ann\public_html\classes/
-Djava.rmi.server.hostname=localhost -Djava.security.policy=java.policy eng
ine.ComputeEngine
ComputeEngine exception: access denied (java.net.SocketPermission 127.0.0.1:1099
connect,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission 1
27.0.0.1:1099 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
at java.security.AccessController.checkPermission(AccessController.java:
399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1044)
at java.net.Socket.<init>(Socket.java:262)
at java.net.Socket.<init>(Socket.java:100)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
SocketFactory.java:25)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
SocketFactory.java:120)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at engine.ComputeEngine.main(ComputeEngine.java:25)
Please give helps .
Thanks!

Thank.
Thank.
I have put them at the same directory, but is deos not work.
Something I am not sure.
On the SUN's tutorial , the follows is given:
Win32:
java -Djava.rmi.server.codebase=file:/c:\home\ann\public_html\classes/
-Djava.rmi.server.hostname=zaphod.east.sun.com
-Djava.security.policy=java.policy
engine.ComputeEngine
I changed hostname = localhost
I also changed the code of the server class given by tutorial :
String name = "//host/Compute" ;
to:
String name = "//localhost/Compute";
Should I make such changes?
Here is the server class given by the tutorial:
package engine;
import java.rmi.*;
import java.rmi.server.*;
import compute.*;
public class ComputeEngine extends UnicastRemoteObject
implements Compute
public ComputeEngine() throws RemoteException {
super();
public Object executeTask(Task t) {
return t.execute();
public static void main(String[] args) {
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
String name = "//host/Compute";
try {
Compute engine = new ComputeEngine();
Naming.rebind(name, engine);
System.out.println("ComputeEngine bound");
} catch (Exception e) {
System.err.println("ComputeEngine exception: " +
e.getMessage());
e.printStackTrace();

Similar Messages

  • Problem in starting RMI server, help please

    Hi , all:
    I am learning RMI from SUN's tutorial. I set all of program packages as same as the tutorial, compiled all of programs . and built all of the jar files, the server classes and the client classes.When I run the server, ComputeEngine, it did not work ,and the following messages are showed at command lines:
    C:\RMI\doc>java -Djava.rmi.server.codebase=file:/c:\rmi\ann\public_html\classes/
    -Djava.rmi.server.hostname=localhost -Djava.security.policy=java.policy eng
    ine.ComputeEngine
    ComputeEngine exception: access denied (java.net.SocketPermission 127.0.0.1:1099
    connect,resolve)
    java.security.AccessControlException: access denied (java.net.SocketPermission 1
    27.0.0.1:1099 connect,resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:
    399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkConnect(SecurityManager.java:1044)
    at java.net.Socket.<init>(Socket.java:262)
    at java.net.Socket.<init>(Socket.java:100)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:25)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:120)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
    at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
    at java.rmi.Naming.rebind(Naming.java:160)
    at engine.ComputeEngine.main(ComputeEngine.java:25)
    Please give helps .
    Thanks!

    You are setting the security policy to the file named
    java.policy, make sure that it is in the same
    directory where you are invoking the java compiler.Thank.
    I have put them at the same directory, but is deos not work.
    Something I am not sure.
    On the SUN's tutorial , the follows is given:
    Win32:
    java -Djava.rmi.server.codebase=file:/c:\home\ann\public_html\classes/
    -Djava.rmi.server.hostname=zaphod.east.sun.com
    -Djava.security.policy=java.policy
    engine.ComputeEngine
    I changed hostname = localhost
    I also changed the code of the server class given by tutorial :
    String name = "//host/Compute" ;
    to:
    String name = "//localhost/Compute";
    Should I make such changes?
    Here is the server class given by the tutorial:
    package engine;
    import java.rmi.*;
    import java.rmi.server.*;
    import compute.*;
    public class ComputeEngine extends UnicastRemoteObject
    implements Compute
    public ComputeEngine() throws RemoteException {
    super();
    public Object executeTask(Task t) {
    return t.execute();
    public static void main(String[] args) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    String name = "//host/Compute";
    try {
    Compute engine = new ComputeEngine();
    Naming.rebind(name, engine);
    System.out.println("ComputeEngine bound");
    } catch (Exception e) {
    System.err.println("ComputeEngine exception: " +
                   e.getMessage());
    e.printStackTrace();

  • Error starting application server -Please help (Urgent)

    Hi
    Please suggest how to get over the below error while running opmnctl startall command
    [root@navisdb bin]# ./opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=navisdb.igglobal.com:6200
    0 of 1 processes started.
    ias-instance id=express.navisdb.igglobal.com
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/home/default_island
    Error
    --> Process (pid=27083)
    time out while waiting for a managed process to start
    Log:
    /oracle/u01/app/OraHome_1/opmn/logs/OC4J~home~default_island~1
    On Checking server.log at location /oracle/u01/app/OraHome_1/opmn/logs/OC4J~home~default_island~1 getting following error.
    isdb.igglobal.com#12601
    10/05/11 11:33:17 10.1.2.0.2 Started
    10/05/11 11:33:18 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    10/05/11 11:33:18 Recovery completed, 0 connections committed and 0 rolled back...
    10/05/11 11:33:18 10.1.2.0.2 Started
    10/05/11 11:33:24 Published an event: C_192.168.4.161.121f1d.12871b0a9da.-8000#express.navisdb.igglobal.com#1724121101#D#home#default_island&navisdb.igglobal.com&HTTP:navisdb.igglobal.com#12501&RMI:navisdb.igglobal.com#12401&JMS:navisdb.igglobal.com#12601
    Enviornmnet: Oracle application server 10g on Red hat linux

    On checking the status i am getting following.How to make OC4J and dcm-daemon process Alive
    $ ./opmnctl status
    Processes in Instance: express.navisdb.igglobal.com
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    DSA | DSA | N/A | Down
    LogLoader | logloaderd | N/A | Down
    HTTP_Server | HTTP_Server | 8085 | Alive
    dcm-daemon | dcm-daemon | N/A | Down
    WebCache | WebCache | 8092 | Alive
    WebCache | WebCacheAdmin | 8086 | Alive
    OC4J | home | N/A | Down

  • Error when starting j2ee server, please help

    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system. When I started JMS provider by "j2ee -verbose", I got an exception saying "TCP/IP ports(1050) in use by another process". Then I tried other port numbers like 1051 and 1061, the same error kept coming. What is the best port number I should use or whatelse I should do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee -verbose
    J2EE server listen port: 1081
    org.omg.CORBA.INTERNAL: minor code: 1398079697 completed: No
    at com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:256)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:205)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(GIOPImpl.java:140)
    at com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(POAORB.java:488)
    at com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(POAImpl.java:154)
    at com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.java:112)
    at com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB.java:110)
    at com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.java:128)
    at com.sun.corba.ee.internal.core.Future.evaluate(Future.java:21)
    at com.sun.corba.ee.internal.corba.ORB.resolveInitialReference(ORB.java:2421)
    at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2356)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:193)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:350)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    J2EE server reported the following error: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    Error executing J2EE server ...
    ****************************************************************

    Hello.,
    Did you get a resolution to this error ? I get the same error, odd thing is that i had it working for several days and now it won;t start ?
    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system.
    When I started JMS provider by "j2ee -verbose", I got
    an exception saying "TCP/IP ports(1050) in use by
    another process". Then I tried other port numbers like
    1051 and 1061, the same error kept coming. What is
    the best port number I should use or whatelse I should
    do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee
    -verbose
    J2EE server listen port: 1081
    org.omg.CORBA.INTERNAL: minor code: 1398079697
    completed: No
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(
    IOPImpl.java:256)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIO
    Impl.java:205)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(G
    OPImpl.java:140)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(
    OAORB.java:488)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(PO
    Impl.java:154)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.ja
    a:112)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB
    java:110)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.
    ava:128)
    at
    at
    at
    t
    com.sun.corba.ee.internal.core.Future.evaluate(Future.j
    va:21)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolveInitialRefer
    nce(ORB.java:2421)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolve_initial_ref
    rences(ORB.java:2356)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :193)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :350)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    J2EE server reported the following error: Unable to
    create ORB. Possible causes include TCP/IP ports in
    use by another process
    Error executing J2EE server ...

  • Urgent Help Required For Starting RMI server from servlet.

    I am currently working on rmi project.
    I want to send request to remote machine(Web host) where my application is from desktop client .For that we are using RMI.
    I am writing servlet and inside it i am binding object to registry for rmi server.
    which will be deployed on remote server.
    code ....
    Registry reg;
    reg=LocateRegistry.createRegistry(1099);
    Server server=new Server("server");//class whose remote object to be accessed
    //extends unicast remote object.Implement ServerInt interface which extends Remote.
    reg.bind("server",server);
    When i am trying to access this object i am getting following exception.
    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
    on: error unmarshalling return; nested exception is:
            java.lang.ClassNotFoundException: ServerModule.ServerInt]
    at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source)
    at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at RequstReplication.main(RequstReplication.java:27)
    Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested excep
    tion is:
    java.lang.ClassNotFoundException: ServerModule.ServerInt
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    ... 4 more
    Caused by: java.lang.ClassNotFoundException: ServerModule.ServerInt
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
    at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
    at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
    at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
    at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
    at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
    at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    ... 5 more
    I can access naming enumeration of registry and object bound to it.
    by following program.I shows corect objects.
    Context namingContext=new InitialContext();
    NamingEnumeration<NameClassPair> e=namingContext.list("rmi:");
    while(e.hasMore())
    System.out.println(e.next().getName());
    While when i start RMI server from simple java program i can access these objects from registry.
    I am not getting what is problem problem.Is there any other way to send request?
    Plese give quick response.

    I am currently working on rmi project.
    I want to send request to remote machine(Web host) where my application is from desktop client .For that we are using RMI.
    I am writing servlet and inside it i am binding object to registry for rmi server.
    which will be deployed on remote server.
    code ....
    Registry reg;
    reg=LocateRegistry.createRegistry(1099);
    Server server=new Server("server");//class whose remote object to be accessed
    //extends unicast remote object.Implement ServerInt interface which extends Remote.
    reg.bind("server",server);
    When i am trying to access this object i am getting following exception.
    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
    on: error unmarshalling return; nested exception is:
            java.lang.ClassNotFoundException: ServerModule.ServerInt]
    at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source)
    at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at RequstReplication.main(RequstReplication.java:27)
    Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested excep
    tion is:
    java.lang.ClassNotFoundException: ServerModule.ServerInt
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    ... 4 more
    Caused by: java.lang.ClassNotFoundException: ServerModule.ServerInt
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
    at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
    at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
    at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
    at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
    at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
    at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    ... 5 more
    I can access naming enumeration of registry and object bound to it.
    by following program.I shows corect objects.
    Context namingContext=new InitialContext();
    NamingEnumeration<NameClassPair> e=namingContext.list("rmi:");
    while(e.hasMore())
    System.out.println(e.next().getName());
    While when i start RMI server from simple java program i can access these objects from registry.
    I am not getting what is problem problem.Is there any other way to send request?
    Plese give quick response.

  • I have a big problem :( why is it i cant update my ipod touch 2g into ios 4! im using the latest version of itunes and everytime i click "update" it stucks on the "contacting server" please help :( i want to update it now

    i have a big problem why is it i cant update my ipod touch 2g into ios 4! im using the latest version of itunes and everytime i click "update" it stucks on the "contacting server" please help i want to update it now

    Maybe here:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server

  • Wlserver.exe error occur while start the web logic server-please help

    hi
    Iam getting wlserver.exe error when I start the web logic server-please help. and I cant able to start the web logic server.
    Thannks in Advance,
    Cheers,
    bala...

    Could you please mail the errors and the WLS Version and service pack as well.
    - Ramkumar

  • I have windows 8 and I got this error "Adobe Photoshop has stopped working" whenever I start a program. please help. how can I fix this problem? many thanks

    i have windows 8 and I got this error "Adobe Photoshop has stopped working" whenever I start a program. please help. how can I fix this problem? many thanks

    Please read these and proceed accordingly:
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325

  • TS3899 In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    Greetings,
    Questions:
    1. What version of the Mac OS are you running (Apple > About this Mac)?
    2. What version of the iOS are you running (Settings > About)?
    3. Do you use MobileMe/ iCloud or another server based sync solution like Google or Yahoo?
    4. Do other changes to synced information like Address Book content sync successfully back and forth?
    Based on your description it sounds like you have a 1 way sync issue.  Events sync fine between the iOS devices and fine from the computer to the iOS devices but not from the iOS devices to the computer.
    Try:
    Backup your computer and iOS devices before doing anything else:
    http://support.apple.com/kb/HT1427
    http://support.apple.com/kb/ht1766
    Ensure all the devices in use are fully up to date: Apple > Software Update / Settings > General > Software Update
    Make separate backups of critical data:
    Backup your computer Addressbook: http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    Backup your computer iCal: http://support.apple.com/kb/HT2966
    Reset syncing on your Mac: http://support.apple.com/kb/TS1627
    Reply back if that does not resolve your issue.
    Hope that helps.

  • When I connect the iphone does not start automatically Itunes Please help me

    when I connect the iphone does not start automatically Itunes
    Please help me
    How to solve this problem that I have

    i've had a few issues like this.
    I've found that it is an issue with items that are already on your phone.
    several troubleshoots. 
    1) uncheck everything from syncing (apps, music, tv shows, movies, podcasts, etc), try to perform a sync, it most likely will work.  Then, sync after checking each item individually (check the sync box for videos, then sync, check the sync box for podcasts, then sync, check the sync box for music, then sync, etc).  One of two things will happen, 1) you will fix the problem, or 2) you will identify exactly what part of the sync setup is the culprit.
    2) if the above doesn't work, I've found that it is likely an issue with files that are on your phone but your phone doesn't exaclty recognize (for example, I had copies of music on my phone that didn't show up in the music app, I went in on itunes and manually deleted those songs from my phone and that fixed the sync).  to do this, check the "manually manage music and videos" box at the bottom of "summary" while your phone is connected to itunes.  Then, go to the left hand pane in itunes and find your iphone device, click the drop-down arrow that shows all the categories for media on your iphone.  Go to the music category in your iphone on itunes and delete all the music that shows up.  Try to perform a sync - it likely will work.  After this, you can uncheck the manually manage music box and re-sync your phone as normal
    let me know if either works

  • On start up i just get a grey screen with the apple logo-this has suddenly started happenin. Please help?

    on start up i just get a grey screen with the apple logo-this has suddenly started happenin. Please help?

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • Hithere   is any one now why my macbook take 20 minutes to start up? please help

    hi there   is any one now why my macbook take 20 minutes to start up? please help

    ... I then downloaded MacKeeper and to clean my MacBook up 
    Whatever was wrong MacKeeper made it worse. Get rid of that junk.
    http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
    Only when you are completely certain that MacKeeper is completely eradicated, fix the problem. Do not install some magical cure-all. There are no such things. They can only waste your time and money as they make your problems worse.
    General purpose Mac troubleshooting guide: Isolating issues in Mac OS X

  • TS1363 My iPod Nano 7th Generation couldn't be detected by iTunes when I plugged in. I tried resolving the issue by uninstalling the iTunes and then install it back again but yet still the same problem exist. Can you please help me to solve this issue?

    My iPod Nano 7th Generation couldn't be detected by iTunes when I plugged in. I tried resolving the issue by uninstalling the iTunes and then install it back again but yet still the same problem exist. Can you please help me to solve this issue? I have already updated to the latest version of iTunes on my Windows 8 and I cannot synchronize my iPod for the time being. Please do help me to solve this problem. Thank You.

    uninstall all iTunes,5 programes,this worked for me after reinstall them

  • Why can not I install iTunes on Win 7 installation appears every time the next sunrise; service, apple mobile device, failed to start verify that you have sufficient privileges to start system services  Please help me

    Why can not I install iTunes on Win 7 installation appears every time the next sunrise;
    service, apple mobile device,
    failed to start verify that you have sufficient privileges
    to start system services
    Please help me

    The most complete instructions for resolving the issues with the new iTunes is in the user tip: https://discussions.apple.com/docs/DOC-6562

  • I'm having a problem saving a pages document as another format, like a Word document or PDF file.  I've never had this problem in the past.  Please help me!  I need to have this fixed a.s.a.p.

    Hello everyone,
    I'm currently having a problem saving a Pages document as another format, such as a Word document or PDF file.  I've never had this problem before with Pages.  Please help me!  I need to have this completed a.s.a.p.
    Thanks,
    Amy

    To save as a PDF, you do that from Print
    To save as Wrod format, you export
    Allan

Maybe you are looking for

  • App Store not working on 1st gen iPod touch HELP NEEDED!!!

    I have a 1st Generation iPod touch and I have been using App Store very often to download apps. I do not have my iPod syched to my computer, so I cannot download apps with it. I just use my iPod's app store. Up until the other day, it has been workin

  • Attachment name while sending mail

    i want to give attachenemt name as order.pdf while sending the mail with attachment ,i am using SO_DOCUMENT_SEND_API1 function module to send the mail with attacnment

  • Recursion in a jsp page

    I can't figure out where to put a method in a jsp page so that I can call it recursively. Tomcat keeps returning "Not expecting variable declaration here and pointing to the "private void methodname(..){" line. I know it probably something basic but

  • Inventory data load

    Hi guru, i am new in extracting BI inventory's data. In the process, it is said : " take down time according to the of data"  before initializing stock (using transaction MCNB ) for 2LIS_03_BX data  source. My question : how to take down time  ? Than

  • Line CSS Code Crashes Dreamweaver CS4

    Steps to reproduce bug: 1. Open dreamweaver, and start a new CSS file 2. Write this code, do not copy paste : @media print{ #tepe, #rightpanel, 3. While writing the code, Dreamweaver crashes. In some cases, even thought i was able to fully write the