How to assign different port for JBoss LiveCycle TurnKey installation?

780 views
Skip to first unread message

Rajesh G

unread,
Jun 4, 2012, 8:18:59 PM6/4/12
to live...@googlegroups.com
Hi Folks,
             I am trying to install Adobe LiveCycle ES2.5 JBoss Turnkey Installation on my machine, with operating system - Windows XP Service pack 3. And the installation terminating because my system is already using 8080 port some important internet services are assigned to this (FYI: No IIS or Tomact Installed). I have no option to assign already in use service to different port number other than 8080.
             So, instead, Is there is any way in the installation files configuring different port address for pre-configured JBoss server? or Just suggest be easiest way for installing the LiveCycle server on my machine.
 
Thanks in Advance,
 
Rajesh

Hemant

unread,
Jun 5, 2012, 2:01:27 AM6/5/12
to Adobe LiveCycle Developers
Rajesh,

For turnkey installation you need to first stop the other application
using port 8080 just for the sake that LC is installed (its like a
trick to install LC)and later you can modify the ports in Jboss..
Below are the lists of configuration files where you can modify the
ports.. If you apply all below mentioned you can have two installation
of Jboss 4.2.1 working in same machine at a time... but in your case
you need to see only for the port 8080..


[jboss root]\server\all\deploy\jboss-web-deployer\server.xml
● Change HTTP/1.1 Connector port from 8080 to 8888
● Change AJP 1.3 Connector port from 8009 to 8099
● Change SSL/TLS Connector port from 8443 to 8493

[jboss root]\server\all\conf\jboss-service.xml
● Change WebService port from 8083 to 8899
● Change NamingService port from 1099 to 9999
● Change RMIport from 1098 to 9998
● Change RMIObjectPort from 4444 to 9444
● Change PooledInvoker ServerBindPort from 4445 to 9445

[jboss root]\server\all\conf\jacorb.properties
● Change OAPort from 3528 to 9528
● Change OASSLPort from 3529 to 9529

[jboss root]\server\all\deploy\snmp-adaptor.sar\META-INF\jboss-
service.xml
● Change port from 1162 to 1182
● Change port from1161 to 1181

[jboss root]\server\all\deploy\snmp-adaptor.sar\managers.xml
● Change port from1162 to 1182

[jboss root]\server\all\deploy\ejb3.deployer\META-INF\jboss-
service.xml
● Change port from 3873 to 9873

[jboss root]\server\all\deploy\httpha-invoker.sar\META-INF\jboss-
service.xml
● Change port from 8080 to JBoss port (For example, 8888)

[jboss root]\server\all\conf\jboss-minimal.xml
● Change port from 1099 to 9999
● Change port from 1098 to 9998


Hope this helps...!!

Regards,
Hemant Garg

Rohan Raj

unread,
Jun 5, 2012, 3:11:58 AM6/5/12
to live...@googlegroups.com
Hi Rajesh,

Please have a look at documentation- install_jboss.pdf:

Go to page 64 of this guide you will get all the information in changing port under heading:
6.2.3 Customizing port numbers

Rohan

--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To post to this group, send email to live...@googlegroups.com.
To unsubscribe from this group, send email to livecycle+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/livecycle?hl=en.



--
Regards,
Rohan Raj.
9930424098


amit pugalia

unread,
Jun 5, 2012, 3:52:28 AM6/5/12
to live...@googlegroups.com

Hi,

There is a much simpler way rather than editing so many ports at a time. It's riskier even and hard to maintain.

JBoss 5 comes with a set of 4 predefined ports, 8080, 8180, 8280 and 8380.

By default, any server instance is bind to run with 8080.

But in order to run with the other ports mentioned above, you can start the server with the following command,

run -Djboss.service.binding.set=ports-01
The above command will start the JBoss server instance with port 8180.

If you want to configure a custom port other than the ones mentioned, then you'll have to edit the pre-configured bindings in following file,
//Server_instance/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml

Thanks,
Amit Pugalia.

amit pugalia

unread,
Jun 5, 2012, 4:02:12 AM6/5/12
to live...@googlegroups.com

In case it's JBoss 4.x.x(as is the case with ES 2.5),
Jboss again provides the same set of 4 pre-configured ports,
8080,8180,8280,8380.

 

Goto //Server_Instance/conf/jboss-service.xml

 Look for the following mbean instance:

 

<mbean code="org.jboss.services.binding.ServiceBindingManager"

     name="jboss.system:service=ServiceBindingManager">

     <attribute name="ServerName">ports-01</attribute>

     <attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>

     <attribute name="StoreFactoryClassName">

       org.jboss.services.binding.XMLServicesStoreFactory

     </attribute>

   </mbean>

 

The above mentioned mbean code, is commented by default to allow users to use 8080.

Uncomment the above said mbean instance and you will be ready to use ports-01, which is 8180.

 

If you want to use any other port. Just change the value for the attribute “ServerName” to ports-02(8280) or ports-03(8380). These are pre configured ports by jboss.

For any new port other than mentioned above, you will have to add new configurations to the file, specified in the path given for the attribute “StoreURL”.


Thanks,
Amit Pugalia.

Rajesh G

unread,
Jun 7, 2012, 9:09:40 PM6/7/12
to live...@googlegroups.com

Thank you, Amit, Rohan and Hemant. All your suggestions helped a lot.

- Rajesh

Reply all
Reply to author
Forward
0 new messages