RE: Tiles examples in Jbuilder5 and Tomcat 4 ?
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: ContextConfig[/tilesdoc]: No Realm has been configured to authenticate against ContextConfig[/tilesdoc]: Marking this application unavailable due to previous error(s) 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 previou
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: ContextConfig[/tilesdoc]: No Realm has been configured to authenticate against ContextConfig[/tilesdoc]: Marking this application unavailable due to previous error(s) 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]>
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. -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: 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 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]: Loa
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: 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 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 rathe
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. -Original Message- From: John Menke [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 1:22 PM To: struts-user Subject: Tiles examples in Jbuilder5 and Tomcat 4 ? I am trying to load the the tiles-doc webapp into Jbuilder 5 using tomcat 4. I can get everything to compile, but when I try to "Web Run" the index.jsp I get the following and I cannot debug the page. If I start tomcat4 outside of Jbuilder it works fine. Here is the Jbuilder trace: C:\jbuilder5\jdk1.3\bin\javaw -classpath "G:\Apache Tomcat 4.0\bin\bootstrap.jar;G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\struts.jar;G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\struts-menu.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\tiles.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;C:\jbuilder5\jdk1.3\d emo\jfc\Java2D\Java2Demo.jar;C:\jbuilder5\jdk1.3\jre\lib\i18n.jar;C:\jbuilde r5\jdk1.3\jre\lib\jaws.jar;C:\jbuilder5\jdk1.3\jre\lib\rt.jar;C:\jbuilder5\j dk1.3\jre\lib\sunrsasign.jar;C:\jbuilder5\jdk1.3\lib\dt.jar;C:\jbuilder5\jdk 1.3\lib\tools.jar" -Dcatalina.home="G:/Apache Tomcat 4.0" org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\john1\jbproject\StrutsTest\conf\server8080.xml" HttpConnector Opening server socket on all host IP addresses Starting service Tomcat-Standalone Apache Tomcat/4.0.1 WebappLoader[/tiles-doc]: Deploying class repositories to work directory C:\Documents and Settings\john1\jbproject\StrutsTest\work\tiles-doc WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-beanutils.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/commons-collections.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-collections.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/commons-digester.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-digester.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/struts.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\struts.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/tiles.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\tiles.jar StandardManager[/tiles-doc]: Seeding random number generator class java.security.SecureRandom StandardManager[/tiles-doc]: Seeding of random number generator has been completed ContextConfig[/tiles-doc]: No Realm has been configured to authenticate against ContextConfig[/tiles-doc]: Marking this application unavailable due to previous error(s) StandardContext[/tiles-doc]: Error initializing naming context for context /tiles-doc StandardContext[/tiles-doc]: Context startup failed due to previous errors StandardContext[/tiles-doc]: Error initializing naming context for context /tiles-doc WebappLoader[/struts-menu]: Deploying class repositories to work directory C:\Documents and Settings\john1\jbproject\StrutsTest\work\struts-menu WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/jaxp.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\jaxp.jar WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/jdbc2_0-stdext.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\jdbc2_0-stdext.jar WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/parser.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\parser.jar Web
Tiles examples in Jbuilder5 and Tomcat 4 ?
I am trying to load the the tiles-doc webapp into Jbuilder 5 using tomcat 4. I can get everything to compile, but when I try to "Web Run" the index.jsp I get the following and I cannot debug the page. If I start tomcat4 outside of Jbuilder it works fine. Here is the Jbuilder trace: C:\jbuilder5\jdk1.3\bin\javaw -classpath "G:\Apache Tomcat 4.0\bin\bootstrap.jar;G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\struts.jar;G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\struts-menu.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\tiles.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;C:\jbuilder5\jdk1.3\d emo\jfc\Java2D\Java2Demo.jar;C:\jbuilder5\jdk1.3\jre\lib\i18n.jar;C:\jbuilde r5\jdk1.3\jre\lib\jaws.jar;C:\jbuilder5\jdk1.3\jre\lib\rt.jar;C:\jbuilder5\j dk1.3\jre\lib\sunrsasign.jar;C:\jbuilder5\jdk1.3\lib\dt.jar;C:\jbuilder5\jdk 1.3\lib\tools.jar" -Dcatalina.home="G:/Apache Tomcat 4.0" org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\john1\jbproject\StrutsTest\conf\server8080.xml" HttpConnector Opening server socket on all host IP addresses Starting service Tomcat-Standalone Apache Tomcat/4.0.1 WebappLoader[/tiles-doc]: Deploying class repositories to work directory C:\Documents and Settings\john1\jbproject\StrutsTest\work\tiles-doc WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-beanutils.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/commons-collections.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-collections.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/commons-digester.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\commons-digester.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/struts.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\struts.jar WebappLoader[/tiles-doc]: Deploy JAR /WEB-INF/lib/tiles.jar to G:\Apache Tomcat 4.0\webapps\tiles-doc\WEB-INF\lib\tiles.jar StandardManager[/tiles-doc]: Seeding random number generator class java.security.SecureRandom StandardManager[/tiles-doc]: Seeding of random number generator has been completed ContextConfig[/tiles-doc]: No Realm has been configured to authenticate against ContextConfig[/tiles-doc]: Marking this application unavailable due to previous error(s) StandardContext[/tiles-doc]: Error initializing naming context for context /tiles-doc StandardContext[/tiles-doc]: Context startup failed due to previous errors StandardContext[/tiles-doc]: Error initializing naming context for context /tiles-doc WebappLoader[/struts-menu]: Deploying class repositories to work directory C:\Documents and Settings\john1\jbproject\StrutsTest\work\struts-menu WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/jaxp.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\jaxp.jar WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/jdbc2_0-stdext.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\jdbc2_0-stdext.jar WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/parser.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\parser.jar WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/struts-menu.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\struts-menu.jar WebappLoader[/struts-menu]: Deploy JAR /WEB-INF/lib/struts.jar to G:\Apache Tomcat 4.0\webapps\struts-menu\WEB-INF\lib\struts.jar StandardManager[/struts-menu]: Seeding random number generator class java.security.SecureRandom StandardManager[/struts-menu]: Seeding of random number generator has been completed StandardWrapper[/struts-menu:default]: Loading co