Hi Aneesh ,,.. .. i'm waiting 4 ur reply.what i configured in myApp if
the server is running on my machine only . is below
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
org.jnp.interfaces.NamingContextFactory);
env.put(Context.URL_PKG_PREFIXES,
What eror you are getting?
Is it an IOException?
Is your jndi on the same port 1099?
If so try to telnet to that port and c?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4149343#4149343
Reply to the post :
ThankQ marie123, i'm getting the following error
javax.naming.CommunicationException: Could not obtain connection to any of
these urls: 192.116.25.23:1099 and discovery failed with error:
javax.naming.CommunicationException: Receive timed out [Root exception is
Priya,
As has been explained various times in this thread, you have to start the
server with -b 0.0.0.0 or -b 192.116.25.23 for this piece of code to work. When
you are running this piece of code, how did you start the server? What did you
pass to the -b option? If you used the correct -b
thanks Kiran, dats fine but what i want is how to configure that remote server
in my jndi.properties file... dats wt i want exactly
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4149376#4149376
Reply to the post :
Hi Priya..
Did u try to telnet from ur remote machine to the server in that port.
You dont have to change ur server jndi properties.
First verify your server jndi is on that port 1099
then try to telnet from the local machine and from the remote machine to that
port...
View the original
ThankQ Aneesh,
when i'm trying to connect by typing telnet 192.116.25.23 1099 on commandprompt
it showing the following error.
Connecting To 192.116.25.23...Could not open connection to the host, on port
1099: Connect failed
View the original post :
Try to do telnet from the same machine in which server is
try 192.116.25.23 1009
and localhost 1099
If both works check whether u can ping from remote to the server machine.
else
check whether your jndi is bound to 1099?
View the original post :
Hi Aneesh thankQ I'm having one more doubt regarding JMS.. i.e
i'm using JBOSSMQ as JMS Provider and in my publisher program i'm using
PERSISTENT like below but while running the consumer program the same
message is at first time and that is fine.. and i'm closing the consumer
program
thankQ Aneesh. that server.xml file is fine.. but what i want is server
is running in another machine ... that machines IP address is (for ex:
192.116.25.23) now in my application i.e running in another machine, I have
to use that server which is running in (192.116.25.23)like
Priya,
As already mentioned by aneesh in his first post, all you have to do is start
the server (on 192.116.25.23) using the -b 0.0.0.0 option. Like this:
run.bat -b 0.0.0.0
See this for more details http://wiki.jboss.org/wiki/JBoss42FAQ
View the original post :
What do u want is to access any resource in your server from a client
application?
Or are you not able to access the apllications from another machine connected
to it from the browser by giving the ip http://ipaddress?
View the original post :
Hi Kiran,,.. dats fine like that i can access my server with ip address..
But in my program how can i configured that JBOSS configuration. if the
Server is running in my machine i can provide the following code and it works
fine
Hashtable env = new Hashtable();
dats fine but in server.xml file i don't know where to give ip address plz
send me code if possible
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4148768#4148768
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4148768
did u make any changes to ur server.xml.
Can u post ur server.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4148787#4148787
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4148787
hi Aneesh, Thanks 4 Reply. I didn't made any changes in my server.xml which
is avaolable at
C:\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\server.xml
my server.xml file is like this only. Plz specify where i have to do
modifications
!--APR library loader.
dis s my complete server.xml
!--APR library loader. Documentation at /docs/apr.html --
!--Initialize Jasper prior to webapps are loaded. Documentation at
/docs/jasper-howto.html --
!-- Use a custom version of StandardService that allows the
connectors to be started independent
HI priya. My server.xml is attatched below.
| Server
|
| !--APR library loader. Documentation at /docs/apr.html --
|
|
|
| Listener className=org.apache.catalina.core.AprLifecycleListener
SSLEngine=on /
|
|
| !--Initialize Jasper prior to webapps are loaded.
thankQ aneesh dats fine but i have to access the JBOSS server which is running
in another machine through IP address. For that what i hav 2 do ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4147806#4147806
Reply to the post :
Did u make any changes to the server.xml?
If u set the localhost and ipaddress both pointing to jboss.bind.address
u can access the site using both http://localhost and http://ipaddress
And u will be able to access through the ipaddress from a remote host
View the original post :
add the -b 0.0.0.0 as start argument
run.bat -b 0.0.0.0
which will bind the localhost and ipaddress to jboss.bind.address
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4147696#4147696
Reply to the post :
21 matches
Mail list logo