Startup class is not working in oc4j

hi
I have a servlet .In init of that servlet I will create an instance of a startup class .
In web.xml configuration I gave <load-on-startup></load-on-startup> .I created a war and an ear and deployed my application .The startup class is not called.
But when I configured the servlet in the default-web-app the startup class is running.
And furthur when I hot deploy my ear the startup class is running.
But when I restart my application server the startup class is not invoked.
can anybody help
Regards
Gajendran.G

hi
I had put auto-start=true in server.xml .then also it is not working.
when I redeploy my ear,the startup class is invoked,but when i restart the
server it does'nt
gaj

Similar Messages

  • Working on Tomcat Server but same code is not working on oc4j server of E-B

    Hello,
    I have a jsp page that is working properly in tomcat 6 server but when i deployed it on oc4j server 10.1.3.1.0 than it is not working. I am confuse.
    ERROR MESSAGE:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    CODE JSP:
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <!DOCTYPE html PUBLIC
         "-//W3C//DTD HTML 4.01 Transitional//EN"
         "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta
         http-equiv="Content-Type"
         content="text/html; charset=ISO-8859-1" />
    <meta
         name="author"
         content="MAX" />
    <title>Test Register Page</title>
    <link
         rel="stylesheet"
         href="css/style.css"
         type="text/css"
         media="screen" />
    </head>
    <body>
    <div id="content">
    <form name="demo" onsubmit="return validate_form()" action="RegisterServlet" method="post">
    <fieldset>
         <legend>VIEW USER</legend>
         <table border=1>
              <tr>
                   <td width="200px" align="center"><b>Bank Name</b></td>
                   <td width="200px" align="center"><b>User Name</b></td>
              </tr>
              <%
                        Connection connection = null;
                        String connectionURL = "jdbc:oracle:thin:@10.38.60.55:1521:edwdevdb";
                        ResultSet rs = null;
                   Statement statement = null;
                   try
                        // Get a Connection to the database
                        Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
                        connection = DriverManager.getConnection(connectionURL,
    "scott", "tiger");
                        statement = connection.createStatement();
                        rs = statement.executeQuery(" SELECT user_info.USER_KEY,user_info.FI_ID,d_fi.fi_nm, user_info.User_Name from user_info INNER join d_fi on user_info.fi_id = d_fi.fi_id order by fi_nm ");
                        //Set 'authentication' flag
                        while (rs.next())
         %>
                        <tr>
                                  <td width="200px"><a href="SearchUser?bankname=<%=rs.getString("USER_KEY")%">> <%= rs.getString("FI_NM")%></a> </td>
                                  <td width="200px"><%= rs.getString("User_Name")%></td>
                        </tr>
         <%                    
                   catch(SQLException e)
                   finally
                                            rs.close();
    statement.close();
    connection.close();
         %>
         </table>
         <label> </label>
    </fieldset>
    </form>
    </div>
    </body>
    </html>
    WEB xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app     xmlns="http://java.sun.com/xml/ns/javaee"
                             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <description>Register</description>
    <display-name>Register</display-name>
    <!-- Declare Servlets -->
    <servlet>
         <servlet-name>BaseServlet</servlet-name>
         <servlet-class>BaseServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>CategoryServlet</servlet-name>
         <url-pattern>/Category</url-pattern>
    </servlet-mapping>
    <!-- Welcome File List -->
    <welcome-file-list>
         <welcome-file>login.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    Edited by: bappy007 on Oct 10, 2010 1:57 AM
    Edited by: bappy007 on Oct 10, 2010 1:58 AM

    ERROR IN LOG FILE:
    10/10/10 15:18:55.843 edwportal: Servlet error
    java.lang.NullPointerException
         at test.jspService(_test.java:93)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)

  • [as2] Class is not working

    Hi.
    I have two levels one for "movie1.swf" the other "movie2.swf",
    movie1 is on level 0, movie2 is on level 1.
    I made a class "MySound", a class that extends the Sound class.
    The problem is that I tried to use MySound class on movie2 and is not working.
    It only works when I use MySound class on level 0.
    Why?
    Other thing.
    The Sound class constructor function has a parameter "target" use to
    point to a object. I think it is use to setVolume and other things.
    How can I use the same method?
    I´ve tried to setVolume with my class ("MySound"), once for each
    sound and it worked for both, I mean, example, I have sounds "s1"
    and "s2", I tried to set the volume of s1 to 50 and s2 to 0 like this:
    s1.setVolume(50)
    s2.setVolume(0)
    But, both sounds volume were setted to 0.
    How can I use the same method of targeting an object so the setVolume
    works properly in MySound class?
    Note:
    MySound class has no constructor function declared, so I thought it could
    work the same as Sound class.
    How can I use setVolume method in MySound class?
    The main reason I´m making a MySound class is because in MySound class I have methods that pauses and resumes the current sound object.
    I know I can make it directly through script with Sound class, but with MySound class it gets better to write script to work with sounds.
    So I can just use s1.pause() s1.resume(), instead of creating a variable each time for each sound object.
    Any help?
    Thanks

    hi
    I had put auto-start=true in server.xml .then also it is not working.
    when I redeploy my ear,the startup class is invoked,but when i restart the
    server it does'nt
    gaj

  • Weblogic Startup Class does not run as Windows Service

    If you know the answer, plase send me an email at [email protected]
    I'm running a weblogic startup class that starts a Thread. I need to
    run a batch program that should be running as long as WebLogic is
    running (to process new orders).
    It works fine when I run WebLogic (5.1 SP8) from a script, but causes
    problem when I'm running it as a Windows Service. It calls the
    startup class, however, the startup class never spawns the Thread
    class.
    Following is excerpts from different components:
    =============================================================
    *** weblogic.properties ***
    weblogic.system.startupClass.pdfCreatorStart=WebLogicStartupPdfCreator
    *** WebLogicStartupPdfCreator.java ***
    public class WebLogicStartupPdfCreator implements T3StartupDef {
    public String startup(String name, Hashtable args) throws
    Exception {
    Thread t = new ProductionPdfBatchRunner();
    t.start();
    return "success";
    *** ProductionPdfBatchRunner.java ***
    public class ProductionPdfBatchRunner extends Thread {
    public void run() {
    try {
    //work being done here
    this.sleep(30000);
    catch (InterruptedException ie) {               
    catch(Exception e) {
    e.printStackTrace();
    =============================================================
    Thanks for any help

    Hi,
    Ok. Few suggestions.
    1. Can you review the SAP note:
    552286  Troubleshooting for the SAP Web Dispatcher
    2. When you said: "web dispatcher does not get started ", what error you got ? Can you be more details here ?
    3. Please check the trace file dev_webdisp" that generated in the work directory. If the log entries is not abvious, increase the trace level to 2 or 3, and reproduce and re-check the trace file.
    4. What is the output of the command "sapwebdisp -v"
    5. How about sapwebdisp.pfl ? Are those settings correct ?
    Hope this helps.
    Regards,
    Vincent

  • Response.addCookie() not working on OC4j stand alone server

    Hi,
    I have problem with response.addCookie(). see the code below:
    if ((isCookie == null)||(!(isCookie.equals("yes")))) {
    String cookiestr="I am OK";
    Cookie m_cookie = new Cookie("msign",cookieStr);
    m_cookie.setMaxAge(300);
    response.addCookie(m_cookie);
    This part of the code is in Struts Action class. The read Cookie part is in JSP.
    Cookie[] cookies= request.getCookies();
    if(cookies != null)
    for (int i = 0; i < cookies.length; i++)
    if (cookies.getName().equals("msign"))
    String infor = cookies[i].getValue();
    response.sendRedirect("hellow.jsp");
    break;
    Add cookie and read cookie work fine on my computer If I runs application on JDeveloper 10g embeded OC4j server. I can see the cookie in the Temporary Internet files
    However, I deployed the application on OC4j standalone server, it does not work. response.addCookie() does not work at all. The cookie is not sent to the browser at all. There is no this cookie in Temporary internet file. The page is not directed to hellow.jsp.
    Does anybody here know why? Any idea?
    Thank you very much!
    jfu
    Edited by: jfu on Dec 15, 2009 1:26 PM

    Hi,
    I have problem with response.addCookie(). see the code below:
    if ((isCookie == null)||(!(isCookie.equals("yes")))) {
    String cookiestr="I am OK";
    Cookie m_cookie = new Cookie("msign",cookieStr);
    m_cookie.setMaxAge(300);
    response.addCookie(m_cookie);
    This part of the code is in Struts Action class. The read Cookie part is in JSP.
    Cookie[] cookies= request.getCookies();
    if(cookies != null)
    for (int i = 0; i < cookies.length; i++)
    if (cookies.getName().equals("msign"))
    String infor = cookies[i].getValue();
    response.sendRedirect("hellow.jsp");
    break;
    Add cookie and read cookie work fine on my computer If I runs application on JDeveloper 10g embeded OC4j server. I can see the cookie in the Temporary Internet files
    However, I deployed the application on OC4j standalone server, it does not work. response.addCookie() does not work at all. The cookie is not sent to the browser at all. There is no this cookie in Temporary internet file. The page is not directed to hellow.jsp.
    Does anybody here know why? Any idea?
    Thank you very much!
    jfu
    Edited by: jfu on Dec 15, 2009 1:26 PM

  • Application restart not working in oc4j

    I have an application that runs if I stop and start oc4j using stop and start options, but if I restart from em console it does not work properly eventhough em says the status is up.
    Using oc4j 10.1.3.3
    The application starts thread in ContextInitialzed() method of ServletListener which implements ServlerContextListener. Does it have to do anything with that.
    Also the application does not log to the logger which is set using JVMARGS -Djava.util.logging.config.file in oc4j.cmd file. It logs when oc4j is stopped and started.
    Any ideas?

    Greetings,
    Are you looking in j2ee/home/log/oc4j/log.xml for your log information? Also, you can set the level of logging to FINEST in your j2ee-logging.xml. Once this is done please post the logging info relevant to your issue.
    -Mike

  • Can any one please tell me why this e-class is not working

    Hi
    I want to listen the following e-class. But its not running. Can any one please tell me why its not working
    I have windows media player 11 in my system
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/34b9359e-0701-0010-f59d-ee014d5079b3?prtmode=navigate"></a>
    Best Regards
    Ravi Shankar B

    Hi
    I want to listen the following e-class. But its not running. Can any one please tell me why its not working
    I have windows media player 11 in my system
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/34b9359e-0701-0010-f59d-ee014d5079b3?prtmode=navigate"></a>
    Best Regards
    Ravi Shankar B

  • Running syndaemon at startup in .xinitrc not working

    I'm trying to run syndaemon so I can set my touchpad to turn off when typing. I'm using the command:
    syndaemon -i 1 -d
    If I issue this after logging into Gnome in a terminal, it works fine and I can see the syndaemon process running in System Monitor.
    But if I add the command to my .xinitrc it doesn't work. I followed the instructions in the wiki, to no avail. I also found that another command I wanted to issue in .xinitrc ("xset -dpms") to solve a different problem with gnome-power-manager wasn't working either. I got that to work by issuing the command as a startup program in Gnome's Starup Applications gui.
    Anyway, I guess I could do the same thing with syndaemon, but I'm wondering why it's not working in .xinitrc, as it's supposed to. Thanks for any help.

    Okay, I tried slim and it did execute the xset and syndaemon commands from .xinitrc.
    Then in a Google search this old post from the Arch forums turned up, from way back in 2003: http://bbs.archlinux.org/viewtopic.php?id=726. At the end Xentac explains that GDM does in fact only look to .xinitrc for what window manger to start and ignores everything else (which of course is also what Wilco says above).
    Xentac wrote:
    If you choose the option to load fluxbox, that's all it will do.  It won't load anything in .xinitrc or .xsession.
    There should be a Session option in gdm.  Add fluxbox to the end of your .xsession (so it should now look exactly like your .xinitrc) and choose the Session option in gdm.
    Gdm assumes that your window manager will do all the auto-loading stuff (like gnome and kde do) so if it doesn't there isn't an easy way to add it, apart from hacking up the gdm menu item scripts (if you wanted to they're in like /etc/gdm/Session.d or something).
    So I guess using the startup applications gui in Gnome is the right way to do it. Unless anyone objects, I'm going to add a note to the wiki. Reading around, it seems like it might be possible to somehow execute startup processes with GDM reading a .xession file, but I didn't really get it.
    Curiously, when I was using Slim it solved a different bug I was having, with my brightness getting dimmed after every shutdown. So at least now I know it's gdm that's doing that. And once again I've learned that I'm more likely to turn up relevant Arch forum posts with google searches than with the Arch forum search function.
    And thanks again to everyone for their suggestions and ideas about how to address this issue.

  • APT and inner classes does not work.

    Hi
    Am I the only one who cannot make APT process local classes in methods, or anonymous classes. The are not declared in the APT definition of declared, but nor are they included!
    Also, has anyone had problems in that anonymous classes cannot be annotated using annotations, because there is no syntactic place to add metadata.
    But even so, I should like to process annotated methods in local or anonymous classes.
    -- Kasper

    By design anonymous and local classes are not visible in apt as the interiors of methods and constructors are not exposed.

  • SHA-1 Encryption is not working under OC4J security

    Hi,
    I have to turn to your help after no luck with other possible resource.
    I implemented container managed security on my apps and it works well without the encrypted password(clear text) in the table column.
    (Jdeveloper 10g, OC4J 10g)
    Now I referred OC4J Security guide to implement the password encryption as follows:
    1. Using the DBTableOraDataSourceLoginModule, set the option pw_encoding_class = oracle.security.jazn.login.module.db.util.DBLoginModuleSHA1Encoder
    2. run the following procedure:
    DECLARE
        l_password VARCHAR2(50) := 'welcome';
        l_password_raw RAW(128) := utl_raw.CAST_TO_RAW(l_password);
        l_encrypted_raw RAW(2048);
        l_encrypted_string VARCHAR2(2048);
        l_encrypted_string2 VARCHAR2(2048);
    BEGIN
        dbms_output.put_line('Password in String: ' || l_password);
        dbms_output.put_line('Password in raw: ' || l_password_raw);
        l_encrypted_raw := dbms_crypto.hash(l_password_raw, dbms_crypto.HASH_SH1);
        dbms_output.put_line('SH1: ' || l_encrypted_raw);
        l_encrypted_string := UTL_ENCODE.BASE64_ENCODE(l_encrypted_raw);
        dbms_output.put_line('Base64Encoding: ' || l_encrypted_string);
    END;
    3. update the clear text password with the SHA-1 encrypted password and encoded in Base64Encoding (in my case, it's the parameter "l_encrypted_string")Before setting up pw_encoding_class option, the DBTableOraDataSourceLoginModule with the clearText password in table column is working well.
    Now after the above steps, I run the application and login says "password not matching!" If anyone know what's going on, please advise me what's wrong...pls
    thanks very much,

    Hi,
    hard to say without knowing the code the OC4J team uses in their login module. I know they based it on a JAAS LoginModule I wrote some years ago, but they did change some parts of it. In the original version. the password was read from the database and then compared with the provided password string. Using encryption it uses a class to encode and decode the password queried from teh database. My guess is that the returned string - after decoding - doesn't meet the password string you provide when authenticating. Since this piece of code is owned by the OC4J team, I suggest to try the Application Server forum or the Security forum
    Frank

  • GET_DYNAMIC_QUERY_RESULT ( ) of GenIL IMPL Class is not working properly

    Hi Experts,
    Please guide me to resolve the following issue !
    The input parameter ( it_selection_parameters )  of the GET_DYNAMIC_QUERY_RESULT are not being populated when I tested in Debugger this is blank.
    When I tested my Search Object from GenIL BOL Browser I am receiving this error.
    I have defined z table and then defined BOL Compoment, BOL Component Set, Z Object_Table, Z Model_table, GenIL Implementation Class and then created structure similar to my ztable and added it to the z Object table for Search, Root and Search Result Objects and also added this structure for Root Object in Z Model Table
    These are the foue methods that I have redefined for GenIL Implementation Class.
    method IF_GENIL_APPL_INTLAY~GET_DYNAMIC_QUERY_RESULT.
    *CALL METHOD SUPER->IF_GENIL_APPL_INTLAY~GET_DYNAMIC_QUERY_RESULT
    EXPORTING
       IV_QUERY_NAME           =
       IS_QUERY_PARAMETERS     =
       IT_SELECTION_PARAMETERS =
       IV_ROOT_LIST            =
    DATA: lr_object TYPE REF TO if_genil_cont_root_object,
    lt_result TYPE TABLE OF zusr1_bol_st,
    lv_dyn_where TYPE string,
    lv_len TYPE i ,
    ls_range TYPE ty_general_rng.
    DATA: lt_bp_guid TYPE tt_general_rng,
    lt_bname_range TYPE tt_general_rng,
    lt_name_first TYPE tt_general_rng,
    lt_name_last TYPE tt_general_rng.
    FIELD-SYMBOLS: <lfs_result> TYPE zusr1_bol_st,
    <lfs_selection_range> TYPE genilt_selection_parameter.
    " decomposition of selection parameters and build a dynamic where condition
    LOOP AT it_selection_parameters[] ASSIGNING <lfs_selection_range>. 
    MOVE: <lfs_selection_range>-sign TO ls_range-sign ,
    <lfs_selection_range>-option TO ls_range-option ,
    <lfs_selection_range>-low TO ls_range-low ,
    <lfs_selection_range>-high TO ls_range-high.
    CASE <lfs_selection_range>-attr_name.
    WHEN 'BNAME'.
    APPEND ls_range TO lt_bname_range[].
    CONCATENATE lv_dyn_where 'bname in lt_bname_range[] and' INTO lv_dyn_where SEPARATED BY space .
    WHEN 'BP_GUID'.
    APPEND ls_range TO lt_bp_guid[].
    CONCATENATE lv_dyn_where 'bp_guid in lt_bp_guid[] and' INTO lv_dyn_where SEPARATED BY space .
    WHEN 'NAME_FIRST'.
    APPEND ls_range TO lt_name_first[].
    CONCATENATE lv_dyn_where 'name_first in lt_name_first[] and' INTO lv_dyn_where SEPARATED BY space .
    WHEN 'NAME_LAST'.
    APPEND ls_range TO lt_name_last[].
    CONCATENATE lv_dyn_where 'name_last in lt_name_last[] and' INTO lv_dyn_where SEPARATED BY space .
    ENDCASE.
    ENDLOOP.
    TRANSLATE lv_dyn_where TO UPPER CASE.
    lv_len = STRLEN( lv_dyn_where ) - 4 . "remove the last 'AND' in the condition
    lv_dyn_where = lv_dyn_where(lv_len) .
    CHECK STRLEN( lv_dyn_where ) > 0.
    SELECT * FROM zusr_bol_tb INTO TABLE lt_result[] WHERE (lv_dyn_where). "Here I am receiving the error
    CHECK LINES( lt_result[] ) > 0.
    LOOP AT lt_result[] ASSIGNING <lfs_result>.
    lr_object = iv_root_list->add_object( iv_object_name = 'Root'
    is_object_key = <lfs_result>-bname ).
    CHECK lr_object IS BOUND.
    lr_object->set_query_root( abap_true ).
    ENDLOOP.
    endmethod.
    method IF_GENIL_APPL_INTLAY~GET_OBJECTS.
    **TRY.
    *CALL METHOD SUPER->IF_GENIL_APPL_INTLAY~GET_OBJECTS
    EXPORTING
       IT_REQUEST_OBJECTS =
       IV_ROOT_LIST       =
    **ENDTRY.
    DATA: lr_object TYPE REF TO if_genil_container_object,
    lr_msg_cont TYPE REF TO cl_crm_genil_global_mess_cont,
    lv_name_obj TYPE zusr_bol_tb-bname,
    lr_attr_props TYPE REF TO if_genil_obj_attr_properties,
    l_result TYPE zusr_bol_st,
    lv_name TYPE crmt_ext_obj_name.
    lr_object = iv_root_list->get_first( ).
    lr_msg_cont ?= iv_root_list->get_global_message_container( ).
    WHILE lr_object IS BOUND.
    lv_name = lr_object->get_name( ).
    IF lr_object->check_attr_requested( ) = abap_true.
    lr_object->get_key( IMPORTING es_key = lv_name_obj ).
    SELECT SINGLE * FROM zusr_bol_tb
    INTO CORRESPONDING FIELDS OF
    l_result WHERE bname = lv_name_obj.
    lr_object->set_attributes( l_result ).
    lr_attr_props = lr_object->get_attr_props_obj( ).
    lr_attr_props->set_all_properties( if_genil_obj_attr_properties=>read_only ).
    ENDIF.
    lr_object = iv_root_list->get_next( ).
    ENDWHILE.
    endmethod.
    SELECT * FROM zbol1_model
    INTO CORRESPONDING FIELDS
    OF TABLE rt_relation_det.
      SELECT * FROM zbol1_object
    INTO CORRESPONDING FIELDS OF TABLE
    rt_obj_props[].
    Thanks,
    Bujji

    Hi Experts,
    I have resolved it myself.
    The above code only works when I include at least one query parameter.
    Hence, when I included the query parameters in BOL Browser it started working.
    Thanks,
    Bujji

  • Startup Manager is not working

    The startup manager doesn't boot when I start the computer while holding the option key. Even if there are no other volumes connected, it still doesn't show the startup manager screen (just main startup disk and recovery).
    I recently just reinstalled the OS via recovery mode (other unrelated problem, no biggie). I made a bootable clone with Carbon Copy Cloner, to a bare harddrive of same capacity via a FW800 dock. Booting with the clone via System Preferences isn't a problem. But the Start + Option route doesn't work.
    I'm thinking it's the graphics card that I have, a GTX 680 (not flashed for Mac). Because the card hasn't been flashed I don't get the gray screen with Apple logo screen, it goes straight to the Login Page. Not a problem for me, but maybe this is the reason?
    Specs:
    Mac Pro 5,1 2.4 GHz 12 core
    GTX 680 - latest Nvidia Web Driver and CUDA Driver
    10.8.5 - all updated
    Thanks

    Try downloading the HP Support Assistant and running it. It should be able to detect any missing drivers for you.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • URL class is not working in Java 1.4. However works in Java 1.3

    I have a Java program which uses URL classes through FTP connection to open any files. It works fine in Java 1.3 version. However the same program fails with
    java.io.FileNotFoundException: at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream
    when using Java 1.4 version.
    Here is the part of source code.
    try
    URL url ;
    url = new URL("ftp://"); // I have not given the full connect string here.
    URLConnection connection = url.openConnection();
    BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null)
    System.out.println(inputLine) ;
    in.close();
    catch(Exception e)
    System.out.println("Error occured " + e.getMessage());
    Anyone has ideas about what is going wrong and how to correct that. I appreciate your reply.
    Thanks

    Here is the original code. I have not given the password and using as "anonymous". Again this code works fine in Java1.3. But not in Java1.4 . I appreciate your help .Is it something I have to set up in UNIX side. The exact error is
    <p>
    "Exception in thread "main" java.io.FileNotFoundException: oraom/temp.log
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
    tion.java:333)
    at java.net.URL.openStream(URL.java:913)
    at temp.main(temp.java:17) "
    <P>
    import java.net.*;
    <P>
    import java.io.*;
    <P>
    import java.util.*;
    <P>
    public class temp
    <P>
    <P>
    public static void main(String args[]) throws Exception
    <P>
    <P>
    URL url = new URL("ftp://oraom:anonymous@oradev:/oraom/temp.log");
    <P>
    try
    <P>
    <P>               
    URLConnection connection = url.openConnection();
    <P>
    connection.setDoInput(true);
    <P>
    BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
    <P>
         String inputLine;
    <P>
         while ((inputLine = in.readLine()) != null)
    <P>
         System.out.println(inputLine) ;
    <P>
         in.close();
    <P>
    <P>
    catch(Exception e)
    <P>
    <P>
    throw e;
    <P>
    <P>                                                  
    <P>
    <P>
    </P>

  • Question mark folder at startup, safe boot not working

    Last night my iMac froze up, Force Quit didn't work, and I used the Power button to shut it off.  When trying to restart, it was getting stuck at the grey Apple.
    I tried unplugging the peripherals and restarting; zapping the PRAM and restarting; safe boot and restarting.  Safe boot did it.
    I then ended up going through those steps a few more times as my iMac starting freezing up again.  One of those times I changed all my applications in the dock that were set to launch at login to not do so, wondering if that was somehow causing a problem.  I also took a folder of recent items I'd created, mostly a LOT of PDFs of newspaper articles, burned it to a DVD and deleted the folder to free up more memory if that was part of the problem (I'm running out).  I then restarted from the Apple menu and it shut down through safe boot and then restarted without safe boot and did so just fine.  I ran Disk Utility and very few if any permissions needed repairing.  And it was operating OK for a bit and then froze up again.
    Now I'm getting the question mark folder at startup and safe boot isn't working.  What should I be trying next?  Lion Recovery with Command-R?  I'm relatively new to Lion, but it had been working OK for me for a while now.
    What other things should I try?  Would Target Disk mode possibly work from the MacBook I'm using now, which doesn't have Lion installed?

    The question mark folder usually means that the
    firmware could either not find a valid operating
    system to boot, or, it could not find a hard disk
    with an operating system on it.
    Have you tried booting to Lion Recovery?  If
    you can, then go into Disk Utility and do a
    Repair Disk on your OSX volume.  If the
    OSX volume is not showing up, you may need
    to do a reformat and re-install.
    Since it is a 24" iMac (from your description) it was
    a pre-Lion Mac.  If you still have the original install
    disks, try booting with it and use Disk Utility from it
    to see if the hard drive is working.
    Try this first before making a road trip.

  • Robot class is not working in the remote desktops.

    Hi All,
    Iam using windows o.s, I am trying to run the following sample code in the remote desktop (windows paltform), In my desktop its working fine, but I am not able to run this code in the remote desktops...
    Iam able to control the keyboad in the remote desktops, but am not able to contol the mouse.......
    import java.awt.AWTException;
    import java.awt.Robot;
    public class ClsOne {
         public static void main(String ar[]) throws AWTException{
              Robot r= new Robot();
              r.mouseMove(100, 100);
    }

    Thank u for your answer.
    Yes, of course .. i�ve already apply the unique key validator for the entity.. so that custom error message is the error im trying to get in the application.
    Other issue is when im trying to edit that error message: when im going to edit the message the previous error im entered is not there. Is it normal?

Maybe you are looking for

  • External component usage with interface node

    Hi everyone, I have component A , which has an interface node with Input element checked: Nodes      Node Name     IF_HROBJID Interface Node     1 Input Element (Ext.)     1 Dictionary structure     ZHR_HROBJID_LIST Cardinality     0..n I have anothe

  • Diff between Thin client and Rich client

    Hi Everyone,           Can someone give me a clear picture of the what is the diff between Thin client and Rich client. Thanks, Krishna

  • How can I use LabVIEW as an OPC-client, without using datasockets ?

    I heared that would be possible with the newest edition.

  • Solaris Express 11 and Mac compatibility

    Hi all, I would want to use Solaris with my Mac so I tried to boot on the DVD and install the Developer version, the Mac boot on it correctly and started to install Solaris. But I have a problem with the screen (APPLE 23' with a NVidia 7300GT) when i

  • And again firewall issue... (but take a look, pls)

    I read posts here again and again, but didn't find an answer; situation: 1. my rmi-app works fine on local network; 2. i deployed Server-side of it on my web-server; 3. web-admin opened 2 ports (1099 & 3456) in server firewall; 4. server started; 5.