For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 2 voices, and was last updated 19 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
Austin ZiehlkeMemberUsing MyElipse 4.0.3, OC4J Standalone.
Had completed initial development in JDeveloper and deployment of EAR to Oracle Sever was successful. Rebuilt the same project in Eclipse and tried to deploy with Orion to the OC4j Standalone. The deployment appears to be correct, can see my initial JSP page, but when I reference the Provider.xml for the developed Portal all that is displayed is the XML, the page is not processed and rendered as it is when distributed with JDeveloper.
As a side note I downloaded the Oracle Portal Tools and added those to my OC4j standalone instance (they are EAR files also) and they render correctly.
So I think there is something I am missing when I build the EAR in the MyEclipse IDE. And I want to know if anyone else is doing anything like this and if they have any tips for me to get my Provider page to render correctly?
I can provide some details to my environment if it will help.Thanks and best regards
December 5, 2005 at 12:25 pm #242641
Riyad KallaMemberMoving to Deployment.
Also, you mentioned when you referenced the XML page directly when deployed from JDeveloper it worked fine, but when deployed from MyEclipse you actually got the contents of the file, that sounds suspiciously like a url-mapping issue in your web.xml file. JDevelop may be adding a url-mapping to *.xml files for you that redirects to your servlet to process the request, but in MyEclipse we don’t instrument projects in any way to avoid the issue of “works in the IDE, breaks outside of it” that happens with IDEs that do a lot of magic behind the scenes.
December 6, 2005 at 9:03 am #242693
Austin ZiehlkeMemberThanks for the reponse, it was very helpful. I edited my web.xml file and although Eclipse complains there is a bug in my xml file I can not see what I am suppose to see on the OC4J standalone server I have on my desktop. My follow up question is how do I deploy to a remote server through the Eclipse IDE? I have an full up oracle server running on my network and I want to put my Portlets up there to test, is there a way I can configure the Orion settings to point to that server? So far, just putting the server address and port in the Orion settings does not do it. When I do the deploy it appears to be doing something but I don’t see my portlets on the remote server.
December 6, 2005 at 9:09 am #242696
Austin ZiehlkeMemberSorry, the previous post should read that I can see what I am suppose to see on the OC4J standalone server. I am still looking for a way to deploy to a remote server though. Perhaps I don’t understand the fields in the Orion server settings under MyEclipse->Application Servers
December 6, 2005 at 10:00 am #242705
Riyad KallaMemberMy follow up question is how do I deploy to a remote server through the Eclipse IDE?
You can either export your project to a WAR and copy it to the remote server, or you can mount the deployment directory from your remote server to a local dir, and then use a Custom Location deployment for the project to deploy it there.
So far, just putting the server address and port in the Orion settings does not do it. When I do the deploy it appears to be doing something but I don’t see my portlets on the remote server.
This fashion of deployment is not supported; more specifically MyEclipse won’t create a remote connection to the server and deploy the app into it, the reason for this is that our connectors support so many servers it is not possible for us to implement this functionality for every server in a timely fashion… also most servers don’t support that functionality. So for now use my suggestions above.
Perhaps I don’t understand the fields in the Orion server settings under MyEclipse->Application Servers
These don’t effect the deployment, leave these fields setup to your local instance. Instead when you create the deployment, you can use a Custom Location and point to a remotely mounted directory instead that is actually mounted from the main server, for example.
-
AuthorPosts