Deploy an Oracle JSP application

Hi there,
I created a very simple JSP application based on "Scott" and tried to deploy it on Tomcat 3.2. I generated two archives. One is ScottBC.jar which has anything in the BC4J project for "Scott". Another one is ScottClient.jar which only has connections.properties and ScottClient_ScottBC_ScottBCModule.properties.
I got the following error message when I tried to access main.jsp.
java.lang.RuntimeException: JSP Registry could not locate runtime property file: ScottClient_ScottBC_ScottBCModule.properties
Do you know where I went wrong in this case?
Thanks in advance.
Rick
null

the classpath can not recognize the *.properties file. there are two solutions:
1. put the *.properties file into a *.jar file and set *.jar file into classpath.
2. set a classpath like
wrapper.classpath=path\
where "path" is a directory. Put the *.porperties file into the directory directly.

Similar Messages

  • Error Deploying a BC4J JSP Application on IAS

    When I am trying to run a BC4J JSP Application on IAS I have the following message:
    Error Message: JBO-30003: The application pool, BC4JDemojsp_BC4JDemo_BC4JDemoModule, failed to checkout an application module instance.
    Error Message: JBO-25002: Definition BC4JDemo.BC4JDemoModule of type ApplicationModule not found

    Gina,
    I would recommend checking out the following HowTo's recently posted on OTN by the JDev Team. They may indicate where your problem is occuring and how to fix it:
    Set up your Webserver to run BC4J: http://technet.oracle.com:89/ubb/Forum2/HTML/006397.html
    Deploy a BC4J JSP Application on iAS and Tomcat: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    How to Deploy Multiple BC4J JSP Web Apps to the same Webserver: http://technet.oracle.com:89/ubb/Forum2/HTML/006726.html
    Note, if you are deploying on iAS, the Online Orders tutorial application comes with that release, so you might want to refer to the last HowTo to make sure your webserver is set up to handle multiple apps, even if one if them isn't yours!
    null

  • Deployment of simple jsp application in Oracle 10g AS

    Hi All,
    This is a critical issue. We have a JSP application which uses the plain old java objects to esltabilsh database connection and same old java objects to perform the business logic.
    All java file are packed in a jar file and all jsp's and other files(GIF,CSS etc) are copied to a folder.
    So what should be the steps to deploy this application to the Oracle 10g Application server.

    Thanks for the update.
    But application is already developed and is Runing in the 9i As and now we have to deploy it to the 10g server.
    Some steps that i am following to deploy the application are:-
    Steps for the deploying the A+ Web portal in OUGD
    1)Copy the “aplus” folder(containing related jsps,css and gif files) and aplus.jar file to
    “<<ORA-HOME>>/iAS/Apache/Jserv”
    2)     Go to the following file
    "<<ORA-HOME>>/iAS/Apache/Jserv/etc/jserv.properties” and add the following lines,
    #APlus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    #APLUS CONFIGURATION
    wrapper.bin.parameters=-DWV_GATEWAY_CFG=<<ORAHOME>>/iAS/Apache/modplsql/cfg/wdbsvr.app
    3)     Go to the following file
    “<<ORA-HOME>>/iAS/Apache/Jserv/etc/zone.properties” and add the
    following lines
    Append the following line to “repositories=”
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus,
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    4)     Go the following file
    “<<ORA-HOME>>/iAS/Apache/Apache/conf/apps.conf” and add the following lines
    Alias /aplus/ "<<ORA-HOME>>/iAS/Apache/Jserv/"
    <Directory "<<ORA-HOME>>/iAS/Apache/Jserv">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    but following this steps i am not getting the result.
    Reagrds,
    Vikram

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • Deploy the BC4J JSP Applications to Sun ONE Application Server 7.0

    Hi
    I am new for the Jdeveloper 9.0.3, I felt that the OC4J is quite useful, but I am not sure if it can be deployed on Sun ONE application server 7.0 (Our team are using Sun ONE Application server 7.0 as our J2EE AS). If it can, please tell me the deploy procedures, Thanks in advance!
    Regards

    I'm not sure if we've tried it under 7.0, although we did under 6.5 a short while back. If you write a BC4J based J2EE application, it should be able to be deployed across Application Servers (TSS just added Sun One 7 to their cluster)
    You can take a look at the 6.5 procedures for now, and just do the same as migrating from 6.5 to 7.0.
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_iplanet.html
    Rob

  • Deploying to Oracle 10g Application Server

    Is it possible to deploy a web application developed using Sun Java Studio Creator to Oracle 10 Application Server?
    Any help is highly appreciable.
    Thanks

    See a couple of entries at
    http://blogs.sun.com/marcoscorner
    I hope they help you;-)
    Thanks,
    -- Marco

  • Deployment of Oracle 9i Application server

    Hi,
    I have used oracle JDeveloper 10G release build a web services, it works using JDeveloper 10G Embedded OC4J server.
    I have tried to deploy the .ear file and run it on Oracle 10G Application Server, it works.
    However, when I deploy the .ear file and run it on Oracle 9i Application Server release 2, it cause the following errors:
    Deployment failed: Nested exception Root Cause: Unknown assembly root-tag attribute: xmlns:xsi; nested exception is: java.lang.InstantiationException: Unknown assembly root-tag attribute: xmlns:xsi. Unknown assembly root-tag attribute: xmlns:xsi; nested exception is: java.lang.InstantiationException: Unknown assembly root-tag attribute: xmlns:xsi
    Can anyone help me?
    Thx

    Hello,
    Which version of Oracle JDeveloper are you using?
    Regards
    Tugdual Grall

  • Deployment of Oracle 10g Application on oracle 10g application server

    Sir,
    I am new in this forum. Please guide me how to deploy oracle 10g application on oracle 10g application server.

    Dear Ghulam,
    1)Create A new OC4j instance on Oracle 10g Application Server
    2)Deploy ur war or ear file accordingly on this OC4J.
    3)Create the datasource ie connection of application with the database
    4)Tune your Java Parameters inside the OC4J for better performance.
    The details of this is explained on the above post ie two link.
    Regards
    Fabian

  • Can I deploy an Oracle Forms Application in WebLogic Server?

    Dear all:
    I need to know if Oracle WebLogic Server supports Oracle Forms applications?
    I am looking some clue in the documentation, but I didn´t find something clear yet, please help me.
    Thanks
    Edited by: user637951 on Nov 18, 2008 6:25 AM
    Edited by: user637951 on Nov 18, 2008 6:26 AM

    I don't believe that Forms will be certified on WLS until 11g based on a ppt I saw at Oracle Open World. However, you'll need to get confirmation on that from someone with Forms knowledge. Their forum is here:
    Forms

  • Classpath problem during deployment in oracle 10g application server

    java.lang.NoClassDefFoundError: oracle/toplink/sessions/UnitOfWork
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    required urgent help.

    hello,
    when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
    thanks,
    ph.

  • How to deploy my oracle 10g application ?

    I have finished my application which was built using
    * Oracle database 10g
    * Oracle Developer 10g
    So now how can I {color:#ff0000}*deploy*{color} it to enable clients to access it..?
    Thanks in advance..

    S_Ashour wrote:
    I have finished my application which was built using
    * Oracle database 10g
    * Oracle Developer 10g
    So now how can I {color:#ff0000}*deploy*{color} it to enable clients to access it..?
    Thanks in advance..Depends on where you want it deployed, if it's a large application and you want the users to access over the internet, you need to use OAS (Oracle Application Server) and configure the server and provide the URL to the users.
    If it's only for testing and couple of users, you can TRY to run it just with OC4J and the URL to your forms.
    In any case users should Install JInitiator for the first time they run the application only.
    Tony

  • Deployment of oracle client application

    Hello,
    I want to know if i can get connected to the Oracle Database Server 10g from my client system without installing any Oracle Client Software.
    i have developed an oracle application using oracle client 10g in C#. i have to deploy this project in the client pc. it asks for a oracle client software.
    is it must and should that the oracle client software be installed in the client pc. or any other measures to deploy the application without installing oracle client in the client pc.
    thanks
    ajith.

    I want to know if i can get connected to the Oracle Database Server 10g from my client system without installing any Oracle Client Software.Yes you can connect without installing the client software in oracle 10g, the new tool is rather a folder and some settings called instantclient. See the link [http://www.databasejournal.com/features/oracle/article.php/3371561/Instant-Client-in-Oracle-10g.htm].
    i have developed an oracle application using oracle client 10g in C#. i have to deploy this project in the client pc. it asks for a oracle client software.
    is it must and should that the oracle client software be installed in the client pc. or any other measures to deploy the application without installing oracle client in the client pc.Depending of the binaries or jar files which you may be using in C#. If it is present in instant client then of course you can connect otherwise you have to install it. Connectivity with oracle database needs some net configuration, when you install oracle client the sql net is being installed. When you install java a java net is installed and using JDBC driver you can connect to the database. That is basic idea behind oracle connectivity.
    Regards.

  • Facing issue while deploying in oracle 10G application server

    java.lang.NoClassDefFoundError
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseBinding(RuntimeWSDLParser.java:460)
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:357)
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:172)
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:135)
         at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:275)
         at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:238)
         at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:186)
         at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:111)
         at javax.xml.ws.Service.<init>(Service.java:56)

    Hi Ahmed,
    It sounds you have not yet had the chance to lay eyes on the installation guides - they are not perfect but should point you in the right direction.
    Please start at http://www.oracle.com/technetwork/documentation/oracle-retail-100266.html and check out the install guide per application module.
    Best regards,
    Erik

  • Deploy a BC4J JSP Application on IAS

    OK, I changed my classpath jserv.properties file as you suggest, but I get the following error when I run my applet from IE:
    wrapper.bin=K:\Ora816\Apache\jdk\bin\java.exe
    wrapper.env=PATH=K:\Ora816\bin
    # Oracle XSQL Servlet
    wrapper.classpath=K:\Ora816\lib\oraclexsql.jar
    # Oracle JDBC (8.1.7)
    wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
    # Oracle XML Parser V2 (with XSLT Engine)
    wrapper.classpath=K:\Ora816\lib\xmlparserv2.jar
    # Oracle XML SQL Components for Java
    wrapper.classpath=K:\Ora816\rdbms\jlib\xsu12.jar
    # XSQLConfig.xml File location
    wrapper.classpath=K:\Ora816\xdk\lib
    # Oracle Servlet
    wrapper.classpath=K:\Ora816\lib\servlet.jar
    # Oracle Java Server Pages
    wrapper.classpath=K:\Ora816\jsp\lib\ojsp.jar
    # Oracle Util
    wrapper.classpath=K:\Ora816\jsp\lib\ojsputil.jar
    # Oracle Java SQL
    wrapper.classpath=K:\Ora816\sqlj\lib\translator.zip
    # Oracle JDBC
    wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
    # SQLJ runtime
    wrapper.classpath=K:\Ora816\sqlj\lib\runtime.zip
    # Oracle Messaging
    wrapper.classpath=K:\Ora816\rdbms\jlib\aqapi11.jar
    wrapper.classpath=K:\Ora816\rdbms\jlib\jmscommon.jar
    # OJSP environment settings
    wrapper.env=ORACLE_HOME=K:\Ora816
    # The next line should be modified to reflect the value of the SID for your webserver.
    wrapper.env=ORACLE_SID=ORAWEB
    wrapper.env=LD_LIBRARY_PATH=K:\Ora816\lib
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\tools.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\aurora_client.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main1.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\classes12.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\connectionmanager.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\javax_ejb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbo8iclient.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbodatum12.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboeb.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtml.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtmlsrc.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbojdbcpatch.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbomt.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboo8i.zip wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbooasejb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboorasql.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremote.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremoteejb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovbclient.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jdev-rt.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jndi.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main2.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojc.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojsp.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\rt.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjapp.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjorb.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\xmlparserv2.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovanilla.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordhttp.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordim817
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordvir817
    wrapper.classpath=K:\Ora816\Apache\Apache\htdocs\JSP_Stage
    null

    OK, I changed my classpath jserv.properties file as you suggest, but I get the following error when I run my applet from IE:
    wrapper.bin=K:\Ora816\Apache\jdk\bin\java.exe
    wrapper.env=PATH=K:\Ora816\bin
    # Oracle XSQL Servlet
    wrapper.classpath=K:\Ora816\lib\oraclexsql.jar
    # Oracle JDBC (8.1.7)
    wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
    # Oracle XML Parser V2 (with XSLT Engine)
    wrapper.classpath=K:\Ora816\lib\xmlparserv2.jar
    # Oracle XML SQL Components for Java
    wrapper.classpath=K:\Ora816\rdbms\jlib\xsu12.jar
    # XSQLConfig.xml File location
    wrapper.classpath=K:\Ora816\xdk\lib
    # Oracle Servlet
    wrapper.classpath=K:\Ora816\lib\servlet.jar
    # Oracle Java Server Pages
    wrapper.classpath=K:\Ora816\jsp\lib\ojsp.jar
    # Oracle Util
    wrapper.classpath=K:\Ora816\jsp\lib\ojsputil.jar
    # Oracle Java SQL
    wrapper.classpath=K:\Ora816\sqlj\lib\translator.zip
    # Oracle JDBC
    wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
    # SQLJ runtime
    wrapper.classpath=K:\Ora816\sqlj\lib\runtime.zip
    # Oracle Messaging
    wrapper.classpath=K:\Ora816\rdbms\jlib\aqapi11.jar
    wrapper.classpath=K:\Ora816\rdbms\jlib\jmscommon.jar
    # OJSP environment settings
    wrapper.env=ORACLE_HOME=K:\Ora816
    # The next line should be modified to reflect the value of the SID for your webserver.
    wrapper.env=ORACLE_SID=ORAWEB
    wrapper.env=LD_LIBRARY_PATH=K:\Ora816\lib
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\tools.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\aurora_client.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main1.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\classes12.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\connectionmanager.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\javax_ejb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbo8iclient.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbodatum12.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboeb.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtml.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtmlsrc.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbojdbcpatch.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbomt.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboo8i.zip wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbooasejb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboorasql.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremote.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremoteejb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovb.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovbclient.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jdev-rt.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jndi.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main2.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojc.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojsp.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\rt.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjapp.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjorb.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\xmlparserv2.jar
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovanilla.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordhttp.zip
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordim817
    wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordvir817
    wrapper.classpath=K:\Ora816\Apache\Apache\htdocs\JSP_Stage
    null

  • Xml files deployment in a jsp application

    I have a xml file and i want to read it in a jsp file.I use some java classes to read the xml file.I use DOM.
    In the jsp file i'm calling a function from a clas that returns a vector with elements from the xml file.
    Problem:If the same function is called by a main function (not in web app) it works just fine,but if the function is called in a jsp file it does not see the xml file!!!!
    Question:Where do i have to place my xml file that my function called in a jsp file to see (use) the xml file??
    Describe the exact location please....the directory
    Please help me.I've tried everything.
    Thank you

    For example if you put your XML under WEB-INF then from JSP it can be accessible as:
    String path = session.getServletContext().getRealPath("/WEB-INF/myfile.xml");
    .. read the file code goes here ...
    P.S. That will work if your application is not packed into WAR.

Maybe you are looking for