Re: Struts & Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi

Ted,

Thank you for all the details on the Hop project. Do you know where I could
take a look at Struts implementation of a sophisticated shopping card ( if any
is available to your knowledge )?

thanks,
Nicky

Ted Husted wrote:

> Nicky Eshkenazi wrote:
> >
> > Ted,
> >
> > What is the architecture behind the auction site? Is Struts a part of it?
> >
> > ~Nicky
>
> The HOP site, and a larger auction site that ran before it, are powered
> by Struts, MySQL, Resin, over Red Hat Linux on a single processor (p2
> 350), 128kb machine (did actually spring for a SCSI drive, though). In
> the first auction, we took about 50,000 bids on 5,000 items, and
> performance was never a problem, even when we had dozens of items
> closing at once, with the out-bid emails flying ;-). My stress tests
> handled hundreds of simulated users without issue, and I'm sure with
> more resources, I could have pushed it much farther.
>
> I'm actively refactoring most of the code behind the "Gavel" into
> packages for general use, and will eventually release the entire
> codebase as open source. It's just that I was under some time
> constraints then, and, well, the code still contains some embarrassing
> "shortcuts" (OK, outright hacks), and I don't want those nasties to be
> confused with the good code ;-)
>
> I do have some irons in the fire now that may help bring this along soon
> ...
>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Custom Software ~ Technical Services.
> -- Tel 716 737-3463.
> -- http://www.husted.com/about/struts/
>
> >
> > Ted Husted wrote:
> > > Actually, I work on things like this:
> > >
> > > < http://data.wxxi.org/hop >
> > >
> > > ;-)
> > >
> > > -Ted.




Re: Struts & Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi

Ted,

What is the architecture behind the auction site? Is Struts a part of it?

~Nicky

Ted Husted wrote:

> Actually, I work on things like this:
>
> < http://data.wxxi.org/hop >
>
> ;-)
>
> -Ted.
>
> Thomas Quas wrote:
> > I guess you're working on the struts framework itself. In this case I
> > totally agree with you.




Re: Struts & Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi

Ajay,

I have tried to use Struts with Tomcat 4.0 beta 6 and still have some
configuration problems. I guess the stuff needs to be configured differently
under Catalina. If you have success with it please let me know.

thanks,
Nicky

Ajay Chitre wrote:

> Hello,
>
> I have been "playing" with struts for the past couple of months and I have
> had fun playing with it.  Time has come now to stop playing and get serious.
>
> I have been asked to develop a web app with Struts & Tomcat.  I have been
> using Weblogic for the past couple of years, but this is my first experience
> with Tomcat, so I need some help to take some decisions.  (I realize that
> this email should really be sent to the Tomcat mailing list, but I believe
> there's enough expertise in this mailing list to get these questions
> answered!)
>
> After reading thru the Struts mailing list I have concluded the following.
> Can someone please tell me if I am on the right track?
>
> 1)  From one of Craig's emails it sounds like I should be using Tomcat 4.0,
> not 3.2.  Is that right?  But Tomcat 4.0 is a beta release.  Is it reliable?
>
> 2)  Doesn't look like Tomcat 4.0 supports EJB.  Does it?
>
> 3)  If EJB is not available I can use JDBC - no problem - but doesn't look
> like I can create database connection pool in Tomcat.
>
> 4)  From one of Ted's emails I think I should use Poolman to create database
> connection pool in Tomcat 4.0.  Right?
>
> 5)  What's equivalent of Weblogic Time APIs?  Tomcat workers, right?
>
> 6)  Can I set up Tomcat to send emails using Java Mail APIs?  In Weblogic
> one has to make sure that mail.jar & activation.jar is in Weblogic
> Classpath.  Is there any special requirement such as this in Tomcat?
>
> 7)  Does Tomcat support JMS?
>
> 8)  Which one is better - Log4J or LogKit (which is part of Avalon project
> from Jakarta)?
>
> 9)  What's the difference between 'Struts' & 'Turbine' (which is another
> Jakarta project)?  Pros & Cons?
>
> I apologize for the length of this email.  Thanks in advance for your time.
>
> - Ajay




Simple Login app on Husted.com + Tomcat 4.0 beta 6

2001-08-03 Thread Nicky Eshkenazi

Another clarification on this one...
I have noticed that the web.xml file that comes with the struts-logon.war includes a 
reference for
the \WEB-INF\app.tld, however the app.tld file wasn't a part of the extract...Can 
anybody shed some
light on this one? Any input will be appreciated?
I really would like to make this example work..

thanks,
Nicky


Nicky Eshkenazi wrote:

