[JBoss-user] [JNDI/Naming/Network] - Re: Poor design on using jboss-ds.xml in JBoss 4.0.4 GA

2006-07-09 Thread foxviewn2632
My background for the past 5 years has been with Websphere Application Server. I am use to using an admin console for making changes to resources in JNDI. Those changes are made at the console not sent up with the EAR. When you make changes to it you are editing the same entry. That is

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI on a central server.

2006-07-08 Thread jboss2005_01
Hmm, my question doesn't seem that easy :-( Can anyone provide me some useful information if possible please? I would be great if someone could assist me on this one :-) K. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956369#3956369 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Poor design on using jboss-ds.xml in JBoss 4.0.4 GA

2006-07-08 Thread foxviewn2632
The C:\Program Files\jboss-4.0.4.GA\server\default\deploy\jboss-ds.xml file just keeps appending entries. If you make changes it just adds them on. Maybe I am missing something, but won't this get pretty full and unmanagable? Also you have password to database in there as well. Garth

[JBoss-user] [JNDI/Naming/Network] - Re: Multiple network interface problem

2006-07-07 Thread [EMAIL PROTECTED]
Sorry should have mentioned that I am using jboss-4.0.4.GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956182#3956182 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956182 Using Tomcat but need to do more? Need to

[JBoss-user] [JNDI/Naming/Network] - Re: JBOSS 4.0.3 and JMS

2006-07-03 Thread [EMAIL PROTECTED]
though a little late, this was same Issue I had, which unblocking 1098,1099, , and the uil2 port helped with, it's a very deceiving error... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955126#3955126 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Persistence between restarts

2006-07-01 Thread malammik
I also have the same question. Does anyone knows the answer? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954838#3954838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954838 Using Tomcat but need to do more? Need to

[JBoss-user] [JNDI/Naming/Network] - Re: ClassCast EX lookup postgres XADatasSource

2006-07-01 Thread pearson
You have to cast to DataSource ... DataSource ds = (DataSource) ctx.lookup(java:/postgresqlXA); ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954867#3954867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954867 Using

[JBoss-user] [JNDI/Naming/Network] - Re: How to use HAJNDI without JBoss AS

2006-06-29 Thread JerryGauth
The Naming Service must run on a JBoss server as it's not an independent module. A remote client can use the auto discovery feature. This is described in the HA-JNDI section of the Clustering Guide. The server and client must use the same multicast address and port for this to work (they do

[JBoss-user] [JNDI/Naming/Network] - Re: How to use HAJNDI without JBoss AS

2006-06-29 Thread kapilgupta
My application is running in a Spring container and wanted to bind my remote services in JNDI but I dont want my remote client to explicitly look up the JNDI server. As HAJNDI provides auto discovery, can I some how integrate it with Spring without running JBoss? View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: How to use HAJNDI without JBoss AS

2006-06-29 Thread JerryGauth
If you want to use HA-JNDI autodiscovery, you must have a JBoss server as the JNDI store since HA-JNDI is not a separate application. You can write your own remote client to use autodiscovery or use the one provided by JBoss. See the clustering doc for further information. If you want remote

[JBoss-user] [JNDI/Naming/Network] - Re: How to use HAJNDI without JBoss AS

2006-06-29 Thread kapilgupta
Thanks for you reply Jerry. I will look into JBoss Remoting. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954388#3954388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954388 Using Tomcat but need to do more? Need to

[JBoss-user] [JNDI/Naming/Network] - Re: How to get all bound objects and their JNDI names of a p

2006-06-28 Thread chvnkishore
Hi, I am not thinking about sub,subsub context's. Only my concentration is upto a particular context. Thanks, Venkat. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953882#3953882 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: How to get all bound objects and their JNDI names of a p

2006-06-28 Thread jaikiran
Have a look at: http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/Context.html#listBindings(java.lang.String) http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/Context.html#list(java.lang.String) View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Calling EJB Remote Interface from Outside EAR Applicatio

2006-06-28 Thread [EMAIL PROTECTED]
The java:comp/env namespace is a component local one. Unless you have deployed a j2ee client that sets up a java:comp/env namespace you need to know the full jndi name of the remote ejb home to lookup. For more on j2ee clients see: http://wiki.jboss.org/wiki/Wiki.jsp?page=J2EEClient View the

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIBindingServiceMgr View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953999#3953999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953999 Using Tomcat but need to do more? Need to

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread Gunark
[EMAIL PROTECTED] wrote : http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIBindingServiceMgr So I been trying to do it this way (the MBean JMX crap I mentioned above is kind of a mess), but I can't figure out how to bind an object (just a POJO with some properties set). The examples in the wiki

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread Gunark
Okay so looks like something like this works: jndi:binding name=config/CASConfig | jndi:value editor=org.jboss.util.propertyeditor.PropertiesEditor | casLogin=https://localhost:8443/cas/login |

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread Gunark
Okay, so my final solution for programmatically setting up CAS via JNDI in JBoss: web.xml config for the application with the CAS filter looks like this: filter | filter-nameCAS Filter/filter-name | filter-classcom.discursive.cas.extend.client.filter.CASFilter/filter-class |

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread [EMAIL PROTECTED]
Gunark wrote : Okay so looks like something like this works: | | jndi:binding name=config/CASConfig | | jndi:value editor=org.jboss.util.propertyeditor.PropertiesEditor | | casLogin=https://localhost:8443/cas/login | |

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Problem when using client to JBoss

2006-06-27 Thread chvnkishore
Try this code it is not giving any err. //to work this prog fine set classpath to jbossall-client.jar;. import javax.naming.*; import java.util.*; public class HelloWorld { public static void main(String[] args) throws Exception { Hashtable properties = new

[JBoss-user] [JNDI/Naming/Network] - Re: Remote / LocalHome Interface issue - How smart is JBoss?

2006-06-27 Thread javaneze
??! eventually indeed JBoss does the magic! No RMI calls event if all the EJBS are declared only with Remote Interface! Though ok I have to say that probably there is some kind of difference when it comes to CPU cycles on perfoming or not perfoming remote calls! Anyway the problem started with

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-27 Thread Gunark
For anyone interested, the answer turned out to be manual JNDI binding via JMX service MBeans. Basically I have a JMX MBean that manually binds the object I needed bound to JNDI in its create() method. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-26 Thread jaikiran
Have a look ath env-entry in ejb-jar.xml dtd: http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd Here's an brief extract: anonymous wrote : !-- | The env-entry element contains the declaration of an enterprise bean's | environment entries. The declaration consists of an optional |

[JBoss-user] [JNDI/Naming/Network] - Re: Remote / LocalHome Interface issue - How smart is JBoss?

2006-06-26 Thread javaneze
Thanks for your reply...I going through looking at the stactraces...probably..you are right ..there is no big difference..but it is worth taking a look! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953353#3953353 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: problem with JNDI EJB3 accessing

2006-06-26 Thread [EMAIL PROTECTED]
This problem comes from that your client (i.e IDE) uses differet ejb3 libraries than your current jboss server. You can fix the problem by removing all ejb3 libraries that your IDE uses and then add the same ejb3 libraries located in jbossXXXGA/server/default(depends here)/lib View the

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-26 Thread Gunark
From what I understand, env-entry only lets you reference instances of Integers, Floats, and other primitive wrappers. I don't think this is what I'm looking for. Once again, all I want is for an instance of some arbitrary class to be available under a global jndi name. So that when the app is

[JBoss-user] [JNDI/Naming/Network] - Re: Remote / LocalHome Interface issue - How smart is JBoss?

2006-06-23 Thread PeterJ
This is not a definitive answer since I have not looked at the JBoss code for this, but in my testing I have found that whether I am using LocalHome or RemoteHome to access EJBs on the same server that the performance is that same, so my guess is that JBoss does perform magic under the covers.

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-23 Thread Gunark
Oops, second code block should be: ResourceLink name=example/MyExample | global=example/MyExample | type=com.example.MyExample/ (not that it really matters) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953099#3953099

[JBoss-user] [JNDI/Naming/Network] - Re: I seem to be having a simular problem

2006-06-21 Thread balajiv
Hi, Did you guys get the answer for this thread?. Basically, we were running RMI outside JBoss and we were using the JBoss for some webservice functionality. To make our life simpler, we want to run everything in one place and so we decided to run our rmi within JBoss server (rmiport 1098).

[JBoss-user] [JNDI/Naming/Network] - Re: JMS firewall problem

2006-06-21 Thread spickering
I'm having the same problem. Any solutions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952518#3952518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952518 All the advantages of Linux Managed Hosting--Without the Cost

[JBoss-user] [JNDI/Naming/Network] - Re: Jndi context in calls from Scheduler

2006-06-19 Thread alexpardi
Oops, things were quite not the way I first described them: it looks like the Schedulable class that is invoked has never a way to retrieve the ejb home, except that these Homes are cached (the lookup took place in a helper class), so that later retries didn't need to lookup the jndi context,

[JBoss-user] [JNDI/Naming/Network] - Re: Jndi context in calls from Scheduler

2006-06-19 Thread jaikiran
The real problem here is that the code in the Scheduler class (which is a MBean) is executed even before the EJB is bound to the jndi name. This can be solved by having a dependency attribute on the MBean. Have a look at the following link, for the same:

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI access through AJP13

2006-06-19 Thread vzilka
Well it's my mistake - it works fine with AJP. Of course, the application has to handle by hand crashes in the container, but still, it works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951667#3951667 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Jndi context in calls from Scheduler

2006-06-19 Thread alexpardi
Thanks for your reply. I tried what you suggest, messages in the log file seem to confirm that everything went right, but the lookup still fails. In the log I saw a service which seems strictly related to the jndi binding: jboss.j2ee:jndiName=env/comp/GameInterface,service=EJB I tried also to

[JBoss-user] [JNDI/Naming/Network] - Re: Delay in getting Server response

2006-06-19 Thread rschroeder
I think I identified the cause of the delay: When loading a proxy class, rmi logging says that http://AS2:; is used as codebase. But the hostname of the machine running JBoss 4 is as2.sub1.sub2.sub3.test.com. I started JBoss with the two parameters

[JBoss-user] [JNDI/Naming/Network] - Re: Jndi context in calls from Scheduler

2006-06-19 Thread alexpardi
Couldn't simply this be the key? anonymous wrote : The NamingService also creates the java:comp context such that access to this context is isolated based on the context ClassLoader of the thread that accesses the java:comp context. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Jndi context in calls from Scheduler

2006-06-19 Thread alexpardi
Problem solved: I tried to look it up in the java:/comp context rather than in the global context (env/comp). Sorry for wasting the time of those who read, hope this may help others... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951717#3951717 Reply to the

[JBoss-user] [JNDI/Naming/Network] - Re: ClassCastException after JNDI lookup

2006-06-18 Thread cbredesen
I just solved this problem by referencing my bean on the client as HelloWorldBean/local or HelloWorldBean/remote. -Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951525#3951525 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: problem with JNDI EJB3 accessing

2006-06-16 Thread alberto_perea
Is there any solution for this? I am having the same problem and I cannot find a solution for it. I am using: -JBoss 4.0.4 GA -Eclipse 3.1 Thanks Alberto View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951335#3951335 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Problem with cluster JNDI lookups in JBoss 4.0.2

