RE: [JBoss-dev] JIKES
can someone post the snippet to use jikes as the compiler with ant? sorry for the beginner question.. marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain |Sundstrom |Sent: Wednesday, August 22, 2001 4:45 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] Extra ; | | |That's it. Why don't we fix these errors. I think both are Ambiguous class |referances and can be fixed with absolute class referances. We should |atleast try, as jikes is like a billion times faster then javac. Do you |want to take a shot at resolving the errors? (take a look at the jikes docs |for info on resolving the problems) | |-dain | |- Original Message - |From: Dave Smith [EMAIL PROTECTED] |To: [EMAIL PROTECTED] |Sent: Wednesday, August 22, 2001 3:19 PM |Subject: Re: [JBoss-dev] Extra ; | | | As of 4:14 EST | jikes -v | Version 1.12 8/1/2000 | | | compile-classes: | [mkdir] Created dir: /home/dave/jboss/cluster/output/classes | [javac] Compiling 22 source files to | /home/dave/jboss/cluster/output/classes | [javac] | [javac] Issued 1 semantic warning compiling | /home/dave/jboss/cluster/src/main/org/jboss/ha/HAConfigNodeImpl.java: | [javac] | [javac]441. wait (); | [javac] - | [javac] *** Caution: Ambiguous reference to member named wait | inherited from type java/lang/Object but also declared or inherited in | the enclosing type org/jboss/ha/HAConfigNodeImpl. Explicit | qualification is required. | | | [javac] Compiling 1 source file to | /home/dave/jboss/plugins/jetty/output/classes | [javac] | [javac] Found 1 semantic error compiling | |/home/dave/jboss/plugins/jetty/src/main/org/jboss/jetty/SetupHandl |er.java: | [javac] | [javac] 21. public class SetupHandler | [javac] -- | [javac] *** Error: The abstract method void | handle(java.lang.String $1, com.mortbay.HTTP.HttpRequest $2, | com.mortbay.HTTP.HttpResponse $3);, inherited from type | com/mortbay/HTTP/Handler/NullHandler, is not implemented in the | non-abstract class org/jboss/jetty/SetupHandler. Since the type | com/mortbay/HTTP/Handler/NullHandler was read from a class file, it is | possible that it just needs to be recompiled because after having | inherited method void handle(java.lang.String $1, | com.mortbay.HTTP.HttpRequest $2, com.mortbay.HTTP.HttpResponse $3); | from an interface, the method was subsequently removed from that |interface. | | | | But the ';' problem went away ... | | Jason Dillon wrote: | I think it still fails to compile some org.jboss.web.* stuff properly. | | --jason | | | On Wed, 22 Aug 2001, Dain Sundstrom wrote: | | | Fixed, will commit change as soon as sourcefouge cvs is back on line. | | Does jikes work compile jboss server now? | | -dain | | - Original Message - | From: Dave Smith [EMAIL PROTECTED] | To: [EMAIL PROTECTED] | Sent: Tuesday, August 21, 2001 6:44 AM | Subject: [JBoss-dev] Extra ; | | | | Dain in server/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java |line | 66 you have an extra ';' terminating the return statement. It is |causing | jikes to complain. | | Found 1 semantic error compiling | | | |/home/dave/jboss/server/src/main/org/jboss/ejb/plugins/cmp/ejbql |/Parser.j |av | a: | | [javac] | [javac] 66. return | (Assembly)completeMatches.iterator().next();; | [javac] | ^ | [javac] *** Error: This statement is unreachable. | | Could you take it out? Thanks .. | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] JIKES
If you are uising buildmagic just uncomment the line build.compiler=jikes in local.properties in a build.xml file set the build.compiler=jikes property marc fleury wrote: can someone post the snippet to use jikes as the compiler with ant? sorry for the beginner question.. marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain |Sundstrom |Sent: Wednesday, August 22, 2001 4:45 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] Extra ; | | |That's it. Why don't we fix these errors. I think both are Ambiguous class |referances and can be fixed with absolute class referances. We should |atleast try, as jikes is like a billion times faster then javac. Do you |want to take a shot at resolving the errors? (take a look at the jikes docs |for info on resolving the problems) | |-dain | |- Original Message - |From: Dave Smith [EMAIL PROTECTED] |To: [EMAIL PROTECTED] |Sent: Wednesday, August 22, 2001 3:19 PM |Subject: Re: [JBoss-dev] Extra ; | | | As of 4:14 EST | jikes -v | Version 1.12 8/1/2000 | | | compile-classes: | [mkdir] Created dir: /home/dave/jboss/cluster/output/classes | [javac] Compiling 22 source files to | /home/dave/jboss/cluster/output/classes | [javac] | [javac] Issued 1 semantic warning compiling | /home/dave/jboss/cluster/src/main/org/jboss/ha/HAConfigNodeImpl.java: | [javac] | [javac]441. wait (); | [javac] - | [javac] *** Caution: Ambiguous reference to member named wait | inherited from type java/lang/Object but also declared or inherited in | the enclosing type org/jboss/ha/HAConfigNodeImpl. Explicit | qualification is required. | | | [javac] Compiling 1 source file to | /home/dave/jboss/plugins/jetty/output/classes | [javac] | [javac] Found 1 semantic error compiling | |/home/dave/jboss/plugins/jetty/src/main/org/jboss/jetty/SetupHandl |er.java: | [javac] | [javac] 21. public class SetupHandler | [javac] -- | [javac] *** Error: The abstract method void | handle(java.lang.String $1, com.mortbay.HTTP.HttpRequest $2, | com.mortbay.HTTP.HttpResponse $3);, inherited from type | com/mortbay/HTTP/Handler/NullHandler, is not implemented in the | non-abstract class org/jboss/jetty/SetupHandler. Since the type | com/mortbay/HTTP/Handler/NullHandler was read from a class file, it is | possible that it just needs to be recompiled because after having | inherited method void handle(java.lang.String $1, | com.mortbay.HTTP.HttpRequest $2, com.mortbay.HTTP.HttpResponse $3); | from an interface, the method was subsequently removed from that |interface. | | | | But the ';' problem went away ... | | Jason Dillon wrote: | I think it still fails to compile some org.jboss.web.* stuff properly. | | --jason | | | On Wed, 22 Aug 2001, Dain Sundstrom wrote: | | | Fixed, will commit change as soon as sourcefouge cvs is back on line. | | Does jikes work compile jboss server now? | | -dain | | - Original Message - | From: Dave Smith [EMAIL PROTECTED] | To: [EMAIL PROTECTED] | Sent: Tuesday, August 21, 2001 6:44 AM | Subject: [JBoss-dev] Extra ; | | | | Dain in server/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java |line | 66 you have an extra ';' terminating the return statement. It is |causing | jikes to complain. | | Found 1 semantic error compiling | | | |/home/dave/jboss/server/src/main/org/jboss/ejb/plugins/cmp/ejbql |/Parser.j |av | a: | | [javac] | [javac] 66. return | (Assembly)completeMatches.iterator().next();; | [javac] | ^ | [javac] *** Error: This statement is unreachable. | | Could you take it out? Thanks .. | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] JIKES
I saw the response to this, but I wanted to add, that I did add a HOWTO in the BMUG for this. --jason On Wed, 22 Aug 2001, marc fleury wrote: can someone post the snippet to use jikes as the compiler with ant? sorry for the beginner question.. marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain |Sundstrom |Sent: Wednesday, August 22, 2001 4:45 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] Extra ; | | |That's it. Why don't we fix these errors. I think both are Ambiguous class |referances and can be fixed with absolute class referances. We should |atleast try, as jikes is like a billion times faster then javac. Do you |want to take a shot at resolving the errors? (take a look at the jikes docs |for info on resolving the problems) | |-dain | |- Original Message - |From: Dave Smith [EMAIL PROTECTED] |To: [EMAIL PROTECTED] |Sent: Wednesday, August 22, 2001 3:19 PM |Subject: Re: [JBoss-dev] Extra ; | | | As of 4:14 EST | jikes -v | Version 1.12 8/1/2000 | | | compile-classes: | [mkdir] Created dir: /home/dave/jboss/cluster/output/classes | [javac] Compiling 22 source files to | /home/dave/jboss/cluster/output/classes | [javac] | [javac] Issued 1 semantic warning compiling | /home/dave/jboss/cluster/src/main/org/jboss/ha/HAConfigNodeImpl.java: | [javac] | [javac]441. wait (); | [javac] - | [javac] *** Caution: Ambiguous reference to member named wait | inherited from type java/lang/Object but also declared or inherited in | the enclosing type org/jboss/ha/HAConfigNodeImpl. Explicit | qualification is required. | | | [javac] Compiling 1 source file to | /home/dave/jboss/plugins/jetty/output/classes | [javac] | [javac] Found 1 semantic error compiling | |/home/dave/jboss/plugins/jetty/src/main/org/jboss/jetty/SetupHandl |er.java: | [javac] | [javac] 21. public class SetupHandler | [javac] -- | [javac] *** Error: The abstract method void | handle(java.lang.String $1, com.mortbay.HTTP.HttpRequest $2, | com.mortbay.HTTP.HttpResponse $3);, inherited from type | com/mortbay/HTTP/Handler/NullHandler, is not implemented in the | non-abstract class org/jboss/jetty/SetupHandler. Since the type | com/mortbay/HTTP/Handler/NullHandler was read from a class file, it is | possible that it just needs to be recompiled because after having | inherited method void handle(java.lang.String $1, | com.mortbay.HTTP.HttpRequest $2, com.mortbay.HTTP.HttpResponse $3); | from an interface, the method was subsequently removed from that |interface. | | | | But the ';' problem went away ... | | Jason Dillon wrote: | I think it still fails to compile some org.jboss.web.* stuff properly. | | --jason | | | On Wed, 22 Aug 2001, Dain Sundstrom wrote: | | | Fixed, will commit change as soon as sourcefouge cvs is back on line. | | Does jikes work compile jboss server now? | | -dain | | - Original Message - | From: Dave Smith [EMAIL PROTECTED] | To: [EMAIL PROTECTED] | Sent: Tuesday, August 21, 2001 6:44 AM | Subject: [JBoss-dev] Extra ; | | | | Dain in server/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java |line | 66 you have an extra ';' terminating the return statement. It is |causing | jikes to complain. | | Found 1 semantic error compiling | | | |/home/dave/jboss/server/src/main/org/jboss/ejb/plugins/cmp/ejbql |/Parser.j |av | a: | | [javac] | [javac] 66. return | (Assembly)completeMatches.iterator().next();; | [javac] | ^ | [javac] *** Error: This statement is unreachable. | | Could you take it out? Thanks .. | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] JIKES
can't believe you are pulling an RTFM on moi! man these open source young arrogant puppies, if you were in my paratrooper squad I would have squashed you like a bug, but I guess that nowadays I must say why, thank you jason I will go read the FM, how kind and considerate of you to put in the RTFM , man I get no respect these days, no respect I tell you marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Jason |Dillon |Sent: Wednesday, August 22, 2001 6:36 PM |To: [EMAIL PROTECTED] |Subject: RE: [JBoss-dev] JIKES | | |I saw the response to this, but I wanted to add, that I did add a HOWTO in |the BMUG for this. | |--jason | | |On Wed, 22 Aug 2001, marc fleury wrote: | | can someone post the snippet to use jikes as the compiler with ant? sorry | for the beginner question.. | | marcf | | | |-Original Message- | |From: [EMAIL PROTECTED] | |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain | |Sundstrom | |Sent: Wednesday, August 22, 2001 4:45 PM | |To: [EMAIL PROTECTED] | |Subject: Re: [JBoss-dev] Extra ; | | | | | |That's it. Why don't we fix these errors. I think both are |Ambiguous class | |referances and can be fixed with absolute class referances. We should | |atleast try, as jikes is like a billion times faster then javac. Do you | |want to take a shot at resolving the errors? (take a look at |the jikes docs | |for info on resolving the problems) | | | |-dain | | | |- Original Message - | |From: Dave Smith [EMAIL PROTECTED] | |To: [EMAIL PROTECTED] | |Sent: Wednesday, August 22, 2001 3:19 PM | |Subject: Re: [JBoss-dev] Extra ; | | | | | | As of 4:14 EST | | jikes -v | | Version 1.12 8/1/2000 | | | | | | compile-classes: | | [mkdir] Created dir: /home/dave/jboss/cluster/output/classes | | [javac] Compiling 22 source files to | | /home/dave/jboss/cluster/output/classes | | [javac] | | [javac] Issued 1 semantic warning compiling | | |/home/dave/jboss/cluster/src/main/org/jboss/ha/HAConfigNodeImpl.java: | | [javac] | | [javac]441. wait (); | | [javac] - | | [javac] *** Caution: Ambiguous reference to member named wait | | inherited from type java/lang/Object but also declared or |inherited in | | the enclosing type org/jboss/ha/HAConfigNodeImpl. Explicit | | qualification is required. | | | | | | [javac] Compiling 1 source file to | | /home/dave/jboss/plugins/jetty/output/classes | | [javac] | | [javac] Found 1 semantic error compiling | | | |/home/dave/jboss/plugins/jetty/src/main/org/jboss/jetty/SetupHandl | |er.java: | | [javac] | | [javac] 21. public class SetupHandler | | [javac] -- | | [javac] *** Error: The abstract method void | | handle(java.lang.String $1, com.mortbay.HTTP.HttpRequest $2, | | com.mortbay.HTTP.HttpResponse $3);, inherited from type | | com/mortbay/HTTP/Handler/NullHandler, is not implemented in the | | non-abstract class org/jboss/jetty/SetupHandler. Since the type | | com/mortbay/HTTP/Handler/NullHandler was read from a class |file, it is | | possible that it just needs to be recompiled because after having | | inherited method void handle(java.lang.String $1, | | com.mortbay.HTTP.HttpRequest $2, com.mortbay.HTTP.HttpResponse $3); | | from an interface, the method was subsequently removed from that | |interface. | | | | | | | | But the ';' problem went away ... | | | | Jason Dillon wrote: | | I think it still fails to compile some org.jboss.web.* |stuff properly. | | | | --jason | | | | | | On Wed, 22 Aug 2001, Dain Sundstrom wrote: | | | | | | Fixed, will commit change as soon as sourcefouge cvs is |back on line. | | | | Does jikes work compile jboss server now? | | | | -dain | | | | - Original Message - | | From: Dave Smith [EMAIL PROTECTED] | | To: [EMAIL PROTECTED] | | Sent: Tuesday, August 21, 2001 6:44 AM | | Subject: [JBoss-dev] Extra ; | | | | | | | | Dain in server/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java | |line | | 66 you have an extra ';' terminating the return statement. It is | |causing | | jikes to complain. | | | | Found 1 semantic error compiling | | | | | | | |/home/dave/jboss/server/src/main/org/jboss/ejb/plugins/cmp/ejbql | |/Parser.j | |av | | a: | | | | [javac] | | [javac] 66. return | | (Assembly)completeMatches.iterator().next();; | | [javac] | | ^ | | [javac] *** Error: This statement is unreachable. | | | | Could you take it out? Thanks .. | | | | | | ___ | | Jboss-development mailing list | | [EMAIL PROTECTED] | | http://lists.sourceforge.net/lists/listinfo/jboss-development | | | | | | | | ___ | | Jboss-development mailing list | | [EMAIL PROTECTED] | | http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] JIKES
On Thu, 23 Aug 2001, marc fleury wrote: can't believe you are pulling an RTFM on moi! That is not what I meant at all. I knew you had the answer already, but I wanted to let you (and others) know that there was more resource on the subject available. man these open source young arrogant puppies, Arrogant... perhaps... perhaps not. if you were in my paratrooper squad I would have squashed you like a bug, but I guess that nowadays I must say why, thank you jason I will go read the FM, how kind and considerate of you to put in the RTFM , man I get no respect these days, no respect I tell you puff, puff, give. --jason ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Jikes patch
Hi. The following patch makes jikes more happy. There are still warnings; check the output.txt file. Cheers, Jesper Index: ejb/plugins/jms/JMSContainerInvoker.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java,v retrieving revision 1.12 diff -u -r1.12 JMSContainerInvoker.java --- ejb/plugins/jms/JMSContainerInvoker.java 2001/06/01 06:06:37 1.12 +++ ejb/plugins/jms/JMSContainerInvoker.java 2001/06/12 10:32:13 @@ -535,37 +535,30 @@ public void onException(JMSException ex) { currentThread = Thread.currentThread(); - try { - Logger.warning(MDB lost connection to provider); - boolean tryIt = true; - while(tryIt notStoped) { - Logger.log(MDB Trying to reconnect...); - try { - try { - Thread.sleep(1); - }catch(InterruptedException ie) { tryIt=false; return;} - //try { - // Reboot container - invoker.innerStop(); - invoker.destroy(); - invoker.init(); - invoker.start(); - tryIt = false; - Logger.log(OK - reconnected); - //return; - }catch(Exception e) { - Logger.log(MDB error reconnecting: +e); - } - } + +Logger.warning(MDB lost connection to provider); +boolean tryIt = true; +while(tryIt notStoped) { + Logger.log(MDB Trying to reconnect...); + try { +try { + Thread.sleep(1); +}catch(InterruptedException ie) { tryIt=false; return;} +//try { +// Reboot container +invoker.innerStop(); +invoker.destroy(); +invoker.init(); +invoker.start(); +tryIt = false; +Logger.log(OK - reconnected); +//return; + }catch(Exception e) { +Logger.log(MDB error reconnecting: +e); + } +} - - //topicConnection.close(); - }catch(Exception je) { - Logger.warning(Could not restart connection + je); - je.printStackTrace(); - } finally { - currentThread = null; - } +currentThread = null; } } Index: jdbc/HypersonicDatabase.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/jdbc/HypersonicDatabase.java,v retrieving revision 1.8 diff -u -r1.8 HypersonicDatabase.java --- jdbc/HypersonicDatabase.java 2001/05/21 20:30:52 1.8 +++ jdbc/HypersonicDatabase.java 2001/06/12 10:32:13 @@ -119,7 +119,7 @@ public void run() { // Get DB directory -URL dbLocator = getClass().getResource(/db.properties); +URL dbLocator = this.getClass().getResource(/db.properties); File dbDir = new File(dbLocator.getFile()).getParentFile(); File dbName = new File(dbDir, hypersonic/+name); Index: jmx/client/ConnectorFactoryService.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/jmx/client/ConnectorFactoryService.java,v retrieving revision 1.6 diff -u -r1.6 ConnectorFactoryService.java --- jmx/client/ConnectorFactoryService.java 2001/05/10 22:01:17 1.6 +++ jmx/client/ConnectorFactoryService.java 2001/06/12 10:32:13 @@ -84,12 +84,7 @@ // Protected - protected void initService() throws Exception { - try { mFactory = new ConnectorFactoryImpl( mServer ); - } - catch( Exception e ) { - e.printStackTrace(); - } } protected void startService() throws Exception { Index: web/ThreadPool.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/web/ThreadPool.java,v retrieving revision 1.4 diff -u -r1.4 ThreadPool.java --- web/ThreadPool.java 2000/12/07 15:45:25 1.4 +++ web/ThreadPool.java 2001/06/12 10:32:14 @@ -112,7 +112,7 @@ public synchronized void die() { running = false; - notify(); + this.notify(); } /** @@ -126,7 +126,7 @@ if (this.work != null) throw new IllegalStateException(Worker already has work to do.); this.work = work; - notify(); + this.notify(); } /** @@ -153,7 +153,7 @@ synchronized (this) { while (running work == null) { try { - wait(); + this.wait(); } catch (InterruptedException e) { // Ignore } output.txt.gz