NoClassDefFoundError When Running the  InitialContextExample !

I am trying to run the JNDI example program InitialContextExample.java. I am
          able to compile the program OK but I run into the following error when I try
          to create the InitialContext object:
          java.lang.NoClassDefFoundError: con/sun/java/util/collections/ArrayList.
          I'm trying to run the example on my PC and have it access the WebLogic
          Server on another machine.
          Does anyone have an idea what the problem could be? How come I am able to
          compile the app yet it doesn't run?
          Thanks in advance,
          Matt
          

It should be com/sun ... not con/sun ... just in case that is a typo, it
          should actually be java.util package anyway now. You may not have the
          necessary backwards-compatible jar in your classpath (see weblogicaux.jar --
          I think it has the com/sun stuff in it).
          Peace,
          Cameron Purdy
          Tangosol Inc.
          << Tangosol Server: How Weblogic applications are customized >>
          << Download now from http://www.tangosol.com/download.jsp >>
          "Matt Connors" <[email protected]> wrote in message
          news:[email protected]..
          > I am trying to run the JNDI example program InitialContextExample.java. I
          am
          > able to compile the program OK but I run into the following error when I
          try
          > to create the InitialContext object:
          >
          > java.lang.NoClassDefFoundError: con/sun/java/util/collections/ArrayList.
          >
          > I'm trying to run the example on my PC and have it access the WebLogic
          > Server on another machine.
          >
          > Does anyone have an idea what the problem could be? How come I am able to
          > compile the app yet it doesn't run?
          >
          > Thanks in advance,
          > Matt
          >
          >
          

