Server license
When you officially purchase a license, a PID (product number) and SN (serial number) are issued. Once the license is issued, log in to the DEXTSolution site and register the genuine information with the PID and SN. Afterwards, the license application is completed by setting the PID and SN by opening the dextuploadjk.config file in the development source.
The dextuploadjk.config file is a license file, but it is a plain text file and does not necessarily have to be named dextuploadjk.config. The dextuploadjk.config file is included in the distribution file (zip), and is generally copied to the WEB-INF directory, but any location accessible to the web application does not matter.
- Apply official service on a server with external Internet access.
-
The component makes a request to the authentication server using port 80 (web) to authenticate the corresponding license during service.
If the external Internet is blocked or the connection to www.dextsolution.com is blocked, you need to allow it.
License application is completed simply by opening the license file (dextuploadjk.config) and setting the PID and SN.
#Register the commercial license. PID=DJJK----------XX SN=PUJ---------WRF
- Applying the official service on a server that does not have external Internet access.
-
If the network configuration does not allow license authentication requests to be made to an external authentication server, it is necessary to manually issue and apply OTP and AUTHKEY.
After logging in to the DEXTSolution site, you can receive an OTP and AUTHKEY by entering the host name (computer name) of the server (OS) you wish to use the service on the authentication key creation page.
Open the license file and apply the issued OTP and AUTHKEY.
PID=DJJK----------XX SN=PUJ---------WRF OTP=BOIRV------PKHU AUTHKEY=SU------VBXSC
- If an error occurs when the server is transferred or server information is changed
-
If the service using DEXTUploadJK is transferred to another server or the information on the server being serviced is changed, the following errors may occur.
Your license is already used at another server. If you want to check an available server of the license, please visit our site and modify your information(installation) of the license.
This phenomenon occurs when the server's host name (computer name) and IP are changed and do not match the DEXTSolution site installation information.
Resolution
- Go to the ‘Change Installation Information’ tab page of MY PAGE on the DEXTSolution site.
- Remove the installation information of the matching license (PID, SN). (Or modify the installation information with the changed server name and IP.)
- If OTP and AUTHKEY lines exist in the license file (.config), delete both lines.
- Restart the server or web application.
- How to set the path to the license file in source
-
DEXTUploadJK server license records license information in a file, and the product attempts authentication based on this information.
Generally, in a servlet environment, uploads are processed using a FileUpload object, and authentication is attempted when this object is created. When creating a FileUpload object, an Environment object is received as a parameter. Since the Environment object has a licenseFilePath property that points to the path to the license file, you can set the path to the license file using the setLicenseFilePath method.
# When creating a configuration object in the source code and applying it immediately Environment env = new Environment(); ... env.setLicenseFilePath(absolute path to license file);
In the Spring environment, upload is handled using the JKMultipartResolver object. Since the JKMultipartResolver object has an environment property, you can use this property to specify an Environment object containing license file path information.
# When setting Environment bean in Spring environment <bean id="idName" class="dextuploadjk.support.spring.JKMultipartResolver"> ... <property name="environment"> <bean class="dextuploadjk.engine.Environment"> <property name="licenseFilePath" value="Absolute path to license file"/> </bean> </property> ... </bean>In case of the Extension file-upload(2GB or more), the JKExtensionUploadFilter or JKSpringExtensionUploadFilter object is responsible for file upload. You can specify the path to the license file directly in the licenseFilePath parameter of the filter.
# When passing as a parameter of a filter object in a large upload environment <filter> <filter-name>extensionUploadFilter</filter-name> <filter-class>dextuploadjk.support.common.JKExtensionUploadFilter</filter-class> ... <init-param> <param-name>licenseFilePath</param-name> <!-- Note) In Unix/Linux environments, if the path starts with a slash ('/') character, the file path is found based on the root (/). --> <param-value>License file path (relative to web context root or absolute path)</param-value> </init-param> </filter> - Use it as a trial version.
-
DEXTUploadJK server license is not provided separately for developers. However, to facilitate development, a trial license that can be used for 30 days is provided.
Unlike the commercial license, there is no process for registering the PID and SN on the DEXTSolution site for the trial license.
For the trial license, open the license file and set it as follows.
PID=DEXT SN=DEXT
If an authentication expiration error occurs during the development period, open the license file again, remove the OTP and AUTHKEY lines, and restart the web application.
PID=DEXT SN=DEXT OTP=BOIRV------PKHU AUTHKEY=SU------VBXSC #Delete the two OTP and AUTHKEY lines above. PID=DEXT SN=DEXT
- License Notes
-
- Dext Solution Co., Ltd. manages only customer information, PID (product number), SN (serial number), and license type at the time of license purchase.
- The process of changing license installation information (modifying host name, IP) and reissuing authentication keys must be managed directly by the customer.