-
1. Re: Deploying a simple ear file
adrian.brock May 5, 2002 11:24 AM (in response to jordan)I just tried it.
It is looking for a class called
com.borland.jbuilder.webserverglue.shtml.ShtmlLoaderEcho
that is not in the ear.
Regards,
Adrian -
2. Re: Deploying a simple ear file
jordan May 6, 2002 7:56 AM (in response to jordan)Thanks Adrian,
I am new so this may seem nieve. I have removed the line specifiying that class from the web.xml file. From further reading, it seems that this is a bug in Jbuilder 5. No problem, easy enough to remove.
Now, I have rebuilt the .EAR without a problem and dropped it into the deploy directory. -
3. Re: Deploying a simple ear file
jordan May 6, 2002 8:02 AM (in response to jordan)Sorry , pressed the wrong button....
Anyway, as I was saying, I have built the EAR and deployed again and there appears to now be an error with deployment. Something about a child name not being unique.
OK, so I changed the names of the values of the children in web.xml. Still no luck and the same error.
Any ideas? I've included the new ear file. I would really appreciate any help that anyone may have.
thanks
Jordan -
4. Re: Deploying a simple ear file
adrian.brock May 6, 2002 9:14 AM (in response to jordan)I would think the correct solution is to add the
class to WEB-INF/classes or its jar to WEB-INF/lib
Regards,
Adrian -
5. Re: Deploying a simple ear file
jordan May 8, 2002 3:32 AM (in response to jordan)OK, it seems that I have found the answer for now. What I did was use Sun's J2EE deploy tool instead of Jbuilder's. This generated a new web.xml file inside the WAR and presto, it worked. For some reason, it appears as if JBuilder's generated web.xml is not perfect for JBoss. Have you had any similar results? (providing you use JBuilder that is...)