www.dextsolution.com
DEXTUPLOAD
NJ
menu toggleProduct description > License > Server license

Server license

If you officially purchase a license, PID (product number) and SN (serial number) will be issued. When the license is issued, after logging in to the DEXTSolution site, register real information with PID and SN. If you open the dextuploadnj.config file and set PID and SN to the source, the setting license is completed.

The license file(dextuploadnj.config) is a general text file and the name does not have to be dextuplodnj.config. The dextuplodnj.config file is included in the distribution file(zip format) and is generally copied to the WEB/INF directory, but it can be used anywhere it can be accessed by the Web application.

Apply official service on server with external Internet enabled.

During service, the component requests the authentication server from the 80(web) port for license authentication.

If the external Internet is blocked or if the connection is blocked at www.dextsolution.com, you need to authorize this manually.

Just by opening the license file(dextuploadnj.config) and setting PID and SN, applying the license is completed.

# Register the official license.
PID=DJNJ----------XX
SN=PUJ---------WRF
Apply the official service on a server that is not capable of external Internet.

In the case of a network configuration that cannot make an activation request to an external authentication server, the OTP and the AUTHKEY must be issued manually and applied.

After logging in to the DEXTSolution site, OTP and AUTHKEY can be issued by inputting the host name(computer name) of the server int the authentication key generation page.

You can apply the issued OTP and AUTHKEY by opening the license file.

PID=DJNJ----------XX
SN=PUJ---------WRF
OTP=BOIRV------PKHU
AUTHKEY=SU------VBXSC
If an error occured when your service imigrated to other server or modified the information of current server,

If the service using DEXTUploadNJ is changed to another server or the information of the servicing server is modified, the following error can 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 is a phenomenon that occurs when the server's host name(computer name) and IP address are changed, because it does not match the installation information registered in the license.

Solution.

  • After visiting the DEXTSolution site, move the "Change installation information" tab in the "MY PAGE".
  • Remove the installation information related to the target(PID/SN). (Or correct the server name and IP.)
  • If there are OTP and AUTHKEY lines when you open the license file(.config), remove those two lines.
  • Restart the server(or the web application).
How to set the license file path in the source

DEXTUploadNJ server license records license information in a file and attempts to authenticate the product based on this information.

Generally, in a servlet environment, before the FileUpload object processes uploads, authentication is attempted with an environment object as a parameters. Since the Environment object has the licenseFilePath property pointing to the path of the license file, you can set the path of the license file using the setLicenseFilePath method.

# When creating a configuration object on source code and applying it 
Environment env = new Environment(); 
...
env.setLicenseFilePath("License file path");

In a spring environment, use the DEXTUploadNJMultipartResolver object to handle the upload. Because the DEXTUploadNJMultipartResolver object has an environment attribute, you can use this attribute to specify the Environment object that has the path information of the license file.

# When environment environment is set in spring environment
<bean id="idName" class="devpia.dextuploadnj.support.spring.DEXTUploadNJMultipartResolver">
  ...
  <property name="environment">
    <bean class="devpia.dextuploadnj.Environment">
      <property name="licenseFilePath" value="License file path"/>
    </bean>
  </property>
  ...
</bean>

In the case of large file upload (2 GB or more), the ExtensionFileUploadFilter object is responsible for uploading the file. The ExtensionFileUploadFilter object may specify the path of the license file directly in the licenseFilePath parameter.

# You are a large capacity upload environment passed as a parameter of the filter object
<filter>
  <filter-name>extensionUploadFilter</filter-name>
  <filter-class>devpia.dextuploadnj.support.common.ExtensionFileUploadFilter</filter-class>
  ...
  <init-param>
    <param-name>licenseFilePath</param-name>
    <!-- Note) In a UNIX/Linux environment, if a path starts with a slash ("/") character, it will look for the path of the file relative to the root(/). -->
    <param-value>Path of license file(relative path or absolute path of web context root)</param-value>
  </init-param>
</filter>
Use as a trial version

DEXTUploadNJ server license is not provided separately for developers license. However, in order to provide development convenience, a license for a trial version that can be used for 30 days will be offered.

Unlike formal licenses, there is no process of registering PIDs and SNs in the DEXTSolution site for trial version licenses.

Open the license file of the trial version license and set as follows.

PID=DEVPIA
SN=DEVPIA

If an authentication expiration date error occurs during the development period, it is said to open the re-license file, delete the OTP, AUTHKEY line, and restart the Web application.

PID=DEVPIA
SN=DEVPIA
OTP=BOIRV------PKHU
AUTHKEY=SU------VBXSC
# Delete the above two lines of OTP and AUTHKEY.
PID=DEVPIA
SN=DEVPIA
Notes of license

DEXTSolution Inc., manages only customer information like the PID(product number), SN(serial number) and license type identified at the purchasing

Changing the installation information(host name, IP), re-issuing new authentication key, is a matter that the customer must manage directly.