Closed simakas closed 6 years ago
You need to look at the log files inside tomcat, not everything is on stdout, I think you will find a stacktrace, etc in catalina.out. (or one of the other files)
this is the output of catalina.out
I think you forgot to attach the file
the lines i originally pasted are from catalina.out, no other details. Oxalis settings are listed and this error follows
the4n you need to look at the other log files in tomcat/logs directory, becsause you will have an stack trace telling you what the problem is.
already checked, its only access log there. -X mode does not reveal much either. found some hints in other bugs suggesting to move outbound.jar to tomcat/oxalis dirs, but no changes either
On Sat, Sep 15, 2018, 16:28 Christian Andersson notifications@github.com wrote:
the4n you need to look at the other log files in tomcat/logs directory, becsause you will have an stack trace telling you what the problem is.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/difi/oxalis/issues/352#issuecomment-421570594, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQgr46q6DxGKrBZuKZDBDluQwLYlpJKks5ubQBvgaJpZM4WqTyc .
Enable package debug:
# nano oxalis/WEB-INF/classes/logging.properties
org.apache.catalina.core.ContainerBase.[Catalina].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler
# service tomcat7 restart
Problem was with new oxalis.conf file, it was loading defaults and requires valid key.alias value. Example $OXALIS_HOME/oxalis.conf file:
oxalis.keystore {
# Relative to OXALIS_HOME
path=oxalis-keystore.jks # default is peppol-keystore.jks - make sure your name matches
password = *******
key.alias = aws # alias comes from keystore commandline used to generate keystore "openssl <...> -name **aws**", took a lot of digging to find command used 4 years ago...
key.password = *******
}
oxalis.path.plugin = oxalis-plugin
oxalis.persister.receipt = plugin
oxalis.path.inbound = /var/peppol
Apache Maven 3.2.1 Java version: 1.8.0_101 Tomcat: v7
Build builds ok:
When deploying .war file, vague error is displayed: