I've found that it's often easier to put a roller.xml in
$CATALINA_HOME/conf/Catalina/localhost.  Point it at your build/roller
directory and everything should work.  If it doesn't, check
$CATALINA_HOME/logs/roller.log.

<Context path="" docBase="c:/source/roller_2.2/build/roller"
debug="99" reloadable="false"
   antiJARLocking="true" antiResourceLocking="false" allowLinking="true">

   <Resource name="jdbc/rollerdb" auth="Container" type="javax.sql.DataSource"
             maxActive="20" maxIdle="10" maxWait="100"
             driverClassName="com.mysql.jdbc.Driver"
             username="root" password=""
             url="jdbc:mysql://localhost/roller"/>

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

Hope this helps,

Matt

On 5/9/06, AJ Chen <[EMAIL PROTECTED]> wrote:
Matt, thanks.  This simple step works.

 Now, I have another problem when following the installation guide (for
2.3-incubating) to install roller.  I copied the roller directory from build
directory to {tomcat}\webapps.  Created context configuration file named
roller.xml and placed it in the Tomcat conf/Catalina/localhost directory.
Started tomcat 5.5 on windows XP, but  Tomcat failed to start roller. Here
is the error message:

 INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/roller]
 May 9, 2006 1:00:14 AM
org.apache.catalina.core.StandardContext start
 SEVERE: Error listenerStart

 I checked that there was web.xml in roller\WEB-INF. Any idea what might
cause the problem?

 Best,
 AJ


On 5/7/06, Matt Raible <[EMAIL PROTECTED]> wrote:
> In my experience, Roller is pretty easy to build.  Just checkout from
> Subversion and run "ant all".
>
> Matt
>
> On 5/7/06, AJ Chen <[EMAIL PROTECTED]> wrote:
> > I'm having hard time to get started with roller development.  I had
tried it
> > two months ago and again yesterday. Following the online document, build
> > always failed for both release 2.1 and source code from subversion.
I'll
> > appreciate it if someone can point the right direction for me. I'd like
to
> > get the latest stable source code from release or subversion and
> > instructions that really work.
> >
> > Thanks,
> > AJ
> >
> >
>


Reply via email to