Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-28 Thread Donald Woods
What level of Geronimo and OpenEJB code are you using?  There should be 
no SNAPSHOT jars being used for the latest Geronimo 1.0 source from -

   https://svn.apache.org/repos/asf/geronimo/branches/1.0
and for OpenEJB 2.0 from -
   cvs -d:pserver:[EMAIL PROTECTED]:/scm/openejb co -r v2_0 
openejb



-Donald


Ken Perl wrote:

+
| Executing default OpenEJB :: Integration Tests
| Memory: 26M/43M
+
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml

build:end:

Attempting to download openejb-builder-2.0-SNAPSHOT.jar.
Attempting to download geronimo-deployment-plugin-1.0-SNAPSHOT.jar.
Attempting to download geronimo-1.0-SNAPSHOT.zip.
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml
build:start:
ejb:init:
java:prepare-filesystem:

java:compile:

   [echo] Compiling to
/root/geronimo1.0/openejb/modules/itests/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
[echo] No test source files to compile.

test:test:
[echo] NOTICE: Skipping tests; they seem to have passed already
[echo] No tests to run.
Running post goal: test:test


ejb:ejb:
ejb:ejb-jar-internal:
[echo] Building ejb openejb-itests-2.0-SNAPSHOT
[jar] Building jar:
/root/geronimo1.0/openejb/modules/itests/target/openejb-itests-2.0-SNAPSHOT.jar


ejb:install:
[echo] Installing...
Uploading to openejb/ejbs/openejb-itests-2.0-SNAPSHOT.jar:
 (163K)
Uploading to openejb/poms/openejb-itests-2.0-SNAPSHOT.pom:
 (9K)
Running post goal: ejb:install
java:prepare-filesystem:

java:compile:

   [echo] Compiling to
/root/geronimo1.0/openejb/modules/itests/target/classes

java:jar-resources:

itest:prepare-filesystem:

itest:test-resources:

itest:compile:

itest:itest:
itest:setup:
[echo] Preprocessing security-plan.xml
[delete] Deleting directory
/root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-SNAPSHOT
[unzip] Expanding:
/root/.maven/repository/geronimo/distributions/geronimo-1.0-SNAPSHOT.zip
into /root/geronimo1.0/openejb/modules/itests/target
[copy] Copying 4 files to
/root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-SNAPSHOT/var
Preprocessing security/public_users.properties
Preprocessing security/black_groups.properties
Preprocessing security/public_groups.properties
Preprocessing security/black_users.properties
Preprocess plans elapse time: 0 sec

[copy] Copying 2 files to
/root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-SNAPSHOT/var/certstores
[echo] Waiting for server at:
Unrecognized argument: --quiet

Syntax: java -jar bin/server.jar [options]

Available options are:
  -quiet
 Suppress the normal startup progress bar.  This is typically
 used when redirecting console output to a file, or starting
 the server from an IDE or other tool.
  -v
 Reduces the console log level to INFO, resulting in more
 console output than is normally present.
  -vv
 Reduces the console log level to DEBUG, resulting in still
 more console output.

  -override [configId] [configId] ...
 USE WITH CAUTION!  Overrides the configurations in
 var/config/config.xml such that only the configurations listed on
 the command line will be started.  Note that many J2EE
 features depend on certain configs being started, so you
 should be very careful what you omit.  Any arguments after
 this are assumed to be configuration names.

In addition you may specify a replacement for var/config/config.xml
using by setting the property
-Dorg.apache.geronimo.config.file=var/config/
This is resolved relative to the geronimo base directory.

��
BUILD FAILED
File.. /root/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly
Element... maven:reactor
Line.. 218
Column -1
Unable to obtain goal [ejb:install] --
/root/geronimo1.0/openejb/modules/itests/maven.xml:110:-1:
 Bad JMX URI
(deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector)
Total time   : 51 minutes 28 seconds

I know if skip the test then the build may success, but I want to know
how to fix the issue by myself, could somebody give me a clue?


--
perl -e 'print unpack(u,"62V5N\"FME;G\!E

smime.p7s
Description: S/MIME Cryptographic Signature


Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-28 Thread Ken Perl
I am using the code from
https://svn.apache.org/repos/asf/geronimo/trunk, the OpenEJB code
source is from maven m:co

