- This topic has 4 replies, 2 voices, and was last updated 19 years, 4 months ago by nazar_jaber.
-
AuthorPosts
-
nazar_jaberMemberHi,
I cant run jsp-pages with myeclipse and tomcat 5.5.9. The jsp pages are only returned blank (white pages without content).
I took a jsp page from the tomcat jsp-examples (and it works inside tomcat), but when I run it from a tomcat enabled project in MyEclipseIde the browser only returnes blank pages.
MyEclipse is compiling the pages, because if there is compilation errors in the jsp, it is showed in the browser.
I’m running myeclipse version 4.0.0 with build id 20050829-4.0.0-GA. The Tomcat version is 5.5.9
Does anyone know a solution to this problem?
Thank you in advance.
Riyad KallaMemberYou are probably using invalid URLs to access your project. If you can give an outline of your project, what your webroot is set to, how you are deploying it, and the URL you are using to access it, we can try and help. Also copy-paste the contents of your Tomcat startup console so I can see it.
nazar_jaberMemberIf I am using an invalid URL, why do I get error messages if the jsp has compilation errors?
The Url that I am using is: http://localhost:8080/webproj3/jsp/date.jsp
My Webroot is: WebRoot (I’ve added this to the Tomcat properties in the sysdeo plugin)
The Jsp page I am trying to reach is in webproj3/WebRoot/jsp (webproj3 is the name of my project)Here is the Tomcat startup console:
2005-sep-15 16:43:07 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
2005-sep-15 16:43:07 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6829 ms
2005-sep-15 16:43:08 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2005-sep-15 16:43:08 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
2005-sep-15 16:43:08 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
[DevLoader] Starting DevLoader
[DevLoader] projectdir=E:\Documents and Settings\Administrator\My Documents\workspace\myeclipse\webproj3\WebRoot
[DevLoader] added file:/E:/Documents and Settings/Administrator/My Documents/workspace/myeclipse/webproj3/WebRoot/WEB-INF/classes/
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/activation.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/javax.servlet.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/javax.servlet.jsp.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/jboss-j2ee.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/jboss-jaxrpc.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/jboss-jsr77.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/jboss-saaj.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/mail.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/namespace.jar
[DevLoader] added file:/E:/Program Files/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_4.0.0/data/libraryset/1.4/xml-apis.jar
[DevLoader] JSPCompiler Classpath = E:\Documents and Settings\Administrator\My Documents\workspace\myeclipse\webproj3\WebRoot\WEB-INF\classes;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\activation.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\javax.servlet.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\javax.servlet.jsp.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\jboss-j2ee.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\jboss-jaxrpc.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\jboss-jsr77.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\jboss-saaj.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\mail.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\namespace.jar;E:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.0\data\libraryset\1.4\xml-apis.jar;E:/Documents and Settings/Administrator/My Documents/workspace/myeclipse/webproj3/WebRoot/WEB-INF/classes/;E:/Program Files/Apache Software Foundation/Tomcat 5.5/shared/classes/;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/classes/;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/i18n/tomcat-i18n-en.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/i18n/tomcat-i18n-es.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/i18n/tomcat-i18n-fr.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/i18n/tomcat-i18n-ja.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/commons-el.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/jasper-compiler-jdt.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/jasper-compiler.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/jasper-runtime.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/jsp-api.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/naming-factory-dbcp.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/naming-factory.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/naming-resources.jar;E:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/servlet-api.jar;E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/bin/bootstrap.jar;E:/Program%20Files/Java/jre1.5.0_04/lib/ext/dnsns.jar;E:/Program%20Files/Java/jre1.5.0_04/lib/ext/localedata.jar;E:/Program%20Files/Java/jre1.5.0_04/lib/ext/sunjce_provider.jar;E:/Program%20Files/Java/jre1.5.0_04/lib/ext/sunpkcs11.jar;
2005-sep-15 16:43:11 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2005-sep-15 16:43:12 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
2005-sep-15 16:43:12 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
2005-sep-15 16:43:13 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
2005-sep-15 16:43:13 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
2005-sep-15 16:43:13 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2005-sep-15 16:43:14 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2005-sep-15 16:43:14 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/297 config=null
2005-sep-15 16:43:15 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2005-sep-15 16:43:15 org.apache.catalina.startup.Catalina start
INFO: Server startup in 7969 ms
Riyad KallaMemberThe Url that I am using is: http://localhost:8080/webproj3/jsp/date.jsp
If you navigate to your <tomcat 5 directory>\webapps\webproj3\jsp directory, do you have a date.jsp file? What is it’s contents?
My Webroot is: WebRoot (I’ve added this to the Tomcat properties in the sysdeo plugin)
I am not farmiliar with Sysdeo or how it functions, so if this is a launching issue because of Sysdeo, I cannot help.
nazar_jaberMemberMy fault, I used the Sysdeo plugin (I’m new to MyEclipse), now I’m using MyEclipse runtime environment and everything is working fine.
Thank you for your help and time. -
AuthorPosts