|
Re: enhydra & cofax: msg#00083java.enhydra.general
Ben, I have never used Cofax so I could be way out in left field, but this looks to me like a parse error in /usr/local/enhydra5.0/webapps/content/WEB-INF/web.xml. You may want to try dumping in one of the sample servlet apps that comes with Tomcat and see if that deploys properly, and if it does try swapping the web.xml file from Cofax into the sample app and see if it parses then. Also, I have noticed that with Tomcat 3.3.1, the sax parser requires you to set the order of elements as: <webapp> <servlett>....</servlet> <servlett> ...<servlet> <servlett-mapping>....</servlet-mapping> <servlett-mapping> ...<servlet-mapping> </webapp> and will choke on: <webapp> <servlett>....</servlet> <servlett-mapping>....</servlet-mapping> <servlett> ...<servlet> <servlett-mapping> ...<servlet-mapping> </webapp> (which worked fine with 3.3a), but I can't remember the error message. Steve On Thu, 28 Nov 2002 22:30:29 -0800 "Ben Philyaw" <ben@xxxxxxxxxxx>-san wrote: > Terry, > > Here's the status on trying Cofax on Enhydra - tried to load the Cofax > servlets into Enhydra (used command line 'app wizard', used admin tool, > followed both cofax and enhydra instructions on how to deploy servlets > and java applications - drop jar file inside directory under /webapps, > reconfigured the Enhydra Multiserver config file, checked the Cofax > web.xml file, etc), checked that Java was well configured, etc. still no > dice. I also tried to build other applications from scratch with Enhydra > and they would work just fine. My guess is that Cofax is looking for a > parsing tool that is not included in Enhydra (see the error file) - so > the next step would be to install such a tool and see if it works. > > Here's a copy of the error file: > > 2002.11.28 14:09:58: Multiserver,INFO: Starting Enhydra Multiserver > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 9000 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 80 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 9005 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 9004 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 9003 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 9002 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 9001 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 8004 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 8003 > 2002.11.28 14:09:58: Multiserver,INFO: HTTP listening on port: 8002 > 2002.11.28 14:09:59: Multiserver,INFO: HTTP listening on port: 8001 > 2002.11.28 14:09:59: Multiserver,INFO: HTTP listening on port: 9050 > > 2002.11.28 14:10:01: Multiserver,INFO: Starting servlet/application > Cofax > 2002.11.28 14:10:01: Multiserver,INFO: Application Cofax has url prefix > "/content". 2002.11.28 14:10:01: Cofax,INFO: Configuring web service > using "default" 2002.11.28 14:10:01: Cofax,INFO: Configuring web service > using "file:/usr/local/enhydra5.0/webapps/content/WEB-INF/web.xml" > 2002.11.28 14:10:02: Cofax,ERROR: Parse failure: null 2002.11.28 > 14:10:02: Cofax,ERROR+ java.lang.NullPointerException > 2002.11.28 14:10:02: Cofax,ERROR+ at > java.util.Hashtable.put(Hashtable.java:375) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.apache.tomcat.core.Context.processServlets(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.apache.tomcat.core.Context.processWebApp(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.apache.tomcat.core.Context.processWebApp(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.apache.tomcat.core.Context.init(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.enhydra.servlet.servletManager.ServletManager.initContext(Unknown > Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.enhydra.servlet.servletManager.ServletManager.buildContext(Unknown > Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.enhydra.servlet.servletManager.ServletManager.start(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.enhydra.servlet.servletManager.ServletManager.startAllContexts(Unkno > wn > Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.enhydra.servlet.ServletContainer.readConfigFile(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > org.enhydra.servlet.ServletContainer.start(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > com.lutris.multiServer.MultiServer.start(Unknown Source) > 2002.11.28 14:10:02: Cofax,ERROR+ at > com.lutris.multiServer.MultiServer.main(Unknown Source) 2002.11.28 > 14:10:02: Cofax,INFO: default: init 2002.11.28 14:10:02: Cofax,INFO: > jsp: init > > Thanks for your reply - any thoughts on the matter? > > Ben > > -----Original Message----- > From: enhydra-admin@xxxxxxxxxxx [mailto:enhydra-admin@xxxxxxxxxxx] On > Behalf Of Terry Steichen > Sent: Thursday, November 28, 2002 5:38 PM > To: enhydra@xxxxxxxxxxx > Subject: Re: Enhydra: enhydra & cofax > > Ben, > > Some time ago I looked briefly at Cofax, but I'm not exactly clear what > you intend to do. When you say 'its native Tomcat', are you saying that > Cofax is currently implemented as servlets? If so, I gather what you're > trying to do is migrate these servlets into Enhydra Presentation > Objects? > > Regards, > > Terry > ----- Original Message ----- > From: Ben Philyaw <mailto:ben@xxxxxxxxxxx> > To: enhydra@xxxxxxxxxxx > Sent: Thursday, November 28, 2002 7:23 PM > Subject: Enhydra: enhydra & cofax > > Greetings all - we are in the middle of deploying a CMS system for our > client and one of the requirements is that it work with Enhydra - > instead of it's native Tomcat. The CMS system is Cofax - > http://www.cofax.org. Has anyone had any experience in deploying Cofax > to work with Enhydra? > > I look forward to your replies! > > TIA - and Happy Thanksgiving > > Ben Philyaw > Upslide, Inc > ben@xxxxxxxxxxx ---------------------------------------- Steve Brown Web Art Japan
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: enhydra with eclipse problem, Tobias Schmidt |
|---|---|
| Next by Date: | (no subject), Chris Braithwaite |
| Previous by Thread: | RE: enhydra & cofax, Ben Philyaw |
| Next by Thread: | Help..., Adnan Begovic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |