How to deploy a servlet on WebLogic 6.1

          I have tried to deploy a servlet using WL6.1 following the instructions at this URL
          : http://edocs.beasys.com/wls/docs61/quickstart/quick_start.html
          but whenever I try to access the servlet from the web browser I get a HTTP 404 -
          Not Found message. The only step I omitted was step 2, as my servlet does not have
          package.
          Could anyone please advise ? Thanks.
          

          The inner classes are located in the same directory as the servlet itself, so isn't
          that part of the classpath by default. (i.e. java classes in the same package
          in the same folder find each other just fine).
          "Deepak Vohra" <[email protected]> wrote:
          >
          >Add the directory containing the inner classes to the Classpath.
          >
          >thanks,
          >
          >Deepak
          >
          >"Brian Schneider" <[email protected]> wrote:
          >>
          >>Yeah I've done that many times and redployed the war file. I even stopped
          >>and
          >>started the server each time still to no avail. Very frustrating.
          >>
          >>"Deepak Vohra" <[email protected]> wrote:
          >>>
          >>>Redeploy web application after servlet has been modified.
          >>>
          >>>http://edocs.bea.com/wls/docs70/webapp/
          >>>
          >>>
          >>>thanks,
          >>>
          >>>Deepak
          >>>
          >>>
          >>>
          >>>"Brian Schneider" <[email protected]> wrote:
          >>>>
          >>>>Makes sense. I made those public and for some reason it still is
          >doing
          >>>>the same
          >>>>thing:( Thanks again. Anything else would be great.
          >>>>
          >>>>"Deepak Vohra" <[email protected]> wrote:
          >>>>>
          >>>>>If a servlet as inner classes, the inner classes are loaded by a
          >different
          >>>>>classloader
          >>>>>than the Servlet class. For the servlet class to acces the inner
          >classes
          >>>>>make
          >>>>>the inner classes public.
          >>>>>
          >>>>>
          >>>>>"Brian Schneider" <[email protected]> wrote:
          >>>>>>
          >>>>>>Does it matter if the ExcelExport has inner classes (i.e. when compiled,
          >>>>>>3 class
          >>>>>>files exist)? The JspView is only one class.
          >>>>>>
          >>>>>>"Brian Schneider" <[email protected]> wrote:
          >>>>>>>
          >>>>>>>Yes... the compiled class is in the WEB-INF\classes\export (just
          >>>as
          >>>>>>the
          >>>>>>>JspView
          >>>>>>>is in the WEB-INF\classes\view folder).
          >>>>>>>
          >>>>>>>
          >>>>>>>"Deepak Vohra" <[email protected]> wrote:
          >>>>>>>>
          >>>>>>>>Is the ExportExcel servlet in the DefaultWebApp/WEB-INF/classes/export
          >>>>>>>>directory?
          >>>>>>>>
          >>>>>>>>
          >>>>>>>>
          >>>>>>>>Brian Schneider <[email protected]> wrote:
          >>>>>>>>>I am getting the same problem... but with my package defined.
          >>
          >>>The
          >>>>>>>weird
          >>>>>>>>>thing is the JspView works fine but the ExcelExport does not,
          >>even
          >>>>>>>though
          >>>>>>>>>(to me) they are configured the same. Here's the details of
          >my
          >>>>web.xml.
          >>>>>>>>>
          >>>>>>>>> <servlet>
          >>>>>>>>> <servlet-name>JspView</servlet-name>
          >>>>>>>>> <servlet-class>view.JspView</servlet-class>
          >>>>>>>>> </servlet>
          >>>>>>>>> <servlet>
          >>>>>>>>> <servlet-name>ExportExcel</servlet-name>
          >>>>>>>>> <servlet-class>export.ExportExcel</servlet-class>
          >>>>>>>>> </servlet>
          >>>>>>>>> <servlet-mapping>
          >>>>>>>>> <servlet-name>JspView</servlet-name>
          >>>>>>>>> <url-pattern>/servlet/view.JspView</url-pattern>
          >>>>>>>>> </servlet-mapping>
          >>>>>>>>> <servlet-mapping>
          >>>>>>>>> <servlet-name>ExportExcel</servlet-name>
          >>>>>>>>> <url-pattern>/servlet/export.ExportExcel</url-pattern>
          >>>>>>>>> </servlet-mapping>
          >>>>>>>>
          >>>>>>>
          >>>>>>
          >>>>>
          >>>>
          >>>
          >>
          >
          

Similar Messages

  • How To Deploy Jsp project in Weblogic 8.1

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.(1) Create a standard WAR file that contains your JSPs.
    (2) Deploy to WebLogic by any number of means (e.g., Ant tasks, putting WAR file in application directory for your WL domain, etc.)
    %

  • How to deploy the servlet in  ebs r12?

    Can anybody give me some advices for deploy servlet in ebs r12 application server?

    Hi robbie;
    Please check Note:How to deploy Business Components JSP Application to Oracle Servlet Engine (OSE) [ID 136187.1]
    Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12 [ID 437878.1]
    Also check:
    Deploying servlet in  ORACLE R12
    how to deploy a servlet in EBS R11
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=610191
    Regard
    Helios

  • How to deploy web application to Weblogic?

    Does anyone know how to deploy web application to Weblogic8.1?

    Hello,
    I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: java/lang/StringBuilder
         at servlets.ResponseServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
    Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
    Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers).

  • How to deploy a Servlet on OAS??

    I have created a Servlet, which accepts username and password,
    and connects to the Oracle database and executes a particular
    query and displays the results.
    From JDeveloper 2.0 it works fine.
    What is the procedure to deploy it. Can someone help me with it.
    Thanks,
    Sajjad
    null

    Mozein Sajjad (guest) wrote:
    : I have created a Servlet, which accepts username and password,
    : and connects to the Oracle database and executes a particular
    : query and displays the results.
    : From JDeveloper 2.0 it works fine.
    : What is the procedure to deploy it. Can someone help me with
    it.
    : Thanks,
    : Sajjad
    You have a tutorial on the OAS408 documentation.
    It can show you how to deploy the helloworld servlet.
    null

  • How to deploy shsc applications on weblogic server

    I have weblogic 8.1 with sp3. Any pointers on how to deploy sjsc created applications on Weblogic.
    I am able to deploy sample jsf programs created without using the IDE without any hitches, I am unable to deploy the war file created by the Sun java studio creator.
    Thanx
    Inder

    Hello,
    Although we don't support incremental deployment
    to other App Servers, you can export a WAR file.
    In the Project Navigator, select the Project , right-click
    and choose context menu, "Export WAR File"
    Also, these pages may help:
    http://wiki.java.net/bin/view/People/DeployingCreatorApps
    http://developer.sun.com/prodtech/javatools/jscreator/reference/faqs/technical.jsp
    See #6
    How will web applications developed with Java Studio Creator be deployed to servers other than Java System Application Server 8, Platform Edition? SDN Standard subscription required.
    John
    JSC QA

  • How to deploy a servlet in EBS R11

    I need to deploy a personal servlet in EBS R11, and I have no idea about where or how to do that.
    Please can some one help me?
    thinks a lot

    Brahim,
    There is are some testing servlets used in 11i,
    For testing purpose you can deploy your servlet in the following directory,
    $COMMON_TOP/java/oracle/apps/fnd/test
    The standard testing servlet can be accessed from
    http://host:port/oa_servlets/oracle.apps.fnd.test.HelloWorldServlet
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • How to deploy oracle forms in weblogic server

    Hi,
    I have a 10g forms. How to deploy this oracle form in weblogic 11g?. I am new to this weblogic. I think this combination is new to weblogic(weblogic with forms). i configured the weblogic 11g in my machine and i have admin server only. And also I have .fmx(i.e executable version of form).how to use this .fmx to deploy in weblogic?This executable work fine in OAS. What need to be done for deploy this form in weblogic. Can anybody provide the solution for this ASAP?
    Edited by: user11337450 on 10-Sep-2009 02:11
    Edited by: user11337450 on 10-Sep-2009 02:13

    this might help.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e10240/basics.htm
    I am deploying forms in weblogic, too. Can you tell me how did you upgrade forms from 10g to 11g? Did you install HTTP Aphace server seperately or it come with weblogic server or Orcale portal, forms installation. any input will be appreciated.

  • How to deploy entity bean in weblogic

    Hi frnds,
    can anybody tell me that
    how to deploy entity bean in weblogic8.1
    i want to know step by step process.
    bcoz i am totally new for weblogic
    thanks & regards

    WebLogic 8.1 docs.

  • How to deploy mar file in weblogic

    Hi,
    I have a mar file present in an ear file.
    This mar file is used by ESS ( enterprise scheduler service ) . It has some xml files which defines the job/job definitions which we can schedule.
    I try to deploy the ear having mar file to weblogic.
    But it seems that weblogic is not picking up the mar file for deployment. I get an exception ( job definition files not found ) , when i try to use ess service.
    Regards,
    Harsha

    I think a .MAR file is not a deployment file supported by WebLogic Server

  • How to deploy a servlet on the internet

    Hi all, Please, i'll like to know if anyone has ever hosted a servlet. I'm not new to java but new to servlets. I already deployed my servlet using j2ee 1.4 and everything works perfectly on lacalhost but i'm stuck trying to upload it online. I have an apache server so where should i put the .ear file and others..
    Thank you in advance.

    I finally got deployed the servlet on my server but still have a little problem.. It works perfectly well on Internet Explorer but on mozilla firefox, it comes out in html code form like dis:
    *<html><head><title>TFSSEC ONLINE ACCOUNT</title><link rel=stylesheet href=style.css type=text/css charset=utf-8 /><style type=text/css><!--.style1 {font-size: 36px;font-weight: bold;font-family: Courier New, Courier, mono;}--></style></head><body bgcolor=#999999><br><br><center><u><font size=4>ACCOUNT INFORMATION FOR PATIENCE YESUFU<br><br></u></font><table align=center border=1 width=80% bgcolor=#003366 cellspacing =5 cellpadding =5><tr>*
    *<TH align=left>EFFDATE</TH>*
    *<TH align=left>ACCOUNTID</TH>*
    *<TH align=left>LEDGERTYPE</TH>*
    *<TH align=left>CREDIT</TH>*
    *<TH align=left>DEBIT</TH>*
    *<TH align=left>DEBCRED</TH>*
    *<TH align=left>DESCRIPTION</TH>*
    *<TH align=left>TRANSTYPE</TH>*
    *</TR>*
    *<TR>*
    *<TD><font color=white><strong>2007-10-02 00:00:00</TD></font></strong>*
    *<TD><font color=white><strong>00001</TD></font></strong>*
    *<TD><font color=white><strong>NGN</TD></font></strong>*
    *<TD><font color=white><strong>26830.349</TD></font></strong>*
    *<TD><font color=white><strong>0</TD></font></strong>*
    *<TD><font color=white><strong>C</TD></font></strong>*
    *<TD><font color=white><strong>STOCK SALE: 1300 PZ @ 21.2</TD></font></strong>*
    *<TD><font color=white><strong>STKBSALE</TD></font></strong>*
    *</TR>*
    please, can anybody help me...

  • How to install a servlet on weblogic ??

    Hi : (I have Weblogic Server 6.0 on Redhat 6.2)
                   I have a simple servlet from bea tutorials :
              import javax.servlet.*;
              import javax.servlet.http.*;
              import java.io.*;
              public class HelloWorldServlet extends HttpServlet {
              public void service(HttpServletRequest req,
              HttpServletResponse res)
              throws IOException
              // Must set the content type first
              res.setContentType("text/html");
              // Now obtain a PrintWriter to insert HTML into
              PrintWriter out = res.getWriter();
              out.println("<html><head><title>" +
              "Hello World!</title></head>");
              out.println("<body><h1>Hello World!</h1></body></html>");
              where i put the compiled class ¿?¿?
              can i do this on live ¿?¿?
              how can i do to "execute" my simple servlet ¿?¿?¿?
              i'm very new to WL .
              A simple HelloWorld does not work ¿?¿?
              I'm impressed for the difficulty of WL , i am looking for
              change all to Tomcat or JRUN or so ...
              Thanks
              

    This is a very basic servlet and deploying it to WL is actually pretty
              straightforward. Before you abandon WL, go to:
              http://e-docs.bea.com/wls/docs61/servlet/introprog.html#134557
              This example will take you step-by-step through the process...
              email me directly if I can help!
              Rob
              "Victor" <[email protected]> wrote in message
              news:[email protected]...
              > Hi : (I have Weblogic Server 6.0 on Redhat 6.2)
              > I have a simple servlet from bea tutorials :
              >
              > import javax.servlet.*;
              > import javax.servlet.http.*;
              > import java.io.*;
              >
              > public class HelloWorldServlet extends HttpServlet {
              > public void service(HttpServletRequest req,
              > HttpServletResponse res)
              > throws IOException
              > {
              > // Must set the content type first
              > res.setContentType("text/html");
              > // Now obtain a PrintWriter to insert HTML into
              > PrintWriter out = res.getWriter();
              >
              > out.println("<html><head><title>" +
              > "Hello World!</title></head>");
              > out.println("<body><h1>Hello World!</h1></body></html>");
              > }
              > }
              >
              >
              > where i put the compiled class ¿?¿?
              > can i do this on live ¿?¿?
              > how can i do to "execute" my simple servlet ¿?¿?¿?
              > i'm very new to WL .
              > A simple HelloWorld does not work ¿?¿?
              >
              > I'm impressed for the difficulty of WL , i am looking for
              > change all to Tomcat or JRUN or so ...
              >
              > Thanks
              

  • Deploying simple servlet on WebLogic

              Hi,
              I have created a simple servlet which reads
              a few things from Oracle database and displays
              it on the screen.
              I am trying to deploy it on WebLogic 7 (or 5.1).
              How do I do it ?
              Do I have to go through Portlet and all that complexity ?
              Sorry, never used Weblogic before.
              Thank you in advance,
              Oleg.
              [email protected]
              

              Copy servlet class to config/mydomain/applications/
              DefaultWebApp/
              WEB-INF/classes directory.
              Modify the web.xml file located in the config/mydomain/applications/
              DefaultWebApp/
              WEB-INF/ directory
              <web-app>
              <servlet>
              <servlet-name>
              servlet
              </servlet-name>
              <servlet-class>
              package.name.servlet
              </servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name>
              servlet
              </servlet-name>
              <url-pattern>
              servlet
              </url-pattern>
              </servlet-mapping>
              </web-app>
              Call your servlet from a Web browser with the following URL:
              http://localhost:port/servlet
              "Oleg Konovalov" <[email protected]> wrote:
              >
              >Hi,
              >
              >I have created a simple servlet which reads
              >a few things from Oracle database and displays
              >it on the screen.
              >
              >I am trying to deploy it on WebLogic 7 (or 5.1).
              >
              >How do I do it ?
              >Do I have to go through Portlet and all that complexity ?
              >
              >Sorry, never used Weblogic before.
              >
              >Thank you in advance,
              >Oleg.
              >[email protected]
              

  • How to deploy a servlet in EBS

    I need to deploy a personal servlet in EBS, and I have no idea about where or how to do that.
    Please can some one help me?
    thinks a lot

    For R12, It need to modify the web.xml in $COMMON_TOP/webapps/oacore/html/WEB-INF/web.xml.
    add
    <servlet>
    <servlet-name>xxxx</servlet-name>
    <servlet-class>xxxx</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>xxxx</servlet-name>
    <url-pattern>/servlet/xxxx</url-pattern>
    </servlet-mapping>
    But for Ebs11i,I can find such a file.Do anyone know this?
    Thanks,
    Binghao

  • How to deploy sdows.ear on weblogic server?

    I am not able to deploy Spatial Web Services (sdows.ear) on weblogic server (WebLogic Server 10.3.3.0).
    I get an error regarding class 'oracle.spatial.ws.logger' not being found.
    Please help.
    regards.

    Hello,
    Although we don't support incremental deployment
    to other App Servers, you can export a WAR file.
    In the Project Navigator, select the Project , right-click
    and choose context menu, "Export WAR File"
    Also, these pages may help:
    http://wiki.java.net/bin/view/People/DeployingCreatorApps
    http://developer.sun.com/prodtech/javatools/jscreator/reference/faqs/technical.jsp
    See #6
    How will web applications developed with Java Studio Creator be deployed to servers other than Java System Application Server 8, Platform Edition? SDN Standard subscription required.
    John
    JSC QA

Maybe you are looking for

  • Using VM Console via App Controller issues

    Hi, We are using self signed certificate for App Controller. We have deployed set of VM's in cloud. When a new user from different domain or non domain users logs in to app controller,every time he opens the VM via console it asks for credentials, an

  • Check box in ALV

    Hi,      i have a checkbox field in the output screen.     I need to capture the selected check box in the output screen of ALV grid display(using FM). When i set the PF status to user defined PF Status in the FM, i am not able to capture the selecte

  • Massive drop in speed

    Just got upgraded the other day and was getting some great speeds upwards of 17meg, however today im lucky if i go above 2.4meg. Whats happend there, is it because its still in the ten day settling period. Router read out below thanks. Uptime: 0 days

  • PO confirmation alerts in SUS portal

    I created PO in R/3 and sent to vendor SUS portal. Then vendor didn't confirmed PO so i sent alerts for PO confirmation to vendor.. Now when I am trying to see alerts in SUS portal, its giving error as: "Error in call of back end function for compone

  • Error While Showing Layout

    Hello All, I am trying to use the new Crystal Reports Integration For Add-Ons functionality in the latest patch levels. I have created a new report type, and than imported crystal report for this new report type. After this, in  my add-on, on the for