Hi,

If you specify the same port whenever you start the naming service 
(by passing '-p port' to ns, at the command line) then the NS_Ref 
files generated by every ns run will be all identical. So you can
safely have in your war file a NS_Ref file generated by a previous 
ns run.

This solution assumes that the naming service will always listen at 
the same port of the same host machine (IP address).

Cheers,

Francisco

On Fri, 14 Jun 2002, Duarte Nuno Loreto wrote:

>       Hello!
> 
> We started developing an application in JBoss2.4.4 w/ Tomcat 3.2.3. We have
> a file (NS_Ref from the JacORB implementation) that we used to put on the
> JBoss-2.4.4_Tomcat-3.2.3/tomcat/webapps/ROOT so that it would be available
> to remote clients.
> 
> When we moved to 2.4.6 w/ 4.0.3, we stepped on the problem that contexts
> defined on the catalina/webapps/ aren't exposed.
> 
> As the NS_Ref is a file generated by JacORB everytime the Naming Service is
> launched, we can't bundle it on a .war file to be deployed on a context.
> 
> We tryed adding a symbolic link to the war file pointing to the NS_Ref file
> on the filesystem, but when we to the jar uf file.war NS_Ref, the file the
> link points to is added instead of the link itself.
> 
> We are running out of ideas and not exposing this file would really be a
> draw back on our work. Going back to 2.4.4 with 3.2.3 is not an option as
> 3.2.3 does not perform well under load and 4.0.3 does (this was verified on
> a previous work we did with a stand-alone Tomcat implementation).
> 
> Can anyone shed some new light for us? How can we expose the file?
> 
> Thank you in advance!
> 
> Duarte Loreto
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - 
>http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to