Re: FW: Barracuda: How to get started?

damar thapa <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Thanks, Jake.

Now, I just found my own silly mistake.  I installed enhydra5.0, but 
forgot to run ./configure command at the enhydra root directory, 
amazingly it worked for other examples, but not barracuda ones.

Now, barracuda is also working.

Damar

Jacob Kjome wrote:

>
> I'm really not sure what to tell you in the scope of Enhydra 5.  Can 
> you try grabbig the latest CVS and try building it on your system 
> outside the context of Enhydra.  You should be able to deploy the app 
> in Enhydra as a webapp.  See if this works.  If not, then there is 
> some configuration you need to do to Enhydra 5.
>
> BTW, does appwizard generate an ant build script?  If so, it probably 
> isn't adding the appropriate jars to the classpath of the build which 
> is why you are getting errors when running <javac>.  You'll probably 
> have to modify the generated ant build file to get things to work.
>
> Jake
>
> At 03:38 PM 3/7/2003 +0800, you wrote:
>
>> Hi Jacob,
>>
>> Yes, I can choose to create standard webapp, and am doing that.
>>
>> I have not clue, what is going on.
>>
>> Thanks.
>>
>> Damar
>>
>> On Thu, 6 Mar 2003, Jacob Kjome wrote:
>>
>> >
>> > Is it possible for you to create a standard webapp instead of the 
>> Enhydra
>> > superservlet?  It should work as a standard servlet application with a
>> > webapp structure....ie....
>> >
>> > myapp/
>> >      staticfile.html
>> >      WEB-INF/
>> >          web.xml
>> >          lib/
>> >          classes/
>> >
>> > I think the appwizard gives you the option of doing superservlet or 
>> webapp,
>> > right?  It has been a long time since I looked at Enhydra so that 
>> is about
>> > all the help I can give you.  Have you checked on the Enhydra 
>> list?   I
>> > know there are some people here who use Enhydra with Barracuda, so
>> > hopefully someone more in-the-know speaks up.
>> >
>> > Alternatively, if you try recent versions of Tomcat, you should have
>> > Barracuda up and running pretty quickly.
>> >
>> > later,
>> >
>> > Jake
>> >
>> >
>> > At 12:19 PM 3/7/2003 +0800, you wrote:
>> > >Hi,
>> > >
>> > >I also tried cvs version of barracuda, but still the same result.
>> > >
>> > >Can you please give me further tips.
>> > >
>> > >Damar
>> > >
>> > >
>> > >
>> > >On Fri, 7 Mar 2003 [email protected] wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > I am using barracuda1.1.1, but not yet tried cvs version.
>> > > >
>> > > > appwizard: I am referring to appwizard of enhydra5.0.
>> > > >
>> > > > What exactly is appserver?  I am basically trying barracuda 
>> after trying
>> > > > the tutorial of enhydra5.0.
>> > > >
>> > > > In the example directory of enhydra5.0, they have shown the 
>> procedure,
>> > > > that as well results the same thing.
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Damar
>> > > >
>> > > >
>> > > > On Thu, 6 Mar 2003, Christian Cryder wrote:
>> > > >
>> > > > > Hi Damar,
>> > > > >
>> > > > > > To try HelloWorld1 example, I did the followings:
>> > > > > >
>> > > > > > 1.        Created a web application, using appwizard.
>> > > > > > 2.        Copied HelloWorld1.html to 
>> ../src/firstbarracuda/resources
>> > > > > > 3.        Copied HelloWorld1.java to 
>> ../src/firstbarracuda/presentation
>> > > > > > 4.        barracuda.jar, and barracuda-core.jar are 
>> exported to
>> > > CLASSPATH
>> > > > >
>> > > > > I have a couple of questions about your questions, that might 
>> help us
>> > > give
>> > > > > you some answers...
>> > > > >
>> > > > > a) what version of Barracuda are you using? what appserver?
>> > > > > b) what's the appwizard?
>> > > > >
>> > > > > The problem you are running into is clearly a classpath 
>> issue. Have you
>> > > > > tried downloading the latest version of Barracuda (ideally 
>> from cvs) and
>> > > > > getting that working first?
>> > > > >
>> > > > > Christian
>> > > > >
>> > > > > ----------------------------------------------
>> > > > > Christian Cryder [[email protected]]
>> > > > > Internet Architect, ATMReports.com
>> > > > > Barracuda - http://barracudamvc.org <http://barracudamvc.org/>
>> > > > > ----------------------------------------------
>> > > > > "Coffee? I could quit anytime, just not today"
>> > > > >
>> > > > > > -----Original Message-----
>> > > > > > From: [email protected]
>> > > > > > [mailto:[email protected]]On Behalf Of 
>> Christian Cryder
>> > > > > > Sent: Wednesday, March 05, 2003 11:24 PM
>> > > > > > To: BarracudaMVC
>> > > > > > Subject: [Barracuda] FW: Barracuda: How to get started?
>> > > > > >
>> > > > > >
>> > > > > > -----Original Message-----
>> > > > > > From: [email protected]
>> > > [mailto:[email protected]]On
>> > > > > > Behalf Of [email protected]
>> > > > > > Sent: Wednesday, March 05, 2003 10:32 PM
>> > > > > > To: [email protected]
>> > > > > > Subject: Barracuda: How to get started?
>> > > > > >
>> > > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > > I am new to enhydra and very new to barracuda.
>> > > > > >
>> > > > > > To try HelloWorld1 example, I did the followings:
>> > > > > >
>> > > > > > 1.        Created a web application, using appwizard.
>> > > > > > 2.        Copied HelloWorld1.html to 
>> ../src/firstbarracuda/resources
>> > > > > > 3.        Copied HelloWorld1.java to 
>> ../src/firstbarracuda/presentation
>> > > > > > 4.        barracuda.jar, and barracuda-core.jar are 
>> exported to
>> > > CLASSPATH
>> > > > > >
>> > > > > > When I ran ant, I got the following error messages:
>> > > > > >
>> > > > > > 
>> home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentatio
>> > > > > > n/HelloWor
>> > > > > > ld1.java:10:
>> > > > > > package org.enhydra.barracuda.core.comp does not exist
>> > > > > >     [javac] import org.enhydra.barracuda.core.comp.*;
>> > > > > >     [javac] ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:11:
>> > > > > > package org.enhydra.barracuda.core.comp.helper does not exist
>> > > > > >     [javac] import org.enhydra.barracuda.core.comp.helper.*;
>> > > > > >     [javac] ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:12:
>> > > > > > package org.enhydra.barracuda.tutorials.xmlc does not exist
>> > > > > >     [javac] import org.enhydra.barracuda.tutorials.xmlc.*;
>> > > > > >     [javac] ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:18:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class ComponentGateway
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac] public class HelloWorld1 extends ComponentGateway {
>> > > > > >     [javac]                                  ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:27:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class BComponent
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]     public Document handleDefault (BComponent root,
>> > > > > > ViewContext vc,
>> > > > > > HttpServletRequest req, HttpServletResponse resp) {
>> > > > > >     [javac]                                    ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:27:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class ViewContext
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]     public Document handleDefault (BComponent root,
>> > > > > > ViewContext vc,
>> > > > > > HttpServletRequest req, HttpServletResponse resp) {
>> > > > > >     
>> [javac]                                                     ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:50:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class AbstractTemplateModel
>> > > > > >     [javac] location: class HelloWorld1.HelloWorldModel
>> > > > > >     [javac]     class HelloWorldModel extends 
>> AbstractTemplateModel {
>> > > > > >     [javac]                                   ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:29:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : method getClass ()
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]         if (xmlcFactory==null) xmlcFactory = new
>> > > > > > XMLCStdFactory(this.getClass().getClassLoader(), new
>> > > StreamXMLCLogger());
>> > > > > >     [javac]
>> > > > > > ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:30:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class HelloWorld1HTML
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]         XMLObject page =
>> > > > > > xmlcFactory.create(HelloWorld1HTML.class);
>> > > > > >     [javac]                                             ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:34:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class TemplateView
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]         TemplateView tv = new 
>> DefaultTemplateView(node);
>> > > > > >     [javac]         ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:34:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class DefaultTemplateView
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]         TemplateView tv = new 
>> DefaultTemplateView(node);
>> > > > > >     [javac]                               ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:35:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class TemplateModel
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]         TemplateModel tm = new HelloWorldModel();
>> > > > > >     [javac]         ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:36:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class BTemplate
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]         BTemplate templateComp = new BTemplate(tm);
>> > > > > >     [javac]         ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:36:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class BTemplate
>> > > > > >     [javac] location: class HelloWorld1
>> > > > > >     [javac]         BTemplate templateComp = new BTemplate(tm);
>> > > > > >     [javac]                                      ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:58:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : class ViewContext
>> > > > > >     [javac] location: class HelloWorld1.HelloWorldModel
>> > > > > >     [javac]             ViewContext vc = getViewContext();
>> > > > > >     [javac]             ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:58:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : method getViewContext ()
>> > > > > >     [javac] location: class HelloWorld1.HelloWorldModel
>> > > > > >     [javac]             ViewContext vc = getViewContext();
>> > > > > >     [javac]                              ^
>> > > > > >     [javac]
>> > > > > > 
>> /home/damar/barracuda/firstBarracuda/src/firstbarracuda/presentati
>> > > > > > on/HelloWo
>> > > > > > rld1.java:62:
>> > > > > > cannot resolve symbol
>> > > > > >     [javac] symbol  : variable super
>> > > > > >     [javac] location: class HelloWorld1.HelloWorldModel
>> > > > > >     [javac]             else return super.getItem(key);
>> > > > > >     [javac]                         ^
>> > > > > >     [javac] 17 errors
>> > > > > >
>> > > > > > What I have missed here? Am I following the right 
>> procedure? Any
>> > > pointers
>> > > > > > would be highly appreciated.
>> > > > > >
>> > > > > > My apology, if this has been asked in the past.
>> > > > > >
>> > > > > > Damar
>> > > > > >
>> > > > > >
>> > > > > > _______________________________________________
>> > > > > > Barracuda mailing list
>> > > > > > [email protected]
>> > > > > > http://www.enhydra.org/mailman/listinfo.cgi/barracuda
>> > > > > > FAQ - http://www.jguru.com/faq/Barracuda
>> > > > > >
>> > > > > > _______________________________________________
>> > > > > > Barracuda mailing list
>> > > > > > [email protected]
>> > > > > > http://barracudamvc.org/lists/listinfo/barracuda
>> > > > >
>> > > > > _______________________________________________
>> > > > > Barracuda mailing list
>> > > > > [email protected]
>> > > > > http://barracudamvc.org/lists/listinfo/barracuda
>> > > > >
>> > > > >
>> > > >
>> > > > _______________________________________________
>> > > > Barracuda mailing list
>> > > > [email protected]
>> > > > http://barracudamvc.org/lists/listinfo/barracuda
>> > > >
>> > > >
>> > >
>> > >_______________________________________________
>> > >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.