Jre not found when using Loadjava command

Hello,
I am getting an error when I run the below load java command on a 9.2.0.8 database on Sun/Solaris platform.
Command:
loadjava -user user/[email protected]:1529:OLS2 -thin -force -resolve -verbose filename.jar
Error:
/olcdbt/u01/app/oracle/product/9.2.0.8/bin/loadjava: /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/jre: not found
When I tried creating a new Jre soft link from $ORACLE_HOME/bin like : 'ln -s $ORACLE_HOME/jdk/jre/bin/java $ORACLE_HOME/jdk/jre/bin/jre' its giving a new error:
jre was not found in /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/../bin/sparc/native_threads/jre
Strange thing here is that this was working fine in 9206 home and after upgrading to 9208 1 month back I am facing this issue. I am sure I am missing something here but not sure what.. Please help me resolve this issue.
Regards,
Raji.

Hi,
Even though the problem manifests when using loadjava, it has noting to do with the embedded Java VM in the database; it's rather an install /upgrade problem.
Perhaps the followinf post can help: http://64.233.167.104/search?q=cache:h3XhGo2kZaYJ:forums.oracle.com/forums/thread.jspa%3FthreadID%3D43105+site:oracle.com+%22JRE+not+found%22&hl=en&ct=clnk&cd=9&gl=us
Kuassi http://db360.blogspot.com

