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
Fwd:
Benton Alden
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: Java server faces
i want to know how to associate event with the combobox in jsf please help me out The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com