Pebble 2.0.1 released

I've just uploaded Pebble 2.0.1 to the SourceForge servers. It's a minor release, fixing a bug that stops the default user credentials from being created when you start Pebble for the first time. If you're already running Pebble 2.0.0 successfully, there's no need to upgrade. You can grab the 2.0.1 release from here. Any problems, let me know.



Re: Pebble 2.0.1 released

Hi, Simon. Nice to know your blog. I need your help to fix my pebble problem.

I have put the website in one folder not in tomcat default WebApps, but I found when I upload the images I can not visit the images later. What's the problem? I am looking foward to your answer. Thanks a lot.

Re: Pebble 2.0.1 released

I have just installed pebble on an apache 5.5.7 + Java 1.6.0 setup, and Everything works great except the most important thing, after entering a post , and clicking preview it work but then going from post -> save or preview -> save, i get a message:

Error
Sorry, there has been a problem with your request.
Read more...

The read more link simply displays the information about the post. What can i do to resolve this? Thanks.

Re: Pebble 2.0.1 released

I've done some testing with a Tomcat 5.5.x/Java 6 installation and Pebble seems to work okay for me. Drop the pebble-users mailing list an e-mail and we'll try to help you out further.

Re: Pebble 2.0.1 released

Hi, I solved the problem.

You need to download xalan-j from apache group http://xalan.apache.org/, then put the lib files in your tomcat C:\tomcat\common\endorsed.

The reason why we need to do this is probably Pebble 2.0.1 use Fkeditor with some XML tech.

Re: Pebble 2.0.1 released

Thank you very much for sharing this information. I had the same problem and was trying in vain to solve it for quite some time. This is not documented anywhere else. Thank you once again.

Re: Pebble 2.0.1 released

I had upgraded pebble to apache 5.5 and java 1.5. Fixed xalan problem. setup multi-blog. But after I tar the data directory across, I could not see the data, please advise. Here is what I did:

on my old data directory:

stop tomcat

tar cvf DATA 2006 2007 categories.xml index logs

scp across to the new data directory

remove theme entry from blog.properties

delete theme subdir

restart tomcat

drwxr-xr-x    7 root     root         4096 Nov 30 12:00 2006
drwxr-xr-x    5 root     root         4096 Mar 13 11:14 2007
-rw-r--r--    1 root     root         1373 Mar 21 08:19 blog.properties
-rw-r--r--    1 root     root          351 Sep 19  2006 categories.xml
drwxr-xr-x    2 root     root         4096 Sep 19  2006 drafts
drwxr-xr-x    2 root     root         4096 Sep 19  2006 files
drwxr-xr-x    2 root     root         4096 Apr 20  2006 images
drwxr-xr-x    2 root     root         4096 Mar 27 08:05 index
drwxr-xr-x    2 root     root         8192 Mar 27 02:22 logs
drwxr-xr-x    2 root     root         4096 Apr 27  2006 pages
-rw-r--r--    1 root     root          244 Mar 26 07:16 plugin.properties
drwxr-xr-x    2 root     root         4096 Mar 22 08:02 theme

But I find out that there is a new indexes folders.......

 

 

Alex

Re: Pebble 2.0.1 released

How to move the old data from 1.9 to 2.0.1? cause I try to tar the multi-blog data directory across, delete theme from blog.properties, delete theme sub directory  and restart tomcat. Old data still didn't show, Please advise??

Re: Pebble 2.0.1 released

Hi Simon,

thanks for the great work on the new release. I really like it and upgrading from 1.9 was just easy. Just one hint on the documentation: "activation.jar and mail.jar  files from the lib directory of the Pebble distribution into $TOMCAT_HOME/common/lib/."

These libraries are Missing in the actual download. Please integrate it if possible - for the rest of the readers: Grab it from Sun (activation.jar)  and Sun (mail.jar) .

Thanks for all the work,
Marco

Re: Pebble 2.0.1 released

Hi Marco - thanks for the comment. Regarding the JAR files, both of them are in the lib directory of the distribution (i.e. the pebble-2.0.1.zip file rather than the pebble.war file).

Re: Pebble 2.0.1 released

Sorry my mistake - tried to find it directly in the webapps lib directory ignoring the rest of the zip file :)

Re: Pebble 2.0.1 released

No worries. :-)

Re: Pebble 2.0.1 released