On 12/29/05, Donald Woods <[EMAIL PROTECTED]> wrote:
> What level of Geronimo and OpenEJB code are you using?  There should be
> no SNAPSHOT jars being used for the latest Geronimo 1.0 source from -
> https://svn.apache.org/repos/asf/geronimo/branches/1.0
> and for OpenEJB 2.0 from -
> cvs -d:pserver:[EMAIL PROTECTED]:/scm/openejb co -r v2_0
> openejb
>
>
> -Donald
>
>
> Ken Perl wrote:
> > +
> > | Executing default OpenEJB :: Integration Tests
> > | Memory: 26M/43M
> > +
> > DEPRECATED: the default goal should be specified in the 
> > section of project.xml instead of maven.xml
> > DEPRECATED: the default goal should be specified in the 
> > section of project.xml instead of maven.xml
> >
> > build:end:
> >
> > Attempting to download openejb-builder-2.0-SNAPSHOT.jar.
> > Attempting to download geronimo-deployment-plugin-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-1.0-SNAPSHOT.zip.
> > DEPRECATED: the default goal should be specified in the 
> > section of project.xml instead of maven.xml
> > DEPRECATED: the default goal should be specified in the 
> > section of project.xml instead of maven.xml
> > build:start:
> > ejb:init:
> > java:prepare-filesystem:
> >
> > java:compile:
> >  > destdir="/root/geronimo1.0/openejb/modules/itests/target/classes">
> >[echo] Compiling to
> > /root/geronimo1.0/openejb/modules/itests/target/classes
> >
> > java:jar-resources:
> >
> > test:prepare-filesystem:
> >
> > test:test-resources:
> >
> > test:compile:
> > [echo] No test source files to compile.
> >
> > test:test:
> > [echo] NOTICE: Skipping tests; they seem to have passed already
> > [echo] No tests to run.
> > Running post goal: test:test
> >
> >
> > ejb:ejb:
> > ejb:ejb-jar-internal:
> > [echo] Building ejb openejb-itests-2.0-SNAPSHOT
> > [jar] Building jar:
> > /root/geronimo1.0/openejb/modules/itests/target/openejb-itests-2.0-SNAPSHOT.jar
> >
> >
> > ejb:install:
> > [echo] Installing...
> > Uploading to openejb/ejbs/openejb-itests-2.0-SNAPSHOT.jar:
> >  (163K)
> > Uploading to openejb/poms/openejb-itests-2.0-SNAPSHOT.pom:
> >  (9K)
> > Running post goal: ejb:install
> > java:prepare-filesystem:
> >
> > java:compile:
> >  > destdir="/root/geronimo1.0/openejb/modules/itests/target/classes">
> >[echo] Compiling to
> > /root/geronimo1.0/openejb/modules/itests/target/classes
> >
> > java:jar-resources:
> >
> > itest:prepare-filesystem:
> >
> > itest:test-resources:
> >
> > itest:compile:
> >
> > itest:itest:
> > itest:setup:
> > [echo] Preprocessing security-plan.xml
> > [delete] Deleting directory
> > /root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-SNAPSHOT
> > [unzip] Expanding:
> > /root/.maven/repository/geronimo/distributions/geronimo-1.0-SNAPSHOT.zip
> > into /root/geronimo1.0/openejb/modules/itests/target
> > [copy] Copying 4 files to
> > /root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-SNAPSHOT/var
> > Preprocessing security/public_users.properties
> > Preprocessing security/black_groups.properties
> > Preprocessing security/public_groups.properties
> > Preprocessing security/black_users.properties
> > Preprocess plans elapse time: 0 sec
> >
> > [copy] Copying 2 files to
> > /root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-SNAPSHOT/var/certstores
> > [echo] Waiting for server at:
> > Unrecognized argument: --quiet
> >
> > Syntax: java -jar bin/server.jar [options]
> >
> > Available options are:
> >   -quiet
> >  Suppress the normal startup progress bar.  This is typically
> >  used when redirecting console output to a file, or starting
> >  the server from an IDE or other tool.
> >   -v
> >  Reduces the console log level to INFO, resulting in more
> >  console output than is normally present.
> >   -vv
> >  Reduces the console log level to DEBUG, resulting in still
> >  more console output.
> >
> >   -override [configId] [configId] ...
> >  USE WITH CAUTION!  Overrides the configurations in
> >  var/config/config.xml such that only the configurations listed 
> > on
> >  the command line will be started.  Note that many J2EE
> >  features depend on certain configs being started, so you
> >  should be very careful what you omit.  Any arguments after
> >  this are assumed to be configuration names.
> >
> > In addition you may specify a replacement for var/config/config.xml
> > using by setting the property
> > -Dorg.apache.geronimo.config.file=var/config/
> > This is resolved relative to the geronimo base directory.
> >
> > ��
> > BUILD FAILED
> > File.. /root/.maven/cache/maven-multiproject-pl

Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-28 Thread David Jencks
My understanding, reinforced by looking at geronimo's maven.xml, is  
that the itests are not run as part of the current build, and my  
recollection is that they are currently broken.  I personally think  
they need to be split up into smaller bits in some way that don't  
take forever to run.


