John, I'm using 4.0.1 without any problems, although I had exactly what you're experiencing when using the version that was packaged with JBuilder. One other thing to check:
Project...Project Properties...Servers make sure that Tomcat 4.0 is selected. also Project...Project Properties...Servers...Setup make sure that the path to Tomcat 4.0 is set to g:/tomcat and that you have included: /jakarta-tomcat-4.0.1/bin/bootstrap.jar in the "class" tab. Your path will obviously be different than mine, but that's what I have. I made no changes to the server.xml or web.xml files and it worked just fine. From your e-mail you're saying that other web applications work okay on that same machine with that same configuration under 4.0.2? If so, carefully check the Project Properties to make sure that they are the same. Sorry I haven't been able to be more helpful on this. By the way, when I went through this, I called Borland support on it, and they were useless. -----Original Message----- From: John Menke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 1:04 AM To: Struts Users Mailing List Subject: RE: Tiles examples in Jbuilder5 and Tomcat 4 ? Rob, I have changed the tomcat directory name to g:\tomcat. Everything builds correctly but I still get the No Realm error. Other web applications run fine with Tomcat4 inside JBuilder so I think my settings for Tomcat are correct... I have the VM options set: -classic -Dcatalina_home="g:\tomcat" -Dcatalina_base="g:\tomcat" Here is the error: <snip> ContextConfig[/tilesdoc]: No Realm has been configured to authenticate against ContextConfig[/tilesdoc]: Marking this application unavailable due to previous error(s) <snip> Here is the full trace: C:\jbuilder5\jdk1.3\bin\javaw -classic -classpath "G:\Tomcat\bin\bootstrap.jar;G:\Tomcat\lib\jasper-compiler.jar;G:\Tomcat\lib \jasper-runtime.jar;G:\Tomcat\lib\naming-factory.jar;G:\Tomcat\common\lib\ac tivation.jar;G:\Tomcat\common\lib\jdbc2_0-stdext.jar;G:\Tomcat\common\lib\jn di.jar;G:\Tomcat\common\lib\jta.jar;G:\Tomcat\common\lib\mail.jar;G:\Tomcat\ common\lib\naming-common.jar;G:\Tomcat\common\lib\naming-resources.jar;G:\To mcat\common\lib\servlet.jar;G:\Tomcat\common\lib\tools.jar;G:\Tomcat\common\ lib\tyrex-0.9.7.0.jar;G:\Tomcat\common\lib\xerces.jar;G:\Tomcat\server\lib\c atalina.jar;G:\Tomcat\server\lib\jakarta-regexp-1.2.jar;G:\Tomcat\server\lib \servlets-common.jar;G:\Tomcat\server\lib\servlets-default.jar;G:\Tomcat\ser ver\lib\servlets-invoker.jar;G:\Tomcat\server\lib\servlets-manager.jar;G:\To mcat\server\lib\servlets-snoop.jar;G:\Tomcat\server\lib\servlets-webdav.jar; G:\Tomcat\server\lib\tomcat-ajp.jar;G:\Tomcat\server\lib\tomcat-util.jar;G:\ Tomcat\server\lib\warp.jar;G:\Tomcat\webapps\tiles-doc\WEB-INF\lib\commons-b eanutils.jar;G:\Tomcat\webapps\tiles-doc\WEB-INF\lib\commons-collections.jar ;G:\Tomcat\webapps\tiles-doc\WEB-INF\lib\commons-digester.jar;G:\Tomcat\weba pps\tiles-doc\WEB-INF\lib\struts.jar;G:\Tomcat\webapps\tiles-doc\WEB-INF\lib \tiles.jar;C:\jbuilder5\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\jbuilder5\jd k1.3\jre\lib\i18n.jar;C:\jbuilder5\jdk1.3\jre\lib\jaws.jar;C:\jbuilder5\jdk1 .3\jre\lib\rt.jar;C:\jbuilder5\jdk1.3\jre\lib\sunrsasign.jar;C:\jbuilder5\jd k1.3\lib\dt.jar;C:\jbuilder5\jdk1.3\lib\tools.jar" -Dcatalina.home="G:/Tomc at" -Dcatalina_home="g:\tomcat" -Dcatalina_base="g:\tomcat" 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:\Tomcat\webapps\tiles-doc\WEB-INF\lib\commons-beanutils.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/commons-collections.jar to G:\Tomcat\webapps\tiles-doc\WEB-INF\lib\commons-collections.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/commons-digester.jar to G:\Tomcat\webapps\tiles-doc\WEB-INF\lib\commons-digester.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/struts.jar to G:\Tomcat\webapps\tiles-doc\WEB-INF\lib\struts.jar WebappLoader[/tilesdoc]: Deploy JAR /WEB-INF/lib/tiles.jar to G:\Tomcat\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: Monday, February 18, 2002 7:52 PM To: Struts Users Mailing List Subject: RE: Tiles examples in Jbuilder5 and Tomcat 4 ? 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. -- 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]>