EJB 2 into weblogic 8, help please.. how to invoke

hello
i have one ejb into weblogic, session ejb stateless.
the ejb-jar file has this:
<session>
<description><![CDATA[MiCallejeroSession Session]]></description>
<display-name>MiCallejeroSessionEJB</display-name>
<ejb-name>MiCallejeroSessionEJB</ejb-name>
<home>MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSessionHome</home>
<remote>MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSession</remote>
<ejb-class>MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
and into the weblogic-ejb.jar i have this:
<weblogic-enterprise-bean>
<ejb-name>MiCallejeroSessionEJB</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>50</max-beans-in-free-pool>
<initial-beans-in-free-pool>0</initial-beans-in-free-pool>
</pool>
<stateless-clustering></stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
</transaction-descriptor>
<jndi-name>Mi.MiCallejeroSessionEJB</jndi-name>
</weblogic-enterprise-bean>
when i want to referer to the ejb i think that i must to invoque the jndi name (Mi.MiCallejeroSessionEJB) but if i make this produces one error.
for running imust to invoke using the:
MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSessionHome. the home interface.
wich is my error? can you help me?
thanks

You can invoke the SessionEJb without the JNDI name as
MiCallejeroSessionHome sessionhome=null;
InitialContext ctx = new InitialContext();
sessionhome=(MiCallejeroSessionHome)ctx.lookup("java:comp/env/MiCallejeroSessionEJB");
MiCallejeroSession session=null;
session=sessionhome.create();
I think we can invoke the EJBs without their JNDI names also.

