Difficulty deploying for some reason.

View: New views
3 Messages — Rating Filter:   Alert me  

Difficulty deploying for some reason.

by Jeff-349 :: Rate this Message:

| View Threaded | Show Only this Message

Hi, after looking over the web for a reasonably simple blog application written in Java, I came across Pebble.  It looks great, except I have one problem - and since I've read and search the list archives, it's probably something I am doing, but I'll ask here anyway...

I can't seem to get it to deploy to my server.  I'm running Tomcat 6, and have attempted using the manager application to deploy, and also simply copying the .war file into the webapps directory and restarting Tomcat - all to no avail.

Based on the catalina.out log file, it appears that there is supposed to be a directory WEB-INF/realm that doesn't get created that is also supposed to contain a username.properties file, that also isn't created.  Is this supposed to be in the .war file or am I supposed to create it. If I am to create it, what format is it? what are the keys in the key/value pairs?

Thanks,




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: Difficulty deploying for some reason.

by James Roper-6 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Jeff,

In the war file, there's a file called WEB-INF/pebble.properties.
This has a property, dataDirectory, that needs to point to a place
that Pebble can store all its data in.  By default, Pebble uses the
home directory of the user that is running Tomcat, but this often
isn't the place you want, and is often not writable by Tomcat.  For
more information on configuring your Pebble installation, please read
http://pebble.sourceforge.net/configuration.html.

If once you've updated that, it still doesn't work, reply with the
exception stack trace you are getting in the logs.

Cheers,

James

On 28 April 2011 02:50, Jeff <jhasz@...> wrote:

> Hi, after looking over the web for a reasonably simple blog application
> written in Java, I came across Pebble.  It looks great, except I have one
> problem - and since I've read and search the list archives, it's probably
> something I am doing, but I'll ask here anyway...
>
> I can't seem to get it to deploy to my server.  I'm running Tomcat 6, and
> have attempted using the manager application to deploy, and also simply
> copying the .war file into the webapps directory and restarting Tomcat - all
> to no avail.
>
> Based on the catalina.out log file, it appears that there is supposed to be
> a directory WEB-INF/realm that doesn't get created that is also supposed to
> contain a username.properties file, that also isn't created.  Is this
> supposed to be in the .war file or am I supposed to create it. If I am to
> create it, what format is it? what are the keys in the key/value pairs?
>
> Thanks,
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Pebble-user mailing list
> Pebble-user@...
> https://lists.sourceforge.net/lists/listinfo/pebble-user
>
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Parent Message unknown Re: Difficulty deploying for some reason.

by Jeff-349 :: Rate this Message:

| View Threaded | Show Only this Message

Yep, that was it.

It took a couple tries to actually get it to work, and then it didn't actually create the user.properties file (I think it was because I created the realm directory - once I removed that it did everything just fine)

Thanks... now I'm off to find some themes to play with and see which one I like best.

Jeff

>---- Original Message ----
>From: James Roper <james@...>
>To: "Mailing list for Pebble weblog users" <pebble-user@...>
>Sent: Wed, Apr 27, 2011, 14:45 PM
>Subject: Re: [pebble-user] Difficulty deploying for some reason.
>
>Hi Jeff,
>
>In the war file, there's a file called WEB-INF/pebble.properties.
>This has a property, dataDirectory, that needs to point to a place
>that Pebble can store all its data in.  By default, Pebble uses the
>home directory of the user that is running Tomcat, but this often
>isn't the place you want, and is often not writable by Tomcat.  For
>more information on configuring your Pebble installation, please read
>http://pebble.sourceforge.net/configuration.html.
>
>If once you've updated that, it still doesn't work, reply with the
>exception stack trace you are getting in the logs.
>
>Cheers,
>
>James
>
>On 28 April 2011 02:50, Jeff <jhasz@...> wrote:
>> Hi, after looking over the web for a reasonably simple blog application
>> written in Java, I came across Pebble.  It looks great, except I have one
>> problem - and since I've read and search the list archives, it's probably
>> something I am doing, but I'll ask here anyway...
>>
>> I can't seem to get it to deploy to my server.  I'm running Tomcat 6, and
>> have attempted using the manager application to deploy, and also simply
>> copying the .war file into the webapps directory and restarting Tomcat - all
>> to no avail.
>>
>> Based on the catalina.out log file, it appears that there is supposed to be
>> a directory WEB-INF/realm that doesn't get created that is also supposed to
>> contain a username.properties file, that also isn't created.  Is this
>> supposed to be in the .war file or am I supposed to create it. If I am to
>> create it, what format is it? what are the keys in the key/value pairs?
>>
>> Thanks,
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Pebble-user mailing list
>> Pebble-user@...
>> https://lists.sourceforge.net/lists/listinfo/pebble-user
>>
>>
>
>------------------------------------------------------------------------------
>WhatsUp Gold - Download Free Network Management Software
>The most intuitive, comprehensive, and cost-effective network
>management toolset available today.  Delivers lowest initial
>acquisition cost and overall TCO of any competing solution.
>http://p.sf.net/sfu/whatsupgold-sd
>_______________________________________________
>Pebble-user mailing list
>Pebble-user@...
>https://lists.sourceforge.net/lists/listinfo/pebble-user


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user