Iam working on confluence5.6.5 version when I run build it is success but unable to open confluence in browser

when I run atlas-run-standalone --product confluence it is showing in logs taht confluence sarted but is is starting in different port when times when I run each time in different port but it is not at al starting in port 1990(default port).when I try to open the link in browser it is showing error "404 erroe requested resource unavailable"

Please find the log below

Executing: "E:\Jayasri_confluence\softwares\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-amps-plugin:5.0.4:run-standalone -gs E:\Jayasri_confluence\softwares\atlassian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml -Dproduct=-confluence
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-amps-plugin:5.0.4:run-standalone (default-cli) @ standalone-pom ---
[INFO] Google Analytics Tracking is enabled to collect AMPS usage statistics.
[INFO] Although no personal information is sent, you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml
[INFO] Sending event to Google Analytics: AMPS:-confluence - Run Standalone
[INFO] Google Analytics Tracking is enabled to collect AMPS usage statistics.
[INFO] Although no personal information is sent, you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml
[INFO] Sending event to Google Analytics: AMPS:-confluence - Run
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.907 s
[INFO] Finished at: 2015-01-13T16:35:56+05:30
[INFO] Final Memory: 11M/28M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-plugin:5.0.4:run-standalone (default-cli) on project standalone-pom: Unable to execute mojo: Execution null of goal com.atlassian.maven.plugins:maven-amps-plugin:5.0.4:run failed: Unknown product id: '-confluence' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Executing: "E:\Jayasri_confluence\softwares\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-amps-plugin:5.0.4:run-standalone -gs E:\Jayasri_confluence\softwares\atlassian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml -Dproduct=confluence
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-amps-plugin:5.0.4:run-standalone (default-cli) @ standalone-pom ---
[WARNING] ************************************************************Version 5.0.13 of the Atlassian Plugin SDK is now available.
Run the atlas-update command to update.
************************************************************
[INFO] Google Analytics Tracking is enabled to collect AMPS usage statistics.
[INFO] Although no personal information is sent, you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml
[INFO] Sending event to Google Analytics: AMPS:confluence - Run Standalone
[INFO] Google Analytics Tracking is enabled to collect AMPS usage statistics.
[INFO] Although no personal information is sent, you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml
[INFO] Sending event to Google Analytics: AMPS:confluence - Run
[INFO]
[INFO] Starting confluence... (see log at E:\Jayasri_confluence\confluence_tutorials\amps-standalone/target/confluence-LATEST.log)
[INFO] determining latest stable data version...
[INFO] artifact com.atlassian.confluence.plugins:confluence-plugin-test-resources: checking for updates from atlassian-plugin-sdk
[INFO] using latest stable data version: 5.6.6
[INFO] Configured Artifact: com.atlassian.confluence.plugins:confluence-plugin-test-resources:5.6.6:zip
[INFO] com.atlassian.confluence.plugins:confluence-plugin-test-resources:5.6.6:zip already exists in E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence
[INFO] determining latest stable product version...
[INFO] artifact com.atlassian.confluence:confluence-webapp: checking for updates from atlassian-plugin-sdk
[INFO] using latest stable product version: 5.6.6
[INFO] Configured Artifact: com.atlassian.confluence:confluence-webapp:5.6.6:war
[INFO] com.atlassian.confluence:confluence-webapp:5.6.6:war already exists in E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence
[INFO] Configured Artifact: org.apache.felix:org.apache.felix.webconsole:1.2.8:jar
[INFO] Copying org.apache.felix.webconsole-1.2.8.jar to E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\webapp\WEB-INF\atlassian-bundled-plugins\org.apache.felix.webconsole-1.2.8.jar
[INFO] Configured Artifact: org.apache.felix:org.osgi.compendium:1.2.0:jar
[INFO] Copying org.osgi.compendium-1.2.0.jar to E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\webapp\WEB-INF\atlassian-bundled-plugins\org.osgi.compendium-1.2.0.jar
[INFO] Configured Artifact: com.atlassian.labs.httpservice:httpservice-bridge:0.6.2:jar
[INFO] Copying httpservice-bridge-0.6.2.jar to E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\webapp\WEB-INF\atlassian-bundled-plugins\httpservice-bridge-0.6.2.jar
[INFO] Configured Artifact: com.atlassian.labs:fastdev-plugin:2.4:jar
[INFO] Copying fastdev-plugin-2.4.jar to E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\webapp\WEB-INF\atlassian-bundled-plugins\fastdev-plugin-2.4.jar
[INFO] Configured Artifact: com.atlassian.devrel:developer-toolbox-plugin:2.0.12:jar
[INFO] Copying developer-toolbox-plugin-2.0.12.jar to E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\webapp\WEB-INF\atlassian-bundled-plugins\developer-toolbox-plugin-2.0.12.jar
[INFO] Configured Artifact: com.atlassian.labs:rest-api-browser:3.0.7:jar
[INFO] Copying rest-api-browser-3.0.7.jar to E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\webapp\WEB-INF\atlassian-bundled-plugins\rest-api-browser-3.0.7.jar
[INFO] Configured Artifact: com.atlassian.plugins:plugin-data-editor:1.2:jar
[INFO] Copying plugin-data-editor-1.2.jar to E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\webapp\WEB-INF\atlassian-bundled-plugins\plugin-data-editor-1.2.jar
[INFO] Reusing unpacked container 'tomcat6x' from E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\container\tomcat6x
[INFO] Starting confluence on the tomcat6x container on ports 2916 (http), 2914 (rmi) and 2915 (ajp)
[INFO] using codehaus cargo v1.4.7
[INFO] [2.ContainerStartMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-tomcat:jar:1.4.7 for container tomcat6x
[INFO] [talledLocalContainer] Tomcat 6.x starting...
[INFO] [stalledLocalDeployer] Deploying [E:\Jayasri_confluence\confluence_tutorials\amps-standalone\target\confluence\confluence.war] to [E:\Jayasri_confluence\confluence_tutorials\amps-standalone/target\container\tomcat6x\cargo-confluence-home/webapps]...
[INFO] [talledLocalContainer] Tomcat 6.x started on port [2916]
[INFO] confluence started successfully in 118s at http://n3307:2916/confluence
[INFO] Type Ctrl-D to shutdown gracefully
[INFO] Type Ctrl-C to exit

1 answer

0 votes

The third line from the bottom of that log tells you why you can't reach it.  It's not running on the port you're trying and it's giving you a different location.  Try hitting that instead.

Atlas-run does this sometimes when you're already running something on the ports it wants to use.

but when i try to run it in that port http://n3307:2916/confluence it is showing error "requested resource not available"

Ok, check the bottom of the log again - there may be more errors there. Also, look for the file "catalina.out" - that should also be telling you more about why it's throwing that particular error (but check the atlassian-confluence.log first)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,085 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you