2006-06-15 Thread JerryGauth
You need to differentiate your clusters. They're distinguished by name, multicast address and multicast port in cluster-service.xml. The HA-JNDI provider url is used to locate an HA-JNDI server. After that, HA-JNDI lookups use round-robin load balancing throughout the cluster so your

[JBoss-user] [JNDI/Naming/Network] - Re: Problem with cluster JNDI lookups in JBoss 4.0.2

2006-06-15 Thread avandenabeele
Thank you for your help. Here is the solution : http://wiki.jboss.org/wiki/Wiki.jsp?page=TwoClustersSameNetwork http://www.jboss.com/index.html?module=bbop=viewtopict=73340 :-) add : env.put(jnp.partitionName, $PARTITION-NAME); View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Problem with java:/comp/env

2006-06-15 Thread gionnyDeep
I think it depend of what web.xml spec you are using. try to get the most recent specs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951125#3951125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951125

[JBoss-user] [JNDI/Naming/Network] - Re: Error on lookup From a clustered SLSB to another cluster

2006-06-14 Thread JerryGauth
If you're using JNDI to perform lookups on multiple nodes in a cluster or clusters from a remote client, you'll need to know how to access each node. If your cluster is dynamic, you'll need to know how to detect nodes entering and exiting the cluster if you want to access each one remotely.

[JBoss-user] [JNDI/Naming/Network] - Re: How to get client ip inside the server running?

2006-06-14 Thread AndrewBoyd
You might try HttpRequest.getRemoteHost() From the javadoc: Returns the fully qualified name of the client that sent the request. If the engine cannot or chooses not to resolve the hostname (to improve performance), this method returns the dotted-string form of the IP address. For HTTP

[JBoss-user] [JNDI/Naming/Network] - Re: Delay in getting Server response

2006-06-13 Thread rschroeder
This is a continuation of the original posting: Through additional logging we found RMI consuming a lot of time of the call to the server. The following log snippet shows a call to the JBoss JNDI - it took 7 seconds to find the proxy interfaces via classloader. | | 08.06

[JBoss-user] [JNDI/Naming/Network] - Re: Error on lookup From a clustered SLSB to another cluster

2006-06-13 Thread jahlborn
I'm not sure how you would get high availability between two ejb deployed on distintc clusters making the lookup using JNDI. the point of HAJNDI is that although you initially contact one box in the cluster (any box, doesn't matter), you'll get back info on the rest of the cluster so that

[JBoss-user] [JNDI/Naming/Network] - Re: EJB3 Stateless Session Bean not bound error

2006-06-10 Thread rnotani
Ok, I don't feel so bad now... When I deploy EJB3Trail.ear I get the same problem. When I click on the Try the calculator button in the Stateless Session Bean section I get the same problem. I get a javax.naming.NameNotFoundException: EJB3Trail not bound. I am running JBoss 4.0.4.GA. From

[JBoss-user] [JNDI/Naming/Network] - Re: EJB3 Stateless Session Bean not bound error

2006-06-10 Thread rnotani
Well, looks like I found out the problem. To get JBoss 4.0.4, you have 2 options, viz. Download or Installer. Earlier I had used Download and simply unzipped 4.0.4 into a directory. Apparently that installs a version of JBoss WITHOUT ejb3. However, if you go the Installer route, you will

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Problems with sql server 2000

2006-06-08 Thread fabdib
Hi to everyone, i'm solved the problem installing sql server 2000 SP3 Thanxs, best regards, Fabio. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949893#3949893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949893

[JBoss-user] [JNDI/Naming/Network] - Re: Binding objects in JNDI similar to Tomcat GlobalNamingRe

2006-06-08 Thread dbevacqua
Hi JBoss Day 1 and I'm trying to solve this same problem. bwtaylor, do you have the MBean definition you used to get the JNDIBindingServiceMgr to put a Jackrabbit repository in JNDI? I'm not really au fait with JBossXB - do I need to be? Your help would really be appreciated - I'm think in at

