• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Embeded Tomcat

 
Manish Kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If anyone knows how to embed Tomcat in a Java application, please help me becuase I've tried with EmbededTomcat.java but it gives me the following exception:
Thankx

ContextManager: Adding context Ctx( )
cannot process configuration web service using " D:/Temp/webapps/ROOT/"
Security init for Context D:/Temp/webapps/ROOT/ failed
java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:610)
at java.lang.ClassLoader.<init>(ClassLoader.java:234)
at org.apache.tomcat.loader.AdaptiveClassLoader.<init>(AdaptiveClassLoader.java:213)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic