Running jsp in jdeveloper

Hi,
I am just new to jdeveloper and amfacing an error while running a jsp page.I am using jdev 10g and whenI try to run the jsp page I created i get
Error initializing server: XMLApplicationServerConfig::initHttp(server), cannot find application instance for current-workspace-app
Can some one suggest something?

What version of 10g?
http://www.oracle.com/technology/products/jdev/htdocs/10.1.2.0.0/readme.html
http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.1/readme.html
http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.2/readme.html?_template=/ocom/print

Similar Messages

  • How to develop and Run .jsp page from Jdeveloper 10g

    Dear All,
    I need to develop one small JSP page using Jdeveloper10g. pls share information How to develop and Run .jsp page from Jdeveloper 10g.
    Thanks in Advance,
    Hanimi.

    Hi Gyan,
    Any Idea how to get DB connection for JSP Pages.
    Our Java guys developed one JSP page for Login page.
    After Log in instead of standard responsibilites page we calling custom jsp page, For getting DB connection they defined one properties file and hard coded DB details on that file and calling, but client is not accepting hard coding.
    Pls give any idea for getting DB connection directly in JSP pages.
    Hanimi.

  • Error While running JSP-

    while running JSP which is deployed in JAvaWebserver2.0 Trial version, it is giving this error
    javawebserver: Loading from CLASSPATH POLCATMA001_ItemMasterModule.properties
    javawebserver: Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutp
    ut=console to see it)
    javawebserver: A nonfatal internal JIT (3.00.072b(x)) error 'ResolveItem64' has
    occurred in :
    javawebserver: 'oracle/sql/NUMBER.toBytes (Ljava/math/BigDecimal;)[B': Interpr
    eting method.
    This is happening while inserting a record to any master-detail jsp. In some Jsps while displaying(viewRecord) itself it is giving this error. After this error comes we are not able to do any insert, update or even navigation is not coming properly. Some vague errors like Error Message:null is coming. Why is it so? anybody got any idea abt this? Sometimes The same Jsp is working fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Is your JSP functioning correctly when you run it from within JDeveloper, or are you experiencing the same problems there?
    If you are having the same problems from your JSP within JDeveloper, try the same from the Application Module tester.
    This will help determine where the source of the error is.
    Laura

  • Could not run JSP Aplication Deployed (Wrong port number ??)

    I've testing JSP aplications with Jdeveloper on Oracle9ias.
    To deploy aqplication to server i only can use port 1811 , but to run JSP aplication i only can run this on port 1810, that is Enterprise Manager Servlet port.
    But the examples from Portal run on port 7777, what is wrong ?? how can i define a write port to run my aplication ?? Can you help me ??
    Thanx

    Murali,
    Run the client class with the fully qualified class name.
    java sisters.ejb.sisterclientthanks,
    Deepak
    "murali" <[email protected]> wrote:
    >
    Hi Gurus
    I am trying to run a weblogic application EJB application. I
    could deploy
    the application
    in weblogic 8.1 successfully. But I am getting the following error. I
    have the
    following jars
    in my CLASSPATH .
    1. weblogic.jar 2. j2ee.jar 3. my ejb jar file called StatelessEJB.jar
    Further I had set JAVA_HOME, JDK_HOME etc . My jdk is jdk_141_02 .
    My ejb-jar.xml and weblogic-ejb-jar.xml are deployed in META-INF directory.
    Is it necessary I should populate an application.xml file in the META-INF
    directory.
    Please help me. I had tried my best but all failing.
    In additon to that I had added a jar called wl_client.jar file in CLASS-PATH
    too, but my problem
    still exists. Please provide me a workable solution ASAP. I am struggling
    a lot.
    Thanks in advance
    Murali
    ========================== ERROR MESSAGE =========
    C:\DSTA\session\Sisters\Sisters\sisters\ejb>java sisterclient
    Exception in thread "main" java.lang.NoClassDefFoundError: sisterclient
    (wrong
    n
    ame: sisters/ejb/sisterclient)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ======================================

  • Problem running JSP program on OAS 4.0.8.1 with JSP patch

    Hi all
    I've been running a JSP application on OAS 4.0.8.1 for a month now, but a week ago, when I updated a Java package on the server, the application will no longer run. The simple JSP pages with no bean-tags runs fine, but the ones with bean-tags doesn't work anymore.
    This is the error message:
    Request URI:/jsp/sag/login.jsp
    Exception:
    java.lang.VerifyError
    at java.lang.ClassLoader.resolveClass(Compiled Code)
    at oracle.jsp.app.JspClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at oracle.jsp.app.JspAppLoader.instantiatePage(Compiled Code)
    at oracle.jsp.app.JspAppLoader.reloadPage(Compiled Code)
    at oracle.jsp.app.JspAppLoader.loadPage(Compiled Code)
    at oracle.jsp.app.JspAppLoader.getPage(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at oracle.OAS.servlet.servletrunner.exec(Compiled Code)
    I've read on java.sun.com that verifyerrors normally is due to bad package-files, but I've rebuilt the package at least 10-times now, so thats probably not it. What could it be?
    The application runs fine in JDeveloper 3.1
    Thanks on advance,
    Christian Holm

    Hi,
    I am trying to run JSPs on OAS 4.0.8.1.
    I have installed JSP patch, downloaded form olab.com
    I am not able to execute JSPs. I am getting 2 different problems.
    1. If I call the JSP directly from browser, Netscape will ask for save option, it won't execute.
    2. If I call the JSP from another page with submit button, I am getting the following error :
    The requested access method is not allowed for that object.
    Same error for any JSP.
    The same problem for all the samples available with JSP patch.
    Hi chrholm,
    I already tested for 1 month, so
    could you please help me to configure OAS 4.0.8.1 for JSPs.
    Could you please send me mail : [email protected]
    Any help appreciated.
    Thanks,
    Naidu
    null

  • Error while trying to run JSP page in Jdev

    I have integrated BPEL and business rules and it has a task form so if I am trying to run JSP page in JDeveloper, it gives below
    error:
    [Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\oc4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    09/08/05 12:28:20 Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/Oracle-SaaS/Downloads/jdevstudio10131/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml.
    09/08/05 12:28:20 Fatal error: server exiting
    Process exited with exit code 1.

    Looks lik eyou have not specified the correct shared libraries in your server.xml. Also, ensure that you have added the libraries in the right order in your BPEL Project in JDev.

  • Error while running jsp page

    Hi,
    While running JSP page in weblogic I am getting following error.
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at weblogic.xml.jaxp.WebLogicSAXParser.setProperty(WebLogicSAXParser.java:117)
         at weblogic.xml.jaxp.RegistrySAXParser.setProperty(RegistrySAXParser.java:117)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.serviceContext.ServiceContext.updateImplicitHeader(ServiceContext.java:269)
         at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.query(ContentManagerServiceStub.java:4907)
         at jsp_servlet._pages.__viewreports._jspService(__viewreports.java:166)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    I am using jdk1.5. And I am using this jsp page for cognos connection.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • Error while running application in jdeveloper

    Dear All,
    When i try to run application in jdeveloper it gives me follwing error in log .
    Can any body help me over this....
    <Jan 25, 2011 6:39:52 PM IST> <Error> <JDBC> <BEA-001553> <Unable to deploy JDBC data source conMessages. No credential mapper entry found for password indirection user messages>
    <Jan 25, 2011 6:39:52 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'fileupload' due to error weblogic.application.ModuleException: .
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=messages for data source conMessages
         at weblogic.jdbc.common.internal.DataSourceConnectionPoolConfig.getPoolProperties(DataSourceConnectionPoolConfig.java:85)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1109)
         at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:147)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
         Truncated. see log file for complete stacktrace
    -Thanks

    Hi John,
    I did according the link you posted but it did not helped... Please suggest some other option..
    I tried to test the integrated application server by doing following
    right click project->Application Properties->Run->Application Server Properties->Test->Test Connection...It yield following log, even when my integrated web server was running.
    Testing JSR-160 Runtime                ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime          ... skipped.
    Testing JSR-88                         ... skipped.
    Testing JSR-88-LOCAL                   ... skipped.
    Testing JNDI                           ... skipped.
    Testing JSR-160 Edit                   ... skipped.
    Testing HTTP                           ... failed.
    Unable to open conection: Connection refused: connect
    Testing Server MBeans Model            ... skipped.
    *0 of 8 tests successful*
    I am trying to run the project in Integrated Web Server it self. But its not running. It gives me error as i posted in previous post..
    -Thanks

  • URGENT-CREATE A HTML FILE WITH AN STRING INPUT FROM THE RUNNING JSP

    I am designing a web page where the user enters a page after entering his/her login and password.The User should now be provided with a display page containing the servers that he has permissions for access.The servers that he has permissions are maintained in a database(a normal text file in UNIX).
    Till now the program has been complete for displaying the servers that are available to him.
    I need to create a HTML form containing these servers names in a check box so that when the user clicks thcheck box against the server name it should go to the server and get the password for the required server.
    THe intention from me is to create a HTML file that dynamically takes values from the running JSP means the server names as a string value to its input and then i can continue
    Please guide me in creating a HTML form based on the string output from the running JSP
    FileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
    DataInputStream in1 = new DataInputStream(fs);
    int fl=0;
    while (in1.available() !=0)
    String str1=in1.readLine();
    StringTokenizer st1 = new StringTokenizer(str1);
    String usernam=st1.nextToken();
    if (usernam.equals(uname))
    String ip=st1.nextToken();
    String host=st1.nextToken();
    fl=1;
    out.println("<tr><td>                                                                                              "+ host + "</td><td> " + ip +"</td></tr>");
    if (fl == 0)
    out.println("YOU HAVE NO SEVRER IN YOUR PROFILE !");
    in1.close();
    The host string here is the server name
    the ip is the ip address of the server
    Need to input these values to another HTML page that contains the check box list of the servers .
    once these are clicked i think i can pass on this to another JSP and retreive passwords
    Please guide me in this

    FileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
                                    DataInputStream in1 = new DataInputStream(fs);
                                    int fl=0;
                                    while (in1.available() !=0)
                                    String str1=in1.readLine();
                                    StringTokenizer st1 = new StringTokenizer(str1);
                                    String usernam=st1.nextToken();
                                    if (usernam.equals(uname))
                                    String ip=st1.nextToken();
                                    String host=st1.nextToken();
                                    fl=1;
                                    out.println("<tr><td>                                                                                              "+ host + "</td><td>          " + ip +"</td></tr>");
                                    if (fl == 0)
                                    out.println("YOU HAVE NO SERVER IN YOUR PROFILE !");
                                    in1.close();I feel sorry for the inconvenience that is caused as i am new to using these forums.
    I have here used a simple program to retreive the names of the servers that the users have acess to..
    I have here read the servername and server ip stored from a file in UNIX in the running JSP.Now i need to pass these string variables to HTML file and display it in a Check box format.the strings host and ip have to be passed to the input of the HTML file so that they can further be processed once they are clicked using another JSP.
    Can anybody please help me in Passing these strings from the running JSP and display it in a check box format

  • Error running jsp page through jdevloper

    Hi,
    I am a newbie trying to run jsp through jdev.It comes up with a error saying Error: /Documents and Settings/al/Desktop/jdev1012/jdev/booking/ViewController/public_html/ not contained in /Documents and Settings/al/Desktop/jdev1012/jdev/Booking/ViewController/public_html/index.jsp.
    Can some one help me.
    I am running on a winxp machine.
    jdev10g.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • Hi, can any one know how to run .jsp application in weblogic 8.1

    hi,
    i am using weblogic 8.1 ,
    in weblogic 6.1 and 7.0 there is directory called default web apps under bea\user projects\application.we placed all .jsp file under here.
    now bea deleted this folder.
    now how to set of environment for run .jsp application using weblogic8.1
    can one may help thanks,
    jp reddy

    hi,
    i solve this one after check bea documnetaion.
    with regards
    jp

  • How to run JSP pages in weblogic 8.1 sp2

    hi frnzs,
    plese give me some idea about how to run JSP pages in weblogic server.

    enen i dont know hw to fly palne otherwise i can definitely give u sm guides abt that......

  • How to upload a file in BPEL Console Using JSP in JDeveloper, pleae........

    I am very new to this JDeveloper & BPEl Process , please could some one help in ersolving my problem that is , how to upload a file in BPEL Console Using JSP in JDeveloper.

    Hi,
    ADF Faces provides you with the file upload component
    http://download-uk.oracle.com/docs/html/B25947_01/web_complex006.htm#CEGCEDHF
    http://download-uk.oracle.com/docs/html/B25947_01/appendixa007.htm#CHDEDCFA
    This gives you a handle to the file content. However, uploading files through a service is different and I suggest to consult teh BPEL forum for this BPEL
    Frank

  • How to upload a file in BPEL Console Using JSP in JDeveloper, please help..

    Please I am new to Jdeveloper and to BPEL Process of OASuite,I want to know , how to upload a file in BPEL process using JSP in Jdeveloper IDE.
    The main aim is first we need to upload a file in JSP , it has to go to BPEL Process & it has to read the file & write the respective file in return to JSP through BPEL Process. Please I am in Urgent need of the Query , please help me ASAP.
    Send to me response Please.....................................

    Hi,
    I thin that you asked the same question before and I premember that I ointed you to the ADF BC developer guide and the SRDemo if your application uses JSF. For plain JSP - if you Google for: JSP and file upload then you find plenty of sources for JSP and Struts.
    The remaining part is how to stiff the file into a BPEL service on the middle tier. For this I recommended to ask your question on the BPEL forum
    BPEL
    Note that the BPEL integration would be easier if it was done on the middle tier and not onthe client
    Frank

  • How to display the data in XML files into JSP using Jdeveloper.

    Hi All,
    I have two XML files one XML file has the view names and the other has the table names of a particular views, how to display the data in JSP using JDeveloper where when i click a particular view the list of tables of that particular view from XML file two should be displayed in JSP Page.
    Are there any reference documents, regarding the above process please can anyone guide through how to do it.

    Let the servlet ask your business tier to provide the data, then stuff it into beans, and pack those into the Session instance. Then forward the request to the JSP, let the JSP get those beans and display them.

Maybe you are looking for

  • JCo Connector  (jco.jar) version 2.1.8 certified for use against R/3 4.6c ?

    I would like to know if SAP has certified the JCo connector version 2.1.8 for connecting with R/3 4.6c systems.  The JCo connector is used by an iWay connector in an Oracle application server version 10.1.2. Can anyone comment on this? Thanks!

  • Getting Tasks form IWorklistService

    Hi ALL As you know that using the Oracle BPEL worklist one can approve or reject tasks. What I am trying to do is create a custom web app using which the user can approve or reject tasks. For this I have written a custom Identity class which provides

  • Imported photos have error

    in Lightroom 1.4 running on Mac OS X v10.5 importing from Olympus E-510, Out of 113 photos imported, 2 photos have an error in that the whole photo is imported but these 2 photos also have the quarter-size version of the photo in upper left corner. I

  • Projects super user responsibility

    hi i have a problem: In e-business suite 12.1.1 , In projects super user responsibility when I want to open JSP forms like : Team Role Details Workbook and Overcommitted Resource Hours Workbook and Scheduled Resource Hours Workbook This error take pl

  • How to test issue with accessing tables over a DB link?

    Hey all, Using 3.1.2 on XE, I have a little app. The database schema for this app only contains views to the actual tables, which happen to reside over a database link in a 10.1.0.5.0 DB. I ran across an issue where a filter I made on a form refused