[Design of POJO Server] - Re: [jboss-metadata] EJB mappedName as a Base?
by scott.stark@jboss.org
"ALRubinger" wrote : "scott.stark(a)jboss.org" wrote : I think it should be the base jndi name, the equivalent of the jboss.xml jndi-name.
|
| jboss.xml jndi-name isn't a base..?
|
Its the remote home for ejb2, not sure what it has been used as for ejb3.
"ALRubinger" wrote :
| If the mappedName is a base name, then we can't bind anything directly to it. It'd be misleading for a bean provider to say "mappedName=MyBean" and then have to access "MyBean/remote". So mappedName should be similar to our @RemoteBinding handling, no?
|
| Carlo and I discussed this earlier, where mapped-name/jndi-name directly specify remote business binding, and all others use the default base. So given "mapped-name=MyBean" and a BasicJndiBindingPolicy:
|
| Default Remote Business Interface: "MyBean"
| Remote Home: "ear/jar/ejb-name/home"
| Remote Specific Business Interface: "ear/jar/ejb-name/remote-interfaceName"
|
In my view its similarly strange that there is no relationship to the other bindings. I see the issue with using a simple mappedName like MyBean not allowing uses like both MyBean and MyBean/home.
I took a look at the glashfish ejb faq:
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
and it seems they have adopted a similar usage to have mappedName be the remote business interface, or at the level of xml its just the same as jndi-name for the reference global binding. So, remote business interface(s) proxy global jndi name it is.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164369#4164369
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164369
17 years, 8 months
[Design of JBoss Profiler] - Profiler running, no data captured
by jtrichar
Hi folks,
I'm trying to profile two WAR apps, one Seam and one Spring, with the v2 profiler. The profiler has been installed and is running (I can access the Controller MBean in the web-console), but when I look at the snapshots there's nothing recorded in the reports.
Installation was almost exactly according to README.txt except that I had to put jboss-profiler.jar in $JBOSS_HOME/server/all/lib to correct a class not found exception on org.jboss.profiler.shared.Command.
Environment is OSX 10.4; JB 4.2.2.GA; java 1.5.0_13.
jboss-profiler.properties has the following set for include/exclude:
includes=edu.*|private,org.alfresco.*|private
| excludes=org.jboss.*
and I'm running as:
java -jar jboss-profiler-client.jar startProfiler
| (run through web app in browser)
| java -jar jboss-profiler-client.jar stopProfiler
| java -jar jboss-profiler-client.jar getSnapshot 1 (or 2, or 3...)
The output directory is created, but the report .txt files are just stubs:
cat 20080714133618745-20080714133702906/overview.txt
| From: 14 July 2008 13:36:18:745
| To : 14 July 2008 13:37:02:906
|
| Threads:
| ========
|
| Most time:
| ==========
| Count Ms % Method
|
| Hotspots:
| =========
| Count Ms Avg % Method
|
|
| Classes:
| ========
I've tried changing the includes/excludes values to be more or less precise (anything from just "*" to a fully-qualified class name), but no effect. I can't think what else might be going on to prevent the data capture. Any pointers would be very welcome.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164301#4164301
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164301
17 years, 8 months