Launching JVM from C++ side (Sun/gcc)

Hello,
(excuse me for the language, i'm french...)
I try to write a simple C++ program which launch the JVM on Sun Solaris with gcc 2.95.3, but i have many problems when i compile it. Can any one could give me a good Makefile. Mine is something like :
gcc -I/usr/java/include -I/usr/java/include/solaris -L/usr/java/jre/lib/sparc -c invoke.cpp
gcc -I/usr/java/include -I/usr/java/include/solaris -L/usr/java/jre/lib/sparc -ljava -ljvm -o invoke invoke.o
and gcc tell me :
Undefined               first referenced
symbol                in file
ostream::operator<<(ostream &(*)(ostream &))invoke.o
endl(ostream &) invoke.o
cerr invoke.o
ostream::operator<<(char const *) invoke.o
ld: fatal: Symbol referencing errors. No output written to invoke
collect2: ld returned 1 exit status
thanks !

How stupid I was ! I was looking at my posts and I found this one...
I used 'gcc' to compile C++ sources: yeah! I think it would be better to use g++ or CC! (shame on me)

Similar Messages

  • Launching jvm in solaris from java...

    I have a problem launching jvm from java in solaris...
    java.io.IOException: "/opt/XX/YY/jre/bin/java": not found
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
    at java.lang.ProcessImpl.start(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    But when I give /opt/XX/YY/jre/bin/java from my console it's working fine...
    what could be the problem ?? (I mean the path is correct..)
    Message was edited by:
    chaos_begins_here

    When I try to System.exec() a program that doesn't exist, I get the following:
    java.io.IOException: foo: not found
    Note that foo (the program I tried to exec) is not in quotes. Check the strings you are passing to exec() to make sure there are no extra quotes. It's possible the difference in format is due to different java versions, but the point is to sanity check the strings you're passing.

  • Launching a 64 bit jvm from a 32 bit jvm

    I want to launch a 64 bit jvm from a 32 bit jvm. The current application works like this
    1) The parent jvm A allows users to launch a child jvm B. Child jvm B inherits A's libraries (LD_LIBRARY_PATH) and also A's classpath entries.
    2) User can specify his/her own libraries that are to be passed to B (child jvm). These entries are prepended to the inherited entries (A.LD_LIBRARY_PATH).
    3) User can specify his/her own classpath entries that are to be added to B. These entries are appended to the inherited entries (A.classapth).
    The whole idea behind making the child jvm configurable is that the user can specify a suitable jvm for the child. But optionally the user might specify a different java home (pointing to a 64bit jre/jdk).
    Questions :
    1) Would simply changing the java for the child suffice? That is instead of
    java -classpath=<inherited-entries:specified-entries> abc
    we do
    -user-specified-java -classpath=<inherited-entries:specified-entries> abc
    I have seen that the jvm uses the java.home from the java provided while launching the jvm. Example
    $java -version
    1.5
    $java abc
    // will use default java's home as java home internally
    $/usr/lib/java-64/jdk/bin/java -version
    1.5 64bit
    $/usr/lib/java-64/jdk/binjava abc
    // will use /usr/lib/java-64/jdk as java home internally
    2) How will the classpath entries and libraries interact/interfere with the newly spawned jvm?
    Here if the user specifies new libraries for 64 bit jvm, how will they interact/interfere with the 32bit libs.
    3) What about native(esp jni) libraries?
    Bigger picture :
    If A is running sun java jdk1.5_a (32bit) and user can specify B as
    1) sun jdk 1.x_y (32bit) such that x_y != 5_a
    2) sun jdk 64 bit
    3) any other 32 bit java implementation (ibm, jrocket ...)
    4) any other 64 bit java implementation (ibm, jrocket ...)

    jschell wrote:
    Questions :
    1) Would simply changing the java for the child suffice? That is instead of
    java -classpath=<inherited-entries:specified-entries> abc
    we do
    -user-specified-java -classpath=<inherited-entries:specified-entries> abc
    You cannot do it without creating a new process.
    ProcessBuilder/Runtime.exec() create a new process. The new process can do anything.
    You can set the environment using either.
    Yes. The process B will be spawned either using ProcessBuilder or using Runtime. The question still remains,
    Q: If I have a classpath defined already for a particular java implementation and the LD_LIBRARY path is all set, what will be effect of changing the default java.
    Example :
    If my classpath and LD_LIBRARY_PATH is set to use/work-with /usr/lib/javaA/ then
    "/usr/lib/javaA/jre/bin/java -classpath $classpath abc" will work smoothly
    But what will happen if I do classpath=$classpath:$new-javaB-classpath-entries and LD_LIBRARY_PATH=$LD_LIBRARY_PATH_FOR_B:$LD_LIBRARY_PATH and
    "/usr/lib/javaB/jre/bin/java -classpath $classpath abc"
    >
    2) How will the classpath entries and libraries interact/interfere with the newly spawned jvm?
    Here if the user specifies new libraries for 64 bit jvm, how will they interact/interfere with the 32bit libs.
    3) What about native(esp jni) libraries?
    New process = new environment.
    If there is a problem it is because of how you set it up or how they are used in the first place.I am more interested in the if. My question is can it happen and if yes whats the explanation and how to solve it.
    >
    As an example if an app needs a 64 bit library and there is only a 32 bit library then what happens depends entirely on the app that needs the 64 bit library. That question would be the same if you attempted to run the application from a console window.So here is another way of looking at it. Imagine you want to kick off a 64 bit java app from your console. Assume that you can only prepend to classpath. Also you can append to LD path. Now you have provided all that is needed for the app to run. But under the classpath constraints, what will be the behaviour?

  • How can i look up a EJB residing in different machine from client side?

    hai ,
    How can i look up a EJB residing in different machine from client side?
    this is my code...........i don't know what should i use as Initial Context Factory...................i am using a sun appserver 8............
    package com.parx.lms.lmsdelegate;
    import com.parx.lms.exception.LMSException;
    import javax.naming.Context;
    import javax .ejb.CreateException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import java.rmi.RemoteException;
    import com.parx.lms.controller.*;
    import com.parx.lms.vo.UserVo;
    import com.parx.lms.exception.BusinessException;
    import java.util.Hashtable;
    import java.lang.*;
    public class LmsDelegate{
    private final static String JNDI_NAME="LmsBean";
    private static String url="http://localhost:4848";
    public static Lms lms = null;
    public void getController() throws CreateException,
    NamingException,RemoteException{
    if(lms == null){
    Hashtable h=new Hashtable();
    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************");
    h.put(Context.PROVIDER_URL,url);
    System.out.println("Before Loading Context in Delegate");
    Context ctx=new InitialContext(h);
    System.out.println("Loaded Context in Delegate");
    Object obj=ctx.lookup(JNDI_NAME);
    System.out.println("Loaded Object in Delegate");
    System.out.println("Before Loading Home in Delegate");
    LmsHome home = (LmsHome )PortableRemoteObject.narrow(obj,com.parx.lms.controller.LmsHome.class);
    System.out.println("Loaded Home in Delegate");
    lms = home.create();
    System.out.println("Loaded remote in Delegate");
    public void addUserDelegate(UserVo vo) throws BusinessException{
    try{
    getController();
    System.out.println("Before calling the addUser of Session");
    lms.addUser(vo);
    }catch(CreateException e){
    System.out.println("Create Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(NamingException e){
    System.out.println("Naming Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    catch(RemoteException e){
    System.out.println("Remote Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(LMSException e){
    System.out.println("duplicate user name--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    pls help me..........

    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************")
    Each app server provides their own jndi factory class. For ex for weblogic it is weblogic.jndi.WLInitialContextFactory. SInce you are using sun app server, check if there are any examples to find out or the docs.
    private static String url="http://localhost:4848
    Since the client is in a different machine the localhost is not going to work here. provide the url or the machine name of the system in which ur sunapp server is running. In addition u will need to have the stubs of the remote interfaces in ur client machine.

  • Lauching a JVM from C and providing interface to C++

    Hi
    I'm work on a project that launch a JVM using JNI.
    I need to provide a interface to a C++ class through JNI in order to allow the launched JVM to access it. The code of this class is in the program that launch the JVM
    The problem is that java does not find the given function and fails with:
    java.lang.UnsatisfiedLinkError: altitude
    The function is present in the database (checked with "nm" against the name given by javah).
    I supposed that there is some kind of addressing or kind of "namespace", but don't know how to avoid it.

    From a program in a JVM call a routine which has a JNI that launches a new JVM using
    C? Why would you want to do this?No it's not what I am doing.
    From a C++ program that follows I launch a JVM (that's working, the code have been simplified a bit) and retrieve methods id to store them in attributes (variables names starting with underscore):
          // Create the JVM oine time only
          if (NULL == _env)
            JavaVMInitArgs  vm_args;
            JavaVMOption*   options = NULL;
            char*           char_options = NULL;
            list<string>    user_options;
            _database.getPropertyList("simu.locals.java", "option", &user_options);
            if (0 != user_options.size())
              unsigned long index = 0;
              options = new JavaVMOption[user_options.size()];         
              for (list<string>::iterator   it = user_options.begin();
                   user_options.end() != it; it++)
                char_options = strdup(it->c_str());
                options[index++].optionString = char_options;
              vm_args.nOptions = user_options.size();
            vm_args.version = JNI_VERSION_1_4;
            vm_args.options = options;
            vm_args.ignoreUnrecognized = JNI_TRUE;     
            JNI_CreateJavaVM(&_jvm, (void**)&_env, &vm_args);    
          // Retrieve the class and method that will allow to create the
          // planner
          _cls = _env->FindClass(class_name->c_str());
          string*   method =
            _database.getProperty("simu.locals.java.methods.init.name");
          string*   sig =
            _database.getProperty("simu.locals.java.methods.init.signature");
          string*   port =
            _database.getProperty("simu.locals.java.methods.init.argument");
          string            nid = str(format("%d") % id);
          jmethodID         mid =
            _env->GetStaticMethodID(_cls, method->c_str(), sig->c_str());
          jint              arg1 = lexical_cast<unsigned int>(*port);
          jstring           arg2 = _env->NewStringUTF(nid.c_str());
          _planner = _env->CallStaticObjectMethod(_cls, mid, arg1, arg2);
          // Save the method ID we'll need later     
          method =
            _database.getProperty("simu.locals.java.methods.incoming.name");
          sig =
            _database.getProperty("simu.locals.java.methods.incoming.signature");
          _incoming = _env->GetStaticMethodID(_cls, method->c_str(), sig->c_str());
          method =
            _database.getProperty("simu.locals.java.methods.outgoing.name");
          sig =
            _database.getProperty("simu.locals.java.methods.outgoing.signature");
          _outgoing = _env->GetStaticMethodID(_cls, method->c_str(), sig->c_str());Then I call the retrieved static method of the class when needed.
    This work perfectly, as far as i have tested.
    But now, the java part will need to access some algorithm and datas already existing in the C part. So i made a very simple interface:
    ** Interface to the environement C++ class
    package provided;
    public class Environment
        ** Methods implemented in Environment.cc
        public static native double altitude(double lat, double lon);
    }I generate the interface with javah and implement it quicly (doing nothing):
    #include <iostream>
    using namespace std;
    ** This file implement the interface betwen the C++ class Environment
    ** (from Environment.h) and the Java class provided.Environment whose
    ** native method are described in provided_Environment.h.
    ** It uses jni.h
    #include "provided_Environment.h"
    #include "Environment.h"
    #include "jni.h"
    * Class:     provided_Environment
    * Method:    altitude
    * Signature: (DD)V
    extern "C" JNIEXPORT
    jdouble JNICALL Java_provided_Environment_altitude(JNIEnv*      env,
                                                       jclass     c,
                                                       jdouble      lat,
                                                       jdouble      lon)
      cout << ARTEMIS::Environment::altitude(lat, lon) << endl; 
      return (ARTEMIS::Environment::altitude(lat, lon));
    }nm returns:
    nm mms | grep altitude
    080aa94c t _GLOBAL__I_Java_provided_Environment_altitude
    080aa6e4 T Java_provided_Environment_altitude
    080a8778 T _ZN7ARTEMIS11Environment8altitudeEddSo there is no .so . I've tried to have one but there is the same kind of problem as when I load the .so, I have a error because the .so can find the required symbols that are in the program (here the ARTEMIS::Environment::altitude function)
    Is it clearer ??

  • Calling JVM from C native code

    I'd like to call JVM from C native call.
    I work in W2000 enviroment using GCC Cygnus compiler.
    I followed JNI instructions.
    I read in this forum there was a change in JDK, and instead of attaching javai.dll, jvm.dll must be attached.
    Then I made a test using invoke.c example from JDK.
    I built following .bat file:
    gcc -c invoke.c -Id:\jdk1.3.1\include -Id:\jdk1.3.1\include\win32
    DLLTOOL dllname jvm.dll def libjvm.def --output-lib d:\jdk1.3.1\jre\bin\classic\libjvm.a
    c++ -o invoke.exe invoke.o -Ld:\jdk1.3.1\jre\bin\classic -ljvm
    with libjvm.def :
    EXPORTS
    imp_JNI_GetDefaultJavaVMInitArgs@4
    imp_JNI_CreateJavaVM@12
    All seems to work fine, and invoke.exe is generated. But when trying to run it, I get a windows message telling me :
    invoke.exe doesn't find the entry point to imp_JNI_CreateJavaVM@12 in jvm.dll.
    What am I going wrong ?
    Any calling convention issue ?
    Thanks in advance. Ignasi Villagrasa.

    Have a look at http://www.xraylith.wisc.edu/~khan/software/gnu-win32/. It has examples of how to use gcc, java JNI on cygwin and should work on all versions of Windows. It has the command line options for using dlltool.

  • Launching applications from java code

    I have found a solution to launch applications from java.I thought this will be useful for programmers who want to open a
    1. Browser
    2. Player
    3. Files etc.
    There are 2 solutions :
    I)To use a known application :
    eg: to open windows media player
    String[] cmd = new String[3];
    cmd[0] = "cmd.exe";
    cmd[1] = "/C";
    cmd[2] = "START MPLAYER2.exe "+mediaURL+" /PLAY /CLOSE /FULLSCREEN";
    //eg: mediaURL = "\"D:/project/songs/track1.mp3\""
    // /PLAY /CLOSE /FULLSCREEN this option can be used only for windows media player
    // for any other application use cmd[2] as START apl.exe //apl can be any windows application
    Process p = Runtime.getRuntime().exec(cmd);
    II) To use a default application:
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
    // url can be any url
    ref: [http://forums.sun.com/thread.jspa?threadID=5203313|http://forums.sun.com/thread.jspa?threadID=5203313]
    [http://www.ericphelps.com/batch/rundll/|http://www.ericphelps.com/batch/rundll/]
    Edited by: veda_sishta on ? ?????, ???? ??:?? ???????
    Edited by: veda_sishta on ? ?????, ???? ??:?? ???????

    To post code, use the code tags -- [code]Your Code[/code] will display asYour CodeOr use the code button above the editing area and paste your code between the {code}{code} tags it generates.
    And make up your mind what file type you're having a problem with. Maybe .asx doesn't have a file association on your computer.
    This works just fine for .m3u:import java.awt.Desktop;
    import java.io.File;
    import java.io.IOException;
    public class Playlist {
       public static void main(String[] args) {
          try {
             Desktop.getDesktop().
                   open(new File("E:/Music/Playlists/test.m3u"));
          } catch (IOException ex) {
             ex.printStackTrace();
    }db
    edit Did you try searching the net for the error you got? ("Invalid menu handle")
    Edited by: Darryl.Burke

  • Option -splash and -Xmx result in "Unable to launch JVM" error

    Hello everybody,
    we have a severe problem with launching our Java application using the "-splash:" and "-Xmx" command line options for which we cannot find any solution in the web. Our application needs a lot of heap space, so we usually set "-Xmx=920M". Usually, we are working with Java 6 and use the "-splash:" option to show a splash screen while the application is loading. In some cases, we get an "Unable to launch JVM" error now. This happens only on particular customer systems (servers as well as desktop machines) and the only solution is to decrease the maximum heap size for a couple hundred megabytes. The latter is usually unacceptable since our application requires a lot of heap memory and the machines do have more than sufficient memory. The other option is to completely remove the "-splash:" option, but then there is of course no splash screen anymore.
    Unfortunately, we are unable to track the error back and to figure what exactly is going wrong. Does anyone of you have any hints how to debug or analyze the error? Our assumption is that something is wrong due to memory partitioning which leads to unsufficiently large memory partitions to allocate the required heap memory by the JVM.
    Any ideas?
    Thank you very much.
    Regards
    Timo Rohrberg
    Software Developer, initplan GmbH

    910396 wrote:
    This happens only on particular customer systems (servers as well as desktop machines) Red flag: it is not consistent, in other words it is system dependent. It is already hard for you to diagnose such an occurrence, I wouldn't expect anything more by asking in a forum. At least you have SOME way of doing some more diagnosing.
    I'm sorry, but you'll have to dive in deep. Figure out what update versions of Java the failing machines are running. Which OS. Which processor architecture. Etc. See if there is a common factor involved. If not, hunt through release notes of newer JDKs to see if any of them mention something related to the splash screen and if you find something, let the client attempt an update of the JDK on such a failing machine to see if the problem is remedied. If it is windows, try running with the server VM (java -server) in stead of the default client VM, if you are not already doing that.
    And yeah if all that fails and nobody else has something to add, I'm sorry to say that Oracle support will be your next logical step.

  • How can i load file into database from client-side to server-side

    i want to upload file from client-side to server-side, i use the following code to load blob into database.
    if the file is in the server-side, it can work, but if it in the client-side, it said that the system cannot find the file. i think it only will search the file is in the server-side or not, it will not search the client-side.
    how can i solve it without upload the file to the server first, then load it into database??
    try
    ResultSet rset = null;
    PreparedStatement pstmt =
    conn.prepareStatement ("insert into docs values (? , EMPTY_BLOB())");
    pstmt.setInt (1, docId);
    pstmt.execute ();
    // Open the destination blob:
    pstmt.setInt (1, docId);
    rset = pstmt.executeQuery (
    "SELECT content FROM docs WHERE id = ? FOR UPDATE");
    BLOB dest_lob = null;
    if (rset.next()) {
    dest_lob = ((OracleResultSet)rset).getBLOB (1);
    // Declare a file handler for the input file
    File binaryFile = new File (fileName);
    FileInputStream istream = new FileInputStream (binaryFile);
    // Create an OutputStram object to write the BLOB as a stream
    OutputStream ostream = dest_lob.getBinaryOutputStream();
    // Create a tempory buffer
    byte[] buffer = new byte[1024];
    int length = 0;
    // Use the read() method to read the file to the byte
    // array buffer, then use the write() method to write it to
    // the BLOB.
    while ((length = istream.read(buffer)) != -1)
    ostream.write(buffer, 0, length);
    pstmt.close();
    // Close all streams and file handles:
    istream.close();
    ostream.flush();
    ostream.close();
    //dest_lob.close();
    // Commit the transaction:
    conn.commit();
    conn.close();
    } catch (SQLException e) {

    Hi,
    Without some more details of the configuration, its difficult to know
    what's happening here. For example, what do you mean by client side
    and server side, and where are you running the upload Java application?
    If you always run the application on the database server system, but can't
    open the file on a different machine, then it sounds like a file protection
    problem that isn't really connected with the database at all. That is to
    say, if the new FileInputStream (binaryFile) statement fails, then its not
    really a database problem, but a file protection issue. On the other hand,
    I can't explain what's happening if you run the program on the same machine
    as the document file (client machine), but you can't write the data to the
    server, assuming the JDBC connection string is set correctly to connect to
    the appropriate database server.
    If you can provide some more information, we'll try to help.
    Simon
    null

  • Error on running JVM from a C program

    Hello there!!
    I'm using Open Watcom as a C compiler on Windows XP. I'm trying to run a JVM from a C program.
    I have specified the following as a library file :
    C:\Java\jdk1.5.0_04\lib\jvm.lib
    The code compiles very well, but I'm getting an error when running it.
    Windows tells me the following :
    "The entry point of the function ??_7VM_GetCurrentLocation@@6B@ can't be found in jvm.dll dynamic linking library"
    The code I've been trying to run is the following one :
    #include <jni.h>
    #include <stdio.h>
    #include <stdlib.h>
    void main()
    JavaVMOption options[3];
    JavaVMInitArgs vm_args;
    JavaVM *jvm;
    JNIEnv *jenv;
    long result;
    jmethodID mid;
    jfieldID fid;
    jobject jobj;
    jclass cls;
    int asize;
    printf("coucou\n");
    getchar();
    options[0].optionString = ".";
    options[1].optionString = "-Djava.compiler=NONE";
    options[2].optionString = "-verbose:jni";
    vm_args.version = JNI_VERSION_1_2;
    vm_args.options = options;
    vm_args.nOptions = 3;
    vm_args.ignoreUnrecognized = JNI_FALSE;
    JNI_GetDefaultJavaVMInitArgs(&vm_args);
    result = JNI_CreateJavaVM(&jvm,(void **)&jenv, &vm_args);
    /* if(result == JNI_ERR )
    printf("Error invoking the JVM");
    exit (-1);
    cls = (*jenv)->FindClass(jenv,"C:\Formation\Joly\FromCtoJava\WATCOM\samples\ide\win32\FromCtoJava");
    /* if( cls == NULL )
    printf("can't find class FromCtoJava\n");
    exit (-1);
    (*jenv)->ExceptionClear(jenv);
    mid=(*jenv)->GetMethodID(jenv, cls, "<init>", "()V");
    jobj=(*jenv)->NewObject(jenv, cls, mid);
    fid=(*jenv)->GetFieldID(jenv, cls, "arraySize", "I");
    asize=(*jenv)->GetIntField(jenv, jobj, fid);
    printf("size of array is %d",asize);
    (*jvm)->DestroyJavaVM(jvm);*/
    Cheers
    Joly

    I already did PATH.
    Open a console window.
    Explicitly set PATH to point ONLY to the appropriate java directory (where the dll is and executable) using something like the following
    set PATH=C:\xxx\yyy
    Then run your app again in the console window - no where else.

  • How to use KeyChain API from client-side HTML scripting in Safari on iPad?

    I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
    I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
    I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
    Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way?

    I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
    I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
    I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
    Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way?

  • How do I select photos in library from the side bar (source) folder?

    I have placed photos from the library at different times in a side (source) folder. I now want to delete them. However, they are spread all over the library. If I delete them from the side folder they still remain in library. Is there a way to identify the library photos from the side folder, select and delete them in an easy way, rather than spend hours trying to find them individually?
    Thanks, Max

    Hi MaxFS,
    To delete photos from both an album and the Library
    at the same time:
    Select the photo/photos in the album
    press the Command-Option-Delete keys
    this will remove the photo/photos from the library
    and all albums it is in.
    thanks, very simple, it does the trick. BTW, will the same action work in iTunes?

  • Loss of internet connection from windows side of imac duo core

    I have cable modem as internet hookup. When I am in Mac I have no problems, but every time I either change to the Windows side, or the computer is turned off or goes off, when Windows comes up, I can't access the internet.
    I have gone into control panel and it states that the cable modem is unplugged or not connected. I then have to literally unplug the cable from the computer, wait a few seconds and then plug it back in.
    This has been going on several months and started after I had a cable issue at the house and the cable guys came out and fixed it. they changed some things on my computer.
    I think something on the MAC side was actually changed and that is impacting the windows side.
    Prior to that I could access the internet from either side w/no problem.
    Now, even if I unplug the cable and then plug it in, the computer is not recognizing that the cable is plugged in. As you can see, I am still having NO problem w/the MAC side.
    Any ideas what command or default setting might have been changed to impact the Windows side in this fashion. thanks

    what is the firmware version on the router?? try reducing MTU to 1452...let me know if you have any issues will get back to you.
    thanks

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts,
    we are creating webservice data control to invoke bpel process from ADF side.
    When I run the application and inovoke the bpel every thing is working fine.
    But when we are changeing the instances from DEV to SIT the bpel url(hostname and port) will change.
    So we just edited DataControls.dcx file and we just replaced the wsdl url and trying to run the applicaiton.
    This time the applicaiton is not invoking the bpel process.
    If I remove the webservice data control and recreate it with new WSDL url then it is working fine.
    Can any one tell us what the exact issue is. Is there any other files do i need to modify or etc.
    Thanks & Regards
    Gayaz

    DataControls.dcx & connections.xml (.adf/META-INF)

  • Get error message when trying to launch bridge from CC 64 bit.

    Get error message when trying to launch Bridge from Photoshop CC 64 bit.  "Cannot complete command because extension cannot be loaded."  Need fix.  Thanks.

    Hi Adobe Bubba,
    Please uninstall the software, run the cleaner tool, restart your machine and install again.
    Cleaner tool: http://www.adobe.com/support/contact/cscleanertool.html .
    Regards,
    Romt Sinha

Maybe you are looking for

  • Settlement of PM order over Internal order

    In order to control revenue budget from being over run we have developed Internal orders in controlling with the combination of Cost Centre & GL Code. The internal order are statistical in nature. We are facing the following problem: 1. In PM order (

  • Where can I find the files to upgrade Acrobat 9.0 pro to 9.5.5?

    I have to re-install Acrobat 9.0 Pro and have the files to do that but I need to find the upgrade files to get to 9.5.5.  The Adobe website no longer lists them and Chat says they don't support 9.0 any longer.   This is hardly customer friendly. BFB

  • Header and Item data

    Hi All, I have loaded a DSO, with Hdr data and Item Data,. The Key is DOC_NUM and DOC_ITEM. I hv taken a PO number for testing  and henceforth, the data in DSO, shows something like this. 456000337 >     > 0.00 $ 456000337 > 10 > 1000 $ 456000337 > 2

  • Destroying connection that is not valid, due to the following exception [com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset]

    Hi everyone,  I'm facing the following problem in a Server runing Linux with JBoss AS 4.2.2, JRE 1.6, and MSSQL Server 2005 with JDBC 2.0 (sqljdbc4.jar). The thing is: on friday morning I started up the server and everything worked fine ... next, fro

  • HD footage not visible in FCP 5

    Hi there, I'm using FCP 5 on a MBP. I captured some HD footage from a Sony Camera and transferred it from my Producer's MBP to my Portable HD. On my producer's MBP, the footage looked fine, but when I imported it into Final Cut, I have the audio but