Similar Messages

  • Help Please: How to invoke unix command lines from java?

    I have read past topics. Those are really helpful, but I still haven't got my job done. I tried the following:
    String command1 = "ls -la > ls1.txt";
    Runtime.getRuntime().exec(command1);
    String command2 = "tcsh -c ls -la > ls2.txt";
    Runtime.getRuntime().exec(command2);
    String command4 = "cp keywords.txt copyversion1.txt";
    Runtime.getRuntime().exec(command4);
    String command5 = "tcsh -c cp keywords.txt copyversion2.txt";
    Runtime.getRuntime().exec(command5);
    String command6 = "tcsh -c 'cp keywords.txt copyversion3.txt'";
    Runtime.getRuntime().exec(command6);
    Only "command4" works. Any input will be greatly appreciated.

    Thank you very much Gautam. Your solution certainly works. If you don't mind, I would like to ask you (or anybody who is willing to answer) something else. I am trying to run other types of unix command lines as well. I thought that the format you gave would work for everything. But it doesn't seem so:
    String command1[] = {"tcsh", "-c", "ls -la > ls1.txt "}; // this works as you suggested
    Runtime.getRuntime().exec(command1);
    String command12[] = {"tcsh", "-c", "lynx -dump http://www.yahoo.com > webpage.txt"}; //working fine.
    Runtime.getRuntime().exec(command12);
    String command10[] = {"tcsh", "-c", "ngram-count -text keywords.txt -lm LM10 &"}; //doesn't work
    Runtime.getRuntime().exec(command10);
    String command[] = {"tcsh", "-c", "/u/drspeech/sun4/bin/ngram-count -text keywords.txt -lm LM0 &"}; // doesn't work
    Runtime.getRuntime().exec(command);
    String command13[] = {"tcsh", "-c", "ngc -text keywords.txt -lm LM13"}; // doesn't work
    Runtime.getRuntime().exec(command13);
    String command8 = "ngram-count -text keywords.txt -lm LM8 &"; //doesn't work
    Runtime.getRuntime().exec(command8);
    String command9 = "/u/drspeech/sun4/bin/ngram-count -text keywords.txt -lm LM9 &"; //doesn't work
    Runtime.getRuntime().exec(command9);
    I tried "commandd1" and "command12". Those worked fine. No problemo. However, there's someting else I need to get done for my job; that is "command10". But it just didn't work. I thought maybe, it's because "ngram-count" is not part of the standard UNIX commands. So, I thought I might just add another alias for it in the ".cshrc" file and call it "ngc" instead. Then I tried to call the alias "ngc" instead. But it didn't work also. Then I thought, maybe, I should call it by referencing it from its original directory "/u/drspeech/sun4/bin/ngram-count". That didn't work either. I tried a couple of other combinations. None worked. I would really like to see how to solve this.

  • Can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    I have same problem.
    However, I am unable to turn on Assistive Touch.
    At one time I was able to activate it, but it went away and now I cant reactivate.
    What is the solution?

  • HELP PLEASE How do I remove my credit info from iOS7. "None" is not there anymore as a selection btw help.

    Please help idk how to remove credit information the "none" selection is gone now ios7 plz help

    Yes it is...

  • Updated my iPhone 4 S to 0s 8 last night now can't get into apps it me to signe into i CLOUD  HELP PLEASE

    updated my i Phone 4 s to os 8  last night now can't get into my apps it requests i sign into iCLOUD  HELP PLEASE

    Before I updated this I turned my phone on, entered my password and if I pressed one of the apps it immediately went into that with no problem.  Since updating it immediately I press to go into an app it comes with a big white square on the screen stating "sign into iCloud"  Enter the Apple ID password for my email address.  Then  asks for my password to be entered.  If i press cancel it reverts to the app for 1 second then goes back to the above screen.  The only other option is to sign into iCloud.  I have never used iCloud before.  Can you help please.

  • Servlet not inserting into Access Databse. help please

    I have the following code which is inserting three fields into a database. The database name is contacts.mdb, and the table is contacts. I have setup the ODBC connection on the server, of which I have both IIS and Tomcat running. The form.html that I am accessing is on the tomcat server root and that code is below as well. After hitting the submit button on the form I get forwarded to the servlet, and the page is blank. However, when I open the database, no updates have occured. Please help. I hope I have provided enough detail. Thanks so much.
    -------- servlet code start --------------
    import java.sql.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class WebServlet
    extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,
    IOException {
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String sourceURL = "jdbc:odbc:terry_web_contacts";
    Connection databaseConnection = DriverManager.getConnection(sourceURL);
    Statement stmt = databaseConnection.createStatement();
    String jname = request.getParameter("Name");
    String jemail = request.getParameter("Email");
    String jcomments = request.getParameter("Comments");
    String sqlInsertString ="INSERT INTO contacts (name, email, comments) VALUES ('" + jname +"', '" jemail "', '" + jcomments + "')";
    stmt.executeUpdate(sqlInsertString);
    databaseConnection.close();
    catch(ClassNotFoundException cnfe)
    System.err.println("Error loading Driver");
    catch (SQLException sqle){
    System.err.println("SQL Error");
    ---------- servlet code end ---------------------
    ---------- html form code start ------------------
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY BGCOLOR="WHITE">
    <TABLE BORDER="2" CELLPADDING="2">
    <TR><TD WIDTH="275">
    <H2>I'm a Simple Form</H2>
    <FORM METHOD="POST" ACTION="/servlet/WebServlet">
    <p>
    <INPUT NAME="Name" TYPE="TEXT" id="Name" SIZE=30>
    </p>
    <p>
    <INPUT NAME="Email" TYPE="TEXT" id="Email" SIZE=30>
    </p>
    <p>
    <textarea name="Comments" id="Comments"></textarea>
    </p>
    <P>
    <INPUT TYPE="SUBMIT" VALUE="Click Me">
    <INPUT TYPE="RESET">
    </FORM>
    </TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    ------------- html code end ------------------

    Okay, here is my modified code. However, I catch a sql error. It prints out "sql error". If I try to isolate the different lines of code with try catch blocks, the compiler says it does not recognize the symbols for example stmt, or databaseConnection. Arggh, what can I do? Help please.
    import java.sql.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class WebServlet
        extends HttpServlet {
      public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException,IOException
         PrintWriter out = response.getWriter();
         String jname = (String) request.getParameter("Name");
         String jemail = (String) request.getParameter("Email");
         String jcomments = (String) request.getParameter("Comments");
    try
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(ClassNotFoundException e)
         out.println("class error");
    try
         Connection databaseConnection = DriverManager.getConnection("jdbc:odbc:terrycontacts");
         Statement stmt = databaseConnection.createStatement();
         String sqlInsertString ="INSERT INTO contacts(name,email,comments) VALUES('"+jname+"','"+jemail+"','"+jcomments+"')";
         stmt.executeQuery(sqlInsertString);
         databaseConnection.commit();
         databaseConnection.close();
    catch(SQLException e)
         out.println("sql error");
         out.close();
    }

  • OK, have 7th Generation IPOD. Have downloa latest version, downloaded about 23 CD's .. all into my PV, but cannot figure out how to het things to download into IPOD. HELP, please?

    I have a 7th generation IPOD, I have downloaded APPLE ISTORE software and have downloaded 23 of my CD's. All of this is being done thru a Windows desk top. I can not get it to download automatically the CD's to my IPOD. Please advise

    Connect your iPod and in iTunes click on the name of your device which should appear in a tab towards the top right of the screen. In the tabs that appear click on music, pick what you want to sync, then click apply.

  • Help please - how do i back up my pc photos to icloud so that they stay there??

    Hi,
    This is possibly the stupid question of the day but please bear with me and help if you can, as I've searched and just can't figure it out. I'm not usually PC illiterate!! I'm trying to work out how to back up my PC photos (Windows 7) to icloud. I thought it might be as simple as pasting them into photostream but apparently if they're linked to photostream they only stay there for 30 days. I am totally lost but have bought sufficient storage space to be able to hold them all.
    I would really appreciate any help - really struggling to work it out, whilst simultaneously entertaining 1 year old!!
    Thanks in advance

    iCloud Photo Library beta FAQ - Apple Support

  • Help Please: How to Undo Tables to AP divs

    I think I did something silly! I was playing around in Dreamweaver on and I was looking under the tabs > Modify > Convert > Tables to AP divs. So I clicked on "Tables to AP divs" (just to see what it would do) THINKING that anything I would have done I would be able to "undo" - well no, I couldn't undo it. The page is titled "RequestOrder". Then I opened up another page called "RequestInspection" and this also effected that page! I opened up a whole other website and all pages titled "Request[any name]" also had the same effect! Any pages that do not have "Request" in the title have not been effected.
    Can someone please tell me what I did wrong and how to please undo it? When I view the pages in the browser everything looks normal. But I would like it all to go back to the way it was.
    I have learned my lesson - not to just click on something just to see what it does...usually I don't get into a situation where I cannot undo something.
    Thanks so much!!
    -J
    Example of what the page looks like in Dreamweaver:

    JanineP wrote:
    I have learned my lesson - not to just click on something just to see what it does...usually I don't get into a situation where I cannot undo something.
    My father said the same thing four times in 2009, after I had to reformat his entire system in 2008, 2007 and 2006 for things he "clicked on to see what they did". What they did was install rootkit viruses that even AVG couldn't remove.
    I don't touch his system anymore. A local company does it for $200 a shot... This is a $300 e-machine we're talking abut and he spends $800- $1000 a year to "clean it up" because he STILL hasn't learned to investigate things before putting his files at risk by clikcing things.
    You CAN undo this, but it won't be with a single click (sorry to disappoint you). Even if there were a "one click" way to do it, I'd recommend that you do what I'm going to suggest as a lesson in why you don't click things "just to see what they do" with something important.
    Open your site one page at a time and above every APDiv, insert a new table, then copy (one cell at a time) the content from the APDiv to the table, and delete the ADiv.
    Better yet, since using TABLES for LAYOUT is a bad practice that has been shunned for about seven years now, just start with a new page, using CSS and (not AP) DIVs, and lay it out all over. Then copy the content from your main body into the proper sections and "Save As" to replace each page with one that is W3C compliant and a lot simpler.
    Sorry if that sounds a little sarcastic, but I just got off the phone with a 'friend' who wants me to come over and clean up her PC because she opened an infected e-mail and her six months expired trial of McAfee can't help.I just lost a friend, but saved myself a migraine.

  • I can't insert my data into the table - help please

    Hello everyone,
    I have a trouble about JSP. I'm using Java2 SDK,JSP 1.2,Mysql and TOMCAT.
    I want to do this. A user has to enter the nicno,into the html form(EnterNicInter.jsp),to verify if it is already exist or not. If it is exist in the db, an error msg(Record already exist) must be displayed. If not, then the page "InterviewForm.jsp" displayed. This part is working.
    But, I can't save these details into the db by clicking submit button int the InterviewForm.jsp.
    I wrote a javaBean for this task. Here is it.
    CandidateMgr.java
    package hrm;
    import java.io.*;
    import java.sql.*;
    public class CandidateMgr
         private String nicno;
            private String title;
            private String firstName;
         private String civilStatus;
            private String tele;
            private String eduQua;
         // Constructor
         public CandidateMgr()
              this.nicno = nicno;
              this.title = title;
              this.firstName = firstName;
              this.civilStatus= civilStatus;
              this.tele = tele;
              this.eduQua = eduQua;
              //getters & setters.
               // Initializes the connection and statements
            public void initConnection() {
                    if (connection == null) {
                 try {
                          String sql;
                          // Open the database
                          Class.forName(DRIVER).newInstance();
                          connection = DriverManager.getConnection(URL);
                          //Verify nicno
                          sql="SELECT * FROM Candidate where nicNo= ?";          
                   pstmt1 = connection.prepareStatement(sql);
                   sql ="INSERT INTO Candidate                               
                   VALUES(?,?,?,?,?,?)";
                   pstmt2 = connection.prepareStatement(sql);
             catch (Exception ex) {
                System.err.println(ex.getMessage());
         public boolean verifyNicNo(){
              boolean nic_no_select_ok = false;
              String nic="xxxx";
              initConnection();
                    try {
                       pstmt1.setString(1, nicno);
                   ResultSet rs1 = pstmt1.executeQuery();               
                                if(rs1.next()){
                        nic=rs1.getString("nicNo");
                               if(nic=="xxxx")
                        nic_no_select_ok = true;
                   } else{
                        nic_no_select_ok = false;     
                   rs1.close();
                           pstmt1.close();
                    catch (Exception ex) {
                      System.err.println(ex.getMessage());
              return nic_no_select_ok;
         public boolean addInter(){
              boolean add_inter_ok = false;
              try{
                      //assign values for the object
                   pstmt2.setString(1, nicno);   //      ERROR(java:652)
                   pstmt2.setString(2, title);
                   pstmt2.setString(3, firstName);
                   pstmt2.setString(4, civilStatus);
                   pstmt2.setString(5, tele);     
                   pstmt2.setString(6, eduQua);
                   if(pstmt2.executeUpdate()==1) add_inter_ok=true;
                   pstmt2.close();  
                  catch(SQLException e2){
                           System.err.println(e2.getMessage());
              return add_inter_ok;
    IntreviewForm.jsp (used to submit data into the db)
    <form method="POST" action="InterviewCtrl.jsp">
         //codes
    <input type="text" name="nicno" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="title" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="firstName" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="civilStatus" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="tele" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="eduQua" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    </form>.......................................................................
    Here is the "InterviewCtrl.jsp"
    <%@ page language="java" import="java.util.*"%>
    <%@ page import="hrm.CandidateMgr" %>
    <%@ page session="false" %>
    <jsp:useBean id="candidate" class="hrm.CandidateMgr" scope="request"/>
    <jsp:setProperty name="candidate" property="*"/>
    <%-- Execute the addInter() method on the bean and check if it is true or false.-- %>
    <%-- if it's true then display a confirmation message "InterConfirm.html" --%>
    <%-- else display InterError.html --%>
    <%
    String nextPage ="MainForm.jsp";
    if(candidate.addInter()){
         nextPage="InterConfirm.html";
         }else{
         nextPage="InterError.html";
    %>
    <jsp:forward page="<%=nextPage%>"/>.......................................................................
    Here is the error:(I mark it in my bean also)
    root cause
    java.lang.NullPointerException
         at hrm.CandidateMgr.addInter(CandidateMgr.java:652)
         at org.apache.jsp.InterviewCtrl_jsp._jspService(InterviewCtrl_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    I use JSP 1.2 , mySQL with TOMCAT. My table name is Candidate.It's fields are as follows:
    Candidate(nicNo,title,fName,civilStatus,tele,eduQua)
    Can anybody tell me whats going on, help me to solve this please.
    Thanks.

    you should try something different, since you are mixing up a lot of code.
    1) create a separate method just to connect and disconnect from a database;
    2) use the value entered and see if you can find a record in the table. If the record is there, then you should re-direct your jsp to a jspError, else goes to another form.
    the code below give you some idea
          if( sAction.equals("Add1") ) {
            sITEM = request.getParameter("parameter1");
            try {
              itemmaster.connect();
              itemmaster.viewitemmaster( sITEM );
              rs = itemmaster.getRs();
              if( rs.next() ) {
                sURL = "additemmaster1.jsp";
              else {
                request.setAttribute( "asITEM", sITEM );
                sURL = "additemmaster2.jsp";
            finally {
              rs.close();
              itemmaster.disconnect();
          }

  • Help Please: How to make a connection pool with mySQL

    Hi,
    I am learning the example codes shipped with weblogic server, which is under ...samples\examples\ejb20\basic\beanManaged. The original connection pool was on cloudscape. I was trying to modify it and make it connect to mySQL.
    In ejb-jar.xml and weblogic-ejb-jar.xml, I replaced "demopool" (which was the original pool name) with "demopool1".
    After starting the server, I tried to configure a new connection pool as following:
    Name: demopool1
    URL: jdbc:mysql:///test
    Driver Classname: org.gjt.mm.mysql.Driver
    Properties
    (key=value): user=none
    server=none
    But I got the following errors:
    <2007-10-5 ??06?30?09?> <Error> <JDBC> <Cannot startup connection pool "demopool1" Cannot load driver class: org.gjt.mm.mysql.Driver>
    What should I do to let the server find the Driver?
    Thanks a lot.

    Hong Qu wrote:
    Thank you Joe,
    I added the jar file location to the startExampleServer script. But when I tried to configure the Tx Data Sources from the console, I got the following error:
    <2007-10-5 ??08?35?17?> <Notice> <WebLogicServer> <Started WebLogic Admin Server "examplesServer" for domain "examples" running in Development Mode>
    setEntityContext called
    ejbFindByPrimaryKey (ID: 0)
    Failed to lookup JDBC Datasource. Please double check that
    the JNDI name defined in the resource-description of the
    EJB's weblogic-ejb-jar.xml file is the same as the JNDI name
    for the Datasource defined in your config.xml.
    <2007-10-5 ??08?38?16?> <Error> <JDBC> <Error during Data Source creation:
    weblogic.common.ResourceException: DataSource(examples-dataSource-demoPool1)
    can't be created with non-existent Pool (connection or multi) (demoPool1)>>
    Do you know where is wrong?
    Another problem is the connection method in AccountBean.java:
    private Connection getConnection()
    throws SQLException
    InitialContext initCtx = null;
    try {
    initCtx = new InitialContext();
    DataSource ds = (javax.sql.DataSource)
    initCtx.lookup("java:comp/env/jdbc/demoPool");First verify from the console that a pool 'demoPool1' exists and
    that you can test it from the console. Then find the DataSource
    you associated with that pool. For an EJB I would suggest a
    TxDataSource. You defined some JNDI name for the DataSource. Use
    that name in the lookup. For instance, if your DataSource's
    JNDI name is 'MyDataSource', the code should do this:
    DataSource ds = (javax.sql.DataSource)
    initCtx.lookup("MyDataSource");
    return ds.getConnection();
    } catch(NamingException ne) {
    log("Failed to lookup JDBC Datasource. Please double check that");
    log("the JNDI name defined in the resource-description of the ");
    log("EJB's weblogic-ejb-jar.xml file is the same as the JNDI name ");
    log("for the Datasource defined in your config.xml.");
    throw new EJBException(ne);
    } finally {
    try {
    if(initCtx != null) initCtx.close();
    } catch(NamingException ne) {
    log("Error closing context: " + ne);
    throw new EJBException(ne);
    I couldn't figure out what "java:comp/env/jdbc/demoPool" was related, so I just replaced "demopool" with "demopool1". Do you konw what "comp/env/jdbc" mean? Is it a location?
    Thank you so much.
    Iris

  • Deploying EJB EARs to Weblogic -- need help with descriptor file?

    I posted this in a different area... maybe it will help to post here.
    Hi all...
    Can someone give me a hand with getting the descriptor correct? I find lots of information about the structure of the XML file, but not much on what needs to go in it.
    If I deploy with it i the default state I don't get that error... but I can't dig my beans out with JNDI.
    I also notice that the class is not the generated class I would expect (and see on other deployments) but is "com.java.proxy.PROXY"
    Here is the top of my bean...
    package f17.ejb.creditdata;
    import javax.ejb.SessionContext;
    import javax.ejb.Stateful;
    @Stateful(name = "creditScoreData", mappedName = "f17.ejb.creditData-creditScoreData")
    public class creditScoreDataBean implements creditScoreData {
    This is my weblogic-ejb-jar.xml as it stands:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
                      xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
      <weblogic-enterprise-bean>
        <ejb-name>creditScoreDataBean</ejb-name>
        <stateful-session-descriptor>
          <business-interface-jndi-name-map>
            <business-remote>creditScoreData</business-remote>
            <jndi-name>creditScoreData</jndi-name>
          </business-interface-jndi-name-map>
        </stateful-session-descriptor>
        <ejb-reference-description>
          <ejb-ref-name>creditScoreData</ejb-ref-name>
          <jndi-name>f17.ejb.creditdata.creditScoreData</jndi-name>
        </ejb-reference-description>
        <jndi-name>f17.ejb.creditdata.creditScoreData</jndi-name>
      </weblogic-enterprise-bean>
    </weblogic-ejb-jar>

    I figure this out.. wanted to delete the thread.. but I can't find that option. lol

  • HELP PLEASE~How to turn the buzz off my iSight iMacG5...

    Hi all,
    I seriously need some help here. I've got my iMac 20" couple weeks ago, and it was quiet at first. I didn't hear the buzz sound coming from the middle left until maybe about 3~5 days. Now my roommate just got a 17" iSight iMac, which is whisper quiet. I still can hear the fan or air goes in and out from her machine but it is totally acceptable unlike mine...
    I thought it was due to the upgrade to 10.4.3, so I reinstalled the OS again but the sound's still there. I then took it to a mac store to examine it. This evening a techincian told me it normally functions in a quiet room and he thinks everything's right, so I took it back but the sound's still there...
    Few iMac 20" users here also have the same buzz problems like mine. I really hope it becomes as quiet as the first time I got it, so please let me know if you have any ideas to solve this...The buzz really annoys me especially when I don't hear anything from my roomate's...
    Any input will be much appreicated. Thank you.

    Why don't try reseting the SMU here are the Directions on how to do it.
    The SMU (System Management Unit) is a microcontroller chip on the logic board that controls all power functions for your computer. If your computer is experiencing any power issue, resetting the SMU may resolve it. The SMU controls several functions, including:
    Telling the computer when to turn on, turn off, sleep, wake, idle, and so on.
    Handling system resets from various commands.
    Controlling the fans.
    Note that resetting the SMU does not reset the PRAM. Resetting the SMU will not resolve issues in which your computer is unresponsive—in these situations, restarting your computer will generally suffice. If your computer isn't responding, perform these steps one at a time, in this order, until the issue has been resolved:
    Force Quit (Option-Command-Escape).
    Restart (Control-Command-Power).
    Force Shut Down (press the power button for 10 seconds).
    Resetting the SMU can resolve some computer issues such as not starting up, not displaying video, sleep issues, fan noise issues, and so on. If your computer still exhibits these types of issues even after you've restarted the computer, try resetting the SMU. To reset the SMU on an iMac G5 (Ambient Light Sensor) computer, simply do the following:
    Turn off the computer by choosing Shut Down from the Apple menu, or by holding the power button until the computer turns off.
    Unplug all cables from the computer, including the power cord.
    Wait 10 seconds.
    Plug in the power cord while simultaneously pressing and holding the power button on the back of the computer.
    Let go of the power button.
    Press the power button once more to start up your iMac.
    Unlike earlier iMac G5 computer models, the iMac G5 (Ambient Light Sensor) and iMac G5 (iSight) computers do not have a button on the main logic board for resetting the SMU. This eliminates the need to remove the computer's back cover to reset the SMU.
    Post back, Miguel

  • I cant access my ipod when I turn it on its fine but after i put in my passcode the apple sign comes up like its starting again and i cant get into my ipod help please!!

    When i turn my ipod on it comes up the apple sign with the black background and then asks me to put in my passcode but when I put it in the apple sign comes up again like its restarting but keeps knocking on and off again please help quickly!!

    Place the iPod in recovery mode using one of these programs and then restore via iTunes:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    or
    http://joshuabailey1997.wordpress.com/2010/09/02/recboot-v1-3/
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:       
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single Click
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too

  • Help Please: how to set JDBC properties for data encryption in BC4J

    Hello,
    I am trying to implement JDBC Thin Driver Support for Data Encryption and Integrity.
    With java.sql.Connection and java.util.Properties, one would do something like the following code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Properties props = new Properties();
    int level = AnoServices.REQUIRED;
    props.put("oracle.net.encryption_client", Service.getLevelString(level));
    props.put("oracle.net.encryption_types_client", "( RC4_40 )");
    props.put("oracle.net.crypto_checksum_client",Service.getLevelString(level));
    props.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:main", props);
    But, how can we do this with BC4J objects? Can we set this properties via EnvInfoProvider class? Please help. Thank you very much in advance.
    Zhirong

    Hi,
    Try adding the code in the PBO part of your custom program used for the custom screen which you have created and added inside the BADI.
    Regards,
    Harish

Maybe you are looking for

  • Error message when trying to install Skype on E72-...

    Trying to Re-install Skype on my Nokia E72-1. After doing a Hardware reset It disappeared from my Apps. Now get the following message on Nokia Suite when I try to install it via PC using Nokia Suite. "Could not install this file" "There was a problem

  • Windows 7: VoiceInfo.SupportedAudioFormats not returning results

    I'm running Windows 7 x64 with VS 2008 x64, and have the Microsoft Anna voice and another SAPI5 compatible voice installed (ScanSoft Jennifer - which I can provide a download link for). I'm using the following managed code (from VB.NET) to iterate th

  • Flag message as important

    When sending an e-mail, how do you flag the message as important?

  • Generate Adobe Interactive Form in background and setpdfSource value.

    Hi, Is there any way to create Adobe Interactive Form in the background assigning R/3 data (without displaying) and assign pdfSource binary information in context attribute and later, display Adobe Interactive Form using pdfSource context attribute i

  • Can not disable screen from auto locking

    Windows Phone 8.1 Project in VS 2013. I try the following: using Microsoft.Phone.Shell; PhoneApplicationService phoneAppService = PhoneApplicationService.Current; phoneAppService.UserIdleDetectionMode = IdleDetectionMode.Disabled; The Microsoft.Phone