Deploy Servlet to OAS 4

hiye guys,
Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
needed help asap
from
kenneth

Hi Kenneth,
I'd recommend the developers simply deploy locally and copy the files over to your server.
Have they tried this? Have you run into any problems?
Is it a DBServlet? If so, have you seen the following documentation?:
CHoose Help | Help Topics
Then navigate to
User Guides
--Developing Applications
----Developing Web Applications
------Developing Java Servlets
--------Deploying Java Servlets
----------Deploying a Database Servlet to OAS
Hope this helps.
Best,
Avrom
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kenken64:
hiye guys,
Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
needed help asap
from
kenneth<HR></BLOCKQUOTE>
null

Similar Messages

  • Deploy servlet in OAS

    By using Jdeveloper, I can build a servlet and run it under
    JDeveloper easily.
    According to the reference, it shows how to delopy it outside
    JDeveloper using "Java Web Server".
    However, I am using OAS and I don't know how to do it.
    Can anyone teach me how to do that ?
    Rgds,
    Edward
    null

    andrew (guest) wrote:
    : Edward (guest) wrote:
    : : By using Jdeveloper, I can build a servlet and run it under
    : : JDeveloper easily.
    : I'm sorry I'm not able to answer your question.
    : But I have a question of my own. What version of
    : JDeveloper are you using? Is it 3.0?
    : I too would like to use JDeveloper to develop servlets.
    : I hear that this support will be available with v3.0
    : but I would like advise on where I could get a copy of it.
    : thnx
    I would like to clarify that I am interested in using
    JDeveloper not just to develop and compile servlet code.
    Rather I am interested in being able to deploy and
    debug servlets from within JDeveloper, i.e. I am looking
    for an integrated development environment with compiler,
    debugger AND mini web server + servlet engine. OAS408 does
    not support debugging. In the msg Edward posted,
    you seem to be saying that you have a version of JDeveloper
    that allows you to "deploy" (and, I assume, also to debug
    using a visual debugger) your servlets on JDeveloper.
    Is my assumption correct?
    thnx
    null

  • Error while deploying EJB on OAS 4.0.8.1

    I have installed OAS 4.0.8.1 on Windows NT 4.0 with Support Pack 6a. The java compiler used is from JDK 1.1.6 provided with OAS.
    The following error occurs while deploying EJB on OAS. The error is the same while deploying through the node manager or by using oasdeploy command line utility.
    java.lang.NoClassDefFound Error
    Code generation for
    D:\\orant\\ows\\upload\\425BrowserBean.jar failed!
    Creating registration files.....
    Unable to expand attribute Unable to load from C:\temp\src425\oasbae.properties
    Please let me know the possible causes for non deployment of the bean on OAS.
    null

    With JDev 3.1, we only support deployment to OAS 4.0.8.2.
    JDev 3.0 supported deployment to OAS 4.0.8.1.
    I believe most of this restriction is due to internal changes in OAS that we were only able to integrate with 3.1.

  • Deploying servlets in the Sun One Web Server 6.1

    Friends, Please let me know how to deploy servlets in the Sun One Web Server 6.1.
    Thanks in advance,
    Madan.

    You cannot get that behavior.
    When an SSL client and server negotiate the connection, the client sends a list of all the cipher suites it supports. From that list the server will pick the most secure cipher suite which it also supports (if the server doesn't support any of the cipher suites proposed by the client, the connection establishment will fail).
    RC4 (128bit) is more secure than 3DES (112 bit). Thus, a server will never pick 3DES above RC4_128 if both are valid options (i.e. when both client and server support both). If you really wanted to force use of 3DES you need to disable RC4_128 in the server (or all the clients; or both).

  • Hot Deploy Servlet in JAR file problem

    I've been playing with hot deploying servlets in WLS 5.1. I have SP2
              installed. I have things working fine with individual servlet class files. I
              decided to try hot deploying with jar files.
              I created a servlet, added it to a jar file, and then added the jar file to
              the 'weblogic.http.servlet.classpath'. I then restarted the server. I
              started the console and was able to hot deploy the servlet. So far so good.
              My next test is what failed. I modified the servlet, and rebuilt the jar
              file. I went back to the console, selected the servlet and hit the redeploy
              button. I went back to the browser and hit refresh - nothing, still the old
              servlet.
              It appears that WLS isn't reloading the jar file and the updated servlet.
              Everything works with individual class files.
              Does anyone know how I can cause the reload of updated servlets embedded
              within a jar file?
              Weblogic group - If there is no way now, will support be added soon?
              Thanks,
              Rick
              

    Hi,
              If I use weblogic.servlet.ServletServlet to try just the servlet , It
              works correctly.But When I develop it in a web application , there is a lot
              of hypelink to this servlet,thus I can't use the relative path reference to
              that servlet.I try to set the name of weblogic.servlet.ServletServlet same
              as the webapp,It doesn't work,how do I solve this problem?
              Thank you
              Pan
              Subject: Re: Hot deploy Servlet in webapp
              > http://www.weblogic.com/docs51/classdocs/API_servlet.html#134798
              >
              > It even explains why you shouldn't use it in production environment.
              >
              > Dimitri
              

  • Why I cannot connect to database after deploying application to OAS?

    Hello experts...i have a new problem and here are the facts:
    I`m using on Windows Xp:
    Oracle Database 10.2.0
    Oracle Application Server 10.1.3
    Oracle Jdeveloper 10.1.3.3
    I`m creating a new application using jdeveloper and i`m using 2 connection classes:
    a) First connection class using:
    InitialContext ctx=new InitialContext();
    DataSource ds=ctx.lookup("jdbc/connDS");
    Connection conn=ds.getConnection();
    b) Second connection class using:
    Connection conn = DriverManager.getConnection("jdbc:and the entire link goes here");
    So far so good, but when I create a ear file using the First connection class and after i deploy it to OAS my application will not connect anymore to database!
    If I will use the Second connection class, and create an ear file then deploy it to OAS, my application works fine, it connects to database but i have a problem. In my application users can upload and download the files they uploaded. The files are saved in DB as blob. The problem appears when users are downloading the files because for example file "example.doc" is uploaded on the server database and when a user try to download it the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. Someone told me that happens because of my connection class... and I want to find out you`re opinion.
    Why i cann`t connect to DB after deploy the application on OAS using the FIRST connection class?
    - on Jdeveloper i can connect to DB using both of the connect classes (one at a time)
    - I`m creating a war file from jdeveloper and deploy the ear file on the OAS
    - on OAS i`ve created the connection pool and the data source and "The connection was establish succesfully"
    Why the uploaded files are downloaded in this way? it`s the connection the problem?
    - I want to tell you that when i`m extracting data from the DB table i`m not using a temp file, the conversion is made in the java class and the program throws me the file to download.
    - as i told you in Jdeveloper both of the connection classes work!!! and when i`m using the FIRST connection class and try to download, the files ARE DOWNLOADED PERFECTLY CORRECT!
    - if i`m using the SECOND connection class in jdeveloper, running the application on the built in oc4j instance and trying to download the same files, the files are DOWNLOADED BAD like I told you: the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. with the pdf format is the same problem but my pc cannot open it telling something with "bad conversion...." error.
    There are someone who had the same problem?
    Theoretically i had to make the application to connect to the database after deploy it to OAS with the FIRST connection class and this way my files will be downloaded corectly... what to do?

    no one knows nothing about this issue? :(... i`m dissapointed...

  • Wat are all needed to be impoted to run ,deploy servlet,jsp in eclipse

    i want to know what are all needed to be impoted
    to run ,deploy servlet,jsp in eclipse
    reply me
    regards
    saravanakumar

    http://www.eclipse.org/webtools/

  • Can i deploy servlet to iis server..?

    Can i deploy servlet to iis server..?
    if yes.. how..?

    to deploy servlets into IIS you need to use some connector which connects IIS to tomcat. Still you have to use servlet contrainer from tomcat only (as IIS serves you only web server functionality but not servlet contrainer ). use JK Connector for this bride.

  • Hot deploy Servlet in webapp

    Can I hot deploy a servlet within a web application ?How should I do it?
              (When I compile my servlet into MyApp/web-inf/classes,user this URI -
              http://localhost:7001/MyApp/mypackage.myclass to invocate it ,It does not
              work correctly(error 404))
              

    Hi,
              If I use weblogic.servlet.ServletServlet to try just the servlet , It
              works correctly.But When I develop it in a web application , there is a lot
              of hypelink to this servlet,thus I can't use the relative path reference to
              that servlet.I try to set the name of weblogic.servlet.ServletServlet same
              as the webapp,It doesn't work,how do I solve this problem?
              Thank you
              Pan
              Subject: Re: Hot deploy Servlet in webapp
              > http://www.weblogic.com/docs51/classdocs/API_servlet.html#134798
              >
              > It even explains why you shouldn't use it in production environment.
              >
              > Dimitri
              

  • Deploying Servlets in Weblogic 8.1

    Hi,
    I have deployed servlets in Weblogic 8.1 server. The deployment was successful, but when I try to access the servlet it gives me java.lang.UnsupportedClassVersionError. It also says that it is unable to find the servlet class.
    Can anyone help me with this?
    Regards
    Usha

    hi
    can u check your supported configuration
    this might because of incompatable JDK
    a method writeObject(ObjectOutputStream) must be implemented in UTCDate to cover the JDK implementation difference of java.util.TimeZone between jdk 1.3.x and jdk 1.4.x. This is required to cover the member 'localeTimeZone' in UTCDate. Please refer to the source code of java.util.Calendar.writeObject(ObjectOutputStream) for an equivalent implementation for the member 'zone'.
    Prasanna Yalam

  • Deploying servlets (not in jar/war/ear!) to OC4J?

    I must be missing some very tiny but crucial issue....
    For over 2 days now (shame) I have been trying but not
    succeeding to deploy servlets to OC4J behind Apache. The 'behind
    Apache'-part is easy. Just set up a proxy. This is because
    Apache configuration is easy and well documented. But here is my
    real problem. I am using JDev 3.2 (9i too large) and this is
    what I want:
    I want to code a servlet in Jdeveloper, compile it to a class-
    file, not a jar, war, ear or whatever-r. Then I want to set up
    OC4J in such a way that I can access my servlets from the
    directory where the class files are. I do NOT want to use the
    default-web-app subdirectory for obvious reasons. Please, how do
    I set up OC4J to just look in my own classes-directory with my
    own servlets???? No jar, no war, no ear.
    I have been reading all sorts of information on this and tried
    everything, but am not succeeding and getting all sorts of
    error/not found messages.
    Extra info:
    I am using OC4J on windows. To start I use java -jar orion.jar,
    to restart I use ^C and repeat the start command. Is that ok or
    do I need to restart in a different way? I tried to setup OC4J
    as a service but the link to runexecsvc went astray to judosoft
    Any help will be greatly appreciated!

    Avi,
    Thanks for your swift reply. I have indeed read the docs, but
    the exploded directory format does not seem to work for one
    reason or another (got some error messages on file not found or
    something). Have you succeeded in deployment using exploded
    directories? If so, I would be greatly interested in your xml-
    files and directory structure!
    But, please do not spend too much time on this, because I have
    now decided that I will deploy using a war. I have written a
    small script to make a war out of my whole project and copy it
    to de OC4J file system. This works and everybody is happy.
    Thanks again,
    Martijn

  • Deploy servlet with WAR file

    Has anyone successfully deployed servlets using WAR file?I think I did everything right. The WAR file was deployed. But I can't accesss it.
              

    I use .war files for deploying servlets in WLS 6.0 - they are much easier
              than exploded dirs...
              Usually, when I have a problem accessing the servlet once deployed, it's
              almost always the deployment descriptor.
              "Randy" <[email protected]> wrote in message
              news:3b311258$[email protected]..
              > Has anyone successfully deployed servlets using WAR file?I think I did
              everything right. The WAR file was deployed. But I can't accesss it.
              

  • Deploying Servlets in NetWeaver

    hi,
    i m new to SAP NetWeaver.Please tell me how can i deploy Servlets in NWDS.
    Thank u.

    hi,
    Firstly preapare a War file of the servlet class and its corresponding web.xml.Then select a Enterprise Project and add the web application project to the Enterprise project.Then configure the context url and prepare an "ear" file.Then deploy it to the J2ee server.
    This shd solve ur problem.

  • Deploying Servlets

    JDeveloper 3.2 Documentation for deploying servlets says the generated files should be placed in webserver and the classpath is to be set.
    I am using Apache HTTP web server. In which folder should I place the generated files and what should be the class path?
    Later what should be the URL to access the servlet from the browser?
    How can access this deployed Servlet from a JSP?
    Thanks in advance,
    Regards.
    Kavita.
    null

    Kavita,
    You should first check the Apache documentation for specific information about Apache.
    In general, you should place the servlet in a directory that is under the root directory for the server. For Apache, I believe it is htdocs under the installation directory (usually Apache/Apache/).
    You would then add this directory to the jserv.properties file as a wrapper.classpath entry. This will then point Apache to that directory.
    To access the servlet from a browser the general format is htttp://webserver:port/YourDirectoryName/servletName
    This should get you started.

  • Support of Servlet on OAS

    In any way can i write servlets for OAS4.0.7 or Oracle8.0.5. If yes, how?

    Go to 'sample code' section of OTN. plenty of examples have been given.
    You can start with Hello world.
    When it comes to accessing database, I face some problem. Servlet is working fine when I test it from JDeveloper.
    When I try to access the same servlet from OAS, I am getting error. I guess this is something to do with Classpath. I don't know the place where this environment variable to be set so that servlet functions properly.
    I am looking forward some suggestions.
    Thank you.
    null

Maybe you are looking for

  • Can't print pdf-data

    Hi to everybody, I'm German (77) and couldn't find somebody  in the German Forum who could help me, therefore I'll try it here. When I open a pdf-document and try to print it (Canon IP4500) there opens a nearly blank window instead of the then usuall

  • How to get poster art in the RSS feed using Podcast Producer workflow

    With podcast producer there are standard workflow which create atom feeds. I can not figure out how to automatically generate a poster image (or any type of images) associated with the video to show in the rss feed. Anyone got this to work? Here is t

  • Unable to install SDK Navigator at the developer portal

    Hello, When I click on SDK Download, and select the recommended SDK Navigator nothing happens. I can download the SDK contents zip fortunately but I liked the navigator. The SDK Navigator is essential because it has the Room Console.

  • Remove Schema from Generated Code

    Hi, I have the common situation where I want to extract data from tables in multiple schemas on a database seperate to both my runtime/staging schema and my target schema. This is handled quite simply through the use of db_links, created through loca

  • URL Access Parameter GetComponentDefinition

    Using URL access myself and my colleagues are unable to view the XML definition of any published report item  when using GetComponentDefinition, like so: http://<servername>/ReportServer?/<report path>&rs:Command=GetComponentDefinition It returns the