Xstream package problem

178 views
Skip to first unread message

EMoreth

unread,
Jan 23, 2012, 12:19:05 PM1/23/12
to Cukes
Hi there,

I'm trying to get cucumber running using selenium, since RC4. I
alraedy stumbled upon a lot of problems that I was able to fix by
myself.

The last one already consumed me three days and I still cant solve.

I'm now on RC12

My pom file is:

<dependency>
<groupId>org.picocontainer</groupId>
<artifactId>picocontainer</artifactId>
<version>2.14.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.17.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>2.17.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-core</artifactId>
<version>1.0.0.RC11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.0.0.RC11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.0.0.RC11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-picocontainer</artifactId>
<version>1.0.0.RC11</version>
<scope>test</scope>
</dependency>

And my application is build under glassfish and spring. My first goal
is to do only acceptance tests, so all I need now is cucumber and
selenium running.

The stack trace is:

Running cucumber.examples.java.login_Test

java.lang.NoSuchMethodError:
com.thoughtworks.xstream.core.DefaultConverterLookup: method <init>()V
not found
at
cucumber.runtime.converters.LocalizedXStreams.newXStream(LocalizedXStreams.java:
24)
at
cucumber.runtime.converters.LocalizedXStreams.get(LocalizedXStreams.java:
17)
at
cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:
43)
at cucumber.runtime.RuntimeWorld.runStep(RuntimeWorld.java:113)
at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:
45)
at
cucumber.runtime.model.StepContainer.formatAndRunSteps(StepContainer.java:
40)
at
cucumber.runtime.model.CucumberScenario.runBackground(CucumberScenario.java:
44)
at cucumber.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:
51)
at cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:52)
at cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:17)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at cucumber.junit.FeatureRunner.run(FeatureRunner.java:59)
at cucumber.junit.Cucumber.runChild(Cucumber.java:73)
at cucumber.junit.Cucumber.runChild(Cucumber.java:34)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at cucumber.junit.Cucumber.run(Cucumber.java:78)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:
140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:
338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
997)
at ✽.Dado que eu digitei na calculadora(login.feature:8)

Tests run: 5, Failures: 0, Errors: 1, Skipped: 4, Time elapsed: 0.425
sec <<< FAILURE!

The package was loaded as a dependency, and I also tried to add a
direct dependency.
Netbeans also find the package and the files/classes/methods when I
"ctrl click" it, but cucumber insists on this NoMethodError.


Thanks

aslak hellesoy

unread,
Jan 23, 2012, 12:29:03 PM1/23/12
to cu...@googlegroups.com
On Mon, Jan 23, 2012 at 5:19 PM, EMoreth <everton...@gmail.com> wrote:
> Hi there,
>
> I'm trying to get cucumber running using selenium, since RC4. I
> alraedy stumbled upon a lot of problems that I was able to fix by
> myself.
>
> The last one already consumed me three days and I still cant solve.
>
> I'm now on RC12
>

Your pom file uses RC11

What version are you *really* on?

Aslak

> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
>

Everton Moreth

unread,
Jan 23, 2012, 12:47:26 PM1/23/12
to cu...@googlegroups.com
Sorry, at the time of the copy/paste, I had already changed back to RC11.

I could not download RC12, (probably not in maven repo yet)

Regards,
Everton
--
Att,
Everton

aslak hellesoy

unread,
Jan 23, 2012, 1:08:49 PM1/23/12
to cu...@googlegroups.com
On Mon, Jan 23, 2012 at 5:47 PM, Everton Moreth
<everton...@gmail.com> wrote:
> Sorry, at the time of the copy/paste, I had already changed back to RC11.
>
> I could not download RC12, (probably not in maven repo yet)
>

Releases are immediately available in
https://oss.sonatype.org/content/repositories/releases
Add this to your pom:

<repositories>
<repository>
<id>sonatype.org</id>
<url>https://oss.sonatype.org/content/repositories/releases</url>
</repository>
</repositories>

