Login.java Bean found on forum not working.

I found this bean on this forum, It is however not correct, as it will always return true, so a it has a logic error. It has been discussed before on this forum before abut 10 times if you do a search, nobody seems to have a 100% working solution though.
Does anyone have a complete fix to this bean or an alternative they may feel will work????
package foo;
import java.sql.*;
public class Login {
private String username = "";
private String password = "";
public Login() {}
  public void setUsername(String username) {
     this.username = username;
  public void setPassword(String password) {
     this.password = password;
public boolean authenticate(String username2, String password2) throws ConnectionException, SQLException
   String query="select * from Registration;";
   String DbUserName="";
   String DbPassword="";
  try { //try
       Class.forName("com.mysql.jdbc.Driver").newInstance();
        Connection con=DriverManager.getConnection("jdbc:mysql://localhost/Users");
        Statement stat=con.createStatement();
        ResultSet rst=stat.executeQuery(query);
        while(rst.next())
            {  //while
                 DbUserName=rst.getString("UserName");
                 DbPassword=rst.getString("password");
                  if (username2.equals(DbUserName) && password2.equals(DbPassword)) {
                        break;   } //if
             }//while
     return true;
}catch(Exception e){
e.printStackTrace();
return false;
}}

One way is to change the "break;" line to "return true;" and remove the current "return true;" line. Then move the "return false;" line outside the catch section. It seems whatever you are doing is not throwing an exception, so whatever else it does, it always falls thru to the return true line.

Similar Messages

  • Java Desktop Overview (jds-help) not working after upgrade to jdk6u1

    Hello,
    I am running Sol 10 11/06 for sparc on a Sun Blade. I just upgraded to jdk6u1 from jdk5. I installed all required j6 packages, and then installed patches for j6u1. Java seems to be working fine. I then used pkgrm to remove all jdk5-related packages (I searched for all packages starting with SUNWj5 and then removed them).
    Now, my Desktop Overview and other java-related help functions do not work. I get this error:
    # jds-help ghelp:jdsoverview
    ** (jdshelp:826): WARNING **: An exception occured 'Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0''
    Maybe I removed a j5 package I shouldn't have. Which j5 packages are related to the operation of jds-help? Any ideas as to what is causing my problem with jds-help?
    Thank you...

    Here is the error log:
    "hs_err_pid1338.log" [Read only] 215 lines, 9100 characters
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0xfc94dd6c, pid=1338, tid=1
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
    # Problematic frame:
    # V [libjvm.so+0x14dd6c]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x000a6400): JavaThread "main" [_thread_in_vm, id=1]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
    Registers:
    O0=0xffbfe5b4 O1=0x000a6400 O2=0x00000000 O3=0x00000000
    O4=0x000000b5 O5=0xffbfe5e0 O6=0xffbfe550 O7=0xfc94dd24
    G1=0x00010c8c G2=0x00010c00 G3=0x00010ce8 G4=0x00010c00
    G5=0x00000000 G6=0x00000000 G7=0xfc532000 Y=0x00000000
    PC=0xfc94dd6c nPC=0xfc94dd70
    Top of Stack: (sp=0xffbfe550)
    0xffbfe550: fce14154 fcdfe000 fce1238c 00000000
    0xffbfe560: fce0ece8 ffbfe5b4 fce0ec8c 0000cf44
    0xffbfe570: 000a64e8 00000000 00000000 000a6400
    0xffbfe580: 00000000 fce0af44 ffbfe5f0 00014410
    0xffbfe590: 00000000 00000000 00000000 00000000
    0xffbfe5a0: 00000000 00000000 00017254 00000000
    0xffbfe5b0: 00000000 fce0ece8 0001c4a4 00000000
    0xffbfe5c0: ffbfe5f0 000143ac 001174f0 ffbfe66c
    Instructions: (pc=0xfc94dd6c)
    0xfc94dd5c: ac 04 40 01 aa 10 00 08 92 10 00 1b e8 27 bf c4
    0xfc94dd6c: de 06 a0 00 e6 03 e0 08 d6 03 e0 0c da 14 e0 26
    Stack: [0xff400000,0xffc00000), sp=0xffbfe550, free space=8185k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x14dd6c]
    C [jdshelp-server+0x4418]
    C [jdshelp-server+0x590c] ORBITskel_small_JDS_OnlineHelp_Viewer_display+0x54
    C [libORBit-2.so.0.0.0+0x228b4] ORBit_small_invoke_adaptor+0x43c
    C [libORBit-2.so.0.0.0+0x35338]
    C [libORBit-2.so.0.0.0+0x35518]
    C [libORBit-2.so.0.0.0+0x35af4]
    C [libORBit-2.so.0.0.0+0x3ac54] ORBit_handle_request+0x58
    C [libORBit-2.so.0.0.0+0x1e33c] giop_connection_handle_input+0x288
    C [libORBitCosNaming-2.so.0.0.0+0x7e94]
    C [libglib-2.0.so.0.400.1+0x55ad0]
    C [libglib-2.0.so.0.400.1+0x57004] g_main_context_dispatch+0xa4
    C [libglib-2.0.so.0.400.1+0x574d0]
    C [libglib-2.0.so.0.400.1+0x57c4c] g_main_loop_run+0x350
    C [libbonobo-2.so.0.0.0+0x24154] bonobo_main+0x74
    C [jdshelp-server+0x4d14] main+0xe4
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00113400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7]
    0x00111800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6]
    0x00110800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5]
    0x000ce000 JavaThread "Finalizer" daemon [_thread_blocked, id=4]
    0x000cd000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3]
    =>0x000a6400 JavaThread "main" [_thread_in_vm, id=1]
    Other Threads:
    0x000c3c00 VMThread [id=2]
    0x00115400 WatcherThread [id=8]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 1984K, used 208K [0xd0400000, 0xd0620000, 0xd0b10000) eden space 1792K, 11% used [0xd0400000, 0xd0434398, 0xd05c0000)
    from space 192K, 0% used [0xd05c0000, 0xd05c0000, 0xd05f0000)
    to space 192K, 0% used [0xd05f0000, 0xd05f0000, 0xd0620000)
    tenured generation total 4096K, used 0K [0xd0b10000, 0xd0f10000, 0xd4400000)
    the space 4096K, 0% used [0xd0b10000, 0xd0b10000, 0xd0b10200, 0xd0f10000)
    compacting perm gen total 12288K, used 27K [0xd4400000, 0xd5000000, 0xd8400000) the space 12288K, 0% used [0xd4400000, 0xd4406d98, 0xd4406e00, 0xd5000000)
    ro space 8192K, 80% used [0xd8400000, 0xd8a6f968, 0xd8a6fa00, 0xd8c00000)
    rw space 12288K, 59% used [0xd8c00000, 0xd93298a8, 0xd9329a00, 0xd9800000)
    Dynamic libraries:
    0x00010000 /usr/lib/jdshelp-server
    0xff370000 /usr/lib/libORBitCosNaming-2.so.0
    0xff280000 /usr/lib/libgnomeui-2.so.0
    0xff250000 /usr/lib/libSM.so.6
    0xff210000 /usr/lib/libICE.so.6
    0xff190000 /usr/lib/libbonoboui-2.so.0
    0xff000000 /usr/lib/libxml2.so.2
    0xff3ec000 /lib/libpthread.so.1
    0xff330000 /usr/lib/libz.so.1
    0xfefb0000 /usr/lib/libgnomecanvas-2.so.0
    0xff150000 /usr/lib/libgnome-2.so.0
    0xfef90000 /usr/lib/libpopt.so.0
    0xfef60000 /usr/lib/libart_lgpl_2.so.2
    0xfef20000 /usr/lib/libpangoft2-1.0.so.0
    0xfec00000 /usr/lib/libgtk-x11-2.0.so.0
    0xfeb00000 /usr/lib/libgdk-x11-2.0.so.0
    0xfebd0000 /usr/lib/libatk-1.0.so.0
    0xfeba0000 /usr/lib/libgdk_pixbuf-2.0.so.0
    0xfd800000 /usr/lib/libmlib.so.2
    0xfeae0000 /usr/lib/libpangoxft-1.0.so.0
    0xfeac0000 /usr/lib/libpangox-1.0.so.0
    0xfd7b0000 /usr/lib/libpango-1.0.so.0
    0xfd730000 /usr/lib/libbonobo-2.so.0
    0xfd6e0000 /usr/lib/libgconf-2.so.4
    0xfd660000 /usr/lib/libgnomevfs-2.so.0
    0xfd630000 /usr/lib/libbonobo-activation.so.4
    0xfd5c0000 /usr/lib/libORBit-2.so.0
    0xfd540000 /usr/lib/libgobject-2.0.so.0
    0xfd4e0000 /lib/libresolv.so.2
    0xfd400000 /lib/libnsl.so.1
    0xfd3d0000 /lib/libsocket.so.1
    0xfd300000 /lib/libm.so.2
    0xfd4c0000 /usr/lib/libgmodule-2.0.so.0
    0xfd2e0000 /usr/lib/libgthread-2.0.so.0
    0xfd200000 /usr/lib/libglib-2.0.so.0
    0xfc800000 /usr/java/jre/lib/sparc/client/libjvm.so
    0xfd000000 /usr/java/jre/lib/sparc/libawt.so
    0xfce80000 /usr/java/jre/lib/sparc/libmlib_image.so
    0xfd1c0000 /usr/java/jre/lib/sparc/libjava.so
    0xfcfd0000 /usr/java/jre/lib/sparc/libverify.so
    0xff3a8000 /lib/libthread.so.1
    0xfc700000 /lib/libc.so.1
    0xfcfb0000 /usr/lib/libgnome-keyring.so.0
    0xfd1a0000 /usr/lib/libgailutil.so.17
    0xfce40000 /usr/lib/libjpeg.so.62
    0xfc600000 /usr/lib/libX11.so.4
    0xfc6c0000 /usr/lib/libXft.so.2
    0xfc5d0000 /usr/sfw/lib/libXrender.so.1
    0xfc570000 /usr/lib/libfontconfig.so.1
    0xfc480000 /usr/sfw/lib/libfreetype.so.6
    0xfc550000 /usr/lib/libesd.so.0
    0xfc440000 /usr/lib/libaudiofile.so.0
    0xfc410000 /usr/X11/lib/libXrandr.so.2
    0xfc3e0000 /usr/lib/libXi.so.5
    0xfc390000 /usr/lib/libXext.so.0
    0xfc340000 /usr/sfw/lib/libssl.so.0.9.7
    0xfc200000 /usr/sfw/lib/libcrypto.so.0.9.7
    0xfc1e0000 /lib/libdl.so.1
    0xfc1c0000 /lib/librt.so.1
    0xff3a0000 /usr/lib/libsched.so.1
    0xfc1a0000 /lib/libm.so.1
    0xfc170000 /usr/lib/libCrun.so.1
    0xfc150000 /lib/libdoor.so.1
    0xfc120000 /lib/libaio.so.1
    0xfc100000 /lib/libmd5.so.1
    0xfa000000 /usr/lib/cpu/sparcv8plus+vis/libmlib.so.2
    0xfc548000 /platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
    0xfc0c0000 /usr/lib/iconv/UTF-8%8859-1.so
    0xfc080000 /lib/libmp.so.2
    0xf9fd0000 /lib/libscf.so.1
    0xf9fb0000 /lib/libuutil.so.1
    0xf9f50000 /usr/sfw/lib/libexpat.so.0
    0xf9f30000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/native_threads/libhpi.so
    0xf9f10000 /platform/SUNW,Sun-Blade-100/lib/libmd5_psr.so.1
    0xf9ed0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libzip.so
    0xf9eb0000 /usr/lib/iconv/UTF-8%646.so
    VM Arguments:
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    JAVA_HOME=/bin/java
    PATH=/usr/sbin:/sbin:/bin:/usr/xpg4/bin:/usr/bin:/usr/local/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/etc:/usr/etc:/usr/X11:/etc/X11:/usr/X11/bin:/usr:/usr/openwin/bin:.:/home/barnabyr:/usr/openwin/lib:/usr/dt/bin:/opt/sfw/lib/firefox:/opt/sfw/lib/thunderbird:/usr/ucb:/usr/X11/lib:/usr/sfw/bin:/usr/ucb
    LD_LIBRARY_PATH=/lib:/usr/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib:/usr/X11:/usr/X11/lib:/usr/include/X11:/usr/dt/lib:/usr/openwin/lib:/space/spectral_progs/xforms/FORMS
    SHELL=/bin/csh
    DISPLAY=:0.0
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x4e4710], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGBUS: [libjvm.so+0x4e4710], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGFPE: [libjvm.so+0x172a38], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: [libjvm.so+0x172a38], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x172a38], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGHUP: [libjvm.so+0x415910], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGINT: [libjvm.so+0x415910], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGQUIT: [libjvm.so+0x415910], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0x415910], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGQUIT: [libjvm.so+0x415910], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0x415910], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIG39: [libjvm.so+0x418438], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIG40: [libjvm.so+0x172a38], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    --------------- S Y S T E M ---------------
    OS: Solaris 10 11/06 s10s_u3wos_10 SPARC
    Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 14 November 2006
    uname:SunOS 5.10 Generic_125100-06 sun4u (T2 libthread)
    rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
    load average:0.66 0.85 0.91
    CPU:total 1 has_v8, has_v9, has_vis1
    Memory: 8k page, physical 2097152k(1383752k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for solaris-sparc, built on Mar 14 2007 01:17:32 by "" with unknown Workshop:0x580

  • Network controller& USB controller driver not found and wifi not working

    hello  I Purchased HP 15-ac025TX (M9V00PA) Notebook laptop  .  i have installed all driver from HP site here is the link  http://support.hp.com/in-en/drivers/selfservice/HP-15-Notebook-PC-series/7771404/model/8326084#Z7_3054ICK0KGTE30AQO5O3KA30R1  but still netwok controller driver not found also wifi not  working  i installed blutooth drivers too . I am using window 7 sp1 (32 bit) For network controller device ID is PCI\VEN_14E4&DEV_4365&SUBSYS_804A103C&REV_01 secondly  univeral serial bus driver(usb) controller   not found i installed all drivers from above link  also update windows  but still no solution hardware id of usb controller is PCI\VEN_8086&DEV_9CB1@SUBSYS_80C2103C&REV_03  and last i am unable to download  AMD/Intel Switchable High-Definition (HD) Graphics Driver. the download link not working KINDLY RESOLVE THE ISSUE THANK YOU    

    Update: While the driver I knew would work has not shown up yet, I did some detective work and explored some other broadcom wireless card driver folders from some HP links, and I found one that should work for you. While it says it is for HP desktop PC's, they put the exact same wireless card form factor in a desktop PC that they do in a notebook PC. I see no reason why this driver would not work, since the setup information file contains the same hardware ID that you posted.  Here is a partial copy and paste of the driver setup information file and you can see the hardware ID you posted is supported by this driver.  x86 - Win7
    [BROADCOM.NTx86.6.1]
        %BCM430N_DeviceDesc% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_2230103C
        %BCM430N_DeviceDesc% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_22D3103C       
        %BCM430N_DeviceDesc_HPY% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_2232103C
        %BCM430N_DeviceDesc_HPY% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_22D4103C
        %BCM430N_DeviceDesc_HPY% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_804A103C http://h20566.www2.hp.com/hpsc/swd/public/detail?swItemId=cp_149257_1

  • Java user-defined transaction management not working correctly???

    Hi everyone,
    I have encountered a problem when using Java user-defined transaction management in my session bean. It threw an exception but I could not work out what that means. Could anyone comment on this? Thanks.
    This BrokerBean is a stateless session calling other entities bean to perform some simple operations. There are 2 Cloudscape databases in use. Invoices (EB) use InvoiceDB and all the other EBs use StockDB.
    If I comment out the user-defined transaction management code, then everything works fine. Or if I comment out the Invoices EB code, it is fine as well. It seemed to me that there is something wrong in transaction management when dealing with distributed databases.
    --------------- source code ----------------------
    public void CreateInvoices(int sub_accno) {
    try {
    utx = context.getUserTransaction();
    utx.begin();
    SubAcc subAcc = subAccHome.findByPrimaryKey(new SubAccPK(sub_accno));
    String sub_name = subAcc.getSubName();
    String sub_address = subAcc.getSubAddress();
    Collection c = stockTransHome.findBySubAccno(sub_accno);
    Iterator i = c.iterator();
    ArrayList a = new ArrayList();
    while (i.hasNext()) {
    StockTrans stockTrans = (StockTrans)i.next();
    int trans_id = stockTrans.getTransID();
    String tran_type = stockTrans.getTranType();
    int stock_id = stockTrans.getStockID();
    float price = stockTrans.getPrice();
    Invoices invoices = invoicesHome.create(sub_accno, sub_name, sub_address, trans_id, stock_id, tran_type, price);
    stockTrans = stockTransHome.findByPrimaryKey(new StockTransPK(trans_id));
    stockTrans.remove();
    utx.commit();
    utx = null;
    } catch (Exception e) {
    if (utx != null) {
    try {
    utx.rollback();
    utx = null;
    catch (Exception ex) {}
    // e.printStackTrace();
    throw new EJBException("BrokerBean.CreateInvoices(): " + e.getMessage());
    --------------- exception ----------------------
    Initiating login ...
    Enter Username:
    Enter Password:
    Binding name:`java:comp/env/ejb/BrokerSB`
    EJB test succeed
    Test BuyStock!
    Test BuyStock!
    Test BuyStock!
    Test BuyStock!
    Test SellStock!
    Test SellStock!
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: BrokerBean.CreateInvoices(): CORBA TRANSACTION
    _ROLLEDBACK 9998 Maybe; nested exception is:
    org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806
    completed: Maybe
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
    n(ShutdownUtilDelegate.java:64)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at BrokerStub.CreateInvoices(Unknown Source)
    at Client.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:22
    9)
    at com.sun.enterprise.appclient.Main.main(Main.java:155)
    Caused by: java.rmi.RemoteException: BrokerBean.CreateInvoices(): CORBA TRANSACT
    ION_ROLLEDBACK 9998 Maybe; nested exception is:
    org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806
    completed: Maybe
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.ja
    va:389)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:43
    1)
    at BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJBObjectImpl.java
    :265)
    at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Ge
    nericPOAServerSC.java:520)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Gen
    ericPOAServerSC.java:210)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAS
    erverSC.java:112)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
    sor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadP
    ool.java:99)

    Three things:
    first, maybe you should think of putting ut.begin() just before the invoicesHome.create() method and ut.commit() just after the stockTrans.remove() method.It wont solve the current problem but will help in performance once the problem is solved.
    second, your utx.commit() is outside the try block. how come the code is compiling then??
    third, try doing a SOP call before and after invoicesHome.create() method and see where the problem actually lies.
    let us know...
    Hi SteveW2,
    Thanks for being so helpful. Here are my replies:
    Can I just ask why you're not using containermanaged
    transactions?The reason why I didn't use container managed
    transactions is because I don't really know how to do
    that. I am more familiar with this user-defined
    transaction handling.
    I have attempted to implement the same method in an
    entity bean and just let the container manage the
    rollback itself. The same exception was thrown when
    running the client.
    Also, the transaction behaviour is likely to relateto
    the app server youre using - which is it?What do you mean by the app server? I am using J2EE
    1.3.1 if that is what you meant.
    Finally, if your code has a problem rolling back,and
    throws an exception, you discard your exception
    thereby losing useful information.I have tried to print the exception stack as well, but
    it is the same as just printing the general
    exception.
    This problem is very strange cause if I comment out
    the transaction management thing, then everything
    works fine. Or if I am only working with 1 single
    database, with this user-defined transaction handling,
    everything works fine as well.
    Here is the error log from J2EE server if you are
    interested.
    ------------ error log ---------------
    javax.ejb.TransactionRolledbackLocalException:
    Exception thrown from bean; nested exception is:
    javax.ejb.EJBException: ejbCreate: Connection
    previously closed, open another Connection
    javax.ejb.EJBException: ejbCreate: Connection
    previously closed, open another Connection
         at InvoicesBean.ejbCreate(Unknown Source)
    at
    InvoicesBean_RemoteHomeImpl.create(InvoicesBean_Remote
    omeImpl.java:31)
         at InvoicesHomeStub.create(Unknown Source)
         at BrokerBean.CreateInvoices(Unknown Source)
    at
    BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJB
    bjectImpl.java:261)
    at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown
    Source)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    chToServant(GenericPOAServerSC.java:520)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.inter
    alDispatch(GenericPOAServerSC.java:210)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    ch(GenericPOAServerSC.java:112)
    at
    com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:25
    at
    com.sun.corba.ee.internal.iiop.RequestProcessor.proces
    (RequestProcessor.java:84)
    at
    com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThr
    ad.run(ThreadPool.java:99)
    javax.ejb.TransactionRolledbackLocalException:
    Exception thrown from bean; nested exception is:
    javax.ejb.EJBException: ejbCreate: Connection
    previously closed, open another Connection
    at
    com.sun.ejb.containers.BaseContainer.checkExceptionCli
    ntTx(BaseContainer.java:1434)
    at
    com.sun.ejb.containers.BaseContainer.postInvokeTx(Base
    ontainer.java:1294)
    at
    com.sun.ejb.containers.BaseContainer.postInvoke(BaseCo
    tainer.java:403)
    at
    InvoicesBean_RemoteHomeImpl.create(InvoicesBean_Remote
    omeImpl.java:37)
         at InvoicesHomeStub.create(Unknown Source)
         at BrokerBean.CreateInvoices(Unknown Source)
    at
    BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJB
    bjectImpl.java:261)
    at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown
    Source)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    chToServant(GenericPOAServerSC.java:520)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.inter
    alDispatch(GenericPOAServerSC.java:210)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    ch(GenericPOAServerSC.java:112)
    at
    com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:25
    at
    com.sun.corba.ee.internal.iiop.RequestProcessor.proces
    (RequestProcessor.java:84)
    at
    com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThr
    ad.run(ThreadPool.java:99)
    What is "connection previously closed, open another
    connection"? This might be the cause of the
    exception.
    I'll keep trying till I solve the problem.
    Thanks,
    Sasuke

  • Downloaded air/flash/java(??) software suddenly not working.

    I play online poker professionally and for a living, and everything has been running fine.
    Then today, my SkyPoker app suddenly started timing out at the table and becoming very laggy and skippy.
    I have argued with the Sky support team but they're convinced it is my error. My internet connection is fine so it's not that, and if i log in on a Windows laptop it works fine.
    So i opened up Betfair Poker on the desktop and that is nowhere near as bad but is still not running smoothly at all.
    To my knowledge no updates were installed before it started running like this. My Safari also seems to be pretty laggy at the moment.
    I know NOTHING about computers or macs whatsoever, so i don't even know if they run on Java, Flash, Adobe AIR (which is had to download to install SkyPoker) but this mac is only 6 months old so wouldn't expect this out of it.
    I need to know how to check what's causing the problem or how to fix it but i have no idea where to start. I thought it was Sky's problem but as it seems to be happening on all these kinds of software i'm thinking it's definitely a problem with my mac.
    I'm running Lion 10.7.4 and have all the latest updates for Java, Adobe Air, Adobe Flash and the latest actual software for the programs i want to use installed. I even tried uninstalling then reinstalling them manually.
    The last software update updated Safari and the Raw Camera Compatability Update, but these were updated after the problems started.
    Any help is appreciated because i'm pulling my hair out and cannot continue with these problems on what has otherwise been an awesome first mac experience for me. I don't really want to have to send my mac off to be looked at by someone either.
    Cheers, Phil.
    PS Apologies if this is in the wrong section but i didn't know where to put it.

    >
    You should be aware that this is a forum for discussion for Java developers. It is not an end user support forum.
    At any rate your issue is a problem with the site in question. "java.lang.NoClassDefFoundError: PChatPanel" means that resources the program needs cannot be found. This is a problem with that site and you will have to address it with them in order to resolve it. Nobody else can help you with this because it is a site problem and beyond our control.

  • bean:message/ tag is not working in tiles:insertAttribute/

    I have a bean:message tag inside my tiles:insertAttribute as shown below.
    <tiles:insertAttribute name='<bean:message="user.menu"/>'/>But <bean:message/> is not getting the value from resource bundle, my resource bundle is in correct place. If i hard code the value then it s working fine.
    How to make it work? Any help?

    sunish_jose wrote:
    <tiles:insertAttribute><bean:message="user.menu"/></tiles:insertAttribute>this way it s not working. Could you pls tell how solve it by using EL. I was not able to find a similar sample evenafter searching for some time.
    thanks in advance.I did say that I don't know if it will or not, I was just giving a sample of how it would work if the tag allowed the value for 'name' to be put in the body.
    I'm not very familiar with the Struts bean tags and in any case, I believe you should use the JSTL tags where ever possible. So you'd pick the <fmt:message> tag from there. I don't think the <bean:message> tag allows you to get the value in to a variable.
    <fmt:message var="tilesAttributeNameValue" key="user.menu" />
    //create an EL variable named tilesAttributeNameValue with the value from the resource bundle
    <tiles:insertAttribute name="${tilesAttributeNameValue}"></tiles:insertAttribute>
    //use EL to put the valueTake a look here [1] for a JSTL introduction:
    [1] http://www.ibm.com/developerworks/java/library/j-jstl0415/

  • Java ME SDK 3.0 not working on Windows 7 64-bit

    Hi everybody,
    the sdk has no 64-bit Version and the solution described at:
    http://forums.sun.com/thread.jspa?threadID=5434297&tstart=45
    did not work for me.
    Even after changing the two configuration files bin\java and toolbar\bin\java to point to 32-bit installations of the jdk/jre, the sdk does not work and it cannot be uninstalled.
    Error when starting the SDK:
    A java.io.IOException exception has occurred.
    Click Show Details or see the messages.log file located in your Z:\javame-sdk\toolbar\3.0\var\log folder.
    (Details:)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
    Caused: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
    Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
    Caused: java.io.IOException: Failed to retrieve RMIServer stub
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.lookupMBean(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.findObject(Unknown Source)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.openConnection(DevicemanagerHelper.java:53)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:86)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
    [catch] at java.lang.Thread.run(Thread.java:619)
    When I try to uninstall, an error log file is generated in the installation path of the SDK. Although it "sees" the 32-bit java installation, at its botton appears the following (interesting?) line:
    vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0-b17) for windows-amd64 JRE (1.6.0_21-b07), built on Jul 17 2010 01:05:36 by "java_re" with MS VC++ 8.0 (VS2005)
    Can someone help?
    Thanks a lot in advance.

    Hey what's up Gatos.
    Listen I have the same problem and I was wondering if you figured it out since October 2010 (your last post).
    I also get the same IOException exception error. I also have windows 7 64bit, i installed 32 bit version of the SDK and uninstalled any previous versions. The Java ME SDK 3.0 Kit installed as well, and pointing to an appropriate sdk directory. I also tried changing the two configuration files (didn't have to change them because they were correct since I did not have any other version of sdk installed prior to installation of Java ME SDK 3.0.
    So I am experiencing the same exact symptoms and I am wondering if you have resolved this issue yet or if you know of any other source of information that might help me. Your help would be greatly appreciated on this one. Thanks, and please respond even if it is a no if you can.
    **EDIT:**
    The Java ME SDK 3.0 magically started few times too, after displaying manyyyyyyy of these error windows, but it does not happen every time either. HELP
    Edited by: 835054 on Feb 9, 2011 12:10 AM

  • Bean in JSP is NOT WORKING. Please help

    Hi,
              Anyone who got java-beans working with WL JSP? I could not get even the
              hello bean to work. I am getting a error message saying somthing like
              "foo.bar.HelloBean.class is not a bean" .
              Is there any perticular reason for the abuse of not including java bean
              example in JSP examples?
              I will greatly appreciate any help in this direction.
              Thank you in advance
              -Harit
              

    If I had to guess based on the error message I would say you have incorrectly
              defined the class file.
              Remove the .class from the definition within the JSP.
              For instance,
              <jsp:useBean
              id="myHelloBean"
              scope="session"
              class="foo.bar.HelloBean">
              </jsp:useBean>
              Not class="foo.bar.HelloBean.class"
              Hope this helps.
              Harit Nanavati wrote:
              > Hi,
              > Anyone who got java-beans working with WL JSP? I could not get even the
              > hello bean to work. I am getting a error message saying somthing like
              > "foo.bar.HelloBean.class is not a bean" .
              > Is there any perticular reason for the abuse of not including java bean
              > example in JSP examples?
              > I will greatly appreciate any help in this direction.
              > Thank you in advance
              > -Harit
              

  • Session Bean ejbCreate( parm ) Does Not Work in App Server 8  2005 Q2 Editi

    I have the following in my session bean:
    public class aauthfacadeBean implements SessionBean {
    public void ejbCreate() throws CreateException {
    public void ejbCreate( boolean logActivity, String dbCodedNameAauth, String uname, String pswd ) throws CreateException {
    In the client application I do this:
    try {
    InitialContext initial = new InitialContext();
    LocalaauthfacadeHome home = (LocalaauthfacadeHome)initial.lookup( "java:comp/env/ejb/aauthfacade" );
    localAauth = home.create( glbvars.getLogActivity(), glbvars.getDbCodedNameAauth(), user.getUname(), user.getPswd() );
    } catch (NamingException ex) {
    System.out.println( "ejbLookupSecurity() sbGetAauthLocalRef: naming error: " + ex );
    } catch (CreateException ex) {
    System.out.println( "ejbLookupSecurity() sbGetAauthLocalRef: create error: " + ex );
    } catch (Exception ex) {
    System.out.println( "ejbLookupSecurity() sbGetAauthLocalRef: general exception error: " + ex );
    Some how the default create method (create()) get called all the time.
    create( boolean logActivity, String dbCodedNameAauth, String uname, String pswd )
    is never called even though that is the method I call in the client code.
    In reality, I do not need ejbCreate() but if I dont add it to the session bean
    my application does not run because the app server throws a method not found exception
    when the client code calls the create method of the session bean above.
    Am I missing something? I followed the Cart example in the tutorial. Below is the home interface.
    I am using App Server 8 1.4.02 2005Q2 edition
    public interface aauthfacadeHome extends javax.ejb.EJBHome {
    public aauthfacade create() throws CreateException, RemoteException;
    public aauthfacade create( boolean logActivity, String dbCodedNameAauth, String uname, String pswd ) throws CreateException, RemoteException;
    }

    Hi,
    A stateless session bean can have only 1 ejbCreate method and that doesn't take any parameters. you may provide an init method which you can call just before calling your business method where you can initialize all your variables.
    Hope this helps.
    Cheers,
    vidyut

  • Juniper Java Secure Application Manager does not work with Snow Leopard

    Anyone else having issues as well? I'm not using a client - its basically the Java based application manager for VPN connections to work (so I can remote desktop to my work PC).
    Once logged in, it gives a "Restart your browser" error.
    Thanks for your help

    OK - so I got it to work. Here's what I did. Let me know if it works for you:
    I wasn't able to follow the instructions exactly as noted in the original link I posted above.
    The terminal command, specifically wget would not work - there is no wget.
    I manually downloaded the Java 1.5 version, by following the link (just clicked on it). I 'unzipped' it and moved it into the library/frameworks/JavaVM.framework/versions folder.
    So now the 1.5.0 is not an alias (as it is by default in SL), but the older version of Java.
    I then followed the instruction related to changing the order in JAVA PREFERENCES.
    The final stop - and I think this is key, is that I forced Safari to start in 32 bit mode. You can do this by going to Applications, highlighting Safari and hitting CMD-I. Then check the 32 bit option.
    Start Safari, go to the appropriate URL and login. The Java Secure Application Manager should then start as it used to do in Leopard. You should be all set.
    Hope this helps - let me know if someone has questions.

  • Dev forums not working

    I am a registered Dev and have installed 5.0 ios beta as well as itunes 10.5 beta and i am having some trouble but i know i cant ask here but the dev forums are not working and for the life of me i cant get it to log in, is any one else having this problem? i press login and it stays on the login page and just keeps re loading it, while there is no where to type in a username or pass to login and i already login before i click on dev forums so i dont know why its asking to login when to download the betas and that page works fine but now i need help and am having problems i dont know what to do

    Me too, same issue
    Itunes 10.5 does not detect ipad / iphone connection
    XCode 4.2 does not start properly without crashing, then when on restart, you cannot do anything / select project etc, all is frozen.
    I cannot get into http://developer.apple.com/devforums/
    I click login, and it simply puts you back on the same page, tried on different machines, different networks different browsers, all the same.
    Mac Book Pro Mac OS X 10.6.7
    I am a Personal and Professional Developer.

  • I did write a simple java program but it is not working please help me.....

    This is the program I wrote LineRect just to draw a line a rectangle etc...... Y it is not working How can i used the same program to run without using applet that is by using awt and swing.........Pls Help me.............
    import java.awt.*;
    import java.io.*;
    public class LineRect
    {public void paint(Graphics g)
         {g.drawLine(10,10, 50,50);
         g.drawRect(10, 60, 40,30);
         g.fillRect(60,10,30,80);
         g.drawRoundRect(10,100,80,50,10,10);
         g.fillRoundRect(20,110,60,30,5,5);
         g.drawLine(100,10,230,140);
         g.drawLine(100,140,230,10);
    <APPLET
    CODE =LineRect.class
    WIDTH=250
    HEIGHT=200>
    </APPLET>

    There are many significant errors here for instance you are using a class file as if it were an applet yet you do not subclass applet. Your code has no init method (if it is to be an applet). Your best bet is to go through the tutorials one step at a time. One thing to consider is to subclass a JPanel and draw on the jpanel overriding the paintComponent method. This can then be added to a JFrame or a JApplet's contentPane and would allow the same graphics in both. But again, please study the tutorials on all of this, otherwise you will be doing hit-or-miss programming, and that is no way to learn.
    Much luck!
    Addendum: Also, if you are just beginning in Java programming, I suggest you start with the basics and not with Swing / AWT / graphics programming. Otherwise you will just end up bruised and disappointed. You have to learn to walk before you can run.
    Edited by: Encephalopathic on Dec 26, 2007 5:09 AM

  • IPod touch 4th gen not recognized by iTunes 10.7 64-bit, but any solutions I found online do not work.

    Everywhere I've looked here has not worked. I have recently gotten a windows 7 laptop and downloaded iTunes, but my iTunes will not recognize my iPod.
    Here are some of the things I've done:
    - Verified AMDS is installed
    - Reinstalled iTunes and Quicktime
    - Opened msconfig
    - The iPod touch troubleshooting steps
    - Taking a screenshot and searching classification of devices for iPod touch or "Unknown devices"
    - Run Diagnostics on iTunes... here are the results:
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    SAMSUNG ELECTRONICS CO., LTD. QX311/QX411/QX412/QX511
    iTunes 10.7.0.21
    QuickTime 7.7.2
    FairPlay 2.2.19
    Apple Application Support 2.2.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.0.59
    Apple Mobile Device Driver not found.
    Bonjour 3.0.0.10
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 002AAA5C010D4F78
    Current user is not an administrator.
    The current local date and time is 2012-10-21 14:50:01.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:          {370057E0-093F-49E4-824A-E3DEBED9A51D}
    Description:          Microsoft Virtual WiFi Miniport Adapter #4
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Wed Dec 31 19:00:00 1969
    Lease Expires:          Wed Dec 31 19:00:00 1969
    DNS Servers:
    Adapter Name:          {87292AF8-4862-47ED-AECD-64657EE5FBDC}
    Description:          Microsoft Virtual WiFi Miniport Adapter #3
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Wed Dec 31 19:00:00 1969
    Lease Expires:          Wed Dec 31 19:00:00 1969
    DNS Servers:
    Adapter Name:          {2F013AEF-26E4-4A15-81B1-D47805867D2A}
    Description:          Intel(R) Centrino(R) Advanced-N 6235
    IP Address:          192.168.1.7
    Subnet Mask:          255.255.255.0
    Default Gateway:          192.168.1.1
    DHCP Enabled:          Yes
    DHCP Server:          192.168.1.1
    Lease Obtained:          Sun Oct 21 14:46:14 2012
    Lease Expires:          Mon Oct 22 14:46:14 2012
    DNS Servers:          192.168.1.1
    Adapter Name:          {D02F01C6-F3E2-42EB-8917-2B2AE0AF751F}
    Description:          Realtek PCIe GBE Family Controller
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Wed Dec 31 19:00:00 1969
    Lease Expires:          Wed Dec 31 19:00:00 1969
    DNS Servers:
    Adapter Name:          {F2BEC325-BD71-4C8A-B49A-141B59368E8E}
    Description:          Bluetooth Device (Personal Area Network)
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Wed Dec 31 19:00:00 1969
    Lease Expires:          Wed Dec 31 19:00:00 1969
    DNS Servers:
    Active Connection:          LAN Connection
    Connected:          Yes
    Online:                    Yes
    Using Modem:          No
    Using LAN:          Yes
    Using Proxy:          No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-10-21 14:49:10.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.3.0),
    E: TSSTcorp CDDVDW SU-208BB, Rev SC00
    Drive is empty.
    **** Device Connectivity Tests ****
    iPodService 10.7.0.21 (x64) is currently running.
    iTunesHelper 10.7.0.21 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Renesas Electronics USB 3.0 Host Controller.  Device is working properly.
    Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26.  Device is working properly.
    Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C2D.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.
    I personally think it's the AMDS. It says the drive does not exist even though I reinstalled iTunes multiple times...
    Any suggestions?

    I agree it it the driver since the diagnostics say:
    Apple Mobile Device Driver not found.
    Did you try step 5 of:
    iOS: Device not recognized in iTunes for Windows

  • Java 8u31 (last version) is not working Yosemite

    I have installed java normally 8u31. But, On browsers google and safari, it is not working. I see blank page. However, when I check it on terminal, given
    java version "1.8.0_31"
    Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
    Java content is also enabled on system prefences security tab
    after a while time verify page shows
    Thank you for solution

    Hi,
    Check whether  environment variable JAVA_HOME present or not ?
    If no, then set the variable with value as path of java home directory.
    Thanks
    Anil

  • Windows Live Mail ?   Links to this forum not working correctly.

    I got a new computer running Windows 7 and have been using Windows Live Mail.
    This is where I get my e-mails for updates to messages on this forum.
    The link for the message thread has a link that includes the # sign with the correct message to go to on the page.
    Now with Windows Live when I click the link it leaves the number after the # sign and just goes to the top of the thread instead to the exact comment.
    I can copy and paste the link into a browser and it works fine but if I just click it it does not work like it used to with Outlook Express.
    Any ideas if this might be fixable.
    Thanks:  GLenn

    I still have outlook express running on my OLD SLOW windows XP
    My new Windows 7 only has Windows Live Mail so I have to use it unless I get another program.
    I just thought that someone here might have figured it out.
    I dont know what the extra part after the # sign is called so i havent been luck searching google for an answer.
    Here is the link to your message:
    http://forums.adobe.com/message/2965072#2965072
    but when I click it it just puts this link in the browser:
    http://forums.adobe.com/message/2965072
    it does work but just takes me to the top of the thread.
    Im not sure why it doesnt use the part with the # and number that follows it.
    It does see it and if hover over it it sees the whole link.
    Just something new to figure out.
    I will try a Windows Live Forum too but if anyone knows any hints that would be great too.
    Thanks:  GLenn

Maybe you are looking for

  • Infinity speeds drop to 2.8Mb after 6 months.

    Hey, As everyone else experiences after BT have you signed up into a contract I am now facing horrible speeds of:  > Download speedachieved during the test was - 2840 Kbps  For your connection, the acceptable range of speeds is 12000-18720 Kbps . Add

  • Mail can't send messages: Doesn't allow fix the problem either: Help plz.

    Hi all, Mail doesn't allow me to send messages through my recent created aim.com account I'm trying to fix the problem by changing smtp server configuration but it gives me the message: "The servers marked with alert icons are in conflict and cannot

  • Import  and using datafiles

    hi everybody, i created an import file only for a table on oracle 8.1.6 server using 8.1.6 export utility like that : exp username/pass file=hth.dmp tables=tablename triggers=n statistics=NONE rows=n grants=n indexes=n constraints=n this tables has c

  • Installing v.1.42_2 over 1.41...

    Greetings, I was forced to do a clean install of Windows 2003 Enterprise Server. As the upgrade from 2000 Advanced Server failed. I was able to copy all the folders that I felt I needed to a different partition in order enable me to retain alot of pr

  • S160 upgrade failed

        HI, I try to upgrade my s160.I tried many time and always it gives error. The upgrade patach automatically downlaod to ironport device.Is there any way i can mention separate upgrade server