dev@glassfish.java.net

Re: server won't start - javax/jms/JMSException

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Tue, 12 Sep 2006 16:36:23 -0700

Bill Shannon wrote:

> Dinesh Patil wrote:
>
>> Bill Shannon wrote:
>>
>>> A week ago I had everything working, I was able to run the quicklook
>>> tests (with some known failures) and I was ready to commit some
>>> changes. Then I got called away for a week and I'm back to pick
>>> up where I left off. But I decided I better update everything and
>>> run the tests again.
>>>
>>> I did a "maven bootstrap-all" and a bunch of "cvs update"s to
>>> make sure I was in sync. It builds fine but when I do "maven runtest"
>>> I get
>>
>>
>>
>> I hope you did "maven clobber bootstrap-all" so that there are no
>> multiple manifests are present (if you have the build log saved you
>> can see some message while updating jar file). Did you update
>> "glassfish/bootstrap" module? since there are some binary component
>> versions also changed e.g. JAX*, WS* binary versions changed..
>
>
> I didn't do the clobber. Is that always necessary before bootstrap-all?
> If so, shouldn't bootstrap-all just do it? I never know when it's
> necessary to clobber and when it's a waste of time...

yes this can be fixed.. will do this.

> I did "cvs update" the bootstrap and appserv-tests modules. Those,
> plus mail and activation, are the only modules I have checked out.

>> So to sync up the workspace to latest one, you can try following steps:
>> -Do cvs update on glassfish/bootstrap and glassfish/appserv-tests
>> modules.
>> -run following command to get latest sources and build it from
>> glassfish/bootstrap directory.
>> % maven clean clobber
>> % maven checkout bootstrap-all build configure-runtime
>> % cd appserv-tests; maven runtest
>
>
> I did everything except the checkout (I already have all the source I
> want).

bootstrap-all is the Building from source, so you will have to checkout
all the sources to create complete server image.
https://glassfish.dev.java.net/public/BuildGlassFish.html#maven_goals

If you want to build only few modules, then you can use "bootstrap"
instead of "bootstrap-all" to get pre-built server image and update your
changes if the changes are not related to deleting the class files.

thanks
Dinesh

> I get:
>
> [echo] ------------------------------
> [echo] - Building GlassFish EE modules -
> [echo] ------------------------------
>
> configure-runtime:
> [copy] Copying 1 file to /cache/tmp/glassfish/publish/glassfish
> [mkdir] Created dir: /cache/tmp/glassfish/publish/glassfish/bin
> [echo] Current Java Version 1.5.0_07
>
> BUILD FAILED
> File...... /cache/tmp/glassfish/glassfish/bootstrap/maven.xml
> Element... ant:ant
> Line...... 384
> Column.... 76
> Warning: Could not find file
> /cache/tmp/glassfish/publish/glassfish/lib/install/templates/asenv.conf.template
> to copy.
>
>
> Now what did I do wrong?
>
> Can I avoid building any "EE" stuff?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>