Aslak

aslak hellesoy

unread,
Jan 23, 2012, 1:14:46 PM1/23/12
to cu...@googlegroups.com
On Mon, Jan 23, 2012 at 5:19 PM, EMoreth <everton...@gmail.com> wrote:

This is what LocalizedXStreams looks like in 1.0.0.RC11:
https://github.com/cucumber/cucumber-jvm/blob/fdd4116c0adfd2782a0451ea3c66b0f68d3a99bd/core/src/main/java/cucumber/runtime/converters/LocalizedXStreams.java

As you can see the instantiation of DefaultConverterLookup happens on
line 29, not line 24 as it does in your stack trace.

This leads me to believe that you're not running 1.0.0.RC11 as you
think you do. You must be running an older version.

Further, you shouldn't be adding XStream to your pom - it's a
transitive dependency. The same goes for cucumber-java and
cucumber-core - they are transitive deps of cucumber-picocontainer and
cucumber-junit.

Aslak

Everton Moreth

unread,
Jan 23, 2012, 1:21:12 PM1/23/12
to cu...@googlegroups.com
No RC12 here
https://oss.sonatype.org/content/repositories/releases/info/cukes/cucumber-core/

A clean build with RC6 and RC11 throws the same error.

Everton
--
Att,
Everton

aslak hellesoy

unread,
Jan 23, 2012, 1:31:11 PM1/23/12
to cu...@googlegroups.com
On Mon, Jan 23, 2012 at 6:21 PM, Everton Moreth
<everton...@gmail.com> wrote:
> No RC12 here
> https://oss.sonatype.org/content/repositories/releases/info/cukes/cucumber-core/
>

Oops sorry - I always forgot to go to
https://oss.sonatype.org/index.html#stagingRepositories and manually
release.

> A clean build with RC6 and RC11 throws the same error.
>

Did you see my comment about line numbers? Something is not right
about what you have reported.
Please run again with RC12 and post your new trace.

Aslak

EMoreth

unread,
Jan 23, 2012, 2:00:52 PM1/23/12
to Cukes
The new stack is:

Running cucumber.examples.java.login_Test

java.lang.NoSuchMethodError:
com.thoughtworks.xstream.core.DefaultConverterLookup: method <init>()V
not found
at
cucumber.runtime.converters.LocalizedXStreams.newXStream(LocalizedXStreams.java:
24)
I never downloaded RC12 to my machine, the command was "mvn clean
test"...
And I also already removed Xstream dependency...

Regards,
Everton

On Jan 23, 4:31 pm, aslak hellesoy <aslak.helle...@gmail.com> wrote:
> On Mon, Jan 23, 2012 at 6:21 PM, Everton Moreth
>
> <everton.mor...@gmail.com> wrote:
> > No RC12 here
> >https://oss.sonatype.org/content/repositories/releases/info/cukes/cuc...
>
> Oops sorry - I always forgot to go tohttps://oss.sonatype.org/index.html#stagingRepositoriesand manually
> release.
>
> > A clean build with RC6 and RC11 throws the same error.
>
> Did you see my comment about line numbers? Something is not right
> about what you have reported.
> Please run again with RC12 and post your new trace.
>
> Aslak
>
>
>
>
>
>
>
> > Everton
>
> > On Mon, Jan 23, 2012 at 4:14 PM, aslak hellesoy <aslak.helle...@gmail.com>
> > wrote:
> >>https://github.com/cucumber/cucumber-jvm/blob/fdd4116c0adfd2782a0451e...

aslak hellesoy

unread,
Jan 23, 2012, 2:06:07 PM1/23/12
to cu...@googlegroups.com
On Mon, Jan 23, 2012 at 7:00 PM, EMoreth <everton...@gmail.com> wrote:
> The new stack is:
>

Please don't top post - it's very hard to have a discussion that way.