> I have attemped to take a look at the simple Login application available for
> downlaod on husted.com. I am using Tomcat 4.0 beta 6. The was file was
> sucessfully unzipped and the index.jsp worked fine, however the logon.jsp was
> referenced I got the following dump, any help would be appreciated:
>
> -
>
> A Servlet Exception Has Occurred
> Exception Report:
> javax.servlet.ServletException: Cannot retrieve ActionMappings under key
> "org.apache.struts.action.MAPPINGS"
>  at
> 
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:452)
>
>  at org.apache.jsp._0002flogon_jsp._jspService(_0002flogon_jsp.java:291)
>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:200)
>
>  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:456)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>
>  at
> 
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:219)
>
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2251)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
>  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
>
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:984)
>
>  at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1074)
>  at java.lang.Thread.run(Thread.java:484)
>
> Root Cause:
> javax.servlet.jsp.JspTagException: Cannot retrieve ActionMappings under key
> "org.apache.struts.action.MAPPINGS"
>  at org.apache.struts.taglib.form.FormTag.doStartTag(FormTag.java:491)
>  at org.apache.jsp._0002flogon_jsp._jspService(_0002flogon_jsp.java:128)
>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:200)
>
>  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:456)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>
>  at
> 
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(Sta

Struts and Tomcat 4.0 Beta 6

2001-08-01 Thread Nicky Eshkenazi

Hey guys,

Has anybody tried the Struts with the latest Tomcat 4.0 Beta 6?
Are there any issues/ problems?

thanks,
Nicky




Struts and Orion 1.5.2

2001-07-13 Thread Nicky Eshkenazi

Hey you all,

I am trying to run the example that comes with Struts in the process of my
evaluation and I am getting the following error:

500 Internal Server Error
javax.servlet.jsp.JspException: Missing message for key index.title
 at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
 at /index.jsp._jspService(/index.jsp.java:52) (JSP page line 8)
 at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

Any ideas about what could be wrong.

I have looked at the configuration files and everything seems to be
according to the documentation.

thanks,
Nicky




Re: Orion and Struts

2001-07-06 Thread Nicky Eshkenazi

Chuck,

thank you for the responce. The weird part is that when I start Orion I get the
following error about the struts-example.war ( I have printed the output to a
log file )

Orion/1.5.2 initialized
New org.apache.struts.webapp.example.User
Begin event threw exception
java.lang.ClassNotFoundException: org.apache.struts.webapp.example.User

And I guess it means that it cannot find the User class, hwever teh class is
there under the right package. Is there any additional configuration that I need
perform in order to make this example work?

thanks,
Nicky

Chuck Stern wrote:

> Hi Nicky,
>
> We've been using Struts with Orion for a few months without any problems.
> The example should work fine with 1.5.2.  Make sure you are not explicitly
> setting any classpath to struts.jar using "set classpath = "
>
> Chuck
>
> -Original Message-
> From: Nicky Eshkenazi [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 05, 2001 2:29 PM
> To: [EMAIL PROTECTED]
> Subject: Orion and Struts
>
> Has anybody able to run Struts on the top of Orion 1.5.2.
> I am new to Struts and was trying to take a look at it, but wasn't able to
> run the struts-examples.war...
>
> I get the following error when http://localhost/struts-example is called.
>
> 
> 500 Internal Server Error
> javax.servlet.jsp.JspException: Missing message for key index.title
>  at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
>
>  at /index.jsp._jspService(/index.jsp.java:52) (JSP page line 8)
>  at com.orionserver[Orion/1.5.2 (build
> 10460)].http.OrionHttpJspPage.service(Unknown Source)
>  at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
>  at com.evermind[Orion/1.5.2 (build
> 10460)].server.http.JSPServlet.service(Unknown Source)
>  at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
>  at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
>  at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
>  at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
>  at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
> ---
>
> This error is documented on the struts web-site for Orion until 1.0.3 and si
> related to the ServletContext.getResource() calls , and I am running 1.5.2.
> Is this still an issue here as well. I don't know if this is an Orion issue
> or a Struts one. I was able to deploy and run the struts-documentation.war
> succesfully, so I woul d guess that app server is doing the job.
>
> Any ideas??
>
> thanks,
> Nicky




Orion and Struts

2001-07-05 Thread Nicky Eshkenazi

Has anybody able to run Struts on the top of Orion 1.5.2.
I am new to Struts and was trying to take a look at it, but wasn't able to
run the struts-examples.war...

I get the following error when http://localhost/struts-example is called.


500 Internal Server Error
javax.servlet.jsp.JspException: Missing message for key index.title
 at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)

 at /index.jsp._jspService(/index.jsp.java:52) (JSP page line 8)
 at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
---

This error is documented on the struts web-site for Orion until 1.0.3 and si
related to the ServletContext.getResource() calls , and I am running 1.5.2.
Is this still an issue here as well. I don't know if this is an Orion issue
or a Struts one. I was able to deploy and run the struts-documentation.war
succesfully, so I woul d guess that app server is doing the job.


Any ideas??

thanks,
Nicky