Seek advices on simple web app

weblogic11g, RDBMS11gr2
skills: PLSQL, and limited in J2EE programming.
I am a DBA for the cust app. I'd like to create a simple web app for our help desk to run a couple of queries against the app's database, and execute a couple of the statements to resolve the issues if found from the queries.
I'd like to deploy the web app war the WL without not requiring additional resources such as named JDBC data sources or JMS queues.
Please advise me what minimum do I have to have to make this simple web app.

Hi,
The below URL should help you
http://docs.oracle.com/cd/E18476_01/doc.220/e18479/deploy.htm
Thanks & Regards,
Murali.
=============

Similar Messages

  • Simple Web App NOT working with JBoss on IDEA IntelliJ

    Hi Experts:
    I am using TOMCAT_4.0.3 (bundled with JBOSS_3.0.0) and using IntelliJ-IDEA as my IDE environment.
    On one of my machine I created a WEB-APP kithany.war. It was working fine on this machine.
    Later when I copied this kithany.war to other machine and put under server/default/deploy directory and then ran Jboss on which I get following error - wonder why?
    13:32:34,078 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/
    13:32:34,156 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=/kithany, warUrl=file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/
    13:32:34,281 ERROR [MainDeployer] could not start deployment: file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/
    org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
    java.lang.NullPointerException
    at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:321)
    at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:238)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
    13:32:34,281 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@6417805a{ url=file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/kithany.war/, deployedLastModified=0 }
    org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
    WHat is wrong on this...? Any related information on above is appreciated.
    THANKS!

    Hello, manojkithany!
    Did you find out what was wrong? I am experiencing this problem with the jboss http-invoker.sar and the jmx-console.war...
    Both machines have the same environment. I found this exception with jobss3.04-tomcat bundle as well as with jobss3.06-tomcat bundle.
    ~~~snip
    2003-04-01 17:10:04,122 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying http-invoker.sar
    2003-04-01 17:10:04,122 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/home/tmt/kroh/jcom/app/jcom/dep
    loy/http-invoker.sar/
    2003-04-01 17:10:04,122 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/home/tmt/kroh/jcom/app/jcom/dep
    loy/http-invoker.sar/invoker.war/
    2003-04-01 17:10:04,125 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] webContext: null
    2003-04-01 17:10:04,125 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] warURL: file:/home/tmt/kroh/jcom/app/jcom/dep
    loy/http-invoker.sar/invoker.war/
    2003-04-01 17:10:04,125 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] webAppParser: org.jboss.web.AbstractWebContai
    ner$DescriptorParser@1c8efd1
    2003-04-01 17:10:04,173 INFO [org.jboss.web.catalina.EmbeddedCatalinaService41] deploy, ctxPath=/invoker, warUrl=file:/home/t
    mt/kroh/jcom/app/jcom/deploy/http-invoker.sar/invoker.war/
    2003-04-01 17:10:04,220 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD JSP Tag Library
    1.1//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/jsp/resour
    ces/web-jsptaglibrary_1_1.dtd'
    2003-04-01 17:10:04,221 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD JSP Tag Library
    1.2//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/jsp/resour
    ces/web-jsptaglibrary_1_2.dtd'
    2003-04-01 17:10:04,224 DEBUG [org.apache.commons.digester.Digester] addRuleSet() with no namespace URI
    2003-04-01 17:10:04,224 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD Web Application
    2.2//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/resources/
    web-app_2_2.dtd'
    2003-04-01 17:10:04,225 DEBUG [org.apache.commons.digester.Digester] register('-//Sun Microsystems, Inc.//DTD Web Application
    2.3//EN', 'jar:file:/home/tmt/kroh/www/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar!/javax/servlet/resources/
    web-app_2_3.dtd'
    2003-04-01 17:10:04,236 DEBUG [org.apache.commons.digester.Digester] addRuleSet() with no namespace URI
    2003-04-01 17:10:04,242 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] AbstractWebContainer.parseWebAppDescriptors,
    Begin
    2003-04-01 17:10:04,243 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] Creating ENC using ClassLoader: java.net.Fact
    oryURLClassLoader@df0438
    ### concatenation, always the same ###
    2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..org.jboss.mx.loading.UnifiedClassLoader3@15
    db13f{ url=file:/home/tmt/kroh/jcom/app/jcom/deploy/http-invoker.sar/invoker.war/ }
    2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..java.net.URLClassLoader@6e1408
    2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..sun.misc.Launcher$AppClassLoader@7a78d3
    2003-04-01 11:09:07,737 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] ..sun.misc.Launcher$ExtClassLoader@929206
    2003-04-01 11:09:07,738 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] Linked java:comp/UserTransaction to JNDI name
    : UserTransaction
    2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] addEnvEntries
    2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkResourceEnvRefs
    2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkResourceRefs
    2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkEjbRefs
    2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkEjbLocalRefs
    2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] linkSecurityDomain
    2003-04-01 11:09:07,739 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] Linking security/securityMgr to JNDI name: ja
    va:/jaas/http-invoker
    2003-04-01 11:09:07,741 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] AbstractWebContainer.parseWebAppDescriptors,
    End
    ##### remark: from here it starts to deviate from normal behavior ####
    2003-04-01 11:09:07,744 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
    2003-04-01 11:09:07,746 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
    2003-04-01 11:09:07,746 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
    2003-04-01 11:09:07,751 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scann
    er.URLDeploymentScanner$DeployedURL@ba617c43{ url=file:/home/tmt/kroh/jcom/app/jcom/deploy/http-invoker.sar/, deployedLastModi
    fied=0 }
    org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
    ~~~snap
    Olaf

  • Developing simple web app

    Hi,
    Really just want to know, I have this task to develop a sime web app that involves a database (to add new records, retrieve data, del, perform queries etc), where there are a number of user access levels. I'm envisioning that users will perform all this via JSP screens, with the input boxes taking parameters.
    I'm ok with java but new to all this jsp stuff.... just want to know, will knowledge of jsp and sql queries do in sufficing this task?
    Or, is the use of EJB and such other technologies be needed to complete such a task? (I'm on a very short timescale, and given that I already need to learn JSP whilst I do the task, things will be very tight if EJB is a must)
    Thanks.

    Hi,
    Thx for the reply.
    I was under the impression that JSP pages could be
    created with just HTML and SQL after I saw one JSP
    example, where the actual SQL resided in the files.This is true, but it is not looked at like a good thing. It makes the JSP ugly and hard to maintain. Besides, if you write a DB access class, then a JavaBean to represent your Data, you can do a good bit of testing and coding before you have an understanding of JSP. Then you can use the JSP to display the data, and not worry about accessing, scriptlets, where quotation marks go, and things like that... JSP are used for display, if you do your processing and logic in normal Java classes, then JSPs are much easier to work with, especially if you already know java.
    >
    Just some followup-q's, I'm been looking around and
    everyone mentions a web-inf folder... but in the same
    example I read, no such thing existed, nor did it
    include a single javabean/servletfile (all jsps). I'm
    not entirely sure if the example I saw is the full
    thing or just including those files accessible to the
    user on the client end.... so this may sound stupid,
    but is the web-inf compulsory for a web-app?
    If so, would you happen to have any good links to
    pages teaching this? I've googled this but found a
    series of confusing pages.So Web Apps are normally deplyed as a WAR (http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebApp3.html). The link should describe how the WAR is put together.
    Even if you don't package the web app in a WAR, your directory structure should look the same.

  • Simple web app

    I'm using Dashcode's browser template for a web app but I'm having trouble navigating through different levels. If I were to put a button on levelOne, how would I have it navigate to levelTwo?

    A Servlet is normally there to pre/postprocess requests. For example obtaining a list of records from DB and forwarding the request to a JSP for presentation. Or gathering, validating and/or converting request parameters from a form submit and preparing the result and forwarding the request to a JSP for presentation.
    Now, you want to record a voice. If you want to do this with Java, then you'll need to run this at the client machine. As servlets run at the server machine, it can't record the voice, it can at highest only retrieve the voice stream and store it at the database or local disk. To record a voice using a web application, best what you can do is to create a Java applet or Java web start application which you on its turn embed in a JSP page for presentation. The applet or application on its turn can make use of the JMF API to record a voice. Then let the applet or application send the stream to the servlet so that it can process it.
    Techniques you'll need to learn about:
    1) Applet or web start application (JNLP).
    2) AWT and Swing (for UI of applet or application).
    3) JSP and HTML (to embed applet or application in web page).
    4) JMF (to record voice).
    5) Servlets (to process URL requests, the request body may contain the voice stream).

  • Simple web app idea - how to implement the servlet?

    I want to make a simple web application, that all it does is to allow a user to record his voice, using his microphone, and then save this audio file on my server (maybe allow him to hear it again, later). BUT -
    I don't quite understand how it should work - I guess there is a java library to do the recording, that's not a problem, but how can I record via the web??
    how can I use the java servlet (which is from the examples I've seen usually displays some new content upon a certain request, nothing more..) to do it?
    (I mean. I don't fully understand the communication with the servlet, I think. I know that the servlet has a method for dealing with POST messages, for examlpe. but how can it help me do what I described above?)
    hope I made my self clear, thanks :)
    Kogan.

    A Servlet is normally there to pre/postprocess requests. For example obtaining a list of records from DB and forwarding the request to a JSP for presentation. Or gathering, validating and/or converting request parameters from a form submit and preparing the result and forwarding the request to a JSP for presentation.
    Now, you want to record a voice. If you want to do this with Java, then you'll need to run this at the client machine. As servlets run at the server machine, it can't record the voice, it can at highest only retrieve the voice stream and store it at the database or local disk. To record a voice using a web application, best what you can do is to create a Java applet or Java web start application which you on its turn embed in a JSP page for presentation. The applet or application on its turn can make use of the JMF API to record a voice. Then let the applet or application send the stream to the servlet so that it can process it.
    Techniques you'll need to learn about:
    1) Applet or web start application (JNLP).
    2) AWT and Swing (for UI of applet or application).
    3) JSP and HTML (to embed applet or application in web page).
    4) JMF (to record voice).
    5) Servlets (to process URL requests, the request body may contain the voice stream).

  • Simple Web Frontend for existing Java app

    Hi there!
    (sorry for my english at first ;)
    I have an existing java app which currently is used via command line. It's a server application which mostly does monitoring outputs and functions you can use in the shell are like starting/stopping the server. For these outputs and for starting/stopping and so on i want to create a simple web frontend which gives me the ability to do this.
    What do i need? It would be fine if i do not have to set up a large tomcat server because the program should run out of the box. Of course i want to access the website via the internet (simple login). The whole thing would be about 2-5 simple pages. Best thing would be if i could update the monitoring variables via java script.
    Can i use servlets (not much experience with it so far, that's why i ask :) )? What do i need for the webserver? Can i access my data variables from right from the servlet?
    Thanks in advance,
    kiwaque

    If you are familiar with Swing, I would suggest GWT for the Frontend... you can build and debug the Frontend similar to a Swing App, and then compile it to HTML/CSS/Javascript...

  • Access Web App - Need some advice with query (text to number problem)

    In an Access Web App I want to create a query.
    I have two tables which are related but in a bit complicated way. For some reason I have a text field in which I save a number. This number relates to the ID of another table. When I combine these two tables in a query, it's not working because the textfield
    cannot query the (ID)number field.
    Is there a way, in this query so that I covert the text field to a number so the query will work?
    I tried to do it with the "Parse" function but no luck, so far.
    Thanks, Mike

    Hi Mike,
    Based on the description, you want to create a query by joining a text filed with number filed?
    Did I understood correctly? If so, as far as I test, it works in Access 2013 web app. Here is the screen shot for your reference:
    If I misunderstood, please feel free to let me know.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to display all data on one page in web app

    Hello.
    So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
    <bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
    in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
    So how to display this data on one page if its impossible how to torn on pagination.

    So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
    In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
    Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice.

  • JSP does not have visibility of java classes in simple Web Module Project

    Dear Experts
    I am developing what I thought would be a very simple Web Module Project for a simple webservice
    to allow a user to logon to Netweaver Portal with a simple logon and password.
    I have not done this in over 8 years, and am somewhat rusty.
    The webservice is package in  a .war and is deployed via an Enterprise Application project as a .ear.
    The issue I am having is that I want to enhance the presentation of the webservice through the
    provision of css and adding a couple of images. The "libraries" are visibile in the build path of web
    module project.
    At the top of my .jsp for logon form I want to import some java libraries in order
    to get String webpath = componentRequest.getWebResourcePath()"/":
    <%@ page session = "true"%>
    <%@ page import = "com.sapportals.portal.prt.resource.IResource" %>
    <%@ page import="com.sap.security.core.sapmimp.logon.SAPMLogonLogic" %>
    <%@ page import="com.sap.security.core.sapmimp.logon.SAPMLogonCertLogic" %>
    <%@ page import="com.sap.security.core.logonadmin.IAccessToLogic" %>
    <%@ page import="com.sap.security.core.logonadmin.ComponentAccessToLogic" %>
    <%  IAccessToLogic proxy = new ComponentAccessToLogic (componentRequest, aResponse, IAccessToLogic.ENV_LOGONCOMPONENT);
    final boolean inPortal = true;
    String webpath = componentRequest.getWebResourcePath()"/";
    // todo: find layout schema...
    aResponse.addResource(componentRequest.getResource(IResource.CSS, "css/main2.css"));
    %>
    However, during runtime the libraries are unknown and I get the following SAPJ2 EE errors
    indicating the methods etc are not known to the jsp:
    Full Message Text
    application [ctxhrofm] Processing HTTP request to servlet [jsp] finished with error.
    The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation rocess: [/usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java22: package com.sapportals.portal.prt.resource does not exist
    import com.sapportals.portal.prt.resource.IResource;
                                              ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:23: package com.sap.security.core.sapmimp.logon does not exist
    import com.sap.security.core.sapmimp.logon.SAPMLogonLogic;
                                              ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:24: package com.sap.security.core.sapmimp.logon does not exist
    import com.sap.security.core.sapmimp.logon.SAPMLogonCertLogic;
                                              ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:25: package com.sap.security.core.logonadmin does not exist
    import com.sap.security.core.logonadmin.IAccessToLogic;
                                            ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:26: package com.sap.security.core.logonadmin does not exist
    import com.sap.security.core.logonadmin.ComponentAccessToLogic;
                                            ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:60: cannot resolve symbol
    symbol  : class IAccessToLogic
    location: class jsp_LoginForm1310122356593
    IAccessToLogic proxy = new ComponentAccessToLogic (componentRequest, aResponse, IAccessToLogic.ENV_LOGONCOMPONENT);
                              ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:60: cannot resolve symbol
    symbol  : class ComponentAccessToLogic
    location: class jsp_LoginForm1310122356593
    IAccessToLogic proxy = new ComponentAccessToLogic (componentRequest, aResponse, IAccessToLogic.ENV_LOGONCOMPONENT);
                                                        ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:60: cannot resolve symbol
    symbol  : variable componentRequest
    location: class jsp_LoginForm1310122356593
    IAccessToLogic proxy = new ComponentAccessToLogic (componentRequest, aResponse, IAccessToLogic.ENV_LOGONCOMPONENT);
                                                                                ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:60: cannot resolve symbol
    symbol  : variable aResponse
    location: class jsp_LoginForm1310122356593
    IAccessToLogic proxy = new ComponentAccessToLogic (componentRequest, aResponse, IAccessToLogic.ENV_LOGONCOMPONENT);
                                                                                    ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:60: cannot resolve symbol
    symbol  : variable IAccessToLogic
    location: class jsp_LoginForm1310122356593
    IAccessToLogic proxy = new ComponentAccessToLogic (componentRequest, aResponse, IAccessToLogic.ENV_LOGONCOMPONENT);
                                                                                    ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:63: cannot resolve symbol
    symbol  : variable componentRequest
    location: class jsp_LoginForm1310122356593
    String webpath = componentRequest.getWebResourcePath()"/";
                    ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:66: cannot resolve symbol
    symbol  : variable IResource
    location: class jsp_LoginForm1310122356593
    aResponse.addResource(componentRequest.getResource(IResource.CSS, "css/main2.css"));
                                                      ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:66: cannot resolve symbol
    symbol  : variable componentRequest
    location: class jsp_LoginForm1310122356593
    aResponse.addResource(componentRequest.getResource(IResource.CSS, "css/main2.css"));
                          ^
    /usr/sap/SQ1/JC20/j2ee/cluster/server3/apps/com.shell/sp~ctxhroap/servlet_jsp/ctxhrofm/work/jsp_LoginForm1310122356593.java:66: cannot resolve symbol
    symbol  : variable aResponse
    location: class jsp_LoginForm1310122356593
    aResponse.addResource(componentRequest.getResource(IResource.CSS, "css/main2.css"));
    ^
    14 errors
    Exception id: [0019996862AA007E00000436000077FB0004A78CA1BA8324]
    I have added the associated DCs for classes to used DCs and they are visible on the buildpath
    of my webservice.
    What am I missing?
    Many thanks for any advice offered
    Mike

    Have you made runtime references to used libraries...?
    refer page 20 ...in
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60d99678-1a29-2d10-94b4-9d9a67b7199b?quicklink=index&overridelayout=true

  • Seeking advice for a self-teaching programme of new Java techs

    Hello,
    after a few years of technically poor projects (I learnt a lot in terms of process, quality, and non-Java technologies, by the way), I'd like to catch up with mainstream Java development.
    I am preparing a programme to learn a few technologies I have missed over the past years. I plan to develop a couple of utilities (simple CRUD apps) on my spare time, gradually including bits and bits of the bricks I want to grasp.
    I need some advice though to make this learning effective.
    My first priority is to invest in reusable knowledge, so I will stick to "standard" bricks, and will aim mostly at off-the-shelf tools that work out of the box
    (for example, I don't want to spend hours to fix a DB install&configuration issue, as I know I will probably never be paid for that kind of job).
    Specifically, the technologies I plan to embrace are:
    * Java SE 5 and 6
    * jUnit 4
    * Spring
    * EJB 3 & JPA
    * Web UIs
    Here are the points where you might help me:
    * JDK 1.5 vs 1.6
    No real doubt here, the biggest language gap was introduced by 1.5. If I'm correct, 1.6 essentially brings new APIs; as long as those APIs are not my primary target (I'll try them only after I've completed my first round of catch-up :o), I am not missing much language-wise, am I correct?
    I could also jump directly to 1.6, ignoring its new APIs, and concentrate on
    1.5 language features, but the risk is stability (losing time with a 1.6 beta bug).
    * jUnit 4
    Nothing special, except I have practically read nothing about it on these forums (contrast this with TSS, where there are regular threads disputing the relative merits of jUnit vs TestNG).
    Is v4.0 a non-event? It seems to bring some niceties (mark test components using annotations), but how much comfort did it bring to those of you who have used it over jUnit 3.8.1?
    * Spring
    Leaving aside that it's on my must-do list, I actually wonder which version I should try?
    I also feel I should try it first on a non-EJB app, to avoid mixing concerns. I will skip the JDBC wrapping API though, as I already have a lot to do with other persistance APIs.
    Any feedback?
    * EJB3/JPA
    (I formerly worked with generation 2.1 of the EE specs)
    1) The biggest issue here is to find a reliable EJB3 container.
    * I've heard JBoss is EJB3-ready, but I don't think it's certified yet.
    * Project GlassFish (Sun-driven open-source JEE5 container) is still in the making
    * Sun SASP9 is, well, released, but I don't know how much of JEE it supports, and haven't investigated into the licensing details yet
    Any feedback on what you're using as a JEE5 container?
    2) As far as EJB vs JPA goes, I also have the plan to use the persistence API
    outside of EJB (likely, I will develop the same simple CRUD app twice,
    once as a Webapp and once as as Swing app, both over the same DB schema).
    But maybe this is pointless, as the entity annotations and API are agnostic; have you experienced some difference that deserve thorough learning?
    3) Obviously I will need a DB. If the EJB container includes one, fine, at least for the EJB part, otherwise I'll need to install and configure one, that will need to run on a desktop PC on MS WIndows, and preferrably include a handy SQL client console for manual verification.
    I know enough of SQL to build even a sub-optimal application schema. However I know nothing of a DB administration, and I don't want to invest in that direction.
    Any advice as to a simple off-the-shelf free DB that runs on Windows?
    * Web UIs
    The dilmena here is two-fold:
    1) In term of "view" technology, I hesitate between plain JSP and JSF
    If I understand correctly, JSF is a specification for reusable view components.
    My local job market leaves me no oportunity to be a UI component developer, whereas I am more likely to someday be tasked to integrate 3rd-party UI components into a business project.
    Is my surface understanding of JSF correct? In this case, how much of JSF should I know if I don't have to develop JSF components?
    2) In terms of controller, as part of my Spring learning, I'll probably have a look into Spring MVC.
    My question is, how much of the servlet/JSP API does springMVC show/hide?
    Is it a good idea to use springMVC to learn servlets and JSPs, or should I stick to manual servlet+JSP?
    I should add that I've worked with servlets/JSPs formerly (as of J2EE 2 or 3),
    I only need to dig new servlet/JSP features.

    Jim_Found wrote:
    okay, so normally you would write the following if-elseif block in order to achieve this
    if (MessageType.TYPE_A.equals(myMessageType)) {
    // do this
    } else if (MessageType.TYPE_B.equals(myMessageType)) {
    // do that
    } else if ...
    but, if you use <this design pattern> and create this <class>, you can suppress the above block to
    CoolClass coolObj = new CoolClass();
    coolObj.doMagic(myMessage);Funny enough inside the doMagic() method would be something along the lines of
    if (MessageType.TYPE_A.equals(myMessageType)) {
    // do this
    } else if (MessageType.TYPE_B.equals(myMessageType)) {
    // do that
    } else if ...Mel

  • Seeking advice on moving up to HDV editing

    I appreciate folks on this forum who have assisted me in the past when I’ve had questions about iMovie, editing, burning DVDs etc. Karsten, Lennart, Bengt and others from around the world have been very kind and helpful. I am now seeking advice from anyone regarding “moving up” to the HDV world of video editing.
    I recently "retired" my 2003 iMac G4 800 MHz flat screen and replaced it with an iMac 2.8 GHz Intel core 2 duo with a 320 GB hardrive and 4 GB of upgraded RAM. I have a 250 GB external drive as well. I also replaced my old Sony TRV-30 digital camcorder (a great old workhorse which is still going strong after 8 years) with a Canon Vixia HV40 that has high definition recording capability (uses mini DV tape).
    I had been using iMovie HD 06 to edit my video projects along with iDVD and Toast 6 to burn them to DVD. I would like to start shooting HDV video with the new Canon, edit and burn the projects to Blu Ray high definition discs. MCE Technologies (among others, I believe) offer both internal and external Blu Ray burners. I don’t believe that the internal Blu Ray burner would work in my new iMac, but I may be wrong on that. (Does anyone know the answer?)
    I believe that the MCE external Blu Ray burner would work with my equipment if attached to one of the Firewire ports or possibly through one of the USB 2 ports. (there is both a 400 and 800 Firewire port on this iMac model.) I was planning to acquire Final Cut Express as the editing program with Toast 10 Pro (plus the Blu Ray plug in) to burn the edited projects.
    Will this work? Is there anything I should know before I plunge “headlong” into HDV editing? Any advice would be most welcome. Thanks in advance.
    Message was edited by: scooper

    scooper wrote:
    .. iMac 2.8 GHz Intel core 2 duo with a 320 GB hardrive and 4 GB of upgraded RAM. I have a 250 GB external drive .. Canon Vixia HV40 .. external Blu Ray burner .. Final Cut Express .. Toast 10 Pro (plus the Blu Ray plug in)
    Will this work?
    I'm jealous.. wow! MY set-up..
    HDV is supported by IMHD6.. just to mention that. so, HDV-editing is same as SD..
    iMHD6 Export 'FullQuality' creates a file, which is HiDef too, for your Toast/BR workflow ..
    HDV creates on import (IMHD6/FCE) huuuuuge files, 40-60GBs/h .. 250 extHDD = 6h, full..
    actual price for extHDD with 1TB <100€ ..
    keep in mind: internal harddrive has to offer any time 10-20GBs free..
    not every BR-standalone-player accepts homebrewn disks..don't be disappointed...
    Toast and iDVD can burn DVDs (=which offer SD only) from HiDef projects.. no need to 'convert'.. both apps downsize automatically...
    FCE has a (very) steem learning curve.. totally different to iMovie.. no one-click-only, no templates, no ready-mades.. but zillions of options, 101% control.. (simple example: ken burns with zoom-to-zil and rotation and moving out of frame...)
    buy a book of FC Mastermind and AppleDiscussions-Level5 supporter *Tom Wolsky* - he's a sensei, in-depth-knowledge, hands-on (=no tech blabla), easy to read and understand.
    don't start with a project, start with 'tests for the trashbin'..

  • Web App field display

    I have a Web App with a field "Categories" set to "Listbox List".
        Web Apps > Fields
        Field Type: Listbox List
        List Items (separate by commas): item1,item2,item3…
    I want to show the  selected items in a web page.
    The problem here is that, when there is more than 1 category it shows the list so:
    item1,item2,item3…
    without any space after the comma.
    I tried to insert spaces or hard spaces between the items in the field definition, but it does not work.
    Any way to accomplish this without javascript?

    Thank you Liam. Sorry for my extra long disappearance…
    I thought about a simple workaround: to just add an extra field (of text type) with the same info contained in the list field (a duplication of data, actually)...
    Any advice against this solution?

  • Can't Edit Data in Access 2013 Web App

    I have an Office 365 P1 account that I have been using to create apps in Access 2010. I tried Access 2013. But when I launch an app, it loads in my Office 365, but editing data is not enabled (the Add and Edit buttons are displayed, but not enabled).
    I have tried creating a new custom web app with one simple table and a view, as well as creating one using a Microsoft pre-built template, and simply creating the app and launching it. In both cases, the app displays, but I cannot add or edit data.
    Is there something with my Office 365 account that is limiting my ability to work with Access 2013 web apps?
    Thank you!

    Hi KrisMarshall7,
    In regarding of the issue, please provide us more information to assist you better.
    What the file format is your Access 2007 file? MDB or ACCDB?
    Where do you want to add the columns? Table, form or query?
    As far as I know,
    the limitation of columns in a table is 250. Thus, I suppose that the database had some hidden columns. Please try to check it. Steps:
    Right-click any field title, then select Unhide Fields. A dialog box will appear. Click the check boxes of any fields you would like to be visible again, then click Close.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Web link to pass the parameter to custom web app then update the field

    Hi,
    I have created the web link in service request object to refer Account Object. I want to let user able to select the account from web link then base on the current SR no and account that have created update the record in CRMOD. My question is how to pass the parameter out to my external web app so that they can update my SR correctly?
    Thank you

    Hi Messer,
    I have put in the syntax as below :-
    https://secure-ausomxega.crmondemand.com/OnDemand/user/AssocAccountPopup?mapBC=Service+Request&OACTRL=Account&ophi=PopupNewForm.Account+Id&pfid=PopupNewForm&OMTHD=AssocPopup&OMTGT=PopupSearchList&assocInit=Y&opht=4&OAOBJ=Service+Request&mapField=Account&ophd=PopupNewForm.Account&ophpd=3&disableclear=Y&ophr=AssocAccountPopup&assocval=&ParentType=Edit
    This pop up screen wil let the user to select the account then i will pass the account and the SR to external web app to update back the CRMOD. I am not too sure the above syntax is correct or maybe can you give some example.
    I am new in CRMOD, hope that you can advice on this.
    Thank you,
    SK

  • Is it even possible to dynamically apply view criteria in an ADF Web App?

    This is one of those situations where something that should take an hour ends up taking days.
    * I have a view.
    * The view has Bind Variables associated with it.
    * The view has View Criteria associated with it.
    * Each of the View Criteria use different Bind Variables.
    * I have a search criteria input page that receives from the user what will ultimately be used to set the bind variables.
    * I have a search results page that uses the view to display a table.
    * I have the code that dynamically sets view criteria and parameters. It is based on the following:
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#BCGFHAGA
    * This code works great, until the iterator associated with the table binding to the view is initialized. At that time, the view is reset to its defaults, and all of my code's doings are discarded. How do I know this? Because I have gone so far as to run my code that sets view criteria and binding variables dynamically in a phase event handler for the search results page in the render response phase. There is no other point at which to dynamically modify the view.
    This is turning into a situation where it seems I will need 5 different views and 5 different pages in order to show a single set of query results. I cannot get dynamically applied view criteria to work in an ADF web app. Has anyone else done it? Can anyone relate to this? Are there any other suggestions before I conclude that it's not possible for this framework to handle this simple scenario?
    Thanks

    There must be a setting or something that I am still missing here. If I write code just like this and make sure it is executed, I still only see the results of my view executed without the view criteria applied using the default bind variable values that I supplied in the view object.
    It's like the fact that I set the bind variables, the view criteria, and executed the view query programmatically is lost on the iterator -- it's like it never happened. What setting is used to ensure that the iterator uses the outcome of what I executed programmatically? There has to be a critical set or setting that I am missing.
    Here is the iterator and search region definitions defined in the page def "executables" section:
      <executables>
         <iterator Binds="CustomSearchView1" RangeSize="25"
                  DataControl="AppModuleDataControl"
                  id="CustomSearchView1Iterator"/>
        <searchRegion Binds="CustomSearchView1Iterator"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      id="CustomSearchView1Query"/>
        </executables>Here's the "tree" binding in the page def file:
      <bindings>
       <tree IterBinding="CustomSearchView1Iterator" id="CustomSearchView1">
          <nodeDefinition DefName="Model.CustomSearchView" Name="CustomSearchView10">
            <AttrNames>
              <Item Value="CustomId"/>
              <Item Value="CustomProjectNumber"/>
              <Item Value="CustomName"/>
              <Item Value="CustomStatus"/>
              <Item Value="CustomStatusDate"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
      </bindings>In an effort to take page flow out of this mess, I had modified this to include the search criteria and search results on a single page. So, I now have a "Search" button. When the "Search" button is clicked, the action method does the following:
        public String searchActionListener ()
              // Get search criteria from select one choice and text input controls.
              AppModule appModule =
                    ( AppModule ) Configuration.createRootApplicationModule (
                        "Model.AppModule",
                        "AppModuleLocal");
              appModule.customSearch( searchCriteria1,
                                                   searchCriteria2,
                                                   searchCriteria3 );
        }In my application module this translates to:
        public void customNoticeSearch ( String searchCriteria1, String searchCriteria2, String searchCriteria3)
           CustomSearchViewImpl searchViewImp =
               ( CustomSearchViewImpl ) this.getCustomSearchView1 ();
           searchViewImp.customExecuteQuery ( searchCriteria1, searchCriteria2, searchCriteria3);
        }Finally, in my custom view object implementation code:
        public void customExecuteQuery ( String searchCriteria1, String searchCriteria2, String searchCriteria3 )
            // Set-up the parameters that are part of the core query.
            this.setp_searchCriteria1( searchCriteria1);
            this.setp_searchCriteria2( searchCriteria2);
            if ( searchCriteria3 != null )
                ViewCriteriaManager vcm = this.getViewCriteriaManager();
                ViewCriteria vc = vcm.getViewCriteria ( "WithLastCriteria" );
                this.setp_searchCriteria3( new Number ( searchCriteria3 ) );
                this.applyViewCriteria( vc );
            System.out.println ("This is fun.");
            this.executeQuery();
        }This code executes, but the results table is empty, and I know that there are results, because I can execute use execute with params to execute the base query and get the correct results back.
    Thanks for taking a look at this.

Maybe you are looking for

  • How do get video to hdmi TV port without using apple tv?

    My new non retina macbook pro 13 inch is supposed to arrive soon.  My old 42 inch Vizeo only has one hdmi port that works so I was planning to use it a s moniter  for  my DAW.  The apple tv is for the living room, not the room where my DAW is.  But a

  • How to move ringtones to new phone?

    I recently got an iPhone 5S, but did not move my ringtones at the time of purchase. I still have them on my Windows laptop, but cannot figure out a way to get them on the new phone. I pushed them up to the iCloud, I added them to iTunes (on my laptop

  • AP 1140 conifguration for a survey

    Hi, I am all new to this. I have a stand alone 1140 AP and i am trying to perform a site survey using the AP; However I dont know what configs need to be on the AP for the survey ? can you help me please?

  • Name of month

    there is some way of obtain the name of the actual month some like this new GregorianCalendar("locale").get(Calendar.Month) y need the name of the month no the number

  • Can't Open iMovie 6 Movie

    iMovie is working fine with other files, but when I try to open one particular file (5.6 GB), nothing happens. What can I do to open it if double-clicking on it won't work and neither will using the File-Open procedure? It's a very important file tha