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