On Tue, Oct 26, 2010 at 6:32 PM, JohnG <[email protected]> wrote:

> Hi Marvin,
>
> I forgot to mention two things, I'm using the non-debug flash version
> and the tests run fine in Intellij.


Neither this changes nothing.


> That's why I though it was a
> dependency problem. Can the port and controlPort be controlled from
> the pom or would this not help?


Check maven docs.


> Or is that even related to the ping
> problem?
>

Can tell, so far you gave me no clue on what is going on there.


>
> JohnG
>
> On Oct 26, 2:23 pm, Marvin Froeder <[email protected]> wrote:
> > For some reason flashplayer did not respond to java ping request....
> >
> > VELO
> >
> > On Tue, Oct 26, 2010 at 5:58 PM, JohnG <[email protected]> wrote:
> > > Everyone,
> >
> > > I've looked through the posts and everything about this problem is
> > > over a year old. I'm getting the 'dreaded'
> >
> > > Accept timed out....../target/test-classes/TestRunner.swf
> >
> > > with the following stack trace
> >
> > > rg.apache.maven.lifecycle.LifecycleExecutionException: Accept timed
> > > out/Users/jgriffin/java/projects/FlexCheckout/flex-checkout-swf/target/
> > > test-classes/TestRunner.swf
> > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> > > 719)
> > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:
> > > 556)
> > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
> > > 535)
> > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
> > > 387)
> > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
> > > 348)
> > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> > > 180)
> > >        at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> > >        at
> > > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
> > > 60)
> > >        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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
> > > 315)
> > >        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
> > > 430)
> > >        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > Caused by: org.apache.maven.plugin.MojoExecutionException: Accept
> > > timed out/Users/jgriffin/java/projects/FlexCheckout/flex-checkout-swf/
> > > target/test-classes/TestRunner.swf
> > >        at
> > > org.sonatype.flexmojos.test.FlexUnitMojo.tearDown(FlexUnitMojo.java:
> > > 315)
> > >        at
> > > org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:
> > > 165)
> > >        at
> >
> > >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> > > 490)
> > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> > > 694)
> > >        ... 17 more
> > > Caused by: org.sonatype.flexmojos.test.TestRunnerException: Accept
> > > timed out/Users/jgriffin/java/projects/FlexCheckout/flex-checkout-swf/
> > > target/test-classes/TestRunner.swf
> > >        at
> > >
> org.sonatype.flexmojos.test.DefaultTestRunner.run(DefaultTestRunner.java:
> > > 87)
> > >        at
> org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java:
> > > 279)
> > >        at
> > > org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:
> > > 164)
> > >        ... 19 more
> > > Caused by: java.net.SocketTimeoutException: Accept timed out
> > >        at java.net.PlainSocketImpl.socketAccept(Native Method)
> > >        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
> > >        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
> > >        at java.net.ServerSocket.accept(ServerSocket.java:421)
> > >        at
> >
> > >
> org.sonatype.flexmojos.test.monitor.AbstractSocketThread.openClientSocket(AbstractSocketThread.java:
> > > 124)
> > >        at
> >
> > >
> org.sonatype.flexmojos.test.monitor.AbstractSocketThread.run(AbstractSocketThread.java:
> > > 62)
> > >        at java.lang.Thread.run(Thread.java:637)
> >
> > > I'm using 3.7.1 flexmojos. I've tried 3.5 and 3.8 but no joy.
> >
> > > Here are my relevant dependencies:
> >
> > >    <dependency>
> > >      <groupId>com.adobe.flexunit</groupId>
> > >      <artifactId>flexunit</artifactId>
> > >      <version>4.0-beta-2</version>
> > >      <type>swc</type>
> > >      <scope>test</scope>
> > >    </dependency>
> >
> > >    <dependency>
> > >      <groupId>org.flexunit</groupId>
> > >      <artifactId>flexunit-core-as3</artifactId>
> > >      <version>4.1.0-RC1.27-sdk3.5.0.12683</version>
> > >      <type>swc</type>
> > >      <scope>test</scope>
> > >    </dependency>
> >
> > >    <dependency>
> > >      <groupId>org.mockito</groupId>
> > >      <artifactId>mockito-flex</artifactId>
> > >      <version>1.4M4</version>
> > >      <type>swc</type>
> > >      <scope>test</scope>
> > >    </dependency>
> >
> > > Any ideas? Thanks in advance.
> >
> > > JohnG
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Flex Mojos" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex-mojos
> >
> > >http://flexmojos.sonatype.org/
> >
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to