You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by gersek <ge...@gmail.com> on 2008/01/18 18:06:35 UTC

Geronimo Deployment goes forever

I am trying to deploy an application (EAR file) to geronimo  and I am getting
into two problems.   First one there is class not found exception 
com/framework/common/exception/FrameworkDAOException.  
Even though jar is in EAR/lib directory. Don't know what else to do here.
Class is referenced in EJB.
Secondly Geronimo is getting into infinite loop if there is issue with
deployment . Console doesn't come back forever.   It took at least 10
minutes didn't respond.  This happened several times.

Any one encoutered such problems, Is there a solution?  Please help me.
I am using Geronimo 2.0.2 and java 1.5.0_12

 Install Directory = c:\poc\geronimo-tomcat6-jee5-2.0.2
  JVM in use = Sun Microsystems Inc. Java 1.5.0_12

Thanks
Sekhar
-- 
View this message in context: http://www.nabble.com/Geronimo-Deployment-goes-forever-tp14953525s134p14953525.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo Deployment goes forever

Posted by whoover <wh...@nemours.org>.
Does anyone know if this issue has been resolved? Even with the resolution to
the WTP bug in 3.0.x I am still experiencing the issue.


gersek wrote:
> 
> HI Tim ,
>     I think I am using eclipse plug-in to generate EAR and found following
> bug report for Eclipse WTP.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=207826
> If there is a plug-in from Geronimo I would like to use.  
> This site will not let me upload 20 mb of my workspace.  If you want me to
> email or IM the file or ftp some where please send me an email to
> gersek@gmail.com
> 
> Thanks
> Sekhar
> 
> 
> 
> Tim McConnell-2 wrote:
>> 
>> Hi Sekhar, is it the Geronimo Eclipse plugin that is not packaging the
>> EAR 
>> correctly ?? Or is it just Eclipse proper not packaging the EAR correctly
>> when 
>> you try to export your project(s) ?? If you're using the Geronimo Eclipse
>> Plugin 
>> I'd like to find out why it's not working as it should be. Would you be
>> able to 
>> email me your workspace (I know you mentioned it was 20mb) ?? Thanks much
>> 
>> 
> 

-- 
View this message in context: http://www.nabble.com/Geronimo-Deployment-goes-forever-tp14953525s134p21704785.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo Deployment goes forever

Posted by gersek <ge...@gmail.com>.
HI Tim ,
    I think I am using eclipse plug-in to generate EAR and found following
bug report for Eclipse WTP.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=207826
If there is a plug-in from Geronimo I would like to use.  
This site will not let me upload 20 mb of my workspace.  If you want me to
email or IM the file or ftp some where please send me an email to
gersek@gmail.com

Thanks
Sekhar



Tim McConnell-2 wrote:
> 
> Hi Sekhar, is it the Geronimo Eclipse plugin that is not packaging the EAR 
> correctly ?? Or is it just Eclipse proper not packaging the EAR correctly
> when 
> you try to export your project(s) ?? If you're using the Geronimo Eclipse
> Plugin 
> I'd like to find out why it's not working as it should be. Would you be
> able to 
> email me your workspace (I know you mentioned it was 20mb) ?? Thanks much
> 
> 
-- 
View this message in context: http://www.nabble.com/Geronimo-Deployment-goes-forever-tp14953525s134p15045591.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo Deployment goes forever

Posted by Tim McConnell <ti...@gmail.com>.
Hi Sekhar, is it the Geronimo Eclipse plugin that is not packaging the EAR 
correctly ?? Or is it just Eclipse proper not packaging the EAR correctly when 
you try to export your project(s) ?? If you're using the Geronimo Eclipse Plugin 
I'd like to find out why it's not working as it should be. Would you be able to 
email me your workspace (I know you mentioned it was 20mb) ?? Thanks much