Similar Messages

  • Getting error : Jre not found when using Loadjava command

    Hi folks,
    I am getting an error when I run the below load java command on a 9.2.0.8 database on Sun/Solaris platform.
    Command:
    loadjava -user user/[email protected]:1529:OLS2 -thin -force -resolve -verbose filename.jar
    Error:
    /olcdbt/u01/app/oracle/product/9.2.0.8/bin/loadjava: /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/jre: not found
    When I tried creating a new Jre soft link from $ORACLE_HOME/bin like : 'ln -s $ORACLE_HOME/jdk/jre/bin/java $ORACLE_HOME/jdk/jre/bin/jre' its giving a new error:
    jre was not found in /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/../bin/sparc/native_threads/jre
    Strange thing here is that this was working fine in 9206 home and after upgrading to 9208 1 month back I am facing this issue. I am sure I am missing something here but not sure what.. Please help me resolve this issue.
    Regards,
    Raji.

    Dear my collegue, the best place to ask this question is JVM forum.
    Java in the Oracle Database

  • Error oracle.sql.* and oracle.jdbc.driver.* not found when using oracle as a database

    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama

    Hi Anupama,
    First of all I would be surprised if you would not like to use the connection pooling feature of weblogic (in which case you might not be needing the import the classes directly), and would like to open direct connections to your database. Anyways for doing that I would recommend you to check out the readme doc that ships
    along with the jdbc oracle (classes12.zip etc). I am giving an excerpt over here:
    These are a few simple things that you should do in your JDBC program:
    1. Import the necessary JDBC classes in your programs that use JDBC.
    For example:
    import java.sql.*;
    import java.math.*;
    2. Register the Oracle driver before before calling other JDBC APIs.
    (This is not needed if you are using the JDBC Server-side Internal
    Driver because registration is done automatically in the server.)
    To register the Oracle driver, make sure the following statement
    is executed at least once in your Java session:
    DriverManager.registerDriver(
    new oracle.jdbc.driver.OracleDriver());
    3. Open a connection to the database with the getConnection call.
    Different connection URLs should be used for different JDBC
    drivers. The following examples demonstrate the different URLs.
    For the JDBC OCI8 Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:oci8:@<database>",
    "scott", "tiger");
    where <database> is either an entry in tnsnames.ora or a SQL*net
    name-value pair.
    For the JDBC Thin Driver, or Server-side Thin Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@<database>",
    "scott", "tiger");
    where <database> is either a string of the form
    <host>:<port>:<sid> or a SQL*net name-value pair.
    For the JDBC Server-side Internal Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:kprb:");
    Note that the trailing ':' character is necessary. When you use
    the Server-side Internal Driver, you always connect to the
    database you are executing in. You can also do this:
    Connection conn
    = new oracle.jdbc.driver.OracleDriver().defaultConnection();
    Hope this helps,
    Thanks,
    Anupama wrote:
    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama--
    Apurb Kumar

  • Bin/jre not found when I install 8.1.7

    Hi fellow,
    But the strange thing is, tried to install on two similar env, one can start the runInstaller but the other will warn me with "bin/jre not found" error and then exist. I found that the runInstaller should use the 8.1.7 built-in jre not the one of system. And I have confirmed that the "Disk1/stage/Component/oracle.swd.jre.../linux/bin/jre" was that can run-able. Did anyone here encountered this problem also?? Look forward for any advice! :-)
    JH

    I have the same problem If some one has the solution please email me.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by HM ([email protected]):
    Just tried the 8.1.7_01 instead. The same error. So many people has this problem but no one in Oracle know about this??<HR></BLOCKQUOTE>
    null

  • "command not found" when using bash as root [SOLVED]

    Some examples:
    bash: gparted: command not found
    bash: cryptsetup: command not found
    bash: lsusb: command not found
    All of these are defintely installed, and work without any problems if I type in their full path. Any idea why this is happening?
    Last edited by SkyValley (2008-12-15 02:57:30)

    That means you're not starting it as a login shell, so you may want to look in to that.
    /etc/profile is what you need,
    echo "source /etc/profile" > /root/.bashrc
    That's safe to do regardless and you can look in to the login shell problem later.

  • JAXB 1.0 Final: jaxb.properties not found when using custom classloader

    JDK 1.3.1 is being used.
    The scenario:
    1) jaxb jar files, jaxb generated files and application files loaded in default class loader works, however
    2) jaxb jar files, jaxb generated files and application files loaded in a custom class loader generate the following exception:
    javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package XXX
    To demonstrate here are two sample applications: a Launcher app whose job it is to start apps and a sample App1 application who needs JAXB.
    If launch is placed into a jar file named launch.jar and App1 is placed into a jar file named app1.jar (with a JAXB generated package), and both jar files are placed in a directory containing all the JAXB 1.0 jar files (dom, sax, namespace, etc) and the system is started with the following:
    jre\bin\java -cp launch.jar; testLaunch.launch
    the exception occurs.
    By way of comparison, if App1 is started directly with the following:
    jre\bin\java -cp app1.jar;jax-qname.jar;jaxb-xjc.jar;jaxb-ri.jar;jaxb-libs.jar;jaxb-api.jar;dom.jar;sax.jar;jaxp-api.jar;xercesImpl.jar;namespace.jar;ant.jar;xalan.jar testApp.app1
    the exception does not occur.
    Any help would be greatly appreciated.
    package testLaunch;
    import java.net.*;
    import java.io.*;
    public class launch extends javax.swing.JFrame
        private static URLClassLoader app1ClassLoader_; 
        private static Class  app1EntryClass_ = null;
        private static final String app1MainClassName_ = "testApp.app1";
        private Object appObj_ = null;
         static public void main(String args[])
              try {
                System.out.println("Launch Main");               
                new launch();          
                  System.exit(0);
              catch (Throwable t) {
                   t.printStackTrace();
                   System.exit(1);
         public launch()
            if (app1ClassLoader_== null)
                loadAppClassLoader();
            try{
                if (app1EntryClass_ == null)
                    app1EntryClass_ = app1ClassLoader_.loadClass(app1MainClassName_);
                if (app1EntryClass_ == null)
                    System.out.println(app1MainClassName_ + " was not found");
                else
                    appObj_ = app1EntryClass_.newInstance();
            catch(ClassNotFoundException x){
                x.printStackTrace();
            catch(Exception x){
                x.printStackTrace();
        private static void loadAppClassLoader()
            String jarPath = jarPath = System.getProperty("user.dir");
            System.out.println("jar path is: " + jarPath);
            try{
                File jarfile1 = new File(jarPath+File.separator+"app1.jar");
                File jarfile2 = new File(jarPath+File.separator+"dom.jar");
                File jarfile3 = new File(jarPath+File.separator+"jaxp-api.jar");
                File jarfile4 = new File(jarPath+File.separator+"jaxb-api.jar");
                File jarfile5 = new File(jarPath+File.separator+"jaxb-xjc.jar");
                File jarfile6 = new File(jarPath+File.separator+"jaxb-ri.jar");
                File jarfile7 = new File(jarPath+File.separator+"jaxb-libs.jar");
                File jarfile8 = new File(jarPath+File.separator+"jax-qname.jar");
                File jarfile9 = new File(jarPath+File.separator+"sax.jar");
                File jarfile10 = new File(jarPath+File.separator+"xercesImpl.jar");
                File jarfile11 = new File(jarPath+File.separator+"namespace.jar");
                File jarfile12 = new File(jarPath+File.separator+"xalan.jar");
                File jarfile13 = new File(jarPath+File.separator+"ant.jar");
                if (!jarfile1.exists())
                    System.out.println("**ERROR " + jarfile1 + " does not exist!");
                app1ClassLoader_ = new URLClassLoader( new URL[]{jarfile1.toURL(),
                                                                jarfile2.toURL(),
                                                                jarfile3.toURL(),
                                                                jarfile4.toURL(),
                                                                jarfile5.toURL(),
                                                                jarfile6.toURL(),
                                                                jarfile7.toURL(),
                                                                jarfile8.toURL(),
                                                                jarfile9.toURL(),
                                                                jarfile10.toURL(),
                                                                jarfile11.toURL(),
                                                                jarfile12.toURL(),
                                                                jarfile13.toURL()} );
            catch(Exception x){
                x.printStackTrace();
                return;
    package testApp;
    import javax.xml.bind.*; // JAXB classes
    import myGeneratedJAXBFiles;
    public class app1 extends javax.swing.JFrame
         static public void main(String args[])
              try {
                System.out.println("App1 Main");               
                new app1();           
                  System.exit(0);
              catch (Throwable t) {
                   t.printStackTrace();
                   System.exit(1);
         public app1()
            try
                JAXBContext jc_ = JAXBContext.newInstance( "myGeneratedJAXBFiles" );
                System.out.println("Successfully loaded JAXB Context");          
            catch (JAXBException jbe)
                jbe.printStackTrace();

    I'm doing something very similar. In fact my launcher is also stored in launcher.jar. It will start any application on the classpath and load dependencies jars located in the specified directory.
    The first thing you must do is specify the classloader when constructing the jaxb context:
    JAXBContext jc = JAXBContext.newInstance(xmlPackage, getClass().getClassLoader());
    After this I was still raning into the "jaxb.properties not found" exception in some situations. Basically if the class using the jaxb files is located in the same jar as jaxb.properties everything worked fine. However if the class using the jaxb objects was located in a different jar it did not work.
    I had to add the following early in the execution of the application that load the plugins to get things working correctly:
    Thread.currentThread().setContextClassLoader(jarDirClassLoader);
    As far as I can tell JAXB using the Context class loader to find the jaxb.properties file.
    I'm using JAXB 1.1
    I hope this helps!

  • Webutil bean not found when using call_form with no_share_library_data

    Hi,
    I have two Forms modules and i navigate from Form A to Form B using a call_form.
    If i call Form B with NO_SHARE_LIBRARY_DATA param, i get a webutil error: "oracle.forms.webutil.file.filefunctions bean not found"
    If i call it with SHARE_LIBRARY_DATA, there no error and my webutil function works as expected.
    Webutil is used in our application are works well so i don't think that it's webutil config problem.
    Any idea?
    Tx

    Thanks for your answer.
    Now I'am a little bit further with my debugging but it's more strange! forget the share_library_data...
    I start a common form with webutil.pll attached and i will use the Webutil_File.File_Exists function for example
    if i call it in the WNFI or WNBI, i get the error
    if i call it via a push-button WBP for example, it works!
    below the java console ouput when i get the error and after pushing ok on the error
    Loading http://sdp6:7778/sdp-jar_dev/frmwebutil.jar from JAR cache
    Loading http://sdp6:7778/forms/java/frmall_jinit.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 10.1.2.2
    Loading http://sdp6:7778/sdp-jar_dev/hst65.jar from JAR cache
    Loading http://sdp6:7778/sdp-jar_dev/sdpimage.jar from JAR cache
    Loading http://sdp6:7778/sdp-jar_dev/host.jar from JAR cache
    Loading http://sdp6:7778/sdp-jar_dev/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    La version Forms Applet est : 10.1.2.2
    2008-janv.-10 18:02:24.711 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.727 WUI[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.727 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.727 WUF[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.743 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.743 WUH[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.743 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.743 WUS[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.758 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.758 WUT[SessionFunctions.init()] Max Transfer chunk size set to 4048
    2008-janv.-10 18:02:24.758 WUT[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.977 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.977 WUO[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.977 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.977 WUL[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.977 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.977 WUB[VBeanCommon.getIPAddress()] 172.22.35.17
    AFTER PUSH OK on the error
    2008-janv.-10 18:07:12.977 WUI[getProperty()] Getting property WUC_BEAN_VERSION
    2008-janv.-10 18:07:12.977 WUI[getProperty()] Value of WUC_BEAN_VERSION=10.1.2.2
    2008-janv.-10 18:07:12.993 WUT[setProperty()] Setting property WUC_SRV_LOGGING to 0
    2008-janv.-10 18:07:12.993 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2008-janv.-10 18:07:12.993 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2008-janv.-10 18:07:13.08 WUT[loadSettings()] Local properties file loaded
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2008-janv.-10 18:07:13.08 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2008-janv.-10 18:07:13.08 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2008-janv.-10 18:07:13.24 WUB[setProperty()] Setting property WUC_SRV_LOGGING to 0
    AFTER PUSH ON THE BUTTON THAT CALL THE SAME FUNCTION
    2008-janv.-10 18:07:34.758 WUF[setProperty()] Setting property WUF_FILENAME to c:\temp\1.txt
    2008-janv.-10 18:07:34.758 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 1
    2008-janv.-10 18:07:34.758 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
    2008-janv.-10 18:07:34.758 WUF[getProperty()] Value of WUF_FILE_ATTRIBUTE=TRUE

  • Fonts not found when using Xvfb

    Hi all,
    I keep encountering "fonts specified in fonts.properties not found" whenever I execute rwserver.sh server=XXX.
    fyi, I'm running Solaris8 on Sun SPACE machine. I use Xvfb downloaded from Oracle to allow report server to run after I logoff from the session. I realised that the report sever I created manually will die prematurely if I log out from the session when I use the "default" Xserver provided by Solaris.
    And prior to running rwserver.sh I set the DISPLAY such DISPLAY=:1.0; export DISPLAY.
    pls advise.

    I get the same errors on my Solaris system with xvfb, but it doesn't keep anything from working. My reports server comes up and works fine.

  • Error 48: File or folder not found when using photomerge panorama - imac photoshop elements 10

    Any help is appreciated.  Followed the photomerge panorama instructions and got error 48: file or folder not found.....line 16 ...
    using photoshop elements 10 on imac with OSX 10.8.2
    Thx

    Have you recently updated your Operating system? Please try repairing permissions for your hard disk.
    Please check the help document to know more about repairing permissions http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html#main_Solutio n_3__Repair_Disk_Permissions

  • OUI prob JRE not found when installing Oracle8i PE on Win98 (non P4 machine)

    Oracle universal installer won't run. Java Runtime Environment not found. Tried installing version 1.1.8 of JRE, but this didn't help. (note: download not CD)

    Thank you for your answer. This is the developer suite, and I though this could be installed on win98. I have installed Oracle Database Personal Edition 9i, and It works fine. Now I just want to practice my lessons with forms and reports, being able to connect to my oracle personal 9i (stand alone).
    Thats why I want to install the Developer Suite 10g, but if this is not for win98, can someone tellme wich version of developer suite could I install in order to practice oracle forms and reports and eventually all the other applications of the suite?

  • E71 GPS 'route not found' when using device only s...

    Hi, earlier today I was getting help to not get AT&T network data charges.  I have set everything up per direction but now when I try to search for something and navigate to it I get 'Route not found'.  Any ideas how to fix this?
    Solved!
    Go to Solution.

    Start with a simple and obvious search string. If you give us an example of a search string that did not work we could have a look at it for you.

  • File not found when using write characters to file

    OK, I am missing something really basic here.  Whenever I try to use the Write Characters to File function, if I try to give it a path beyond the C:\filename directory, it returns an error.  In other words, C:\Dan works, but C:\Dan\Test reurns an error. WHAT am I missing?

    Bingo! That is the problem. You have to make sure the directory exists before you attempt to write files to it.
         BTW: In LV there is a function for creating folders programatically. A good way to see if a directory exists is to attempt to list its
                   contents. If the list function returns an error, the directory doesn't exist and you have to create it.
    So make use of the error that the file write returns. If you get an error, start at the root of your path and test to see if each level exists, and if not create it. When you have all the folders in place repeat the file save.
    Mike...
    Message Edited by mikeporter on 05-24-2007 12:55 AM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Class not found when using JvmModelInferrer

    I am trying to transform one of my language elements to a class using the ModelInferrer approach. This generated class should extend a class (AbstractMatcher) from an external project. The external project is added to the build path of the Xtext model project as an external class folder and to the run-time project in the same way. It should be noted that the external project is a plug-in built in Helios SR1. I am able to reference the AbstractMatcher class from the xtend source code (it is available for auto complete and imported correctly), but when I start runtime eclipse, I get a java.lang.NoClassDefFoundError when trying to add a superType to the generated class. If I substitute the AbstractMatcher with a dummy like java.util.ArrayList everything works fine. I have tried to make a simple Java class inside the runtime Java project and reference the AbstractMatcher from it and this also works fine. Everything seems to be able to find the offending class except the ModelInferrer.
    import external.package.AbstractMatcher
    def dispatch void infer(Matcher matcher, IJvmDeclaredTypeAcceptor acceptor, boolean isPreIndexingPhase) {
    acceptor.accept(matcher.toClass("matchers." + matcher.name.toFirstUpper + "Matcher")) [
    superTypes += typeRef(AbstractMatcher) // <---exception here
    Stack trace:
    java.lang.NoClassDefFoundError: org/talend/designer/xmlmap/figures/treetools/zone/matchers/AbstractMatcher
    at org.xtext.example.mydsl.jvmmodel.MyDslJvmModelInferrer$1.apply(MyDslJvmModelInferrer.java:78)
    at org.xtext.example.mydsl.jvmmodel.MyDslJvmModelInferrer$1.apply(MyDslJvmModelInferrer.java:1)
    at org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator$1.run(JvmModelAssociator.java:397)
    at org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator.installDerivedState(JvmModelAssociator.java:407)
    at org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:240)
    at org.eclipse.xtext.xbase.resource.BatchLinkableResource.getContents(BatchLinkableResource.java:148)
    at org.eclipse.xtext.xbase.typesystem.internal.LogicalContainerAwareBatchTypeResolver.getEntryPoints(LogicalContainerAwareBatchTypeResolver.java:44)
    at org.eclipse.xtext.xbase.typesystem.internal.DefaultBatchTypeResolver.getTypeResolver(DefaultBatchTypeResolver.java:63)
    at org.eclipse.xtext.xbase.typesystem.internal.CachingBatchTypeResolver$1.get(CachingBatchTypeResolver.java:49)
    at org.eclipse.xtext.xbase.typesystem.internal.CachingBatchTypeResolver$1.get(CachingBatchTypeResolver.java:1)
    at org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:77)
    at org.eclipse.xtext.xbase.typesystem.internal.CachingBatchTypeResolver.doResolveTypes(CachingBatchTypeResolver.java:46)
    at org.eclipse.xtext.xbase.typesystem.internal.AbstractBatchTypeResolver.resolveTypes(AbstractBatchTypeResolver.java:69)
    at org.eclipse.xtext.xbase.resource.BatchLinkingService.resolveBatched(BatchLinkingService.java:71)
    at org.eclipse.xtext.xbase.resource.BatchLinkableResource.resolveLazyCrossReferences(BatchLinkableResource.java:165)
    at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:528)
    at org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(ClusteringBuilderState.java:234)
    at org.eclipse.xtext.builder.builderState.AbstractBuilderState.update(AbstractBuilderState.java:115)
    at org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:248)
    at org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:228)
    at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:123)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    I sense that this is actually an OSGi problem, since I see this is how typeRef tries to find the reference, but I don't know how to get around it. I am not able to add the external plugin containing the AbstractMatcher class as a dependency and I'm not sure if it would be possible due to different Eclipse versions (Helios vs Luna).

    On 13.07.15 12:39, Zeljko Vukovic wrote:
    > but when I start runtime eclipse, I get a java.lang.NoClassDefFoundError
    > when trying to add a superType
    Does it work for you if you refer to the AbstractMatcher from Java-code
    that is in a project in the runtime instance?
    Best,
    Sebastian

  • Exchange 2013 CU5 , Exchange Power Shell very very very slow reasponse when using get command.

    Exchange 2013 CU5 , Exchange Power Shell very very very slow reasponse when using get command.
    First my organize has Exchange on 2 site like
    site A (internet facing) : 2CAS 2 MB all are Services pack1
    site B (DR Site , no user active on this site) : 2CAS 2MB all are Services pack 1
    so today I upgrade Exchange 2013 from SP1 to CU5 start on "site B" and I found this issue and the details is....
    When I open EMS on any CU5 for query something (like get-mailboxdatabasecopystatus) the response return very slow and some query will not return at all (like get-owavirtualdirectory).
    But If I using EMS on SP1. Everything is ok then I try to use EMS on SP1 connect to CU5 and try to query something. the result is
    some query command cannot return for any result that are server on siteB (just some query command)
    Problem
    EMS on CU5 return very slow result.
    EMS on SP1 still ok.
    Does anyone face this problem before for CU5??? Please help me figure this out. Thank you
    reply from Social.technet

    Hi,
    Have you used the above cmdlets to check your Exchange server health?
    "all other command that I ran on EMS didn't logged on event viewer.", my environment is the same with you. I use Exchange 2013, only errors will be displayed in MSExchange Management. Actually, it is not related to slow EMS response.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • "File Not Found" when addCourse through iTunesU web service.

    I have problem to add Course to my institute's iTunesU site through Web Service.
    I was able to get the xml doc back through showTree operation and here is part of it:
    <Site>
    <Name>my institute's name</Name>
    <Handle>123</Handle>
    <AggregateFileSize>63057465318</AggregateFileSize>
    <Section> <Name>Your Classes</Name>
    <Handle>456</Handle>
    <AggregateFileSize>57423912007</AggregateFileSize>
    <Course>
    <Name>course 1</Name>
    <Handle>111</Handle>
    </Course>
    </Section>
    <Section>
    I was able to get the uploadURL back too. The URL to get the uploadURL request:
    https://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL/myInstitute.edu.45 6?type=XMLControlFile
    The uploadURL I got back looks like:
    https://deimos2.apple.com/WebObjects/Files.woa/Upload/myInstitute.edu.456/X_1371095208_1a.43c06fa3.467dc4f2/%5Banonymous1371095208%5D/0046e71254900a071aa9241221a469d98ff1ef6fa973544c45ef9 5260dac6c64f05b10aefc
    But when I use the uploadURL above and post the addCourse.xml:
    <ITunesUDocument>
    <AddCourse>
    <ParentHandle>456</ParentHandle>
    <Course>
    <Name>Jing Test iTunesU Web service Course</Name>
    <ShortName>Jing Test</ShortName>
    </Course>
    </AddCourse>
    </ITunesUDocument>
    The response I got
    <error>File Not Found</error> File Not Found
    I used myInstitute.edu.456 to get the uploadURL and set it to ParentHandle on addCourse.xml since 456 is the section handler in whoch I want to add the course.
    I tried to remove 456 from the myInstitute.edu to get the uploadURL and then use it to add course, got the same error.
    Is there something wrong with the URL I used to get the uploadURL?
    here is the code and the values pass to the methodI used to send addCourse request:
    url = uploadURl on above
    name="file"
    fileName="file.xml";
    data=addCourse xml on above
    contentType="text/xml"
    public String invokeAction(String url,
    String name,
    String fileName,
    String data,
    String contentType) throws MessagingException {
    // Send a request to iTunes U and record the response.
    StringBuffer response = null;
    System.out.println("xml doc: ---" + data);
    try {
    // Verify that the communication will be over SSL.
    if (!url.startsWith("https")) {
    throw new MalformedURLException("ITunesUFilePOST.invokeAction(): URL \""
    + url + "\" does not use HTTPS.");
    // Build the multipart data.
    MimeMultipart multipart = new MimeMultipart();
    MultipartFormBuilder.addMultipartFormBody(multipart,
    name,
    fileName,
    data,
    contentType);
    // Create a connection to the requested iTunes U URL.
    HttpURLConnection connection =
    (HttpURLConnection) new URL(url).openConnection();
    connection.setUseCaches(false);
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    connection.setRequestProperty("Content-Type",
    "multipart/form-data; boundary="
    + MultipartFormBuilder.getMultipartBoundary(multipart));
    String multipartData = MultipartFormBuilder.getMultipartData(multipart);
    // Send the multipart data to iTunes U.
    connection.connect();
    OutputStream output = connection.getOutputStream();
    output.write(multipartData.getBytes("UTF-8"));
    output.flush();
    output.close();
    // Read iTunes U's response.
    response = new StringBuffer();
    InputStream input = connection.getInputStream();
    Reader reader = new InputStreamReader(input, "UTF-8");
    reader = new BufferedReader(reader);
    char[] buffer = new char[16 * 1024];
    for (int n = 0; n >= 0;) {
    n = reader.read(buffer, 0, buffer.length);
    if (n > 0) response.append(buffer, 0, n);
    // Clean up.
    input.close();
    connection.disconnect();
    } catch (UnsupportedEncodingException e) {
    // ITunes U requires UTF-8 and ASCII encoding support.
    throw new java.lang.AssertionError("ITunesUFilePOST.invokeAction(): UTF-8 encoding not supported!");
    } catch (IOException e) {
    // Report communication problems.
    throw new java.lang.AssertionError("ITunesUFilePOST.invokeAction(): I/O Exception " + e);
    // Return the response received from iTunes U.
    System.out.println("response from ITunesUFilePOST: " + response.toString());
    return response.toString();
    }

    I'm having a similar "File Not Found" error, but it's happening for any API request other than GetUploadURL. I'm sending a POST request to the GetUploadURL, and that part is working correctly, as I get a URL such as the following:
    https://deimos2.apple.com/WebObjects/Files.woa/Upload/wvu.edu/X_1372071795_4d9433be.4c3fdd3d.4c3fdd3e/%22Chris%20Scharf%22%20%3Ccbscharf%40mail.wvu.edu%3E%20%28cbscharf%29%20%5B3258 7%5D/0046eaaaf078cf5d6b60f18926106a50a5050cf8f9c91a7608074e6d2949a8759017969ece
    Then, I've tried using curl (within 90 seconds) to submit a simple XML document containing a ShowTree request:
    <?xml version="1.0" encoding="UTF-8"?>
    <ITunesUDocument>
    <ShowTree>
    <KeyGroup>most</KeyGroup>
    </ShowTree>
    </ITunesUDocument>
    The command executed is "curl -F file=test.xml URL" (where URL is the URL retrieved from GetUploadURL. But I simply get "<error>File Not Found</error>"
    I'm correctly sending credentials, since I'm getting upload URLs. And it's not an issue with the XML document, since it's not even getting to the server.

Maybe you are looking for

  • CME 8 and 3945 router IOS 15.1.1 T

    we are experiencing random phones that unregister with following error in log: 089919: Aug  5 15:31:18 EDT: %IPPHONE-6-UNREGISTER_ABNORMAL: ephone-60:SEP0026CBCXXXX IP:X,X.X.X Socket:168 DeviceType:Phone has unregistered abnormally. we have been chas

  • Workflow: User Decision Activity doesn't work

    friends, URGENT!!! I've created a User Decision Activity but it doesn't work. It sends a message to SBWP but there the user hit APROVE  OR REJECT, and instead it work, it simply show another screen with only a button labelad "Cancel and keep work ite

  • Any program that tells the classes not used in a package ?

    Hi, I would like to know if there is any program that tells you (given an application) which classes (from the packages) are used and which are not used. I�m building an applet (for web start) and I need the applet to be as small as posible. Thanks !

  • Raw file

    I am using Oracle on Solaris 8. I want to create a raw file for oracle redo logs. How do I create a raw file on Solaris?

  • File export problem

    Dear All I need to export data to a file share location in XL format. I have the data in an internal table. This file share is on another location(network directory). I also wish to import it when needed. How can I do it. Please guide me. Regards Vij