Pri,

make sure you're deploying eap using a template [1]. That way you have a
guarantee that the configuration works as intended.

Once the eap pod is ready, you can access jolokia through the UI:
[image: Inline image 1]
Should you never expose jolokia outside of openshift - this would create
severe security risk by making jmx accesible
from the outside world.

[1] https://github.com/jboss-openshift/application-templates

On Fri, Mar 24, 2017 at 7:21 AM, Pri <[email protected]> wrote:

> Hi Erik,
> Hi Jochen,
>
> I have EAP running on OCP and the sample app  from "
> https://github.com/jboss-developer/jboss-eap-quickstarts.git
> <https://github.com/jboss-developer/jboss-eap-quickstarts/tree/6.4.x/kitchensink>
> " has jolokia agent running. I can see that in logs "Jolokia: Agent
> started with URL https://10.120.1.158:8778/jolokia/
> <https://10.128.1.154:8778/jolokia/>"
>
> But how to access the JVM console in browser? there is no link in the
> description page of pod. Could you please help on this?
>
> Thanks,
> Priy
>
> On Tue, Mar 14, 2017 at 6:49 PM, Pri <[email protected]> wrote:
>
>> Hi Jochen,
>>
>> Thanks for the response and apologies for delayed response from my side.
>> How to setup jolokia  agent with in an app? could you please provide some
>> details or documents if any?
>>
>> Thanks,
>> Priy
>>
>> On Sat, Mar 11, 2017 at 2:14 AM, Jochen Cordes <[email protected]>
>> wrote:
>>
>>> In addition to have the Jolokia agent deployed with the app, you also
>>> need a port named jolokia exposed (port number seems to be irrelavant)
>>>
>>> On Thu, Mar 9, 2017 at 5:25 PM, Erik Jacobs <[email protected]> wrote:
>>>
>>>> Hi Priyanka,
>>>>
>>>> This is designed, IIRC, to work with the Jolokia agent that runs in our
>>>> Wildfly/EAP xPaaS images.
>>>>
>>>> Does your Java container have Jolokia running on the default port and
>>>> exposed in the service?
>>>>
>>>> I'll see if I can't scrounge up more docs on how that's supposed to
>>>> work, but, at a minimum, I think Jolokia is a requirement.
>>>>
>>>>
>>>> Erik M Jacobs, RHCA
>>>> Principal Technical Marketing Manager, OpenShift
>>>> Red Hat, Inc.
>>>> Phone: 646.462.3745 <(646)%20462-3745>
>>>> Email: [email protected]
>>>> AOL Instant Messenger: ejacobsatredhat
>>>> Twitter: @ErikonOpen
>>>> Freenode: thoraxe
>>>>
>>>> On Tue, Mar 7, 2017 at 12:25 PM, Pri <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> According to this document https://docs.openshift.com/con
>>>>> tainer-platform/3.3/architecture/infrastructure_components/w
>>>>> eb_console.html#jvm-console
>>>>>
>>>>> Openshift has built in JVM console for java application, but I can not
>>>>> see that in my installation,
>>>>>
>>>>> Can anyone please help? How to access JVM console, Is there any extra
>>>>> configuration required for this?
>>>>>
>>>>> Thanks,
>>>>> Priyanka
>>>>>
>>>>> _______________________________________________
>>>>> dev mailing list
>>>>> [email protected]
>>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> dev mailing list
>>>> [email protected]
>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Jochen Cordes
>>>
>>> Solution Architect Middleware
>>>
>>> MesseTurm
>>>
>>> 60308 Frankfurt
>>>        Germany
>>>
>>>        mobile: +49 173 6609271 <+49%20173%206609271>
>>>
>>> *RED HAT | TRIED. TESTED. TRUSTED.*
>>>
>>> Find out why at Trusted | Red Hat
>>> <http://www.redhat.com/en/about/trusted>
>>>
>>> _____________________________________________________________________________
>>>
>>>
>>> Red Hat GmbH, www.de.redhat.com,
>>> Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen,
>>> HRB 153243,
>>> Managing Directors: Charles Cachera, Michael Cunningham, Michael
>>> O'Neill, Charles Peters
>>>
>>
>>
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to