OAS with java servlets

Hi All,
I have a application which is developed in Java servlets using JDeveloper tool.
I have a OAS (version 10.2) installed in sun solaris platform.
My question is, How can I deploy my application (developed in java servlets) in Oracle application server ?
Thanks in advance.

Greetings,
Could you please provide more details about the servlets (type, function etc.) and your environment per:
http://forums.oracle.com/forums/ann.jspa?annID=818THX
-Mike

Similar Messages

  • BC4J and OAS with Java Application Client

    Could you show me an example about using the BC4J and OAS with Java Application client.
    The JDeveloper Help is not enough to solve this kind of problem.
    Configuration:
    Jdeveloper 3.1
    OAS 4.0.8.1
    Database 7.3.4
    null

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • Please help to upload with java servlet

    I want to install a java servlet uploader on my web site and i try to do it many times but i can't beacuse i dont know what are the essentials that should be found on the server to install java servlet in right way ..
    so please help me to do this .. and tell me what i need to upload files correctly with java servlet .
    any help will be appreciated ..
    thank you !

    Hello newton ..
    I only want to know what are the requirments that let me use the java servlet on linux system .. because i want use an uploader using java servlet ..
    thank u newton ..
    any help will be appreciated

  • How to connect microsoft sql with java servlets

    what are steps i should do after writing servlet program to connect with microsoft sql. what coding should i add in web.xml file.if any other steps mention it. i didn't get output or err msg in browser.if i should install jdbc drivers seperately for sql mention it.

    Hi,
    Try to find a DataBase driver for MS SQL ( type 4 which is a pure java) first and put it on the class path i.e under ../lib
    Then in your sevlet, load the DriverManager and from it get a connection to the database as per JDBC spec.
    Regards.
    Alan Mehio
    LONDON, UK

  • How to produce image map with java servlet?

    Hello,
    I know the way to produce an image map from a static image. And I also know how to use ServeltOutputStream to generate an image on the fly. But I don't know how to use the dynamically generated image to produce an image map. Can anyone help me? Thanks a lot!
    Louis

    The database is a BioSQL database and I am using Biojava "BioSQLSequenceDB class" to access it. Sorry I don't really know the schema of the BioSQL
    The easiest example is to ignore the database totally.
    At the moment, I just want to do the folloing thing:
    1. Use HTML form to retireve the height and length of a rectangle that user specified
    2. draw the rectangle on the fly
    3. make the rectangle a hyper link to an HTML documet, which represents "Hello world" to the user
    Could you show me how to do it please?
    Thanks very much.
    Louis

  • Using Java Servlet with CSV

    Hello!!
    I would be obliged if some one could tell me anyway of using CSV (Collaborative Source Versioning) with Java Servlets. I have searched and the only package that I have found is jCSVSlet but I can't figure out how to use it. I would be obliged if anybody could point out any other packages that can be used for File Versioning or if anybody could send me any examples of JCSVSlet or any other related software.
    Saad Tawwab

    And what do you mean by "with"? Do you want to control versions of the source code of the servlets, or do you want to write a servlet to control version of the source code of something else?

  • Problem with JSP and Java Servlet Web Application....

    Hi every body....
    I av developed a web based application with java (jsp and Java Servlets)....
    that was working fine on Lane and Local Host....
    But when i upload on internet with unix package my servlets and Java Beans are not working .....
    also not access database which i developed on My Sql....
    M using cpanel support on web server
    Plz gave me solution...
    Thanx looking forward Adnan

    You need to elaborate "not working" in developer's perspective instead of in user's perspective.

  • VB Client communicating with a Java servlet

    Hi,
    I have a java servlet and I would like to have a VB application communicating with the servlet.
    Can I do it ? and if yes, how to do it.
    Thanks in anticipation,
    Ayana

    The VB client can open an internet or Http connection to the servelet, send a request and parse the response. We've done it here but I don't know exactly which ActiveX control the VB guy uses.
    Also look into using webservices.

  • Servlet Communication with Java WebStart

    Hi there,
    we have an application that works fine with Java WebStart whenever we start it in a local area network. But from outside the LAN the application cannot communicate to it's servlets. I use the codebase IP address with the servlet runner's port (http://<codebase IP>:port/) as URL for servlet communication, but the application's request never reaches the servlets.
    My question is now, if anyone had the same or a similar problem with servlet communication using Java WebStart, or if anyone knows, if that might be a problem with proxy configuration.
    The servlet runner we use, is JServ from Sun (JSDK2.0) and the webserver where it is running on is not behind a firewall or a proxy, but the client PC with the web start application is.
    Thanks,
    Katja

    Thank you for your early reply. But I think, that's not the problem.
    I get no security error and the webserver is identified the same way it is in the jnlp file. Also my application is not running in the Sandbox. My assumption is, that the http-request to the servlet does not go through the proxy server between my PC and the PC the servletrunner is running on.
    I wonder if I have to configure my application to use a proxy server for communication with the servlets instead of the direct http-request to the servlet runner?

  • Can I compiler servlet with java compiler?

    Can I compiler servlet with java compiler?
    Here is an example of it:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class HelloWorldServlet extends HttpServlet
              protected void doGet(HttpServletRequest request,
              HttpServletResponse response) throws ServletException , IOException
                        response.setContentType("text/html");
                        PrintWriter out = response.getWriter();
                        StringBuffer sb = new StringBuffer();
                        sb.append("<html><body><h1>");
                        sb.append("Hello World");
                        sb.append("</h1></body></html>");
                        out.print(sb.toString());
                        out.close();
         }

    Can I compiler servlet with java compiler?
    yes.
    just include the correct jarfiles in your classpath.

  • Pls give me example of Java Servlet with Oracle

    Hi Guys,
    I am new to Database connectivity of JAVA Servlet with Oracle.
    So can you give me one complete example of connecting Java Servlet with Oracle 9i database.
    [ i mean Select statement, Insert statement..]
    I have tomcat server which comes built-in with NetBeans IDE.
    I need this because, i always come accross messages saying that " you need to change classpath this way " , or " you need to write connection this way "....
    So to avoid all this wrong things..i need your help.
    You guys can reply me on [email protected]
    Thanks & Appreciate..
    Dal Hit

    I got succeeded!
    I changed the three point:
    * add 'package hoo;' in HelloBean.java
    * add '<%@ page import="my.HelloBean" %>' in hello3.jsp
    * change '<jsp:useBean id="hello" class="HelloBean">
    to '<jsp:useBean id="hello" class="my.HelloBean">
    Before posting, I searched google three times but couldn't get answer.
    I could not get well if you didn't give me help...
    Thank you very much.

  • Compiling Java Servlet with Depricated Methods

    I have a problem of compiling Java servlets that contain depricated methods. If you compile against modern version of servlet.jar I see depricated methods error messages and if I use a very old servlet.jar it cannot find newer methods. What is is the best solution in this case?
    Thank you,
    Boris.

    The best thing to do would be compile your code with the -depreciated option to find which methods have been depreciated and the refactor your code to remove them.
    The next best thing is to ignore the messages (they are warnings not errors) and your code should still work

  • Will weblogic 4.5 work with the Sun Java Servlet Development Kit Version 2.1?

              Will weblogic 4.5 work with the Sun Java Servlet Development Kit Version 2.1
              (JSDK 2.1). The reason I want this is we want our application servlets to
              use the new 2.1 redirection mechanism to redirect to JSP files.
              

    WL 4.5 supports JSP 1.0 (and, therefore Servlet 2.1).
              What I want to know is when will it support JSP 1.1 (and, therefore Servlet
              2.2)!
              Regards,
              Murali Krishna Devarakonda
              Cox News <[email protected]> wrote in message
              news:7rk40p$s00$[email protected]..
              >
              > Will weblogic 4.5 work with the Sun Java Servlet Development Kit Version
              2.1
              > (JSDK 2.1). The reason I want this is we want our application servlets to
              > use the new 2.1 redirection mechanism to redirect to JSP files.
              >
              >
              >
              >
              

  • What is wrong with the following Java servlet code that downloads files?

    Hi,
    I need urgent help.
    This is the issue. I have a JSP code that calls a Java servlet class. This class is used to download files from the JSP page. The following is the piece of code that does the file download.
    String pathOfFile = gsPath + "/" + gsFileName.substring(gsFileName.indexOf("~")+1);
    File F = new File(pathOfFile);
    res.setContentType("application/stream");
    res.setHeader("Content-Disposition", "attachment; filename=" +gsFileName.trim());
    This code works just fine with IE. However, when this is used with Netscape, the class name gets added to the original file name extension. For example, if the class name is 'FileRetriever' and the file being downloaded is originally named 'a.doc', the file gets a name of 'a.doc.FileRetriever' after download using Netscape or Mozilla.
    One way to solve this is by adding the appropriate file type in the MIME settings in browser preference. However, this not a permanent solution.
    Can somebody let me know the correct code to fix this issue?
    Thanks for your time.

    We loose control of the file name once we pass the original file name to the input stream. When our code instructs Netscape to write the file on the local disk using an output stream, that is when Netscape/Mozilla adds this additional extension to the original file. So, essentially, we do not know about this additional extension.
    Any ideas on how to resolve this?
    Thanks.

  • Please help me with converting a PHP to Java Servlet

    Hi
    Can any one help me to convert a PHP file to Java Servlet
    <?php
    / yadl_spaceid - Skip Stamping /
    // Yahoo! proxy
    // Hard-code hostname and path:
    // search = http://api.search.yahoo.com/WebSearchService/V1/webSearch
    // api.local
    // api.travel
    define ('PATH', 'http://api.search.yahoo.com/WebSearchService/V1/webSearch');
    $type = "text/xml";
    // Get all query params
    $query = "?";
    foreach ($_GET as $key => $value) {
    if(($key == "output") && ($value == "json")) {
    $type = "application/json";
    $query .= urlencode($key)."=".urlencode($value)."&";
    foreach ($_POST as $key => $value) {
    if(($key == "output") && ($value == "json")) {
    $type = "application/json";
    $query .= $key."=".$value."&";
    $query .= "appid=jennyhan_ac";
    $url = PATH.$query;
    // Open the Curl session
    $session = curl_init($url);
    // Don't return HTTP headers. Do return the contents of the call
    curl_setopt($session, CURLOPT_HEADER, false);
    curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
    // Make the call
    $response = curl_exec($session);
    header("Content-Type: ".$type);
    echo $response;
    curl_close($session);
    ?>

    I'm locking this [double post|http://forums.sun.com/thread.jspa?threadID=5394158&messageID=10749368#10749368].

Maybe you are looking for

  • I have a 6th gen ipod classic that will not turn on...

    So, As the title says that is what I have, however, here are more specifics and what I have done so far... The ipod will not power on. When I try to turn it on, the logo appears, then it seems to power cycle. Now, onto what I have tried thus far... I

  • Adobe Design Standard CS3

    Hello all. I have searched high and low and tried following many tutes and guides for the silent Adobe CS3 install. I persistently receive Error Codes with no explanation. I'm appealing to anyone on this forum if they can advise me of the correct pro

  • Return document picking wrong main and sub transaction @ FPL9

    Hi Mates, I need a help to find out the reason why return document is referring with wrong main and sub in our current client. Issue: when unpaid returns are posting with reference to payment document return document is posting by using main and sub

  • Resource Utilization with TFS and PS Integration

    We've done Team Foundation Server 2012 and Project Server 2013 Integration. We're using Agile Model i.e. creating users stories and tasks at TFS side and synchronizing with Project Server. The synchronization is done correctly. Now we want to get res

  • How to Find EOL/EOS of Devices

    How to Find EOL/EOS of Devices