[Design of JBoss Profiler] - Problems displaying results
by ivanneto
After playing with JBoss Profiler for almost a hole day, I still can't see the results in the profiler web application. Following the suggestions I found in the forum didn't solve my problem either.
What I did:
1. I compiled the "libjbossInspector.so".
2. I added it to the LD_LIBRARY_PATH
3. I copied both jboss-profiler-noAOP.sar and jboss-profiler.war to the JBoss deploy directory.
4. I edited JBoss "run.conf" and added the string "-XrunjbossInspector:/tmp,memory=false" to the JAVA_OPTS variable. When I start JBoss, it shows:
"JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XrunjbossInspector:/tmp,memory=false -Dorg.jboss.resolver.warning=false -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
...
Running process 7429
JBossProfiler: Disabling memory events
..."
So I guess the installation is OK.
5. I went to the jmx-console, clicked on the link "Native-profiler" and then on the "Invoke" button of the "activate" operation (the console prints "JBossProfiler: Initializing DataGathering").
6. I executed a stand-alone application that makes some requests to Web services deployed on JBoss. Looking in the server log, I can see that the Web services are really called.
7. I clicked on the "Invoke"button of the "stop" MBean operation. The console shows the message "Stopping DataGathering".
8. I went to the JBoss Profiler web application, clicked on the "Runtime Profiler" link, entered "/tmp" as the directory with runtime capturing, and then choosed the correct process ID (showed on server startup).
9. Then I got (in the browser) a lot of
Opening /tmp/serverspy_7169_thread_1163192783096_0_27.log.gz
but no "processing" or something like that. Just "opening". Then I can see
Process Finished.... click here
When I click there, I got (in the browser) a table with only one row, which has the method name:
Unknown.Unknownunknow(U),unknow(n),unknow(k),unknow(n),unknow(o),unknow(w),unknow(n)
On the server console I can see lots of these messages:
18:41:32,424 ERROR [STDERR] WARNING on JBPCall: Cannot synchronize correctly methods calls
18:41:32,425 INFO [STDOUT] WARNING on JBPCall: Cannot synchronize correctly methods calls
Am I doing something wrong? I'm running JBoss Profiler CR4 on JBoss 5.0 (SVN trunk), but I also tested with 4.0.4.GA and got the same problem.
I've tried just "-XrunjbossInspector:/tmp", and a lot of options combinations. None of them worked.
Any help would be appreciated.
Regards,
Ivan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985045#3985045
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985045
19 years, 5 months
[Design of JBoss ESB] - JMS Provider(s) Design - JBossMQ/JBossMessaging/ActiveMQ/MQS
by kurt.stam@jboss.com
The ESB needs to be able to talk to one or more JMS providers. At the service level definition we configure the host name and jndi port of the service. Since the naming system differ between naming implementations (jndi, jnp etc) we will need an extra parameter here to define the right naming context to use.
We currently have a class called AppServerContext, which we should rename to NamingContext and we should add more implementations besides the JBoss context.
This should give use the freedom to use any JMS provider and also to use multiple providers where the ESB can act as messaging bridge between the different JMS providers.
Am I right to assume that with this approach we don't necessarely have to deploy ActiveMQ to JBoss, but we could run ActiveMQ as standalone and 'mix and match'? Does this make sense? I'm currently retracing Arvinder's steps with ActiveMQ, but I'd like to know if you think this approach makes sense. Maybe I'm forgetting something?
thx,
--Kurt
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985044#3985044
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985044
19 years, 5 months
[Design of JBoss Eclipse IDE (dev)] - bug?! I can't run a webservice client, netbeans works...
by Smilidon
Hi,
I get this error message:
Exception in thread "main" java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is:
| javax.xml.soap.SOAPException: Could not transmit message
| at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718)
| at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
| at ws0607.client.Client.webServiceTest(Client.java:61)
| at ws0607.client.Client.main(Client.java:87)
| Caused by: javax.xml.soap.SOAPException: Could not transmit message
| at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:204)
| at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
| ... 3 more
| Caused by: java.lang.NoSuchMethodError: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding.setXopMarshaller(Lorg/jboss/xb/binding/sunday/xop/XOPMarshaller;)V
| at org.jboss.ws.jaxb.JBossXBMarshallerImpl.marshal(JBossXBMarshallerImpl.java:145)
| at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:107)
| at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:157)
| at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:817)
| at org.jboss.ws.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:1015)
i dont know why jboss ide dont find this classes, because netbeans do!
here
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978333#3978333
is said, that it could be the wrong version of jboss-xml-binding.jar, but i know i have the right version, because in netbeans it works. maybe eclipse has some other version in the classpath? but where? i use eclipse ide beta 2 bundle.
regards
s.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985041#3985041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985041
19 years, 5 months