-
1. Re: EJB & Web client
vickyk Oct 31, 2002 5:09 AM (in response to radhika)Hi Radhika,
I deploy the same way but I never have prepared jboos-web.xml file.What I suggest you to check the changes in the application.xml file placed in the META-INF/
examples.jar
<web-uri>example.war</web-uri>
<context-root>/example</context-root>
Hope you get now the results.
regards
Vicky -
2. Re: EJB & Web client
radhika Oct 31, 2002 9:27 AM (in response to radhika)I have the same in application.xml. <context-root> is also there in application.xml as you have shown. but it still doesn't come.
and one more thing is the ejb I am able to access from simple java client.
I have got one morte doubt here. when I start jboss server from run.sh. it is starting perfectly. but after that do I need to start tomcat again. because incase if I don't start I am not able to access 8080. but when I start first the tomcat it works. but then the jboss says 8080 is in use. does this sinario effest any thing in my previous problem.
to userstand the same I have tried to deply a simple war file that also doesn't work. the same old problem.
I am in confusion. In case that made me to think illogical please explain me.
Please help me.
Thank you for your support
Radhika -
3. Re: EJB & Web client
dunuage Oct 31, 2002 1:47 PM (in response to radhika)well, radhika, if u r using the jboss3 package shipped together with tomcat (namely, something like "jboss-3.x.x_tomcat-n.n.n"), just start up the server with the "run" shell file. tomcat service will be started up within jboss. and if it's jboss2 ("jboss-2.x.x_tomcat-n.n.n"), u should use "run_with_catalina" instead.
in both cases, better not start up tomcat outside jboss.
and u can try "http://localhost:8080/jmx-console" to check whether jboss is up with jboss3. for jboss2, it can be the demo deployment "http://localhost:8080/jboss".
or u can even check ur port 8080 with telnet to see whether the web container is up.
then, if everything is okay, check the application.xml for the "<context-root>" section. that specifies the "virtual directory" of your application. e.g. if it's "<context-root>abc</context-root>", then it's very likely to find ur page at "http://localhost:8080/abc/index.jsp".
wish u good luck. -
4. Re: EJB & Web client
radhika Nov 1, 2002 6:03 AM (in response to radhika)Thank you for your support.
My sample applicaiton is running. I had two problwms one is as you rightly said that my tomcat is getting started as soon as I start jboss.
another problem was for web.xml and jboss-web.xml files the name space specification for dtd was wrong. those files actually I have taken from 9iAS. which uses anotehr namespace. This I could realise now.
Thanks once again.
Radhika