RE: Running Barracuda Config

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
At 09:08 AM 5/19/2003 -0300, you wrote:

>Jake,
>
>
>
>Ive moved to the latest CVS of Barracuda and Im still having the same 
>problems. I summarize the new findings:
>
>1)       HelloWorldxx examples of the tutorial only works when I start 
>Enhydra Multiserver while connected to the Internet. If Im not connected, 
>I get a 404 file not found response I traced the request with the Enhydra 
>debugger and the problem is in the App Server. It doesnt seem to be a DTD 
>request from the browser.

This one is weird.  I'm not sure I can help you there???

>2)       If Im connected, the tutorial examples run OK but HelloWorld1a 
>gets a java.util.MissingResourceException, HelloWorld2b doesnt understand 
>the page attribute and HelloWorld4 gets a java.lang.NullPointerException 
>at 
>org.enhydra.barracuda.tutorials.comp.HelloWorld4.handleDefault(HelloWorld4.java:38). 
>Also, Barracuda Config is still not working.

I'll have to look at the code to see what might be happening....

>3)       Enhydra 5.1.7 Servlet-Engineresponse header says Enhydra 
>Application Server/5.1 (JSP 1.1; Servlet 2.2; Java 1.4.1_01; Windows 2000 
>5.0 x86; java.vendor=Sun Microsystems Inc.). Because of this, I think that 
>Enhydra is still using Tomcat 3.0. Maybe the article you mentioned refers 
>to an included patch for Tomcat 4 (to run your Enhydra application under 
>Tomcat 4). I will send this question to the Enhydra mailing list.
>

Ug!!!.  That's the first thing they should have changed.  tomcat-3.0 is 
seriously buggy and should never, ever be used by anyone.

>
>
>I will try to run Enhydra with Tomacat 4.1.24 and see what happens. I will 
>let you know what I find. Any suggestion will be welcomed.
>
>

see my comments to your second message.


