Oracle9i lite with struts

Hi,
I am using Oracle9i Lite (Web-to-go Release 5.0.2 for Windows) Application server in my application. I am going to implement the entire application in
Apache Struts framework.
I tried to run the demo application in Oracle9i Lite web-to-go(Release 5.0.2 for Windows) using Struts 1.0 framework.
I am getting the following error in console.[ while parsing the web.xml file ,initParam becomes null]
C:\Documents and Settings\ljagan>wtgdebug
log1: Mount point jdbc:polite:WEBTOGO oracle.lite.web.ifs.OSFS@17f1ba3
log9: inside jupdevworkspace === null
log1: Adding application OLAM
log9: web.xml:D:\oralite9\Mobile\Sdk\wtgsdk\root/Olam/WEB-INF/web.xml
log9: web.xml: web.xml exists
log9: web.xml: loading the xml file...
log9: web.xml: creating URL: file:/D:/oralite9/Mobile/Sdk/wtgsdk/root/Olam/WEB-I
NF/web.xml
log9: web.xml: Now parsing the xml file...
log9: web.xml: Parsed the xml file.
log9: web.xml: Successfully parsed the xml file
log1: web.xml: Adding webxml servlet action
log1: org.apache.struts.action.ActionServlet 2
log9: web.xml: AppServletHandler: Adding context parameters ...
log9: web.xml: appServletHandler initParams is null. Initialize the initParams h
ashtable with contents of contextParams hashtable
log1: ljagan.cptdomain.com 7070

Hi Frank ,
First thanks to your reply.
You are correct only, this log does not show error message,The ActionServlet class was loaded Successfully but the struts-config.xml was not loaded because initParam becomes null.
When i tried to run sample program,getting following error in jsp .
Exception:
javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
     at org.apache.struts.util.RequestUtils.message(RequestUtils.java:568)
     at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
     at olam.index._jspService(_index.java:67)
     at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
     at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:419)
     at oracle.jsp.JspServlet.doDispatch(JspServlet.java:265)
     at oracle.jsp.JspServlet.internalService(JspServlet.java:184)
     at oracle.jsp.JspServlet.service(JspServlet.java:154)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at oracle.lite.web.JupServlet.service(JupServlet.java:226)
     at oracle.lite.web.MimeServletHandler.handle(MimeServletHandler.java:85)
     at oracle.lite.web.JupApplication.service(JupApplication.java:539)
     at oracle.lite.web.JupHandler.handle(JupHandler.java:109)
     at oracle.lite.web.HTTPServer.process(HTTPServer.java:306)
     at oracle.lite.web.HTTPServer.handleRequest(HTTPServer.java:162)
     at oracle.lite.web.JupServer.handle(JupServer.java:310)
     at oracle.lite.web.SocketListener.process(SocketListener.java:172)
     at oracle.lite.web.SocketListener$ReqHandler.run(SocketListener.java:226)
NOTE: The same sample application works fine in Apache Tomcat server.
Pls reply

