× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

        I don't always get that message on other jobs... or the same job
actually when it gets used by another process for something similar that
succeeds. 

        I spoke with one of our iSeries techs, and we are beginning to
think it has something to do with Auditing settings on the
directory(ies) being written to, and possibly something to do with the
profile being used.

We are on V5R3.


Dan Feather

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Franco Biaggi
Sent: Thursday, February 03, 2005 3:37 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: ExtendedIOException: Sharing violation occurred

Hi,
you will find this message on each java remote job.

Are you on V5R1 ?

Dan Feather wrote:

>I always forget about that.... anyway
>
>Message . . . . :   ACGDTA for 967504/QUSER/QPWFSERVSO not journaled;
>reason  
>  1.
>
> 
>
>Cause . . . . . :   Job resource accounting data for job
>
>967504/QUSER/QPWFSERVSO was not journaled to the system accounting
>journal  
>QSYS/QACGJRN.
>-- Reason codes and their meanings follow:
>
>-- 1-The accounting level system value (QACGLVL) indicated that this
>level of resource accounting was not to be done when the job entered
the
>system.
>
>I wonder if this is actually related or not. I also wonder if a newer
>version of JTOpen wouldn't get me past it.
>
>Dan Feather
>
>-----Original Message-----
>From: java400-l-bounces@xxxxxxxxxxxx
>[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary L Peskin
>Sent: Thursday, February 03, 2005 2:33 PM
>To: 'Java Programming on and around the iSeries / AS400'
>Subject: RE: ExtendedIOException: Sharing violation occurred
>
>Dan --
>
>Look at the server job log again.  Place the cursor on the error
>message.
>Hit F1.  This will show you a "second level" error message with more
>detail
>and an OS/400 message id.  It will explain what reason code 1 is.  If
>you
>need help, please paste the second level message here and we can go
from
>there.
>
>Gary 
>
>  
>
>>-----Original Message-----
>>From: java400-l-bounces@xxxxxxxxxxxx 
>>[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan Feather
>>Sent: Thursday, February 03, 2005 12:20 PM
>>To: Java Programming on and around the iSeries / AS400
>>Subject: RE: ExtendedIOException: Sharing violation occurred
>>
>>Well, I got a trace, and I was able to look at the job log 
>>for the QPWFSERVSO job that was used. Here is the interesting 
>>part of the trace:
>>
>>Thread[Thread-0,5,main]  Thu Feb 03 13:15:59 CST 2005  
>>IFSReturnCodeRep
>>return code   1
>>java.lang.Throwable
>>      at java/lang/Throwable.<init>(Throwable.java:180)
>>      at com/ibm/as400/access/Trace.logData(Trace.java:593)
>>      at com/ibm/as400/access/Trace.log(Trace.java:633)
>>      at com/ibm/as400/access/Trace.log(Trace.java:762)
>>      at
>>com/ibm/as400/access/IFSFileOutputStreamImplRemote.open(IFSFil
>>eOutputStr
>>eamImplRemote.java:316)
>>      at
>>com/ibm/as400/access/IFSFileOutputStreamImplRemote.connectAndO
>>pen(IFSFil
>>eOutputStreamImplRemote.java:116)
>>      at
>>com/ibm/as400/access/IFSFileOutputStream.connectAndOpen(IFSFil
>>eOutputStr
>>eam.java:539)
>>      at
>>com/ibm/as400/access/IFSFileOutputStream.myConstructor(IFSFile
>>OutputStre
>>am.java:331)
>>      at
>>com/ibm/as400/access/IFSFileOutputStream.<init>(IFSFileOutputS
>>tream.java
>>:222)
>>      at
>>com/ibm/as400/access/IFSFileOutputStream.<init>(IFSFileOutputS
>>tream.java
>>:153)
>>      at com/xxx/xxx/util/FileIO.copyFileIFS(FileIO.java:404)
>>      at com/xxx/xxx/util/FileIO.copyFileIFS(FileIO.java:351)
>>      at
>>com/xxx/xxx/model/FileExport.exportToText(FileExport.java:171)
>>      at com/xxx/xxx/model/FileExport.export(FileExport.java:105)
>>      at com/xxx/xxx/tests/FileIOTest.main(FileIOTest.java:35)
>>Thread[Thread-0,5,main]  Thu Feb 03 13:15:59 CST 2005  send and
>>receive(): ...
>>Thread[Thread-0,5,main]  Thu Feb 03 13:15:59 CST 2005  
>>send(): send request...
>>Thread[Thread-0,5,main]  Thu Feb 03 13:15:59 CST 2005  Data 
>>stream sent...
>>
>>
>>Looking at the job log I see this:
>>
>>Job 967504/QUSER/QPWFSERVSO started on 02/03/05 at 11:01:05 
>>in subsystem
>>  QSERVER in QSYS. Job entered system on 02/03/05 at 11:01:05.
>>Servicing user profile XXXXXX from client LOOPBACK.
>>ACGDTA for 967504/QUSER/QPWFSERVSO not journaled; reason 1.
>>
>>So, my GUESS is, it has something to do with something not 
>>being journaled... or something thereabouts. I am basing this on the
>>"IFSReturnCodeRep return code   1" from the trace, and the "reason 1"
>>from the job log. Anyone have any better/other ideas? Thanks!
>>
>>Dan Feather
>>-----Original Message-----
>>From: java400-l-bounces@xxxxxxxxxxxx
>>[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan Feather
>>Sent: Thursday, February 03, 2005 11:58 AM
>>To: Java Programming on and around the iSeries / AS400
>>Subject: RE: ExtendedIOException: Sharing violation occurred
>>
>>Gary
>>      Thanks for the response. I will check out those jobs. I 
>>am trying to get a trace of the failure right now. However, 
>>this is all happening on the 400, with no PC involved at all. 
>>I am trying to get a trace from JTOpen when the error happens 
>>to see if that will tell me anything. I'll let you know what 
>>I come up with. Thanks for your response!
>>
>>Dan Feather
>>
>>-----Original Message-----
>>From: java400-l-bounces@xxxxxxxxxxxx
>>[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary L Peskin
>>Sent: Thursday, February 03, 2005 11:20 AM
>>To: 'Java Programming on and around the iSeries / AS400'
>>Subject: RE: ExtendedIOException: Sharing violation occurred
>>
>>Dan --
>>
>>Since no one has replied, I'll take a stab at it.  Have a 
>>look at the server job logs for the server.  Are you running 
>>v5R3 on the server?  If so, the server job should be 
>>QPWFSERVSO or QPWFSERVS2 in subsystem QSERVER.
>>
>>If that doesn't help, the next thing I would do is to put a 
>>sniffer on the PC.  If you don't have one handy, you can 
>>download Ethereal from http://www.ethereal.com.  This has 
>>helped me figure out what's going on many times.  The trace 
>>should show you the actual file name being requested and the 
>>details of the message.  You can forward the capture to me on 
>>or off-list and I will try to help.
>>
>>Gary
>>
>>    
>>
>>>-----Original Message-----
>>>From: java400-l-bounces@xxxxxxxxxxxx
>>>[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan Feather
>>>Sent: Thursday, February 03, 2005 7:49 AM
>>>To: Java Programming on and around the iSeries / AS400
>>>Subject: ExtendedIOException: Sharing violation occurred
>>>
>>>I am reposting my question with a more applicable subject. 
>>>Sorry about that.
>>>
>>>Dan Feather
>>>-----Original Message-----
>>>From: java400-l-bounces@xxxxxxxxxxxx
>>>[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan Feather
>>>Sent: Wednesday, February 02, 2005 1:54 PM
>>>To: Java Programming on and around the iSeries / AS400
>>>Subject: RE: Can't move JSSE app from one iSeries to another
>>>
>>>Hello,
>>>
>>>I am running into a strange problem here. I am getting the error
>>>"com.ibm.as400.access.ExtendedIOException: Sharing 
>>>      
>>>
>>violation occurred"
>>    
>>
>>>when I open an IFSOutputStream. The file doesn't exist 
>>>      
>>>
>>beforehand, and 
>>    
>>
>>>an empty file gets created when the call is made, but it ends with 
>>>that error.
>>>
>>>Here is the full exception:
>>>com.xxx.xxx.util.FileIO - com.ibm.as400.access.ExtendedIOException:
>>>Sharing violation occurred
>>>at java/lang/Throwable.<init>(Throwable.java:195)
>>>at java/lang/Exception.<init>(Exception.java:41)
>>>at java/io/IOException.<init>(IOException.java:40)
>>>at
>>>com/ibm/as400/access/ExtendedIOException.<init>(ExtendedIOExce
>>>ption.java
>>>:211)
>>>at
>>>com/ibm/as400/access/IFSFileOutputStreamImplRemote.open(IFSFil
>>>eOutputStr
>>>eamImplRemote.java:317)
>>>at
>>>com/ibm/as400/access/IFSFileOutputStreamImplRemote.connectAndO
>>>pen(IFSFil
>>>eOutputStreamImplRemote.java:114)
>>>at
>>>com/ibm/as400/access/IFSFileOutputStream.connectAndOpen(IFSFil
>>>eOutputStr
>>>eam.java:539)
>>>at
>>>com/ibm/as400/access/IFSFileOutputStream.myConstructor(IFSFile
>>>OutputStre
>>>am.java:331)
>>>at
>>>com/ibm/as400/access/IFSFileOutputStream.<init>(IFSFileOutputS
>>>tream.java
>>>:131)
>>>at com/xxx/xxx/util/FileIO.copyFileIFS(FileIO.java:403)
>>>at com/xxx/xxx/util/FileIO.copyFileIFS(FileIO.java:350)
>>>at com/xxx/xxx/model/FileExport.exportToText(FileExport.java:171)
>>>at com/xxx/xxx/model/FileExport.export(FileExport.java:105)
>>>at
>>>com/xxx/xxx/tasks/FileExportTask.performTask(FileExportTask.java:69)
>>>at com/xxx/xxx/controller/XXXProxy.performTask(XXXProxy.java:77)
>>>
>>>Here is my JTOpen version information:
>>>$
>>>      
>>>
>>>>java utilities.AboutToolbox
>>>>        
>>>>
>>>IBM Toolbox for Java:
>>>
>>>Open Source Software, JTOpen 4.1, codebase 5722-JC1 V5R3M0 $
>>>
>>>Here is the method call it dies on:
>>>
>>>outStream = new BufferedOutputStream(new 
>>>IFSFileOutputStream(as400,toFilePath), BUF_SIZE);
>>>
>>>The as400 object is for *CURRENT, and BUF_SIZE is for 
>>>      
>>>
>>buffering in the 
>>    
>>
>>>BufferedOutputStream (4096).
>>>
>>>This same code works fine on another iSeries, with the same 
>>>      
>>>
>>version of 
>>    
>>
>>>JTOpen. I am not sure what would cause this.
>>>Nothing else is using the file. What else would cause this 
>>>      
>>>
>>particular 
>>    
>>
>>>error?
>>>
>>>If more code/information is needed, let me know. Thanks for 
>>>      
>>>
>>your help!
>>    
>>
>>>Dan Feather
>>>
>>>      
>>>
>>
>>NOTICE: This electronic mail message and any files 
>>transmitted with it are intended exclusively for the 
>>individual or entity to which it is addressed. The message, 
>>together with any attachment, may contain confidential and/or 
>>privileged information. Any unauthorized review, use, 
>>printing, saving, copying, disclosure or distribution is 
>>strictly prohibited. If you have received this message in 
>>error, please immediately advise the sender by reply email 
>>and delete all copies.
>>
>>
>>
>>
>>--
>>This is the Java Programming on and around the iSeries / 
>>AS400 (JAVA400-L) mailing list To post a message email: 
>>JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change 
>>list options,
>>visit: http://lists.midrange.com/mailman/listinfo/java400-l
>>or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, 
>>please take a moment to review the archives at 
>>http://archive.midrange.com/java400-l.
>>
>>    
>>
>
>  
>


-- 
------------------------------------------------------------------------
-----
*** This messages was scanned for malicious contents ***
------------------------------------------------------------------------
-----
Franco Biaggi
CH-6807 Taverne

-- 
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively for the individual or entity to which it is addressed. The 
message, together with any attachment, may contain confidential and/or 
privileged information. Any unauthorized review, use, printing, saving, 
copying, disclosure or distribution is strictly prohibited. If you have 
received this message in error, please immediately advise the sender by reply 
email and delete all copies.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.