Ganesh_YANAMANDRA | 3 Jan 2007 04:57
Picon
Favicon

[Fedora-users] Fedora-service fails with a access violation error


Hi,

I am trying out fedora for the first time.

have edited the set-env.bat

$FEDORA_HOME="c:\fedora-2.1.1"
$JAVA_HOME="c:\j2sdk1.4.2_12"

when i try to run fedora-start from the cmd line, i get the env variable
FEDORA_HOME not set error.

I unzipped the windows-service-installer under the server/bin directory and
ran the fedora-service.exe

This is the dump logged after the fedora service crashed.

pls advice
*********************************************************************************************************************************
 App: fedora-service.exe (PID=0x100)
 When: 1/3/2007  <at>  11:43:59.835
 Exception number: C0000005 (access violation)
 Exception Flags = 0x00000000 (continuable)
 Notes Build: Release 4.5.7 (Intl)|15 January 1999

State Dump for Thread ID 0xCBC

EAX: 00000020 EBX: 7FFDE000 ECX: 7FFDD000 EDX: 00000020 ESI: 00000000 EDI: 0040CBE0
EIP: 7C901010 ESP: 0012F670 EBP: 0012F6B0 IOPL: 0         nv up ei pl nz na pe nc
(Continue reading)

peter.rajsky | 3 Jan 2007 09:53
Picon

RE: [Fedora-users] re: remote kowari connector

Hi Chris,

Thank you. I have tested the patch:

1) I am using Kowari Metadata Store version 1.0.5 (Build v1.0.831). Clean version.

2) I am using patched version of Fedora.

3) When I run fedora-rebuild the following exception is thrown (FedoraViewNamespace is not serializable):

 

org.kowari.query.QueryException: Java RMI failure

        at org.kowari.server.rmi.RemoteSessionWrapperSession.testRetry(RemoteSes

sionWrapperSession.java:735)

        at org.kowari.server.rmi.RemoteSessionWrapperSession.insert(RemoteSessio

nWrapperSession.java:233)

        at org.trippi.impl.kowari.KowariSession.doTriples(KowariSession.java:142

)

        at org.trippi.impl.kowari.KowariSession.add(KowariSession.java:128)

        at org.trippi.impl.base.MemUpdateBuffer.writeBatch(MemUpdateBuffer.java:

167)

        at org.trippi.impl.base.MemUpdateBuffer.writeBatches(MemUpdateBuffer.jav

a:157)

        at org.trippi.impl.base.MemUpdateBuffer.flush(MemUpdateBuffer.java:118)

        at org.trippi.impl.base.ConcurrentTriplestoreWriter.flushBuffer(Concurre

ntTriplestoreWriter.java:272)

        at org.trippi.impl.base.ConcurrentTriplestoreWriter.close(ConcurrentTrip

lestoreWriter.java:330)

        at org.trippi.impl.kowari.KowariConnector.close(KowariConnector.java:287

)

        at fedora.server.resourceIndex.ResourceIndexImpl.close(ResourceIndexImpl

.java:374)

        at fedora.server.resourceIndex.ResourceIndexRebuilder.finish(ResourceInd

exRebuilder.java:194)

        at fedora.server.utilities.rebuild.Rebuild.<init>(Rebuild.java:134)

        at fedora.server.utilities.rebuild.Rebuild.main(Rebuild.java:457)

Caused by: java.rmi.MarshalException: error marshalling arguments; nested except

ion is:

        java.io.NotSerializableException: fedora.common.rdf.FedoraViewNamespace

        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)

        at org.kowari.server.rmi.RemoteSessionImpl_Stub.insert(Unknown Source)

        at org.kowari.server.rmi.RemoteSessionWrapperSession.insert(RemoteSessio

nWrapperSession.java:228)

        ... 12 more

Caused by: java.io.NotSerializableException: fedora.common.rdf.FedoraViewNamespa

ce

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)

 

        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java

:1369)

        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13

41)

        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav

a:1284)

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)

 

        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java

:1369)

        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13

41)

        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav

a:1284)

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)

 

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)

        at java.util.HashSet.writeObject(HashSet.java:254)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:89

0)

        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13

33)

        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav

a:1284)

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)

 

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)

        at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:258)

        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)

        ... 14 more

 WARN [main] (ConcurrentTriplestoreWriter.java:334) - Error flushing update buff

er while closing Triplestore: org.trippi.TrippiException: Error adding triples:

