Hi all,

 

I have a new install of Fedora 3.6.1 on an existing Tomcat 7 which fails to ingest the demo objects via $FEDORA_HOME/client/bin

fedora-ingest-demos.sh [hostname] [port] [username] [password] [protocol] [context]

 

I’m not using the default context name but fedora starts up ok with only 1 warning about importing 0 beans from server/config/spring/policy-enforcement.xml

When I run the ingest-demo command I get the test below and the ingest report just says “Could not send Message” for each failed file.

 

If I try to ingest some of the demo xml files using the local admin client it seems to stall with a “Describe Repository…” progress bar in the bottom of the window.

If I create Object without specifying a PID via the web admin UI I get the message “Could not retrieve object '' from the repository. Either the object does not exist, or you do not have permission to view it.” But viewing the database doFields table shows a record with the label I used in the webadmin along with a PID of changeme

 

I previously edited the configuration to use a different PID but when I hit this problem I reinstalled from my install.properties and didn’t edit any files but still am unable to ingest content. I include my install file and some of the output from the ingest-demo script

 

Any light you can shine on my query will be very welcome

WARN 15:21:57.091 (PhaseInterceptorChain) Interceptor for {http://fedora-commons.org/2011/07/definitions/types/}FedoraAPIAMTOMService#{http://fedora-commons.org/2011/07/definitions/types/}describeRepository has thrown exception, unwinding now

org.apache.cxf.interceptor.Fault: Could not send Message.

                at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) ~[cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) ~[cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531) [cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464) [cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367) [cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320) [cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89) [cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) [cxf-bundle-2.6.2.jar:2.6.2]

                at $Proxy51.describeRepository(Unknown Source) [na:na]

                at org.fcrepo.client.utility.ingest.AutoIngestor.ingestAndCommit(AutoIngestor.java:98) [fcrepo-client-admin-3.6.1.jar:na]

                at org.fcrepo.client.utility.ingest.Ingest.oneFromFile(Ingest.java:52) [fcrepo-client-admin-3.6.1.jar:na]

                at org.fcrepo.client.utility.ingest.Ingest.multiFromDirectory(Ingest.java:91) [fcrepo-client-admin-3.6.1.jar:na]

                at org.fcrepo.client.utility.ingest.Ingest.multiFromDirectory(Ingest.java:82) [fcrepo-client-admin-3.6.1.jar:na]

                at org.fcrepo.client.utility.ingest.Ingest.main(Ingest.java:522) [fcrepo-client-admin-3.6.1.jar:na]

Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://localhost:8080/fedora/services/accessMTOM

                at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1619) ~[cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1530) ~[cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1438) ~[cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:660) ~[cxf-bundle-2.6.2.jar:2.6.2]

                at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ~[cxf-bundle-2.6.2.jar:2.6.2]

 

Install.properties

#Install Options

#Wed Oct 31 16:32:51 GMT 2012

keystore.file=included

ri.enabled=false

messaging.enabled=false

apia.auth.required=false

database.jdbcDriverClass=com.mysql.jdbc.Driver

upstream.auth.enabled=false

tomcat.ssl.port=8443

ssl.available=true

database.jdbcURL=jdbc\:mysql\://dbserver\:3306/dbname?\=useUnicode\=true&characterEncoding\=UTF-8&autoReconnect\=true

database.password=notinhere

database.mysql.driver=included

database.username=dbuser

fesl.authz.enabled=true

tomcat.shutdown.port=8005

deploy.local.services=true

xacml.enabled=false

database.mysql.jdbcDriverClass=com.mysql.jdbc.Driver

tomcat.http.port=8080

fedora.serverHost=localhost

database=mysql

database.driver=included

fedora.serverContext=mycontext

llstore.type=akubra-fs

tomcat.home=/usr/share/Tomcat7/7.0.32/

database.mysql.jdbcURL=jdbc\:mysql\://dbserver\:3306/dbname?\=useUnicode\=true&characterEncoding\=UTF-8&autoReconnect\=true

fedora.home=/usr/share/fedora/

install.type=custom

servlet.engine=existingTomcat

apim.ssl.required=true

fedora.admin.pass=not here

apia.ssl.required=false