Setting Up Publish Instance on AEM 6.1 JEE Version | Community
Skip to main content
Level 2
October 26, 2015
Solved

Setting Up Publish Instance on AEM 6.1 JEE Version

  • October 26, 2015
  • 28 replies
  • 21768 views

Hi:

I was recently attempting to setup a Publish instance on a demo AEM 6.1 JEE server I am running. My goal was to set up more of a real world environment with various instances for the purpose of learning how the instances work together.

Before posting this I did a search on this forum and found this thread http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/aem-forms.topic.html/forum__urgb-hi_im_developing.html which contained this link https://helpx.adobe.com/aem-forms/6/aem-forms-architecture-deployment.html detailing various author/publish/processing topologies.

When spinning up a JEE version of AEM you get an Author instance by default. This documentation goes onto say that the Processing instance (when required) would typically be the JEE version and if I understand correctly the Author and Publish instances could technically be JEE or standalone versions, although the general recommendation seems to be to try and stick with standalone versions when possible. I realize the topologies using HTML Workspace and the AEMS Forms Workflow add-on (ie Process Management) are a little more complex and at least the Author instance will require JEE.

Before coming across this forum post I found this bit of documentation about creating a Publish instance on a JEE server http://help.adobe.com/en_US/AEMForms/6.1/InstallTurnkey/WS0b373c8e7f652f14-5cc6d7413c5cb4e174-8000aemforms.html which, among other things, says "You must run separate author and publish instances. You can configure the two instances on the same or on different machines."

This documentation seems to be saying that the JEE server (jboss in this case) can run multiple instances of different types. Is this correct?

While the instructions seem fairly straight forward, step 1 mentions creating an "appserver profile" with no explanation of what this is or how to create it. There seems to be a presumption the reader should know what this is. Forgive me if this is common knowledge but I'm not clear on what this is or what the context of this term is. It sounds to me like it's a jboss term.

I've googled this term but did not come up with anything meaningful, either from an AEM or Jboss perspective.

To summarize the information from both of these links, there seems to be more than one way to configure Publish instances (1 using standalone versions and another using JEE servers).

Can anyone talk about the ins and outs of these different options and which one might be recommended over another?

If the "appserver profile" method is still a valid and viable approach in AEM 6.1, can anyone expand on how to create an "appserver profile" and/or how to set up a author/publisher instances with the AEM JEE version?

Thanks in advance.

Dale

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Khushwant_Singh

Hi Dale,

Creating an appserver profile means, running a new instance of JBoss application server. You can use the Adobe pre-configured JBoss application server provided with JEE installer ([AEM Forms JEE instllaer]Adobe\Adobe Experience Manager\JBoss) on a different location on the same machine and pass the following startup argument:

-Djboss.socket.binding.port-offset=100

You can change the value of offset. The argument helps run multiple instances of JBoss on the same machine.

If you run instance of JBoss application server on a new machine, the above argument is not required.

- Khushwant Singh

28 replies

smacdonald2008
Level 10
October 30, 2015

Thank you for your feedback. We are going to use this feedback to open a bug on the AEM install docs. In mean while - we will get your question addressed. 

mexicurios
November 30, 2017

I have the same question as daleschimpf . Was this answered on another thread?

Level 4
January 24, 2018

Hello

I also have the same, is this resolved???

Also using 6.3 now

Thank you very much, i also need to know how to create that appserver profile.

smacdonald2008
Level 10
January 24, 2018

This should all be in the AEM Forms Documentation.

Level 4
January 24, 2018

Hi,

i'm looking into this PDF right now: Installing and Deploying AEM forms on JEE Using JBoss Turnkey

And the section at the end doesn't specify what is needed here. if its anywhere else, perhaps you good give me an idea on where it is hiding at.

The info is buried deep I find, to try to get all of AEM to work. I've looked at a few different sites from Adobe as well, I saw how to configure the Quickstart Author and Publish instance, but I couldn't get it to work well. so went back to the big install "aemforms_server_6_3_0_jboss_all_win" from the LWS website.

This installs version 6.3. with a lot of configurations.Right now I would like to get this install working at some point, and it works ok, I just need the Publish instance now in order to have my users connect to it and view my forms catalog. if I understand it all.

I need a bit more help from you guys, so sorry

Thanks again

smacdonald2008
Level 10
January 24, 2018

I asked the AEM Forms team to look here and help you.

Level 4
January 24, 2018

Thank you very much, I look forward to hearing from them

Khushwant_Singh
Adobe Employee
Khushwant_SinghAdobe EmployeeAccepted solution
Adobe Employee
January 25, 2018

Hi Dale,

Creating an appserver profile means, running a new instance of JBoss application server. You can use the Adobe pre-configured JBoss application server provided with JEE installer ([AEM Forms JEE instllaer]Adobe\Adobe Experience Manager\JBoss) on a different location on the same machine and pass the following startup argument:

-Djboss.socket.binding.port-offset=100

You can change the value of offset. The argument helps run multiple instances of JBoss on the same machine.

If you run instance of JBoss application server on a new machine, the above argument is not required.

- Khushwant Singh

Level 4
January 25, 2018

Thank you so much for the info Khushwant, that was very helpful.

So I have now the first install done (my Author instance, from what I understand) and that's great. Now before I start a second install on the same machine, but a different location. I see here in the "publish notes under the turnkey PDF that it mentions this:

NOTE:

If author and publish instances are on the same machine, ensure that you start the publish

instance using a different port.

Now, my next question would be, how do you change the initial 8080 port to be something else? I know how to do this using the Quickstart approach, but with this install, I don't know how at all.

Would you, or someone else be able to let me know how I can start my second install to have a different port all together???

Thank you very much again

Patrick

smacdonald2008
Level 10
January 25, 2018

I marked the response as correct - i will get them to follow up here too