0 Replies Latest reply on Jul 2, 2003 9:50 PM by madooreddy

    [INFO,JAWSPersistenceManager] Table 'TBL_NOTICE' already exi

    madooreddy Newbie

      Hi All !!
      When I am deploying bean getting message in log file below ... I have only one table with name of TBL_NOTICE under SMSDB(Database -DB2)
      If i mention SMSDB.TBL_NOTICE in deployment descriptor jaws.xml file its didn't give msg that table already exists..

      while testing
      i am getting error like this in jboss & tomact log files..Don't understnd what is the problem . ?
      pls help me if any dody have soultion

      Jboss log file while testing bean
      ERROR,NoticeControlBean] TRANSACTION ROLLBACK EXCEPTION:
      javax.transaction.TransactionRolledbackException: com/wizit/util/EJBUtility (Extra bytes at the end of the class file); nested exception is:
      java.lang.ClassFormatError: com/wizit/util/EJBUtility (Extra bytes at the end of the class file)
      java.lang.ClassFormatError: com/wizit/util/EJBUtility (Extra bytes at the end of the class file)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at javax.management.loading.MLet.findClass(MLet.java:775)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
      at com.wizit.notice.ejb.NoticeRetrieveHelper.findByList(NoticeRetrieveHelper.java:376)
      at com.wizit.notice.ejb.NoticeControlBean.findByList(NoticeControlBean.java:275)
      at java.lang.reflect.Method.invoke(Native Method)

      Here is the Deploy time log file
      INFO,ContainerFactory] Deploying NoticeBean
      [INFO,ContainerFactory] Deploying NoticegroupBean
      [INFO,ContainerFactory] Deploying NoticeControlBean
      [INFO,ContainerFactory] Deploying NoticeGroupControlBean
      [INFO,JAWSPersistenceManager] Table 'TBL_NOTICE' already exists
      [INFO,JAWSPersistenceManager] Table 'TBL_NOTICE_GRP' already exists
      [INFO,NoticeBean] Initializing
      [INFO,NoticeBean] Initialized
      [INFO,NoticeBean] Starting
      [INFO,NoticeBean] Started
      [INFO,NoticegroupBean] Initializing
      [INFO,NoticegroupBean] Initialized
      [INFO,NoticegroupBean] Starting
      [INFO,NoticegroupBean] Started
      [INFO,NoticeControlBean] Initializing
      [INFO,NoticeControlBean] Initialized
      [INFO,NoticeControlBean] Starting
      [INFO,NoticeControlBean] Started
      [INFO,NoticeGroupControlBean] Initializing
      [INFO,NoticeGroupControlBean] Initialized
      [INFO,NoticeGroupControlBean] Starting
      [INFO,NoticeGroupControlBean] Started
      [INFO,ContainerFactory] Deployed application: file:/usr/local/jboss-2.4.4/tmp/deploy/Default/FirstNotice.jar
      [INFO,J2eeDeployer] J2EE application: file:/usr/local/jboss-2.4.4/deploy/FirstNotice.jar is deployed.

      Thanks
      Madhu Reddy