By: Paul Dube user 28 Oct 2016 at 3:11 p.m. CDT

6 Responses
Paul Dube gravatar
We are attempting to start oxd-server v 2.4.4. We had it running briefly but now it shuts down before even checking the license: # ./bin/oxd-start.sh BASEDIR=./bin CONF=./bin/../conf/oxd-conf.json 2016-10-22 12:02:45,239 INFO [org.xdi.oxd.server.ServerLauncher] Starting... 2016-10-22 12:02:45,242 INFO [org.xdi.oxd.server.ServerLauncher] commit: c2ec9f2ded6fdc02e297c1ed16407876b14c7c0b, branch: version_2.4.4, build time:18.10. 2016 @ 20:30:11 EDT 2016-10-22 12:02:45,582 TRACE [org.xdi.oxd.server.service.ConfigurationService] Try to load configuration from system property: oxd.server.config, value: ./bin/ ../conf/oxd-conf.json 2016-10-22 12:02:45,896 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config. 2016-10-22 12:02:45,897 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration: Configuration{port=8099, timeOutInSeconds=0, jettyPort=0, startJe tty=false, localhostOnly=true, useClientAuthenticationForPat=true, useClientAuthenticationForAat=true, trustAllCerts=true, keyStorePath='', keyStorePassword='', licenseId='', publicKey='', publicPassword='', licensePassword='', supportGoogleLogout='false', stateExpirationInMinutes='5', nonceExpirationInMinutes='5'} 2016-10-22 12:02:45,936 INFO [org.xdi.oxd.server.service.ConfigurationService] Configuration directory: ./bin/../conf 2016-10-22 12:02:45,945 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: oxd-default-site-config.json 2016-10-22 12:02:46,164 ERROR [org.xdi.oxd.server.ServerLauncher] Shutdown oxd server. org.xdi.oxd.server.ShutdownException: Unable to validate license. license_id is not set in oxd configuration. at org.xdi.oxd.server.license.LicenseService.validateConfiguration(LicenseService.java:64) at org.xdi.oxd.server.license.LicenseService.start(LicenseService.java:49) at org.xdi.oxd.server.service.SocketService.listenSocket(SocketService.java:65) at org.xdi.oxd.server.ServerLauncher.startOxd(ServerLauncher.java:85) at org.xdi.oxd.server.ServerLauncher.start(ServerLauncher.java:62) at org.xdi.oxd.server.ServerLauncher.main(ServerLauncher.java:51) From Jim WHitescarver to Everyone: 10:43 AM [root@freetrust oxd-server]# cat conf/oxd-default-site-config.json { "op_host":"idp.freetrust.org", "authorization_redirect_uri":"", "post_logout_redirect_uri":"", "redirect_uris":[""], "response_types":["code"], "grant_type":["authorization_code"], "acr_values":[""], "scope":["openid", "profile", "email"], "ui_locales":["en"], "claims_locales":["en"], "client_jwks_uri":"", "contacts":[] [root@freetrust oxd-server] # cat conf/oxd-conf.json{ "port":8099, "localhost_only":true, "time_out_in_seconds":0, "use_client_authentication_for_pat":true, "use_client_authentication_for_aat":true, "trust_all_certs":true, "trust_store_path":"", "trust_store_password":"", "license_id":"", "public_key":"", "public_password":"", "license_password":"", "support-google-logout": true, "state_expiration_in_minutes":5, "nonce_expiration_in_minutes":5

By Yuriy Zabrovarnyy staff 28 Oct 2016 at 4:21 p.m. CDT

Yuriy Zabrovarnyy gravatar
oxd now works only with valid license. From configuration I can see that you didn't set license_id and all relative information (public_key, public_password, license_password). Please request trial license_id (30 days) or otherwise purchase non-trial one. https://oxd.gluu.org/ Thanks, Yuriy

By William Lowe user 28 Oct 2016 at 4:28 p.m. CDT

William Lowe gravatar
Hi Paul, We're not quite ready to sell licenses yet. We can give you a new trial license in the meantime. What's a good email? Thanks, Will

By jim whitescarver user 30 Oct 2016 at 12:01 p.m. CDT

jim whitescarver gravatar
Will or Yuriy, We have a problem because our initial use case, FreeTrust.org is FOSS. We cannot use commercially licensed software. What is the alternative to oxd. We have been unsuccessful getting openid working with wordpress or drupal without using oxd. Can we get help making it work? A few week ago oxd was working fine even though it complained about the licence. Suddenly is stopped working. We were under the impression that the prior open source release would remain open source. Perhaps it could remain so for non-commercial use. That would get us over our immediate hurdle. Thanks, Jim

