What would cause a Sharing violation? (com.ibm.as400.access.ExtendedIOException: Sharing violation occurred.)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sean_Sullivan
Posted On:   Tuesday, August 20, 2002 11:33 AM

I am using IBM JTOpen version 3.0 I observed a "Sharing violation" message today. This is the line of code that throws the exception: file = new IFSTextFileOutputStream( as400, fileName ); What would cause a Sharing violation? Details: com.ibm.as400.access.ExtendedIOException: Sharing violation occurred. at com.ibm.as400.access.IFSFileOutputStreamImplRemote.open(IFSFileOutputStreamImplRemote.java:320) at com.ibm.as400.access.IFSFileOutputStreamImplRemote.connectAndOpen(IFSFileOutputStreamImplRemote.java:117) at com.ibm.as400.access.IFSFileOutputStream.connectAndOpen(IFSFileOutputStream.java:539) at com.ibm.   More>>
			
I am using IBM JTOpen version 3.0

I observed a "Sharing violation" message today.

This is the line of code that throws
the exception:

file = new IFSTextFileOutputStream(
as400, fileName );

What would cause a Sharing violation?

Details:

com.ibm.as400.access.ExtendedIOException: Sharing violation occurred.

at com.ibm.as400.access.IFSFileOutputStreamImplRemote.open(IFSFileOutputStreamImplRemote.java:320)

at com.ibm.as400.access.IFSFileOutputStreamImplRemote.connectAndOpen(IFSFileOutputStreamImplRemote.java:117)

at com.ibm.as400.access.IFSFileOutputStream.connectAndOpen(IFSFileOutputStream.java:539)

at com.ibm.as400.access.IFSFileOutputStream.myConstructor(IFSFileOutputStream.java:331)

at com.ibm.as400.access.IFSFileOutputStream. (IFSFileOutputStream.java:131)

at com.ibm.as400.access.IFSTextFileOutputStream. (IFSTextFileOutputStream.java:75)

at com.foo.Bar.createBarFile(Bar.java:505)
   <<Less

Re: What would cause a Sharing violation? (com.ibm.as400.access.ExtendedIOException: Sharing violation occurred.)

Posted By:   Rob_Eamon  
Posted On:   Tuesday, August 20, 2002 03:47 PM

Another process has the file specified by fileName open and locked or you're trying to lock it but another process has it open.
About | Sitemap | Contact