org.kowari.query.QueryException: Java RMI failure

 

 

Btw:

1) Trippi classes in Patch are different that from official distribution of trippi. Where are these from?

2) When I use trippi in my own application (e.g. method TriplestoreWriter.add), it throws ClassNotFoundException (org.trippi.RDFUtil$FreeTriple). When I added trippi classes on kowari server, it was possible to store triples using trippi.

3) But second time it throwed:

FINE: RMI TCP Connection(4)-192.168.1.168: [192.168.1.168] exception:

org.kowari.query.QueryException: Rollback failed

        at org.kowari.store.AbstractDatabaseSession.endTransaction(AbstractDatab

aseSession.java:3525)

        at org.kowari.store.AbstractDatabaseSession.insert(AbstractDatabaseSessi

on.java:1310)

        at org.kowari.server.rmi.SessionWrapperRemoteSession.insert(SessionWrapp

erRemoteSession.java:161)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

        at sun.rmi.transport.Transport$1.run(Transport.java:148)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4

60)

        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport

.java:701)

        at java.lang.Thread.run(Thread.java:534)

Caused by: org.kowari.query.QueryException: org.kowari.store.StoreException: Rol

lback failed

        at org.kowari.store.xa.XADatabaseImpl.rollback(XADatabaseImpl.java:356)

        at org.kowari.store.AbstractDatabaseSession.endTransaction(AbstractDatab

aseSession.java:3523)

        ... 13 more

Caused by: java.lang.IllegalStateException: No current phase.  NodePool has not

been initialized or has been closed.

        at org.kowari.store.nodepool.xa.XANodePoolImpl.checkInitialized(XANodePo

olImpl.java:889)

        at org.kowari.store.nodepool.xa.XANodePoolImpl.rollback(XANodePoolImpl.j

ava:735)

        at org.kowari.store.xa.SimpleXAManager.rollback(SimpleXAManager.java:209

)

        at org.kowari.store.xa.XADatabaseImpl.rollback(XADatabaseImpl.java:347)

        ... 14 more

3.1.2007 9:50:16 sun.rmi.transport.StreamRemoteCall getOutputStream

 

4) Error handling of Kowari is really strange - when some error occurs, it seems Kowari is not working correctly. Do not know about any patch to be possible to use in production?

 

Thanks

From: Chris Wilper [mailto:cwilper-NfByoz7J8eJ7M33PncoYlQ@public.gmane.org]
Sent: Thursday, December 21, 2006 10:25 PM
To: peter.rajsky; Fedora-users-jhZW/2jqqROXDw4h08c5KA@public.gmane.org
Subject: RE: [Fedora-users] re: remote kowari connector

 

Hi Peter,

> 1) Utility fedora-rebuild is not working with remote connector.

This limitation with the rebuilder has recently been removed. 
If you're using Fedora 2.1.1, you can get a patch that fixes
it (and other things) at:

http://www.fedora.info/bugzilla/show_bug.cgi?id=193

Be sure to have a look at the README inside the zip file.

> 2) Fedora is not working (probably there is no such RMI method.
> It is not

I'm note sure about this one, but it could be the case that
the local Kowari libraries (the ones in WEB-INF/lib) are a different
version than those of the remote Kowari?

- Chris

-----Original Message-----
From: fedora-users-bounces-jhZW/2jqqROXDw4h08c5KA@public.gmane.org on behalf of peter.rajsky
Sent: Wed 12/20/2006 9:40 AM
To: Fedora-users-jhZW/2jqqROXDw4h08c5KA@public.gmane.org
Subject: [Fedora-users] re: remote kowari connector

Hi Chris,
I have tried it:
1) Utility fedora-rebuild is not working with remote connector.
fedora.server.errors.ResourceIndexException: Rebuilder does not currently
suppor
t remote triplestores.
        at
fedora.server.resourceIndex.ResourceIndexRebuilder.start(ResourceInde
xRebuilder.java:91)
        at fedora.server.utilities.rebuild.Rebuild.<init>(Rebuild.java:107)
        at fedora.server.utilities.rebuild.Rebuild.main(Rebuild.java:457)

2) Fedora is not working (probably there is no such RMI method. It is not
working also when I try to use trippi in my own application):
java.rmi.UnmarshalException: invalid method hash
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:233)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
        at java.lang.Thread.run(Thread.java:534)

I am using kowari-1.1.0-pre2.

