OpenID Problem: More details

3 views
Skip to first unread message

Dick Hirsch

unread,
Nov 7, 2008, 3:38:46 AM11/7/08
to esme-dev
I've installed esme locally and now trying to deal with the openID
login problems on a windows laptop. I extracted the esme war file.

During the openID login, I receive the error( from catalina.
2008-11-07.log):
07.11.2008 08:54:50 us.esme.model.ESMEOpenIDConsumer <init>
INFO: Proxy settings: [no host]:[no port]

The code is here:

class ESMEOpenIDConsumer extends OpenIDConsumer[User]
{
override val manager = {

User.logger.info("Proxy settings: " + Props.get("http.proxyHost",
"[no host]")
+ ":" + Props.get("http.proxyPort", "[no
port]"))

for (host <- Props.get("http.proxyHost")){
val proxyProps = new ProxyProperties()
proxyProps.setProxyHostName(host)
proxyProps.setProxyPort(Props.getInt("http.proxyPort", 80))
HttpClientFactory.setProxyProperties(proxyProps)
}
new ConsumerManager
}
}

I have created a property file named "[user].props" in D:
\tomcat_60\webapps\esme\WEB-INF\classes\props with the following
contents:
use_local_psql=true
http.proxyHost=[proxy from browser]
http.proxyPort=81

I have confirmed that the [user] is correct by looking at the windows
taskmanager and seeing which user is running the tomcat6w.exe process.

The problem is obviously that my property file isn't being found.

Any suggestions?

Dick

Dick Hirsch

unread,
Nov 7, 2008, 3:38:48 AM11/7/08
to esme-dev

Dick Hirsch

unread,
Nov 7, 2008, 7:50:16 AM11/7/08
to esme-dev
It is now working. Under Windows, you need a file named "SYSTEM.props"
and then it works. Capitalization is what is impt.

D.
Reply all
Reply to author
Forward
0 new messages