-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error trying to run tomcat hello server #537
Comments
Hi Anton, That looks like a bug; thanks for reporting it. I'll investigate it this weekend when I have time. |
Would you please give this a try when you have a chance? It's been a long time since I tried to run Tomcat with Avian, so there may be other issues besides this one. I'm currently running low on disk space on my laptop, so I can't test Tomcat myself right now, but the above PR should fix the StackOverflowError, at least. |
Hi Joel,
I don't understand how hotspot recognizes that it needs to load jars from the lib directory (I couldn't find corresponding "Class-Path" lines in manifest files). If I run avian using the same arguments, it just returns with 0 error code.
|
I just downloaded Tomcat 9 and tried running it with Avian. The output is at the end of this post. It looks like there are several problems, the most serious of which is that the VM seems to be aborting due to an assertion failure when handling a lambda expression. That's not a big surprise, since lambdas are still a work in progress on Avian, as you can see in #539. I'm not sure why you're not getting any stdout/stderr output, though. Which version of Tomcat are you using? I'll look more closely at this when I have time this weekend. $ ~/p/avian/build/linux-x86_64-debug-openjdk/avian-dynamic -cp bin/bootstrap.jar:bin/tomcat-juli.jar org.apache.catalina.startup.Bootstrap start Jul 05, 2017 7:47:31 AM org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource execute Jul 05, 2017 7:47:31 AM org.apache.tomcat.util.modeler.Registry loadDescriptors |
Tomcat 9 is working for me as of this commit: a329416 I run it like this:
Please let me know if you're still having trouble with the latest code. |
Hi,
I've run into an error trying to run tomcat under avian-openjdk. The error is stackoverflow and it seems it is caused by a recursive call to ClassLoader.definePackage:
Does anybody know why this happens? The command to run jvm is as follows:
I've enumerated all jars in the classpath option because it seems like avian doesn't support wildcards yet.
The text was updated successfully, but these errors were encountered: