Re: Trying to build jonas deb package

2006-05-07 Thread Michael Koch
On Tue, Apr 11, 2006 at 01:58:55PM +0530,  ? ??? (Praveen 
A) wrote:
> Hi Andrew,
> 
> OK. It was using sun jdk 1.5 since JAVA_HOME was pointing to it. But even
> after changing it to java-gcj-compat it returned error.
> [genic]at org.objectweb.jonas_ejb.genic.GenIC.main (GenIC.java:406)
> [genic]at java.lang.reflect.Method.invoke (libgcj.so.7)

Looks like you are missing some jar on the classpath ...


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trying to build jonas deb package

2006-04-11 Thread प्रवीण् ए (Praveen A)
Hi Andrew,OK. It was using sun jdk 1.5 since JAVA_HOME was pointing to it. But even after changing it to java-gcj-compat it returned error.    [genic]    at org.objectweb.jonas_ejb.genic.GenIC.main (GenIC.java:406)

    [genic]    at java.lang.reflect.Method.invoke (libgcj.so.7)RegardsPraveen [genic] Error during execution of org.objectweb.jonas_ejb.genic.GenIC : org.objectweb.jonas.mejb.ManagementBean    [genic] 
java.lang.NoClassDefFoundError: org.objectweb.jonas.mejb.ManagementBean    [genic]    at java.lang.Class.initializeClass (libgcj.so.7)    [genic]    at java.lang.Class.isAssignableFrom (libgcj.so.7)    [genic]    at 
org.objectweb.jonas_ejb.deployment.api.BeanDesc. (BeanDesc.java:406)    [genic]    at org.objectweb.jonas_ejb.deployment.api.SessionDesc. (SessionDesc.java:45)    [genic]    at org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc
. (SessionStatelessDesc.java:92)    [genic]    at org.objectweb.jonas_ejb.deployment.api.DeploymentDesc. (DeploymentDesc.java:234)    [genic]    at org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2
. (DeploymentDescEjb2.java:60)    [genic]    at org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getDeploymentDescriptor (EjbDeploymentDescManager.java:1131)    [genic]    at org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getDeploymentDesc
 (EjbDeploymentDescManager.java:227)    [genic]    at org.objectweb.jonas_ejb.genic.GenIC.main (GenIC.java:406)    [genic]    at java.lang.reflect.Method.invoke (libgcj.so.7)    [genic]    at org.objectweb.jonas.server.Bootstrap.main
 (Bootstrap.java:97)    [genic] Caused by: java.lang.ClassNotFoundException: org.objectweb.jonas.mejb.ListenerRegistrationImpl not found in org.objectweb.jonas.server.JClassLoader[GenIC-/mnt/new2/jonas-4.6.6/temp/mejb/ejbjars/mejb-
generic.jar, urls=file:/mnt/new2/jonas-4.6.6/temp/mejb/ejbjars/mejb-generic.jar;file:/tmp/genicurk38i.tmp/]    [genic]    at java.net.URLClassLoader.findClass (libgcj.so.7)    [genic]    at java.lang.ClassLoader.loadClass
 (libgcj.so.7)    [genic]    at java.lang.ClassLoader.loadClass (libgcj.so.7)    [genic]    at java.lang.Class.forName (libgcj.so.7)    [genic]    at java.lang.Class.initializeClass (libgcj.so.7)    [genic]    ...11 more
BUILD FAILED/mnt/new2/jonas-4.6.6/build.xml:1068: The following error occurred while executing this line:/mnt/new2/jonas-4.6.6/build.xml:774: GenIC reported an error.Total time: 3 minutes 7 seconds
[EMAIL PROTECTED]:/mnt/new2/jonas-4.6.6$2006/4/10, Andrew Haley <[EMAIL PROTECTED]>:
 ê­ðõ ã­ Ï  (Praveen A) writes: > 2006/4/10, Andrew Haley <[EMAIL PROTECTED]>: > > > > ê­ðõ ã­ Ï  (Praveen A) writes: > > > Hi andrew, > > >
 > > > It was at the end of that message itself :-) > > > > Sorry, I have no idea what you're talking about. > gcj version.What about it?  We already know you're *not* running gcj, because of
