New installation - editing problems

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

Parent Message unknown New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just started with Pebble 2.3.1 - looks good so far...
Running a test machine with Windows XP SP2; Java 1.6.0_06; Tomcat 5.5.12
 
A few "teething problems" - when I edit the default blog entry &
then hit "save", the URL that follows:
http://localhost:8080/pebble/saveBlogEntry.secureaction 
give a "page cannot be found" error.

I also get the same error when I try and create a new entry;
and the entry does not show up on the main page.

The links on the right-hand menu e.g. date links and archives
do not work, and the tags I added for the default blog entry
do not result in the post showing up.
 
Further; the "read more" link for the edited entry:
http://localhost:8080/pebble/2008/06/19/1213860315455.html 
also gives a "page cannot be found" error.
 
As far as I know, I have not made any major changes to
the setup (tho' I have fiddled with the theme, chnaged the
password and so on).
 
Any ideas as to what could be the root cause for all this?

Thanks
Derek
 


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Derek,

is there a log entry that you could provide? Preferably annotated with
the page you've requested when.

Also, as you say you have changed the theme, you might want to rollback
your theme changes and try again, then compare your modified theme with
the default theme.

Cheers,
Olaf

Derek Hohls schrieb:
> Just started with Pebble 2.3.1 - looks good so far...
> Running a test machine with Windows XP SP2; Java 1.6.0_06; Tomcat 5.5.12
>  
> A few "teething problems" - when I edit the default blog entry &
> then hit "save", the URL that follows:
> http://localhost:8080/pebble/saveBlogEntry.secureaction 
> give a "page cannot be found" error.
>
[...]

> As far as I know, I have not made any major changes to
> the setup (tho' I have fiddled with the theme, chnaged the
> password and so on).
>  
> Any ideas as to what could be the root cause for all this?
>
> Thanks
> Derek
>  
>
>


--
abstrakt gmbh, henriettenstraße 73, 20259 hamburg
geschäftsführer: olaf kock, amtsgericht hamburg hrb 77188

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf

Thanks for the reply.  There are no error messages in the Tomcat log
relating to the editing issue.  There a warning message relating to it:

2008-06-25 15:14:51,461 [http-8080-Processor25] WARN  
net.sourceforge.pebble.web.action.FourZeroFourAction  -
URL is /2008/06/25/1214399640000.html?
2008-06-25 15:14:51,491 [http-8080-Processor25]  WARN  
net.sourceforge.pebble.web.controller.HttpController  -
An action called templ could not be found

As for rollback.  What I have not been able to do is "undo"
my changes.  I have tried removing the pebble installation
and restarting Tomcat, before redploying the .war, but the
same settings keep showing up.  Where does pebble store
configuration files and the XML files used for the blog posts?

Thanks
Derek


Olaf Kock wrote:
Hi Derek,

is there a log entry that you could provide? Preferably annotated with
the page you've requested when.

Also, as you say you have changed the theme, you might want to rollback
your theme changes and try again, then compare your modified theme with
the default theme.

Cheers,
Olaf

Derek Hohls schrieb:
> Just started with Pebble 2.3.1 - looks good so far...
> Running a test machine with Windows XP SP2; Java 1.6.0_06; Tomcat 5.5.12
>  
> A few "teething problems" - when I edit the default blog entry &
> then hit "save", the URL that follows:
> http://localhost:8080/pebble/saveBlogEntry.secureaction 
> give a "page cannot be found" error.
>
[...]

> As far as I know, I have not made any major changes to
> the setup (tho' I have fiddled with the theme, chnaged the
> password and so on).
>  

Re: New installation - editing problems

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

dhohls schrieb:
> As for rollback.  What I have not been able to do is "undo"
> my changes.  I have tried removing the pebble installation
> and restarting Tomcat, before redploying the .war, but the
> same settings keep showing up.  Where does pebble store
> configuration files and the XML files used for the blog posts?

Hi Derek,

just a short answer for now - by default data is saved in
${user.home}/pebble - e.g. it's depending on the actual user your server
runs as.

I'll come back to the rest later - gotta go now...

Cheers,
Olaf


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf
 
Thanks.  I am currently running on WinXP - how do  I find the
value assigned to ${user.home}?  (and maybe for Linux, too, as
the system will later be housed on a server)
 
Thanks
Derek

