Windows
- Download a TomEE version that is supported by your Process Platform version:
- Unzip with Administrator privileges to C:\Program Files\ and rename 'apache-tomee-plus-1.7.4' to 'TomEE'
- Create a user 'TomEE'
- Click Start, type 'lusrmgr.msc' to open Local Users and Groups
- Go to 'Users'
- Create a new user 'TomEE' with password 'Tomc@tEE'
- Disable 'User must change password at next logon'
- Enable 'User cannot change password' and 'Password never expires'
- Open the properties of the TomEE user and click on tab 'Member Of'
- Remove the 'Users' group. The list should now be empty.
- Grant the TomEE user access to the installation directory
- Go to C:\Program Files\TomEE
- Open the properties of the folder, click on tab 'Security'
- Click 'Edit...'
- Click 'Add...' and select the user TomEE from your local system
- Grant the user TomEE 'Full control'
- Add an environment variable (to provide default values to the Cordys installer)
- Click Start, type 'sysdm.cpl' to open System Properties
- Click tab 'Advanced' and open 'Environment Variables'
- Add a system variable 'CATALINA_HOME' with the value 'C:\Program Files\TomEE'
- Install the service
- Open a command prompt with Administrator privileges in C:\Program Files\TomEE\bin
- Execute:
service.bat install
- Click Start, type 'services.msc'
- Select 'Apache TomEE' and open the properties
- Click tab 'Log On'
- Select 'This account' and browse for the TomEE user
- Enter the password 'Tomc@tEE'
- Click 'OK', this will show a dialog saying 'The account .\TomEE has been granted the Log On As A Service right.'
- Add Logging, JMX and Debug properties
- Start C:\Program Files\TomEE\bin\TomEE.exe
- Click tab 'Logging'
- Make the textfield 'log path' empty
- In the textfield 'Redirect Stdout' replace 'auto' with 'C:\Program Files\TomEE\logs\catalina.out'
- In the textfield 'Redirect Stderror' replace 'auto' with 'C:\Program Files\TomEE\logs\catalina.err'
- Click tab 'Java'
- Ensure "Use Default" is checked for the Java Virtual Machine Path or specify the current Path for JVM
- Add this text to the Java Options:
-Dcom.sun.management.jmxremote.port=
9090
-Dcom.sun.management.jmxremote.ssl=
false
-Dcom.sun.management.jmxremote.authenticate=
false
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=
8000
-enableassertions
-enablesystemassertions
-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=
true
- Continue
No comments:
Post a Comment