5 Replies Latest reply on Aug 24, 2004 1:09 AM by praveena reddy

    Problem in Deploying MyBank

    praveena reddy Newbie

      Hi,
      I am unable to deploy the mybank bean in chapter 1...error is..0:57:40,436 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss:service=HAJNDI
      state: FAILED
      I Depend On: jboss:service=DefaultPartition

      Depends On Me: java.lang.NoClassDefFoundError: gnu/regexp/UncheckedRE]

      using eclispe 2.1,lomboz.212,jboss-3.2.1

      i have tried with eclipse 2.1.1 and lomboz.212.p1 with jboss-3.2.1..with No success......

      Please help me...Its urgent...
      Thanku
      praveena

        • 1. Re: Problem in Deploying MyBank
          Vishal Sharma Expert

          You are missing some librarires on classpath and add it in server file of lomboz..
          By this error it looks to me its u are missing gnu-regexp.jar on yr path..

          I hope this helps......
          Vishal

          • 2. Re: Problem in Deploying MyBank
            praveena reddy Newbie

            Hi vishal,

            gnu-regexp.jar ,its there already in libraries,
            11:56:38,040 ERROR [MainDeployer] could not create deployment: file:/C:/unzipped/jboss-3.2.3/jboss-3.2.3/server/all/deploy/jboss-net.sar/
            org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/unzipped/jboss-3.2.3/jboss-3.2.3/server/all/deploy/jboss-net.sar/; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
            at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy6.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
            at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:394)
            at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
            at org.jboss.Main.boot(Main.java:150)
            at org.jboss.Main$1.run(Main.java:395)
            at java.lang.Thread.run(Thread.java:534)
            Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
            at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
            at org.jboss.system.ServiceController.install(ServiceController.java:225)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy4.install(Unknown Source)
            at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
            ... 49 more
            Caused by: java.lang.reflect.UndeclaredThrowableException

            please suggest some way to get rid of this bug....
            More over if am using eclipse2.1.2 and lomboz.212.p1 also,ejbGenerate is not created..its creating Xdoclet only....
            Its urgent...plz help me...
            Thank u
            Praveena
            please help me....

            • 3. Re: Problem in Deploying MyBank
              crowse Newbie

              Hi
              I also get the same problem sporadically on JBoss -3.2.5, but not 3.2.3

              I find that if I delete server/default/tmp
              and server/default/work
              directories, the problem often (but not always) goes away



              I think it is due to a bad copy of apache libraries lying around, either in my apps code, or more likely in JBoss itself, since I can get this simply starting a new installation of JBoss.


              Chris.

              • 4. Re: Problem in Deploying MyBank
                praveena reddy Newbie

                I ignored those exceptions which came while debugging the server and i deployed and run an application its working....
                with jboss-3.2.3

                Thank u..

                • 5. Re: Problem in Deploying MyBank
                  praveena reddy Newbie

                  Hi,

                  Yesterday i deployed Mybank..But Today...While debug server...The following error is thrown............

                  Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8117506
                  Function=JVM_GetClassAccessFlags+0x36
                  Library=C:\sun\Appserver\jdk\jre\bin\server\jvm.dll
                  Source file = D:/BUILD_AREA/jdk142-update/ws/fcs/hotspot\src\share\vm\prims\jvm.cpp : 1303


                  Current Java thread:
                  at sun.reflect.Reflection.getClassAccessFlags(Native Method)
                  at sun.reflect.Reflection.quickCheckMemberAccess(Reflection.java:43)
                  at java.lang.reflect.Method.invoke(Method.java:310)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                  at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:177)
                  at $Proxy43.getState(Unknown Source)
                  at org.jboss.management.j2ee.MBean.postCreation(MBean.java:156)
                  at org.jboss.management.j2ee.J2EEManagedObject.postRegister(J2EEManagedObject.java:250)
                  at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:278)
                  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
                  at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
                  at org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
                  at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
                  at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:144)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                  at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:997)
                  at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:327)
                  at org.jboss.management.j2ee.MBean.create(MBean.java:65)
                  at org.jboss.management.j2ee.factory.ServiceModuleFactory.create(ServiceModuleFactory.java:53)
                  at org.jboss.management.j2ee.LocalJBossServerDomain.handleNotification(LocalJBossServerDomain.java:383)
                  at org.jboss.mx.server.NotificationListenerProxy.handleNotification(NotificationListenerProxy.java:69)
                  at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:93)
                  at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:178)
                  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:229)
                  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                  at $Proxy5.deploy(Unknown Source)
                  at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
                  at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
                  at org.jboss.Main.boot(Main.java:150)
                  at org.jboss.Main$1.run(Main.java:395)
                  at java.lang.Thread.run(Thread.java:534)

                  Dynamic libraries:
                  0x00400000 - 0x00407000 C:\sun\Appserver\jdk\bin\javaw.exe
                  0x77F80000 - 0x77FFB000 C:\WINNT\system32\ntdll.dll
                  0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
                  0x7C4E0000 - 0x7C599000 C:\WINNT\system32\KERNEL32.DLL
                  0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL
                  0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
                  0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
                  0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
                  0x08000000 - 0x082AD000 C:\sun\Appserver\jdk\jre\bin\server\jvm.dll
                  0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
                  0x10000000 - 0x10007000 C:\sun\Appserver\jdk\jre\bin\hpi.dll
                  0x007E0000 - 0x007EE000 C:\sun\Appserver\jdk\jre\bin\verify.dll
                  0x007F0000 - 0x00809000 C:\sun\Appserver\jdk\jre\bin\java.dll
                  0x00810000 - 0x0081D000 C:\sun\Appserver\jdk\jre\bin\zip.dll
                  0x18170000 - 0x1818C000 C:\sun\Appserver\jdk\jre\bin\jdwp.dll
                  0x1C190000 - 0x1C195000 C:\sun\Appserver\jdk\jre\bin\dt_socket.dll
                  0x75030000 - 0x75044000 C:\WINNT\system32\ws2_32.dll
                  0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
                  0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
                  0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
                  0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.DLL
                  0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
                  0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
                  0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
                  0x75150000 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL
                  0x75170000 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL
                  0x7C340000 - 0x7C34F000 C:\WINNT\system32\SECUR32.DLL
                  0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.DLL
                  0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
                  0x77A50000 - 0x77B47000 C:\WINNT\system32\OLE32.DLL
                  0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
                  0x773B0000 - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL
                  0x77380000 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL
                  0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL
                  0x77880000 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL
                  0x7C0F0000 - 0x7C152000 C:\WINNT\system32\USERENV.DLL
                  0x774E0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
                  0x774C0000 - 0x774D1000 C:\WINNT\system32\RASMAN.DLL
                  0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
                  0x77B50000 - 0x77BD9000 C:\WINNT\system32\COMCTL32.DLL
                  0x77C70000 - 0x77CBA000 C:\WINNT\system32\SHLWAPI.DLL
                  0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
                  0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
                  0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll
                  0x74FD0000 - 0x74FEE000 C:\WINNT\system32\msafd.dll
                  0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
                  0x1CEA0000 - 0x1CEAF000 C:\Sun\AppServer\jdk\jre\bin\net.dll
                  0x1D940000 - 0x1D945000 C:\Sun\AppServer\jdk\jre\bin\rmi.dll
                  0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
                  0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
                  0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL

                  Heap at VM Abort:
                  Heap
                  def new generation total 1792K, used 1479K [0x10010000, 0x10200000, 0x10720000)
                  eden space 1600K, 80% used [0x10010000, 0x10151f08, 0x101a0000)
                  from space 192K, 99% used [0x101d0000, 0x101ffff8, 0x10200000)
                  to space 192K, 0% used [0x101a0000, 0x101a0000, 0x101d0000)
                  tenured generation total 15456K, used 15408K [0x10720000, 0x11638000, 0x14010000)
                  the space 15456K, 99% used [0x10720000, 0x1162c3c0, 0x1162c400, 0x11638000)
                  compacting perm gen total 16384K, used 15882K [0x14010000, 0x15010000, 0x18010000)
                  the space 16384K, 96% used [0x14010000, 0x14f92ac0, 0x14f92c00, 0x15010000)

                  Local Time = Tue Aug 24 10:18:49 2004
                  Elapsed Time = 168
                  #
                  # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
                  # Error ID : 4A564D0E4350500517
                  # Please report this error at
                  # http://java.sun.com/cgi-bin/bugreport.cgi
                  #
                  # Java VM: Java HotSpot(TM) Server VM (1.4.2_02-b03 mixed mode)
                  #
                  # An error report file has been saved as hs_err_pid1176.log.
                  # Please refer to the file for further information.
                  #

                  please help me...Its urgent...
                  Thank u..
                  Praveena