[JBoss-user] Web Application?

2001-06-14 Thread Optima



Greetings all,
 
Everytime I start the JBoss 2.2.2 + Tomcat 3.2.2, 
it requires to connect to check the "web.xml" in "tomcat_test.war" in 
"tomcat_test.ear".  Pls advise how could I prevent it?
 
I think that it's the line in web.xml asking for 
connection:
 
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
 
And could I save the DTD file for offline use and 
how can I do this?
 
Thanks
 
BRdgs/Zeon
 


[JBoss-user] Problems in working with another EJB jar file

2001-06-09 Thread Optima



Greetings all,
I tried to play with the 
TravelAgent example in Monson-Haefel¡¦s EJB book on JBoss 2.2.1 and Win2K.  It¡¦s a session bean calling another 
entity bean named Cabin, but not in the same .jar file.
I read the JBoss doc 
about this example by Sebastien Alborini, but got the error 
about unable to get the home interface of Cabin.  I¡¦m sure that the Cabin is working 
probably.

Here 
is the ejb-ref section in ejb-jar.xml for 
TravelAgent:


  ejb/CabinHome
  Entity
  com.titan.cabin.CabinHome
  com.titan.cabin.Cabin

Here is the jboss.xml for 
TravelAgent:


  

    

  
TravelAgentBean
  

    
ejb/CabinHome
    
CabinBean
  

    

  


Could anyone kindly advise 
what¡¦s wrong OR post the working code/configuration?
Thanks
 
Best Regards,
Zeon