Re: Trying to build jonas deb package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Haley wrote: I have succesfully built JOnAS on FC5. There are a lot of dependencies. The FC5 packages I needed to install for the build were: [...] More info at https://www.redhat.com/archives/fedora-devel-list/2006-February/msg00613.html Andrew, Many many thanks for your precious help! - -- .''`. : :' :rnaud `. `' `- Java Trap: http://www.gnu.org/philosophy/java-trap.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD/kq44vzFZu62tMIRAppgAJ0bytf3jpELJE2Nrt4B5MZRkIa1SgCdEq/i UJQvsB3ZzOKaY7WBcI+Odns= =RqSV -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trying to build jonas deb package
I have succesfully built JOnAS on FC5. There are a lot of dependencies. The FC5 packages I needed to install for the build were: tomcat5-servlet-2.4-api.i386 5.0.30-8jpp_9fc jdom.noarch 1.0-1jpp_2fc.1 werken.xpath.noarch 0.9.4-0.beta.9jpp_2fc velocity.noarch 1.4-3jpp_3fc struts.i386 1.2.4-2jpp_5fc tomcat5-jasper.i386 5.0.30-8jpp_9fc tomcat5.i386 5.0.30-8jpp_9fc jrefactory.noarch 2.8.9-3jpp_1fc.1.1 xjavadoc.noarch 1.1-1jpp_3fc adaptx.noarch 0.9.6-1jpp_2fc.1.1 mockobjects.noarch 0.09-12jpp_4fc concurrent.noarch 1.3.2-2jpp_1fc.1 tomcat5-webapps.i386 5.0.30-8jpp_9fc jgroups.noarch 2.2.6-1jpp_3fc classpathx-mail-monolithic.noarch 1.0-4jpp_4fc castor.noarch 0.9.5-1jpp_1fc.1.1 tomcat5-admin-webapps.i386 5.0.30-8jpp_9fc xdoclet.noarch 1.2.2-2jpp_4fc tanukiwrapper.i386 3.1.1-4jpp_3fc.2 jakarta-commons-cli.i386 1.0-6jpp_5.fc5 And the progress of rebuilding JOnAS and all of its dependencies went like this: monolog dtdparser objectweb-deploysched asm fractal perseus-cache perseus-dependency perseus-distribution perseus-concurrency nanoxml oldkilim jonathan-core jacorb jonathan-jeremie carol howl-logger joram perseus-pool perseus-fos jorm medor medor-expression jotm jorm-rdb-adapter objectweb-anttask perseus-persistence p6spy jonathan-rmi gif89encoder jonas More info at https://www.redhat.com/archives/fedora-devel-list/2006-February/msg00613.html Andrew. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trying to build jonas deb package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 प्रवीण् ए (Praveen A) wrote: I successfull built JOnAS with the help of JOnAS developer Florent Benoit and others through mailing list and irc. It needed some tweaking of buil.xml I need to document it on the wiki. where in wiki.debian.org/Java http://wiki.debian.org/Java should I add it? But I'm afraid it is not running ;-( Building it with free tools is already a good thing ;-) Praveen, thanks for documenting your experience: http://wiki.debian.org/Java/Building/JOnAS I linked this page on the WikiDebianJavaHomePage ;-) http://wiki.debian.org/Java Cheers - -- .''`. : :' :rnaud `. `' `- Java Trap: http://www.gnu.org/philosophy/java-trap.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD2gwi4vzFZu62tMIRApgZAJ4tPDood6rub45Xtci9bi9Hlr4mzwCfSVn2 mZJL8sp8tukVWpVoPix9fPM= =HfaW -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trying to build jonas deb package
Hi Praveen, प्रवीण् ए (Praveen A) wrote: 2006/1/20, Wolfgang Baer [EMAIL PROTECTED]: kaffe is currently the only VM with the corba rmi stuff. So you should try to compile with kaffe. Or patch the use of corba out in the build system. May be a non-trivial task - depends on the quality of the build file :-) Now installed kaffe [EMAIL PROTECTED]:~/jonas$ kaffe -version java full version kaffe-1.4.2 [...] jonas_compile: [javac] Compiling 2 source files to /home/pravi/jonas/classes/common [javac] -- [javac] 1. ERROR in /home/pravi/jonas/src/org/objectweb/jonas/ant/GenericDeploymentTool.java [javac] (at line 40) [javac] import org.apache.tools.ant.util.depend.DependencyAnalyzer; [javac] [javac] The import org.apache.tools.ant.util.depend cannot be resolved [javac] -- [javac] 2. ERROR in /home/pravi/jonas/src/org/objectweb/jonas/ant/GenericDeploymentTool.java [javac] (at line 132) [javac] private DependencyAnalyzer dependencyAnalyzer; [javac] ^^ [...] Quite clear that you miss a build dependency on ant-optional. You should make notes about what dependencies you need, so you don't forget them later in the debian/control file :-) Wolfgang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trying to build jonas deb package
2006/1/23, Wolfgang Baer [EMAIL PROTECTED]: Quite clear that you miss a build dependency on ant-optional. You should makenotes about what dependencies you need, so you don't forget them later in thedebian/control file :-)Wolfgang man-di pointed this out and after installing ant-optional it cannot find a rmi package. [EMAIL PROTECTED]:~/jonas$ ant install Buildfile: build.xmlinstall: [delete] Deleting directory /home/pravi/jonas/$ {myenv.JONAS_ROOT} [mkdir] Created dir: /home/pravi/jonas/$ {myenv.JONAS_ROOT}all:init_env: init_path_tomcat:init_path_jetty: init:externals_jar:jonas_compile: jonas_jars:all_stubs: stub: [echo] doing stubs/skels org.objectweb.jonas.adm.Adm for rmi/jrmp and rmi/iiop [rmic] RMI Compiling 1 class to /home/pravi/jonas/classes/common [rmic ] IIOP has been turned on. [rmic] IIOP Options: -always BUILD FAILED/home/pravi/jonas/build.xml:1102: The following error occurred while executing this line:/home/pravi/jonas/build.xml: 1068: The following error occurred while executing this line:/home/pravi/jonas/build.xml:439: The following error occurred while executing this line: /home/pravi/jonas/build.xml:368: The following error occurred while executing this line:/home/pravi/jonas/build.xml: 339: Cannot use SUN rmic, as it is not available. A common solution is to set the environment variable JAVA_HOME or CLASSPATH.Total time: 15 seconds1102 antcall target=inst / 1068 antcall target=do_all /439 antcall target=all_stubs / 368 antcall target=stub339 base=classes/common So now building jonathan-rmi from http://vern.chem.tu-berlin.de/~stephan/software/upload/-- GNU is the system, and Linux is thekernel. A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr
Re: Trying to build jonas deb package
प्रवीण् ए (Praveen A) wrote: 2006/1/23, Wolfgang Baer [EMAIL PROTECTED]: Quite clear that you miss a build dependency on ant-optional. You should make notes about what dependencies you need, so you don't forget them later in the debian/control file :-) Wolfgang man-di pointed this out and after installing ant-optional it cannot find a rmi package. [...] 26. stub: 27. [echo] doing stubs/skels org.objectweb.jonas.adm.Adm for rmi/jrmp and rmi/iiop 28. [rmic] RMI Compiling 1 class to /home/pravi/jonas/classes/common 29. [rmic] IIOP has been turned on. 30. [rmic] IIOP Options: -always [...] The problem is not a missing rmi package but missing functionality in our free RMIC rmi compiler. I had the same problem building the remote stuff of mx4j. My (workaround) solution was to patch the build file to only generate the JRMP stubs/skels. With the consequence that only RMI is suppported for remote stuff there (not CORBA/RMI interaction). The missing functionality is already filed: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25696 Adding this support doesn't look so hard, however I have no clue of the asm stuff. Anybody with knowledge of asm who wants to help out :-) So now building jonathan-rmi from http://vern.chem.tu-berlin.de/~stephan/software/upload/ I think that won't help as there is no rmic compiler included, or ? Wolfgang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trying to build jonas deb package
2006/1/23, प्रवीण् ए (Praveen A) [EMAIL PROTECTED]: So now building jonathan-rmi from http://vern.chem.tu-berlin.de/~stephan/software/upload/ -- And it requires libjacorb-java to build. Stephen (tashiro) has the packages but has not uploaded it yet. Status: Waiting fro libjacorb-java pckcage from tashiro CheersPraveenj4v4m4n-- GNU is the system, and Linux is thekernel.A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr
Re: Trying to build jonas deb package
2006/1/23, Wolfgang Baer [EMAIL PROTECTED]: The problem is not a missing rmi package but missing functionality inour free RMIC rmi compiler. I had the same problem building the remotestuff of mx4j. My (workaround) solution was to patch the build file to only generate the JRMP stubs/skels. With the consequence that onlyRMI is suppported for remote stuff there (not CORBA/RMI interaction).The missing functionality is already filed: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25696Adding this support doesn't look so hard, however I have no clue ofthe asm stuff. Anybody with knowledge of asm who wants to help out :-) So I got to wait till this bug gets fixed. Or I should change the build file. (I'm using gcj-4.1 now). But wondering how Fedora guys managed to build it with Free rmic ? The only way is to change the build file I infer. Wolfgang, can you help me out with those, how you managed it for mx4j?CheersPraveen -- GNU is the system, and Linux is thekernel.A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr
Re: Trying to build jonas deb package
I successfull built JOnAS with the help of JOnAS developer Florent Benoit and others through mailing list and irc. It needed some tweaking of buil.xmlI need to document it on the wiki. where in wiki.debian.org/Java should I add it?But I'm afraid it is not running ;-(CheersPraveen (j4v4m4n)-- GNU is the system, and Linux is thekernel.A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr
Re: Trying to build jonas deb package
2006/1/23, प्रवीण् ए (Praveen A) [EMAIL PROTECTED]: But I'm afraid it is not running ;-(hmm It did start :-) [EMAIL PROTECTED]:~/jonas/output/JONAS_4_6_ 6/bin/unix$ sh jonas start JONAS_BASE set to /home/pravi/jonas/output/JONAS_4_6_6 2006-01-23 20:03:59,918 : Logger.log : JVM used is 1.4.2 version of Kaffe.org project vendor on Linux 2.6.12- 1-386/i386 OS.2006-01-23 20: 03:59,943 : Logger.log : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy providerCreated MBeanServer with ID: [UID: 146746356,1138026840213,-32768]:icon113:1 2006-01-23 20:04:00,695 : NameServiceManager.startNonStartedNS : Name service for irmi is started on port 10982006-01-23 20:04:00,728 : Logger.log : registry service startedBut jmx is not started. JOnAS error: org.objectweb.jonas.service.ServiceException : Cannot start JMX service: java.lang.NullPointerExceptionorg.objectweb.jonas.service.ServiceException : Cannot start JMX service: java.lang.NullPointerException at org.objectweb.jonas.jmx.JmxServiceImpl.doStart (JmxServiceImpl.java:311) at org.objectweb.jonas.service.AbsServiceImpl.start (AbsServiceImpl.java:80) at org.objectweb.jonas.service.ServiceManager.startJmx (ServiceManager.java:312) at org.objectweb.jonas.server.Server.start (Server.java:430) at org.objectweb.jonas.server.Server.main (Server.java: 181) at java.lang.reflect.Method.invoke0 (Method.java) at java.lang.reflect.Method.invoke (Method.java:255) at org.objectweb.jonas.server.Bootstrap.main (Bootstrap.java :97)Caused by: java.lang.NullPointerException at org.objectweb.carol.jndi.spi.URLInitialContextFactory.getInitialContext (URLInitialContextFactory.java:51) at javax.naming.spi.NamingManager.getInitialContext ( NamingManager.java:113) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java: 192) at javax.naming.InitialContext.getURLOrDefaultInitCtx (InitialContext.java:227) at javax.naming.InitialContext.getURLOrDefaultInitCtx (InitialContext.java:203) at javax.naming.InitialContext.rebind (InitialContext.java:268) at org.objectweb.carol.jndi.spi.AbsContext.rebind (AbsContext.java:188) at org.objectweb.carol.jndi.spi.AbsContext.rebind (AbsContext.java :198) at javax.naming.InitialContext.rebind (InitialContext.java:273 ) at org.objectweb.carol.jndi.spi.MultiContext.rebind (MultiContext.java:171) at javax.naming.InitialContext.rebind (InitialContext.java:273) at org.objectweb.jonas.jmx.JmxServiceImpl.doStart (JmxServiceImpl.java:191) ...7 more JOnAS halting Exception during execution of org.objectweb.jonas.server.Server : Cannot start JMX service: java.lang.NullPointerException org.objectweb.jonas.service.ServiceException : Cannot start JMX service: java.lang.NullPointerException at org.objectweb.jonas.jmx.JmxServiceImpl.doStart ( JmxServiceImpl.java:311) at org.objectweb.jonas.service.AbsServiceImpl.start (AbsServiceImpl.java: 80) at org.objectweb.jonas.service.ServiceManager.startJmx (ServiceManager.java:312 ) at org.objectweb.jonas.server.Server.start (Server.java:430) at org.objectweb.jonas.server.Server.main (Server.java:181) at java.lang.reflect.Method.invoke0 (Method.java) at java.lang.reflect.Method.invoke (Method.java:255) at org.objectweb.jonas.server.Bootstrap.main (Bootstrap.java:97)Caused by: java.lang.NullPointerException at org.objectweb.carol.jndi.spi.URLInitialContextFactory.getInitialContext (URLInitialContextFactory.java:51 ) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:113) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:192) at javax.naming.InitialContext.getURLOrDefaultInitCtx (InitialContext.java:227) at javax.naming.InitialContext.getURLOrDefaultInitCtx (InitialContext.java:203) at javax.naming.InitialContext.rebind (InitialContext.java :268) at org.objectweb.carol.jndi.spi.AbsContext.rebind (AbsContext.java:188 ) at org.objectweb.carol.jndi.spi.AbsContext.rebind (AbsContext.java:198) at javax.naming.InitialContext.rebind (InitialContext.java:273) at org.objectweb.carol.jndi.spi.MultiContext.rebind (MultiContext.java:171) at javax.naming.InitialContext.rebind (InitialContext.java: 273) at org.objectweb.jonas.jmx.JmxServiceImpl.doStart (JmxServiceImpl.java:191 ) ...7 morejava.io.IOException: Invalid argument at gnu.java.net.PlainSocketImpl.socketAccept (PlainSocketImpl.java) at gnu.java.net.PlainSocketImpl.accept (PlainSocketImpl.java: 87) at java.net.ServerSocket.implAccept (ServerSocket.java:371) at java.net.ServerSocket.accept (ServerSocket.java:326) at gnu.java.rmi.server.UnicastConnectionManager.getServerConnection (UnicastConnectionManager.java:262) at gnu.java.rmi.server.UnicastConnectionManager.run (UnicastConnectionManager.java:371) at java.lang.Thread.run (Thread.java:674 ) at java.lang.VMThread.run (VMThread.java:123) http://pastebin.com/519036CheersPraveen (j4v4m4n) -- GNU is the system, and Linux is thekernel.A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr
Re: Trying to build jonas deb package
On 1/23/06, प्रवीण् ए (Praveen A) [EMAIL PROTECTED] wrote: 2006/1/23, प्रवीण् ए (Praveen A) [EMAIL PROTECTED]: So now building jonathan-rmi from http://vern.chem.tu-berlin.de/~stephan/software/upload/ And it requires libjacorb-java to build. Stephen (tashiro) has the packages but has not uploaded it yet. Status: Waiting fro libjacorb-java pckcage from tashiro I uploaded also the jacorb package to the same address, but without warranty. Both packages are in a really early stage. I focus myself currently on the packages for axis etc, which I need for eclipse-wst too. Stephan Michels.
Re: Trying to build jonas deb package
2006/1/20, प्रवीण् ए (Praveen A) [EMAIL PROTECTED]: Hi, I' m trying to figure out how to build jonas for debian. I am a newbie to debian packaging. If anyone alse is working on the same thing it would great to work together.First results while trying to build [EMAIL PROTECTED]:~/jonas$ ant install Buildfile: build.xml install: [delete] Deleting directory /home/pravi/jonas/${myenv.JONAS_ROOT} [mkdir] Created dir: /home/pravi/jonas/${myenv.JONAS_ROOT} all: init_env: init_path_tomcat: init_path_jetty: init: externals_jar: jonas_compile: [javac] Compiling 1196 source files to /home/pravi/jonas/classes/common [javac] -- [javac] 1. ERROR in /home/pravi/jonas/src/org/objectweb/jonas_lib/naming/JacORBPRODelegate.java [javac] (at line 46) [javac] public class JacORBPRODelegate extends org.objectweb.carol.rmi.multi.JacORBPRODelegat [javac] e { [javac] ^^^ [javac] The type javax.rmi.CORBA.PortableRemoteObjectDelegate cannot be resolved. It is indirectly referenced from required .class files [javac] -- [javac] 1 problem (1 error) BUILD FAILED /home/pravi/jonas/build.xml:1102: The following error occurred while executing this line: /home/pravi/jonas/build.xml:1068: The following error occurred while executing this line: /home/pravi/jonas/build.xml:314: Compile failed; see the compiler error output for details.Note: I had to install java-gcj-compat-dev for jonas to recognise javac-- GNU is the system, and Linux is thekernel. A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr
Re: Trying to build jonas deb package
Hi Praveen, प्रवीण् ए (Praveen A) wrote: 2006/1/20, प्रवीण् ए (Praveen A) [EMAIL PROTECTED]: Hi, I' m trying to figure out how to build jonas for debian. I am a newbie to debian packaging. If anyone alse is working on the same thing it would great to work together. I think currently nobody is packaging jonas. First results while trying to build [EMAIL PROTECTED]:~/jonas$ ant install Buildfile: build.xml ^^^ [javac] The type javax.rmi.CORBA.PortableRemoteObjectDelegate cannot be resolved. It is indirectly referenced from required .class files [javac] -- [javac] 1 problem (1 error) kaffe is currently the only VM with the corba rmi stuff. So you should try to compile with kaffe. Or patch the use of corba out in the build system. May be a non-trivial task - depends on the quality of the build file :-) Note: I had to install java-gcj-compat-dev for jonas to recognise javac Sure, java-gcj-compat-dev is a JDK like environment, java-gcj-compat the JRE. kaffe only provides a full JDK like environment. Wolfgang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trying to build jonas deb package
Wolfgang Baer writes: Hi Praveen, êðõ ã Ï (Praveen A) wrote: 2006/1/20, êðõ ã Ï (Praveen A) [EMAIL PROTECTED]: Hi, I' m trying to figure out how to build jonas for debian. I am a newbie to debian packaging. If anyone alse is working on the same thing it would great to work together. I think currently nobody is packaging jonas. First results while trying to build [EMAIL PROTECTED]:~/jonas$ ant install Buildfile: build.xml ^^^ [javac] The type javax.rmi.CORBA.PortableRemoteObjectDelegate cannot be resolved. It is indirectly referenced from required .class files [javac] -- [javac] 1 problem (1 error) kaffe is currently the only VM with the corba rmi stuff. So you should try to compile with kaffe. Or patch the use of corba out in the build system. May be a non-trivial task - depends on the quality of the build file :-) Note: I had to install java-gcj-compat-dev for jonas to recognise javac Sure, java-gcj-compat-dev is a JDK like environment, java-gcj-compat the JRE. kaffe only provides a full JDK like environment. On Fedora systems, javax.rmi.CORBA.PortableRemoteObjectDelegate is provided by the jonathan-rmi package. This is a tiny package that provides these few classes: javax/rmi/CORBA/ClassDesc.class javax/rmi/CORBA/PortableRemoteObjectDelegate.class javax/rmi/CORBA/Stub.class javax/rmi/CORBA/StubDelegate.class javax/rmi/CORBA/Tie.class javax/rmi/CORBA/Util.class javax/rmi/CORBA/UtilDelegate.class javax/rmi/CORBA/ValueHandler.class javax/rmi/PortableRemoteObject.class org/omg/SendingContext/RunTime.class Andrew. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trying to build jonas deb package
2006/1/20, प्रवीण् ए (Praveen A) [EMAIL PROTECTED]: jonas_compile: [javac] Compiling 1196 source files to /home/pravi/jonas/classes/common [javac] -- [javac] 1. ERROR in /home/pravi/jonas/src/org/objectweb/jonas_lib/naming/JacORBPRODelegate.java [javac] (at line 46) [javac] public class JacORBPRODelegate extends org.objectweb.carol.rmi.multi.JacORBPRODelegat [javac] e { [javac] ^^^ [javac] The type javax.rmi.CORBA.PortableRemoteObjectDelegate cannot be resolved. It is indirectly referenced from required .class files [javac] -- [javac] 1 problem (1 error) AFAIK, the corba classes are missing in gcj 4.0.x . You can use the classes from JacORB like RedHat it does. Or you use a VM, which uses a newer version of classpath (=0.19) like jamvm or cacao. For Kaffe I'm not sure, maybe.. Stephan Michels.
Re: Trying to build jonas deb package
On 1/20/06, प्रवीण् ए (Praveen A) [EMAIL PROTECTED] wrote: Hi, I' m trying to figure out how to build jonas for debian. I am a newbie to debian packaging. If anyone alse is working on the same thing it would great to work together. True. I spend some time to elaborate how difficult it is to package Jonas. I tried to package wsdl4j, uddi4j and axis so far, which seems to be a dependency if I look at the RedHat packages. I have also JacORB and Jonathan-rmi as package. But AFAICS jonathan-rmi and JacORB aren't really necessary, because we have a working RMI and CORBA impl. in classpath(=0.19) (more or less...) BTW, I didn't found the sources of the RedHat packages. If you're interested then maybe you can join [EMAIL PROTECTED] . It's easier to communicate... at least for me. Stephan Michels.