Similar Messages

  • How can an Oracle9i Lite DB receive connections via JDBC?

    I have not really experienced with accessing Oracle from Java, so here is a short description of the problem:
    I haven't yet figured out how is a database listening for connections. I think that the use of Listeners is for this job but I have not yet been able to configure them right for enabling access from a Java program. All these terms like SID and Net Configuration Manager are quite confusing and don't know how to use each.
    My database is Oracle9i Lite and called "harris_db". I am using JDeveloper9i and the Thin driver is used for accessing the database. The database is local and I am not sure whether I am supposed to use only TCP, IPC or both protocols. Do I need a Name Server? Also, what should be the database URL? I know that is should have the following format "Oracle:thin@..." but don't know exactly.
    Sorry for all those questions, but I am trying to find a way, I am really confused...!
    Thank you in advance for your assistance.

    The 9i 'Lite' database is not a multi-user db and doesn't have a listener. You should be able to use the JDBC/ODBC bridge to get to it, I haven't looked at the lite version in a while there should also be a type-2 driver for it which would eliminate the bridge. I doubt very much that there is a type-4 driver for it, but you can check. The 'big' Oracle type-4 (thin) and type-2 (OCI) drivers are not intended for use with Oracle Lite.

  • Security in Oracle9i lite

    Hi
    We're developing an app wich needs a lightweight database using VB6. So we started working with Oracle9i lite, and right at this point we're worriying about security :
    - We have to use an ODBC driver, and it's seems easy to see DB user/password using a tracer (not only with the ODBC manager trace utility).
    - We have encrypted the database (with ENCRYDB) but it doesn't ask for the encryption password anywhere after that ...?? and if the password is passed in the ODBC connection string ... it won't be very useful, well al least the .ODB file is encrypted.
    Our app will run on all-stand-alone PCs.We think the main keypoints when we try to keep data safe from attacks are :
    - Data encryption on the database to prevent direct file (.ODB) data browsing and copying.
    - Database access only available from application, and security (user access) is controlled by the app, so only one user/password to access the database must be kept by the app (in a secure way).
    - Traffic between application and database (or at least confidential data) must not be available to tracers, etc.
    We would recieve very gladly any suggestions about this problems to help us take any decission.
    Un saludo.

    Howdy. This information may come in a little late, but try using the CREATEDB utility that comes with 9i Lite. Just type createdb on your command prompt for syntax.

  • Oracle9 lite and configuration mode

    I am have the oracle9i database standard edition
    and i want to use oracle9 lite edition in my project.
    I already had installed all software.
    And now i stand on choice between three configurations of system.
    modes:
    first - mobile server in standalone mode.
    This variant to give the best fit.
    But why the official documentation calls the standalone mode as test mode for developers?
    second - mobile server as module for apache.
    i don't know about this configuration, i only recently heard about her.
    third - mobile server as module for oracleAS.
    I am necessary to have additional licenses for oracleAS.
    What somebody will tell me for my new project and which the configurations you uses for the projects ?

    Nothing wrong with running standalone, except that you would have to telnet or RDC into the machine to restart the service. That's the only real limitation I can think of.
    Plus, I think you can run the application in multiple JVMs or Clusters if you have application server. This would only be beneficial if your application was memory intensive. Most applications are bound by the number of CPU's so multiple JVMs don't help all that much.

  • Is Oracle9i Lite the right choise of us?

    We have Oracle db 7.3 runing on solaris. Can 9i lite work with my old db?
    Thanks
    tq

    There is Oracle9i Lite versions downloads list:
    Oracle9i Lite Release 5.0.2 for Windows CE, 95/98/NT/2000, Pocket PC, Palm Computing Platform, and EPOC
    Oracle9i Lite Release 5.0.2.0.0 for Linux New! 22-Oct-02
    Oracle9i Lite Release 5.0.2.0.0 for Sun SPARC Solaris
    Oracle9i Lite Release 5.0.2.0.0 for HP-UX New! 22-Oct-02
    Oracle9i Lite Release 5.0.2.0.0 for AIX
    Oracle9i Lite Release 5.0.2.0.0 for HP Tru64 New! 14-Nov-02
    But Lite, is not in Oracle 9i(Interprise,Standart,Personal) family. This product for mobile devices, or small offices up to 16 concurent connections in Branch Office mode. It is very simple in administration.

  • I have a problem with my mac, lit with blank screen loading bar and then goes out, I need assistencia on line or contact the Technical Support Service in Argentina

    I have a problem with my mac, lit with blank screen loading bar and then goes out, I need assistencia on line or contact the Technical Support Service in Argentina

    Priscilla,
    if your Mac is still in warranty, then you should contact the Argentinian technical support service. If it is out of warranty, then we can try to lend a hand. (We’re just fellow Apple product users here.)

  • Error 500, deployment with struts

    An application developed in JDeveloper 9.02 with struts 1.1b works fine when running using the local OC4J instance running from JDeveloper. I created a deployment profile with a .war and .ear, deployed to the OC4J standalone instance using the EM website, and all seemed well. Now it sporadically gives the "Internal Server Error" when navigating between pages. I can't find anything in the logs, and ideas?

    It's OC4J core install for 9iAS Release 9.02. I've deployed to Solaris since there is a bug that can give this error that is patched for Solaris, but not Windows. The error occurs when navigating pages in a struts app. Sometimes it works fine, then you click on one of the image buttons to go to the next .jsp and this error comes up.
    Ruth
    What version of OC4J you are testing on ?
    Is it OC4J standalone or Oracle9iAS that you are using.
    more details would be helpful in diagnosing the problem.
    -Prasad

  • WLS 8.1 sp1 with Struts 1.1 JSP with bean tag won't compile

              Hello,
              We are currently porting our application which uses struts 1.1 to WLS 8.1 sp1
              from another app server. Everything seems to deploy correctly and pages which
              use struts tags appear to compile and run fine. However, the pages with struts
              <bean:define> tags are not compiling.
              Example JSP Code:
              <bean:define id="userForm" name="userForm" scope="session" toScope="page" type="UserFormBean"/>
              <% if (userForm.hasUserData()) {hasUser=true;} %>
              WLS Console Output:
              ..jsp_servlet\_jsp\_sailor\__home.java:493: cannot resolve symbol
              symbol : variable userForm
              location: class jsp_servlet._jsp._sailor.__home
              if (userForm.hasUserData()) { //[ /jsp/sailor/home.jsp; Line: 38]
              When I look at the JSP's parsed java code (__home.java:493) I find that nowhere
              in the class is the variable userForm declared.
              Is this a bug in WLS? Does anyone know of a workaround?
              Thanks,
              Scott
              

    Please contact customer support [email protected] and request a patch for
              CR112789. AT_END tags do not work correctly in 81sp1
              --Nagesh
              "Scott Fleming" <[email protected]> wrote in message
              news:3f734c0d$[email protected]..
              >
              > Hello,
              >
              > We are currently porting our application which uses struts 1.1 to WLS 8.1
              sp1
              > from another app server. Everything seems to deploy correctly and pages
              which
              > use struts tags appear to compile and run fine. However, the pages with
              struts
              > <bean:define> tags are not compiling.
              >
              > Example JSP Code:
              >
              > <bean:define id="userForm" name="userForm" scope="session" toScope="page"
              type="UserFormBean"/>
              >
              > <% if (userForm.hasUserData()) {hasUser=true;} %>
              >
              > WLS Console Output:
              >
              > ..jsp_servlet\_jsp\_sailor\__home.java:493: cannot resolve symbol
              > symbol : variable userForm
              > location: class jsp_servlet._jsp._sailor.__home
              > if (userForm.hasUserData()) { //[ /jsp/sailor/home.jsp; Line:
              38]
              >
              > When I look at the JSP's parsed java code (__home.java:493) I find that
              nowhere
              > in the class is the variable userForm declared.
              >
              > Is this a bug in WLS? Does anyone know of a workaround?
              >
              > Thanks,
              > Scott
              

  • Custom tag with struts

    Hi
    I would like to create a custom tag that will print this section of html with struts:<tr>
         <td class="f_name"><bean:message bundle="fields" key="firstName" /></td>
         <td class="f_value"><html:text property="firstName" /></td>
    </tr>This means that i sould pass to the custom tag the folowing attributes:
    1. bundle - the bundle name to use ("fields").
    2. property - the name of the submitted filed and the key in the bundle resource ("firstName").
    This is how i want to use it:<html:form action="/register.do" enctype="UTF-8">
    <table cellspacing="0" cellpadding="0" border="0" class="t_details">
    <mytld:text bundle="fields" key="firstName"/>
    <mytld:text bundle="fields" key="lastName"/>
    </html:form>For me, this way looks much easier to develop my application/s, don't you agree?
    The problem is that i can't (or i don't know how) to use custom tags in other a custom tag, and if i include a jsp file (with pageContext.indlude("url");), how do i pass the attributes to the jsp page?
    Thanks a lot
    mamtz

    Interesting answer, i'll put it in my mind, but this is not what i ment :) (nice thinking...)
    what i ment was, html:text tag has many attributes like: property, name, alt, size, maxLength and so on...
    i would like sometimes to use size or maxLength and sometimes not.
    take a look at what i wrote:<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%
         String property=""+request.getAttribute("property");
         String bundle=""+request.getAttribute("bundle");
         Object max=request.getAttribute("maxLength");
         String maxLength= max==null ? "" : ""+max;
         Object s=request.getAttribute("size");
         String size= s==null ? "" : ""+s;
    %>
         <tr>
              <td class="f_name"><bean:message bundle="<%=bundle%>" key="<%=property%>" /></td>
    <%     if(max!=null && s!=null){
    %>          <td class="f_value"><html:text property="<%=property%>" maxlength="<%=maxLength%>" size="<%=size%>" /></td>
    <%     }else if(max!=null){
    %>          <td class="f_value"><html:text property="<%=property%>" maxlength="<%=maxLength%>" /></td>
    <%     }else if(s!=null){
    %>          <td class="f_value"><html:text property="<%=property%>" size="<%=size%>" /></td>
    <%     }else{
    %>          <td class="f_value"><html:text property="<%=property%>" /></td>
    <%     }
    %>     </tr>pretty complicated, is'nt it?
    think what would happen if i would like to add just one more attribute...

  • Easiest way to validate with Struts?..

    Hello,
    I have a problem with validating a simple form with javascript via Struts validator. It inserts the whole javascript instead <html:javascript formName="whatever"/> and as a result half of the html code that follows gets cut off. I don't know why this happens, maybe because the javascript is so big (although that sounds like nonsense).
    Is there a better, simpler way to validate with Struts? I just want something to start working..
    Thanks.

    Make sure you have validator-rules.xml file in WEB-INF/ folder
    Make sure you have validation.xml file in WEB-INF/ folder
    Modifty validation.xml file to match your form name (as defined in struts-config.xml)
    i think this should be enough

  • InputText issue with Struts

    I'm using jsf 1.1 with struts 1.3.5 and am experiencing an issue with the inputText element. The problem is the name attribute being generated is not allowing the form bean's attributes to be set. For example:
    <h:inputText id="username" value="#{loginForm.username}"/>
    generates
    <input id="_idJsp3:username" name="_idJsp3:username" type="text" value=""/>
    The issue being the name of the field is _idJsp3:username so the form property 'username' is not getting set. I've tried removing the inputText tag and replacing it with this:
    <input name="username" type="text"/>
    And it works. What's the deal? I know a lot of people have used/are using JSF and struts together, what am I doing wrong?
    By the way, this is the last hurdle i need to clear so any help would be appreciated.

    first - thanks for your reply
    I can understand what you mean , to adhere to the MVC conception , we need to have any action go through the controler .
    but , once I wanna access to a jsp file , then I need to set a global-forward and a ForwardAction , when time goes by, and the project keeps getting larger , so there will be too many forwards and FrowardActions , right ?
    actually , I have a Office.jsp , which has a frameset inside , left and right,each invokes a jsp file like this :
    <frameset rows="*" cols="144,*" framespacing="2" frameborder="NO" border="2" bordercolor="#CC0000">
    <frame src="OfficeLeft.jsp" name="leftFrame" scrolling="NO" noresize>
    <frame src="Notification.jsp" name="RightFrame">
    </frameset>
    when I have successfully forwarded to this Office.jsp , it prompts OfficeLeft.jsp and Notification.jsp are not available. so my problem is I don't know how to get this work fine .

  • Problem with FileUpload with Struts

    Hello,
    Here is my form I've created :
    <html:form action="/UploadFile.do" method="post" enctype="multipart/form-data">
    <html:file property="file" />
    </html:form>
    The form I submit conatins a "file" attribute of FileForm type.
    I did exatcly as mentionned in different tutorials to upload files with Struts.
    But I get the following exception and I can't figure out what's happening:
    javax.servlet.ServletException: BeanUtils.populate
    at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
    java.lang.IllegalArgumentException: argument type mismatch
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Please Help !
    I'm using Struts 1.1 by the way
    Thank your for your help
    Hugo

    What is in the form bean you're using? You need a field that holds a FormFile object:
    import org.apache.struts.upload.*;
         private FormFile file;
         public FormFile getFile() {
              return this.file;
         public void setFile(FormFile file) {
              this.file = file;
    ...

  • Oracle 8i Lite with Embedded Visual Basic

    Has any one used Oracle 8i Lite with EVB to develop an application on Windows CE Platform. Can any one help me where can i get sufficient information to do this. Thank you in advance.
    suresh
    null

    I'm having alot of problems trying to connect to an Oracle 8i database from my handheld Windows CE Platform. Below is the code that I am using in eVB. I can't find any support for the name of a provider. The provider that I have listed here is the normal ADO provider for oracle, but I have no idea which provider to use for the CE system. If anyone could help me out, please post your responses here. Thanks!
    I did try to use the free download of ViaDB from Odyssey Software and they don't support the H/PC Pro. This is why I need to find an alternative to connecting to the Oracle8i database from my WindowsCE Device.
    I'll probably end up calling Oracle because they do support ADOCE. see here
    Dim adoConn As ADOCE.Connection
    Dim adoRst As ADOCE.Recordset
    Dim mstrSQL as String
    Set adoConn = CreateObject("ADOCE.Connection.3.1")
    adoConn.Open("Provider=msdaora;" & _
    "Data Source=MyOracleDB;" & _
    "User Id=myUsername;" & _
    "Password=myPassword;"
    mstrSQL = "SELECT * FROM myTable"
    Set adoRst = CreateObject("ADOCE.Recordset.3.1")
    Call adoRst.Open(mstrSQL, adoConn, adOpenDynamic, adLockOptimistic)

  • How to use displaytags with struts

    How to use display tags with struts to generate report from database

    I think it would only consist in including the tag library of displaytags in the header and use the prefix of desplay tags.
    Exporting the report from a database would only need to retrieve this information from the database as a List, Map or Collection of objects (beans) and display tem with the corresponding tag (table)
    You have some more information here:
    http://displaytag.sourceforge.net/11/tut_basic.html
    Regards and good luck,
    Fran Serrano.

  • How to use Cinema4D lite with no opening After Effects CC ?

    How to use Cinema4D lite with no opening After Effects CC ?
    Is that possible ?
    Open a 3D object Photoshop-type in After Effects CC (without C4D)
    It is also possible?
    thanks
    xav

    It is as Mylenium says.
    See this page for details such as this:
    "You open the version of CINEMA 4D that is installed with After Effects using the New > MAXON CINEMA 4D File command or the Edit Original command in After Effects. You will not see this version of CINEMA 4D installed in the Start menu on Windows or in the Applications directory on Mac OS."

Maybe you are looking for

  • HELP! Can I recover lost photos?

    I seem to have lost nearly 6 months worth of photos from my Library. My photos are stored on a separate internal drive and are backed up to a removable external drive. I think that I backed up the Library from the external to the internal instead of

  • SOAP Header in SOAP Receiver adapter

    Hi All, I am doing a Proxy to  Webservice scenario where webservice requires the SOAP request as below. <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">     <SOAP-ENV:Header>       

  • Brief appearance of a dialog box onscreen

    New 27" iMac w/fusion drive has a dialog box appear briefly, too quick to read. Pops up every once in a while. Flashes onscreen then dissapears. Any takers?

  • PSE 5.0 Freezes up

    Whenever I try to create a shape layer on Photoshop Elements 5.0, it freezes up and only shows me double-sided arrow cursors and won't let me click on any layers or tools. Please help me figure this out! The phone support line at Adobe doesn't suppor

  • Elements 10 install problems !

    I downloaded the trial version. and it worked fine. then I uninstalled it. I later bought the software at the store. When I use the cd to install it opens the installer then flashes to a sceen that askes me if I want to uninstall elements 10. No I do