Thanks so much to everyone for their input on this issue so far. In fact, I am
using Tomcat 6, and the common-logging libraries were missing from the Saxon
and Imagemanip WEB-INF/lib directories, so I'm sure I would have run into this
issue eventually.
ResourceIndexModule is also set to 1 (I double checked this and reran
fedora-rebuild.sh just to make sure).
I am still running into the same error though. Here's the Java stack trace in
case it tips anyone off.
Thanks again,
Jeremy
javax.xml.transform.TransformerException: No source parameter supplied
at fedora.localservices.saxon.SaxonServlet.apply(SaxonServlet.java:184)
at fedora.localservices.saxon.SaxonServlet.doGet(SaxonServlet.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Chris Wilper
Sent: Wednesday, February 25, 2009 2:18 PM
To: Scott Prater
Cc: Gottwig, Jeremy M. (GSFC-272.0)[ZAI];
[email protected]
Subject: Re: [Fedora-commons-users] Saxon issue with demo objects...
Hi Jeremy,
This could be caused by several things. You'll probably find a more
detailed error message (stack trace) in tomcat/logs/catalina.out. A
couple potential causes:
- If you're not running with the resource index enabled (this demo
requires that you're running Mulgara in particular). In this case,
you'll need to stop Fedora, change the "level" for the
"ResourceIndexModule" in server/config/fedora.fcfg to "1", then run
the rebuilder (server/bin/fedora-rebuild.sh) and restart Fedora.
- If you're running under Tomcat 6, it may be having trouble finding
the commons-logging library. See
https://fedora-commons.org/jira/browse/FCREPO-396 for more info.
- Chris
On Wed, Feb 25, 2009 at 10:16 AM, Scott Prater <[email protected]> wrote:
> That error usually indicates the external web service is not running, or
> otherwise not available. Did you try going directly to the web service
> in your browser, copying and pasting the URL?
>
> http://testhost:8080/saxon/SaxonServlet?style=http%3A%2F%2Ftesthost%3A8080%2Ffedora%2FgetDS%3Fid%3D2009-02-25T09%3A33%3A14.36%3A31&clear-stylesheet-cache=yes
>
> -- Scott
>
> Gottwig, Jeremy M. (GSFC-272.0)[ZAI] wrote:
>> We've recently started playing with the demo objects, and we've run into
>> a snag with the 'view' method for the demo:SmileyStuff dissemination.
>>
>> I'm wondering if anyone can shed some light on this error:
>>
>> Browser output:
>> ---------
>> fedora.server.errors.GeneralException: Error getting
>> http://testhost:8080/saxon/SaxonServlet?style=http%3A%2F%2Ftesthost%3A80
>> 80%2Ffedora%2FgetDS%3Fid%3D2009-02-25T09%3A33%3A14.36%3A31&clear-stylesh
>> eet-cache=yes
>> at
>> fedora.server.access.dissemination.DisseminationService.get(Disseminatio
>> nService.java:1101)
>> at
>> fedora.server.access.dissemination.DisseminationService.getDissemination
>> Content(DisseminationService.java:1135)
>> at
>> fedora.server.access.dissemination.DisseminationService.assembleDissemin
>> ation(DisseminationService.java:723)
>> at
>> fedora.server.access.DefaultAccess.getDissemination(DefaultAccess.java:4
>> 42)
>> at
>> fedora.server.access.FedoraAccessServlet.getDissemination(FedoraAccessSe
>> rvlet.java:730)........
>> -----------
>> Fedora.log:
>> -----------
>> INFO 2009-02-25 09:38:54.004 [http-8080-3] (FedoraAccessServlet) Got
>> request:
>> http://testhost:8080/fedora/get/demo:SmileyStuff/demo:Collection/view/
>> ERROR 2009-02-25 09:38:54.051 [http-8080-3] (FedoraAccessServlet)
>> Unexpected error servicing API-A request
>> fedora.server.errors.GeneralException: Error getting
>> http://testhost:8080/saxon/SaxonServlet?style=http%3A%2F%2Ftesthost%3A80
>> 80%2Ffedora%2FgetDS%3Fid%3D2009-02-25T09%3A38%3A54.044%3A34&clear-styles
>> heet-cache=yes
>> at
>> fedora.server.access.dissemination.DisseminationService.get(Disseminatio
>> nService.java:1101)
>> at
>> fedora.server.access.dissemination.DisseminationService.getDissemination
>> Content(DisseminationService.java:1135)...
>> ----------
>>
>> I have Saxon set up to use the proper Fedora credentials.
>>
>> The only other post I could find related to this topic is here:
>> https://fedora-commons.org/confluence/display/DEV/mail/8749984
>>
>> Thanks for your input,
>>
>> J.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users