Issue with jar file
i've written a fairly simple app that involves a while loop. when i run the application using the command line, it works perfectly. however, if i bundle all the files up into a jar file and double click to run that, it gets most of the way through the while loop then appears to stop with no errors thrown or anything. here is the code:
import java.io.*;
import javax.swing.*;
public class ConvertImage
public static void main (String[] args) throws IOException
try
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
catch (Exception e) {}
JFrame frame = new JFrame ("Image Converter");
frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
JTextArea ta = new JTextArea (25, 60);
frame.getContentPane().add (ta);
frame.pack();
ta.setText("Image Converter (c) T.Allen 2006\n");
ta.append("--------------------------------------------------------\n");
ta.append("\n");
frame.show();
JFileChooser chooser = new JFileChooser();
int status = chooser.showOpenDialog (null);
while (status == JFileChooser.APPROVE_OPTION)
File file = chooser.getSelectedFile();
// Open ID text entry
String[] details = InputFrame.showInputDialog();
if(!details[0].equals(null))
// Run image conversion
resizeImage ri = new resizeImage();
ri.resize(file.getPath(), details[0]);
// Add confirm message to JTextArea ta
ta.append("Image converted successfully for product :"+details[0]+"\n");
status = chooser.showOpenDialog (null);
}the app seems to get through to just before the line:ta.append("Image converted successfully for product :"+details[0]+"\n");then nothing. the program does not stop responding as i am able to shut it down using the red x button and the image output is correct as well. it seems really odd that it works fine until i stick it together as a jar file!
here is the command i use to create the jar file:
jar cmf ConvertImage.mf Convert.jar ConvertImage.class InputFrame.class InputFrame$1GetData.class resizeImage.class copyright.jpg images
and my manifest file looks like this:
Manifest-Version: 1.0
Main-Class: ConvertImage
(there is a blank line at the end of the manifest file.)
Does anyone know why the jar file isn't working as it should?
public static void main (String[] args) throws IOExceptionSo if something in the program throws an IOException, the program ends abnormally. But you should see the stack trace of the exception in your console.
But if you don't have a console (and you probably don't) then you don't see the stack trace.
Declaring your main method like that is okay for quick and dirty command-line programs where you can't be bothered to catch exceptions because you're going to throw the code away anyway. But if you're going to put the code in a jar file then you need a more professional standard of programming. Catch the exceptions in the program and notify the user when they occur.
Similar Messages
-
Issue with .jar file (double clicking)
Hi.
I've been having a problem with a certain .jar file when I attempt to double click it. From my understanding, I was under the impression that when someone double clicks a .jar file, the contents are supposed to execute by itself (kind of like a .exe file, I guess?)
I've been able to successfully create my .jar file and have been able to run it through a command prompt in Windows using the following:
java -jar testjar.jar
However, whenever I try to double click on the testjar in the folder it is located in, a command prompt quickly pops up and goes away. I've been able to tell I'm getting an error, mainly consisting of something along the lines of "Exception in thread "main" java.lang.NoClassDefFoundError: ...
I'm not entirely sure what information is needed for support, but I'd be more than happy to provide what is necessary. Thanks in advance!I've been having a problem with a certain .jar file when I attempt to double click it. From my understanding, I was under the impression that when someone double clicks a .jar file, the contents are supposed to execute by itself (kind of like a .exe file, I guess?) Only if it has a manifest file which specifies the main class
java -jar testjar.jar
However, whenever I try to double click on the testjar in the folder it is located in, a command prompt quickly pops up and goes away. I've been able to tell I'm getting an error, mainly consisting of something along the What does your program do? It's possible that it runs and then closes before you can notice when you double click. It's also possible that the java version that double click is invoking is different from what you're using on the command line. -
Issue with Jar files in UDF for RFC LookUp
Hi,
I am writing a UDF for RFC LookUp.
In the import statement of UDF, I used the JAR File : com.sap.aii.mapping.lookup.*;
The code inside the UDF uses LookupService.getChannel.
When I test the UDF, It shows an error ( ^ ) at LookupService.getChannel.
Could you please help me in understanding why Am I getting this error at all?
Thanks In Advance.
RohanHi,
I have used 'com.sap.aii.mapping.lookup.LookupService', and I got the following message error:
G:/usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map1c5a7dc23dcf11dda79f001e4f342f87/source/com/sap/xi/tf/_MM_MT_PlannedOrder_to_ZLOIPLO_.java:3: package aii_map_api does not exist import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import aii_map_api.jar;import com.sap.aii.mapping.lookup.LookupService;*
^
Also in the above message there are 3 packages that I have not used at all and still I see them in the message.
Any reason?
Rohan. -
A serious issue with excel file read in ODI
hi gurus,
Issue with excel file read is that we can read only one file by setting the path from ODBC Data Source Administrator-->System DNS -->Select Work book
what i want to read the dynamic path(Every time I cant go back and set the Work book to select the excel file..
So i came up with a solution to write a Vbscript that convert the excel to csv my problem got solved for dynamic paths the script is as follow:
Set objArgs = WScript.Arguments
For I = 0 to objArgs.Count - 1
FullName = objArgs(I)
FileName = Left(objArgs(I), InstrRev(objArgs(I), ".") )
Set objExcel = CreateObject("Excel.application")
set objExcelBook = objExcel.Workbooks.Open(FullName)
objExcel.application.visible=false
objExcel.application.displayalerts=false
objExcelBook.SaveAs FileName & "csv",23
objExcel.Application.Quit
objExcel.Quit
Set objExcel = Nothing
set objExcelBook = Nothing
Next
Now this script convert the xls file to csv with comma seprated values
e.g in excel sheet if data is ABC XYZ PQR
csv will come with ABC,XYZ,PQR
here the delimiter is , i want the delimiter as pipe | who's ascii code is 124
but if i change 23 with 124 its not working i getting the error cannot save as...
can anyone tell me that what should be the correct code for pipe
so that the output is ABC|XYZ|PQR
AS WE CAN USE THE SCRIPTS IN TOOLS
Edited by: 789141 on Sep 14, 2010 11:33 PMI dont have the answer for your question but i have different approach in handling multiple Excel File.
Step 1. Copy a sample source Excel File and Call it Final.xls .
Step 2. Map this Final.xls to DSN and in Topology call this Final.xls
Step 3. Do the Reversing and Map and test the Interface . Once its done.
Step 4. Create a Package and using a http://odiexperts.com/?p=1426 get the list of all the Excel File
Step 5 . Using this http://odiexperts.com/?p=273 create a Loop to Read the Excel File name
Step 6 . Copy using OdiFileCopy to Final.xls and run your interface .
Step 7. Increment the Loop and copy your next File for Final and run the interface
Step 8 . Finally you will be able to read all the Excel File .
Step 9 . Delete the source file [ Optional ]
Hope this helps. -
Hi. I am having issues with copying files to my shared WB 2TB HDD connected to my airport extreme. Comes up with error 50. I am using a Macbook Pro to copy from so not sure what I am doing wrong. Can someone help? thanks Rory
These links might provide some information that may be of help.
http://support.apple.com/kb/TA20831
https://discussions.apple.com/message/2035035?messageID=2035035
I've encountered this error myself upon occasion. If I remember correctly, it was a permissions/ownership issue with the some of the files I was copying. -
I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.
I would first of all trash the preference file for InDesign, make sure the application is closed then find the prefs in
/Users/USER NAME/Library/Preferences/Adobe InDesign and just throw the entire folder away, it will generate a new one after you launch InDesign again.
Now launch InDesign and see if the problems are resolved.
If not I would repair your permissions on your hard drive wih disk utility, and if that fails then di-install InDesign and re-install that single application.
Let me know if any of these suggestions work for you
I will be checking my email although you might have to wait for a response as I will be taking a microlight flight over the Victoria Falls tomorrow. Yay can hardly wait. -
Hi Experts,
I have an issue with Sender File FCC Adapter. The file being picked is of type TXT and it is tab seperated. The first line contains the field names and from next line onwards we have values for those fields.
The field names and field values are tab seperated. Even inserting a single letter in some field value manually disrupts the whole setup & alignment of the TXT file and the Sender File CC is unable to pick up the file from the shared folder. If the first file is errorenous and after that a correct TXT file is posted, it fails to pick up the correct file as it is trying to pick the errorenous file first.
The Error thrown is :
"Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'ABCD':java.lang.Exception: ERROR in configuration / structure 'ABCD.': More elements in file csv structure than field names specified!"
I have two questions:
1. Is there a way to handle such a scenario? For e.g., the errornous TXT file gets picked but throws error in PI.
2. Is there an alternative that the sender FCC channel picks up the correct files and filter out the errorneous ones ? ?
Thanks,
ArkeshHi Arkesh,
I think you are passing more number of fields than expected. Please check paramters defined and send the data accordingly.
In the processing parameters tab of sender file adapter, you have an option called Archive faulty source files, below to that you would have option to enter the " Directory for Archiving files with Errors".
I hope this helps you....
Thanks, -
How to use javap with jar files ?
how to use javap with jar files ?
thanksAs long as the jar is on the class path, your gold. So,
javap -classpath myjar.jar mypackage.MyClass
Chuck -
Issue with attachment file name
Hi All,
This is about an issue with attachment file name:
we have a scenario wherein we have payload with attachments ...(attachments can be any doc ,pdf) , problem is main document is comming with messageid.sap.com and thats normal but attachments are comming with file names for example something.pdf or something.doc or something.txt ...this is failing in adapter as it expects same name as u have in main document...anybody have any idea to get through this issue...
Regards
kiranwe have a scenario wherein we have payload with attachments ...(attachments can be any doc ,pdf) , problem is main document is comming with messageid.sap.com and thats normal but attachments are comming with file names for example something.pdf or something.doc or something.txt ...this is failing in adapter as it expects same name as u have in main document...anybody have any idea to get through this issue...
- <SAP:Payload xlink:href="cid:payload-4CED452F17C601BDE10080000A492050---sap.com">
<SAP:Name>1 .Header1.txt</SAP:Name>
Error we are getting is
Cannot cast 'Header' to boolean] in class com.sap.aii.mappingtool.flib7.NodeFunctions method createIf[Header, com.sap.aii.mappingtool.tf7.rt.Context---27a73bfa]
So we have to change the File name Header1.txt to something which we can cast to creatif....(we cannot tell the sendr to change the file name as its is set already)
Thanks for interste and assisting
Regards
Kiran -
Issue with corrupted file when dragging to timeline
Has anyone ever had an issue with a files audio becoming corrupted when moving the file from the editing window to the timeline. I am also seeing the my camtasia mp4 becomes blurry on the timeline but plays fine in the editing screen.
I had not problem with camtasia Mp4s previously and today I have had so many issues with premier proHi,
Even i faced this issue before...the problem with file adapter is the attribute nxsd:quotedBy takes " as default even if u dont mention it takes the same and now after the quotes it immediately expects | wch is not there in the data and it throws the error...now the fix for the problem is put some symbol for nxsd:quotedBy wch u never expect in the data some thing like less than or greater than symbol ....some thing like below
<element name="FieldTwo" type="string" nxsd:style="terminated"
nxsd:terminatedBy="|" nxsd:quotedBy="<"/> -
Issues with RAW files from my 7D
I have Aperture 1.5.6 on my computer and the software updater says that is the current version. I shoot with a 20D and a 7D. I upload my raw files to Aperture and edit them from there and then process for a jpeg. However, every time I upload a raw file from my 7D I get the following message when I click on it to edit it: Unsupported Image format.
Any words of advice, other than just buy Aperture 3??I have Aperture 2.X and had zero issues with RAW files from a 7D, so I think the problem is you are on 1.X. Converting to DNG first was a good suggestion if you don't want to purchase 3.X. Yet another reason to hate proprietary raw image file formats.......
-
I am new with JAR files please help me
Hi Dear All,
I am new with JAR files, I know concept, but dont know how to careate JAR, and how do i use it?
Please help me.
ThanksThis tutorial covers that:
http://java.sun.com/docs/books/tutorial/deployment/jar/index.html -
Sharpening issues with RAW files
Hi,
I have downloaded lightroom 5 as a one month trial and have been playing with the program. I am not an experienced user and are wondering if I am doing something wrong, have wrong settings applied or if it is the known sharpening bug that messes with my photos. I know that sharpening and noise reduction includes a bug that does not let you export pictures 1/3 of original size with sharpening/noise intact. However, in my case, this also happens with RAW files. I do not crop or change size/resolution to any of the photos, but the sharpening is still not working. Photos look great in develop mode, but when I click on library mode to export them, all sharpening disappears!
Is this the same bug previously reportered "only for pictures 1/3 of original size", or do I have some strange settings applied?
I was loving lightroom 5 up until I noticed this, and now I am reluctant to buy the product...
I'd be greatful if anyone has any input on this!
Thanks in advanceI have Aperture 2.X and had zero issues with RAW files from a 7D, so I think the problem is you are on 1.X. Converting to DNG first was a good suggestion if you don't want to purchase 3.X. Yet another reason to hate proprietary raw image file formats.......
-
Classpath Issue - but JAR file is in the classpath
I'm having an issue getting a JAVA Application Client to run and would welcome any suggestions or input to resolve this problem. I'm not a developer, just the builder/deployer of the applications. There are two developers looking at this problem too, but they are stumped too.
It complains that it can't find sun/jdbc/rowset/CachedRowSet, which is contained in the rowset.jar - which is in the classpath. I've put all the supporting information below, if you need additional information please let me know and I'll provide it.
***** ERRORS FROM RUNNING SCRIPT BELOW *****
*** NOT Using Verbose: ***
Exception in thread "main" java.lang.NoClassDefFoundError: sun/jdbc/rowset/CachedRowSet
*** Using Verbose (only included the output with the error): ***
[Loading superclasses of com/actuate/schemas/SubmitJobResponse]
[Loaded java.sql.SQLException from /usr/java130/jre/lib/rt.jar]
[Loading superclasses of java/sql/SQLException]
[Signaling in VM: java/lang/NoClassDefFoundError, message: sun/jdbc/rowset/CachedRowSet]
Exception in thread "main" java.lang.NoClassDefFoundError: sun/jdbc/rowset/CachedRowSet[Loaded sun.i
o.UnknownCharacterException from /usr/java130/jre/lib/rt.jar]
[Loading superclasses of sun/io/UnknownCharacterException]
[Preparing sun/io/UnknownCharacterException]
***** SCRIPT TO RUN THE JAVA COMMAND *****
#!/usr/bin/ksh
LIBDIR="/actuate/Mace/lib"
JAVA_CP=""
MAIN_JAR="MaceEXT.jar"
JAVA_PATH="/usr/java130/jre/bin"
JAVA_HOME="/usr/java130/jre"
JAVA_FULLVERSION=`$JAVA_PATH/java -fullversion`
JAVA_EXE=${JAVA_HOME}/bin/java
PATH=$JAVA_PATH:$PATH
export PATH
export JAVA_HOME
JAVA_CP="${LIBDIR}/sljcx.jar"
JAVA_CP="${LIBDIR}/sljc.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/rowset.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/wsdl4j.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/tt-bytecode.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/servlet.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/saaj.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/log4j-1.2.4.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/jaxrpc.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/commons-logging.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/axis.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/ivjejb35.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/j2ee.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/activation.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/mail.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/ns.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/xmlParserAPIs.jar":${JAVA_CP}
JAVA_CP="${LIBDIR}/xercesImpl.jar":${JAVA_CP}
JAVA_CP="$JAVA_HOME/lib/rt.jar":${JAVA_CP}
echo ""
echo "Classpath"
echo $JAVA_CP
echo ""
echo "JAVA_Home"
echo $JAVA_HOME
echo ""
echo "JAVA_EXE"
echo $JAVA_EXE
echo ""
echo "JAVA_Path"
echo $JAVA_PATH
echo ""
echo "JAVA FullVersion"
echo $JAVA_FULLVERSION
#$JAVA_EXE -cp $JAVA_CP -jar $MAIN_JAR -h dev -c adduser -u 000 -p ""
$JAVA_EXE -verbose -cp $JAVA_CP -jar $MAIN_JAR -h dev -c adduser -u 000 -p ""
***** JAR -tvf OF ROWSET.JAR *****
server105:/actuate/Mace/lib $ jar -tfv rowset.jar
0 Tue Jun 13 19:45:42 EDT 2000 META-INF/
66 Tue Jun 13 19:45:42 EDT 2000 META-INF/MANIFEST.MF
0 Tue Jun 13 19:45:30 EDT 2000 sun/
0 Tue Jun 13 19:45:30 EDT 2000 sun/jdbc/
0 Tue Jun 13 19:45:42 EDT 2000 sun/jdbc/rowset/
551 Tue Jun 13 19:45:30 EDT 2000 sun/jdbc/rowset/BaseRow.class
9112 Tue Jun 13 19:45:32 EDT 2000 sun/jdbc/rowset/BaseRowSet.class
35562 Tue Jun 13 19:45:36 EDT 2000 sun/jdbc/rowset/CachedRowSet.class
597 Tue Jun 13 19:45:36 EDT 2000 sun/jdbc/rowset/ColInfo.class
1290 Tue Jun 13 19:45:36 EDT 2000 sun/jdbc/rowset/InsertRow.class
18442 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/JdbcRowSet.class
2109 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/Row.class
4489 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/RowSetMetaDataImpl.class
4707 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/RowSetReaderImpl.class
8270 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/RowSetWriterImpl.class
4745 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SQLInputImpl.class
3287 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SQLOutputImpl.class
2326 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialArray.class
1560 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialBlob.class
1948 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialClob.class
592 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialRef.class
2419 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialStruct.class
1903 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/WebRowSet.class
257 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlReader.class
15620 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlReaderDocHandler.class
2029 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlReaderImpl.class
258 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlWriter.class
9797 Tue Jun 13 19:45:42 EDT 2000 sun/jdbc/rowset/XmlWriterImpl.class
***** ECHO OF VARIABLES FROM SCRIPT *****
Classpath
/usr/java130/jre/lib/rt.jar:/actuate/Mace/lib/xercesImpl.jar:/actuate/Mace/lib/xmlParserAPIs.jar:/ac
tuate/Mace/lib/ns.jar:/actuate/Mace/lib/mail.jar:/actuate/Mace/lib/activation.jar:/actuate/Mace/lib/
j2ee.jar:/actuate/Mace/lib/ivjejb35.jar:/actuate/Mace/lib/axis.jar:/actuate/Mace/lib/commons-logging
.jar:/actuate/Mace/lib/jaxrpc.jar:/actuate/Mace/lib/log4j-1.2.4.jar:/actuate/Mace/lib/saaj.jar:/actu
ate/Mace/lib/servlet.jar:/actuate/Mace/lib/tt-bytecode.jar:/actuate/Mace/lib/wsdl4j.jar:/actuate/Mac
e/lib/rowset.jar:/actuate/Mace/lib/sljc.jar:/actuate/Mace/lib/sljcx.jar
JAVA_Home
/usr/java130/jre
JAVA_EXE
/usr/java130/jre/bin/java
JAVA_Path
/usr/java130/jre/bin
JAVA FullVersion
java full version "J2RE 1.3.0 IBM build ca130-20020504"
***** DIRECTORY LISTING *****
server105:/actuate/Mace $ ls -lat
-rwxr-xr-x 1 actuate actuate 1673 Apr 04 09:11 go.sh
-rw-r----- 1 actuate actuate 476699 Apr 03 12:37 MaceEXT.jar
drwxr-xr-x 2 actuate actuate 4096 Apr 02 10:49 lib
-rw-r----- 1 actuate actuate 1818 Mar 28 11:15 MaceConfig.xml
server105:/actuate/Mace/lib $ ls -lat
-rw-r----- 1 actuate actuate 32033 Apr 02 10:49 ivjejb35.jar
-rw-r----- 1 actuate actuate 329096 Apr 02 10:49 j2ee.jar
-rw-r----- 1 actuate actuate 374291 Apr 01 16:39 ns.jar
-rw-r----- 1 actuate actuate 654326 Apr 01 16:31 sljc.jar
-rw-r----- 1 actuate actuate 81987 Apr 01 16:31 sljcx.jar
-rw-r----- 1 actuate actuate 54368 Mar 31 08:32 activation.jar
-rw-r----- 1 actuate actuate 867459 Mar 31 08:32 axis.jar
-rw-r----- 1 actuate actuate 24287 Mar 31 08:31 commons-logging.jar
-rw-r----- 1 actuate actuate 32069 Mar 31 08:31 jaxrpc.jar
-rw-r----- 1 actuate actuate 378778 Mar 31 08:31 log4j-1.2.4.jar
-rw-r----- 1 actuate actuate 305414 Mar 31 08:31 mail.jar
-rwxrwxrwx 1 actuate actuate 62388 Mar 31 08:31 rowset.jar
-rw-r----- 1 actuate actuate 18468 Mar 31 08:31 saaj.jar
-rw-r----- 1 actuate actuate 78350 Mar 31 08:31 servlet.jar
-rw-r----- 1 actuate actuate 130773 Mar 31 08:31 tt-bytecode.jar
-rw-r----- 1 actuate actuate 109356 Mar 31 08:31 wsdl4j.jar
-rw-r----- 1 actuate actuate 933730 Mar 31 08:31 xercesImpl.jar
-rw-r----- 1 actuate actuate 78440 Mar 31 08:31 xmlParserAPIs.jarAll that script made my eyes glaze over, but it appears you are running your main class from an executable jar file. Is that correct? Executable jar files don't use the classpath. If you want them to refer to anything outside the executable jar, you have to put Class-Path entries in its manifest.
-
Issue with Deduplicated files and Mac OSX 10.9.2
Running a Windows 2012 R2 DFS with Deduplication enabled on the storage drives. Both Macs and PCs regularly interact with the system with no issues.
However with Apple's rollout of 10.9.2 SMB2 'fix' users are no longer able to correctly interact with any files on the file server with the "SparseFile" attribute, which appears to be from the deduplication of the file.
When the Macs attempted to download a "sparsed" file they get an error along the lines of "you do not have permissions to copy this file". This is annoying enough, but the biggest head ache is when a user tries to
copy a folder that has sparced files in it, the folder and its files are seemingly copied but the Mac does not copy the sparced files... and give no indication to the user that it ran into an error... Finder just closes like
the operation was completely successful.
Even more annoyingly the user can open the file directly from the server, and work on the file with seemingly no issues, but when they save the file the changes are often not saved, and the user gets NO feedback from the application or OS.
It seems the Macs are seeing the file as having a NULL file size and they skip the file when they download it. This was not the case in 10.9.1 or any other version of any other OS we have tested. We have entered this as a bug to Apple
and hope they will fix it... mostly just posting this for the next admin who is pulling his hair out trying to figure this out.
For a work around you can force the Apple 10.9.2 system to use SMB1 by using the CIFS protocol to connect to the server instead of normal SMB... which is not ideal but will work for now.Hi,
Please try to change "everyone" user permissions on a share folder to modify to see if the issue still exists.
For more detailed information, please refer to the thread below:
Problems with permissions when copying a files and folder on Windows remote share
https://discussions.apple.com/thread/4902764?tstart=0
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Maybe you are looking for
-
Need to change the Sort field(kna1-sortl) value
Hi All, We have the requirement to fill the Search Term (kna1-sortl) based the accounting group and 'kunnr' value. I.e as per the legacy system number range in brazil we need fill the sortl field based on accoung goup by concating the kunnr value t
-
How to get PMT Value in oracle ?
Hi All, I need to calculate PMT Value, There is Excel function for PMT ==> PMT(rate,nPer,PV, (FV),(TYPE)) i have to calculate it using pl/sql. Any body can help how to get PMT VAlue in PL/SQL? Thanks for your help. Regards, Iwanto
-
'Error mapping function' with external procedures
I'm trying to create an external procedure in PL/SQL8.1 to run an operating system command from within a PL/SQL block. The C function couldn't be simpler: extern void host_command(char *command) (void)system(command); It's even ignoring the return va
-
Jinitiator 1.3.1.22 and jinitiator 1.3.1.26.
hi i have jinitiator 1.3.1.22 and i am using forms 10g R2 and i want to use Jinitiator 1.3.1.26 for my form and as well as for A.S. how to configure formsweb.cfg to use Jinitiator 1.3.1.26 instead of jinitiator 1.3.1.22 for all clients?.. By default
-
It looks like ias 6.0 requires ias-web.xml inorder to run the WAR file. since if i deploy a J2EE standard WAR file, i will get GX Error (GX2GX) socket result code missing!!! in my web browser request to that servlet. Anyway I can deploy the standard