JBoss Startup Common Errors

Source: Internet
Author: User
Tags aop jboss

1. Error: Java.rmi.server.ExportException:Port already in use:1098; Nested exception is:
Java.net.BindException:Address already in Use:jvm_bind
This error often occurs in version 4.2.
Path to the file to be modified: Jboss-4.2.2.ga\server\default\conf\jboss-service.xml change 1098 to another number, until it succeeds

1099

1098

2. Error: Java.net.BindException:Address already in use:jvm_bind:8080
The path to the file to be modified: Jboss-4.2.2.ga\server\default\deploy\jboss-web.deployer\server.xml
Change the 8080 to another number, until it is successful, you must remember to save after the change. If you install the Eclipse plug-in, you can open the service to modify the port directly.
This error is common in each version.

This exception in JBoss indicates that Port 1098 is occupied by other processes, and the method of viewing the occupation process is:

1) command line cmd-> Netstat-ano | Findstr "1098", get the PID that occupies Port 1098
2) Ctrl+alt+del, enter Task Manager, click "View", select PID, view is that process occupied, the end can

3. Error: Deployment "Attachmentstore" is in error due to:java.lang.IllegalArgumentException:Wrong arguments. New for Target Java.lang.reflect.Constructor Expected=[java.net.uri] actual=[java.io.file]
Specific:
...
16:15:28,605 error [Abstractkernelcontroller] Error installing to Instantiated:name=attachmentstore state=Described
Java.lang.IllegalArgumentException:Wrong arguments. New for Target Java.lang.reflect.Constructor Expected=[java.net.uri] actual=[java.io.file]
At Org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors (reflectionutils.java:395)
At Org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance (reflectionutils.java:153)
At Org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance ( reflectconstructorinfoimpl.java:106)
At Org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch (basicconstructorjoinpoint.java:80)
At Org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget (Aopconstructorjoinpoint.java : 282)
At Org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch (aopconstructorjoinpoint.java:103)
At Org.jboss.kernel.plugins.dependency.KernelControllerContextAction Joinpointdispatchwrapper.execute ( kernelcontrollercontextaction.java:241) Atorg.jboss.kernel.plugins.dependency.ExecutionWrapper.execute ( EXECUTIONWRAPPER.JAVA:47) Atorg.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper (Kernelcontro

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.