[JBoss-user] [JNDI/Naming/Network] - Re: Binding objects in JNDI similar to Tomcat GlobalNamingRe

2006-06-08 Thread mmoales
dbevacqua, There was a bug in Jackrabbit 1.0 that prevented using the org.apache.jackrabbit.core.jndi.RegistryHelper to properly register the repository with a JNDI server. This should be fixed in in Jackrabbit 1.0.1. So, instead of trying to register the repository using

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-06-07 Thread visolvejboss
Hello, You can make the JBoss AS to listen an particular ipaddress instead of localhost by running the JBoss AS with the following option. $ ./run.sh -b {ipaddress} For your case, $ ./run.sh -b 192.168.0.5 Regards, ViSolve JBoss Team View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Changing default JNDI namming pattern for deployed ear

2006-06-06 Thread apill
You will probably be interested in the outcome of my discussion with Bill Burke on this topic. See the following thread and jira issue. http://www.jboss.com/index.html?module=bbop=viewtopict=84259 http://jira.jboss.com/jira/browse/EJBTHREE-617 View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-06-06 Thread Niki600
What about next situation? I have made an .ear and I want to run client application on the one machine and the JBoss AS on the another. My client machine is called ubuntu with address 192.168.0.4 and laptop on which I want to run JBoss AS has an address 192.168.0.5 Also on the laptop I have

[JBoss-user] [JNDI/Naming/Network] - Re: Changing default JNDI namming pattern for deployed ear

2006-06-05 Thread voidhawc
Hey guys, Try @RemoteBinding(jndiBinding=location) It's a JBoss annotation for specifying the remote interface location for EJB3. Good luck. Grant View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949245#3949245 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Changing default JNDI namming pattern for deployed ear

2006-06-05 Thread voidhawc
Same here. Different versions have a different ear name. any body know of any solutions. Don't want to update teh JNDI lookup every time. Thanks Grant View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949241#3949241 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Problem with Lookup XADataSource

2006-06-05 Thread jaikiran
anonymous wrote : When I run java program That means you are accessing the datasource remotely. Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949023#3949023 Reply

[JBoss-user] [JNDI/Naming/Network] - Re: Error on lookup From a clustered SLSB to another cluster

2006-06-05 Thread pako
Since I can have the high availability between two ejb deployed on distintc clusters making the lookup using JNDI instead of HA-JNDI and since there are some tips to keep in mind in order to use HAJNDi between two cluster, which advantages to use HA-JNDI instead that JNDI? View the

[JBoss-user] [JNDI/Naming/Network] - Re: Error on lookup From a clustered SLSB to another cluster

2006-06-05 Thread pako
thanks, the problem has been resolved using distinct partition name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949022#3949022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949022

[JBoss-user] [JNDI/Naming/Network] - Re: Changing default JNDI namming pattern for deployed ear

2006-06-02 Thread apill
I have exactly the same question. If someone has the answer it would be very helpful. It is not very nice having to remember to update jndi lookup code for every release. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948646#3948646 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Changing default JNDI namming pattern for deployed ear

2006-05-31 Thread vianney
Same need. We want to be able to name our ear file with a version number like application-1.3.5.ear but if we do that we'll have to change our source code (actually just the web.xml where we define a context-param for this jndi prefix but still). Is there anything similar to context-root for

[JBoss-user] [JNDI/Naming/Network] - Re: Failed native method call when using JBoss 4

2006-05-30 Thread francesco.zen
So Adrian, what is the RIGHT forum for JNI related questions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947581#3947581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947581

[JBoss-user] [JNDI/Naming/Network] - Re: Failed native method call when using JBoss 4

2006-05-30 Thread [EMAIL PROTECTED]
http://www.jboss.com/index.html?module=bbop=viewforumf=61 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947778#3947778 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947778

[JBoss-user] [JNDI/Naming/Network] - Re: Interoperability version 4.0.2 - 3.2.7

2006-05-29 Thread Menrique
jornik wrote : Well, by replacing the jbossall-client.jar I disable my lookup to my local ejbs, so that is not good enough. | | I cannot get the JBAS-2718 suggestion to work. I have supplied the suggested switch to both my 4.0.2 server and to my 3.2.7 server without any luck. Any more

[JBoss-user] [JNDI/Naming/Network] - Re: bug with jboss 4.0.0 and cmp

2006-05-26 Thread jainer
hi this is the ejb-jar.xml: ?xml version=1.0 encoding=UTF-8? | !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; | | ejb-jar | |description[CDATA[No Description.]]/description |display-nameGenerated

[JBoss-user] [JNDI/Naming/Network] - Re: Error on lookup From a clustered SLSB to another cluster

2006-05-26 Thread jahlborn
I had similar problems. Most of the issues were resolved by using distinct partition names between the two servers. See thread here and linked bug: http://www.jboss.org/index.html?module=bbop=viewtopict=83207 View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Error on lookup From a clustered SLSB to another cluster

2006-05-26 Thread jahlborn
I had similar problems. Most of the issues were resolved by using distinct partition names between the two servers. See thread here and linked bug: http://www.jboss.org/index.html?module=bbop=viewtopict=83207 View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Problem when using client to JBoss

2006-05-25 Thread bhupendra.yaduvenshi
In clude the jnpclient.jar Bhupendra [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3946427#3946427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946427

[JBoss-user] [JNDI/Naming/Network] - Re: java classpath question

2006-05-25 Thread bhupendra.yaduvenshi
First add the jnpclient.jar chek it out if any problem com thna let me know View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3946429#3946429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946429

[JBoss-user] [JNDI/Naming/Network] - Re: Problem with lookup of EJBs

2006-05-25 Thread bhupendra.yaduvenshi
When u r using first jndi that is genric in the second this is specific.But both r right. this is ur log 18:32:20,228 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/virtaualcity.ear 18:32:20,688 INFO [EjbModule] Deploying MapSession

[JBoss-user] [JNDI/Naming/Network] - Re: bug with jboss 4.0.0 and cmp

2006-05-25 Thread bhupendra.yaduvenshi
see ur ejb doclet tags their is somthing wrong.Send me the exact code of ejb. Bhupendra View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3946433#3946433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946433

[JBoss-user] [JNDI/Naming/Network] - Re: java classpath question

2006-05-25 Thread urswag
I have the same problem anonymous wrote : | java -cp .;%JBOSS_HOME%\client\jnp-client.jar test.de.laliluna.library.FirstEJB3TutorialClient | | Exception in thread main java.lang.NoClassDefFoundError: org/jboss/logging/Logger | at

[JBoss-user] [JNDI/Naming/Network] - Re: java classpath question

2006-05-25 Thread urswag
This works better. anonymous wrote : | java -cp .;%JBOSS_HOME%\client\jbossall-client.jar test.de.laliluna.library.FirstEJB3TutorialClient | Now I get the standard NameNotFound Exception Bean not bound. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: problem with looking up ejb

2006-05-24 Thread [EMAIL PROTECTED]
FAQ http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesTheLocalNameContainARandomNumber View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3946302#3946302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946302

[JBoss-user] [JNDI/Naming/Network] - Re: Problem with lookup of EJBs

2006-05-23 Thread ashw.kumar
I get following error when i lookup using ejb/MapSession anonymous wrote : | 13:18:35,445 INFO [STDOUT] javax.naming.NameNotFoundException: ejb not bound | 13:18:35,445 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:514) | 13:18:35,445 INFO [STDOUT]

[JBoss-user] [JNDI/Naming/Network] - Re: Problem with lookup of EJBs

2006-05-22 Thread visolvejboss
Hello, In your servlet program, the initial context lookup should be ejb/MapSession instead of java:/comp/env/ejb/MapSession Regards, Partha View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945552#3945552 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Class cast exception with QueueConnectionFactor

