JIRA opened for tables creation on server startup
https://issues.apache.org/jira/browse/JAMES-1142

Tks,
Eric


On 29/11/2010 10:07, Norman Maurer wrote:
Btw, I wonder if this is configurable so openjpa would create tables
on startup. So we would fail on bad username/password asap.

Bye,
Norman


2010/11/29 Eric Charles<e...@apache.org>:
Hi Eric,

Yes, openjpa does not create the tables if you don't request database access
(read/write).
Simply create a domain or a user to get the tables created. You can still
use the telnet way if you are not sure about the JMX parameters

For the JMX parameters, could you please open a JIRA so we can look if it is
possible to give a better explanation for JMX clients.

For example, the add user screen you mention needs the
username/password/repositoryName params (the repositoryName should have
"LocalUsers" as value).
You can discover the params from code
https://svn.apache.org/repos/asf/james/server/trunk/user-api/src/main/java/org/apache/james/user/api/UserManagementMBean.java
and "LocalUsers" value is defined in usersrepository.xml
...but there's no way to know it from the JMX clients.

Tks,

Eric


On 29/11/2010 09:35, Norman Maurer wrote:
When you add/get  first users/mail/etc..

Bye,
Norman

2010/11/29 Eric MacAdie<e...@macadie.net>:
What do you mean by "first access"?

Regards,
Eric MacAdie
President, Chicago Java Users Group
http://blog.cjug.org



On 11/29/2010 2:28 AM, Norman Maurer wrote:
Hi Eric,

I'm not 100 % sure. But I think openjpa will only create the tables on
first access.

Bye,
Norman


2010/11/29 Eric MacAdie<e...@macadie.net>:
I tried M2 on my desktop. I thought I read through all the steps, but I
still have a few questions.

I created a database, but James did not create tables. I assumed that
it
would since a new James 2 server would. I put the database info in
conf/database.properties. I also edited the database.properties file
and
put
in an invalid password, and James 3 just kept right on going. I did not
see
any issues in the log/james-server.log file. (I did put the mysql JAR
folder
in the conf/lib directory.) Is there something else I need to do in
order
to
get James 3 to use a database?

Also: I was able to connect to James via jconsole. But I was not clear
on
what to do after that. For example, I saw a screen for adding a user.
But
the parameters on the form/screen are "p1", "p2" and "p3". I assume
having
worked with James 2 that they would be username, encrypted password,
and
encryption algorithm, but it would be nice if jconsole was clearer on
this.

Regards,
Eric MacAdie
President, Chicago Java Users Group
http://blog.cjug.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to