Similar Messages

  • Java.lang.NoClassDefFoundError when running the Junit method

    Hi Friends
    I am stuck in this typical Junit problem for a copule of days but still not able to find any solution for it.The problem is as below.
    I have written Junit test case for 1 method that has been added in the session bean. the code is as below.
    public void testfindResponses() {
                   ClientManager cMgr = null;
                   Collection retvalue= new ArrayList();
                   try {
                   System.out.println("Before");
                   cMgr = EJBHomeUtilities.getClientManagerHome().create();
                   System.out.println("After" + cMgr.toString());
              //     retvalue=cMgr.findSurveyResponses(clientPk,startTime,endTime);
                   }catch (RemoteException e) {
                   //logger.error(e.getMessage());
                   throw new EJBException(e.getMessage());
                   } catch (CreateException e) {
                   // logger.error(e.getMessage());
                   throw new EJBException(e.getMessage());
                   } finally {
                   EJBHomeUtilities.removeSessionBean(cMgr);
              //return retvalue;
    when i run this using the Junit consol;e on the eclipse i am getting
    java.lang.NoClassDefFoundError
         at sun.reflect.GeneratedSerializationConstructorAccessor35.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
         at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:120)
         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
         at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:37)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
         at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
         at $Proxy0.create(Unknown Source)
         at com.march.hth.test.client.ClientManagerBeanTest.testfindSurveyResponses(ClientManagerBeanTest.java:3918)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    The remote reference that i get seems to not work atall.i tried to put debug statements to see if i am getting the remote reference,but the control seems to not go there itself.
    The same method if i write for another session bean it is working fine without any errors.
    Please let me know whats wrong here as i am stuck up with this issue for a long time .waiting for positive replies from your side.
    Thanks & Regards
    Vikram K

    I also came across this error . . . the exception message seemed to indicate a problem in the HTML file. In mine, I had the HEIGHT and WIDTH attributes set to 100% -- something that is nonsensical outside of a browser context. I changed those values to some number of pixels (800 and 600, say), and the exception did not reoccur. I suggest you try the same.
    --john                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • NoClassDefFoundError when running application

    Hi,
    When I try to run my Java application (that connects to a DB) I get this error and my interface doesn't even show up:
    C:\Work\JDev10g\Client\View\classes>java view.MyClient
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/client/Configuration
    at view.Login.jbInit(Login.java:81)
    at view.Login.<init>(Login.java:39)
    at view.MainFrame.<clinit>(MainFrame.java:26)
    at view.MyClient.<init>(MyClient.java:13)
    at view.MyClient.main(MyClient.java:50)
    But I don't have this problem when running the application inside/through JDeveloper (the interface appears and all works fine). I think I am missing a library in my model or view project, but I don't know which one. Could you help me?
    Thanks a lot,
    David

    David:
    You're probably missing bc4jct.jar or bc4jmt.jar.
    When you run the app from within JDev, you will see the command line that the IDE is using to launch the app (in the log window). If you take a look at that line, you can see all the jars/classes that the IDE is including to launch the app. This sometimes is a useful help.
    Thanks.
    Sung

  • Error message when running the FSPCCURR - PS/Fin MultiCurrency Process

    error message when running the FSPCCURR - PS/Fin MultiCurrency Process
    =====================================================
    2011-03-21-17.21.39.660000 INFO(5870,1) PI(785156) Program(FSPCGLMC) GL MultiCurrency processing has begun.
    2011-03-21-17.21.40.820000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step CURPER in Group NONREVAL for Business Unit NAMER.
    2011-03-21-17.30.14.520000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step USD_USD in Group NONREVAL for Business Unit NAMER.
    2011-03-21-17.30.53.000000 SEVERE ERROR IN PGM:(5870,58) PI(785156) Program(FSPCPROC) Edit journal fails for Business Unit NAMER and Step USD_USD.

    Hi 841037,
    We are facing this same issue in our environment. We are on FSCM 9.1 bundle #24.Please let me know how you resolved this issue at your end. Any help or pointers regarding this issue is highly appreciated. Thanks.

  • Error in the Informatica when running the DAC load( Prebuilt Analytics)

    Hi All,
    Please help me with the below issue with the informatica i am getting when running the DAC load:
    Below are the details:
    SELECT F0006.MCMCU,F0006.MCSTYL,F0006.MCCO,F0006.MCAN8,F0006.MCDL01,F0006.MCRP06,F0006.MCUPMJ,F0006.MCUPMT,F0006.MCUSER,F0101.ABAN8,F0101.ABLNGP, F0101.ABEFTB,F0101.ABUPMJ,F0101.ABUPMT,F0116.ALAN8,F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4,
    F0116.ALADDZ,F0116.ALCTY1,F0116.ALCOUN,F0116.ALADDS,F0116.ALCTR,F0116.ALUPMJ,F0116.ALUPMT,
    CAST(F0006.MCRP08 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR ,
    CAST(F0006.MCRP10 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST(F0006.MCRP19 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST(F0006.MCRP08 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST(F0006.MCRP13 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST(F0006.MCRP14 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST(F0006.MCRP01 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST(F0006.MCRP15 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST(F06.MCRP16 AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,---------------------------Table name should be F0006
    CAST(F0006.MCRP12 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST(F0006.MCRP27 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST(F0006.MCRP21 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST(F0006.MCRP03 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST(F0006.MCRP13 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST(F0006.MCRP23 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST(F0006.MCRP21 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST(F0006.MCRP24 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST(F0006.MCRP19 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST(F0006.MCRP12 AS CHAR(10)) AS STATE_REGION,
    CAST(F0006.MCRP04 AS CHAR(10)) AS COUNTRY_REGION,
    '0' AS X_CUSTOM
    FROM F0006
    LEFT OUTER JOIN F0101 ON
    F0101.ABAN8 = F0006.MCAN8
    LEFT OUTER JOIN F0116 ON
    F0116.ALAN8 = F0006.MCAN8 AND
    F0116.ALEFTB=F0101.ABEFTB
    As mentioned in the SQL the table name should be F0006 instead F06, I have checked the Source Qualifier transformation and below is the SQL issued
    SELECT F0006.MCMCU,F0006.MCSTYL,F0006.MCCO,F0006.MCAN8,F0006.MCDL01,F0006.MCRP06,F0006.MCUPMJ,F0006.MCUPMT,F0006.MCUSER,F0101.ABAN8,F0101.ABLNGP, F0101.ABEFTB,F0101.ABUPMJ,F0101.ABUPMT,F0116.ALAN8,F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4,
    F0116.ALADDZ,F0116.ALCTY1,F0116.ALCOUN,F0116.ALADDS,F0116.ALCTR,F0116.ALUPMJ,F0116.ALUPMT,
    CAST($$FLEX_ATTRIB_1_CHAR AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR ,
    CAST($$FLEX_ATTRIB_2_CHAR AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST($$FLEX_ATTRIB_3_CHAR AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST($$FLEX_ATTRIB_4_CHAR AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST($$FLEX_ATTRIB_5_CHAR AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST($$FLEX_ATTRIB_6_CHAR AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST($$FLEX_ATTRIB_7_CHAR AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST($$FLEX_ATTRIB_8_CHAR AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST($$FLEX_ATTRIB_9_CHAR AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST($$FLEX_ATTRIB_10_CHAR AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
    CAST($$FLEX_ATTRIB_11_CHAR AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST($$FLEX_ATTRIB_12_CHAR AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST($$FLEX_ATTRIB_13_CHAR AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST($$FLEX_ATTRIB_14_CHAR AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST($$FLEX_ATTRIB_15_CHAR AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST($$FLEX_ATTRIB_16_CHAR AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST($$FLEX_ATTRIB_17_CHAR AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST($$FLEX_ATTRIB_18_CHAR AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST($$FLEX_ATTRIB_19_CHAR AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST($$FLEX_ATTRIB_20_CHAR AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST($$STATE_REGION AS CHAR(10)) AS STATE_REGION,
    CAST($$COUNTRY_REGION AS CHAR(10)) AS COUNTRY_REGION,
    '0' AS X_CUSTOM
    FROM F0006
    LEFT OUTER JOIN F0101 ON
    F0101.ABAN8 = F0006.MCAN8
    LEFT OUTER JOIN F0116 ON
    F0116.ALAN8 = F0006.MCAN8 AND
    F0116.ALEFTB=F0101.ABEFTB
    The error code and error message in the workflow monitor says:
    Message Code: VAR_27028
    Message: Use override value [F06.MCRP16] for mapping parameter:[mplt_BC_SDE_JDE_InternalOrganization_BusinessUnits.$$FLEX_ATTRIB_10_CHAR].
    Some how it is overridng all the values so please let me know what i can do.
    Thanks in Advance

    Oracle Support

  • Getting the below error when running the Baseline.grf for the first time

    I am getting the below error when running the Baseline.grf for the first time.
    Appreciate your support in resolving it.
    Error below:
    INFO [main] - *** CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License ***
    INFO [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
    INFO [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.6.0_20, max available memory for JVM 901120 KB
    INFO [main] - Loading default properties from: defaultProperties
    INFO [main] - Graph definition file: graph/Baseline.grf
    INFO [main] - Graph revision: 1.114 Modified by: mkressirer Modified: Thu Apr 12 13:27:18 EDT 2012
    INFO [main] - Checking graph configuration...
    INFO [main] - Graph configuration is valid.
    INFO [main] - Graph initialization (Baseline)
    INFO [main] - [Clover] Initializing phase: 0
    INFO [main] - [Clover] phase: 0 initialized successfully.
    INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1306871483270_0
    INFO [WatchDog] - Starting up all nodes in phase [0]
    INFO [WatchDog] - Successfully started all nodes in phase!
    INFO [RUN_GRAPH1_0] - Running graph ./graph/InitDataStore.grf in the same instance.
    INFO [RUN_GRAPH1_0] - Checking graph configuration...
    INFO [RUN_GRAPH1_0] - Graph configuration is valid.
    INFO [RUN_GRAPH1_0] - Graph initialization (InitDataStore)
    INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
    WARN [RUN_GRAPH1_0] - WS messenger cleanup failed.
    java.lang.NullPointerException
         at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
         at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
         at org.jetel.graph.Phase.free(Phase.java:487)
         at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:681)
         at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:955)
         at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:149)
         at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
         at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
         at org.jetel.component.RunGraph.execute(RunGraph.java:302)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    WARN [RUN_GRAPH1_0] - Some graphs wasn't executed (because graph "./graph/InitDataStore.grf" finished with error).
    WARN [RUN_GRAPH1_0] - Some graph(s) finished with error.
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/InitDataStore.grf' failed!
    ERROR [WatchDog] - Node RUN_GRAPH1 error details:
    org.jetel.exception.JetelException: Graph './graph/InitDataStore.grf' failed!
         at org.jetel.component.RunGraph.execute(RunGraph.java:324)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
    INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
    INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 2
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    INFO [WatchDog] - 0 ERROR 2 20132
    INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
    WARN [exNode_0_1306871483270_RUN_GRAPH1] - Attempt to unregister non-registered thread in the ContextProvider.
    ./graph/InitDataStore.grf: Execution of graph failed! Error during graph initialization: Phase 0 can't be initilized.
    INFO [WatchDog] - WatchDog thread finished - total execution time: 2 (sec)
    INFO [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !

    It can't find an Endeca specific class when running via the clover command line utility. Thus, the classpath being set in that shell script is not incorporating the .jar files where the endeca-specific classes are packaged. I would start by adding an line to see what your classpath is set to. There are actually already some lines of shell script in clover that you can uncomment to see what .jars are getting loaded:
    #echo $CLOVER_LIB/*
    for i in $CLOVER_LIB/*.jar $CLOVER_LIB/*.zip; do
         LOCAL_CLASSPATH="$LOCAL_CLASSPATH:$i"
    done;
    #for i in `ls $CLOVER_LIB/*.jar`; do
    #echo $i
    #done;
    You could also echo LOCAL_CLASSPATH to see what is getting set there. At the end of the day, you will need the endeca-specific jars to load which can be found here: /Endeca/Discovery/2.3.0/Integrator/plugins/com.endeca.latitude_1.0.0/*
    HTH,
    Dan
    http://branchbird.com

  • Hard drive is missing. I can boot from the cd but when running the disk utility, no hard drive shows up.

    Hard drive is missing. I can boot from the cd but when running the disk utility, no hard drive shows up.
    This is a problem that suddenly appeared.

    Please post a screenshot of Disk Utility that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    I'd ask that on the iPad forum.

  • How to get Basic salary amount in the Housing formula to calculate the housing value as I used the DBI (NICDP_EMPLOYEE_BASIC_SALARY_AMOUNT_ASG_ENTRY_VALUE) but when run the Quick pay for the housing element alone result come 0, How to get Basic salary amo

    How to get Basic salary amount in the Housing formula to calculate the housing value as I used the DBI (NICDP_EMPLOYEE_BASIC_SALARY_AMOUNT_ASG_ENTRY_VALUE) but when run the Quick pay for the housing element alone result come 0, How to get Basic salary amount in the Housing formula to calculate the housing value as I used the DBI (NICDP_EMPLOYEE_BASIC_SALARY_AMOUNT_ASG_ENTRY_VALUE) but when run the Quick pay for the housing element alone result come 0

    Hi,
    Is your formula attached to basic salary element or some other element? You need to make sure that basic salary element has some value and is processed before this formula is called. Are you able to see value for basic salary element after payroll run?
    Regards,
    Pawan

  • My MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."

    My MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."
    Checking in the log revealed the following error:
    Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
    Error!! Error Domain=NSURLErrorDomain Code=-1202 "UNTRUSTED_CERT_TITLE" UserInfo=0x1086bec80 {NSLocalizedDescription=UNTRUSTED_CERT_TITLE, NSLocalizedFailureReason=UNTRUSTED
    The rest of the line is cutted off. Does anyone know what went wrong and how to fix it ?

A: my MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."

I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.

I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.

  • Core dump when running the Proc Application

    I have client that has decided to upgrade from Oracle 10g to Oracle11g version. Presently the client code is compiled with Oracle version 11.1.0.7. We have tuxedo version as 9.0 patch02. When running the ProC application, I am getting the core dump. The stack trace for dump is as follows :-
    core 'core' of 7784: bp_Customer -C dom=KenanFX -g 5 -i 225 -u dsesun10 -U /users/denver/pc
    ffffffff6e8d9bbc kill (2, ffffffff7ffe002c, 1, ffffffff7de3b9a0, ffffffff7ffe0028, ffffffff7e10b5a0) + 8
    ffffffff7d27b1f4 skgesigCrash (ffffffff7ffe09a8, ffffffff7e10a070, 1a0c00, ffffffff7dfdbc40, d60a7c, 1) + 34
    ffffffff7d27b81c skgesig_sigactionHandler (ffffffff7d6fb9a0, ffffffff7ffe1800, ffffffff7ffe0990, ffffffff7e10b578, ffffffff7ffe0998, ffffffff7ffe09a8) + dc
    ffffffff6e8d62e0 __sighndlr (b, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff7d27b740, 0, a) + c
    ffffffff6e8c9e44 call_user_handler (ffffffff75f00200, ffffffff75f00200, ffffffff7ffe1520, 8, 0, 0) + 3e0
    ffffffff6e8ca03c sigacthandler (0, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff75f00200, 0, ffffffff6ea3c000) + 54
    --- called from signal handler with signal 0 (SIGEXIT) ---
    ffffffff7c24bb24 sqlrlc (ffffffff7e0f9fc0, 0, 60, c0, 4, 8) + 4
    ffffffff7c253594 sqlbrl (ffffffff7e0f9fc0, 1004bc630, 1004bc658, 1004bc5d0, ffffffff7ffe1b30, 2) + 114
    ffffffff7c2745ec sqlhvdsc (1004bc5c0, ffffffff7e0f9fc0, 8, ffffffff7fff27a0, 0, 1d676b0) + ac
    ffffffff7c274e68 sqlshv (c, 0, e, 0, f, 1c) + 128
    ffffffff7c25bd8c sqlsel (ffffffff7fff27a0, 1002d0850, 1002d0d80, 1, ffffffff7e0f9fc0, ffffffff7dd09d70) + 38c
    ffffffff7c24ed18 sqlcmex (1, ffffffff7ffe1e80, 0, c, 1002d0850, 0) + 278
    ffffffff7c24f724 sqlcxt (0, ffffffff74fd3800, ffffffff7fff27a0, ffffffff74e5d3e4, 16400, 0) + 44
    ffffffff74c65aec selectCMF_XIDDB (788, 16450, 2, ffffffff74fbb978, ffffffff7fff4344, ffffffff7971de60) + f14
    ffffffff79f5743c bp_AccountFind (0, 0, 1002b6118, 1002b6118, 1002b6118, 1002b6118) + 137c
    000000010001748c commonServiceWrapper (30, 0, 558, 1, 100140428, ffffffff6fa08560) + cac
    000000010001d1a4 I_AccountFind (100188220, 12336c, 2e60, 100186b80, ffffffff7fffa440, ffffffff6fa08560) + ec
    ffffffff7f25ea34 _tmsvcdsp (100186b80, 0, 1001f7b60, 800, 100186b80, 1400) + 11ac
    ffffffff7f28241c _tmrunserver (2bb4, 0, 100186b80, 10017c480, 10017d5a0, 0) + 11ac
    ffffffff7f25d47c _tmstartserver (1, 2c00, 100144c90, 800, 10017ebe0, 1001444e0) + 1ac
    0000000100014e4c main (1b, ffffffff7fffab18, ffffffff7fffabf8, ffffffff6e84b8e0, ffffffff75b05200, ffffffff75f00200) + 14
    0000000100014d9c _start (0, 0, 0, 0, 0, 0) + 17c
    Can you please help what is causing problem in the applications. Thanks in advanced.

    This forum is about C programming in general, and about using Oracle Studio C in particular.
    Your question seems to be about a database application that now crashes when run on an updated version of Oracle database.
    You mention "Proc" and ProC". If you are referring to the Pro*C compiler, that would also be a database question, since the Pro*C compiler is not related to Oracle Studio or Oracle Studio C.
    You are more likely to find a helpful answer in a database programming forum. Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • RE: my input fields does not display when running the page

    my input fields does not display when running the page
    why is that so?

    Hi,
    Can you send the HTML code for us?
    Afonso

  • When installing a NI 5112, I get an error message when running the test panel.

    I have recently decided to reinstall my PCI 5112 high speed digitizer in a different computer, for practical reasons. After having installed the software, hardware and successfully passing the self test, an error (10800) occurs when running the test panels. The signal applied to the channel and the different parameters used, worked fine with the previous computer but not with this one. Any idea why?
    Thanks,
    Thomas

    Hello Thomas,
       The error code you are getting is related to the board not recording enough samples in the given time interval.  May I ask which series of PCI card you are using. This can be found by looking at the device in Measurement and Automation Explorer and looking under devices and interfaces. The series letter is the one on the end of the number after the hyphen. E.g. PCI-MIO-16E-4 would be an E-series board.
    Also which versions of Measurement and Automation Explorerand NI-Scope are you running? Are these the same versions as you used in the old PC system? Sometimes an upgrade in the version is all that is required to fix such a problem but unfortunately it can sometimes cause a problem if you upgrade! It would depend on the versions you are currently running and the series of the board that you are using.
    LeeM
    AE,
     National Instruments
    Message Edited by LeeM on 10-31-2006 10:47 AM

  • Error when running  the ant task

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

  • Error when running the apxldimg.sql to update the images direct from rel3.0

    Hi everyone,
    I'm new to APEX. I'm upgrading from v3.0 to v3.1. I'm on the post-installation, section on "Updating the Images Directory When Upgrading from Release 3.0", I ran into error below when running the apxldimg.sql script. Has anyone run into the is error before. If yes, how did you fix it?
    Directory created.
    filelist_xml xmltype := xmltype(bfilename(upload_directory_name,file_list),nls_charset_id('AL32UTF8'));
    ERROR at line 15:
    ORA-06550: line 15, column 36:
    PLS-00306: wrong number or types of arguments in call to 'XMLTYPE'
    ORA-06550: line 15, column 25:
    PL/SQL: Item ignored
    ORA-06550: line 38, column 15:
    PLS-00302: component 'EXISTSRESOURCE' must be declared
    ORA-06550: line 38, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 52, column 46:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 52, column 3:
    PL/SQL: Statement ignored

    My team member found another post that ran into the same problem and the section is for 11g only. My db is 9.2.0.5.

  • Maybe you are looking for

    • Trying To Understand Pattern in Variable of Type Double

      Does any one know what could have caused the following strange pattern? Focus on finding the sequence 1211 -2.9164014687882487 3.1835985312117456 -2.51640146878826 -20.216401468788252 2.5835985312117393 -11.716401468788257 3.483598531211757 1.8835985

    • How can I import my address book from outlook express.

      I just got my first iPad and set up my email account. However, I don't see any way to import my address book. How do I do this, as my address book on my windows based computer (outlok express). Thanks for your assistance!David

    • What OS will work on PowerMac G5

      I just bought a Power Mac G5 and it came with no OS. I just installed a new 500 GIG hard drive and tried installing Snow Leopard. However the OS would not load. I did a little more research and found that only Intel base Mac can support OS X (Snow Le

    • Station global variable per UUT using a batch process model

      Hi, I have 4 UUTs which are tested using individual COM ports. I am using 4 Station Global variables to store the 4 Com ports - COM port assignments are in no particular order and vary depending on test station PC. Example: S1= Com12 S2= Com14 S3= Co

    • Chromatic Aberration tools are missing...

      A few days ago I got a notification about a new Camera Raw update. I told it to go ahead and install it. After it was done I got back to work. That is when I noticed my Chromatic Aberration tools were gone. The tools for fixing lens distortion and ev