esn't start properly anymore. My question is : Is JBoss
aware of multiple ethernet cards or not and how do i configure JBoss, so
that it doesn't try to do a hostname lookup of it's own server?
Iam using JBoss 2.2.1 with Jettty 3.1
Any idea or hint is welcome!!!
Thanks
wrote:
[EMAIL PROTECTED]">Lorenzo Resta wrote:
I have tried the getEJBMetaData().getHomeInterfaceClass() method in JBoss,but all i am getting here is the "$Proxy2" class name again,so i suspect that the mentioned method returns the class that implementsthe Home interface.
Maurice,
I did set all the JNDI properties like this:
private String J2EE_BEAN_INITIAL_CONTEXT = "org.jnp.interfaces.NamingContextFactory";
private String J2EE_SERVER = "maloja:1099";
private String J2EE_SERVER_USER = "username";
private
ng what their names and home and remote interfaces are atcompile-time by using reflection at run-time. Is this what you're trying todo?---Michael R. Maraya
--From: Lorenzo Resta[SMTP:[EMAIL PROTECTED]]Reply To: [EMAIL PROTECTED]Sent: Thursday, July 19, 2001 12:20 PMTo: [EMA
58)
at com.surfkitchen.context.GlobalContext.registerEJBs(GlobalContext.java:130)
at com.surfkitchen.context.GlobalContext.main(GlobalContext.java:178)
As far as i can say from this exception, i have to specify the potential
home interface class names, before they can resolved...
Cheers
Lorenzo
Ole Husgaard wrote:
[EMAIL PROTECTED]&q
l wrote:
[EMAIL PROTECTED]"> If I understand what you're saying, I think you're trying to accessEJBs without knowing what their names and home and remote interfaces are atcompile-time by using reflection at run-time. Is this what you're trying todo?---Michael R. Maraya
The returned "$Proxy" class implements your HomeInterface.2. You HomeInterface is the *interface*.So anyway, something should implement it.What did you expect?3. You may get the list of interfaces and/oryour real HomeInterface by using reflection.Regards,Alex,Lorenzo Resta wrote:
Hi,Does
o:Object obj = new InitialContext().lookup(BeanName);EJBHome home =(EJBHome)javax.rmi.PortableRemoteObject.narrow(obj, EJBHome.class);log.debug("HomeInterface: " +home.getEJBMetaData().getHomeInterfaceClass());Burkhard- Original Mess
e.
By the way : even in JNDIView the classnames appear as "$Proxy0",
"$Proxy1" , etc.
Any ideas how to get at the "real" class names?
Thanks
Lorenzo Resta
SurfKitchen Inc.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
example can you locate the resource in the EAR file and load it from both
places?
Thank you for your help,
Ivan
- Original Message -----
From:
LorenzoResta
To:
[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 12:41AM
Subject: Re: [JBoss-user] Setting
property
file, or are they the same thing?
Ivan
- Original Message -
From:
LorenzoResta
To:
[EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:12 AM
Subject: Re: [JBoss-user] Setting &Accessing Resource Files in
JBoss
Hi Burkard,
As
e been working around with this, but nothing helped. Do you guys have
any clue?
Jorge SuarezCommexnet Co.Medellin, Colombia
De: Lorenzo Resta <[EMAIL PROTECTED]>Fecha: 13-Jul-2001 07:09Para: [EMAIL PROTECTED]Asunto: Re: [JBoss-user] Setting & Acc
rectory in the .jar file.But withjava.io.InputStream theInputStream = getClass().getResourceAsStream(theResourceName);I allways get null!! :( (of course I can´t read the Stream afterwards, then I get the NullPointerException)I´ve been working around with this, but nothing helped. Do you guys have
Hi,
You can do something like this:
First create an environment entry in your ejb-jar.xml file like:
ConfigFile
java.lang.String
/config/ConfigFile.xml
private String getResourceNameFromEnvironment(String anEnvResourceName) throws
NamingException{
String theResourceName;
Hi,
I think that right now there is no clustering in JBoss. I guess that someone
is working on a clustering solution for JBoss. I am trying to find out as
well, where clustering is today, since i will need clustering as well for the
future deployment of my project. I hate to say this here, bu
Does someone know what the status of the clustering functionality is?
Cheers
Lorento Resta,
Surfkitchen Inc.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
16 matches
Mail list logo