Hi Ingo,
I got exactly the same problem last week. Take a look at the message
from Jan 11 ( you just need to create a new table in the database, I did
it with the DataBase Manager for HypersoniSQL that it is the database
that is running under Jetspeed-Turbine).
Grettings,
Carlos.
-------------------------
----------------------------------------------------------------------------
----------
Here's an ex. of Jetspeed and an email server working (not James, but it
shouldnt matter)
http://www.bluesunrise.com:8080/nile
Go ahead and create a new account, but don't count on your account being
there for much more than a week or so.
The email should arrive soon after, and then just click on the link to
complete your confirmation.
You should be able to customize too...
To get it working on your machine, you will need to add these entries to
your TurbineResources.properties :
mail.server=localhost
[EMAIL PROTECTED] <=== replace
with
an account on your mailserver
confirm.email.name=BlueSunrise Postmaster
confirm.email.subject=Jetspeed Registration
and in your database:
INSERT INTO TURBINE_ROLE (ROLE_ID, ROLE_NAME) VALUES (1,
'authenticated_user');
Right now it only works with a mailserver on your localhost.
There seems to be a problem with the mail api with servlets, and using
another host besides the localhost.
I cant seem to figure it out. In a sample cmdline program, I can set the
mail.server to another server.
It only seems to be a problem with servlets.
----------------------------------------------------------------------------
--------------
Ingo Rammer wrote:
>
> Hi,
>
> I think I got two this time...
>
> #1
> =================
> The JetspeedResources.properties misses the following entries
>
> [EMAIL PROTECTED]
> confirm.email.name=Jetspeed
> confirm.email.subject=Jetspeed registration
>
> which results in a null-pointer exception when jetspeed's trying to send a
> confirmation-email.
>
> #2
> =================
> After entering the confirmation key, that's sent by email. I get a error (in
> the web-browser) that's
>
> --------------------- BEGIN ERROR MESSAGE --------------
> There has been an Error!
>
> Reason:
> java.lang.Exception: The role authenticated_user does not exist in
> database.
>
>
> Get/Post Data:
> screen = Home
> submit2 = Confirm Registration
> template = Error
> secretkey = xil7l4ko71
> action = JLoginUser
> nextscreen = Home
> username = rammeri
>
> Stacktrace:
>
> java.lang.Exception: The role authenticated_user does not exist in
> database.
> at
> org.apache.jetspeed.modules.actions.JLoginUser.doPerform(JLoginUser.java:178
> )
> at org.apache.turbine.modules.Action.perform(Action.java:91)
> at
> org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:121)
> at org.apache.turbine.Turbine.doGet(Turbine.java:353)
> at org.apache.turbine.Turbine.doPost(Turbine.java:478)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:210)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>
> --------------------- END ERROR MESSAGE --------------
>
> The tomcat-output says
> Error=Turbine.handleException: The role authenticated_user does not exist in
> database.
>
> The jetspeed.log doesn't tell a lot more ...
>
> Bye,
> Ingo
>
> ps. hope you aren't getting annoyed by my bug-postings ;))
> ps2. is there an official bug-tracking engine/page?
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]