I was not able to install 2.0.1 from scratch in a Linux + Resin(3.0.18) + Pebble(2.0.1) environment.  I left a rather lengthy (and hopefuly thorough) email in the forum.  Essentially I am receiving the "too many servlet includes" problem.  I turned fast-jstl to false but that didn't help.  I am not sure what to try at this point.

Re: Pebble 2.0.1 released

FWIW - I was able to install Pebble 1.9 with the same Resin setup with no troubles at all.

Re: Pebble 2.0.1 released

Hi Aaron,

I had the same problem as you; it looks like it's a problem with the syntax in some of the jsp files. I guess resin doesn't like EL expressions inside <fmt:param> blocks.

Before you go drilling down into the code below, please note that I changed the href's into hreff's, because FCKEditor is mangling them into actual links.

Find your expanded pebble webapp directory and drill down to /themes/default/jsp and open template.jsp. Check out the footer:

<div id="footer">
<fmt:message key="common.poweredBy">
<fmt:param>
<a hreff="http://pebble.sourceforge.net">Pebble ${pebbleContext.buildVersion}
</fmt:param>
</fmt:message> </div>

Rewrite it so that the parameter value is expressed as a value attribute instead of enclosed tag text:

<div id="footer">
<fmt:message key="common.poweredBy">
<fmt:param value="<a hreff="http://pebble.sourceforge.net">Pebble ${pebbleContext.buildVersion}">
</fmt:param> </fmt:message></div>

That's the one that's causing your immediate problem. There is a similar <fmt:param> tag in blogEntry.jsp that dorks up the formatting of the blog entry editing screen; you'll just need to stick it in an attribute just like in the above example.

I hope that helps!

Re: Pebble 2.0.1 released

Hi, I tried to reach you by email but you never replied, I guess my messages were filtered out by a spam software. Anyway.

I just want to let you know that I've completed a small project. Livejournal -> Pebble migration. It reads blog entries and comments (sic!) from Livejournal.com and posts them to Pebble.
Code consists from two pieces,
1) ljapi library
http://sourceforge.net/projects/ljapi
2) a small class which does exporting/importing

I think that other people those willing to move from Livejournal to Pebble might be interested as well.

I'm going to publish part#2 at sourceforge along with ljapi but it would be nice if you put a reference somewhere in the pebble code.
somewhere like net.sourceforge.pebble.util.importer.....

Re: Pebble 2.0.1 released

Hi,-

here comes a question from a novice to blogging tools: How is the web.xml file to be configured when deploying Pebble 2 under Resin 3.0.21? I have taken the pebble.war from the zip pebble-2.0.0-RC2 and dropped it under resin-3.0.21/webapps. The URL http://localhost:8080/pebble gives me the following:
<h1>500 Servlet Exception</h1> <code></code>
WEB-INF/web.xml:9: <description> is an unexpected tag (parent <web-app>
starts at 6). Check for duplicate and out-of-order tags.
<web-app> syntax: (@id?, @version, @xsi:schemaLocation?,
(<context-param>*
& (<description>*, <display-name>?, <icon>?)
& <distributable>?
& (<env-entry>*, <ejb-ref>*, <ejb-local-ref>*, <service-ref>*, <resource-ref>*, <resource-env-ref>*, <message-destination-ref>*)
& <error-page>*
& <filter>*
& <filter-mapping>*
& <jsp-config>?
& <listener>*
& <locale-encoding-mapping-list>?
& <login-config>?
& <message-destination>*
& <mime-mapping>*
& <security-constraint>*
& <security-role>*
& <servlet>*
& <servlet-mapping>*
& <session-config>?
& <welcome-file-list>?))


Many thanks beforehand,
Vahagn
 

Re: Pebble 2.0.1 released

I'm probably missing something very very basic here but I realy can't get Pebble to allow me to log in.

There were no problems deploying it on the Tomcat (5.5.16) server, but the problem starts when I want to login or read the documentation.

There is a default user but the pasword is encrypted and I can't find a reference to what it is?

Can you help?

 

 

Re: Pebble 2.0.1 released

The default username/password combination is username and password.

Knit Climb Java v2

I bit the bullet last night and upgraded my website to run a non-antiquated application server (previously Tomcat 4.1.27), and the latest version of Pebble (now running 2.0.1). I'm really happy with all the new Pebble features. Congrats to Simon on a great release.

Add a comment Send a TrackBack