- This topic has 5 replies, 2 voices, and was last updated 18 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
Sreenivas VulliMemberHi,
I am trying to configure Oracle’s AS 10.2 to deploy and run my applications using myeclipse.
I was having hard time with it. Can you point me to any documentation on how to configure, deploy and run the application under oracle AS.Thanks
Sreenivas
Riyad KallaMemberSreenivas,
Please be more specific. What kinds of problem? Did you deploy your EAR as a packaged archive, then login to the Oracle admin console and “install” or “deploy” the EAR?
Sreenivas VulliMemberHi Riyad,
I configured the Oracle AS from myeclipse server configurations. I deployed the application as a package from eclipse using add/remove deployments option, it copied the .war file under c:/oc4j/j2ee/home/application-autodeploy folder.
I started the server using run as opiton, the .war file is automatically exploded into a dir under the same folder.
I opend the browser and typed the URL, it gives me file cannot be found page.
my server.xml is as below:<?xml version=”1.0″ standalone=”yes”?>
<!DOCTYPE application-server PUBLIC “Orion Application Server Config” “http://xmlns.oracle.com/ias/dtds/application-server-9_04.dtd”>
<application-server application-directory=”../applications” application-auto-deploy-directory=”../application-autodeploy” deployment-directory=”../application-deployments” connector-directory=”../connectors”>
<rmi-config path=”./rmi.xml”/>
<!– JMS-server config link, uncomment to activate the JMS service –>
<jms-config path=”./jms.xml”/>
<j2ee-logging-config path=”./j2ee-logging.xml” />
<log>
<file path=”../log/server.log”/>
</log>
<global-application name=”default” path=”application.xml”/>
<global-web-app-config path=”global-web-application.xml”/>
<!– <web-site path=”./secure-web-site.xml” /> –>
<web-site path=”./http-web-site.xml”/>
<!– Uncomment the following, to deploy these apps.
<application name=”callerInfo” path=”../jazn/demo/callerInfo/callerInfo.ear” />
<application name=”ssoInfo” path=”../jazn/demo/ssoInfo/build/ssoInfo.ear” />
<application name=”ejbsamples” path=”../demo/ejb” />
<application name=”news” path=”../applications/news.ear” />
<application name=”logger”
path=”../demo/messagelogger.ear” />
<application name=”petstore”
path=”../applications/estore-patched.ear” />
<application name=”ws_example” path=”../demo/web_services/java_services/ws_example.ear” />
<application name=”ojspdemos” path=”../demo/ojspdemos.ear” />
–>
<!– Compiler, activate this to specify an alternative compiler such
as jikes for EJB/JSP compiling. –>
<!– <compiler executable=”jikes” classpath=”/myjdkdir/jre/lib/rt.jar” /> –>
<java-compiler name=”javac” bindir=”C:\\jdev10.1.2\\jdk\\bin” /><application name=”eSubmittal” path=”../application-autodeploy/eSubmittal”/>
</application-server>
I have application.xml under my application directory as below:
<?xml version=”1.0″?>
<!DOCTYPE application PUBLIC “-//Sun Microsystems, Inc.//DTD J2EE Application
1.2//EN” “http://java.sun.com/j2ee/dtds/application_1_2.dtd”>
<application>
<display-name>eSubmittal</display-name>
<module id=”myeclipse.1081260834687″>
<web>
<web-uri>/</web-uri>
<context-root>/eSubmittal</context-root>
</web>
</module></application>
Please help me with this..
Thanks
Sreenivas
Riyad KallaMemberSreenivas,
I can’t help you with your Oracle setup so the server.xml file is unnecessary. I would suggest you login to Oracle’s admin console and verify that your application is infact “Deployed” so your app server can see it and is hosting it.If you are not developing EJBs, I also suggest using an easier/smaller server like Tomcat for development.
Sreenivas VulliMembernever mind..i found the solution.
Riyad KallaMemberWould you mind posting what you did for other users using Oracle?
-
AuthorPosts