Re: Trying to build jonas deb package
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)
Regards
Praveen
[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.<init> (BeanDesc.java:406)
[genic] at org.objectweb.jonas_ejb.deployment.api.SessionDesc.<init> (SessionDesc.java:45)
[genic] at org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc
.<init> (SessionStatelessDesc.java:92)
[genic] at org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.<init> (DeploymentDesc.java:234)
[genic] at org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2
.<init> (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
pravi@icon104:/mnt/new2/jonas-4.6.6$
2006/4/10, Andrew Haley <aph@redhat.com>:
êðõ ã Ï (Praveen A) writes:
> 2006/4/10, Andrew Haley <aph@redhat.com>:
> >
> > êðõ ã Ï (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(Native
line 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 Stallman
Me scribbles at http://www.pravi.co.nr
Reply to: