- This topic has 1 reply, 1 voice, and was last updated 19 years ago by
aliant_mwalker.
-
AuthorPosts
-
aliant_mwalkerMemberfor pre-history (not particularly relevant) please review other messages of same topic.
Review: I could get MyEclipse to start Orion, but did not appear to get orion to autodeploy.
The initial error that I had was caused by the direction of the / in the autodeploy entry.
(corrected)
application-auto-deploy-directory=”../application-autodeploy”corrected that, and I started to get the message indicating that the application deployed.
There is a new message however:
Error initializing web-site at ./default-web-site.xml: default-web-app not specified for Default Orion WebSite
The server.xml is:
<?xml version=”1.0″?>
<!DOCTYPE application-server PUBLIC “-//Evermind//DTD Orion Application-server//EN” “http://www.orionserver.com/dtds/application-server.dtd”><application-server application-directory=”../applications”
application-auto-deploy-directory=”../application-autodeploy”
deployment-directory=”../application-deployments”
>
<rmi-config path=”./rmi.xml” />
<log>
<file path=”../log/server.log” />
</log>
<transaction-config timeout=”30000″ />
<global-application name=”default” path=”application.xml” />
<application name=”test” path=”C:\orion\orion\application-autodeploy\test.ear” auto-start=”true” />
<global-web-app-config path=”global-web-application.xml” />
<web-site path=”./default-web-site.xml” />
<cluster id=”-2757750626″ />
</application-server>This default web site exists and still works despite the error. (default-web-site.xml)
<?xml version=”1.0″?>
<!DOCTYPE web-site PUBLIC “Orion Web-site” “http://www.orionserver.com/dtds/web-site.dtd”><web-site port=”8080″ display-name=”Default Orion WebSite”>
<access-log path=”../log/default-web-access.log” />
</web-site>The new app is not visible.
The documentation is related to default-web-application not this error. The only thing that I can think of is that my auto-deployment directory is at the same level in the directory structure of the Orion home directory. Other than the entry for auto-deploy, I have not made changes to the config files in this attempt (not first).
1. Is there a configuration in myEclipse to change the autodeploy directory, or is there a better way to fix this, i.e. the right way.
Regards,
Mark W.
aliant_mwalkerMemberSolution:
Uninstall oracle HTTP Server (came as default with Oracle DB)
Reinstall Orion from scratch to a different directory
Changed just the server.xml to add autodeploy entry and default-app to use port 8080
Modified MyEclipse Entry for Orion 1 Server to new directory
Created New EAR application from scratch with Web App
Copied Web resources from old application to new
Deployed (packaged only)
Picked it up and was accessible.All newbie mistakes, sorry for wasting everyone’s time.
-
AuthorPosts