« Return to Thread: Exception on first run of Continuum on Tomcat 6.0

Re: Exception on first run of Continuum on Tomcat 6.0

by Raffaele :: Rate this Message:

Reply to Author | View in Thread

Thanks but it wasnt' that the problem...

I have resolved reconfiguring Continuum foolowing the less reccomanded configuration from those proposed in the Continuum site, that is, i've added a <context> section inside server.xml, then restarting Tomcat now all seems to work ok.

Best regards,
Raffaele

Olaf Otto wrote:
Hi Raffele!

I believe you are missing a datasource setup in tomcat for continuum.
I have also setup a continuum server with tomcat 6, and here is what i did:

I added the following configurations to the server.xml's <context>
element for continuum for mysql:


<Context path="/continuum" docBase="continuum">
<Resource name="jdbc/users"
            auth="Container"
            type="javax.sql.DataSource"
            username="..."
            password="..."
            driverClassName="com.mysql.jdbc.Driver"
            url="jdbc:mysql://localhost/...?autoReconnect=true" />

  <Resource name="jdbc/continuum"
            auth="Container"
            type="javax.sql.DataSource"
            username="..."
            password="..."
            driverClassName="com.mysql.jdbc.Driver"
            url="jdbc:mysql://localhost/...?autoReconnect=true" />

  <Resource name="mail/Session"
            auth="Container"
            type="javax.mail.Session"
            mail.smtp.host="localhost"/>
</Context>

Note that the mysql jdbc driver library has to reside in tomcat's lib
directory.

BTW the continuum DB user must have the right to create tables etc.

I hope this helps,
Olaf

Raffaele wrote:
> Hi all,
>
> I have simply followed instructions to installa Continuum, last release, on
> Tomcat 6.0, but nevertheless I have some problem for which I'm not able to
> find references in this mailinl list,
>
> please can you help me.
>
> Continuum log in attach.
>
> Best regards
> Raffaele http://www.nabble.com/file/p18466939/continuum.log continuum.log
>  

 « Return to Thread: Exception on first run of Continuum on Tomcat 6.0