In any case, I wonder what you are doing to get them to run as part  
of the build


maven -o new

If you really want to investigate what is broken about the itests, I  
suggest building the geronimo deployment plugin by itself first:


cd plugins/geronimo-deployment-plugin;maven  -o plugin:install
then running the itests by themselves

cd ../../openejb/itest;maven -o

Hope this helps
david jencks

On Dec 28, 2005, at 4:48 PM, Ken Perl wrote:


I am using the code from
https://svn.apache.org/repos/asf/geronimo/trunk, the OpenEJB code
source is from maven m:co

On 12/29/05, Donald Woods <[EMAIL PROTECTED]> wrote:
What level of Geronimo and OpenEJB code are you using?  There  
should be

no SNAPSHOT jars being used for the latest Geronimo 1.0 source from -
https://svn.apache.org/repos/asf/geronimo/branches/1.0
and for OpenEJB 2.0 from -
cvs -d:pserver:[EMAIL PROTECTED]:/scm/openejb co - 
r v2_0

openejb


-Donald


Ken Perl wrote:

+
| Executing default OpenEJB :: Integration Tests
| Memory: 26M/43M
+
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml

build:end:

Attempting to download openejb-builder-2.0-SNAPSHOT.jar.
Attempting to download geronimo-deployment-plugin-1.0-SNAPSHOT.jar.
Attempting to download geronimo-1.0-SNAPSHOT.zip.
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the 
section of project.xml instead of maven.xml
build:start:
ejb:init:
java:prepare-filesystem:

java:compile:
destdir="/root/geronimo1.0/openejb/modules/itests/target/ 
classes">

   [echo] Compiling to
/root/geronimo1.0/openejb/modules/itests/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
[echo] No test source files to compile.

test:test:
[echo] NOTICE: Skipping tests; they seem to have passed already
[echo] No tests to run.
Running post goal: test:test


ejb:ejb:
ejb:ejb-jar-internal:
[echo] Building ejb openejb-itests-2.0-SNAPSHOT
[jar] Building jar:
/root/geronimo1.0/openejb/modules/itests/target/openejb- 
itests-2.0-SNAPSHOT.jar



ejb:install:
[echo] Installing...
Uploading to openejb/ejbs/openejb-itests-2.0-SNAPSHOT.jar:
 (163K)
Uploading to openejb/poms/openejb-itests-2.0-SNAPSHOT.pom:
 (9K)
Running post goal: ejb:install
java:prepare-filesystem:

java:compile:
destdir="/root/geronimo1.0/openejb/modules/itests/target/ 
classes">

   [echo] Compiling to
/root/geronimo1.0/openejb/modules/itests/target/classes

java:jar-resources:

itest:prepare-filesystem:

itest:test-resources:

itest:compile:

itest:itest:
itest:setup:
[echo] Preprocessing security-plan.xml
[delete] Deleting directory
/root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0- 
SNAPSHOT

[unzip] Expanding:
/root/.maven/repository/geronimo/distributions/geronimo-1.0- 
SNAPSHOT.zip

into /root/geronimo1.0/openejb/modules/itests/target
[copy] Copying 4 files to
/root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0- 
SNAPSHOT/var

Preprocessing security/public_users.properties
Preprocessing security/black_groups.properties
Preprocessing security/public_groups.properties
Preprocessing security/black_users.properties
Preprocess plans elapse time: 0 sec

[copy] Copying 2 files to
/root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0- 
SNAPSHOT/var/certstores

[echo] Waiting for server at:
Unrecognized argument: --quiet

Syntax: java -jar bin/server.jar [options]

Available options are:
  -quiet
 Suppress the normal startup progress bar.  This is  
typically
 used when redirecting console output to a file, or  
starting

 the server from an IDE or other tool.
  -v
 Reduces the console log level to INFO, resulting in  
more

 console output than is normally present.
  -vv
 Reduces the console log level to DEBUG, resulting in  
still

 more console output.

  -override [configId] [configId] ...
 USE WITH CAUTION!  Overrides the configurations in
 var/config/config.xml such that only the  