>>> On 2008/06/25 at 05:26, in message <486263B5.4000002@...>, Olaf Kock <okock@...> wrote:
dhohls schrieb:
> As for rollback.  What I have not been able to do is "undo"
> my changes.  I have tried removing the pebble installation
> and restarting Tomcat, before redploying the .war, but the
> same settings keep showing up.  Where does pebble store
> configuration files and the XML files used for the blog posts?

Hi Derek,

just a short answer for now - by default data is saved in
${user.home}/pebble - e.g. it's depending on the actual user your server
runs as.



--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by Rob Rye :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Derek,

I have no idea how to look up the ${user.home} property on WinXP.  
However, Pebble should give you this information for free:

1. Login to your blog
2. Go to Configuration/About in the top bar
3. There should be an entry for "Blog Directory" at the 7th line down  
from the top. Everything before pebble/ should be the ${user.home}  
value on your machine (assuming you have not gone in and changed the  
directory location, which I generally do).

Cheers,

Rob
On Jun 26, 2008, at 1:28 AM, Derek Hohls wrote:

> Olaf
>
> Thanks.  I am currently running on WinXP - how do  I find the
> value assigned to ${user.home}?  (and maybe for Linux, too, as
> the system will later be housed on a server)
>
> Thanks
> Derek
>
>>>> On 2008/06/25 at 05:26, in message  
>>>> <486263B5.4000002@...>, Olaf Kock <okock@...>  
>>>> wrote:
> dhohls schrieb:
>> As for rollback.  What I have not been able to do is "undo"
>> my changes.  I have tried removing the pebble installation
>> and restarting Tomcat, before redploying the .war, but the
>> same settings keep showing up.  Where does pebble store
>> configuration files and the XML files used for the blog posts?
>
> Hi Derek,
>
> just a short answer for now - by default data is saved in
> ${user.home}/pebble - e.g. it's depending on the actual user your  
> server
> runs as.
>
>
>
> --
> This message is subject to the CSIR's copyright terms and  
> conditions, e-mail legal notice, and implemented Open Document  
> Format (ODF) standard.
> The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html 
> .
>
> This message has been scanned for viruses and dangerous content by  
> MailScanner,
> and is believed to be clean.  MailScanner thanks Transtec Computers  
> for their support.
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Pebble-user mailing list
> Pebble-user@...
> https://lists.sourceforge.net/lists/listinfo/pebble-user


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Derek,

Rob already provided a way to detect the directory.

Generically: ${user.home} is the users home directory where the "user"
is the one providing the account pebble runs as. On windows, if you
start tomcat in foreground, that's your account and your home directory
is somewhere in "C:/Documents and Settings/YourUserName" or somehow
similar localized directory name (this is the english Windows default name)

If you run tomcat as a Windows Service, the default account is that of
"SYSTEM", having a different home directory. You can change that
account, but as I don't run windows, I can't tell you exactly how.

On Linux it's the users home directory, e.g. if you create a user
"tomcat" you also provide a home directory for that user. If you run it
on your own account, it's your own home directory, e.g. "~" or /home/derek.

Also, you may change this directory in pebble.properties and provide an
unambigous name.

Cheers,
Olaf


Derek Hohls schrieb:
> Thanks.  I am currently running on WinXP - how do  I find the
> value assigned to ${user.home}?  (and maybe for Linux, too, as
> the system will later be housed on a server)
>> just a short answer for now - by default data is saved in
>> ${user.home}/pebble - e.g. it's depending on the actual user your server
>> runs as.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf

OK - I run tomcat as a Windows Service but I could not find
the "SYSTEM" directory you mention; there is a
"c:\Windows\System" directory, but no "Pebble" under that?

I stopped Tomcat, edited the pebble.properties file:
dataDirectory=D:/tomcat/webapps/pebble/data

and restarted Tomcat.  The data directory, with all the various
sub-directories & files is now created.

So now Pebble starts up clean & with the default blog entry.  However,
as soon as I log in, make some changes to that entry, and then try and save
it, I get an error message triggered by this URL:
http://localhost:8080/pebble/saveBlogEntry.secureaction
with a:
"The page cannot be found" message.

The trace from the stdout log in Tomcat goes like this:

2008-06-27 08:40:06,012 [http-8080-Processor24] INFO
 net.sourceforge.pebble.audit.AuditTrail  -
 username : Blog entry "Welcome" (blogEntry/default/1214548698798) changed
