-
1. Re: Exception: Cannot get content
roy.russo Feb 27, 2006 5:38 PM (in response to sitongia)What language did you assign to the file when you created it?
The /en is saying that its looking for the file content under the english language. -
2. Re: Exception: Cannot get content
sitongia Feb 27, 2006 5:56 PM (in response to sitongia)Hi,
Thanks for your rapid reply.
The language is English, in the form to create the page. I'm using the same server/portal/browser when I create and when I view this. -
3. Re: Exception: Cannot get content
roy.russo Feb 27, 2006 6:00 PM (in response to sitongia)What version of PostGres and what driver?
RC2 should work with pgres 9. -
4. Re: Exception: Cannot get content
sitongia Feb 27, 2006 6:01 PM (in response to sitongia)postgresql-8.0-311.jdbc3.jar
-
5. Re: Exception: Cannot get content
roy.russo Feb 27, 2006 6:02 PM (in response to sitongia)Sorry, I meant PostGres 8.1. I am using postgresql-8.1-404.jdbc3.jar and have no problems at all.
-
6. Re: Exception: Cannot get content
sitongia Feb 27, 2006 6:49 PM (in response to sitongia)I am running 8.1 for the server, but was using an 8.0 driver. I've switched the portal to the driver
postgresql-8.1-405.jdbc3.jar
I get the same error.
ERROR [org.jboss.portal.cms.impl.jcr.ContentGetCommand] Cannot get content
javax.jcr.PathNotFoundException: /Pilates/index.html/en
Is there something wrong with my browser, or on my web server? -
7. Re: Exception: Cannot get content
roy.russo Feb 27, 2006 7:01 PM (in response to sitongia)Try creating new content now. Chances are the original file was not inserted properly in the DB, so trying to retrieve it will never work.
-
8. Re: Exception: Cannot get content
sitongia Feb 27, 2006 10:33 PM (in response to sitongia)You're right, Roy. Thanks. Looks like new content is created okay now.
==Leonard -
9. Re: Exception: Cannot get content
sitongia Feb 27, 2006 11:18 PM (in response to sitongia)Ah, well, the problem has come back.
When I create a new HTML file in /default, and then list the /default directory, I get the same exception as before, for the file I just created.
And, when I edit the file /default/index.html, which it shows to be text/html, the CMSAdmin portlet goes blank, and I get
21:15:05,956 ERROR [ContentGetCommand] Cannot get content
javax.jcr.PathNotFoundException: /default/index.html/ar
I don't know why the /ar locale would come up. Maybe my PostgresQL database is hosed?
==Leonard -
10. Re: Exception: Cannot get content
sitongia Feb 27, 2006 11:48 PM (in response to sitongia)I dropped the entire database, and created it anew.
Now I can edit the /default/index.html, but I cannot create any files. I get a bunch of exception output (to STDOUT, and I can't scroll back far enough to see what it is) and the CMSAdmin portlet goes blank (well, it disappears from the page). I have to log out and back in to get the portlet back. -
11. Re: Exception: Cannot get content
sitongia Mar 1, 2006 10:11 AM (in response to sitongia)I'm trying the latest in CVS (2.4), and still cannot edit HTML files I create. I wonder if something is going on with the locale. This time, I logged in as admin and set my language before doing anything else. Still have trouble.
In general, when I'm trying out the latest, would you like me to report problems here, or in the Design forum, or in Jira?
Thanks for your great work! -
12. Re: Exception: Cannot get content
sitongia Mar 1, 2006 10:21 AM (in response to sitongia)Here are a couple of errors I get about this:
08:15:15,673 ERROR [LocaleUtils] Locale name null or empty, ignoring
(from a different try, earlier:)
08:01:34,161 ERROR [ContentGetCommand] Cannot get content
javax.jcr.PathNotFoundException: /default/mine.html/en -
13. Re: Exception: Cannot get content
sitongia Mar 1, 2006 10:27 AM (in response to sitongia)BTW, I'm getting lots of database errors about tables not found and such, for the first time. I did create a fresh database this time.