> Running cucumber.examples.java.login_Test
>
> java.lang.NoSuchMethodError:
> com.thoughtworks.xstream.core.DefaultConverterLookup: method <init>()V
> not found
>        at
> cucumber.runtime.converters.LocalizedXStreams.newXStream(LocalizedXStreams.java:
> 24)

All I can tell you is that you're *not* running RC11 - the line
numbers don't match.

Well, please do. I'm not interested in bug reports against old versions.

> the command was "mvn clean
> test"...
> And I also already removed Xstream dependency...
>

Please get back with a full pom (with RC12) and the full trace of RC12
(not some unknown old version)

Aslak

EMoreth

unread,
Jan 23, 2012, 2:34:03 PM1/23/12
to Cukes
> Please don't top post - it's very hard to have a discussion that way.

Sorry, I`m not sure what do you mean by "top posting", Ill try to
follow the way you post.

>
> All I can tell you is that you're *not* running RC11 - the line
> numbers don't match.
>
> Well, please do. I'm not interested in bug reports against old versions.
>
> Please get back with a full pom (with RC12) and the full trace of RC12
> (not some unknown old version)
>

I removed the whole maven library folder and downloaded it all
again...
The error is the same, the lines now are correct...

mvn -PTEST clean test
Running cucumber.examples.java.login_Test

java.lang.NoSuchMethodError:
com.thoughtworks.xstream.core.DefaultConverterLookup: method <init>()V
not found
at
cucumber.runtime.converters.LocalizedXStreams.newXStream(LocalizedXStreams.java:
29)
at
cucumber.runtime.converters.LocalizedXStreams.get(LocalizedXStreams.java:
22)
at
cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:
43)
at cucumber.runtime.Runtime.runStep(Runtime.java:220)
at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:
45)
at
cucumber.junit.ExecutionUnitRunner.runChild(ExecutionUnitRunner.java:
59)
at
cucumber.junit.ExecutionUnitRunner.runChild(ExecutionUnitRunner.java:
18)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at cucumber.junit.ExecutionUnitRunner.access
$001(ExecutionUnitRunner.java:18)
at cucumber.junit.ExecutionUnitRunner
$1.runSteps(ExecutionUnitRunner.java:51)
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:
32)
at cucumber.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:
48)
at cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:50)
at cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:17)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at cucumber.junit.FeatureRunner.run(FeatureRunner.java:57)
at cucumber.junit.Cucumber.runChild(Cucumber.java:75)
at cucumber.junit.Cucumber.runChild(Cucumber.java:34)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at cucumber.junit.Cucumber.run(Cucumber.java:80)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:
140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:
338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
997)
at ✽.Dado outra coisa(login.feature:9)

Tests run: 5, Failures: 0, Errors: 2, Skipped: 3, Time elapsed: 0.18
sec <<< FAILURE!

Sorry about the older posts...

Everton

aslak hellesoy

unread,
Jan 23, 2012, 3:23:51 PM1/23/12
to cu...@googlegroups.com
On Mon, Jan 23, 2012 at 7:34 PM, EMoreth <everton...@gmail.com> wrote:
>> Please don't top post - it's very hard to have a discussion that way.
>
> Sorry, I`m not sure what do you mean by "top posting", Ill try to
> follow the way you post.
>

Thanks

>>
>> All I can tell you is that you're *not* running RC11 - the line
>> numbers don't match.
>>
>> Well, please do. I'm not interested in bug reports against old versions.
>>
>> Please get back with a full pom (with RC12) and the full trace of RC12
>> (not some unknown old version)
>>
>
> I removed the whole maven library folder and downloaded it all
> again...
> The error is the same, the lines now are correct...
>
> mvn -PTEST clean test
> Running cucumber.examples.java.login_Test
>
> java.lang.NoSuchMethodError:
> com.thoughtworks.xstream.core.DefaultConverterLookup: method <init>()V
> not found
>        at
> cucumber.runtime.converters.LocalizedXStreams.newXStream(LocalizedXStreams.java:
> 29)

