In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to configure MyEclipse WebSphere, which is very detailed and has a certain reference value. Friends who are interested must finish it!
MyEclipse WebSphere configuration 1. Environment:
Sun jdk1.5.0,MyEclipse 5.1.1 GA
MyEclipse WebSphere configuration 2. Introduction:
MyEclipse needs to do more work to configure Websphere6 than other server; Websphere6 must be installed on the same machine as MyEclipse; Websphere6 must use IBM's jdk, which is located in < was-install-dir > / java;. Generally, under C:\ Program Files\ IBM\ WebSphere\ AppServer\ java, only MyEclipse Enterprise J2EE project can be deployed on Websphere6.
MyEclipse WebSphere configuration 3.Websphere6 installation and configuration
* * step start-> Program-> IBM Websphere- > profile Management tool
The second step is to click "next". The default is "Application Server", and click "next".
Step 3: click "typical profile creation" (profile) or "Advanced profile creation"
I choose "Advanced profile creation" here
Typical creation sets "Node Node" and "Cell Cell" to default, and sets them as windows services
Advanced creation will be defined by the user as "Node" and "Cell" and can be cancelled as a windows service
Step 4 Select the application to be deployed to the WebSphere Application Server environment you are creating. By default, select "next".
Step 5 enter the profile name (for example, sophia)
Step 6: select the summary table path D:\ IBM\ WebSphere\ AppServer\ profiles\ sophia
Step 7 enter the node name: SophiaNode, hostname: 127.0.0.1
Step 8, enter the port number, and the default port will be fine.
Step 9: do not choose as a windows service; (otherwise, the machine will start every time you start it)
Step 10 completed
Step 11 start the server and open the administrative console
Step 12 Click Server-Application Server, and then click the server name
Step 13 check the tab "configuration"-> troubleshooting-> logging and tracking
Step 14 Click "JVM Log"-> configuration tab, change "File name" to console, and click OK.
Don't be confused, remove all the original file names of the ${System_....\ SystemOut.log} system, and change the file names in the console,System.out and System.err columns to console. If you don't make this setting, nothing will be displayed when starting websphere with Debug in MyEclipse
Step 15 indicates that your local configuration has been changed. Click Save to apply the changes to the master configuration, click Save, and click Save on the next page
Step 16 exit the administrative console and stop the server
MyEclipse WebSphere configuration 4.MyEclipse configuration
* configure Window > Preferences > MyEclipse > Application Servers > WebSphere 6.1
The second step is to find the Jdk option, click "Add", and the Add JVM dialog box appears. Configure JDK JRE home directory to C:\ Program Files\ IBM\ WebSphere\ AppServer\ java,WebSphere can only run on IBM JDK.
The third step is to create a Web project such as "SophiaTestWeb" and then create an Enterprise Application project such as "SophiaTest"
Where SophiaTestWeb stores the project source code, and SophiaTest is used for packaging and distribution of auxiliary projects. When New Enterprise Application project, fill in the project name, and then in the text box below, check "Define Web Project Modules, because the ejb is not yet used in the project. Click" next ". In the" Web Project Modules "below, check" SophiaTestWeb "and click" finish "directly.
The following configuration file is generated
< application id= "Application_1199258677375" version= "1.4" xsi:schemaLocation= "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" > < display-name > Sophia < / display-name > < module id=" MyEclipse.1188813827936 "> < web > < web-uri > SophiaTestWeb.war < / web-uri > < context-root > / SophiaTestWeb < / context-root > < / web > < / module > < / application >
Step 4 deployment must click the deployment shortcut Deploy MyEclipse J2EE Project to Server on the menu bar
Step 5 deploy SophiaTest, select the second "Packaged Archive" deployment-complete
A SophiaTest.ear file will be generated in the C:\ Program Files\ IBM\ WebSphere\ AppServer\ profiles\ AppSrv02\ installableApps directory
Step 7: open the Websphere6 administrative console application-> install a new application, and select
D:\ IBM\ WebSphere\ AppServer\ profiles\ AppSrv02\ installableApps\ SophiaTest.ear, click next
You can enter the context root, for example: "/ SophiaTestWeb". The context root is the path after port in the URL when accessing web.
For example, "in http://127.0.0.1:9080/SophiaTestWeb/index.jsp":" / SophiaTestWeb "is the context root
Note: the name of the installed application must be SophiaTest, that is, the name of the auxiliary project that is packaged and released.
In the eighth step, select "enable class reloading" and click next.
Step 9 Select "SophiaTest.war" and click next
Step 10: select "SophiaTest.war" and click next.
Step 11 prompts "the application SophiaTest is installed successfully." Click "Save to Master configuration" and * * start the application
Step 12: delete the previously deployed package, redeploy SophiaTest, select * item "Exploded Archive", check the "Delete remote resource before deployment" checkbox in the text box below, and deploy-complete.
The sixth step is to start Websphere6 in MyEclipse and wait for "Open Server for Electronic Commerce server1" to appear, that is, the startup is complete.
Wait for the Server server1 open fore-business message as before.
Finally, visit http://127.0.0.1/IBMTestWeb/index.jsp so that you can debug and update in real time.
When configuring MyEclipse WebSphere, you should understand:
In order to debug in websphere, it is necessary to build an enterprise project, but the general web project is impossible.
The above is all the content of this article "how to configure MyEclipse WebSphere". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.