-
1. Re: error using tomcat2.4.4 with Tomcat4.01
adrian.brock Mar 25, 2002 11:30 AM (in response to lees)You've got the name wrong.
e.g. for myapp.war
the url is
http://localhost:8080/myapp
or for an ear you can specify the context in
application.xml as
<web-uri>somename.war</web-uri>
<context-root>/myapp</context-root>
Regards,
Adrian -
2. Re: error using tomcat2.4.4 with Tomcat4.01
lees Mar 28, 2002 9:38 AM (in response to lees)> You've got the name wrong.
>
> e.g. for myapp.war
> the url is
> http://localhost:8080/myapp
>
> or for an ear you can specify the context in
> application.xml as
>
>
> <web-uri>somename.war</web-uri>
> <context-root>/myapp</context-root>
>
>
>
> Regards,
> Adrian
Adrian
I am not using an application.xml or a .war file.
I use a .jar file with META-INF/jboss.xml + ejb-jar.xml
and place that in the deploy directory. This is how it has worked on previous versions.
Cheers
Lee -
3. Re: error using tomcat2.4.4 with Tomcat4.01
adrian.brock Mar 28, 2002 9:43 AM (in response to lees)How do you expect Tomcat to work if you have no war?
Regards,
Adrian -
4. Re: error using tomcat2.4.4 with Tomcat4.01
lees Mar 28, 2002 10:14 AM (in response to lees)Adrian
My directory structure for tomcat is as follows
catalina/webapps/webapp/WEB-INF/web.xml
catalina/webapps/webapp/WEB-INF/classes/*.class
my web.xml:
<web-app>
<servlet-name>
SC
</servlet-name>
<servlet-class>
ServletController
</servlet-class>
<servlet-mapping>
<servlet-name>
SC
</servlet-name>
<url-pattern>
/SC/*
</url-pattern>
</servlet-mapping>
</web-app>
Cheers
Lee -
5. Re: error using tomcat2.4.4 with Tomcat4.01
lees Mar 28, 2002 10:40 AM (in response to lees)Adrian
Just another note, I copied all the directory structures from my previous install of jboss/tomcat where everything was working fine.
Lee -
6. Re: error using tomcat2.4.4 with Tomcat4.01
adrian.brock Mar 28, 2002 3:07 PM (in response to lees)Are you running tomcat standalone or embedded in jboss?
If you are using run_with_catalina have a look at
ERROR 500 mapping configuration in the FAQ forum
for an explanation of deployment with an
embedded web server.
Regards,
Adrian