Hi,
 
I am trying to run the "EmbededTomcat" object in JBuilder to be able to debug my servlets.
It has a security access problem.
 
I added in the JVM options the following :
 
-Djava.security.manager
-Djava.security.policy="d:/jboss-tomcat-2.2/jakarta-tomcat-3.2.1/conf/tomcat.policy"
-Dtomcat.home="d:/jboss-tomcat-2.2/jakarta-tomcat-3.2.1"
 
Here is my code :
 
import org.apache.tomcat.startup.*;
 
public class TomcatDebugger {
 
  public TomcatDebugger() {
  }
 
  public static void main(String[] args) {
    try {
        EmbededTomcat  tomcat   = new EmbededTomcat();
        tomcat.main(args);
       
      System.out.println("TomcatDebugger exited normally");
    } catch (Exception e) {
      System.out.println("TomcatDebugger exception: " + e);
      e.printStackTrace();
    }
  }
}
 
Did someone tried to do that before ?
Can someone help me out ?
 
Thanks,
Christophe    :o)
 
 
 
 
------------------------------------------------
Christophe GARCIA
1 rue des rivières - CP 116
69266 LYON Cedex 09

Tel :
Fax :
Email : 
04 72 19 25 05
04 72 19 25 50
[EMAIL PROTECTED]
------------------------------------------------

Reply via email to