Re: 2 issiues
"rpu43" <[email protected]> Sun, 06 Feb 2005 11:14:24 -0000
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Message-ID | <[email protected]> |
Joe,
Did what you said and gave Pixory its own logging file.
I restarted Tomcat and did not even look at Pixory in the browser.
Just starting Tomcat gave the following errors below. It complains
about root elements and not able to lock the album. The 2 folders it
names are the ones giving problems.
BTW this is with Pixory 0.5.3 without codemeddling from me.
Ronald
12:14:20,250 WARN
(PXJob-PXApplicationThumbnailer-thumbnailInBackground)
[pxmodel.PXAlbumManager lockAlbumContentAtPath] -
org.pixory.pxmodel.PXAlbumException: org.xml.sax.SAXException: Parsing
Error : Document root element is missing.
Line : 1
Column : -1
{file: [not available]; line: [not available]; column: [not available]}
at
org.pixory.pxmodel.PXAlbumContent.albumFromMetaFile(PXAlbumContent.java:392)
at
org.pixory.pxmodel.PXAlbumContent.albumAtPath(PXAlbumContent.java:205)
at
org.pixory.pxmodel.PXAlbumManager.lockAlbumContentAtPath(PXAlbumManager.java:517)
at
org.pixory.pxmodel.PXAlbumManager.invokeOnAlbumsAtPath(PXAlbumManager.java:172)
at
org.pixory.pxmodel.PXAlbumManager.invokeOnAlbumsAtPath(PXAlbumManager.java:218)
at
org.pixory.pxapplication.classes.PXApplicationThumbnailer.thumbnailInBackground(PXApplicationThumbnailer.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.pixory.pxfoundation.PXObjectUtility.invokeTargetMethod(PXObjectUtility.java:162)
at
org.pixory.pxfoundation.PXInvocation.invoke(PXInvocation.java:89)
at org.pixory.pxfoundation.PXJob$JobRunner.run(PXJob.java:401)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.xml.sax.SAXException: Parsing Error : Document root
element is missing.
Line : 1
Column : -1
{file: [not available]; line: [not available]; column: [not available]}
at
org.pixory.pxmodel.PXUnmarshaller.unmarshal(PXUnmarshaller.java:95)
at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:487)
at
org.pixory.pxmodel.PXAlbumContent.albumFromMetaFile(PXAlbumContent.java:388)
... 13 more
12:14:20,255 WARN
(PXJob-PXApplicationThumbnailer-thumbnailInBackground)
[pxmodel.PXAlbumManager lockAlbumContentAtPath] - could not create
Album for path: /hom
e/tomcat/pics/Noortje okt tot nov
12:14:20,256 WARN
(PXJob-PXApplicationThumbnailer-thumbnailInBackground)
[pxmodel.PXAlbumManager invokeOnAlbumsAtPath] - could not lock album
at path: /home/tom
cat/pics/Noortje okt tot nov
12:14:20,946 WARN
(PXJob-PXApplicationThumbnailer-thumbnailInBackground)
[pxmodel.PXAlbumManager lockAlbumContentAtPath] -
org.pixory.pxmodel.PXAlbumException: org.xml.sax.SAXException: Parsing
Error : Document root element is missing.
Line : 1
Column : -1
{file: [not available]; line: [not available]; column: [not available]}
at
org.pixory.pxmodel.PXAlbumContent.albumFromMetaFile(PXAlbumContent.java:392)
at
org.pixory.pxmodel.PXAlbumContent.albumAtPath(PXAlbumContent.java:205)
at
org.pixory.pxmodel.PXAlbumManager.lockAlbumContentAtPath(PXAlbumManager.java:517)
at
org.pixory.pxmodel.PXAlbumManager.invokeOnAlbumsAtPath(PXAlbumManager.java:172)
at
org.pixory.pxmodel.PXAlbumManager.invokeOnAlbumsAtPath(PXAlbumManager.java:218)
at
org.pixory.pxapplication.classes.PXApplicationThumbnailer.thumbnailInBackground(PXApplicationThumbnailer.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.pixory.pxfoundation.PXObjectUtility.invokeTargetMethod(PXObjectUtility.java:162)
at
org.pixory.pxfoundation.PXInvocation.invoke(PXInvocation.java:89)
at org.pixory.pxfoundation.PXJob$JobRunner.run(PXJob.java:401)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.xml.sax.SAXException: Parsing Error : Document root
element is missing.
Line : 1
Column : -1
{file: [not available]; line: [not available]; column: [not available]}
at
org.pixory.pxmodel.PXUnmarshaller.unmarshal(PXUnmarshaller.java:95)
at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:487)
at
org.pixory.pxmodel.PXAlbumContent.albumFromMetaFile(PXAlbumContent.java:388)
... 13 more
12:14:20,947 WARN
(PXJob-PXApplicationThumbnailer-thumbnailInBackground)
[pxmodel.PXAlbumManager lockAlbumContentAtPath] - could not create
Album for path: /hom
e/tomcat/pics/Noortje aug tot okt
12:14:20,948 WARN
(PXJob-PXApplicationThumbnailer-thumbnailInBackground)
[pxmodel.PXAlbumManager invokeOnAlbumsAtPath] - could not lock album
at path: /home/tom
cat/pics/Noortje aug tot okt
--- In [email protected], "Joe Panico" <pixory@y...> wrote:
>
> Ron,
>
> Whenever you get this message:
>
> "Pixory is unable to service your last request"
>
> An error message (stack trace) is being generated in the log. The
> trick is that if you are running your own app server, you have to
> configure it so that the Pixory log output ends up someplace you can
> find it (not necessarily Catalina.out).
>
> The easiest way to achieve this:
>
> In the "home" directory for the user that Pixory runs under, create a
> "log" directory. Copy log.configuration.xml to that "log" directory.
> Then restart the app server. Now Pixory should send it's log output to
> a file in that same "log" directory.
>
> > Is this something background
> > thumbnailing solves? What does rebuilding indexes do?
>
> If you are getting: "Pixory is unable to service your last request"
> it indicates you have discovered a bug. Neither background
> thumbnailing nor "rebuilding indexes" will help. You should post the
> error stack trace to this group or to the developers mailing list.
>
> regards,
>
> joe
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/pixory-beta/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/