That looks good.

The error means that LocalizedXStreams is trying to invoke the no-arg
constructor of DefaultConverterLookup. The DefaultConverterLookup
class has been loaded, but it doesn't have an empty constructor.

DefaultConverterLookup has had an empty constructor since XStream 1.3:
http://svn.codehaus.org/xstream/tags/XSTREAM_1_3/xstream/src/java/com/thoughtworks/xstream/core/DefaultConverterLookup.java

In XStream 1.2.2 and older DefaultConverterLookup *does not* have an
empty constructor.

My theory is therefore that you have somehow ended up with an old
version of XStream on your classpath.
Try to delete XStream from your local maven repo and build again. Pay
close attention to what versions of XStream maven is downloading.

What XStream versions are in your maven repo now?

Aslak

Felipe Garcia

unread,
Jan 23, 2012, 1:51:40 PM1/23/12
to Cukes
I'm with Everton trying to solve this problem... The stack trace with
RC12 is:

We're running "mvn clean test"

Running br.uff.cucumber.examples.java.login_Test

java.lang.NoSuchMethodError:
com.thoughtworks.xstream.core.DefaultConverterLookup: method <init>()V
not found
at
cucumber.runtime.converters.LocalizedXStreams.newXStream(LocalizedXStreams.java:
24)
Felipe Garcia

On 23 jan, 16:31, aslak hellesoy <aslak.helle...@gmail.com> wrote:
> On Mon, Jan 23, 2012 at 6:21 PM, Everton Moreth
>
> <everton.mor...@gmail.com> wrote:
> > No RC12 here
> >https://oss.sonatype.org/content/repositories/releases/info/cukes/cuc...
>
> Oops sorry - I always forgot to go tohttps://oss.sonatype.org/index.html#stagingRepositoriesand manually
> release.
>
> > A clean build with RC6 and RC11 throws the same error.
>
> Did you see my comment about line numbers? Something is not right
> about what you have reported.
> Please run again with RC12 and post your new trace.
>
> Aslak
>
>
>
>
>
>
>
> > Everton
>
> > On Mon, Jan 23, 2012 at 4:14 PM, aslak hellesoy <aslak.helle...@gmail.com>
> > wrote:
> >>https://github.com/cucumber/cucumber-jvm/blob/fdd4116c0adfd2782a0451e...
> >> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(A bstractDirectoryTestSuite.java:
> >> > 140)
> >> >        at
>
> >> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstract DirectoryTestSuite.java:

aslak hellesoy

unread,
Jan 25, 2012, 2:12:15 PM1/25/12
to cu...@googlegroups.com
On Mon, Jan 23, 2012 at 6:51 PM, Felipe Garcia <feli...@id.uff.br> wrote:
> I'm with Everton trying to solve this problem...  The stack trace with
> RC12 is:
>
> We're running "mvn clean test"
>
> Running br.uff.cucumber.examples.java.login_Test
>

I asked Everton to delete all of his xstreams from the local maven
repo - build again and pay close attention to what xstream versions
are getting downloaded.
Perhaps you can help with that - Everton didn't get back to me.

Also - the output of `mvn dependency:tree` would be helpful. Please
use gist.github.com or pastie.org.

Aslak

aslak hellesoy

unread,
Jan 27, 2012, 5:17:31 PM1/27/12
to cu...@googlegroups.com
On Wed, Jan 25, 2012 at 7:12 PM, aslak hellesoy
<aslak.h...@gmail.com> wrote:
> On Mon, Jan 23, 2012 at 6:51 PM, Felipe Garcia <feli...@id.uff.br> wrote:
>> I'm with Everton trying to solve this problem...  The stack trace with
>> RC12 is:
>>
>> We're running "mvn clean test"
>>
>> Running br.uff.cucumber.examples.java.login_Test
>>
>
> I asked Everton to delete all of his xstreams from the local maven
> repo - build again and pay close attention to what xstream versions
> are getting downloaded.
> Perhaps you can help with that - Everton didn't get back to me.
>

