[
http://www.stripesframework.org/jira/browse/STS-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-67.
-------------------------
> Example .war does not work out of the box
> -----------------------------------------
>
> Key: STS-67
> URL: http://www.stripesframework.org/jira/browse/STS-67
> Project: Stripes
> Issue Type: Bug
> Affects Versions: Release 1.0
> Environment: Tomcat 5.5
> Reporter: Corby Page
> Assignee: Tim Fennell
> Fix For: Release 1.0.1
>
>
> Dropping the stripes-example.war into Tomcat 5.5 and starting yields the
> following stacktrace:
> INFO: Deploying web application archive stripes-examples.war
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: \tmp\stripes.log (The system cannot find the
> path
> specified)
> at java.io.FileOutputStream.openAppend(Native Method)
> at java.io.FileOutputStream.<init>(Unknown Source)
> at java.io.FileOutputStream.<init>(Unknown Source)
> at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
> at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
> at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
> at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
> at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
> at
> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
> at
> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
> (Rest ommitted)
> Then I go to the simple quickstart example. Trying to add two numbers gets me
> the following exception screen:
> net.sourceforge.stripes.exception.StripesServletException: Could not locate
> an ActionBean that is bound to the URL [/quickstart/Calculator.action]. Full
> request URL was
> [http://localhost:8080/stripes-examples/quickstart/Calculator.action].
> Commons reasons for this include mis-matched URLs and forgetting to implement
> ActionBean in your class. Registered ActionBeans are: {}
>
> net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:160)
>
> net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:76)
>
> net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.java:54)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:173)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development