For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 3 voices, and was last updated 20 years, 8 months ago by
Scott Anderson.
-
AuthorPosts
-
mark.a.oneilMemberHello,
I am working on two systems, one OS X and one XP, running what I believe to be identical J2EE development environments (JVM 1.4.2, Tomcat 5.0, Eclipse 3.1, MyEclipse 4.0.3 GA, same configurations).
When I deploy locally and try and access the app I have to use different URLs in the MyEclipse Web Browser. eg:
OS X: localhost:8080/helloworld/helloworld.jsp
XP: localhost:8080/helloworld/WebRoot/helloworld.jspI obviously(?) do not have identical installations or there is simply a difference in the way the XP version deploys.
I would like to know which.
Thank you,
-m
December 15, 2005 at 6:49 am #243105
Riyad KallaMemberMark,
I believe your projects are setup differently. The case on XP shouldn’t happen, the path in OS X is correct.Open your project properties and go to MyEclispe-Web preferences, are they the same for both projects?
Also to check if you have the same setups, you can do MyEclipse > About > Configuration Details
December 15, 2005 at 11:44 am #243139
mark.a.oneilMemberHello,
Yes I thought it odd that the paths would be different.
Properties:
On my OS X project I have:
Web-root folder: WebRoot
Web Context-root: /helloworldOn my XP project I have:
Web-root folder: /WebRoot
Web Context-root: /helloworldSo no they do not match exactly, but I cannot edit the Web-root folder entry….
As for the configuration of Eclipse/MyEclipse I just noticed that things are a bit out of sync eg:
On OS X I am using 3.1 started with 1.4.2_9 and on XP I am using 3.1.1 started with JVM1.5 (though I have the SDK for Tomcat 5 set to be 1.4.2)
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_05*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.3 GA
Build id: 20051025-4.0.3-GA-m
December 15, 2005 at 11:48 am #243143
Riyad KallaMemberM, switch to your navigator view on XP, and open the .mymetadata file, in there you should be able to edit the path and save it. Then close and reopen your project (be sure to remove any deployments ahead of time) then see if that does the trick.
December 16, 2005 at 2:01 pm #243228
mark.a.oneilMemberFirst I created a project and made certain it worked as expected (removed the / from the WebRoot entry), then I removed deployments for the dysfunctional helloworld, edited it’s .mymetadata file to mirror the WebRoot entry of the functioning project, saved, closed and reopened the project for good measure, redeployed and no joy…. I am certain that it may be something significant that I did on creating the project, but cannot see it. If you wish to pursue this further that is okay with me, if not that is fine also. This project is only a small test anyway so it is not a problem on my end – I am happy to note that I should test first before getting heavily into a project.
I believe that the dysfundctioinal project was created with a WebRoot of /WebRoot and the one that works was created with WebRoot.
regards,
-mDecember 16, 2005 at 5:30 pm #243253
Scott AndersonParticipantI believe that the dysfundctioinal project was created with a WebRoot of /WebRoot and the one that works was created with WebRoot.
Ah, that makes some sense as the name of the directory shouldn’t include the ‘/’ character since it’s reserved. I’d try recreating the project and moving the artifacts over as a fast way to get moving again.
-
AuthorPosts