2006-05-20 Thread blinder
Please disregard. In my frustration and absent mindedness, i realized I had a copy of the j2ee jar in my WEB-INF/lib directory, and this was causing the conflict. as soon as i removed the j2ee jar, re-deployed the servlet, everything worked as expected. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-05-19 Thread jahlborn
Hmm, I'm starting to think this is a bug in 4.0.3SP1. I'm having the exact same issue, as i posted in a separate forum: http://www.jboss.org/index.html?module=bbop=viewtopict=83207 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944957#3944957 Reply to the

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-05-18 Thread littlefish
Somebody told me that, when you packaging the .war, also pack the jbossall-client.jar (the one get from the ejb server jboss) to the WEB-INF/lib should be ok. But i still can't make it work. Anybody knows how to make it work? View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Please help why Lookup Hibenate is sometimes null someti

2006-05-18 Thread kaage
Hi, I have the same problem, but to me it always (!) returns a null pointer. See my post under JBoss-Persistence-subtopic http://www.jboss.com/index.html?module=bbop=viewtopict=83192. I think this problem is related to the way you configured your database. If it is a standalone database, it is

[JBoss-user] [JNDI/Naming/Network] - Re: Class Library to access LDAP from EJB?

2006-05-17 Thread [EMAIL PROTECTED]
JNDI View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944210#3944210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944210 --- Using Tomcat but need to do more? Need to

[JBoss-user] [JNDI/Naming/Network] - Re: Binding objects in JNDI similar to Tomcat GlobalNamingRe

2006-05-17 Thread bwtaylor
I have the same question/problem. It looks like jboss has switched off the catalina naming service and overridden naming configuration in server.xml and context.xml. It's easy enough to do these in web.xml and jboss-web.xml but since both of these are deployed with the WAR file, it doesn't look

[JBoss-user] [JNDI/Naming/Network] - Re: Binding objects in JNDI similar to Tomcat GlobalNamingRe

2006-05-17 Thread bwtaylor
Whoops -- my 2nd pg 1st sentence should read I've done a work around using JNDIBindingServiceMgr, but this uses global naming and **breaks** component isolation to some extent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944451#3944451 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-05-16 Thread ljnelson
I am seeing the same behavior, even with the recommended environment settings. In my case, I have some code running on a JBoss 4.0.3SP1 server trying to act as a client to a JBoss 3.2.6 server. Obviously I can't just use the client libraries supplied by JBoss 4.03SP1 for this purpose. How

[JBoss-user] [JNDI/Naming/Network] - Re: WARN [NamingService] Context.PROVIDER_URL in server jnd

