Other things to look at: In project...project properties...run be sure to have the following VM parameters set:
-classic -Dcatalina_home=path to your tomcat installation -Dcatalina_base=path to tomcat installation It looks like you have the path set to g:/jakarta tomcat. Not sure if it likes the space in the directory name. -----Original Message----- From: John Menke [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 10:48 PM To: Struts Users Mailing List Subject: RE: Tiles examples in Jbuilder5 and Tomcat 4 ? Robert, I am using the Tomcat4.02 binary from the jakarta site. I still get the error: It seems that either a Realm has to be configured or the naming context is giving me problems: <snip> ContextConfig[/tilesdoc]: No Realm has been configured to authenticate against ContextConfig[/tilesdoc]: Marking this application unavailable due to previous error(s) StandardContext[/tilesdoc]: Error initializing naming context for context /tilesdoc StandardContext[/tilesdoc]: Context startup failed due to previous errors <snip> Here is the entire trace: C:\jbuilder5\jdk1.3\bin\javaw -classpath "G:\Apache Tomcat 4.0\bin\bootstrap.jar;G:\Apache Tomcat 4.0\lib\jasper-compiler.jar;G:\Apache Tomcat 4.0\lib\jasper-runtime.jar;G:\Apache Tomcat 4.0\lib\naming-factory.jar;G:\Apache Tomcat 4.0\server\lib\catalina.jar;G:\Apache Tomcat 4.0\server\lib\jakarta-regexp-1.2.jar;G:\Apache Tomcat 4.0\server\lib\servlets-common.jar;G:\Apache Tomcat 4.0\server\lib\servlets-default.jar;G:\Apache Tomcat 4.0\server\lib\servlets-invoker.jar;G:\Apache Tomcat 4.0\server\lib\servlets-manager.jar;G:\Apache Tomcat 4.0\server\lib\servlets-snoop.jar;G:\Apache Tomcat 4.0\server\lib\servlets-webdav.jar;G:\Apache Tomcat 4.0\server\lib\tomcat-ajp.jar;G:\Apache Tomcat 4.0\server\lib\tomcat-util.jar;G:\Apache Tomcat 4.0\server\lib\warp.jar;G:\Apache Tomcat 4.0\common\lib\activation.jar;G:\Apache Tomcat 4.0\common\lib\jdbc2_0-stdext.jar;G:\Apache Tomcat 4.0\common\lib\jndi.jar;G:\Apache Tomcat 4.0\common\lib\jta.jar;G:\Apache Tomcat 4.0\common\lib\mail.jar;G:\Apache Tomcat 4.0\common\lib\naming-common.jar;G:\Apache Tomcat 4.0\common\lib\naming-resources.jar;G:\Apache Tomcat 4.0\common\lib\servlet.jar;G:\Apache Tomcat 4.0\common\lib\tools.jar;G:\Apache Tomcat 4.0\common\lib\tyrex-0.9.7.0.jar;G:\Apache Tomcat 4.0\common\lib\xerces.jar;G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-beanutils.jar;G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-collections.jar;G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-digester.jar;G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\struts.jar;G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\tiles.jar;C:\jbuilder5\jdk1.3\demo\jfc\Jav a2D\Java2Demo.jar;C:\jbuilder5\jdk1.3\jre\lib\i18n.jar;C:\jbuilder5\jdk1.3\j re\lib\jaws.jar;C:\jbuilder5\jdk1.3\jre\lib\rt.jar;C:\jbuilder5\jdk1.3\jre\l ib\sunrsasign.jar;C:\jbuilder5\jdk1.3\lib\dt.jar;C:\jbuilder5\jdk1.3\lib\too ls.jar" -Dcatalina.home="G:/Apache Tomcat 4.0" org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\john1\jbproject\tilesdoc\conf\server8080.xml" HttpConnector Opening server socket on all host IP addresses Starting service Tomcat-Standalone Apache Tomcat/4.0.1 WebappLoader[/tilesdoc]: Deploying class repositories to work directory C:\Documents and Settings\john1\jbproject\tilesdoc\work\tilesdoc WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-beanutils.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/commons-collections.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-collections.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/commons-digester.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-digester.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/struts.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\struts.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/tiles.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\tiles.jar StandardManager[/tilesdoc]: Seeding random number generator class java.security.SecureRandom StandardManager[/tilesdoc]: Seeding of random number generator has been completed ContextConfig[/tilesdoc]: No Realm has been configured to authenticate against ContextConfig[/tilesdoc]: Marking this application unavailable due to previous error(s) StandardContext[/tilesdoc]: Error initializing naming context for context /tilesdoc StandardContext[/tilesdoc]: Context startup failed due to previous errors StandardContext[/tilesdoc]: Error initializing naming context for context /tilesdoc WebappLoader[]: Deploying class repositories to work directory C:\Documents and Settings\john1\jbproject\tilesdoc\work StandardManager[]: Seeding random number generator class java.security.SecureRandom StandardManager[]: Seeding of random number generator has been completed StandardWrapper[:default]: Loading container servlet default StandardWrapper[:invoker]: Loading container servlet invoker HttpConnector[8080] Starting background thread -----Original Message----- From: Robert D. Morse [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 12:21 PM To: Struts Users Mailing List Subject: RE: Tiles examples in Jbuilder5 and Tomcat 4 ? It seems that the Tomcat version packaged with JBuilder is hosed. I had the exact problem under 6.0 Enterprise. Download Tomcat from the Jakarta site and install it. Point to that version rather than the one in the JBuilder directory, and it should work fine. -robert. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>