configurations listed on

 the command line will be started.  Note that many J2EE
 features depend on certain configs being started, so  
you
 should be very careful what you omit.  Any arguments  
after

 this are assumed

Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-28 Thread Aaron Mulder
I expect the itests are still built if you just check out OpenEJB and
not Geronimo.  From the error message, it sounds like it's pulling
down outdated Geronimo binaries during a standalone OpenEJB build.

It would definitely be nice to have an environment to run tests in a
"normal" Geronimo environment (where you could test the deploy tool
and hot deployer, have access to both EJB and Web containers, etc.). 
I guess that would be a good way to run the OpenEJB itests too.

Aaron

On 12/28/05, David Jencks <[EMAIL PROTECTED]> wrote:
> My understanding, reinforced by looking at geronimo's maven.xml, is
> that the itests are not run as part of the current build, and my
> recollection is that they are currently broken.  I personally think
> they need to be split up into smaller bits in some way that don't
> take forever to run.
>
> In any case, I wonder what you are doing to get them to run as part
> of the build
>
> maven -o new
>
> If you really want to investigate what is broken about the itests, I
> suggest building the geronimo deployment plugin by itself first:
>
> cd plugins/geronimo-deployment-plugin;maven  -o plugin:install
> then running the itests by themselves
>
> cd ../../openejb/itest;maven -o
>
> Hope this helps
> david jencks
>
> On Dec 28, 2005, at 4:48 PM, Ken Perl wrote:
>
> > I am using the code from
> > https://svn.apache.org/repos/asf/geronimo/trunk, the OpenEJB code
> > source is from maven m:co
> >
> > On 12/29/05, Donald Woods <[EMAIL PROTECTED]> wrote:
> >> What level of Geronimo and OpenEJB code are you using?  There
> >> should be
> >> no SNAPSHOT jars being used for the latest Geronimo 1.0 source from -
> >> https://svn.apache.org/repos/asf/geronimo/branches/1.0
> >> and for OpenEJB 2.0 from -
> >> cvs -d:pserver:[EMAIL PROTECTED]:/scm/openejb co -
> >> r v2_0
> >> openejb
> >>
> >>
> >> -Donald
> >>
> >>
> >> Ken Perl wrote:
> >>> +
> >>> | Executing default OpenEJB :: Integration Tests
> >>> | Memory: 26M/43M
> >>> +
> >>> DEPRECATED: the default goal should be specified in the 
> >>> section of project.xml instead of maven.xml
> >>> DEPRECATED: the default goal should be specified in the 
> >>> section of project.xml instead of maven.xml
> >>>
> >>> build:end:
> >>>
> >>> Attempting to download openejb-builder-2.0-SNAPSHOT.jar.
> >>> Attempting to download geronimo-deployment-plugin-1.0-SNAPSHOT.jar.
> >>> Attempting to download geronimo-1.0-SNAPSHOT.zip.
> >>> DEPRECATED: the default goal should be specified in the 
> >>> section of project.xml instead of maven.xml
> >>> DEPRECATED: the default goal should be specified in the 
> >>> section of project.xml instead of maven.xml
> >>> build:start:
> >>> ejb:init:
> >>> java:prepare-filesystem:
> >>>
> >>> java:compile:
> >>>  >>> destdir="/root/geronimo1.0/openejb/modules/itests/target/
> >>> classes">
> >>>[echo] Compiling to
> >>> /root/geronimo1.0/openejb/modules/itests/target/classes
> >>>
> >>> java:jar-resources:
> >>>
> >>> test:prepare-filesystem:
> >>>
> >>> test:test-resources:
> >>>
> >>> test:compile:
> >>> [echo] No test source files to compile.
> >>>
> >>> test:test:
> >>> [echo] NOTICE: Skipping tests; they seem to have passed already
> >>> [echo] No tests to run.
> >>> Running post goal: test:test
> >>>
> >>>
> >>> ejb:ejb:
> >>> ejb:ejb-jar-internal:
> >>> [echo] Building ejb openejb-itests-2.0-SNAPSHOT
> >>> [jar] Building jar:
> >>> /root/geronimo1.0/openejb/modules/itests/target/openejb-
> >>> itests-2.0-SNAPSHOT.jar
> >>>
> >>>
> >>> ejb:install:
> >>> [echo] Installing...
> >>> Uploading to openejb/ejbs/openejb-itests-2.0-SNAPSHOT.jar:
> >>>  (163K)
> >>> Uploading to openejb/poms/openejb-itests-2.0-SNAPSHOT.pom:
> >>>  (9K)
> >>> Running post goal: ejb:install
> >>> java:prepare-filesystem:
> >>>
> >>> java:compile:
> >>>  >>> destdir="/root/geronimo1.0/openejb/modules/itests/target/
> >>> classes">
> >>>[echo] Compiling to
> >>> /root/geronimo1.0/openejb/modules/itests/target/classes
> >>>
> >>> java:jar-resources:
> >>>
> >>> itest:prepare-filesystem:
> >>>
> >>> itest:test-resources:
> >>>
> >>> itest:compile:
> >>>
> >>> itest:itest:
> >>> itest:setup:
> >>> [echo] Preprocessing security-plan.xml
> >>> [delete] Deleting directory
> >>> /root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-
> >>> SNAPSHOT
> >>> [unzip] Expanding:
> >>> /root/.maven/repository/geronimo/distributions/geronimo-1.0-
> >>> SNAPSHOT.zip
> >>> into /root/geronimo1.0/openejb/modules/itests/target
> >>> [copy] Copying 4 files to
> >>> /root/geronimo1.0/openejb/modules/itests/target/geronimo-1.0-
> >>> SNAPSHOT/var
> >>> Preprocessing security/public_users.properties
> >>> Preprocessing security/black_groups.properties
> >>> Preprocessing security/public_groups.properties
> >>> Preprocessing security/black_users.properties
> >>> Prep

Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-28 Thread Ken Perl
by looking at the maven.xml of openejb, the ${geronimoTarget} is not
displayed when running the itest, see  the output in my previous post.
I guess the error is caused by passing wrong parameter to the server
statup command, but I don't know why the ${geronimoTarget} is
displayed empty?





