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 no
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
View
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=bb&op=viewtopic&p=3956369#3956369
Reply to the post :
ht
Sorry should have mentioned that I am using
jboss-4.0.4.GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956182#3956182
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956182
Using Tomcat but need to do more? Need to
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=bb&op=viewtopic&p=3955126#3955126
Reply to the post :
http://www.jboss.com/index.htm
You have to cast to DataSource
...
DataSource ds = (DataSource) ctx.lookup("java:/postgresqlXA");
...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954867#3954867
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954867
I also have the same question. Does anyone knows the answer?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954838#3954838
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954838
Using Tomcat but need to do more? Need to
Thanks for you reply Jerry. I will look into JBoss Remoting.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954388#3954388
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954388
Using Tomcat but need to do more? Need to
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
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 :
http
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 by
"Gunark" wrote : Okay so looks like something like this works:
|
|
| |
| | casLogin=https://localhost:8443/cas/login
| | casValidate=https://localhost:8443/cas/proxyValidate
| | casServerNam
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:
| CAS Filter
|
com.discursive.cas.extend.client.filter.CASFilter
|
| com.discursive.cas.extend.client.config.jndi
|
Okay so looks like something like this works:
|
| casLogin=https://localhost:8443/cas/login
| casValidate=https://localhost:8443/cas/proxyValidate
| casServerName=localhost:8080
|
"[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
http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIBindingServiceMgr
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953999#3953999
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953999
Using Tomcat but need to do more? Need
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 or
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953885#3
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=bb&op=viewtopic&p=3953882#3953882
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953858#39
??! 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 a
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 Has
>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 i
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 origin
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=bb&op=viewtopic&p=3953353#3953353
Reply to the post :
http://www.jboss.com/i
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 :
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953339#3953339
Reply to the post :
http://www.jboss.com/index.h
Oops, second code block should be:
(not that it really matters)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953099#3953099
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953099
Using Tomcat but need to do more? N
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.
I'm having the same problem.
Any solutions?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952518#3952518
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952518
All the advantages of Linux Managed Hosting--Without the
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). But
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=bb&op=viewtopic&p=3951717#3951717
Reply to the
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 :
http://www.jboss.com/index.html?modu
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
-Djava.rmi.server.hostname=as2.sub1.sub2
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 ad
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=bb&op=viewtopic&p=3951667#3951667
Reply to the post :
http://www.jboss.com/index.html?m
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:
http://wiki.jboss.org/wiki/Wiki.jsp?page
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, bu
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=bb&op=viewtopic&p=3951525#3951525
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
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=bb&op=viewtopic&p=3951335#3951335
Reply to the post :
http://www.jboss.co
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=bb&op=viewtopic&p=3951125#3951125
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951125
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=bb&op=viewtopic&t=73340
:-)
add :
env.put("jnp.partitionName", $PARTITION-NAME);
View the original post :
http://www.jboss.com/index.html?mo
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
requests
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
servlet
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.
As
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 req
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 10:05:41,390[DEB
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, yo
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
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 GlobalNamingResources
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
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=bb&op=viewtopic&p=3949893#3949893
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949893
_
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 :
http://www.jboss.com/index.html?
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 instal
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=bb&op=viewtopic&t=84259
http://jira.jboss.com/jira/browse/EJBTHREE-617
View the original post :
http://www.jboss.com/in
thanks, the problem has been resolved using distinct partition name
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949022#3949022
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949022
_
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 original
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=bb&op=viewtopic&p=3949023#3949023
Reply
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=bb&op=viewtopic&p=3949241#3949241
Reply to the post :
http://www.jboss.com/
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=bb&op=viewtopic&p=3949245#3949245
Reply to the post :
http://www.jboss.com/ind
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=bb&op=viewtopic&p=3948646#3948646
Reply to the post :
ht
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 w
http://www.jboss.com/index.html?module=bb&op=viewforum&f=61
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947778#3947778
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947778
-
So Adrian, what is the RIGHT forum for JNI related questions?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947581#3947581
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947581
--
"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 co
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=bb&op=viewtopic&t=83207
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
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=bb&op=viewtopic&t=83207
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
hi this is the ejb-jar.xml:
| http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
|
|
|
|[CDATA[No Description.]]
|Generated by XDoclet
|
|
|
|
|
|
|
|
| [CDATA[ You can insert your
documentation for 'UsuarioBean'.]]
|
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
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 org.jnp.interfaces.NamingContext.(NamingContext.ja
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=bb&op=viewtopic&p=3946433#3946433
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946433
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
18
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=bb&op=viewtopic&p=3946429#3946429
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946429
---
In clude the jnpclient.jar
Bhupendra
[EMAIL PROTECTED]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946427#3946427
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946427
-
FAQ
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesTheLocalNameContainARandomNumber
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946302#3946302
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946302
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]
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=bb&op=viewtopic&p=3945552#3945552
Reply to the post :
http://www.jboss.com/index.html?
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 :
http://www.
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=bb&op=viewtopic&t=83207
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944957#3944957
Reply to the
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=bb&op=viewtopic&t=83192.
I think this problem is related to the way you configured your database. If it
is a standalone database, it i
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 :
http://www.jboss.com/index.html?module=b
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=bb&op=viewtopic&p=3944451#3944451
Reply to the post
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
JNDI
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944210#3944210
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944210
---
Using Tomcat but need to do more? Need
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 woul
anonymous wrote : 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 exception that you
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=bb&op=viewtopic&p=3942884#3942884
Reply to the post :
http://www.jbos
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=bb&op=viewtopic&p=3942880#3942880
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
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 mea
"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
h
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 availa
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( jndiBinding="comp/env/EJBT
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 your
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
|
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 u
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 :
http://www.
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:
|
| stateless-rmi-invoker
| jboss:service=invoker,type=jrmp
|
to:
|
| stateless-http-invoker
| jbos
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941457#3941
Have you made any advance in this ?
I also would like to just use http and port 80.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941323#3941323
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941323
-
Forgot to mention, my Jboss version is 4.0.3SP1,
Thanks,
Paul
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941321#3941321
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941321
--
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=bb&op=viewtopic&p=3941320#3941320
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
1 - 100 of 568 matches
Mail list logo