-
1. Re: JBoss-2.4.4/Catalina MAPPING configuration error
klusi Jan 2, 2002 5:41 AM (in response to tjcafe)I have similar problems. It seems that the Embedded Catalina version does not read the server.xml file, where I configured some additional contexts. If I call a context defined in the server.xml file I get the error message you posted.
Any ideas? -
2. Re: JBoss-2.4.4/Catalina MAPPING configuration error
objectman Jan 2, 2002 6:58 PM (in response to tjcafe)I have also experienced the same exception
as you have described. The embedded version
definitely does not read the config files
in $CATALINA_HOME/conf.
Please somebody !!
Help !!! -
3. Re: JBoss-2.4.4/Catalina MAPPING configuration error
nphelps Jan 2, 2002 10:55 PM (in response to tjcafe)I've been playing around with this for a few hours and it appears that JBoss doesn't touch the server.xml file. Instead, you must add all this configuration to jboss.jcml like so...
80
true -
4. Re: JBoss-2.4.4/Catalina MAPPING configuration error
tjcafe Jan 3, 2002 12:10 AM (in response to tjcafe)I finally got it all to work - both jsp's and servlets. If you drop a properly configured myapp.war file into the JBoss deploy directory, you can invoke a jsp or servlet. Make sure there is a properly configured web.xml (web-inf/web.xml) file in the war file. Also remember to add "servlet" to the URL when invoking the servlet: http://localhost:8080/myapp/servlet/mypackage.Hello
JSP:
http://localhost:8080/myapp/hello.jsp
I did not have to make any changes to jboss.jcml file. I did use Ant for compiling and jar-ing the app but is not required.
Thanks to all who responded. -
5. Re: JBoss-2.4.4/Catalina MAPPING configuration error
tjcafe Jan 3, 2002 1:38 AM (in response to tjcafe)Oops! You do need to edit the jboss.jcm file as nphelps suggested.
-
6. Re: JBoss-2.4.4/Catalina MAPPING configuration error
nphelps Jan 3, 2002 2:49 AM (in response to tjcafe)You only have to edit the jboss.jcml file when you want to change the default options (I.E. you want it to run under a port other than 8080 or you want to enable SSL.
-
7. Re: JBoss-2.4.4/Catalina MAPPING configuration error
faisalab Jan 3, 2002 2:43 PM (in response to tjcafe)I did put an ear file in Jboss's deploy and it works.The Problem is that often Catalina does'nt even recognize the web-app war . I have few application that can run on the previous Jboss with Tomcat servlet engine but when I try to run them on Jboss2.4.4 Catalina start throwing silly exceptions
Is there any explanation to this !
Faisal -
8. Re: JBoss-2.4.4/Catalina MAPPING configuration error
bklinghagen Jan 4, 2002 9:16 PM (in response to tjcafe)I've tried this configuration within my jboss.jcml file and the port value doesn't work. When I specify another port (8000) or use the default (8080) everything seems to work okay. When I specify port 80 there are a bunch of error messages basically saying that IP address is already in use. Is there something else I need to specify to get it to port 80? Or should I just leave it at the default port?
My JBOSS server will be behind a front end Apache+Tomcat server so the default port won't be a problem. I'd just like to get this working so that I understand better how to configure the servers.
Thanks for any assistance. -
9. Re: JBoss-2.4.4/Catalina MAPPING configuration error
tclouser Jan 4, 2002 9:57 PM (in response to tjcafe)Do you have another httpd using port 80 (i.e. apache, iis, etc)? If so, and if it is already up and running, port 80 will not be available for use by another service.
HTH. -
10. Re: JBoss-2.4.4/Catalina MAPPING configuration error
jimmya Jan 7, 2002 9:30 PM (in response to tjcafe)NPHELPS implied that she/he was able to get catalina to read server.xml by adding the mbean to jboss.jcml. Is this true?
The problem of embedded catalina NOT reading server.xml has been around for a while. Is there a fix to this? Have the JBoss developers responded to this issue? Is there a plan to fix this problem? -
11. Re: JBoss-2.4.4/Catalina MAPPING configuration error
ogge Mar 11, 2002 3:19 AM (in response to tjcafe)Had the same problem
"MAPPING configuration error for request URI")
and solved it by adding the folwing row in application.xml in myapp.ear:
<display-name>MYAPP</display-name>
My application
myejb.jar
<web-uri>mywar.war</web-uri>
<context-root>/myapp</context-root> -
12. Re: JBoss-2.4.4/Catalina MAPPING configuration error
linjie Mar 11, 2002 3:56 AM (in response to tjcafe)You can see the thread which named "JBoss/Tomcat HTTP 500 " on this forum .
-
13. Re: JBoss-2.4.4/Catalina MAPPING configuration error
oytan022 Apr 22, 2002 4:38 AM (in response to tjcafe)I had same problem. But I got it resolved. When I run my home page index.htmlt, the server had the error msg. Late I found a image source url wrong.
Please check if your all url is correct!!!
Cheers -
14. Re: JBoss-2.4.4/Catalina MAPPING configuration error
alepape Apr 25, 2002 12:29 PM (in response to tjcafe)As the server.xml is not read, how new 'static' context could be added ?
What I want to do is to set up a context not created by jboss during deployment, but mapped to the filesystem to serve a bunch of files.
Anyone know how this could be done ?