[JBoss Getting Started Documentation] - Re: Reserve Jboss port in window OS during startup
by PeterJ
There is not way to force Windows to reserve ports for an application that I know of. The ports are allocated on a first come, first served basis. If you are running a program (or service) that uses, for example, port 1099, then you have one of several choices.
First, don't run that program.
Second, change that program to use a different port.
Third, change JBoss to use a different port.
About once a month at work, my required corporate version of Norton Anti-Virus insists on opening port 1099 (it randomly selects an open port, usually I am lucky and it selects something other than 1099). I have complained to the corporate network administrators, asking for a way to tell Norton not to use that port. So far my requests have fallen on deaf ears. So when it happens, I reboot and Norton grabs a different port. (Option one above is not an option for me because i have no control over Norton. And option three above is not an option for me since I am constantly reinstalling and running various versions of JBoss.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995366#3995366
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995366
19 years, 4 months
[JBoss Getting Started Documentation] - Re: Error while starting the Jboss Application Server.
by jangeysen
you have conflict with another jboss (version < 4.0.5) server running
change your messaging ip addresses (or ports) for clustering
1 For EJB clustering
In the file <JBOSS_HOME> \server\\deploy\cluster-service.xml, change in the mbean jboss:service=${jboss.partition.name:DefaultPartition}" the UDP entry:
<UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="45566"
Adapt the ClusteredConsoleServlet in the console accordingly. In <JBOSS_HOME> \server\\deploy\jmx-console.war\WEB-INF\web.xml? change the line <param-value> UDP(ip_mcast=true;ip_ttl=16; loopback=false; mcast_addr= ${jboss.partition.udpGroup:228.1.2.3};mcast_port=45566):
2 For JNDI clustering
In the same file <JBOSS_HOME> \server\\deploy\cluster-service.xml, change the entry ${jboss.partition.udpGroup:230.0.0.4} .. This address should also be used by the HA-JNDIJMS provider in <JBOSS_HOME> \server\\deploy \jms \hajndi-jms-ds.xml , line jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
3 For Tomcat clustering
In the file <JBOSS_HOME> \server\\deploy \tc5-cluster.sar\META-INF\jboss-service.xml", change the entry <UDP mcast_addr= "${jboss.partition.udpGroup: 230.1.2.7}".
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995362#3995362
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995362
19 years, 4 months
[Installation, Configuration & Deployment] - build jboss source
by editha
I downloaded the file jboss-4.0.4.GA-src.tar, extracted it and tried to run the build.bat file in the build directory but building the source fails.
Here is the log:
anonymous wrote : configure:
| [echo] groups: most
| [echo] modules: common,jmx,test,system,naming,j2ee,transaction,security,server,deployment,messaging,connector,remoting-int,jaxrpc,webservice,cluster,varia,iiop,management,console,aspects,tomcat,hibernate-int,aspects-jdk5,ejb3x,ejb3
|
| init:
|
| _buildmagic:modules:most:
|
| ======================================================================
| == Executing 'most' in module 'common'...
| ==
|
| _buildmagic:init:
|
| configure:
|
| _default:task-init:
|
| init:
|
| _buildmagic:build-bypass-checker:
|
| _buildmagic:build-bypass-notice:
|
| _buildmagic:build-bypass-check:
|
| jars:
|
| _buildmagic:init:
|
| init:
|
| _default:compile-classes:
| [javac] Compiling 363 source files to E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\output\classes
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\MetadataDrivenObjectModelFactory.java:24: cannot find symbol
| [execmodules] symbol : class AttributeBinding
| [execmodules] location: package org.jboss.xb.binding.metadata.unmarshalling
| [execmodules] import org.jboss.xb.binding.metadata.unmarshalling.AttributeBinding;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\MetadataDrivenObjectModelFactory.java:25: cannot find symbol
| [execmodules] symbol : class BasicElementBinding
| [execmodules] location: package org.jboss.xb.binding.metadata.unmarshalling
| [execmodules] import org.jboss.xb.binding.metadata.unmarshalling.BasicElementBinding;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\MetadataDrivenObjectModelFactory.java:28: cannot find symbol
| [execmodules] symbol : class XmlValueContainer
| [execmodules] location: package org.jboss.xb.binding.metadata.unmarshalling
| [execmodules] import org.jboss.xb.binding.metadata.unmarshalling.XmlValueContainer;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\metadata\unmarshalling\XmlValueBinding.java:32: cannot find symbol
| [execmodules] symbol: class XmlValueContainer
| [execmodules] extends XmlValueContainer
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\metadata\unmarshalling\ElementBinding.java:33: cannot find symbol
| [execmodules] symbol: class BasicElementBinding
| [execmodules] extends BasicElementBinding
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\MetadataDrivenObjectModelFactory.java:438: cannot find symbol
| [execmodules] symbol : class XmlValueContainer
| [execmodules] location: class org.jboss.xb.binding.MetadataDrivenObjectModelFactory
| [execmodules] private static final Object newInstance(XmlValueContainer metadata)
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\Unmarshaller.java:31: cannot find symbol
| [execmodules] symbol : class SchemaBindingResolver
| [execmodules] location: package org.jboss.xb.binding.sunday.unmarshalling
| [execmodules] import org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\Unmarshaller.java:71: cannot find symbol
| [execmodules] symbol : class SchemaBindingResolver
| [execmodules] location: interface org.jboss.xb.binding.Unmarshaller
| [execmodules] Object unmarshal(String xml, SchemaBindingResolver schemaResolver) throws JBossXBException;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\Unmarshaller.java:71: unmarshal(java.lang.String,org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding) is already defined in org.jboss.xb.binding.Unmarshaller
| [execmodules] Object unmarshal(String xml, SchemaBindingResolver schemaResolver) throws JBossXBException;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\Unmarshaller.java:73: cannot find symbol
| [execmodules] symbol : class SchemaBindingResolver
| [execmodules] location: interface org.jboss.xb.binding.Unmarshaller
| [execmodules] Object unmarshal(Reader xmlReader, SchemaBindingResolver schemaResolver) throws JBossXBException;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\Unmarshaller.java:73: unmarshal(java.io.Reader,org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding) is already defined in org.jboss.xb.binding.Unmarshaller
| [execmodules] Object unmarshal(Reader xmlReader, SchemaBindingResolver schemaResolver) throws JBossXBException;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\Unmarshaller.java:75: cannot find symbol
| [execmodules] symbol : class SchemaBindingResolver
| [execmodules] location: interface org.jboss.xb.binding.Unmarshaller
| [execmodules] Object unmarshal(InputStream xmlStream, SchemaBindingResolver schemaResolver) throws JBossXBException;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\Unmarshaller.java:75: unmarshal(java.io.InputStream,org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding) is already defined in org.jboss.xb.binding.Unmarshaller
| [execmodules] Object unmarshal(InputStream xmlStream, SchemaBindingResolver schemaResolver) throws JBossXBException;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\sunday\unmarshalling\TypeBinding.java:39: package org.jboss.xb.binding.sunday.unmarshalling.impl.runtime does not exist
| [execmodules] import org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHandler;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\sunday\unmarshalling\TypeBinding.java:40: package org.jboss.xb.binding.sunday.unmarshalling.impl.runtime does not exist
| [execmodules] import org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler;
| [execmodules] ^
| [execmodules] E:\Uni\jbosssource\jboss-4.0.4.GA-src.tar\jboss-4.0.4.GA-src\jboss-4.0.4.GA-src\common\src\main\org\jboss\xb\binding\sunday\unmarshalling\SchemaBinding.java:97: cannot find symbol
| [execmodules] symbol : class SchemaBindingResolver
| [execmodules] location: class org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding
| [execmodules] private SchemaBindingResolver schemaResolver;
| [execmodules] ^
The log file is longer but I don't want to post everything here.
Does anyone have an idea what my problem might be?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995359#3995359
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995359
19 years, 4 months