JBuilder integrated OC4J configuration

xiaoxiao2021-03-06  54

JBuilder integration OC4J configuration:

1. Copy the OC4J_EXTENDED.ZIP (Oracle Site Download) file to the machine to decompress the directory OC4J2. In DOS mode, enter the directory C: / OC4J / J2EE / HOME, perform java -jar ig4j.jar -install, enter the password 3. Enter C: / OC4J / J2EE / HOME / CONFIG, modify http-web-site.xml file, bold to modify some 8888 is modified to 5555, (avoiding 7777, keeping the original machine Oracle9ias available)

Then configure Data-Sources.xml, Example

4. Configure the JBuilder9 server, select the menu: Tools-> Configure Serversoracle Server 903 configuration items are as follows: Home Directory Select to C: / OC4J / J2EE / HOMSERVER Para: -config c: /oc4j/j2ee/home/config/server.xmlcustom In the Configuration Panel: Enter Password, then create a new OC4J Deployment Target

5. Configure engineering properties: Select menu Project -> Project Propertiesserver Configuration Panel: Checking Single Server for All Services in Project Server Select to Oracle9i Application Server 903

Project -> Project Properties-> RUN Configuration Panel: New (New ...) Running Environment Name: Free (for example, OC4J start) Build Target Select to Nonetype: Select to Server

6. Configure JDK, select Menu Tools -> Configure JDKs Select JDK1.3, if not, new configuration. (Must choose JDK1.3)

7. Take XX project as an example, create a new directory / Applications / CAS / CONF / MAPPINGS / GA_HOIKU / CAS / CONF / MAPPINGS / GA_HOIKU / CAS / CONF / MAPPINGS / GA_HOIKU / CAS / CONF / MAPPINGS / GA_ML file in the project below, then add mappings.xml files to mapings.xml files to / Applications / Cas / Conf / mappings / GA_hoiku / hoiku, then copied to gengo.xml conf directory contents mappings.xml following documents: ]> & hoiku_mappings; 8. After the environment is configured, click on the new Run Time (OC4J boot) running server just now.

9. Modify the startup path of the program, http-web-site.xml:

10. Select HOIKU.EARGRP, right click to select Deploy Options for "CAS.EAR" -> Deploy

11. Run http: // localhost: 5555 / CAS / GA_HOIKU, pay attention to the port number is the port number specified in the previous http-web-site.xml file

Console command: 1. Close server java -jar admin.jar ORMI: // localhost: 23791 admin (user) admin (password) -shutdown2. Manually deploying EAR file java -jar admin.jar ORMI: // localhost: 23791 admin-deploy -file e: /login/ear/login.ear (position of the EAR) - DeploymentName login (all applying Application Name) 3. Manual start server java -jar oc4j.jar

转载请注明原文地址:https://www.9cbs.com/read-115727.html

New Post(0)