gersek wrote:
> Kevan,
>    THANKS for your suggestions and findings.  I was able to deploy the
> application after repackaging ear lib.  For some reason eclipse is not
> packaging EAR correctly.
> 
> Thanks
> Sekhar
> 
> Kevan Miller wrote:
>>
>>
>> Your ClassNotFoundException is causing the deploy to hang. The fact  
>> that the deploy is never completing is a Geronimo bug -- see 
>> https://issues.apache.org/jira/browse/GERONIMO-3767
>>
>> Rather than using the console, you could use the command line tool to  
>> deploy your app:
>>
>> cd bin\
>> deploy deploy ResolverEAR.ear
>>
>> you'd be able to kill this process using ctrl-c.
>>
>> Getting to the heart of the matter -- java.lang.NoClassDefFoundError:  
>> com/framework/common/exception/FrameworkDAOException
>>
>> The problem is that your lib jar files are not in the 'lib/' directory  
>> of your EAR. They are in the base directory of the EAR. If you move  
>> them into 'lib/', then your problem should be fixed.
>>
>> I'm not sure how to convince Eclipse to do this for you. We've got  
>> some good Eclipse users/developers hanging around. Hopefully, they'll  
>> get you up and running.
>>
>> FYI, I just repackaged your EAR with the jar files moved into lib/ and  
>> your app deploys without a problem...
>>
>> --kevan
>>
>>
>>
>>
> 

-- 
Thanks,
Tim McConnell

Re: Geronimo Deployment goes forever

Posted by gersek <ge...@gmail.com>.
Kevan,
   THANKS for your suggestions and findings.  I was able to deploy the
application after repackaging ear lib.  For some reason eclipse is not
packaging EAR correctly.

Thanks
Sekhar

Kevan Miller wrote:
> 
> 
> 
> Your ClassNotFoundException is causing the deploy to hang. The fact  
> that the deploy is never completing is a Geronimo bug -- see 
> https://issues.apache.org/jira/browse/GERONIMO-3767
> 
> Rather than using the console, you could use the command line tool to  
> deploy your app:
> 
> cd bin\
> deploy deploy ResolverEAR.ear
> 
> you'd be able to kill this process using ctrl-c.
> 
> Getting to the heart of the matter -- java.lang.NoClassDefFoundError:  
> com/framework/common/exception/FrameworkDAOException
> 
> The problem is that your lib jar files are not in the 'lib/' directory  
> of your EAR. They are in the base directory of the EAR. If you move  
> them into 'lib/', then your problem should be fixed.
> 
> I'm not sure how to convince Eclipse to do this for you. We've got  
> some good Eclipse users/developers hanging around. Hopefully, they'll  
> get you up and running.
> 
> FYI, I just repackaged your EAR with the jar files moved into lib/ and  
> your app deploys without a problem...
> 
> --kevan
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Geronimo-Deployment-goes-forever-tp14953525s134p15027184.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo Deployment goes forever

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 22, 2008, at 11:27 AM, gersek wrote:

>
> David,
>  Thanks for your suggestion, I moved geronimo and my workspace to c  
> drive.
> I got the same problem.
>
> I have attached the ear file  and not able to attache my  
> workspace(it is
> around 20mb).

Thanks Sekhar.

Your ClassNotFoundException is causing the deploy to hang. The fact  
that the deploy is never completing is a Geronimo bug -- see  https://issues.apache.org/jira/browse/GERONIMO-3767

Rather than using the console, you could use the command line tool to  
deploy your app:

cd bin\
deploy deploy ResolverEAR.ear

you'd be able to kill this process using ctrl-c.

Getting to the heart of the matter -- java.lang.NoClassDefFoundError:  
com/framework/common/exception/FrameworkDAOException

The problem is that your lib jar files are not in the 'lib/' directory  
of your EAR. They are in the base directory of the EAR. If you move  
them into 'lib/', then your problem should be fixed.

I'm not sure how to convince Eclipse to do this for you. We've got  
some good Eclipse users/developers hanging around. Hopefully, they'll  
get you up and running.

FYI, I just repackaged your EAR with the jar files moved into lib/ and  
your app deploys without a problem...

--kevan



Re: Geronimo Deployment goes forever

Posted by gersek <ge...@gmail.com>.
David,
  Thanks for your suggestion, I moved geronimo and my workspace to c drive.
