Original: http://docs.oracle.com/javaee/7/tutorial/doc/overview009.htmTranslation: Shi Zholin [email protected]1.9 GlassFish Server ToolsGlassFish Server is a compliant implementation of the Java EE 7 platform. In addition to supporting all the APIs described in the previous sections, GlassFish
1. Java environment variable settings
Assume that the JDK installation directory is c: \ Program Files \ Java \ jdk1.6.0 _ 25
1. Set java_home to c: \ Program Files \ Java \ jdk1.6.0 _ 25.
2. Set the PATH value to % java_home % \ bin.
3. Set the classpath value to.; % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. Jar
2. Start glassfish
Glassfish-3.1.2.2 is the glassfosh
You can add an associated application server in netbeans so that we can release the application in netbeans.ProgramAfter,
You can deploy an application to an application server with one click.
In addition, after modifying the application, it can also be reflected to the corresponding application server in real time, facilitating web application debugging.
1.
click Start to execute:./asadminAsadmin>change-admin-passwordPrompt for user name: press ENTER directly (do not enter, otherwise you will get an error)Prompt password: press ENTER directlyEnter new password: [usrname]glassfishConfirm Password: [usrname]glassfishPrompt for modification success after carriage return10. Turn on remote access permissions and exit GlassFish usersAsadmin >enable-secure-adminAsadmin >exit11. Turn off the service and restart
First, download GlassFish Server Download the appropriate version from the following address:Http://glassfish.java.net/public/downloadsindex.htmlHttp://www.oracle.com/technetwork/java/javaee/downloads/ogs-3-1-1-downloads-439803.htmlSecond, Eclipse install GlassFish Server pluginOn the main menu bar of Eclipse--window--
Configure the glassfish server in netbeans
1. Start the glassfish server and enter http: // localhost: 4848/in the address bar to enter the server configuration interface, as shown below:
2. Select JDBC of resources under common tasks. The JDBC resources and connection p
Glassfish Arbitrary File Reading Vulnerability in an app server of youfu
Arbitrary File Reading Vulnerability in glassfish app ServerIp211.151.62.149Verify if the vulnerability exists
http://211.151.62.149:4848/theme/META-INF/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/passw
Release date:Updated on:
Affected Systems:Oracle GlassFish Enterprise Server 3.1.1Description:--------------------------------------------------------------------------------Cve id: CVE-2012-0551
Oracle GlassFish Server is an open-source and open community platform for building and deploying next-generation applicati
Glassfish solves garbled characters when receiving requests on the SpringMVC server. glassfishspringmvc
Environment Description
Front-end: jsp
Backend: SpringMVC Controller
Although pageEncoding has been set on the jsp page:
Then, in the controller, if the corresponding read parameter contains Chinese characters, garbled characters appear, for example:
Public ModelAndView search (@ RequestParam ("
1. Add the database driver package to the glassfishv3 \ glassfish \ Domains \ domain1 \ Lib \ ext directory of the existing instance on the server.
2. Create a database connection pool
3. Create data as a connection Resource
4. Publish an application
Note: In earlier versions of glassfish V3, if you did not add a database driver package to glassfishv3,
GlassfishServer is not widely used in China. It is difficult to find a Chinese post on the Internet if you have any questions. You can search for many answers in English. One of my own development projects uses glassfishV3To deploy the EJB application. The client uses wing to call the remote interface service. Many problems were encountered in the process, and finally the project was finally completed.
If you want your glassfish
Program causes the application pool of the IIS server to stop, and the application pool of the iis server to stop.
When the program runs to a certain step, the application pool stops automatically. The results are consistent after several attempts. There are several reasons for this result:
1: This IIS6.0 will be susp
How does I start, restart, or stop Apache 2.x Web server on Ubuntu Linux operating systems using the command line options?You can use any one of the following method to Restart/start/stop your Apache (httpd) sever on Ubuntu:Tutorial Details
Difficulty
Easy (RSS)
Root Privileges
Yes
Requirements
Shell
This was the wrong time when you started Tomcat with idea: Application Server is not connected before run configuration stop, reason:unable to ping serv ER at localhost:1099
on the Internet to check, found that we have given so many solutions
1. Port Change
Some people say that the port is occupied, a change can be, but I tried it myself, seemingly useless
2.JVM of memory is not enough
I don't feel tha
with this account.
If necessary, use the system's usual process of creating a user to create a server account, you need to use root for it.
If the server is running, stop it.
Modify the data directory and the owner of any subdirectories and files so that mysqladm users can have them. For example, if the data directory is/usr/local/var, you can set the owner of m
automatically create a mysql-namedAccount, use this account instead of Mysqladm.4. If necessary, create a server account with the system's usual process of creating a user, you need to do it with root.5. If the server is running, stop it.6. Modify the owner of the data directory and any subdirectories and files so that mysqladm users have them. For exampleIf the
? Q??? To?? SQL Server.
Start-service-name ' mssql$mssql05 'Before the correction of the same r, the second one in the reply. Description of the command:
In PowerShell, the original order?? 臃??
Cmd/c ' net start ' mssql$mssql05 '
Or
Cmd/c ' sc start ' mssql$mssql05 '
Stop the costume?? /p>
CMD/C ' net top ' mssql$mssql05 '
Or
Cmd/c ' sc stop ' mssql$mssql
Start and Stop a Mysql Server (1)
Start and Stop a Mysql Server (1)
Before discussing how to start the MySQL server, let's take a look at the user identity to run the MySQL server. The server
Start and Stop a Mysql Server (2)
Start and Stop a Mysql Server (2)
3. Stop the server
To manually start the server, use MySQLadmin:
% Mysqladmin shutdown
To automatically
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.