On 12/29/05, Aaron Mulder <[EMAIL PROTECTED]> wrote:
> I expect the itests are still built if you just check out OpenEJB and
> not Geronimo.  From the error message, it sounds like it's pulling
> down outdated Geronimo binaries during a standalone OpenEJB build.
>
> It would definitely be nice to have an environment to run tests in a
> "normal" Geronimo environment (where you could test the deploy tool
> and hot deployer, have access to both EJB and Web containers, etc.).
> I guess that would be a good way to run the OpenEJB itests too.
>
> Aaron
>
> On 12/28/05, David Jencks <[EMAIL PROTECTED]> wrote:
> > My understanding, reinforced by looking at geronimo's maven.xml, is
> > that the itests are not run as part of the current build, and my
> > recollection is that they are currently broken.  I personally think
> > they need to be split up into smaller bits in some way that don't
> > take forever to run.
> >
> > In any case, I wonder what you are doing to get them to run as part
> > of the build
> >
> > maven -o new
> >
> > If you really want to investigate what is broken about the itests, I
> > suggest building the geronimo deployment plugin by itself first:
> >
> > cd plugins/geronimo-deployment-plugin;maven  -o plugin:install
> > then running the itests by themselves
> >
> > cd ../../openejb/itest;maven -o
> >
> > Hope this helps
> > david jencks
> >
> > On Dec 28, 2005, at 4:48 PM, Ken Perl wrote:
> >
> > > I am using the code from
> > > https://svn.apache.org/repos/asf/geronimo/trunk, the OpenEJB code
> > > source is from maven m:co
> > >
> > > On 12/29/05, Donald Woods <[EMAIL PROTECTED]> wrote:
> > >> What level of Geronimo and OpenEJB code are you using?  There
> > >> should be
> > >> no SNAPSHOT jars being used for the latest Geronimo 1.0 source from -
> > >> https://svn.apache.org/repos/asf/geronimo/branches/1.0
> > >> and for OpenEJB 2.0 from -
> > >> cvs -d:pserver:[EMAIL PROTECTED]:/scm/openejb co -
> > >> r v2_0
> > >> openejb
> > >>
> > >>
> > >> -Donald
> > >>
> > >>
> > >> Ken Perl wrote:
> > >>> +
> > >>> | Executing default OpenEJB :: Integration Tests
> > >>> | Memory: 26M/43M
> > >>> +
> > >>> DEPRECATED: the default goal should be specified in the 
> > >>> section of project.xml instead of maven.xml
> > >>> DEPRECATED: the default goal should be specified in the 
> > >>> section of project.xml instead of maven.xml
> > >>>
> > >>> build:end:
> > >>>
> > >>> Attempting to download openejb-builder-2.0-SNAPSHOT.jar.
> > >>> Attempting to download geronimo-deployment-plugin-1.0-SNAPSHOT.jar.
> > >>> Attempting to download geronimo-1.0-SNAPSHOT.zip.
> > >>> DEPRECATED: the default goal should be specified in the 
> > >>> section of project.xml instead of maven.xml
> > >>> DEPRECATED: the default goal should be specified in the 
> > >>> section of project.xml instead of maven.xml
> > >>> build:start:
> > >>> ejb:init:
> > >>> java:prepare-filesystem:
> > >>>
> > >>> java:compile:
> > >>>  > >>> destdir="/root/geronimo1.0/openejb/modules/itests/target/
> > >>> classes">
> > >>>[echo] Compiling to
> > >>> /root/geronimo1.0/openejb/modules/itests/target/classes
> > >>>
> > >>> java:jar-resources:
> > >>>
> > >>> test:prepare-filesystem:
> > >>>
> > >>> test:test-resources:
> > >>>
> > >>> test:compile:
> > >>> [echo] No test source files to compile.
> > >>>
> > >>> test:test:
> > >>> [echo] NOTICE: Skipping tests; they seem to have passed already
> > >>> [echo] No tests to run.
> > >>> Running post goal: test:test
> > >>>
> > >>>
> > >>> ejb:ejb:
> > >>> ejb:ejb-jar-internal:
> > >>> [echo] Building ejb openejb-itests-2.0-SNAPSHOT
> > >>> [jar] Building jar:
> > >>> /root/geronimo1.0/openejb/modules/itests/target/openejb-
> > >>> itests-2.0-SNAPSHOT.jar
> > >>>
> > >>>
> > >>> ejb:install:
> > >>> [echo] Installing...
> > >>> Uploading to openejb/ejbs/openejb-itests-2.0-SNAPSHOT.jar:
> > >>>  (163K)
> > >>> Uploading to openejb/poms/openejb-itests-2.0-SNAPSHOT.pom:
> > >>>  (9K)
> > >>> Running post goal: ejb:install
> > >>> java:prepare-filesystem:
> > >>>
> > >>> java:compile:
> > >>>  > >>> destdir="/root/geronimo1.0/openejb/modules/itests/target/
> > >>> classes">
> > >>>[echo] Compiling to
> > >>> /root/geronimo1.0/openejb/modules/itests/target/classes
> > >>>
> > >>> java:jar-resources:
> > >>>
> > >>> itest:prepare-filesystem:
> > >>>
> > >>> itest:test-resources:
> > >>>
> > >>> itest:compile:
> > >>>
> > >>> itest:itest:
> > >>> itest:setup:
> > >>> [echo] Preprocessing security-plan.xml
> > >>> [delete] Deleting dire

Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-28 Thread Aaron Mulder
To be more specific, the current deployment plugin uses --quiet (with
two dashes), which is correct for the current Geronimo code.  However,
this changed fairly recently in Geronimo (it used to be -quiet with
one dash), and the error suggests that you have an older version of
Geronimo being run, though with the newer version of the plugin.