2008-06-27 08:40:06,042 [http-8080-Processor24] WARN  
net.sourceforge.pebble.web.action.FourZeroFourAction  -
 URL is /2008/06/27/1214548698798.html?
2008-06-27 08:40:09,307 [http-8080-Processor24] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/pebble].[jsp]  -
Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
        at org.apache.catalina.connector.Response.getWriter(Response.java:599)
        at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
[...]
2008-06-27 08:40:09,307 [http-8080-Processor24] WARN  
net.sourceforge.pebble.web.controller.HttpController  -
An action called templ could not be found

Does this help in tracking what is wrong?

Thanks
Derek

>>> On 2008/06/26 at 09:34, in message <4863EF2C.2020206@...>, Olaf Kock <okock@...> wrote:
Hi Derek,

Rob already provided a way to detect the directory.

Generically: ${user.home} is the users home directory where the "user"
is the one providing the account pebble runs as. On windows, if you
start tomcat in foreground, that's your account and your home directory
is somewhere in "C:/Documents and Settings/YourUserName" or somehow
similar localized directory name (this is the english Windows default name)

If you run tomcat as a Windows Service, the default account is that of
"SYSTEM", having a different home directory. You can change that
account, but as I don't run windows, I can't tell you exactly how.

On Linux it's the users home directory, e.g. if you create a user
"tomcat" you also provide a home directory for that user. If you run it
on your own account, it's your own home directory, e.g. "~" or /home/derek.

Also, you may change this directory in pebble.properties and provide an
unambigous name.

Cheers,
Olaf


Derek Hohls schrieb:
> Thanks.  I am currently running on WinXP - how do  I find the
> value assigned to ${user.home}?  (and maybe for Linux, too, as
> the system will later be housed on a server)
>> just a short answer for now - by default data is saved in
>> ${user.home}/pebble - e.g. it's depending on the actual user your server
>> runs as.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php 
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Derek,

sorry for coming back this late - I couldn't yet reproduce your problem.
 But I have to admit, that I have only a trunk version in my dev
environment and I'm working on linux, so our environments differ...

See my inline comments.

Derek Hohls schrieb:
> Olaf
>
> OK - I run tomcat as a Windows Service but I could not find
> the "SYSTEM" directory you mention; there is a
> "c:\Windows\System" directory, but no "Pebble" under that?

I don't know what directory the system user has ("SYSTEM" is the name of
the account that services run as. It certainly has a home directory, but
I can't name it)

> I stopped Tomcat, edited the pebble.properties file:
> dataDirectory=D:/tomcat/webapps/pebble/data

This is the best alternative: Now we don't need to guess where the home
directory is... Also you know exactly which directory to backup :)

> and restarted Tomcat.  The data directory, with all the various
> sub-directories & files is now created.
>
> So now Pebble starts up clean & with the default blog entry.  However,
> as soon as I log in, make some changes to that entry, and then try and save
> it, I get an error message triggered by this URL:
> http://localhost:8080/pebble/saveBlogEntry.secureaction
> with a:
> "The page cannot be found" message.
>
> The trace from the stdout log in Tomcat goes like this:
>
> 2008-06-27 08:40:06,012 [http-8080-Processor24] INFO
>  net.sourceforge.pebble.audit.AuditTrail  -
>  username : Blog entry "Welcome" (blogEntry/default/1214548698798) changed
> 2008-06-27 08:40:06,042 [http-8080-Processor24] WARN  
> net.sourceforge.pebble.web.action.FourZeroFourAction  -
>  URL is /2008/06/27/1214548698798.html?
> 2008-06-27 08:40:09,307 [http-8080-Processor24] ERROR
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/pebble].[jsp]  -
> Servlet.service() for servlet jsp threw exception
> java.lang.IllegalStateException: getOutputStream() has already been called for this response
> at org.apache.catalina.connector.Response.getWriter(Response.java:599)
> at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
> [...]
> 2008-06-27 08:40:09,307 [http-8080-Processor24] WARN  
> net.sourceforge.pebble.web.controller.HttpController  -
> An action called templ could not be found
>
> Does this help in tracking what is wrong?

almost. You seem to have shortened the stack trace a bit too much.
Please post some more lines after java.lang.IllegalStateException.