Bump. What did you find out?

Everton Moreth

unread,
Jan 31, 2012, 11:27:27 PM1/31/12
to cu...@googlegroups.com
I found that jboss-seam and jboss-saem-ui had a dependency on xstream 1.1.
I just had to add the ignores to the pom on the tests profile.

Now I'm struggling on starting the glassfish server for running tests...

Regards,
Everton

Aslak Hellesøy

unread,
Feb 6, 2012, 7:50:23 PM2/6/12
to cu...@googlegroups.com


On Wednesday, February 1, 2012 4:27:27 AM UTC, EMoreth wrote:
I found that jboss-seam and jboss-saem-ui had a dependency on xstream 1.1.
I just had to add the ignores to the pom on the tests profile.


This has now been fixed and will be in the next release (after 1.0.0.RC14)
 
Now I'm struggling on starting the glassfish server for running tests...


Personally I'm using Webbit [1] exclusively these days. It starts and stops in less than a millisecond and doing that in @Before/@After is cheap and easy. I've had enough of these heavyweight JEE servers and frameworks. They only get in the way.

Check out the Cucumber-JVM examples for an example of how to use Cucumber-JVM + Webbit.

Aslak


Regards,
Everton


>>> >> > For more options, visit this group at
>>> >> >http://groups.google.com/group/cukes?hl=en.
>>>
>>> >> --
>>> >> You received this message because you are subscribed to the Google Groups
>>> >> "Cukes" group.
>>> >> To post to this group, send email to cu...@googlegroups.com.
>>> >> To unsubscribe from this group, send email to

>>> >> For more options, visit this group at
>>> >>http://groups.google.com/group/cukes?hl=en.
>>>
>>> > --
>>> > Att,
>>> > Everton
>>>
>>> > --
>>> > You received this message because you are subscribed to the Google Groups
>>> > "Cukes" group.
>>> > To post to this group, send email to cu...@googlegroups.com.
>>> > To unsubscribe from this group, send email to

>>> > For more options, visit this group at
>>> >http://groups.google.com/group/cukes?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Cukes" group.
>> To post to this group, send email to cu...@googlegroups.com.
>> To unsubscribe from this group, send email to cukes+unsubscribe@googlegroups.com.

>> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
>>

--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/cukes?hl=en.




--
Att,
Everton

Everton Moreth

unread,
Feb 6, 2012, 9:28:21 PM2/6/12
to cu...@googlegroups.com
The application is Huge (200+ KLOCS), all build under glassfish 2 for development  and jboss for production.

I can't figure out how to start and stop glassfish using cucumber...

Regards,
Everton

To view this discussion on the web visit https://groups.google.com/d/msg/cukes/-/vUe5sR3_DCwJ.

To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/cukes?hl=en.



--
Att,
Everton

Aslak Hellesøy

unread,
Feb 7, 2012, 2:53:10 AM2/7/12
to cu...@googlegroups.com




On Feb 7, 2012, at 2:28, Everton Moreth <everton...@gmail.com> wrote:

The application is Huge (200+ KLOCS), all build under glassfish 2 for development  and jboss for production.

I can't figure out how to start and stop glassfish using cucumber...


I think the problem can be generalised to starting and stopping glassfish from Java.

Have you asked in the glassfish forum?

Aslak

Everton Moreth

unread,
Feb 8, 2012, 10:09:18 AM2/8/12
to cu...@googlegroups.com
I think the problem can be generalised to starting and stopping glassfish from Java.

Have you asked in the glassfish forum?


The solution would be using embedded_glassfish plugin. But this one runs glassfish3, I'm still trying to make it work on it. We currently use glassfish 2.

--
Att,
Everton
Reply all
Reply to author
Forward
0 new messages