If you have Geronimo checked out, please run "maven m:update m:clean
m:clean-repo new" from your Geronimo directory.  This should do a full
build against the latest code.

Thanks,
Aaron

On 12/28/05, Ken Perl <[EMAIL PROTECTED]> wrote:
> by looking at the maven.xml of openejb, the ${geronimoTarget} is not
> displayed when running the itest, see  the output in my previous post.
> I guess the error is caused by passing wrong parameter to the server
> statup command, but I don't know why the ${geronimoTarget} is
> displayed empty?
>
>  geronimoTarget="${maven.build.dir}/geronimo-${geronimo_version}"
> vmArgs="-Xdebug -Xnoagent -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xmx512m
> -XX:MaxPermSize=128m ${corba.vmargs}"
> />
> 
>
>
> On 12/29/05, Aaron Mulder <[EMAIL PROTECTED]> wrote:
> > I expect the itests are still built if you just check out OpenEJB and
> > not Geronimo.  From the error message, it sounds like it's pulling
> > down outdated Geronimo binaries during a standalone OpenEJB build.
> >
> > It would definitely be nice to have an environment to run tests in a
> > "normal" Geronimo environment (where you could test the deploy tool
> > and hot deployer, have access to both EJB and Web containers, etc.).
> > I guess that would be a good way to run the OpenEJB itests too.
> >
> > Aaron
> >
> > On 12/28/05, David Jencks <[EMAIL PROTECTED]> wrote:
> > > My understanding, reinforced by looking at geronimo's maven.xml, is
> > > that the itests are not run as part of the current build, and my
> > > recollection is that they are currently broken.  I personally think
> > > they need to be split up into smaller bits in some way that don't
> > > take forever to run.
> > >
> > > In any case, I wonder what you are doing to get them to run as part
> > > of the build
> > >
> > > maven -o new
> > >
> > > If you really want to investigate what is broken about the itests, I
> > > suggest building the geronimo deployment plugin by itself first:
> > >
> > > cd plugins/geronimo-deployment-plugin;maven  -o plugin:install
> > > then running the itests by themselves
> > >
> > > cd ../../openejb/itest;maven -o
> > >
> > > Hope this helps
> > > david jencks
> > >
> > > On Dec 28, 2005, at 4:48 PM, Ken Perl wrote:
> > >
> > > > I am using the code from
> > > > https://svn.apache.org/repos/asf/geronimo/trunk, the OpenEJB code
> > > > source is from maven m:co
> > > >
> > > > On 12/29/05, Donald Woods <[EMAIL PROTECTED]> wrote:
> > > >> What level of Geronimo and OpenEJB code are you using?  There
> > > >> should be
> > > >> no SNAPSHOT jars being used for the latest Geronimo 1.0 source from -
> > > >> https://svn.apache.org/repos/asf/geronimo/branches/1.0
> > > >> and for OpenEJB 2.0 from -
> > > >> cvs -d:pserver:[EMAIL PROTECTED]:/scm/openejb co -
> > > >> r v2_0
> > > >> openejb
> > > >>
> > > >>
> > > >> -Donald
> > > >>
> > > >>
> > > >> Ken Perl wrote:
> > > >>> +
> > > >>> | Executing default OpenEJB :: Integration Tests
> > > >>> | Memory: 26M/43M
> > > >>> +
> > > >>> DEPRECATED: the default goal should be specified in the 
> > > >>> section of project.xml instead of maven.xml
> > > >>> DEPRECATED: the default goal should be specified in the 
> > > >>> section of project.xml instead of maven.xml
> > > >>>
> > > >>> build:end:
> > > >>>
> > > >>> Attempting to download openejb-builder-2.0-SNAPSHOT.jar.
> > > >>> Attempting to download geronimo-deployment-plugin-1.0-SNAPSHOT.jar.
> > > >>> Attempting to download geronimo-1.0-SNAPSHOT.zip.
> > > >>> DEPRECATED: the default goal should be specified in the 
> > > >>> section of project.xml instead of maven.xml
> > > >>> DEPRECATED: the default goal should be specified in the 
> > > >>> section of project.xml instead of maven.xml
> > > >>> build:start:
> > > >>> ejb:init:
> > > >>> java:prepare-filesystem:
> > > >>>
> > > >>> java:compile:
> > > >>>  > > >>> destdir="/root/geronimo1.0/openejb/modules/itests/target/
> > > >>> classes">
> > > >>>[echo] Compiling to
> > > >>> /root/geronimo1.0/openejb/modules/itests/target/classes
> > > >>>
> > > >>> java:jar-resources:
> > > >>>
> > > >>> test:prepare-filesystem:
> > > >>>
> > > >>> test:test-resources:
> > > >>>
> > > >>> test:compile:
> > > >>> [echo] No test source files to compile.
> > > >>>
> > > >>> test:test:
> > > >>> [echo] NOTICE: Skipping tests; they seem to have passed already
> > > >>> [echo] No tests to run.
> > > >>> Running post goal: test:test
> > > >>>
> > > >>>
> > > >>> ej

Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-29 Thread Jacek Laskowski
2005/12/29, Aaron Mulder <[EMAIL PROTECTED]>:
> To be more specific, the current deployment plugin uses --quiet (with
> two dashes), which is correct for the current Geronimo code.  However,
> this changed fairly recently in Geronimo (it used to be -quiet with
> one dash), and the error suggests that you have an older version of
> Geronimo being run, though with the newer version of the plugin.

