Deployment of class file in oracle 10g Application Server

10-11  Source: Network gathering  Views:0 

Advertisement
Hi,
I have a class file
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWorld extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
res.setContentType ("text/html");
PrintWriter out = res.getWriter();
out.println("<HTML>");
out.println("<HEAD><TITLE>Hello World</TITLE></HEAD>");
out.println("<BODY>");
out.println("<BIG>Hello World</BIG>");
out.println("</BODY></HTML>");
now I like to deploy(in oracle 10g Application Server) and run this file.
please help me.
Hi
You have to deploy Servlet as a WAR File. I hope you already have web.xml file which u can get automatically in eclsipse during creation of servelet. I am not sure what ide u r using here. If u have created servlet in eclipse then I would suggest create a project dynamic webproject if u have not where IDE create all required files autmatiicaly and even you can deploy application from there itself.
If you wanted to deploy manually then follow below steps (if u have war file)
I am assuming you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
Thanks
Sujit Singh
Related articles
  • Deployment of class file in oracle 10g Application Server 10-11

    Hi, I have a class file import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res

  • Not Loaded status after deploying a EAR file in Oracle 10g application serv 10-11

    Hi, I am deployed a simple ear file in Oracle App Server 10g. The deployment went on well. But when i use the enterprise manager to see the status , it shows 'Not Loaded'. Can any body kindly give me a suggestion on why this is happening. Any help is

  • Deploy the .ear file in Oracle 10g Application server10.1.3 10-11

    Hi Friends, I have deploy the .ear file in Oracle10g Application Sever 10.1.3 through Enterprise Manager. in Progress Messages shows the application has been successfully deployed,like this when i hit the URL in Web brower, i got a HTTP 403 showing..

  • Error in undeployment the Ear File in oracle 10g Application server 10-11

    Hii while undeploying EAR in Oracle Enterprise Manager 10g. I am getting following error message and an resoluation message,which i could not able to proceed further An error occured while undeploying the application.Base Exception : Another operatio

  • Urgent: problem running reports in Oracle 10g application server 10-11

    Hi all, our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the data

  • Deploying Oracle Retail Applications in Oracle 10g Application Server 11-30

    Hi All.. Can anyone help me to know: How to Deploy Oracle Retail Applications(like RMS,ReIM,RIB) in Oracle 10g Application Server. Regards.Hi Ahmed, It sounds you have not yet had the chance to lay eyes on the installation guides - they are not perfe

  • Installation of Oracle 10g Application Server in custom port or 1522 10-11

    I want to install Oracle 10g Application Server in Port 1522 or some other port as in port 1521 Oracle 10g database server is already installed. But every time I try to install Oracle 10g Application Server it give the warning about 1521 port and the

  • Setting of ICONS in Oracle 10G Application Server 11-30

    Hi... I'm facing a problem of Icons which are not displayed at run time. I'm using Oracle 10G Application Server. plz tell what setting should i do. its urgent. Thanks & Regards Sanjeev Kumar1 did u put the icon file in the forms folder in IAS? 2 Are

  • Anybody installed Oracle 10g application server on windows 2008 (64 bit) se 11-30

    Has anybody installed Oracle 10g application server on OS : windows 2008 (64 bit) server. which version of OAS we should use?l. we are using dell server . regds santosh Edited by: user5429538 on Feb 24, 2010 2:59 AMHi Santosh, Has anybody installed O

  • Auditing in oracle 10g database and oracle 10g application server 11-30

    Dear friends, We have oracle 10g application server and oracle 10g database server in place.My criteria is to audit users connected using oracle application user credentials to the database. Can you please tell me how can i do it. Thanks & regards,It

  • Apply patch 10.1.2.3 on oracle 10g application server 10.1.2.0.2 11-30

    Dear All, i have installed oracle 10g application server 10.1.2.0.2 with infrastructure and forms & report. now i downloaded the patch 10.1.2.3 to apply on it. I have two homes in my application 10g server (infra and forms&report). should first i

  • Oracle 10G application server integrate with e-business suites 11i 10-11

    Hello, Server A: i have one UAT server which is installed with e-business suites 11i. The users logon to discoverer from e-business suites using the username and password stored in e-business suites. Server B: then, i now hv to set up a 10G applicati

  • Error while deploying .ear file on the oracle 10g Application server 10-11

    While deploying the ITS.ear or any other .ear file thru the application server console the screen shows the deploying screen continuously without any errors.The screen shows uploading the .ear file without any errors.Can somebody help me out it 's ve

  • Classpath problem during deployment in oracle 10g application server 11-30

    java.lang.NoClassDefFoundError: oracle/toplink/sessions/UnitOfWork      at java.lang.Class.forName0(Native Method)      at java.lang.Class.forName(Class.java:219)      at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].ser

  • Issue with lock file in Oracle 10g app server - MDB not running 10-11

    Hi, I have Oracle 10g & MQ 6 on my laptop. I generated JNDI bindings for app server-MQ by giving ip address of my machine first. Then i changed it to "localhost" & generated new set of .bindings file. With this new set i am able to send

  • Oracle 10g Application Server Installation Error 11-30

    Hi Everyone! This is my first time to install Ora10g Apps Server and I encountered an error at 2 assistant configuration point. By the way, I'm installing it in a Windows Server 2003. I encountered the first road block at Oracle Database Configuratio

  • How to modify Java options in Oracle 10g Application Server 11-30

    I am trying to modify the Java Options to specify the following field: -Djavax.xml.transform.TransformerFactory= org.apache.xalan.processor.TransformerFactoryImpl But I am unable to locate the Server Properties section on the Administration section.

  • Facing issue while deploying in oracle 10G application server 11-30

    java.lang.NoClassDefFoundError      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseBinding(RuntimeWSDLParser.java:460)      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:357)      at com.sun.xml.ws.wsdl.parser

  • Error while deploying a war file in Oracle Weblogic 10gr3 server 10-11

    Hi I am trying to deploy a web application which uses Hibernate 3 in Oracle weblogic 10gr3.But I am getting following exception.The same application gets deployed in tomcat without any problem. urce [WEB-INF/servicesContext.xml]: Cannot resolve refer

  • How to run servlets in Oracle 10g Application server 10-11

    I have tried running the simple servlet given in this URL oracle.com/technology/sample_code/tech/java/servlets/samples/hellouser. The following error comes when i try to access it "Invalid protocol verification, illegal ORMI request or request perfor