I've just put a new JBoss-2.2.2_Jetty-3.1.RC5 (no.5) into CVS. you can get it by going
to :
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/binaries/JBoss-2.2.2_Jetty-3.1.RC5-5.tgz
click on Revision 1.1 and it should start to download (Netscape) failing this try e.g.
"Save as" on the link.
This should definitely fix the 2nd Exception that you are getting, which is my fault
:-), however the first one is a mystery. Seeing as Jetty is not
mentioned on it's stacktrace I'm tempted to say that it is nothing to do with me.
I can only assume that JBossMQ is telling you the truth and that it's configuration IS
invalid. When JBoss_Jetty is built it simply copies JBoss into one
subdir, Jetty into another, installs a jar or two and sets up the Jetty config. It
doesn't mess around with JBossMQ or anything else.
Try run.bat without the 'jetty'. this should run JBoss without Jetty. You won't be
able to deploy your WebApps, but you should be able to see if you still
get the JBossMQ Exception. I would be interested to know.
Thanks for your interest,
Jules
P.S.
Do you get the JBossMQ error before or after deploying ?
Are copying your ears into the deploy dir before or after startup, or using the JMX
deployer ?
[EMAIL PROTECTED] wrote:
> I have installed JBoss-2.2.2_Jetty-3.1.RC5 on a Win98 box. I run it
> from the command line using JDK 1.3.0-C (the one that came with
> JBuilder4 Foundation). I use the following command;
> run.bat jetty
>
> jBoss starts up and it appears to run my two tutorial applications
> (the Interest tutorial and the CDCollection tutorial). I can add CDs,
> take it down, restart it and the CDs are still there (although the
> CDCollection stops adding CDs after CD id 151 because 152 is a
> duplicate and it doesn't handle this very gracefully).
>
> However, I get one exception from jBoss as it starts up and another as
> it comes back down again. I stop it using <Ctrl-C> in the DOS window I
> started it from. On the assumption that exceptions are a bad thing,
> here they are;
>
> On startup (I haven't changed any config files):
> [JBossMQ] Starting
> [JBossMQ] Cannot start the JMS server ! Invalid configuration.
> [JBossMQ] javax.jms.JMSException: Invalid configuration.
> [JBossMQ] at
>org.jbossmq.server.PersistenceManager.<init>(PersistenceManager.java:107)
> [JBossMQ] at org.jbossmq.server.StartServer.run(StartServer.java:170)
> [JBossMQ] at org.jbossmq.server.StartServer.start(StartServer.java:70)
> [JBossMQ] at
>org.jbossmq.server.JBossMQService.startService(JBossMQService.java:66)
> [JBossMQ] at
>org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
> [JBossMQ] at java.lang.reflect.Method.invoke(Native Method)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [JBossMQ] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
> [JBossMQ] at java.lang.reflect.Method.invoke(Native Method)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [JBossMQ] at org.jboss.Main.<init>(Main.java:217)
> [JBossMQ] at org.jboss.Main$1.run(Main.java:121)
> [JBossMQ] at java.security.AccessController.doPrivileged(Native Method)
> [JBossMQ] at org.jboss.Main.main(Main.java:117)
> [JBossMQ] Linked Exception:
> [JBossMQ] javax.jms.JMSException: Could not open the queue's tranaction log:
>/D:/java/JBoss/JBoss-2.2.2_Jetty-3.1.RC5/jboss/db/jbossmq/transactions.dat
> [JBossMQ] at
>org.jbossmq.persistence.SpyTxLog.throwJMSException(SpyTxLog.java:95)
> [JBossMQ] at org.jbossmq.persistence.SpyTxLog.<init>(SpyTxLog.java:35)
> [JBossMQ] at
>org.jbossmq.server.PersistenceManager.<init>(PersistenceManager.java:104)
> [JBossMQ] at org.jbossmq.server.StartServer.run(StartServer.java:170)
> [JBossMQ] at org.jbossmq.server.StartServer.start(StartServer.java:70)
> [JBossMQ] at
>org.jbossmq.server.JBossMQService.startService(JBossMQService.java:66)
> [JBossMQ] at
>org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
> [JBossMQ] at java.lang.reflect.Method.invoke(Native Method)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [JBossMQ] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
> [JBossMQ] at java.lang.reflect.Method.invoke(Native Method)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [JBossMQ] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [JBossMQ] at org.jboss.Main.<init>(Main.java:217)
> [JBossMQ] at org.jboss.Main$1.run(Main.java:121)
> [JBossMQ] at java.security.AccessController.doPrivileged(Native Method)
> [JBossMQ] at org.jboss.Main.main(Main.java:117)
> [JBossMQ] Started
>
> I don't explicitly use JMS, so don't know if it's working or not.
>
> When I shut down I get the following;
>
> [Jetty] Deregister
>com.mortbay.Jetty:name=Jetty,Jetty=0,context=/,ServletHandlerContext=0
> [Jetty] Destroyed ForwardHandler in null
> [Jetty] Destroyed ResourceHandler in null
> [Jetty] Deregister
>com.mortbay.Jetty:name=Jetty,Jetty=0,context=/cgi-bin,ServletHandlerContext=0
> [Jetty] Deregister
>com.mortbay.Jetty:name=Jetty,Jetty=0,context=/javadoc,ServletHandlerContext=0
> [Jetty] Destroyed ResourceHandler in null
> [Jetty] Deregister
>com.mortbay.Jetty:name=Jetty,Jetty=0,context=/demo,ServletHandlerContext=0
> [Jetty] Destroyed ForwardHandler in null
> [Jetty] Destroyed ResourceHandler in null
> [Jetty] Destroyed DumpHandler in null
> [Jetty] Deregister
>com.mortbay.Jetty:name=Jetty,Jetty=0,context=/jetty,WebApplicationContext=0
> [Jetty] Destroyed SecurityHandler in null
> [Jetty] Destroyed WebInfProtect
> [Jetty] Destroyed ResourceHandler in null
> [Jetty] Destroyed NotFoundHandler in null
> [Jetty] Destroyed SecurityHandler in null
> [Jetty] Destroyed WebInfProtect
> [Jetty] Destroy SocketListener on 0.0.0.0:8080
> [Jetty] Deregister com.mortbay.Jetty:name=Jetty,Jetty=0,SocketListener=0
> [Jetty] Destroying
> [Jetty] Destroying (jetty.mortbay.com)
> [Jetty] java.lang.NullPointerException
> [Jetty] at com.mortbay.HTTP.HttpServer.destroy(HttpServer.java:229)
> [Jetty] at org.jboss.jetty.JettyService.destroyService(JettyService.java:317)
> [Jetty] at
>org.jboss.util.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:147)
> [Jetty] at java.lang.reflect.Method.invoke(Native Method)
> [Jetty] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Jetty] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Jetty] at org.jboss.util.ServiceControl.destroy(ServiceControl.java:172)
> [Jetty] at java.lang.reflect.Method.invoke(Native Method)
> [Jetty] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Jetty] at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Jetty] at org.jboss.util.Shutdown.shutdownServices(Shutdown.java:96)
> [Jetty] at org.jboss.util.Shutdown$1.run(Shutdown.java:56)
> [Jetty] Destroyed
>
> Is this all normal, or should I panic?
>
> Cheers
> Bent D
> --
> Bent Dalager - [EMAIL PROTECTED] - http://www.pvv.org/~bcd
> powered by emacs
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user