[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: redhat article mentions a Jolokia app, but I can't find it




----- Original Message -----
> From: "John Mazzitelli" <mazz redhat com>
> To: "users" <users lists openshift redhat com>
> Sent: Thursday, 1 September, 2016 12:48:18 PM
> Subject: Re: redhat article mentions a Jolokia app, but I can't find it
> 
> I went through the UI and created it from the WildFly 10 template. After a
> while it deployed. But then I tried this from the article:
> 
> $ curl -k -H "Authorization: Bearer
> UA26KAHdyIbV4kDqhNjlR09l0lpCSNcLDCn9ctTfDOM"
> https://10.2.2.2:8443/api/v1/namespaces/jolokia/pods/https:ticketmonster-1-r098b:8778/proxy/jolokia
> 
> and I got this error (doesn't look like Jolokia is available):

You can check in the logs to see if Jolokia is started. It should show up in the logs at the beginning.

I think there are different containers, some which have the Jolokia agent installed by default and some that don't. I don't think I have seen it on the Wildfly images, but it is available on the EAP ones.

I don't know why only some middleware containers have the Jolokia agent and some don't

> 
> Error: 'dial tcp 172.17.0.8:8778: getsockopt: connection refused'
> Trying to reach: 'https://172.17.0.8:8778/jolokia'
> 
> ----- Original Message -----
> > 
> > OK, I ran the new-project and that worked.
> > 
> > I ran the next command and got the following error:
> > 
> > $ oc new-app --template=eap64-basic-s2i
> > -p=APPLICATION_NAME=ticketmonster,SOURCE_REPOSITORY_URL=https://github.com/jboss-developer/ticket-monster,SOURCE_REPOSITORY_REF=2.7.0.Final,CONTEXT_DIR=demo
> > 
> > error: no match for "eap64-basic-s2i"
> > 
> > ----- Original Message -----
> > > John,
> > > 
> > > You found a fairly glaring error in the post. It should be “oc
> > > new-project
> > > jolokia”
> > > 
> > > Once the project has been created, you should be able to use the
> > > subsequent
> > > command to create the application.
> > > 
> > > I’ll try to get that updated on the developers site.
> > > 
> > > Feel free to reach out if you run into any other hurdles.
> > > 
> > > Thanks,
> > > Andy
> > > 
> > >  
> > > Andrew Block
> > > Red Hat Consulting
> > > 101 N. Wacker, Suite 150
> > > Chicago, IL 60606
> > > andrew block redhat com | m. (716) 870-2408
> > > 
> > > On September 1, 2016 at 10:16:12 AM, Clayton Coleman
> > > (ccoleman redhat com)
> > > wrote:
> > > 
> > > Copying Andrew who was the original author.
> > > 
> > > On Thu, Sep 1, 2016 at 11:02 AM, John Mazzitelli <mazz redhat com> wrote:
> > > Question: I can't seem to find the Jolokia app that this redhat dev
> > > article
> > > mentions:
> > > 
> > > http://developers.redhat.com/blog/2016/03/30/jolokia-jvm-monitoring-in-openshift-2/
> > > 
> > > I installed VirtualBox, got OpenShift 3 running, I can see the OpenShift
> > > UI.
> > > I can run "oc" on my host (I installed that fine).
> > > 
> > > But the "oc new-app jolokia" fails.
> > > 
> > > What am I missing?
> > > 
> > > _______________________________________________
> > > users mailing list
> > > users lists openshift redhat com
> > > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> > > 
> > > 
> > 
> > _______________________________________________
> > users mailing list
> > users lists openshift redhat com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> > 
> 
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]