I believe I'd better get hold of the current 2.3 branch and try to see
if I can reproduce your problems there...

Cheers,
Olaf

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf

Thanks for the response.  As you say, it may be related to version
I am using.  Here is the full stack trace.

java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:599)
at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)
at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:288)
at java.io.PrintWriter.write(Unknown Source)
at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:183)
at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
at org.apache.jsp.WEB_002dINF.jsp._404_jsp._jspService(_404_jsp.java:90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at org.apache.jsp.tag.web.content_tag.doTag(content_tag.java:42)
at org.apache.jsp.themes.default_.template_jsp._jspx_meth_template_content_0(template_jsp.java:267)
at org.apache.jsp.themes.default_.template_jsp.access$12(template_jsp.java:259)
at org.apache.jsp.themes.default_.template_jsp$template_jspHelper.invoke0(template_jsp.java:459)
at org.apache.jsp.themes.default_.template_jsp$template_jspHelper.invoke(template_jsp.java:497)
at org.apache.jsp.tag.web.page_tag.doTag(page_tag.java:192)
at org.apache.jsp.themes.default_.template_jsp._jspx_meth_template_page_0(template_jsp.java:111)
at org.apache.jsp.themes.default_.template_jsp._jspService(template_jsp.java:89)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at net.sourceforge.pebble.web.view.HtmlView.dispatch(HtmlView.java:122)
at net.sourceforge.pebble.web.controller.HttpController.processRequest(HttpController.java:131)
at net.sourceforge.pebble.web.controller.HttpController.doGet(HttpController.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)

>>> On 2008/06/28 at 10:52, in message <4866A48A.2050203@...>, Olaf Kock <okock@...> wrote:
Hi Derek,

sorry for coming back this late - I couldn't yet reproduce your problem.
But I have to admit, that I have only a trunk version in my dev
environment and I'm working on linux, so our environments differ...

See my inline comments.

Derek Hohls schrieb:
> Olaf
>
> OK - I run tomcat as a Windows Service but I could not find
> the "SYSTEM" directory you mention; there is a
> "c:\Windows\System" directory, but no "Pebble" under that?

I don't know what directory the system user has ("SYSTEM" is the name of
the account that services run as. It certainly has a home directory, but
I can't name it)

> I stopped Tomcat, edited the pebble.properties file:
> dataDirectory=D:/tomcat/webapps/pebble/data

This is the best alternative: Now we don't need to guess where the home
directory is... Also you know exactly which directory to backup :)

> and restarted Tomcat.  The data directory, with all the various
> sub-directories & files is now created.
>
> So now Pebble starts up clean & with the default blog entry.  However,
> as soon as I log in, make some changes to that entry, and then try and save
> it, I get an error message triggered by this URL:
> http://localhost:8080/pebble/saveBlogEntry.secureaction 
> with a:
> "The page cannot be found" message.
>
> The trace from the stdout log in Tomcat goes like this:
>
> 2008-06-27 08:40:06,012 [http-8080-Processor24] INFO
>  net.sourceforge.pebble.audit.AuditTrail  -
>  username : Blog entry "Welcome" (blogEntry/default/1214548698798) changed
> 2008-06-27 08:40:06,042 [http-8080-Processor24] WARN  
> net.sourceforge.pebble.web.action.FourZeroFourAction  -
>  URL is /2008/06/27/1214548698798.html?
> 2008-06-27 08:40:09,307 [http-8080-Processor24] ERROR
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/pebble].[jsp]  -
> Servlet.service() for servlet jsp threw exception
> java.lang.IllegalStateException: getOutputStream() has already been called for this response
> at org.apache.catalina.connector.Response.getWriter(Response.java:599)
> at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
> [...]
> 2008-06-27 08:40:09,307 [http-8080-Processor24] WARN  
> net.sourceforge.pebble.web.controller.HttpController  -
> An action called templ could not be found
>
> Does this help in tracking what is wrong?

almost. You seem to have shortened the stack trace a bit too much.
Please post some more lines after java.lang.IllegalStateException.

I believe I'd better get hold of the current 2.3 branch and try to see
if I can reproduce your problems there...

Cheers,
Olaf

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php 
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf

Any chance to look at this yet - very frustrating not being
able to get what seems to be a "copy and use" app working.

Thanks
Derek

Olaf Kock wrote:
Hi Derek,

[...]

