File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception Extracting Jars Into Temporary Directory

 
Andy Holm
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get warnings like this whenever I restart my Tomcat 6 server. It has issues with the files under axis2/WEB-INF/modules, axis2/WEB-INF/services, and axis2/WEB-INF/lib. Any ideas how I can get rid of these errors?

Exception extracting jars into temporary directory : java.io.IOException: Permission denied : switching to alternate class loading mechanism
 
sammaiah kyatham
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just check if you have permissions to Temp folder. This problem may also happen if there is no space in primary drive.

 
Barrett Richey
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting a similar error.

WARN util.Utils:650 Exception extracting jars into temporary directory : java.io.FileNotFoundException: C:\Tomcat5.5\temp\_axis2\axis232336axis2-1.3jar (The system cannot find the file specified) : switching to alternate class loading mechanism

The error repeats every so often. Moreover, I am seeing a new axisNNNNNNaxis2-13.jar file being created every couple of seconds. The web applications within Tomcat are still working, but still, this is not a good situation.

Any ideas?
 
shashikant mourya
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just check if you have accidentally deleted the temp folder in tomcat home directory. If it's there, and still you're getting errors, check if you have access permissions. Axis2 uses this folder when the tomcat starts and if its not accessible to axis, its gives out these warnings.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic