Re: Re: No visible public albums
Guy K Hillyer <[email protected]> Mon, 8 Nov 2004 01:01:59 -0500
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Message-ID | <[email protected]> |
Joe
Thanks for the response.
I didn't find the log.configuration.xml file in the webapp distro, but
I downloaded the standalone version and pulled a copy from there
Rather than send it to everyone on the list, I put the log file up on
my server at http://www.tolomato.net/pixory-debug-log.txt
I see a couple of suspicious-looking entries. During initialization
there's a ClassNotFoundException for
org.pixory.pxmodel.PXObjectStoreVersion4. But it doesn't seem to be
disastrous, so maybe that's OK.
The other thing I noticed is the entry at line 141:
"album at path: /photos/public/030111 is no longer under the album root"
One thing to know about that directory is that it's a symbolic link,
could this be an issue?
To answer your questions, I am using Jetty 4.2.12, which is I guess a
bit long in the tooth. It runs on debian woody. My configuration is
a bit different from your example. I unjarred pixory.war into
$JETTY_HOME/webapps/pixory as you did, but my jetty xml is
<Call name="addWebApplications">
<Arg></Arg>
<Arg>/www/webapps/</Arg>
<Arg>org/mortbay/jetty/servlet/webdefault.xml</Arg>
<Arg type="boolean">true</Arg>
</Call>
Which is supposed to pick up any webapps found in the webapps dir.
That seems to be working OK.
Here are minor annotations of the log: Starting at line 133, I browsed
to .../pixory/pxapplication and saw "sorry, no albums are currently
available to you."
Starting at around line 626, I logged in as the admin user and viewed
the album at /photos/public/030111, observed that album is shared with
public, logged out.
Then at around line 674 I visited .../pixory/pxapplication again with
the same result as before.
Thanks for your time
-- Guy
Joe Panico writes:
>
>
> Guy,
>
> Pixory uses log4j for logging, with a little extra logic to find the
> config files in more convenient places.
>
> In the home directory of the Linux user that Pixory runs under, create
> a directory named "log" (i.e. ~/log). Then copy to that new log
> directory the log.configuration.xml file that came with your Pixory
> distro. That file is a standard log4j config. file. The default
> logging level for the pixory code proper is "info". You should change
> that to "debug" to get as much information as possible:
>
> <category name="org.pixory" additivity="false">
> <priority value="debug" />
> <appender-ref ref="file" />
> </category>
>
> After you restart Jetty, Pixory will start logging into
> ~/log/pixory.log. Be prepared for *big* log files with that setting.
>
> Which version of Jetty are you using? I just did a quick install of
> Pixory into Jetty 4.2.22 running on Fedora Core 2, and I'm able to see
> public albums without any problems. I did a simple install:
>
> 1) unjarred the pixory.war into <jetty>/webapps/pixory.
>
> 2) added this entry to <jetty>/etc/jetty.xml
>
> <Call name="addWebApplication">
> <Arg>/pixory</Arg>
> <Arg>./webapps/pixory/</Arg>
> </Call>
>
> After I restarted Jetty, everything seemed to work. I didn't test
> extensively, but public albums worked.
>
> regards,
>
> joe
>
> --- In [email protected], Guy K Hillyer <guy@f...> wrote:
> > Joe
> >
> > I rebooted my pc and tried IE and FireFox, deleted all cookies, still
> > no joy...
> >
> > I know there is some way to turn on logging, what is it?
> >
> > Thanks
> >
> > -- Guy
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/EGnolB/TM
--------------------------------------------------------------------~->
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/