I got the same problem.

I have attached the ear file  and not able to attache my workspace(it is
around 20mb).
 

Thanks
Sekhar



djencks wrote:
> 
> You might be running into windows path length limitations.  Try  
> moving geronimo to c:\g
> 
> david jencks
> 
> On Jan 18, 2008, at 9:06 AM, gersek wrote:
> 
>>
>> I am trying to deploy an application (EAR file) to geronimo  and I  
>> am getting
>> into two problems.   First one there is class not found exception
>> com/framework/common/exception/FrameworkDAOException.
>> Even though jar is in EAR/lib directory. Don't know what else to do  
>> here.
>> Class is referenced in EJB.
>> Secondly Geronimo is getting into infinite loop if there is issue with
>> deployment . Console doesn't come back forever.   It took at least 10
>> minutes didn't respond.  This happened several times.
>>
>> Any one encoutered such problems, Is there a solution?  Please help  
>> me.
>> I am using Geronimo 2.0.2 and java 1.5.0_12
>>
>>  Install Directory = c:\poc\geronimo-tomcat6-jee5-2.0.2
>>   JVM in use = Sun Microsystems Inc. Java 1.5.0_12
>>
>> Thanks
>> Sekhar
>>
> 
> 
http://www.nabble.com/file/p15022324/ResolverEAR.ear ResolverEAR.ear 
-- 
View this message in context: http://www.nabble.com/Geronimo-Deployment-goes-forever-tp14953525s134p15022324.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo Deployment goes forever

Posted by David Jencks <da...@yahoo.com>.
You might be running into windows path length limitations.  Try  
moving geronimo to c:\g

david jencks

On Jan 18, 2008, at 9:06 AM, gersek wrote:

>
> I am trying to deploy an application (EAR file) to geronimo  and I  
> am getting
> into two problems.   First one there is class not found exception
> com/framework/common/exception/FrameworkDAOException.
> Even though jar is in EAR/lib directory. Don't know what else to do  
> here.
> Class is referenced in EJB.
> Secondly Geronimo is getting into infinite loop if there is issue with
> deployment . Console doesn't come back forever.   It took at least 10
> minutes didn't respond.  This happened several times.
>
> Any one encoutered such problems, Is there a solution?  Please help  
> me.
> I am using Geronimo 2.0.2 and java 1.5.0_12
>
>  Install Directory = c:\poc\geronimo-tomcat6-jee5-2.0.2
>   JVM in use = Sun Microsystems Inc. Java 1.5.0_12
>
> Thanks
> Sekhar
> -- 
> View this message in context: http://www.nabble.com/Geronimo- 
> Deployment-goes-forever-tp14953525s134p14953525.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Re: Geronimo Deployment goes forever

Posted by Viet Nguyen <vh...@gmail.com>.
Hi Sekhar,

Do you mind providing us with the application? I find this to be weird
because I did the same thing that you did (putting the JAR inside the
EAR/lib directory) and it worked.

--Viet

On Jan 18, 2008 12:06 PM, gersek <ge...@gmail.com> wrote:
>
> I am trying to deploy an application (EAR file) to geronimo  and I am getting
> into two problems.   First one there is class not found exception
> com/framework/common/exception/FrameworkDAOException.
> Even though jar is in EAR/lib directory. Don't know what else to do here.
> Class is referenced in EJB.
> Secondly Geronimo is getting into infinite loop if there is issue with
> deployment . Console doesn't come back forever.   It took at least 10
> minutes didn't respond.  This happened several times.
>
> Any one encoutered such problems, Is there a solution?  Please help me.
> I am using Geronimo 2.0.2 and java 1.5.0_12
>
>  Install Directory = c:\poc\geronimo-tomcat6-jee5-2.0.2
>   JVM in use = Sun Microsystems Inc. Java 1.5.0_12
>
> Thanks
> Sekhar
> --
> View this message in context: http://www.nabble.com/Geronimo-Deployment-goes-forever-tp14953525s134p14953525.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>