This is basic java 101.
The command-line argument java.io.tmpdir is a command-line switch that you can
use to put java's temporary file directory anywhere you like. The java
defaults on Windows for this parameter are usually just fine. So if you have a
special setup, you will need to modify all places that invoke java
appropriately. executecommand.bat probably doesn't need to be modified, but
you will have to put your desired directory into
processes/defines/java.io.tmpdir to change this location. A similar change
should be made to the -D definitions for Tomcat.
Karl
From: ext rohan.gpa...@cognizant.com [rohan.gpa...@cognizant.com]
Sent: Monday, June 14, 2010 5:28 AM
To: connectors-dev@incubator.apache.org
Subject: RE: Cannot write temporary file
Hi,
Can we configure the location of the Temp file ?
Windows is making the default temp folder as read only.
Thanks Regards,
Rohan G Patil
Cognizant Programmer Analyst Trainee,Bangalore || Mob # +91 9535577001
rohan.gpa...@cognizant.com
-Original Message-
From: karl.wri...@nokia.com [mailto:karl.wri...@nokia.com]
Sent: Sunday, June 13, 2010 1:31 AM
To: connectors-dev@incubator.apache.org
Subject: RE: Cannot write temporary file
That means that the directory pointed at by java.io.temp is not writable, and a
temporary file cannot be created. You must correct this before anything
involving blobs will work.
Karl
--- original message ---
From: ext rohan.gpa...@cognizant.com rohan.gpa...@cognizant.com
Subject: Cannot write temporary file
Date: June 11, 2010
Time: 6:9:3 AM
Hi,
While running the JDBC connector there is this Error.
[2010-06-11 15:36:28,906]ERROR Exception tossed: Cannot write temporary
file
org.apache.lcf.core.interfaces.LCFException: Cannot write temporary file
at
org.apache.lcf.core.interfaces.TempFileInput.init(TempFileInput.java:1
22)
at
org.apache.lcf.crawler.connectors.jdbc.JDBCConnection.readResultRow(JDBC
Connection.java:448)
at
org.apache.lcf.crawler.connectors.jdbc.JDBCConnection.readNextResultRow(
JDBCConnection.java:136)
at
org.apache.lcf.crawler.connectors.jdbc.JDBCConnection$NextResultRowThrea
d.run(JDBCConnection.java:110)
Caused by: java.lang.NullPointerException
at
org.apache.lcf.core.system.LCF.deleteFile(LCF.java:588)
at
org.apache.lcf.core.interfaces.TempFileInput.init(TempFileInput.java:1
06)
Thanks Regards,
Rohan G Patil
Cognizant Programmer Analyst Trainee,Bangalore || Mob # +91 9535577001
rohan.gpa...@cognizant.com mailto:rohan.gpa...@cognizant.com
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on this
e-mail is strictly prohibited and may be unlawful.
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on this
e-mail is strictly prohibited and may be unlawful.