Hi Aaron,

I haven't yet taken a look at it, but if the issue with broken OpenEJB
itests is with one additional dash, it should be easy to fix. I didn't
know that itests are disabled by default and wonder why it happened
(probably because of the time it takes to finish). I think I will be
able to look into it later today (hopefully, Ken won't mind if it
takes a little more time ;))

> Aaron

Jacek


Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-29 Thread Aaron Mulder
> Hi Aaron,
>
> I haven't yet taken a look at it, but if the issue with broken OpenEJB
> itests is with one additional dash, it should be easy to fix. I didn't
> know that itests are disabled by default and wonder why it happened
> (probably because of the time it takes to finish). I think I will be
> able to look into it later today (hopefully, Ken won't mind if it
> takes a little more time ;))

The itests are disabled AFAIK because they relied on modules/assembly
which is now gone.  Though now that I think about it, I think OpenEJB
had its own assembly.  So I'm not sure exactly what the problem was,
but I think the itest breakage was caused by the migration from
modules/assembly to assemblies/* in some way.

Though, let me say again, I believe the issue with the dash is a
mismatch between the poster's Geronimo build version and plugin
version, and if they do a full rebuild, that paritcular issue should
go away.

Thanks,
Aaron


Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-29 Thread Ken Perl
Thanks all, maven m:rebuild-all fix the issue, and the build is success now,
the file BUILDING.txt is a little old then because

To build and run the server, change into the assembly directory and
type:

$> cd modules/assembly
$> maven
$> cd target/geronimo-1.0-SNAPSHOT
$> java -jar bin/server.jar org/apache/geronimo/Server

A silly question, where the build go now?

On 12/30/05, Aaron Mulder <[EMAIL PROTECTED]> wrote:
> > Hi Aaron,
> >
> > I haven't yet taken a look at it, but if the issue with broken OpenEJB
> > itests is with one additional dash, it should be easy to fix. I didn't
> > know that itests are disabled by default and wonder why it happened
> > (probably because of the time it takes to finish). I think I will be
> > able to look into it later today (hopefully, Ken won't mind if it
> > takes a little more time ;))
>
> The itests are disabled AFAIK because they relied on modules/assembly
> which is now gone.  Though now that I think about it, I think OpenEJB
> had its own assembly.  So I'm not sure exactly what the problem was,
> but I think the itest breakage was caused by the migration from
> modules/assembly to assemblies/* in some way.
>
> Though, let me say again, I believe the issue with the dash is a
> mismatch between the poster's Geronimo build version and plugin
> version, and if they do a full rebuild, that paritcular issue should
> go away.
>
> Thanks,
> Aaron
>


--
perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-30 Thread Jacek Laskowski
2005/12/30, Ken Perl <[EMAIL PROTECTED]>:
> Thanks all, maven m:rebuild-all fix the issue, and the build is success now,
> the file BUILDING.txt is a little old then because
>
> To build and run the server, change into the assembly directory and
> type:
>
> $> cd modules/assembly
> $> maven
> $> cd target/geronimo-1.0-SNAPSHOT
> $> java -jar bin/server.jar org/apache/geronimo/Server

Hi Ken,

Thanks for reporting! Could you please fill a jira issue about it?

> A silly question, where the build go now?

That was easy (nor silly ;)). @see assemblies/j2ee-jetty-server/target
or assemblies/j2ee-tomcat-server/target/ depending on what servlet
container you wish to play with.

The most preffered way is to use Geronimo maven plugin and unpack one
of these assemblies into a place of your choice. @see
sandbox/adventurebuilder/maven.xml for reference. That way you don't
need to pull down the sources but declare a dependency and have it
taken care by Maven. It takes less time and disk space.

Jacek


Re: Unrecognized argument: --quiet during openejb integration tests

2005-12-30 Thread Ken Perl
It is http://issues.apache.org/jira/browse/GERONIMO-1406

On 12/30/05, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
> 2005/12/30, Ken Perl <[EMAIL PROTECTED]>:
> > Thanks all, maven m:rebuild-all fix the issue, and the build is success now,
> > the file BUILDING.txt is a little old then because
> >
> > To build and run the server, change into the assembly directory and
> > type:
> >
> > $> cd modules/assembly
> > $> maven
> > $> cd target/geronimo-1.0-SNAPSHOT
> > $> java -jar bin/server.jar org/apache/geronimo/Server
>
> Hi Ken,
>
> Thanks for reporting! Could you please fill a jira issue about it?
>
> > A silly question, where the build go now?
>
> That was easy (nor silly ;)). @see assemblies/j2ee-jetty-server/target
> or assemblies/j2ee-tomcat-server/target/ depending on what servlet
> container you wish to play with.
>
> The most preffered way is to use Geronimo maven plugin and unpack one
> of these assemblies into a place of your choice. @see
> sandbox/adventurebuilder/maven.xml for reference. That way you don't
> need to pull down the sources but declare a dependency and have it
> taken care by Maven. It takes less time and disk space.
>
> Jacek
>


--
perl -e 'print unpack(u,"62V5N\"FME;G\!E