AnsweredAssumed Answered

Running SimpleExample.java and MixedExample.java

Question asked by elangenbach on Nov 17, 2005
Latest reply on Nov 17, 2005 by davidc
I am using the 11-11-2005 nightly build and have found that in order to run SimpleExample and MixedExample, I had to make the following changes:

1. Change the user used for login:
Session session = repository.login(new SimpleCredentials("superuser", "".toCharArray()));
becomes
Session session = repository.login(new SimpleCredentials("admin", "admin".toCharArray()));

2. Change the name of the "Company Home" node:
Node companyHome = root.getNode("app:Company_Home");
becomes
Node companyHome = root.getNode("app:company_home");


Are these bugs in the examples or am I missing something?

Thanks,

Erik

Outcomes