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.

Similar Messages

  • XML file transfer between ASP & JSP

    Hi !
    Actually the requirement is to provide an interface between an ASP application and a JSP application.
    What i could understand is that commonly used way is transfering XML files using SOAP.
    But, i have no idea on SOAP and need few clarifications.
    1. What are the roles of SOAP, WSDL and UDDI ? and does SOAP needs WSDL or UDDI and web services?
    2. Do i need to use web services just to transfer XML file from ASP to JSP ?
    3. is HttpURLConnection also used in this approach ?
    actually what my purpose is to know that to implement SOAP for XML file transfer what all i need to do ?

    Hi !
    Actually the requirement is to provide an interface
    between an ASP application and a JSP application.
    What i could understand is that commonly used way is
    transfering XML files using SOAP.
    But, i have no idea on SOAP and need few
    clarifications.
    1. What are the roles of SOAP, WSDL and UDDI ? and
    does SOAP needs WSDL or UDDI and web services?SOAP is a transfer protocol for exchanging structured and typed information : go to the w3 web site to understand better.
    WSDL are files to describe a web service : you will find inside an access point and signatures from your methods; if you want it's a little bit like an interface in java but with more informations. You don't need wsdl for soap.
    Last uddi is a repository for web services. You need to publish your service inside a Uddi registry and it's associated access point and tmodel (go to oasis web site for more informations). It's a little bit like yellow pages. You need to use Uddi only if you want to discover serviecs dynamically.
    Usually you use SOAP by calling a web services, as a web service is over the SOAP layer. The advantages of using SOAP is that it describes your data too. In fact if you have complex types to transfer between your two applications the partners have to know how to understand these data.
    2. Do i need to use web services just to transfer XML
    file from ASP to JSP ?Well, what do you want to transfer exactly between your applications. If this is just a text stream you can simply send your file by opening a socket. But if you want to work with your informations, to use them (that means you have to build the corresponding object) you could use web services as your informations are explicitely defined : what do you want to do exactly ? Last but not least if you have already XML file you can get your info directly and parse ir or ????
    3. is HttpURLConnection also used in this approach ?Yes you could call a servlet or something like that to transmit your informations
    actually what my purpose is to know that to implement
    SOAP for XML file transfer what all i need to do ?you have to be more precise with what you want to do with the info; simply display it or ???
    PA
    http://www.doffoel.com

  • How to display XML file(as markup) in jsp page..?

    Hi All,
    * I have to display the XML file(as markup) in jsp page (Tree Format)....
    * My XML file is an java.io.file object , and how to view this XML file on my JSP page...........
    Thanks in Advance,
    JavaImran

    You mean you want to see the XML source?
    You need to replace the characters '<' and '&' with corresponding entities '&lt;' and '&amp;'. You can use replaceAll, but do the ampersands first.
    Then I suggest you probably want to put them in a <PRE> block.

  • How to call the XML file as PrivateResourcePath in JSP

    Hi All,
    I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
    locaiton: dist/PORTAL-INF/layer-config.xml
      <?xml version="1.0" encoding="utf-8" ?>
    - <layer-config>
    - <system>
      <layer>Test</layer>
      <internal>true</internal>
      </system>
    - <system>
      <layer>Test1</layer>
      <internal>false</internal>
      </system>
    - <system>
      <layer>Test3</layer>
      <internal>false</internal>
      </system>
      </layer-config>
    Thanks in advance.

    Hi,
    The below link may help you.
    [Accessing image from dist/imgaes folder inside JSPDynpage Component;
    Regards,
    Suresh Bachimanchi

  • 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

  • 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.

  • 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

  • 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.

  • Reading a XML file in a standalone java application

    Hi,
    What are my options if I have a standalone java application running outside any app. server and I need to read an XML file, probably read some of the attributes in the file...? Please explain clearly as I'm new to this. Appreciate your help.
    Thanks,
    Mahdad

    nope you don't need a DTD
    you have to write your Java code in a way that doesn't rely too much on the structure:
    - avoid getFirstChild().getFirstChild()... because you know that this element is first grandson of that element)
    - prefer using getElementByTagName() or some XPath() API
    but if the XML completely changes, well, yeah, you have to do some programmation: better think well your document structure in the beginning.

  • Use XML files stored in directory of Application server as a input for XI ?

    I have a scenario that there is a xml file stored in sap application server for example /inf/ERQ/XML/XXX.xml which i want to use it as an input for XI. I know that there is an adapter in XI for getting xml file stored in normal path but in my situation it's in application server of SAP so i don't know how to do this.
    Any solution or example for this? Thank you in advance.
    Best regards

    Hi,
    We can read this file through FILE adapter with FTP protocol, before that i think need permission from basis for access.  Configure source(according to xml format) and target structure according to your requirement.  But one thing should remember in XI/PI sour/target XML formats should contain Message type name & namespace name else it can't work.
    Find below link for more information.
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)

  • 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

  • Create web pages from xml files using Servets or JSP

    I�m new in this tecnology and I have to create a web pages from information that I get from a XML files. I would like to know if there is a place where I can find examples of code or any book that could help me.

    Two places with loads of information on this:
    http://xml.apache.org
    Look at Xalan or Cocoon.
    Also, there was an article on http://www.javaworld.com on XML with JSP.

  • How to break up a huge XML file and generate serialized JSP pages

    I have a huge xml file, with about 100 <item> nodes.
    I want to process this xml file with pagination and generate jsp pages.
    For example:
    Display items from 0 to 9 on page 1 page1.jsp , 10 to 19 on page2.jsp, and so on...
    Is it possible to generate JSP pages like this?
    I have heard of Velocity but dont know if it will be the right technology for this kind of a job.

    Thank you for your reply, I looked at the display tag library and it looks pretty neat with a lot of features, I could definitely use it in a different situation.
    The xml file size is about 1.35 MB, and the size is unpredictable it could shrink or grow periodically depending on the number of items available.
    I was hoping to create a documentation style (static pages) of the xml feed instead of having 1 jsp with dynamic pages
    I was looking at Anakia : http://jakarta.apache.org/velocity/docs/anakia.html , may be it has features that enable me to create static pages but not very sure.
    I think for now, I will transform the xml with an xsl file and pass the page numbers as input parameters to the xsl file
    null

  • 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

  • Error trying to deploy a jsp application in a cluster

              Iam getting the following error when I tried deploy my jsp app. in a cluster with
              two servers(one administrative and one managed). I have no problem with the administrative
              server. But the managed server through this exception. The message saying web.xml
              is not found doesn't make much sense because
              1. The first server could find it.
              2. I could open the temporary war file created by weblogic and examined the web.xml
              file
              Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in jar file
                   at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
                   at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
                   at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
                   at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
                   at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
                   at weblogic.j2ee.Application.addComponent(Application.java:126)
                   at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
                   at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy22.addWebDeployment(Unknown Source)
                   at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy0.updateDeployments(Unknown Source)
                   at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
                   at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
                   at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy8.start(Unknown Source)
                   at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
                   at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
                   at weblogic.management.Admin.finish(Admin.java:491)
                   at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
                   at weblogic.Server.main(Server.java:35)
              Any ideas ?
              Thanks,
              Ravi
              

              Ravi wrote:
              > Hello Viresh,
              >
              > The application Iam trying to deploy is not in the ear form. It is in the exploded
              > form. It works fine on the administrative server where it is physically located.
              > The problem is only with the second server. I have noticed that the entire directory
              > on the application is being compressed to a .war file and uploaded to the other
              > server in the cluster.
              That's true. Several customers have asked to keep the deployment in it's original form instead of compressing
              it in .war file. Currently there's a known issue with engg.
              > I even examined the WEB-INF/web.xml file it is complaining
              > about. But I couldn't find any error. This doesn't happen with the sample applications
              > that came with weblogic.
              I followed the sequence you described and tried to deploy the webapp on managed servers. I do not get the errors
              that you are seeing below. Could you tell us how are you deploying the webapp on managed server?
              Also would you mind sending your webapp? i will see if i can deploy your webapp in my environment..
              BTW, is this with SP1 or without SP1?
              Kumar
              >
              >
              > Thank you for your post,
              > Ravi.
              >
              > Viresh Garg <[email protected]> wrote:
              > >
              > >Ravi:
              > >A few questions:
              > >1. Are you trying to deploy an archive or an exploaded application.
              > >2. Are you trying to deploy a web application as an enterprise application
              > >of the WAR file part of an enterprise archive(.ear)?
              > >3. Are you deploying the application from applications directory, if
              > >Yes, remove it from applications directory, create a new web application
              > >in any other directory, define the correct application/component Admin
              > >mbeans and then choose targets ( you can do it via console too) and
              > >see
              > >if you run into same problems
              > >
              > >Thanks
              > >Viresh Garg
              > >Principal Developer Relations Engineer
              > >BEA Systems
              > >Ravi wrote:
              > >
              > >> Iam getting the following error when I tried deploy my jsp app. in
              > >a cluster with
              > >> two servers(one administrative and one managed). I have no problem
              > >with the administrative
              > >> server. But the managed server through this exception. The message
              > >saying web.xml
              > >> is not found doesn't make much sense because
              > >> 1. The first server could find it.
              > >> 2. I could open the temporary war file created by weblogic and examined
              > >the web.xml
              > >> file
              > >>
              > >> Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              > >>
              > >> java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in
              > >jar file
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
              > >> at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
              > >> at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
              > >> at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              > >> at weblogic.j2ee.Application.addComponent(Application.java:126)
              > >> at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
              > >> at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy22.addWebDeployment(Unknown Source)
              > >> at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy0.updateDeployments(Unknown Source)
              > >> at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy8.start(Unknown Source)
              > >> at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
              > >> at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
              > >> at weblogic.management.Admin.finish(Admin.java:491)
              > >> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              > >> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              > >> at weblogic.Server.main(Server.java:35)
              > >>
              > >> Any ideas ?
              > >> Thanks,
              > >> Ravi
              > >
              

