- This topic has 22 replies, 2 voices, and was last updated 19 years, 9 months ago by patmeth.
-
AuthorPosts
-
Riyad KallaMemberLet’s take this from the top again… Glenn I re-read your original post and noticed you are trying to “run” the JSP page… when in fact you really should just be opening a browser and pointing it at the JSP page. I believe in NetBeans they wrap the “Run” command to mean “open up a browser and show this page”, in MyEclipse we encourage you to do it manually as if sites/pages are dynamic enough simply loading a single page may make no sense.
So now, given that, does the app run at all or are you still getting exceptions from the Tomcat console when you try and view any of the pages?
patmethMemberJRun, and the standalone Tomcat don’t run outside the MyElipse IDE on my home computer. I get some errors. The Tomcat server supplied with the Netbeans 4.0 does run on my home computer They do run on my work computer inside the MyElipse IDE though. Hence I get the error message that I pasted in the previous post.
Does this help? I have Eclipse 3.0.1, JDK 1.5 and the latest version of MyEclipse. I am currently on the trial version but want to subscribe to the annual subscription only if the MyEclipse IDE works.Thanks,
Glenn.
Riyad KallaMemberGlenn,
After talking through your situation with another support person we came to the conclusion that there seems to be fundamental confusion here with how things should work.We would appreciate it if you could go, step-by-step, though our Working with Web Projects documentation here: http://myeclipseide.com/enterpriseworkbench/help/topic/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.html
Let us know at which step you get confused or stuff doesn’t work and then we are atleast trouble shooting the same situation (as opposed to us troubleshooting an unknown setup on your home machine).
Now you might be thinking “what the hell, this works fine at work, why not at home?”. Honestly, I have no idea. Your home setup sounds completely fine, nothing out of the ordinary… (unless you are using Eclipse JDT/RCP/Platform installs and NOT the 82mb SDK install, that would be a problem) and since you have no exceptions in your log file we have even less to go off of… overall a strange situatoin, so we wanted to take this back-to-basics approach with a scenario that is constant for all of us.
patmethMemberOk, Riyad I will give that a shot and let you know what happens. I have a laptop and desktop at home. The laptop is where I have the problem. Since my desktop does not have an Java, I will install everything and try out your link and see what happens Thanks again for all the efforts to help.
patmethMemberI also thought of mentioning that I don’t have problem running standing console Java applications in Eclipse, so it has something to do with the Web Servers.
patmethMemberRiyad,
I installed JBoss and Apache on my home desktop after installing the JDK 1.4(this was a clean machine without any Java on it). I was able to run the web application at the link you sent me. For some reason I am unable to run it on my laptop for any web server and I get the message that I pasted to you. Any suggestions? If not, I will just stick with my desktop for now.
Also, other than typing the url to access the web app, is there any other way to “run” a web application in eclipse (like selecting “Run” in Netbeans. I could not come across such an option in Eclipse. Such an option would make things easier.
Also, is there any quick way to insert servlet mappings into the web.xml fine when adding a servlet other than looking up the syntax and typing in in. Netbeans automatically inserts servlet mappings into the web.xml configuration file and so I wondered.
Thanks,
Glenn.
Riyad KallaMemberAny suggestions? If not, I will just stick with my desktop for now.
Without having the laptop infront of me, I’ve gone through all the general things it could be, so no suggestions. Sorry.
Also, other than typing the url to access the web app, is there any other way to “run” a web application in eclipse (like selecting “Run” in Netbeans. I could not come across such an option in Eclipse. Such an option would make things easier.
NetBeans’s “Run” command wraps a 2-step process: 1) Run the app server, 2) open the page you “Ran” in a browser. In MyEclipse we don’t have this feature quite yet but agree it is a nice time saver. What you can do is run your app server and then use the Web Browser button to the right of the app server toolbar button and just type in your URL there so you can have everything within your IDE.
Also, is there any quick way to insert servlet mappings into the web.xml fine when adding a servlet other than looking up the syntax and typing in in. Netbeans automatically inserts servlet mappings into the web.xml configuration file and so I wondered.
File > New > J2EE > Servlet will do this for you.
patmethMemberRiyad,
Man, wish I could fly my laptop to you 🙂
Thanks for all the help.
Glenn. -
AuthorPosts