How to provide streaming in J2EE web application?

Hi Friends,
I want to build web application which will provide streaming of data.
This data may be in raw data, binary, files, audio, video etc. As we are using HTTP protocol for web application, then how to do streaming between server and client using HTTP protocol i.e in request response manner.
If we want to send response of ~1 GB to client using servlet, then it's good idea that we should use data streaming concept. For data streaming if we use request/response architecture then servlet should send ~1 GB data in one go. Is it possible? And if we use data streaming tech. Is it our responsibility to do framing, maintaining data sequence, encoding/decoding, merge data and then store on client side?
Any help will be appreciated.
Thanks

One idea is RTP
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/

Similar Messages

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • How to access deployed J2EE Web application ?

    Hi,
    I am new to J2EE Web Application. I have created a Web Module project and in that I have created a servlet. I did a build for WAR file. I have created an Enterprise Application Project and included this WAR file. I built  the EAP and deployed it to J2EE engine. I am successful till here.
    I am not sure how to access this deployed application and thus this servlet.
    I tried to access the following way :
    http://<hostname>:<portnumber>/<EAPName>/<ServletName>
    However, I receive the error no such location.
    In the web.xml file, in the servlet-mapping section, I have mentioned the servletname and urlpattern.
    I have mentioned the urlpattern as MyServlet and not /MyServlet. Notice the 'backslash'.
    Could this be an issue ?
    Regards,
    Subramanian V.

    Hi
    See this Thread
    Re: servlet ----->url association ?
    Re: Servlet not getting loaded when put in a jar file
    Re: I just want to run a simple servlet. No EJBs, no Web DynPro...
    /message/610344#610344 [original link is broken]
    Kind Regards
    Mukesh

  • Oracle forms to j2ee/web application

    Hello all,
    I need help with converting "oracle forms" to j2ee/web application. There are only 2-3 forms. But I needed to know how to do it from scratch. I looked at some softwares available to do it. But its costly.
    Basically the company I am working with, needed all the forms online, so that they can access it using a browser. As part of the development, I am using jdeveloper 10g.
    could some help me out
    Thanks a lot
    san

    Well if you need your Forms accesible from a browser you don't need to convert them to Java - you just use Forms on the Web - http://otn.oracle.com/formsupgrade
    If you still want to convert to Java have a look at the Forms page for more info:
    http://otn.oracle.com/products/forms
    and also here:
    http://www.oracle.com/technology/products/jdev/collateral/4gl/formsdesignerj2ee.html

  • Help:How can I run the J2EE Client Application? Thanks

    Help:How can I run the J2EE Client Application that will access the remote J2EE1.4 application server which runs on another host computer?
    I have developped a stateles senterprise java bean name converter and deloyed it in the j2ee1.4 application server on the host machine A. The converterbean provides the remote home interface and remote interface. At the same time I have developped the j2ee application client named convertappclient. When I access the conveter bean at host computer A through the script 'appclient.bat' as 'appclient -client convertappclient.jar', the client can access the bean sucessfully. Now I want to access the bean through the script 'appclient.bat' at host computer B,what files should I copy from host computer A to host computer B;and what the command line should be like? Thanks!
    The following are the code of the enterprise java bean and it's home interface .
    The client code is also provided.
    The enterprise java bean:
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.math.*;
    public class ConverterBean implements SessionBean {
    BigDecimal yenRate = new BigDecimal("121.6000");
    BigDecimal euroRate = new BigDecimal("0.0077");
    public ConverterBean() {
    public BigDecimal dollarToYen(BigDecimal dollars) {
    BigDecimal result = dollars.multiply(yenRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public BigDecimal yenToEuro(BigDecimal yen) {
    BigDecimal result = yen.multiply(euroRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public void ejbCreate() {
    public void ejbRemove() {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void setSessionContext(SessionContext sc) {
    The bean's remote home interface :
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface ConverterHome extends EJBHome {
    Converter create() throws RemoteException, CreateException;
    The bean's remote interface:
    package converter;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.math.*;
    public interface Converter extends EJBObject {
    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
    The j2ee application client:
    import converter.Converter;
    import converter.ConverterHome;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                   System.setProperty("java.naming.provider.url","jnp://10.144.97.250:3700");
    Context myEnv = (Context) initial.lookup("java:comp/env");
    Object objref = myEnv.lookup("ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome) PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal("100.00");
    BigDecimal amount = currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    }

    Surprisingly I find an upsurge in the number of posts with this same problem. I recently found a post which gave a nice link for this. Follow the steps and it should help:
    http://docs.sun.com/source/819-0079/dgacc.html#wp1022105

  • Consume Portal Service from J2EE web application

    hi, i am a newbie to portal content development. My team have developed a J2EE web application to be run on the portal. Is it possible to consume a Portal Service from J2EE web application? If possible, deeply appreciate if you could provide some guidelines. Kindly advise. Thanks.

    Hi Theodore Yu,
    You need to expose your portal service as a webservice to consume it in a j2ee web application.
    For exposing a portal service to webservice check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/cb213e578c0262e10000000a11466f/frameset.htm
    Thanks,
    Padmaja
    Edited by: Padmaja Pedapudi on May 20, 2008 2:03 PM

  • Deploying a J2EE web application in Oracle 10g

    Hi friends,
    <br>
    I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation guide Properly. Anyway installation is successful.
    The problem is a J2EE web application which is deployed properly on Oracle9i 9.0.3 doesn't get deployed in Oracle 10g. The following is the exception :
    <br>
    Deployment failed: Nested exception
    Root Cause: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application Spom_Apps: Error loading package at file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar, Error deploying file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar homes: No location set for Topic resource MessageDrivenBean JmsReceiverMdb
    <br>
    <br>
    where JmsReceiverMdb is the deployment file containing the message driven beans.
    <br>
    Thanks in advance,
    paskal

    Hi,
    Thanks for responding . I am sending the file contents of ejb-jar.xml, orion-ejb-jar.xml, jms.xml.
    Could you also check whether dtds versions of 10g and 9i in these xmls are conflicting? If you can specify your email-id i can send these file as attachments.
    Hope you could strike the right spot.
    ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>spomPmConfigSSB</display-name>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <home>jnipackage.spomPmConfigSSBHome</home>
    <remote>jnipackage.spomPmConfigSSB</remote>
    <ejb-class>jnipackage.impl.spomPmConfigSSBBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <message-driven>
    <description>Message Driven Bean</description>
    <display-name>JmsReceiverMdb</display-name>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <ejb-class>jnipackage.impl.JmsReceiverMdbBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <resource-ref>
    <res-ref-name>jms/alarmTopicConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/alarmTopic</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Orion-ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
    <enterprise-beans>
    <message-driven-deployment name="JmsReceiverMdb" max-instances="100" min-instances="0">
    <resource-ref-mapping name="jms/alarmTopicConnectionFactory"/>
    </message-driven-deployment>
    <session-deployment name="spomPmConfigSSB"/>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping impliesAll="true" name="&lt;default-ejb-caller-role>"/>
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    jms.xml
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE jms-server PUBLIC "OC4J JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server-9_04.dtd">
    <jms-server port="9127">
    <!-- Queue bindings, these queues will be bound to their respective
    JNDI path for later retrieval -->
    <queue name="Demo Queue" location="jms/demoQueue">
    <description>A dummy queue</description>
    </queue>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="Demo Topic" location="jms/demoTopic">
    <description>A dummy topic</description>
    </topic>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="AlarmQueue" location="jms/alarmTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTextQueue" location="jms/faultTextTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTopologyQueue" location="jms/faultTopologyTopic">
    <description>A topic</description>
    </topic>
    <!-- path to the log-file where JMS-events/errors are stored -->
    <log>
    <file path="../log/jms.log"/>
    <!-- Uncomment this if you want to use ODL logging capabilities
    <odl path="../log/jms/" max-file-size="1000" max-directory-size="10000"/>
    -->
    </log>
    <queue name="jms/OracleSyndicateQueue" location="jms/OracleSyndicateQueue">
    <description>Oracle Syndication Services Queue</description>
    </queue>
    <!--
    <queue-connection-factory name="jms/OracleSyndicateQueueConnectionFactory"
    location="jms/OracleSyndicateQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleSyndicateQueueConnectionFactory"/>
    <queue name="jms/OracleUddiReplicationQueue"
    location="jms/OracleUddiReplicationQueue">
    <description>Queue for replication scheduler</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleUddiReplicationQueueConnectionFactory"
    location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    <queue name="jms/OracleWebClippingQueue"
    location="jms/OracleWebClippingQueue">
    <description>Queue for Web Clipping</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleWebClippingQueueConnectionFactory"
    location="jms/OracleWebClippingQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleWebClippingQueueConnectionFactory"/>
    </jms-server>

  • How to create a file under web application root from java program

    how to create a file under web application root from java program like an action class?

    like an action class?Huh? What exactly is your requirement?
    Creating a file is usually done with java.io API. Read the java.io tutorials how to play with files.

  • How to capture memory usage for web application

    In OATS openscripts, how to capture memory usage for web application? Does it have the exisitng java method that we can call to get the memory data (e.g. peak bytes, private bytes) consumed by web application?

    JProbe

  • How to run notepad from a web application

    hi
    can any body know,how to run notepad from a web application under tomcat

    You already asked this question:
    http://forum.java.sun.com/thread.jspa?threadID=5150005&messageID=9561597
    Obviously running notepad on the clients PC is not possible (ignoring active x)

  • How can i send the chinese sms using java J2EE(web application)

    hi,
    i have the difficulty on sending chinese sms using J2EE application.i try to input the chinese word to jsp and send the plain text sms. i received the sms with plenty of question mark "?????". i think it is regarding to the conversion of String to some kind of format that supported by mobile phone. below are some code the send the sms to recipient. i need someone help in order to have the solution.
    thanks a lot
    <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
    <%@ page import="se.sapio.rta.service.MPMService"%>
    <%@ page import="java.util.Locale"%>
    <%
         Locale.setDefault(Locale.UK);
         Context ctx;
         MPMService mpmservice;
         ctx = new InitialContext();
         mpmservice = (MPMService) ctx.lookup("BC/Service/RTAMPM");
         LSUser user = null;
         boolean ok = true;
         try {
         if (ok) {
              String sender = request.getParameter("sender");
              String phonenr = request.getParameter("phonenr");
              String sendmsg = request.getParameter("sendmsg");
              if(bError) {
                   byte[] bytes = message.getBytes("UTF-8");
                   message = mobileclientservice.ByteEncode(bytes);          
                   response.sendRedirect("send_sms.jsp?s="+request.getParameter("s")+"&msg="+message+"&phonenr="+request.getParameter("phonenr").replaceAll("\\+","%2B")+"&sender="+request.getParameter("sender")+"&sendmsg="+request.getParameter("sendmsg").replaceAll("\\+","%2B"));
              String resp = "";
              if(mpmservice.sendPlainTextSMS(sender, phonenr, sendmsg)) {
                   resp=mpmservice.getLang(user.getLang(), "sms_sent");
              } else {
                   resp=mpmservice.getLang(user.getLang(), "sms_not_sent");
              } %>
              <jsp:include page="/top.jsp" />
              <p class="headline"><%=mpmservice.getLang(user.getLang(), "send_sms_title")%></p>
              <form name="operatordetails" id="operatordetails" method="post" action="send_sms.jsp">
              <INPUT TYPE=hidden NAME=s VALUE="<%=request.getParameter("s")%>">
              <INPUT TYPE=hidden NAME=phonenr VALUE="<%=request.getParameter("phonenr")%>">
              <table class="infotable" id="report">
                   <tr>
                        <td class="left" colspan="2"><%=resp%></td>
                        <td class="right"></td>
                   </tr>
                   <tr>
                        <td class="left" colspan="2">
                             <input class="halfmiddle" name="Back" type="submit" id="Back" value="<%=mpmservice.getLang(user.getLang(), "back")%>" />
                        </td>     
                        <td class="right"> </td>
                   </tr>
              </table>
              </form>
              <jsp:include page="/bottom.jsp" />
         <% } %>
       public boolean sendPlainTextSMS(String sender, String recipient, String sendmsg){
             if(recipient.charAt(0) == '+')
                   recipient = recipient.substring(1);
             String senderIdType = "Alpha";
              if( (sender.charAt(0) >= '0' && sender.charAt(0) <= '9') || sender.charAt(0) == '+')
                   senderIdType = "Numeric";
                   if(sender.charAt(0) == '+')
                        sender = sender.substring(1);
                   for(int i=0; i < sender.length(); i++)
                        if(!(sender.charAt(i) >= '0' && sender.charAt(i) <= '9'))
                             senderIdType = "Alpha";
             log.warn("sending sms to: "+recipient + " sendtype: " + senderIdType + " msg: "+ sendmsg);
             log.warn("Encoded sms:"+Encode(sendmsg));
             try{
             String postData = "XMLDATA=" + URLEncoder.encode("<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\r\n" +
                        "<NotificationRequest Version=\"3.4\">\r\n" +
                        "     <NotificationHeader>\r\n" +
                        "          <PartnerName>" + SMS_PARTNER_NAME + "</PartnerName>\r\n" +
                        "          <PartnerPassword>" + SMS_PARTNER_PASSWORD + "</PartnerPassword>\r\n" +
                        "          <SubscriptionName>XML</SubscriptionName>\r\n" +
                        "     </NotificationHeader>\r\n" +
                        "     <NotificationList BatchID=\"1\">\r\n" +
                        "          <Notification SequenceNumber=\"0\" MessageType=\"SMS\">\r\n" +
                        "          <Message>" + Encode(sendmsg) + "</Message>\r\n" +
                        "          <Profile>" + SMS_PARTNER_PROFILE + "</Profile>\r\n" +
                        "          <SenderID Type=\"" + senderIdType + "\">" + sender + "</SenderID>\r\n" +
                        "          <Subscriber>\r\n" +
                        "               <SubscriberNumber>" + recipient + "</SubscriberNumber>\r\n" +
                        "          </Subscriber>\r\n" +
                        "      </Notification>\r\n" +
                        " </NotificationList>\r\n" +
                        "</NotificationRequest>","ISO-8859-1");
      appreciate for anyone provide the solution.
    thanks a lot

    Hi,
    I want to send sms from web application to mobile phones at the time of registration. Its verymuch greatful to me, if you let me know, how to send from jsp to mobile. because from your post, i got, you already know about sending sms from jsp to mobile.
    please let me know, how to send sms
    [email protected]
    Thanks in advance for your kind help

  • How to start, stop or restart a J2EE Web application in NetWeaver

    Whicht tool for that task?
    Where to find it?
    I need something like the tomcat manager

    Hi Ludger,
    I think you can use jcmon for that,
    read,
    http://help.sap.com/saphelp_nw04s/helpdata/en/d3/4d074147c1f06fe10000000a1550b0/frameset.htm
    Edited: Actually it doesnt frestart web application but is another way to restart processes in the J2EE engine
    regards
    Juan
    Please reward with points if helpful

  • Sending/Receiving SMS on a J2EE Web Application

    hi friends
    i have developed an application for bank accounts. Its a web application and my server is Tomcat 5.0. my requirement is that user could sms (from their mobile) to my application. In the SMS they will provide their account no and in response my application will send a sms to their cell phone giving them their current balance.
    Now im very new to this mobile technology. im confused that whether i have to use J2ME or JMS or what. And what other things i require.
    The Mobile and application has to do nothin with each other(means they r not connected in any way). So i think i need services from a Service Provider. But from technology pt of view what i'll use??
    If any body knows which tech. to use and flow of such application pls help.
    thanx...

    Hi
    There is no need to develope mobile application for
    sending SMS from the PC.
    n general, there are two ways to send SMS messages
    from a computer / PC to a mobile phone:
    Connect a mobile phone or GSM/GPRS modem to a
    computer / PC. Then use the computer / PC and AT
    commands to instruct the mobile phone or GSM/GPRS
    modem to send SMS messages.
    Connect the computer / PC to the SMS center (SMSC) or
    SMS gateway of a wireless carrier or SMS service
    provider. Then send SMS messages using a protocol /
    interface supported by the SMSC or SMS gateway.I would like to know how do you set up the whole thing. What are AT commands and Where do i get thm and how do i use them. i am sorry for asking so many question but i am really interested in knowing this. I am doing my school project which requires me to send sms from my PC.
    Please help!!!!
    Thanks
    Kholi

  • How to Hide HTML code of web application (applet)?

    hi
    On web, while running application, if user open View\Source from browser, he can see all HTML code (base_jini.html). The problem is that we can't afford to show source code to client, because it has DB connection inf (username/password) as well. How this html code can be hide from client machine?
    I think, i convey my prblom. If not, please run any web application and try to see source code from browser view menu, U will see that all configuration details are visible including db password. I suppose there should be some way to hide these details to client.
    Please help in this regard, i will be very thankful
    regards
    Asif

    Forms Listener Servlet is just another way of setting up forms on the web. The main difference is instead of the client and the Forms runtime talking directly, they do so via the webserver. This means thay you only need to have one port opened in your firewalls (e.g. 80) instead of two (80 and 9000)
    Please read the paper I indicated and this will hopefully explain it all.
    As to the suggestion of using the LOGON built int - this would be a solution but you will have to consider if this is acceptable if you have more that one user since the person running the application would have to identify themselves in some way.
    The other option is do not add the username and password in teh HTML and the default logon dialog will appear.
    Regards
    Grant Ronald
    Forms Product Management

  • J2ee Web application exploded format in oracle 10g

    Hi,
    I am trying to develop a simple j2ee application in Exploded Format
    in oracle 10g AS. i have created a new OC4J instance called
    TestOC4j for this. A .war file works fine in this instance.
    I have placed the application under applications directory of TestOC4j.
    I have made entries in server.xml, oc4j_mod.conf,
    default-web-site.xml,http-web-site.xml and application.xml in META-INF
    of the application.
    The application get deployed with no errors.gets created in
    application-deployments too.
    But the url http://server-ipaddress:7778/test_app is not working.
    Please help.
    The folder struture is as follows:
    test_app
    --META-INF
    -----application.xml
    --test_web
    -----pages
    -------welcome.jsp
    -----WEB-INF
    -------web.xml
    -------lib
    -------src
    The entries in server.xml is as follows:
    <application name="test_app" path="../applications/test_app" auto-start="true" />
    <web-site path="./http-web-site.xml" />
    The entries in application.xml is as follows :
    <module>
    <web>
    <web-uri>test_web</web-uri>
    <context-root>/test_app</context-root>
    </web>
    </module>
    The entries in default-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in http-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in oc4j_mod.conf is as follows:
    Oc4jMount /test_app TestOC4j
    Oc4jMount /test_app/* TestOC4j
    Regards,
    Roopa

    Roopa, it looks like there is no problem with the deployment of your application in exploded format. Have you accessed http://server-ipaddress:7778/test_app/pages/welcome.jsp? Any problem access http://server-ipaddress:7778/j2ee/, the default home page of the default-web-app ?
    When you say the url http://server-ipaddress:7778/test_app is not working, what is the error message if any on the browser, on server console, in the server.log and http-web-access.log of ORACLE_HOME/j2ee/home/log/, ORACLE_HOME/j2ee/home/application-deployments/test_app/application.log?

Maybe you are looking for

  • Cisco VPN client crashes with Error 51 on Intel Mac Mini

    I am in the process of migrating from XP to Tiger on a brand-new Mac Mini (Intel Duo). Now I am stuck: I use v 4.8.00 of the Cisco VPN client supplied by my university's IT dept. to connect to the Campus intranet. I have been unable to succesfully us

  • How do I get the event / text to show on my calendar?

    In my calendar, when on the day, the text / event is not showing and it used to.  If I click on it, it's still there but I want the event to show at a quick glance. How do I get that back?

  • PALM TX WON'T START.

    Hello All. After my last HotSync my Palm TX appears to have lost all of its information and now continually tires to start up but with no success. It powers up and then shuts off only to start the process over again. I have tried resetting both soft

  • How to make this example run on IE ?

    for example below : * LunarPhasesRB.java requires the following files: *    images/image0.jpg *    images/image1.jpg *    images/image2.jpg *    images/image3.jpg *    images/image4.jpg *    images/image5.jpg *    images/image6.jpg *    images/image7

  • BPMN Survey Online

    BPMN (Business Process Modeling Notation) is gaining unprecedented momentum in academia and practice. But what exactly are the factors that drive the acceptance of BPMN? How satisfied are end users of BPMN with the notation? Do user experiences of BP