Re: [JBoss-user] MBean server in JNDI?

2002-08-22 Thread Scott M Stark
Not by default, and this is contrary to the decoupled nature of JMX. Having a direct reference does not allow a service to be updated without clients having to reload their reference. You are free to bind your mbean into JNDI if you want. Scott Stark Chief Technology Offi

[JBoss-user] MBean server in JNDI?

2002-08-22 Thread Jon Brisbin
I've been searching the web and looking through the AdminDevel doc I bought and can't find any references to the MBeanServer object being in JNDI. Is there any way I can lookup the MBeanServer in JNDI and get native access to it instead of using RMI (I also tried listing my bindings and didn't se

[JBoss-user] JNLP problem

2002-08-22 Thread Bruno
I have altered one of the jBoss examples for testing purposes. When I run it from the command line; it works just fine. When I run it loaded with JNLP (Java Web Start), I get this error: access denied (java.lang.RuntimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo) I make sur

RE: [JBoss-user] jboss custom config not working from standalone client

2002-08-22 Thread Kevin Conner
> thanks for the help kevin. Your welcome, although I haven't done much yet :-) > I'll install from scratch and test again, maybe i made some fault at > somewhere... If it still fails please capture the backtrace. This may shed some light on the problem and may indicate where my test differs

Re: [JBoss-user] jboss custom config not working from standalone client

2002-08-22 Thread Emerson Cargnin - SICREDI Serviços
thanks for the help kevin. I'll install from scratch and test again, maybe i made some fault at somewhere... thanks again Kevin Conner wrote: >>put a bindaddress element like the following in >>jboss-servicexml, in the >>org.jboss.web.WebService and org.jboss.naming.NamingService mbeans : >>

RE: [JBoss-user] jboss custom config not working from standalone client

2002-08-22 Thread Kevin Conner
> put a bindaddress element like the following in > jboss-servicexml, in the > org.jboss.web.WebService and org.jboss.naming.NamingService mbeans : > > 8083 (ex from Webservice mbean) > 10.1.11.116 > > > use your address for this instead of 1.1.11.116. Try this > with 3.0.0 and > with 3.0.

[JBoss-user] stopping ejbStore when no mods with cmp2

2002-08-22 Thread David Ward
How can I make ejbStore() not get called on a cmp 2.0 entity bean in JBoss 3.0.1 if no data has changed? With cmp 1.1 beans, the sets/gets weren't abstract so I could keep track of the changes and implement an isModified() method. With cmp 2.0, I can't do that. I'm usually doing just reads

Re: [JBoss-user] jboss custom config not working from standalone client

2002-08-22 Thread Emerson Cargnin - SICREDI Serviços
do the following : put a bindaddress element like the following in jboss-servicexml, in the org.jboss.web.WebService and org.jboss.naming.NamingService mbeans : 8083 (ex from Webservice mbean) 10.1.11.116 use your address for this instead of 1.1.11.116. Try this with 3.0.0 and with 3.0.1. Wi

Re: [JBoss-user] Linkage error 3.0.1 final...

2002-08-22 Thread David Jencks
Do your mbeans implement the jboss service lifecycle? Exactly when do they need the ejb? If you access it in your mbean constructor, you will have to do something like nesting packages or prefixing a number to the file names to force the ejb's to load first. If you access the ejb in the start or

[JBoss-user] .NET and JBoss integration tutorial

2002-08-22 Thread Eoin Lane
We have just posted a new .NET tutorial to show SOAP rpc interoperability between a JBoss application server and a command line .NET client using CapeConnect as the run time SOAP mediator. We are now commited to used JBoss as our application server of choice to demonstrated these tutorial at

Re[2]: [JBoss-user] Mapping of relationships

2002-08-22 Thread Danilo Luiz Rheinheimer
Hello Alex, Thursday, August 22, 2002, 4:28:14 AM, you wrote: AL> if I understand you right, you let JBossCMP to create and name fields AL> and tables. In this case there is no gaurantee your AL> query will be portable across different servers. AL> To have database schema the same using different

Re[2]: [JBoss-user] Mapping of relationships

2002-08-22 Thread Alex Loubyansky
AL> InitialContext ic=new InitialContext(); AL> FooHome fh=(FooHome)ic.lookup("fooHome"); AL> QueryHome qh=(QueryHome)fh; AL> Sring ejbql="SELECT OBJECT(e)FROM EmployeeBean e WHERE e.name='rob'" AL> Query query=qh.createQuery(); AL> query.setMaxElements(10) AL> Collection results=query.find(ejbql)

Re[2]: [JBoss-user] Mapping of relationships

2002-08-22 Thread Danilo Luiz Rheinheimer
Hello David, Wednesday, August 21, 2002, 9:41:44 PM, you wrote: DJ> Well, the persistent storage doesn't have to be a relational database: for DJ> instance it could be an object database such as Versant. It also might be DJ> something like SAP, or an xml database. So relationships can't really

[JBoss-user] Using Castor in BMP with JBoss 3

2002-08-22 Thread "Dannemann, Björn"
Hi, i decided t use BMP after getting crazy with the CMP PK shit. I hate it to code SQL so my chose is BMP and Castor as db mapper. What i need is an example for using castor with JBoss 3. Because the CMP PK shit, shit, shit i am a little bit frustrated, so help me so save my mind ;-) Thanx Bj

RE: [JBoss-user] Scoped deployment

2002-08-22 Thread Torsten Terp
I had tried that and it didnt work... The reason was however that my common jar called back in to the scoped jar and ofcourse that gave me a classcast exception... Thanks for taking the time to answer such a stupid quistion... Sorry!! ^Torsten > -Original Message- > From: [EMAIL PROT

RE: [JBoss-user] jboss custom config not working from standalone client

2002-08-22 Thread Kevin Conner
> but it works fine when i set the bindaddress ip to localhost. > I think the problem is at jboss bindaddress conf. implementation. > > Any thoughts? > > >>java.rmi.UnmarshalException: error unmarshalling arguments; nested > >>exception is: > >>java.io.StreamCorruptedException Can you provide

Re: [JBoss-user] Mapping of relationships

2002-08-22 Thread Alex Loubyansky
Hello Danilo, if I understand you right, you let JBossCMP to create and name fields and tables. In this case there is no gaurantee your query will be portable across different servers. To have database schema the same using different app servers you need to name all the fields and tables yourself