Don't you know, what I have done in wrong way?
Thanks.

Rui Castro | 3 Jan 2007 15:52
Picon

Re: [Fedora-users] [Diringest] assign PIDs manually and state=Inactive

Hi Chris,

Sorry for the late response, but only today i got back to work.

Regarding the manualy assigned IDs I imagine, and I hope i'm not saying
something stupid, that the div's that will map in fedora objects could
permit to specify an attribute like ID and use that as a the fedora PID.

Like this:

<METS:structMap>

  <!-- This will be mapped into an object so, we specify the ID
attribute -->
  <METS:div LABEL="PT-TT-AACC-1-1.EAD" TYPE="roda:d:dc"
ID="roda:PT-TT-AACC-1-1">

    <!-- This will be mapped into a datastream -->
    <METS:div LABEL="Label - Get it from the unittitle of this EAD"
TYPE="roda:f:EAD">
      <METS:fptr FILEID="d1e14" />
    </METS:div>

    <!-- This will be mapped into an object so, we specify the ID
attribute -->
    <METS:div TYPE="roda:p" LABEL="PT-TT-AACC-1-1.PREMIS"
ID="roda:PT-TT-AACC-1-1.PREMIS">

      <!-- This will be mapped into a datastream -->
      <METS:div LABEL="Preservation Metadata - PREMIS" TYPE="roda:f:PREMIS">
        <METS:fptr FILEID="d1e21"/>
      </METS:div>

    </METS:div>

  </METS:div>

</METS:structMap>

Rui

