wood burning stoves 2.0*
The moose likes Servlets and the fly likes Embeded Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Embeded Tomcat" Watch "Embeded Tomcat" New topic

Embeded Tomcat

Manish Kumar

Joined: Jun 27, 2000
Posts: 6
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:

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)
I agree. Here's the link: http://aspose.com/file-tools
subject: Embeded Tomcat
Similar Threads
problem with RequestDispatcher
Custom error 404 page
Unable To Write Image on Web Host Directory
Getting error while displaying tif image in applet through browser.
Tomcat6 and Java Beans