Hi all,
Those of you who are interested in JOnAS might like to know that the version I just built, jonas-4.3.3-1jpp_3fc, actually a) runs and b) serves pages! It's very crunchy at the moment, but any testing will be sorely appreciated.
NOTES
1. When you try and start it note that "service jonas start" never returns control to the shell so you'll have to tail /var/log/jonas/jonas to see when it's started. Look for a message like "The JOnAS Server 'jonas' version 4.3.3 is ready".
2. It locks up during startup fairly frequently. If the last line in /var/log/jonas/jonas is "jmx service started" or "jtm service started" then you probably want to kill it and have another go.
3. You may get a load of database errors. If so, try removing dbm from jonas.services in /etc/jonas/jonas.properties and uninstalling the jonas-examples rpm.
4. "service jonas stop" doesn't seem to work, but the server can be halted quickly and easily by trying to look at the memory graph in the admin application.
Enjoy!
Gary
* Gary Benson gbenson@redhat.com [2005-06-24 10:06]:
Those of you who are interested in JOnAS might like to know that the version I just built, jonas-4.3.3-1jpp_3fc, actually a) runs and b) serves pages!
Congratulations, Gary!
Andrew
Andrew Overholt wrote:
- Gary Benson gbenson@redhat.com [2005-06-24 10:06]:
Those of you who are interested in JOnAS might like to know that the version I just built, jonas-4.3.3-1jpp_3fc, actually a) runs and b) serves pages!
Congratulations, Gary!
Thanks! :)
Hi,
On Fri, 2005-06-24 at 15:06 +0100, Gary Benson wrote:
Those of you who are interested in JOnAS might like to know that the version I just built, jonas-4.3.3-1jpp_3fc, actually a) runs and b) serves pages! It's very crunchy at the moment, but any testing will be sorely appreciated.
Cool. Some things that I had to do after yum install jonas: - yum install geronimo-specs - yum install howl-logger - Make a symlinks for howl-logger and postgresql-jdbc3 from /usr/share/java to /usr/share/jonas/lib/commons/jonas/ - Remove the dbm service as you said (maybe the postresql drivers weren't needed after all)
Then it seems to startup, although it complains about not being able to find a3cmlconfig and a3servers.xml. And I get some PermissionManagerExceptions since the PolicyConfigurationFactoryWrapper cannot be found.
Unfortunately after poking a bit at port 9000 with the webbrowser it seems to die without giving me any real feedback except 'JOnAS server jonas unreachable'. After that I need to kill some processes to try and start it again.
Cheers,
Mark
Hi,
On Fri, 2005-06-24 at 19:42 +0200, Mark Wielaard wrote:
Unfortunately after poking a bit at port 9000 with the webbrowser it seems to die without giving me any real feedback except 'JOnAS server jonas unreachable'. After that I need to kill some processes to try and start it again.
I did a yum upgrade and it gave me new jonas and jonas-client packages. And they work!
At least the /jonasAdmin things work (after guessing the user/password). I can even add new http connectors (although https doesn't seem to work yet) and query lots of the installed MBeans. As you said the graphs don't work yet and seem to crash the server since it tries to access our AWT gtk+ peers that want a Display connected. We need to figure out how to work in headless mode for server-side things.
JSPs seem broken since the compiler somehow seems to get a wrong classpath. It cannot find any imports like javax.servlet.*, org.objectweb.jonas.*, ... There must be some classpath property set wrongly by I haven't figured out where/what.
It takes a while before it all starts up. But it feels pretty smooth when it actually runs. Great work!
The amount of dependencies is amazing. Does someone have a graph of them, or is it easy to create a picture of the rpm dependency graph somehow? It would be fun to have one for Eclipse and Jonas.
Cheers,
Mark
Mark Wielaard wrote:
JSPs seem broken since the compiler somehow seems to get a wrong classpath. It cannot find any imports like javax.servlet.*, org.objectweb.jonas.*, ... There must be some classpath property set wrongly by I haven't figured out where/what.
Isn't jonasAdmin all JSPs? Certainly there's loads of JSP stuff in my classloader log...
It takes a while before it all starts up.
I'm going to aot-compile the stuff that's being hit, to hopefully speed that up.
But it feels pretty smooth when it actually runs. Great work!
Thank you. Thanks to everyone who's helped me too :)
The amount of dependencies is amazing. Does someone have a graph of them, or is it easy to create a picture of the rpm dependency graph somehow? It would be fun to have one for Eclipse and Jonas.
The graphs get very messy. I've done them separately for ant, tomcat and jonas, but never all together.
Cheers, Gary
Le lundi 27 juin 2005 à 09:36 +0100, Gary Benson a écrit :
The graphs get very messy. I've done them separately for ant, tomcat and jonas, but never all together.
Would be great to post them on jpackage-discuss - people often do not realise what a new release means (and a new release means getting at least ant and tomcat right)
Regards,
Nicolas Mailhot wrote:
Le lundi 27 juin 2005 à 09:36 +0100, Gary Benson a écrit :
The graphs get very messy. I've done them separately for ant, tomcat and jonas, but never all together.
Would be great to post them on jpackage-discuss - people often do not realise what a new release means (and a new release means getting at least ant and tomcat right)
Ok, I'll post them next time I make a set...
Cheers, Gary
Hi,
On Mon, 2005-06-27 at 09:55 +0100, Gary Benson wrote:
Nicolas Mailhot wrote:
Le lundi 27 juin 2005 à 09:36 +0100, Gary Benson a écrit :
The graphs get very messy. I've done them separately for ant, tomcat and jonas, but never all together.
Would be great to post them on jpackage-discuss - people often do not realise what a new release means (and a new release means getting at least ant and tomcat right)
Ok, I'll post them next time I make a set...
Could you post instructions on how to make such a set? It doesn't have to be some fancy graph. Just a list of all dependencies/packages would be nice. I assume yum/rpm actually has them. I hope there is some easy way to get a list starting from the jonas or eclipse-platform package.
Cheers,
Mark
Mark Wielaard wrote:
On Mon, 2005-06-27 at 09:55 +0100, Gary Benson wrote:
Nicolas Mailhot wrote:
Le lundi 27 juin 2005 à 09:36 +0100, Gary Benson a écrit :
The graphs get very messy. I've done them separately for ant, tomcat and jonas, but never all together.
Would be great to post them on jpackage-discuss - people often do not realise what a new release means (and a new release means getting at least ant and tomcat right)
Ok, I'll post them next time I make a set...
Could you post instructions on how to make such a set? It doesn't have to be some fancy graph. Just a list of all dependencies/packages would be nice. I assume yum/rpm actually has them. I hope there is some easy way to get a list starting from the jonas or eclipse-platform package.
I've generally written scripts to query the rpm database and/or a directory full of rpms and emit graphviz files for printing. Generally the scripts will start with a package at the top of the tree (tomcat5-admin-webapps, for example, or lately jonas-examples) and work their way down through whatever set of dependencies I was interested in and ignoring whatever set of things I didn't want to see.
I attached an example, so you can see what I mean. If I recall, it draws a graph of the runtime dependencies of the packages I maintain in FC4, with subpackages treated as separate entities.
Hope that helps, Gary
On Tue, 2005-06-28 at 13:39 +0100, Gary Benson wrote:
I've generally written scripts to query the rpm database and/or a directory full of rpms and emit graphviz files for printing.
Wow! I just tried making graphs showing eclipse and jonas dependencies ignoring anything not (indirectly) depending on gcj. http://gnu.wildebeest.org/diary/index.php?p=97
I am not sure I have a better overview now. And I didn't even include any eclipse plugins or the jonas examples. But I do have a lot more respect for our packagers!
Cheers,
Mark
Mark Wielaard wrote:
On Tue, 2005-06-28 at 13:39 +0100, Gary Benson wrote:
I've generally written scripts to query the rpm database and/or a directory full of rpms and emit graphviz files for printing.
Wow! I just tried making graphs showing eclipse and jonas dependencies ignoring anything not (indirectly) depending on gcj. http://gnu.wildebeest.org/diary/index.php?p=97
I am not sure I have a better overview now. And I didn't even include any eclipse plugins or the jonas examples.
Heh, most of the changes between the different graphing scripts are down to me trying to ignore huge sets of stuff so I actually get something meaningful out of it :)
How'd you get graphviz to plot square graphs anyway? It always makes long thin ones whenever I try...
http://gnu.wildebeest.org/diary/index.php?p=97:
But how any packager is going to stay sane is beyond me
Well, quite :)
On Wed, 2005-06-29 at 09:47 +0100, Gary Benson wrote:
How'd you get graphviz to plot square graphs anyway? It always makes long thin ones whenever I try...
dot -Nshape=box -Gfontname=Courier There are lots and lots of options. And I tried to use some more and some of the other algorithms to get a more sane readable graph. But this was the best I could do, everything else actually made the graphs more messy. See also: http://www.graphviz.org/cvs/doc/info/attrs.html
Cheers,
Mark
OK, for anyone trying to install on FC4, this works:
sudo rpm -Uhv jonas-* axis-1.2.1-1jpp_1fc.noarch.rpm carol-1.8.9.3-1jpp_2fc.i386.rpm castor-0.9.5-1jpp_1fc.noarch.rpm gif89encoder-0.90-0.b.1jpp_1fc.noarch.rpm howl-logger-0.1.8-1jpp_2fc.i386.rpm hsqldb-1.73.0-2jpp_1fc.noarch.rpm jacorb-2.2-3jpp_2fc.i386.rpm jakarta-commons-discovery-0.3-1jpp_1fc.noarch.rpm jgroups-2.2.6-1jpp_1fc.noarch.rpm joram-4.1.5-1jpp_2fc.noarch.rpm jonathan-core-4.1-1jpp_2fc.noarch.rpm jonathan-jeremie-4.2-1jpp_2fc.noarch.rpm jonathan-rmi-3.1-3.i386.rpm monolog-1.8.6-1jpp_2fc.noarch.rpm mx4j-3.0.1-1jpp_3fc.i386.rpm jotm-2.0.5-1jpp_1fc.noarch.rpm objectweb-anttask-1.2-1jpp_1fc.noarch.rpm oldkilim-1.1.3-2jpp_2fc.i386.rpm p6spy-1.3-2jpp_1fc.noarch.rpm struts-1.2.4-2jpp_1fc.i386.rpm tomcat5-5.0.30-6jpp_1fc.i386.rpm tomcat5-servlet-2.4-api-5.0.30-6jpp_1fc.i386.rpm tomcat5-jasper-5.0.30-6jpp_1fc.i386.rpm velocity-1.4-3jpp_1fc.noarch.rpm wsdl4j-1.5.1-1jpp_1fc.noarch.rpm xdoclet-1.2.2-2jpp_1fc.noarch.rpm xjavadoc-1.1-1jpp_1fc.noarch.rpm jakarta-commons-httpclient-3.0-0.rc2.0jpp_1fc.noarch.rpm jakarta-commons-cli-1.0-6jpp_1fc.noarch.rpm nanoxml-lite-2.2.3-3jpp_2fc.noarch.rpm adaptx-0.9.6-1jpp_1fc.noarch.rpm concurrent-1.3.2-2jpp_1fc.noarch.rpm tanukiwrapper-3.1.1-4jpp_1fc.i386.rpm bsh-1.3.0-5jpp_1fc.noarch.rpm gnu.regexp-1.1.4-7jpp_1fc.noarch.rpm werken.xpath-0.9.4-0.beta.9jpp_1fc.noarch.rpm jdom-1.0-1jpp_2fc.noarch.rpm mockobjects-0.09-11jpp_2fc.noarch.rpm bsf-2.3.0-6jpp_2fc.noarch.rpm jrefactory-2.8.9-3jpp_1fc.noarch.rpm geronimo-specs-compat-1.0-0.M2.2jpp_2fc.i386.rpm
But I get
Preparing... ########################################### [100%] 1:tomcat5-servlet-2.4-api########################################### [ 2%] 2:monolog ########################################### [ 4%] 3:geronimo-specs-compat ########################################### [ 7%] 4:nanoxml-lite ########################################### [ 9%] 5:oldkilim ########################################### [ 11%] 6:jonathan-core ########################################### [ 13%] 7:jonathan-jeremie ########################################### [ 16%] 8:tomcat5-jasper ########################################### [ 18%] 9:bsf ########################################### [ 20%] 10:jdom ########################################### [ 22%] 11:concurrent ########################################### [ 24%] 12:wsdl4j ########################################### [ 27%] 13:jakarta-commons-discove########################################### [ 29%] 14:werken.xpath ########################################### [ 31%] 15:velocity ########################################### [ 33%] 16:bsh ########################################### [ 36%] 17:jgroups ########################################### [ 38%] 18:hsqldb ########################################### [ 40%] 19:struts ########################################### [ 42%] 20:jrefactory ########################################### [ 44%] 21:xjavadoc ########################################### [ 47%] 22:mockobjects ########################################### [ 49%] 23:xdoclet ########################################### [ 51%] 24:gnu.regexp ########################################### [ 53%] 25:p6spy ########################################### [ 56%] 26:tanukiwrapper ########################################### [ 58%] 27:jacorb ########################################### [ 60%] 28:adaptx ########################################### [ 62%] 29:castor ########################################### [ 64%] 30:jakarta-commons-cli ########################################### [ 67%] 31:carol ########################################### [ 69%] 32:jakarta-commons-httpcli########################################### [ 71%] 33:axis ########################################### [ 73%] 34:mx4j ########################################### [ 76%] 35:joram ########################################### [ 78%] 36:tomcat5 ########################################### [ 80%] 37:objectweb-anttask ########################################### [ 82%] 38:jotm ########################################### [ 84%] 39:jonathan-rmi ########################################### [ 87%] 40:howl-logger ########################################### [ 89%] 41:gif89encoder ########################################### [ 91%] 42:jonas-client ########################################### [ 93%] 43:jonas ########################################### [ 96%] 44:jonas-docs ########################################### [ 98%] 45:jonas-examples ########################################### [100%] postmaster starting createdb: could not connect to database template1: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5433"? psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5433"? psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5433"? pg_ctl: PID file "/usr/share/jonas/pgsql/postmaster.pid" does not exist Is postmaster running?
* Andrew Haley aph@redhat.com [2005-06-29 09:20]:
sudo rpm -Uhv [...]
Couldn't you just:
yum --enablerepo=development install jonas-examples ?
Doing that, I get:
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: jonas-examples noarch 4.3.3-1jpp_3fc development 7.9 M Installing for dependencies: adaptx noarch 0.9.6-1jpp_1fc development 238 k axis noarch 1.2.1-1jpp_1fc development 1.5 M bsf noarch 2.3.0-6jpp_2fc development 135 k bsh noarch 1.3.0-5jpp_1fc development 238 k carol ppc 1.8.9.3-1jpp_4fc development 883 k castor noarch 0.9.5-1jpp_1fc development 1.4 M concurrent noarch 1.3.2-2jpp_1fc development 273 k geronimo-specs-compat ppc 1.0-0.M2.2jpp_2fc development 3.7 k gif89encoder noarch 0.90-0.b.1jpp_1fc development 15 k gnu.regexp noarch 1.1.4-7jpp_1fc development 57 k howl-logger ppc 0.1.8-1jpp_2fc development 141 k hsqldb noarch 1.73.0-2jpp_1fc development 557 k jacorb ppc 2.2-3jpp_2fc development 8.9 M jakarta-commons-cli noarch 1.0-6jpp_1fc development 31 k jakarta-commons-discovery noarch 1:0.3-1jpp_1fc development 71 k jgroups noarch 2.2.6-1jpp_1fc development 1.4 M jonas noarch 4.3.3-1jpp_3fc development 16 M jonas-client noarch 4.3.3-1jpp_3fc development 18 M jonathan-core ppc 4.1-1jpp_3fc development 252 k jonathan-jeremie ppc 4.2-1jpp_3fc development 437 k jonathan-rmi ppc 3.1-3 development 22 k joram ppc 4.1.5-1jpp_3fc development 1.8 M jotm ppc 2.0.5-1jpp_2fc development 303 k jrefactory noarch 2.8.9-3jpp_1fc development 1.6 M mockobjects noarch 0.09-11jpp_2fc development 53 k monolog ppc 1.8.6-1jpp_3fc development 435 k nanoxml-lite noarch 2.2.3-3jpp_2fc development 8.8 k objectweb-anttask noarch 1.2-1jpp_1fc development 20 k oldkilim ppc 1.1.3-2jpp_2fc development 226 k p6spy ppc 1.3-2jpp_2fc development 259 k postgresql-jdbc ppc 8.0.3-1 development 889 k tanukiwrapper ppc 3.1.1-4jpp_1fc development 121 k velocity noarch 1.4-3jpp_1fc development 340 k werken.xpath noarch 0.9.4-0.beta.9jpp_1fc development 74 k wsdl4j noarch 1.5.1-1jpp_1fc development 120 k xdoclet noarch 1.2.2-2jpp_1fc development 1.1 M xjavadoc noarch 1.1-1jpp_1fc development 216 k Updating for dependencies: mx4j ppc 1:3.0.1-1jpp_3fc development 2.2 M
Other than the missing geronimo-specs dep, is that correct, Gary?
Andrew
Andrew Overholt writes:
- Andrew Haley aph@redhat.com [2005-06-29 09:20]:
sudo rpm -Uhv [...]
Couldn't you just:
yum --enablerepo=development install jonas-examples ?
Doing that, I get:
I guess so.
That list doesn't look any different, AFAICS.
Andrew.
Andrew Overholt wrote:
- Andrew Haley aph@redhat.com [2005-06-29 09:20]:
sudo rpm -Uhv [...]
Couldn't you just:
yum --enablerepo=development install jonas-examples ?
Doing that, I get: [snip]
Other than the missing geronimo-specs dep, is that correct, Gary?
Looks about right.
On Wed, 2005-06-29 at 09:31 -0400, Andrew Overholt wrote:
Other than the missing geronimo-specs dep, is that correct, Gary?
This are the steps that I had to do after yum install jonas: - yum install geronimo-specs - yum install howl-logger - Make a symlinks for howl-logger and postgresql-jdbc3 from /usr/share/java to /usr/share/jonas/lib/commons/jonas/ - Remove the dbm service from /etc/jonas/jonas.properties (maybe the postresql drivers weren't needed after all)
Cheers,
Mark
P.S. Something seems to mangle the Reply-To header making it hard to keep following discussions here since a reply to all doesn't actually go to all. http://www.unicom.com/pw/reply-to-harmful.html
"Mark" == Mark Wielaard mark@klomp.org writes:
Mark> - yum install howl-logger Mark> - Make a symlinks for howl-logger and postgresql-jdbc3 Mark> from /usr/share/java to /usr/share/jonas/lib/commons/jonas/
I think these two are already fixed. At least, an install yesterday picked up howl-logger for me, and both theses things appear in /usr/share/java
Tom
Mark Wielaard writes:
On Wed, 2005-06-29 at 09:31 -0400, Andrew Overholt wrote:
Other than the missing geronimo-specs dep, is that correct, Gary?
This are the steps that I had to do after yum install jonas:
- yum install geronimo-specs
- yum install howl-logger
- Make a symlinks for howl-logger and postgresql-jdbc3 from /usr/share/java to /usr/share/jonas/lib/commons/jonas/
I didn't do that.
- Remove the dbm service from /etc/jonas/jonas.properties (maybe the postresql drivers weren't needed after all)
Probably not.
P.S. Something seems to mangle the Reply-To header making it hard to keep following discussions here since a reply to all doesn't actually go to all. http://www.unicom.com/pw/reply-to-harmful.html
Yeah. Abuse of "reply-to" in this way is awful. I long ago fixed my mailer always to ignore reply-to.
Andrew.
Mark Wielaard wrote:
This are the steps that I had to do after yum install jonas:
- yum install geronimo-specs
- yum install howl-logger
These two should be fixed now.
- Make a symlinks for howl-logger and postgresql-jdbc3 from /usr/share/java to /usr/share/jonas/lib/commons/jonas/
- Remove the dbm service from /etc/jonas/jonas.properties (maybe the postresql drivers weren't needed after all)
It ought to run with the dbm service enabled now. You need to 'service rhdb-jonas start' beforehand though.
P.S. Something seems to mangle the Reply-To header making it hard to keep following discussions here since a reply to all doesn't actually go to all. http://www.unicom.com/pw/reply-to-harmful.html
So it is. Fixed.
I have mutt with reply-to demunging switched on :)
Hi,
On Mon, 2005-06-27 at 09:36 +0100, Gary Benson wrote:
Mark Wielaard wrote:
JSPs seem broken since the compiler somehow seems to get a wrong classpath. It cannot find any imports like javax.servlet.*, org.objectweb.jonas.*, ... There must be some classpath property set wrongly by I haven't figured out where/what.
Isn't jonasAdmin all JSPs? Certainly there's loads of JSP stuff in my classloader log...
http://localhost:9000/jonasAdmin/ seems to work fine. But for http://localhost:9000/ I always get the attached error message. (Same output as in /var/log/jonas/jonas)
Cheers,
Mark
Mark Wielaard wrote:
On Mon, 2005-06-27 at 09:36 +0100, Gary Benson wrote:
Mark Wielaard wrote:
JSPs seem broken since the compiler somehow seems to get a wrong classpath. It cannot find any imports like javax.servlet.*, org.objectweb.jonas.*, ... There must be some classpath property set wrongly by I haven't figured out where/what.
Isn't jonasAdmin all JSPs? Certainly there's loads of JSP stuff in my classloader log...
http://localhost:9000/jonasAdmin/ seems to work fine. But for http://localhost:9000/ I always get the attached error message. (Same output as in /var/log/jonas/jonas)
Ah, I just started getting those this morning, after upgrading eclipse-ecj. For some reason the java.util.StringTokenizer used to parse the classpaths _sometimes_ fails.
Of course, by "sometimes" I mean, "whenever I'm not trying to make it fail".
Hopefully Mr Overholt has some idea what happened, as I'm not looking forward to trying to debug it...
Cheers, Gary
Gary Benson wrote:
Mark Wielaard wrote:
On Mon, 2005-06-27 at 09:36 +0100, Gary Benson wrote:
Mark Wielaard wrote:
JSPs seem broken since the compiler somehow seems to get a wrong classpath. It cannot find any imports like javax.servlet.*, org.objectweb.jonas.*, ... There must be some classpath property set wrongly by I haven't figured out where/what.
Isn't jonasAdmin all JSPs? Certainly there's loads of JSP stuff in my classloader log...
http://localhost:9000/jonasAdmin/ seems to work fine. But for http://localhost:9000/ I always get the attached error message. (Same output as in /var/log/jonas/jonas)
Ah, I just started getting those this morning, after upgrading eclipse-ecj. For some reason the java.util.StringTokenizer used to parse the classpaths _sometimes_ fails.
Now filed as https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162177. Any input gratefully received!
Cheers, Gary
java-devel@lists.fedoraproject.org