Re: I cannot start up

wesslan <[email protected]> Mon, 25 Dec 2006 00:44:48 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <6340241.1167029259975.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
You will not need (and shouldn't use) Ant and Tomcat to run the Quickstart examples. 
I just tried the examples myself and they work just fine for me.
Here's what I did:
1) Opened a DOS-prompt (YES, I use windoze on my client machine :).
2) set JAVA_HOME to jdk1.5.0_10 and added JAVA_HOME to path.
3) cd:ed to directory of Webwork 2.2.4-installation.
4) Started showcase with "java -jar webwork-2.2.4.jar quickstart:showcase".
5) TADA! It works! :)

Don't you get any output att all in your CMD-window?
I get something like
[code]
Launching Jetty with the following configuration:
Jars/Directory of jars:
    D:\java\Webwork\webwork-2.2.4\lib
Directories of classes:
    D:\java\Webwork\webwork-2.2.4\webapps\showcase\src\webapp\WEB-INF\classes
    D:\java\Webwork\webwork-2.2.4\webapps\showcase\src\java
Sources:
    D:\java\Webwork\webwork-2.2.4\webapps\showcase\src\java
WebApp directories:
/  ->  [D:\java\Webwork\webwork-2.2.4\webapps\showcase\src\webapp]

I cutted the out put here!

(http.SocketListener                 204 ) Started SocketListener on 0.0.0.0:8080
(util.Container                      74  ) Started org.mortbay.jetty.Server@152c4d9

********************************************************
Quick-started at http://localhost:8080/showcase
You may now edit your Java source files and web files.
********************************************************
(util.ObjectTypeDeterminerFactory    32  ) Detected GenericsObjectTypeDeterminer, initializing it...
(util.XWorkConverter                 158 ) Detected AnnotationXWorkConverter, initializing it...
(validator.ActionValidatorManagerFactory 29  ) Detected AnnotationActionValidatorManager, initializing it...
(freemarker.FreemarkerManager        118 ) Instantiating Freemarker ConfigManager!, customFreemarkerManager
(util.Container                      74  ) Started HttpContext[/,/]
[/code]

Cheers,
Peter
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=54790&messageID=110148#110148