-
Notifications
You must be signed in to change notification settings - Fork 17
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
Jetty crashes when running the idp #4
Comments
@sklarsa Any ideas how to fix this? Not sure if its related to the last merge. |
Found a fix: So the idp docker file needs the mkdir added to it:
|
So now browsing to the SP and clicking the button gives a 404 error. :( |
From the log file:
Not sure if this is the culprit, as its only a warning. |
I got it working, these are the changes to the end of the idp dockerfile:
|
Thanks for looking into that! I'm not sure why I didn't experience that behavior on my machine.. |
Thanks @AndrewMagpie for fixing the Jetty crash issue. The correct location of war file has been updated in "base/shib-jetty-base/webapps/idp.xml". I have made the new commit which has been validated by Shibboleth IdP/SP on Docker/Ubuntu 18.04. @AndrewMagpie Would you please test the new commit on your machine? Thanks. |
Running the build.sh and run.sh generated errors (in all three projects) |
Thanks @AndrewMagpie for testing the new commit. On Ubuntu 18.04, I git clone the github repository, and then edit all the two (2) files, build/run/validate all the three (3) projects based on README tutorial before I made the latest commit (i.e., commit #21). Note that all the commits (including the initial commit) I have made and tested are based on Ubuntu 16.04 or Ubuntu 18.04. I never tested this project on Windows machine. I do NOT know whether the two (2) commits contributed by @sklarsa and @tarellel are made on Windows machine or not. However, I can ensure that the github repository with the latest commit works well on Ubuntu 18.04. I have validated all the the three (3) projects with the latest commit (i.e., commit #21) based on README tutorial by git clone the github repository (i.e., git clone https://github.com/winstonhong/Shibboleth-SAML-IdP-and-SP) on brand-new Ubuntu 18.04. No any errors are generated. @AndrewMagpie It seems that you git clone the github repository on your Windows machine. |
ok git clone is probably changing the line endings! Thanks for the prompt turnaround time. :) |
I have updated Java 8, Jetty 9 and Shibboleth IdP to the latest release. |
This occurs inside run-jetty.sh:
WARN : Deprecated [name] used in ${jetty.base}/modules/backchannel.mod
java.nio.file.NoSuchFileException: tmp/start_8726611471009910032.properties
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.createFile(Files.java:632)
at java.nio.file.TempFileHelper.create(TempFileHelper.java:138)
at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:161)
at java.nio.file.Files.createTempFile(Files.java:897)
at org.eclipse.jetty.start.StartArgs.getMainArgs(StartArgs.java:814)
at org.eclipse.jetty.start.Main.start(Main.java:457)
at org.eclipse.jetty.start.Main.main(Main.java:77) (edited)
The text was updated successfully, but these errors were encountered: