Oracle9ias如何配置Servlets才能使其带的Apache支持JSP

zenglong 2003-04-26 07:21:45
我的系统是IBM RS6000 AIX 4.33
database是oracle8.1.7
Oracle9ias当然在另一台机器上,现已经安装了Enterprise Edition
现在不知如何配置Servlets才能使其带的Apache支持JSP???
请各位高手帮忙!!!!分不够可能再加!!!急!!!!
...全文
85 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
zenglong 2003-04-27
  • 打赏
  • 举报
回复
OC4j是应用服务器,它的功能当然非常全面.但是我这里不希望使用应用服务器,而直接通过Apache使用JSP。请问这种方法可行吗?是否一定需要使用应用服务器?
minl 2003-04-26
  • 打赏
  • 举报
回复
Restart the Oracle 9iAS Containers for J2EE (OC4J) Server
under <oc4j_home>
java -jar oc4j.jar

Specify connection information to OC4J server
In JDeveloper, to facilitate the deployment process, specify the connection information to Oracle9iAS Containers for J2EE (OC4J) Server. The following steps are required only the first time that you deploy a web application to OC4J from Oracle9i JDeveloper.

In the System-Navigator pane in JDeveloper, expand the Connections node.
Right-click Application Servers and select New Connections. Choose Next to continue.
In the Connection name box, enter deployConn and select Oracle9i Application Server in the Connection type list box. Choose Next to continue.
Enter the administrator's user name and password to access OC4J and choose Next. Note that the username and password are <admin-username> and <admin-password> respectively.
In the URL box, enter the hostname of the OC4J server machine. For example, ormi://www.server.com/
In the Local directory where admin.jar for Oracle9iAS is installed box, accept the default and choose Next.
Choose Test connection. If the connection test is successful, then choose Next to continue; otherwise, return to previous steps to fix the configuration settings.
Choose Finish.

To deploy the application to OC4J server

Right-click the deployment profile webapp.deploy under Project1.jpr and choose Deploy to deployConn (that is, the connection name that you specified earlier).
The JDeveloper deployment wizard creates webapp.war and webapp.ear under the project folder and invokes the Oracle9iAS admin tools to perform the following tasks on the application server automatically:


Deploy the newly created EAR file webapp.ear to /applications directory.

Unpack the EAR file and the WAR file.

Edit <oc4j_home>/config/server.xml to add the following entry: <application name="webapp" path="../applications/webapp.ear" auto-start="true" />

Edit <oc4j_home>/config/default-web-site.xml to add the following entry:
<web-app application="webapp" name="webapp" root="/webapp" />
To create a deployment profile for the required libraries

In the System-Navigator, select Project1.jpr.
From the File menu, choose New to create a new JDeveloper object within that project.
The JDeveloper New Wizard appears.
Select the category General, then Deployment Profiles.
Select the item JAR File - Simple Archive and then choose OK.
The Save Deployment Profile Wizard appears.
In the deployment profile file name box, enter bibeans.deploy and choose Save.
Choose Files under the profile settings, uncheck Project1.jpr which uncheck all files .
Under JAR Options, check Compress Archive.
Under Dependency Analyzer, select BI Beans Runtime, BC4J Runtime, UIX Runtime, JSP Runtime, Oracle JDBC and OLAP API 9x (depending on what database version you are running). Choose OK to complete the definition of the profile.
From the File menu, choose Save All to save the application.

You have successfully created a new deployment profile named bibeans.deploy.

To deploy the libraries to the OC4J server

In the System-Navigator, right-click the deployment profile bibeans.deploy under Project1.jpr and choose Deploy to.
Use the default filename of bibeans.jar and choose Save.
In the Deployment Log, identify where the bibeans.jar has been written to.
On the server machine, create a new directory named lib under <oc4j_home>/applications/webapp/webapp/WEB-INB
Copy the bibeans.jar file from the machine that is running JDeveloper to the server machine under the newly created libraries directory <oc4j_home>/applications/webapp/webapp/WEB-INB/lib. These libraries will be appended to the application classpath during runtime automatically.

please visit the website
http://otn.oracle.com/products/bib/htdocs/tutorials/building_a_jsp/9_deploy_JSP.html
内容概要:本文提出了一种面向综合能源系统的算力-电力-热力联合优化调度策略,并基于Matlab实现了完整的仿真代码。该策略针对现代综合能源系统中存在的多能源耦合、多主体协同及复杂约束下的调度难题,构建了一个集成计算资源(算力)、电力系统与热力网络的统一协同优化模型。研究重点涵盖了系统架构设计、关键算法原理及其仿真实现方法,尤其聚焦于ANPC三电平并网逆变器的高性能控制策略优化,包括双极性倍频脉宽调制(DPWMA)、正负序分离锁相技术以及电网电压前馈控制,从而实现高电能质量、强动态响应能力和优异电网适应性的并网运行。通过多工况仿真验证,所提方法在稳态精度、不平衡电网适应性及动态抗扰等方面均展现出卓越性能。; 适合人群:具备电力系统、自动化或能源系统等相关专业背景,熟悉Matlab/Simulink仿真工具,从事科研或工程应用的研发人员、研究生及高年级本科生。; 使用场景及目标:①应用于新能源并网、工业大功率变流等场景下的高性能逆变器控制系统设计;②用于高校教学与科学研究中对多能协同优化、先进调制与控制策略的理解与实践;③为目标用户提供可复现的仿真模型与代码参考,支撑学术论文复现与技术创新。; 阅读建议:建议读者结合所提供的完整资源包进行代码调试与仿真运行,重点关注控制策略在不同工况下的响应特性,深入理解DPWMA调制、正负序分离与前馈控制之间的协同机制,同时可拓展至低电压穿越、极端电网扰动等场景下的策略优化研究。
内容概要:本文围绕排污权交易机制对企业全要素生产率的影响展开深入研究,基于中国上市公司数据,采用严谨的双重差分(DID)等计量经济学模型进行实证分析,系统考察该环境政策工具在推动企业绿色转型与提升经济效率方面的实际成效。研究不仅完整呈现了从理论假设、模型构建、变量选取到结果解释的全过程,还提供了配套的原始论文、数据集与复现代码,极大增强了研究成果的透明度、可信度与可复制性,为环境经济政策的量化评估提供了高质量的实证范例。; 适合人群:环境经济学、产业组织、公共政策及可持续发展等领域的研究人员,具备中级计量经济学知识的高校研究生与青年教师,以及从事环境政策效果评估的政府部门与智库工作人员。; 使用场景及目标:①作为高级计量课程的教学案例,指导学生掌握DID、PSM-DID等因果推断方法的实际操作与结果解读;②为学术研究提供可复现的基准模型,支持对环境规制、企业创新与生产率关系的进一步探讨;③为政策制定者评估排污权交易试点政策的有效性提供科学依据。; 阅读建议:强烈建议读者下载并运行所提供的数据与代码,亲手完成模型复现与稳健性检验,以深刻理解实证分析的关键步骤与潜在陷阱,同时鼓励将研究方法迁移至碳排放权交易、绿色信贷等其他环境政策评估领域。

3,499

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 高级技术相关讨论专区
社区管理员
  • 高级技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