it worked when i used localhost at bindAddress xml tag. but it don't 
solve my problem, as i'll need to configure an instance with a diferent 
ip address.

Emerson Cargnin - SICREDI Servi�os wrote:
> it's really strange, I put all other rar and xml files back to deploy 
> and it keep not working.
> 
> I changed the following files :
> 
> conf/jboss-service.xml :
> ...
>  <mbean code="org.jboss.web.WebService"
>          name="jboss:service=Webserver">
>     <attribute name="Port">8083</attribute>
> 
>  <attribute name="BindAddress">10.1.11.116</attribute>
>     <!-- Should resources and non-EJB classes be downloadable -->
>     <attribute name="DownloadServerClasses">true</attribute>
>   </mbean>
> ...
> 
>   <mbean code="org.jboss.naming.NamingService"
>          name="jboss:service=Naming">
>     <attribute name="Port">1099</attribute>
> <attribute name="BindAddress">10.1.11.116</attribute>
>   </mbean>
> ...
> 
> 
> tomcat4-service.xml (just bind to a diferent address) :
> 
>   <Connector className = "org.apache.catalina.connector.http.HttpConnector"
>                  Address = "10.1.11.116"  port = "8080" minProcessors = 
> "3" maxProcessors = "10" enableLookups = "true"
>                acceptCount = "10" debug = "0" connectionTimeout = "60000"/>
> 
> 
> i set my jndi.properties used by the tests to use the specific ip :
> java.naming.provider.url=jnp://10.1.11.116:1099
> 
> 
> i tried to take the bindaddress out of jboss-service.xml and it works 
> when i took the  <mbean code="org.jboss.naming.NamingService" 
> bindaddress out.
> 
> it looks that the bindaddress attribute of 
> "org.jboss.naming.NamingService" mbean is not been taken in account...
> 
> 
> 
> Emerson Cargnin - SICREDI Servi�os wrote:
> 
>> I setup a customized configuration of final jboss 3.0.1  with the 
>> following files:
>>
>> jbossmq-destinations-service.xml
>> jmx-console.war
>> jbossmq-service.xml
>> oracle-service.xml
>> ejb-management.jar
>> jca-service.xml
>> tomcat4-service.jar
>> jboss-local-jdbc.rar
>> jms-ra.rar
>> tomcat4-service.xml
>> jboss-xa.rar
>> jms-service.xml
>> user-service.xml
>>
>> I use this confuration to allow more than one instance of jboss at 
>> same time (in a central machine for all developers).
>> The problem is that the tests from junit (standalone client) doesn't 
>> work. it gives the message :
>>
>> java.rmi.UnmarshalException: error unmarshalling arguments; nested 
>> exception is:
>> java.io.StreamCorruptedException
>>
>>
>> I use a bindaddress in the jboss-service of custom config to avoid 
>> port conflict.
>>
>> The custom config worked in 3.0.0.
>>
>>
>>
>>
>>
>>
> 
> 


-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to