2006-05-11 Thread nohwal
Thanks KiranI suspected that I need to specify a separate jndi.properties file because if you notice the comment in the NamingService class it says, Context.PROVIDER_URL in server jndi.properties. So it says that the file present in /conf is a server side jndi.properties (whatever it

[JBoss-user] [JNDI/Naming/Network] - Re: How to set binding ordering?

2006-05-11 Thread jaikiran
Use the depends attribute on the mbean. Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanAnMBeanDependOnADatasource View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942880#3942880 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: how to bind a string to jndi

2006-05-11 Thread jaikiran
Have a look at: http://www.huihoo.com/jboss/online_manual/3.0/ch13s26.html The above link has a Section Writing JBoss MBean Services which has an example View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942884#3942884 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: name attribute of mbean JNDIBINDINGServiceMgr?

2006-05-11 Thread jaikiran
anonymous wrote : jndi:bindings xmlns:xs=http://www.w3.org/2001/XMLSchema-instance; | xmlns:jndi=urn:jboss:jndi-binding-service | xs:schemaLocation=urn:jboss:jndi-binding-service resource:jndi-binding-service_1_ There's a missing in the above line. Not sure whether this is the cause of the

[JBoss-user] [JNDI/Naming/Network] - Re: WARN [NamingService] Context.PROVIDER_URL in server jnd

2006-05-10 Thread jaikiran
I am not exactly sure of the WARN message, but here's what you can do: 1) Instead of changing the jndi.properties file present in the conf/ directory of JBOSS, i would suggest, you create a separate jndi.properties file for your application and package it with your application so that its

[JBoss-user] [JNDI/Naming/Network] - Re: Delay in getting Server response

2006-05-10 Thread jaikiran
rschroeder wrote : | PS: Is there a way to configure the range of ports used for RMI? It seems that the PooledInvoker uses a port range starting at 4000 - but it should use a higher lower limit (starting at 10.000). Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePorts

[JBoss-user] [JNDI/Naming/Network] - Re: How to deploy a session bean so that its JNDI binding is

2006-05-09 Thread MarcReis
One way you can tell your bean how it should be placed into the JNDI Tree is with annotations | //Bind the remote interface under EJBTEST/NatPerLstBean/remote into the //JNDI Tree | @RemoteBinding( jndiBinding=EJBTEST/ThisIsYourtBean/remote) | @LocalBinding(

[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException [Root exception is j

2006-05-06 Thread fdegreef
If I understood when you run a client on 4.0.2, you haven't the issue. You have the problem with 4.0.4. When you run your client on 4.0.4, do you use jar file of 4.0.2 (jbossall-client.jar, jboss-common.jar, jboss-common-client.jar, jnp-client.jar, ...following your needs) ? Do you change

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-05-05 Thread s.rzytki
I tried to create two InitialContext but when i try to connect to remote jndi I get connection to local jndi (situation was described in post above). Please write some code examples. Thanks Sebastian View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Using the http RMI invoker

2006-05-05 Thread borje.jonsson
Yes, i solved it. A couple of changes are required for Jboss to enable the http invoker. Fist edit the file /server/legolas/conf/standardjboss.xml and change the text: | invoker-proxy-binding | namestateless-rmi-invoker/name | invoker-mbeanjboss:service=invoker,type=jrmp/invoker-mbean

[JBoss-user] [JNDI/Naming/Network] - Re: EJB3 [java.lang.ClassCastException: org.jnp.interfaces.N

2006-05-05 Thread kleibl
hi, you need to access it via UserLoginBean/remote. the bean interface implementaion is deployed in the JNDI under remote. the bean name defines the context. e.g.: | UserLoginRemote obj = (UserLoginRemote)ctx.lookup(UserLoginBean); | regards k View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-05-05 Thread JerryGauth
Code like the folloiwng should be sufficient to direct your JNDI lookups to a specific server. Change the provide url as needed. You can use HA-JNDI by using the HA-JNDI port in the url. By default, this is port 1100. Note that HA-JNDI requests may not go to the specified server as HA-JNDI

[JBoss-user] [JNDI/Naming/Network] - Re: Using the http RMI invoker

2006-05-05 Thread MarcReis
Thanks for the reply ! In this context, I havent looked into those configs very much until now. We also try to get our App/JBoss to just use one port. Have you done any approach into configuring jboss to do this ? We started with the \ejb3.deployer\META-INF\jbosss-service.xml and configured |

[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-05-04 Thread JerryGauth
You can use HA-JNDI instead of a local JNDI address if you're running in a cluster. If you know which server to use for various lookups, you might also try creating initial contexts for each server and use the one appropriate for each lookup. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException [Root exception is j

2006-05-04 Thread paolomac
Hi, I am getting the same exception when trying to call a remote ejb, did you get any resolution to this? Thanks, Paul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941320#3941320 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException [Root exception is j

2006-05-04 Thread paolomac
Forgot to mention, my Jboss version is 4.0.3SP1, Thanks, Paul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941321#3941321 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941321

  1   2   3   4   5   6   >