Title: AW: [JBoss-user] problem with host name resolivng via http invoker
hi,
 
It works fine but.......it was totally a mislead in the Jboss All docus i read some thing like this
 

InvokerURL: This is either the http URL to the InvokerServlet mapping, or the name of a

system property that will be resolved inside the client VM to obtain the http URL to the InvokerServlet.

This value can itself be a reference to a system property resolved in the server if the

value is of the form ${x} where x is the name of the system property. This allows the URL or client

side system property to be set in one place and reused in the HttpInvoker config as well as the

InvokerServlet config.

 

may u all shuld change it in the docs ...it clearly says ${x} but it shuld be given as x where x= system property key

 

any way my problem is solved

 

thanks

jani

-----Ursprüngliche Nachricht-----
Von: Scott M Stark [mailto:[EMAIL PROTECTED]Im Auftrag von Scott M Stark
Gesendet: Donnerstag, 8. Januar 2004 23:48
An: [EMAIL PROTECTED]
Betreff: RE: [JBoss-user] problem with host name resolivng via http invoker

The system property usage would be:
<attribute name="InvokerURL">MyJMXUrl</attribute>
 
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx


From: [EMAIL PROTECTED] on behalf of Janardhan Burugupalli
Sent: Thu 1/8/2004 8:37 AM
To: [EMAIL PROTECTED]
Subject: AW: [JBoss-user] problem with host name resolivng via http invoker

HI Scott,

As u said i used the system property MyJMXUrl and added it to the
http-invoker.sar/meta-inf/jboss-service.xml file as shown below. Here i
guess after the dollar sign and in the flower brackets the system property
should lie.


<attribute name="InvokerURL">${MyJMXUrl}</attribute>

And i am setting this system property in the client start up before calling
this servlet or making this invocation and i get the following error. As i
analysed the property its self is not read and replaced . But if i use the
complete URL as u said explicitly it works

<attribute
name="InvokerURL">http://thehostiwant:8080/invoker/EJBInvokerServlet</attrib
ute>

but i want the system property to be working as some of my clients are in
the local network and some are out side and both has differetn host names.
So for different clients i can set at the start up this system property if
it works.

<<attachment: winmail.dat>>

Reply via email to