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
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
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
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
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
Re: Pebble 2.0.1 released
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
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?
Simon is a hands-on software architect who works within 