atlas-run returning exceptions

I get a lot of exceptions when running atlas-run. I am running this on Windows and I am following the tutorial for making an hello world plug-in. 

 

most of the errors are files missing in the tomcat folder, I am copying one of the errors here. Any help would be appreciated. 

 

[INFO] [talledLocalContainer] Jan 15, 2018 12:37:16 PM org.apache.tomcat.util.scan.StandardJarScanner scan
[WARNING] [talledLocalContainer] WARNING: Failed to scan [file:/C:/Applications/Atlassian/atlassian-plugin-sdk-6.3.6/bin/myPlugin/target/container/tomcat8x/cargo-jira-home/common/lib/p6psy.jar] from classloader hierarchy
[INFO] [talledLocalContainer] java.nio.file.NoSuchFileException: C:\Applications\Atlassian\atlassian-plugin-sdk-6.3.6\bin\myPlugin\target\container\tomcat8x\cargo-jira-home\common\lib\p6psy.jar
[INFO] [talledLocalContainer] at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
[INFO] [talledLocalContainer] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
[INFO] [talledLocalContainer] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
[INFO] [talledLocalContainer] at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
[INFO] [talledLocalContainer] at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
[INFO] [talledLocalContainer] at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:194)
[INFO] [talledLocalContainer] at java.base/java.nio.file.Files.readAttributes(Files.java:1755)
[INFO] [talledLocalContainer] at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:951)
[INFO] [talledLocalContainer] at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:216)
[INFO] [talledLocalContainer] at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:148)
[INFO] [talledLocalContainer] at java.base/java.util.jar.JarFile.<init>(JarFile.java:324)
[INFO] [talledLocalContainer] at java.base/java.util.jar.JarFile.<init>(JarFile.java:295)
[INFO] [talledLocalContainer] at java.base/java.util.jar.JarFile.<init>(JarFile.java:261)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:60)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:48)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:338)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:288)
[INFO] [talledLocalContainer] at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
[INFO] [talledLocalContainer] at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
[INFO] [talledLocalContainer] at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
[INFO] [talledLocalContainer] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
[INFO] [talledLocalContainer] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[INFO] [talledLocalContainer] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
[INFO] [talledLocalContainer] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
[INFO] [talledLocalContainer] at java.base/java.lang.Thread.run(Thread.java:844)

1 answer

0 vote

Please check what version of Tomcat the SDK runs against the Jira version.

You can also check the supported platform's page for Jira and check which Tomcat it supports.

I am going to try some of the suggestions in the bug report (thank you for sending it to me). However, I am following this article 

https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/

 

tomcat seems to be installed as part of the batch file. 

 

With the latest version of the SDK (6.3.6), and Jira, following the instructions in this article doesn't work. Shouldn't the article be updated? or is there a correction somewhere?

Timothy Chin Community Champion Jan 16, 2018

With the latest version of the SDK (6.3.6), and Jira, following the instructions in this article doesn't work. Shouldn't the article be updated? or is there a correction somewhere?

The answer would probably be no.

You could always submit a pull request though.

I am trying to figure out if the documentation is wrong or if it’s something with my environment. Did anyone else got this tutorial working. All my attempts to make this work failed. 

 

Just want to get hello world plugin and be able to debug it. 

I have the same problem too, hope anyone can help.

This is a warning caused by Jar manifest scan is enabled by default in Tomcat 8.

The details and workaround is available at 

https://confluence.atlassian.com/jirakb/jira-throws-java-io-filenotfoundexception-warnings-after-upgrade-869007981.html

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

489 views 2 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