The problem is solved, I created a proper Makefile. All modules install and compile but logs/jakarta.out tells me

java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(File.java:828)
        at stingray_backup.doGet(stingray_backup.java:178)
        at stingray_backup.doPost(stingray_backup.java:64)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org .apache.tomcat.facade.ServletHandler.doService(ServletHandler.java: 574)
        at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
        at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java: 485) at org .apache .tomcat.core.ContextManager.internalService(ContextManager.java:917) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org .apache .tomcat .modules .server.Http10Interceptor.processConnection(Http10Interceptor.java: 176) at org .apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 494) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:516)
        at java.lang.Thread.run(Thread.java:534)


Is there a way get more information about what went wrong here?

Thanks for help,



Hmm. Where comes this "Globals" from? Looks like a struct. Can someone help?

this.backupFileName = Globals.BACKUP_STARTDIR + vSRName + Globals.BACKUP_FILENAME;

File backupFile  = new File(this.backupFileName);
boolean bRes = backupFile.createNewFile();

My class looks like:
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.text.*;
import com.oreilly.servlet.MultipartRequest;
import java.sql.*;
import java.net.*;

public class stingray_backup
    extends HttpServlet {


public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        ...

        File backupFile  = new File(this.backupFileName);
        boolean bRes = backupFile.createNewFile();




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to