Maybe you are looking for

  • Locked out of my iPod touch please help!

    I locked myself out of my iPod touch I forgot my password stupid my lol I really need your help if you have any idea please post any info I would really appreciate it I need to get back to my favorite game car town street lol thanks

  • Error "memory could not be read" running some Crystal XI reports

    I have a few crystal reports that work some times on a PC then after being run a few times get the following message. The report doesnt load and get a microsoft error: "memory could not be read" This happens on all spec of PC from low memory PCs to h

  • TS3581 Won't work with my car after iOS7 update, at least one other friend is having the same issue today.

    I updated my iphone 5 to iOS7 and it no longer  works with my car's stereo.  My boss is having the same issue.  Anyone else?  Ideas on how to resolve this?

  • My MacBook 1,1 to use Xcode

    Hi all, I'm a university student & I bought an  used MacBook 1,1 laptop to learn IOS developing. It has Mac OS X 10.6.8  with 2GB ram. I tried several times to upgrade to 10.8. Without  upgrading to 10.8 I wasn't able to install Xcode too. I only wan

  • Domain

    Which domain i should use which will store minimum 2 to 4 integers and minimum 4 decimal spaces(12.3456 to 1256.3467) for defining the data type? please let me know asap. Edited by: RUSHIKESH YEOLE on May 5, 2009 11:48 AM