I believe I'd better get hold of the current 2.3 branch and try to see
if I can reproduce your problems there...

Cheers,
Olaf

Re: New installation - editing problems

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

dhohls schrieb:
> Olaf
>
> Any chance to look at this yet - very frustrating not being
> able to get what seems to be a "copy and use" app working.

well, I've now had a look at it in the 2.3 branch but still couldn't
reproduce your exact problem.

However, there is one problem if the mail classes are not found or Mail
data is not configured, which I've patched in the 2.3 branch (already
did so earlier in the current trunk). This could help, although I've not
reproduced your exact error message (but another)...

Also, in SaveBlogEntryAction I've added a line to report an error to the
user, but I believe that this does not add to the solution for your
particular problem.

Do you know how to build pebble from source (the 2.3 branch)? If not
tell me if I should build and send the war file. (Simon: Please have a
look at revision 417 in the 2.3 branch and decide if this is worth a
2.3.2 version)

Last resort that I can think of: Zip your pebble data directory (e.g.
${user.home}/pebble/) and send it to me via private mail. Please change
your login data (e.g. the password) to a value that you don't use in
production and tell me the current credentials to log in (or leave the
realm directory and I'll use my own...)

Question for others reading: Does anybody have similar problems with
their 2.3 installation on Windows XP? I am working on Linux and couldn't
reproduce Windows-specific problems.

Cheers,
Olaf

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf

I am not sure how to build from source (but am willing to learn).
In the meantime, if you can send the .war file, I can try that out.

Derek

>>> On 2008/07/06 at 08:08, in message <48710A1B.7050304@...>,
Olaf Kock <okock@...> wrote:dhohls schrieb:
> Olaf
>
> Any chance to look at this yet - very frustrating not being
> able to get what seems to be a "copy and use" app working.

well, I've now had a look at it in the 2.3 branch but still couldn't
reproduce your exact problem.

However, there is one problem if the mail classes are not found or Mail
data is not configured, which I've patched in the 2.3 branch (already
did so earlier in the current trunk). This could help, although I've not
reproduced your exact error message (but another)...

Also, in SaveBlogEntryAction I've added a line to report an error to the
user, but I believe that this does not add to the solution for your
particular problem.

Do you know how to build pebble from source (the 2.3 branch)? If not
tell me if I should build and send the war file. (Simon: Please have a
look at revision 417 in the 2.3 branch and decide if this is worth a
2.3.2 version)

Last resort that I can think of: Zip your pebble data directory (e.g.
${user.home}/pebble/) and send it to me via private mail. Please change
your login data (e.g. the password) to a value that you don't use in
production and tell me the current credentials to log in (or leave the
realm directory and I'll use my own...)

Question for others reading: Does anybody have similar problems with
their 2.3 installation on Windows XP? I am working on Linux and couldn't
reproduce Windows-specific problems.

Cheers,
Olaf




--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Derek Hohls schrieb:
> Olaf
>
> I am not sure how to build from source (but am willing to learn).
> In the meantime, if you can send the .war file, I can try that out.


In short: Install a subversion client and check out the current version
(either from the 2.3 branch or from trunk). You'll also need java (jdk)
and Ant. Pebble comes with a complete Ant Build script, so basically you
only need to get into the pebble directory (the one where build.xml
resides) and execute "ant dist" - this will do it all for you.

If you want an IDE to have a look at the code, IntelliJ Idea seems to be
the one that Simon uses, I'm using Eclipse. The current trunk (not the
2.3 branch though) comes ready to use with eclipse.

I've built the files and will get them to you shortly - I'm writing this
mail offline, so I can't upload the file currently.

Try http://www.olafkock.de/download/pebble-2.3.1-patched.zip which
should be 25729922 bytes long and have this MD5 checksum:

9e3c34c8fa91f54fa3c5c8af37d0656c  pebble-2.3.1-patched.zip

If anything differs, you've probably downloaded while I've uploaded :)

I hope this helps...

Cheers,
Olaf


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: New installation - editing problems

by dhohls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf
 
The patched version will not start under Tomcat.  The following is the error message:
 
2008-07-10 14:15:46,335 [Thread-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/pebble]  - Error configuring application listener of class net.sourceforge.pebble.aggregator.NewsFeedContextListener
java.lang.UnsupportedClassVersionError: Bad version number in .class file
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Weba