-
1. Re: Basic Question for Cooper of Jae77 (or anyone)
thepriz Apr 13, 2004 10:05 AM (in response to natjohns)and one more thing... every time i make a change and run 'build deploy' from the nukes subdirectory, i get a null pointer exception for every module like the following...
12:00:44,775 INFO [BBModule] Starting 12:00:45,836 ERROR [Main] Start component failed nukes.modules:name=bb java.lang.NullPointerException at org.jboss.nukes.core.Main.componentStarts(Main.java:258) at org.jboss.nukes.core.Main.access$1100(Main.java:62) at org.jboss.nukes.core.Main$3.handleNotification(Main.java:480) at org.jboss.mx.server.NotificationListenerProxy.handleNotification(NotificationListenerProxy.java:69) at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:95) at org.jboss.nukes.mx.AbstractMBean.sendNotification(AbstractMBean.java:98) at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.modelmbean.ModelMBeanInvoker$ReflectedNotificationBroadcaster.sendNotification(ModelMBeanInvoker.java:534) at org.jboss.mx.modelmbean.ModelMBeanInvoker.sendAttributeChangeNotification(ModelMBeanInvoker.java:221) at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:72) at org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93) at org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:93) at org.jboss.mx.server.MBeanInvoker.setAttribute(MBeanInvoker.java:173) at org.jboss.nukes.mx.LifeCycleInterceptor.setState(LifeCycleInterceptor.java:106) at org.jboss.nukes.mx.LifeCycleInterceptor.transition(LifeCycleInterceptor.java:173) at org.jboss.nukes.mx.LifeCycleInterceptor.start(LifeCycleInterceptor.java:134) at org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:64) at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at org.jboss.system.ServiceController.start(ServiceController.java:411) at sun.reflect.GeneratedMethodAccessor6.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 $Proxy153.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:331) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) 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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.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 $Proxy12.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor20.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 $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
-
2. Re: Basic Question for Cooper of Jae77 (or anyone)
jae77 Apr 13, 2004 10:18 AM (in response to natjohns)i use eclipse as my ide, but primarily do builds and deployments from the command line - on occassion, i will use ant from w/in eclipse.
you don't need any special configurations to do the hot deployments. once you've made the changes, just re-run "build deploy" and you will be good to go.
could you post specific questions w.r.t. questions/problems you have in getting up and running? -
3. Re: Basic Question for Cooper of Jae77 (or anyone)
julien1 Apr 13, 2004 10:22 AM (in response to natjohns)I am a big fan of Intellij IDEA and the command line :
>sh build.sh clean >sh build.sh deploy >etc...
-
4. Re: Basic Question for Cooper of Jae77 (or anyone)
natjohns Apr 13, 2004 10:25 AM (in response to natjohns)Thanks for your quick responsed guys! The error that I am seeing right now is this:
10:15:11,822 ERROR [Main] htmlnot a registered component
I am starting to think that the db is currupt because I have redownloaded the 1.0.0 source and am still getting the same error.
I will try reinstalling the database to see if that helps.
Thanks again... -
5. Re: Basic Question for Cooper of Jae77 (or anyone)
natjohns Apr 13, 2004 10:50 AM (in response to natjohns)reinstalling the db didnt work... i am going to start all over again to see if i can get it going once more...
-
6. Re: Basic Question for Cooper of Jae77 (or anyone)
jae77 Apr 13, 2004 11:34 AM (in response to natjohns)"cooper" wrote:
I am a big fan of Intellij IDEA and the command line :>sh build.sh clean >sh build.sh deploy >etc...
bah - chmod 700 on build.sh and add an alias :) -
7. Re: Basic Question for Cooper of Jae77 (or anyone)
natjohns Apr 13, 2004 12:05 PM (in response to natjohns)OK. So I got it to run again by grabbing CVS and rebuilding everything. I added one sys.out.println to the NukeServlet doGet method to see if I could get anything to change. I went out to the nukes subdirectory and did a:
build clean
build deploy
and lost all of the blocks on the side, so i did a 'build deploy-compents' too
got everything back, but the println never happens. am i doing something wrong?
thanks -
8. Re: Basic Question for Cooper of Jae77 (or anyone)
natjohns Apr 13, 2004 12:11 PM (in response to natjohns)and one more thing... every time i make a change and run 'build deploy' from the nukes subdirectory, i get a null pointer exception for every module like the following...
12:00:44,775 INFO [BBModule] Starting 12:00:45,836 ERROR [Main] Start component failed nukes.modules:name=bb java.lang.NullPointerException at org.jboss.nukes.core.Main.componentStarts(Main.java:258) at org.jboss.nukes.core.Main.access$1100(Main.java:62) at org.jboss.nukes.core.Main$3.handleNotification(Main.java:480) at org.jboss.mx.server.NotificationListenerProxy.handleNotification(NotificationListenerProxy.java:69) at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:95) at org.jboss.nukes.mx.AbstractMBean.sendNotification(AbstractMBean.java:98) at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.modelmbean.ModelMBeanInvoker$ReflectedNotificationBroadcaster.sendNotification(ModelMBeanInvoker.java:534) at org.jboss.mx.modelmbean.ModelMBeanInvoker.sendAttributeChangeNotification(ModelMBeanInvoker.java:221) at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:72) at org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93) at org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:93) at org.jboss.mx.server.MBeanInvoker.setAttribute(MBeanInvoker.java:173) at org.jboss.nukes.mx.LifeCycleInterceptor.setState(LifeCycleInterceptor.java:106) at org.jboss.nukes.mx.LifeCycleInterceptor.transition(LifeCycleInterceptor.java:173) at org.jboss.nukes.mx.LifeCycleInterceptor.start(LifeCycleInterceptor.java:134) at org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:64) at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at org.jboss.system.ServiceController.start(ServiceController.java:411) at sun.reflect.GeneratedMethodAccessor6.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 $Proxy153.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:331) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) 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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.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 $Proxy12.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor20.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 $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
-
9. Re: Basic Question for Cooper of Jae77 (or anyone)
natjohns Apr 13, 2004 1:46 PM (in response to natjohns)"thepriz" wrote:
If you deloy nukes you have to redeploy all the modules you had deployed before.
that's the way i fixed it before... i guess i was hoping for an easier way to test changes. -
10. Re: Basic Question for Cooper of Jae77 (or anyone)
jae77 Apr 13, 2004 8:57 PM (in response to natjohns)nope - correct behavior for the classloader.