>Thanks,
>
>Dario
>
>
>
>
>
>
>
>-----Original Message-----
>From: [email protected] 
>[mailto:[email protected]]On Behalf Of Jacob Kjome
>Sent: Domingo, 18 de Mayo de 2003 02:54 a.m.
>To: [email protected]
>Cc: Jacob Kjome
>Subject: RE: [Barracuda] Running Barracuda Config
>
>
>
>
>Hi Dario,
>
>Hmm.... tomcat-3.0, heh?  That's really old.  Actually, there is a 
>ServerSide article about Enhydra5 and they mention using Tomcat4.  See here...
>http://www.theserverside.com/home/thread.jsp?thread_id=15313
>
>Actually, now that I think about it, Tomcat-3 never really enforced the 
>doctype as the newer Tomcat versions do so you can probably leave the 2.3 
>doctype.  Otherwise, the 2.2 doctype is....
>
><!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
>
>
>I *highly* recommend moving to the latest CVS of Barracuda (destined to be 
>1.2.0).  It contains numerous bugfixes and is quite re-organized since the 
>1.1.1 release.  Lots of new functionality as well.
>
>Try leaving the <listener> elements in there and see if it breaks under 
>Enhydra or not.  If it doesn't, Enhydra probably is using Tomcat 
>4.x.xx.  And yes, definitely use the "war" target to generate a .war file 
>which will be generated under Barracuda/WEB-INF/tmp$.  Try dropping that 
>into Enhydra and see what happens.  Report back with your findings.
>
>Make sure to read the build_deploy.html doc.  Note especially where it 
>talks about setting up your ant build.  Make sure to use 
>Ant-1.5.1+.  Ideally, use Ant-1.5.3-1 (the latest).
>
>Oh, and note that you'll have to put the 
>Barracuda/WEB-INF/jars/xerces-1.4.4-xmlc-2.2.jar in the Enhydra5 
>classpath.  That is the only required jar that isn't added to WEB-INF/lib 
>for reasons explained in "deploy" section of the build_deploy.html 
>document.  I don't know what is involved with putting jars in the server 
>classpath where apps can see them for Enhydra-5?  In Tomcat-4.1.xx, the 
>recommended location is CATALINA_HOME/shared/lib (for your reference).
>
>Definitely report back on your findings.
>
>later,
>
>Jake
>
>
>At 08:18 PM 5/17/2003 -0300, Darío E. Salischiker wrote:
>
>
>Im using Barracuda 1.1.1 and Enhydra 5.1.7 seems to be using Tomcat 3.0 
>(that is the text inside the core.properties file that cames in tomcat.jar 
>of Enhydra 5.1.7). Also, I only have 4 jars in WEB-INF/lib (3 for 
>barracuda and 1 for log4j) plus 5 jars in WEB-INF/lib-ext. I dont have any 
><listener> element in web.xml but it is based on 2.3 DTD.
>
>What do I need to uncomment for converting to 2.2? If you want, you can 
>answer me to the mailing list. Ive just subscribed to it.
>
>
>
>I will try to extract the latest version from the CVS because mine doesnt 
>even have the waroption for ant and I will let you know if I find something.
>
>
>
>Thanks,
>
>Dario
>
>
>
>-----Original Message-----
>From: Jacob Kjome [mailto:[email protected]]
>Sent: Sábado, 17 de Mayo de 2003 08:03 p.m.
>To: [email protected]
>Cc: Darío E. Salischiker
>Subject: Re: [Barracuda] Running Barracuda Config
>
>
>
>
>Hi Dario,
>
>What version of Barracuda are you using?  I've never actually tested 
>Barracuda on Enhydra5.  Barracuda-1.1.1 did ship with Enhydra 5, but I 
>didn't test it and I don't know if the Enhydra developers did either?  If 
>you haven't done so, I'd try with the latest CVS.  It should be released 
>as version 1.2.0 early next week so it is mostly in its final state.  It 
>would be good to verify that it runs under the latest Enhydra5.  It would 
>be great if you could help out in verifying that.
>
>I'm a bit in the dark about what Enhydra5 (or 5.1beta7) consists of.  What 
>version of Tomcat does Enhydra5 use?  If it uses anything previous to 
>Tomcat4 internally, then Enhydra5 probably doesn't support 
>servlet-2.3.  If that is the case, double check your web.xml to make sure 
>that any <listener> elements are commented out.  Also, you might need to 
>modify the DTD to be for servlet-2.2 rather than servlet-2.3....and you'll 
>need to uncomment the
>
>Also, can you verify that both barracuda-admin.jar and 
>barracuda-config.jar exist in WEB-INF/lib.  Actually, if you are using the 
>latest Barracuda CVS, you should have 17 jars (or 18 if you built the 
>optional contrib jar) in WEB-INF/lib after the build is finished.  You 
>might just want to run "ant war" to create the .war file.  This will get 
>everything in there.  Then you can deploy that .war to enhydra5.
>
>
>Let me know what you find.
>
>Oh, here's the appropriate links that you will need to read about getting 
>the latest CVS...and you probably also should subscribe to the 
>BarracudaMVC mailing list so that you can follow this thread.
>
>http://www.barracudamvc.org/Barracuda/docs/cvs.html
>http://barracudamvc.org/lists/listinfo/barracuda
>
>Also, here's a doc showing how to build and deploy Barracuda.  The focus 
>is on using Tomcat-4.1.xx for deployment...
>http://www.barracudamvc.org/Barracuda/docs/build_deploy.html
>
>
>Jake
>
>
>At 06:41 PM 5/17/2003 -0300, Darío E. Salischiker wrote:
>
>Hi,
>
>I'm trying to run Barracuda Config under Enhydra 5.1.7 and I'm getting the
>following error page:
>--------------------------
>Beep-beep-beep! We're sorry your call did not go through. Will you please
>hang up and try your call again...
>
>If you received this message, it indicates that either GetBConfig is not a
>valid event OR the system is misconfigured. If you feel there is a problem
>with the system please contact the application administrator...
>
>The base event that triggered this action
>was:org.enhydra.barracuda.core.event.HttpRequestEvent@d507e9
>Source:org.enhydra.barracuda.examples.SampleApplicationGateway@55bb93
>-------------------------
>In main.log I have:
>7741 [Wrapper-Connection] WARN
>org.enhydra.barracuda.core.event.DefaultApplicationAssembler  - Error
>instantiating event gateway:
>java.lang.ClassNotFoundException: org.enhydra.barracuda.admin.BarracudaAdmin
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
>...
>...
>...
>606937 [Thread-86] ERROR
>rg.enhydra.barracuda.core.event.ApplicationGateway  - Class GetBConfig not
>found...Creating a generic HttpRequestEvent
>
>
>I've installed Barracuda as a WAR with the Is invoker Enabled option
>enabled. Also I've compiled Barracuda with "ant clean jars". Barracuda local
>site is running but I can't get Barracuda Config running.
>Any help will be appreciated.
>
>TIA,
>Dario
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.