the [genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:406) > [genic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativeline in the stack trace.  Somehow, genic is running on some other jvm,
whatever the "java" command says.Andrew.-- "Value your freedom, or you will lose it, teaches history.`Don't bother us with politics', respond those who don't want to learn."
-- Richard StallmanMe scribbles at http://www.pravi.co.nr


Re: Trying to build jonas deb package

2006-04-10 Thread Andrew Haley
 ê­ðõ  ã­ Ï  (Praveen A) writes:
 > Hi,
 > 
 >  There is some error when I try to build JOnAS again.
 > 
 > Can anyone have a look at these. last time it build fine (using gcj-4.1 in
 > experimental). Now I'll package it  to be put in contrib until gij can run
 > it.
 > 
 > Should we create a project in alith like we did for jboss?
 [genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:406)
 > [genic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 > Method)

Are you sure you're using gcj?  Last time I looked we didn't have a
class called sun.reflect.NativeMethodAccessorImpl.

Andrew.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trying to build jonas deb package

2006-04-10 Thread प्रवीण् ए (Praveen A)
Hi, There is some error when I try to build JOnAS again. Can anyone have a look at these. last time it build fine (using gcj-4.1 in experimental). Now I'll package it  to be put in contrib until gij can run it. 
Should we create a project in alith like we did for jboss?RegardsPraveen[genic] Error during execution of org.objectweb.jonas_ejb.genic.GenIC : org/objectweb/jonas/mejb/ManagementEndpointException
    [genic] java.lang.NoClassDefFoundError: org/objectweb/jonas/mejb/ManagementEndpointException    [genic] at java.lang.Class.getDeclaredMethods0(Native Method)    [genic] at java.lang.Class.privateGetDeclaredMethods
(Class.java:2365)    [genic] at java.lang.Class.privateGetPublicMethods(Class.java:2488)    [genic] at java.lang.Class.getMethods(Class.java:1406)    [genic] at org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.addEJBMethodDesc
(SessionStatelessDesc.java:147)    [genic] at org.objectweb.jonas_ejb.deployment.api.BeanDesc.(BeanDesc.java:565)    [genic] at org.objectweb.jonas_ejb.deployment.api.SessionDesc.(SessionDesc.java
:55)    [genic] at org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.(SessionStatelessDesc.java:89)    [genic] at org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.(DeploymentDesc.java
:234)    [genic] at org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.(DeploymentDescEjb2.java:84)    [genic] at org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getDeploymentDescriptor
(EjbDeploymentDescManager.java:1131)    [genic] at org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getDeploymentDesc(EjbDeploymentDescManager.java:227)    [genic] at org.objectweb.jonas_ejb.genic.GenIC.main
(GenIC.java:406)    [genic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    [genic] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    [genic] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    [genic] at java.lang.reflect.Method.invoke(Method.java:585)    [genic] at org.objectweb.jonas.server.Bootstrap.main(
Bootstrap.java:97)BUILD FAILED/mnt/new2/jonas/build.xml:1068: The following error occurred while executing this line:/mnt/new2/jonas/build.xml:774: GenIC reported an error.Total time: 1 minute 45 seconds
[EMAIL PROTECTED]:/mnt/new2/jonas$__[EMAIL PROTECTED]:/mnt/new2/jonas$ java -versionjava version "1.4.2"gij (GNU libgcj) version 4.1.0 (Debian 
4.1.0-1)Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[EMAIL PROTECTED]:/mnt/new2/jonas$ javac -versiongcj-4.1 (GCC) 4.1.0 (Debian 4.1.0-1)Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[EMAIL PROTECTED]:/mnt/new2/jonas$-- "Value your freedom, or you will lose it, teaches history.`Don't bother us with politics', respond those who don't want to learn."
-- Richard StallmanMe scribbles at http://www.pravi.co.nr


Re: Trying to build jonas deb package

2006-02-23 Thread Arnaud Vandyck
-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

2006-02-10 Thread Andrew Haley
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

2006-01-27 Thread Arnaud Vandyck
-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  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

2006-01-23 Thread Mark Wielaard
Hi Praveen,

On Mon, 2006-01-23 at 20:12 +0530, प्रवीण् ए (Praveen A) wrote:

> 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)

URLInitialContextFactorygetInitialContext() seems small:

String provider = (String) env.get(Context.PROVIDER_URL);
String protocol = provider.substring(0, provider.indexOf(':'));
Context ctx = NamingManager.getURLContext(protocol, env);
return (Context) ctx.lookup(provider);

Is there any way you could hack the code so it prints out 'provider',
'protocol' and 'env'? That should give us a clue why
NamingManager.getURLContext() returns null.

Thanks,

Mark



signature.asc
Description: This is a digitally signed message part


Re: Trying to build jonas deb package

2006-01-23 Thread Stephan Michels
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-01-23 Thread Praveen A
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 the  ke

Re: Trying to build jonas deb package

2006-01-23 Thread Praveen A
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 the  kernel."A proud GNU user 
http://www.gnu.orgMe scribbles at http://www.pravi.co.nr


Re: Trying to build jonas deb package

2006-01-23 Thread Praveen A
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 the  kernel."A proud GNU user 
http://www.gnu.orgMe scribbles at http://www.pravi.co.nr


Re: Trying to build jonas deb package

2006-01-23 Thread Praveen A
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 the  kernel."A proud GNU user http://www.gnu.orgMe scribbles at 
http://www.pravi.co.nr


Re: Trying to build jonas deb package

2006-01-23 Thread Wolfgang Baer

प्रवीण् ए (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-01-23 Thread Praveen A
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.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:
 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 seconds 1102     
1068      439     
368      339           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 the  kernel."
A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr


Re: Trying to build jonas deb package

2006-01-23 Thread Wolfgang Baer

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-01-20 Thread Stephan Michels
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.


Re: Trying to build jonas deb package

2006-01-20 Thread Stephan Michels
> 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

2006-01-20 Thread Andrew Haley
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-01-20 Thread Wolfgang Baer

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

2006-01-20 Thread Praveen A
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 the  kernel."
A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr


Trying to build jonas deb package

2006-01-20 Thread Praveen A
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.CheersPraveen A
-- "GNU is the system, and Linux is the  kernel."A proud GNU user http://www.gnu.orgMe scribbles at http://www.pravi.co.nr