Skip to Main Content

SQL Developer Data Modeler

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Save a Project with "Model in one file" Persistent Propriety mode

User_NRYK9Mar 16 2021

Hi, i have a project in ODM saved with the Model Persistent property set to "Model in multi file". I think to have understand that when i set the Model Persistent to the value “Model in one file” ODM don’t create only a single file for all the structure/model include Logical Relation a Phisical Model (i hope to see a single xml file) but howhere it save the model with some subdirectories like "businessinfo" "datatypes" "files" "logical" etc etc and inside thisyou can find 4 files, one with xml extension and 3 with ".local" extension, it’s right?
so if i want save an unique file for all my project i need to make a zip or there is a possible to convert it in a single file?
onefilemodel.jpg

Comments

843842
I would prefer if someone posted a link /documents as to setting up JSF on Tomcat

Regards and Thanks


843842
JSF in a framework for easy development of web applications with primary support for JSP 1.2. So the only thing you need is Tomcat (as implementation of JSP 1.2 container) and reference implementation on JSF (which can be downloaded separately from JWSDP). There is no additional configuration, simply deploy demo apps. I use Tomcat 4.1.x (latest for JSP 1.2) and Tomcat 5.X (latest for JSP 2.0) and both work well.

Martin
843842
Hi All,

Am using Tomcat 4.1.18 web server for my project. I tried JSF on Tomcat. But failed to execute the jsp page.
I created a web context with name "ebp"
I kept the jsp file under ebp context

Hello.jsp
<HTML>
<HEAD> <title>Hello</title> </HEAD>
<%@ taglib uri="html_basic.tld" prefix="h" %>
<%@ taglib uri="jsf_core.tld" prefix="f" %>
<body bgcolor="white">
<f:view>
<h:form id="helloForm" >
<h:input_text id="userNo" value="0"/>
<h:command_button id="submit" action="success" value="Submit" />
<p>
</h:form>
</f:view>
</HTML>

and am keeping the html_basic.tld ,jsf_core.tld under the same context.
Am keeping jsf_api.jar and jsf_impl.jar in the classpath.
I tried to invoke the jsp by typing the url as fallows
http://hostname:8080/ebp/hello.jsp

but am getting the following error:
message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: org/apache/commons/logging/LogFactory
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
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:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)


root cause

javax.servlet.ServletException: org/apache/commons/logging/LogFactory
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)
at org.apache.jsp.hellojsf_jsp._jspService(hellojsf_jsp.java:76)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
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:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)

Can any one help me how to run the jsp .

Is it necessary to keep faces-config.xml under web-inf folder.
I treid just registering the FacesServer in web.xml file.

thanks in advance
Anila


843842
You are missing the commons-logging.jar, which (along with commons-beanutils.jar, commons-digester.jar and commons-collections.jar) is required to run the reference implementation. Check out the Installing, Building and Running the Examples in a Non-JWSDP container section of the installation.html file that comes with the JSF beta distribution for a complete list of libs and installation instructions for Tomcat etc.

Also, the standard URIs for the JSF core and HTML tags are http://java.sun.com/jsf/core and http://java.sun.com/jsf/html respectively. You can place the corresponding TLD files in your application's WEB-INF/lib directory and reference them from web.xml, or if you put jsf-impl.jar in WEB-INF/lib they will deploy automatically provided you use the standard URIs in your JSP taglib directives. This is quite a neat way of deploying taglibs as no additional XML config is required.
843842
I would prefer if someone posted a link /documents as
to setting up JSF on Tomcat
http://java.sun.com/j2ee/javaserverfaces/docs/Installation.html

I would be a little cautious about expecting Tomcat 4.1.18 to work ... we've only tested it against the most recent releases (such as 4.1.29 and 5.0.16).

Craig
1 - 5

Post Details

Added on Mar 16 2021
1 comment
220 views