Chris Wilper wrote:
> Hi Rui,
> 
> Neither of these are currently possible, but both sound desirable.
> 
> I can see clearly how the "state" attribute setting would be implemented,
> but I'm curious about how the PID might be specified in the METS.xml
> file to support setting it directly in the SIP.  Any ideas on that?
> 
> Thanks,
> Chris
> 
> -----Original Message-----
> From: fedora-users-bounces@... on behalf of Rui Castro
> Sent: Mon 12/18/2006 8:28 AM
> To: fedora-users@...
> Subject: [Fedora-users] [Diringest] assign PIDs manually and state=Inactive
>  
> Hi,
> 
> Is it possible to assign the PIDs manually using the diringest service?
> 
> Diringest always assigns sequential numeric PIDs, i would like to
> specify an alphanumeric PID inside the METS.xml file.
> 
> 
> Is it possible to ingest objects and automatically set the state to
> Inactive?
> 
> I've tried to put in the rules file something like this:
>   <objectTemplate nodeType="*">
>     <attribute name="state" value="Inactive"/>
>   </objectTemplate>
> 
> but it didn't work. I also tried with a specific nodeType (like
> nodeType="roda:p") and it didn't work either.
> 
> Thanks,
> Rui Castro
> 
> 
Attachment (rcastro.vcf): text/x-vcard, 240 bytes
Ahmed Abdeen(Home | 4 Jan 2007 23:23
Picon

[Fedora-users] web service instability

Hello,
I have been getting a lot of {java.net.SocketTimeoutException: Read timed out} or {faultString: java.lang.Exception: Uncaught exception from Fedora Server} errors lately. Is something wrong with the web services for the APIs?
Thanks,
Ahmed
peter.rajsky | 5 Jan 2007 11:47
Picon

[Fedora-users] wrong user for this ticket

Hi all,

 

Don’t you know what does this exception mean? Thanks a lot.

 

1032org.apache.catalina.realm.JAASRealm:  in hasResourcePermission

fedora.server.errors.authorization.AuthzDeniedException: wrong user for this ticket

        at fedora.server.access.dissemination.DatastreamResolverServlet.doGet(Da

tastreamResolverServlet.java:294)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239

Decker, Thomas | 5 Jan 2007 14:28
Picon
Picon
Favicon

[Fedora-users] questions about benchmarks

Hi,

Looking through the mails in this user-list I could not find meaningful statements concerning benchmarks / performance issues.

I run a simple test on a Solaris machine. First I ingest a do with a foxml (containing DC- and xml-metadata-datatstream) and after that a pdf-file (200 kb).

It takes ~0.8 sec/do, most of the time(~ 0.6 sec) is needed to upload and ingest the pdf-file.  I am just at the beginning of performance - tuning. Because I have to ingest over 40 millions dos, response time is not acceptable.

 

Where can I find reports regarding performance / benchmarks/ performance tuning ? Or could anyone tell me s.th. about these issues?

What response time can I expect after performance inprovement?

 

Thanks in advance

Thomas

Peter Murray | 5 Jan 2007 15:19
Favicon

[Fedora-users] Re: questions about benchmarks


Work was done last year by the core developers to address API-M
performance issues.  Their report is online at:

http://www.fedora.info/download/2.1.1/userdocs/reports/apim-performance/index.html

That is probably the best place to start to compare your observations
with another analysis.

Peter

On 1/5/07 8:28 AM, Decker, Thomas wrote:
> Hi,
> 
> Looking through the mails in this user-list I could not find meaningful
> statements concerning benchmarks / performance issues.
> 
> I run a simple test on a Solaris machine. First I ingest a do with a
> foxml (containing DC- and xml-metadata-datatstream) and after that a
> pdf-file (200 kb).
> 
> It takes ~0.8 sec/do, most of the time(~ 0.6 sec) is needed to upload
> and ingest the pdf-file.  I am just at the beginning of performance -
> tuning. Because I have to ingest over 40 millions dos, response time is
> not acceptable.
> 
>  
> 
> Where can I find reports regarding performance / benchmarks/ performance
> tuning ? Or could anyone tell me s.th. about these issues?
> 
> What response time can I expect after performance inprovement?
> 
>  
> 
> Thanks in advance
> 
> Thomas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Fedora-users mailing list
> Fedora-users@...
> http://comm.nsdl.org/mailman/listinfo/fedora-users

--
Peter Murray                       http://www.pandc.org/peter/work/
Assistant Director, Multimedia Systems  tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Library and Information Network   Columbus, Ohio
The Disruptive Library Technology Jester           http://dltj.org/
Xinjian Guo | 5 Jan 2007 18:04
Picon
Favicon

[Fedora-users] Elated - error ingesting zip file

Hi, fellow Elated users or developers,

When I used the "Ingest a Group of Files (packaged in a zip file) 
into a Collection" feature of Elated, I got the following error message:

"
java.lang.NoSuchMethodError: 
java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
         at org.acs.elated.ui.bulkingester.FileWalker.getTitle(Unknown Source)
"

Searching for help over Internet, I found that someone who had the 
similar issue with the "String.replace" method suggested to use 
"replaceAll" instead of "replace". I took the suggestion and modified 
Elated source code "FileWalker.java" and the error has disappeared.

Have any of you seen the same error? And what was your fix?

Thanks.

Neil Guo
Yale ITS Library Systems

Hassan, Steve | 5 Jan 2007 18:28
Picon
Favicon

[Fedora-users] Elated - searching for custom metadata fields

hello

has anyone used the "Add Custom Metadata" feature in Elated and needed to search these?

i have written some simple jsp code which automatically creates some custom metadata fields in a new item.

now i want to be able to search for these fields, but it seems that Elated is not searching these datastreams
(ELATED-EXT), it only searches in the Dublin Core (DC) as far as i can tell.

is there a simple way to search for text within a datastream other than the DC, or perhaps even a short-cut in Elated?

my only idea at the moment is to include these custom fields in the Lucene index, which means tampering with
Elated quite a bit.

cheers
steve
--

-- 
Steve Hassan
Systems and Applications Developer
http://www.data-archive.ac.uk/

Thompson ,Dave | 8 Jan 2007 10:56
Picon
Favicon

Re: [Fedora-users] Managing external content

Good morning.

Please forgive what must be a newbie question, but I can't seem to find the answer to this question.

Fedora has the ability to 'manage' external content, a datastream not held within the local Fedora
repository. This content is referenced by means of a URL.

Is it, and more importantly how is it, possible to use local network 'file' (typically for Windows users via 
'browse' option) references to content held on a local network?

Thanks, dnt

Dave Thompson, Digital Curator
The Wellcome Library
210 Euston Road
London NW1 2BE UK
T: +44 (0)20 7611 8425
F: +44 (0)20 7611 8703
E: d.thompson@...

Visit the Wellcome Library at http://library.wellcome.ac.uk
Visit the UK Web Archive at http://www.webarchive.org.uk

The Wellcome Trust is a registered charity, no. 210183.                           
Its sole Trustee is The Wellcome Trust Limited, a company    
registered in England, no. 2711000, whose registered office 
is 215 Euston Road, London NW1 2BE. 

This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com


Gmane