Closed glassfishrobot closed 11 years ago
@glassfishrobot Commented Reported by rogerk
@glassfishrobot Commented @ssevozen said: Let me spare you some misery: this happens because the download location currently points to internal RE host instead of the public GlassFish download URL. So, if you are not using an existing GlassFish installation but try to bootstrap the runtime, operation failed outside Oracle network.
This has been on my radar for a while, I guess we should finally fix it.
@glassfishrobot Commented rogerk said: This is just from the top level as some default. Include own sample deploy/run steps.
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH_SAMPLES-46
@glassfishrobot Commented Marked as invalid on Wednesday, April 3rd 2013, 11:08:12 am
Step 4 of Building, Deploying says:
Build, deploy, and run the sample application using the run outcome.
mvn clean verify cargo:run
Doing this produces the following exception:
org.codehaus.cargo.container.ContainerException: Failed to download http://javaweb.us.oracle.com/java/re/glassfish/4.0/promoted/b82/archive/bundles/latest-glassfish.zip at org.codehaus.cargo.container.installer.ZipURLInstaller.download(ZipURLInstaller.java:433) at org.codehaus.cargo.container.installer.ZipURLInstaller.install(ZipURLInstaller.java:223) at org.codehaus.cargo.maven2.configuration.Container.setupHome(Container.java:793) at org.codehaus.cargo.maven2.configuration.Container.createContainer(Container.java:460) at org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer(AbstractCargoMojo.java:735) at org.codehaus.cargo.maven2.ContainerRunMojo.createNewContainer(ContainerRunMojo.java:150) at org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(AbstractCargoMojo.java:655) at org.codehaus.cargo.maven2.AbstractContainerStartMojo.doExecute(AbstractContainerStartMojo.java:52) at org.codehaus.cargo.maven2.ContainerRunMojo.doExecute(ContainerRunMojo.java:86) at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:457) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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: in cargo code: java.net.UnknownHostException: javaweb.us.oracle.com at org.apache.tools.ant.taskdefs.Get.execute(Get.java:82) at org.codehaus.cargo.container.installer.ZipURLInstaller.doDownload(ZipURLInstaller.java:474) at org.codehaus.cargo.container.installer.ZipURLInstaller.download(ZipURLInstaller.java:413)