By William Lowe user 04 Nov 2016 at 10:28 a.m. CDT

William Lowe gravatar
Hi Jim, An alternative to oxd is [mod_auth_openidc](https://github.com/pingidentity/mod_auth_openidc). This is open sourced by a friend of ours at Ping Identity. The drupal and wordpress plugins both require oxd. In fact, none of the plugins we publish will work without an active installation of oxd. Our goal is to keep oxd pricing very affordable... we're targeting a price point of $10/mo/installation. Licenses will be available for purchase by the end of the month. We are committed to FOSS, but also need a business model in order to fund continued development and maintenance. If you need a trial license in the meantime let me know. Also feel free to email me directly (will@gluu.org) if you have any questions. Thanks, Will

By jim whitescarver user 04 Nov 2016 at 12:35 p.m. CDT

jim whitescarver gravatar
Thanks Will, Oxd is a good option for those with commercial applications of freetrust identity who want a supported product. Knowing there is a FOSS solution we decided to use oxd trial for now. Paul planned to get a trial licence from you, if not yet, he will soon. Thanks again for your reply. Jim

By Paul Dube user 12 Nov 2016 at 1:17 p.m. CST

Paul Dube gravatar
We are still experiencing difficulty. We uninstalled gluu, reinstalled it, and cannot get it working. The start of the wrapper.log is: Start of log: STATUS | wrapper | 2016/11/12 09:29:33 | --> Wrapper Started as Daemon STATUS | wrapper | 2016/11/12 09:29:33 | Java Service Wrapper Community Edition 64-bit 3.5.27 STATUS | wrapper | 2016/11/12 09:29:33 | Copyright (C) 1999-2015 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2016/11/12 09:29:33 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2016/11/12 09:29:33 | WARN | wrapper | 2016/11/12 09:29:33 | The value of wrapper.java.command does not appear to be a java binary. WARN | wrapper | 2016/11/12 09:29:33 | The use of scripts is not supported. Trying to continue, but some features may not work correctly.. STATUS | wrapper | 2016/11/12 09:29:33 | Launching a JVM... INFO | jvm 1 | 2016/11/12 09:29:33 | WrapperManager: Initializing... INFO | jvm 1 | 2016/11/12 09:29:34 | Nov 12, 2016 9:29:34 AM org.apache.tomcat.util.digester.SetPropertiesRule begin INFO | jvm 1 | 2016/11/12 09:29:34 | WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation' to 'false' did not find a matching property. INFO | jvm 1 | 2016/11/12 09:29:34 | Nov 12, 2016 9:29:34 AM org.apache.tomcat.util.digester.SetPropertiesRule begin ... then we get INFO | jvm 1 | 2016/11/12 09:36:30 | INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed. STATUS | wrapper | 2016/11/12 09:36:38 | JVM received a signal SIGKILL (9). STATUS | wrapper | 2016/11/12 09:36:38 | JVM process is gone. ERROR | wrapper | 2016/11/12 09:36:38 | JVM exited unexpectedly. WARN | wrapper | 2016/11/12 09:36:42 | The value of wrapper.java.command does not appear to be a java binary. WARN | wrapper | 2016/11/12 09:36:42 | The use of scripts is not supported. Trying to continue, but some features may not work correctly.. STATUS | wrapper | 2016/11/12 09:36:43 | Launching a JVM... INFO | jvm 2 | 2016/11/12 09:36:43 | WrapperManager: Initializing... INFO | jvm 9 | 2016/11/12 10:03:54 | 2016-11-12 10:03:54,762 INFO [org.jboss.seam.Component] Component: xmlService, scope: APPLICATION, type: JAVA_BEAN, class: org.xdi.service.XmlService INFO | jvm 9 | 2016/11/12 10:03:54 | 2016-11-12 10:03:54,768 WARN [org.jboss.seam.security.permission.PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required. It appears the jboss.seam.security.permission store is the problem, causing the WARN | wrapper | 2016/11/12 09:36:42 | The value of wrapper.java.command does not appear to be a java binary. WARN | wrapper | 2016/11/12 09:36:42 | The use of scripts is not supported. Trying to continue, but some features may not work correctly.. Then the attempt to run scripts causes a SIGKILL (9) I have the log in a tar if you want. Advice needed please. Thank you