[jboss-user] [JBoss Seam] - Re: getting seam wiki ex error SevltEx: Function 'wiki:rende

tsoucywork do-not-reply at jboss.com
Mon Oct 8 10:38:28 EDT 2007


here's the steps:

- Install JBoss Application Server 4.2.1 GA
I installed JBoss on windows XP directory: C:\Program Files\jboss-4.2.1.GA

- Edit build.properties
build.properties under the wiki directory became:
jboss.home C:\\Program Files\\jboss-4.2.1.GA
# That stuff doesn't really work for me, PAGE scoped components can't be hot-deployed (CNFE on deserialization of component state)
#hotdeploy.classes = **/wiki/core/action/** **/wiki/core/dao/** **/wiki/core/links/** **/wiki/plugin/lastmodified/** **/wiki/plugin/blogdirectory/BlogDirectory*
javac.debug true
javac.deprecation false
javac.nowarn on
testng.jvmargs
#testng.jvmargs = -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

- Run the standalone HSQL DB server with 'ant startdb'
jboss-seam-2.0.0.CR1\jboss-seam-2.0.0.CR1\examples\wiki>ant startdb
Buildfile: build.xml

startdb:
     [java] [Server at 1a758cb]: [Thread[main,5,main]]: checkRunning(false) entered

     [java] [Server at 1a758cb]: [Thread[main,5,main]]: checkRunning(false) exited
     [java] [Server at 1a758cb]: Startup sequence initiated from main() method
     [java] [Server at 1a758cb]: Loaded properties from [C:\tjs\research\seam\seamV
2\jboss-seam-2.0.0.CR1\jboss-seam-2.0.0.CR1\examples\wiki\server.properties]
     [java] [Server at 1a758cb]: Initiating startup sequence...
     [java] [Server at 1a758cb]: Server socket opened successfully in 16 ms.
     [java] [Server at 1a758cb]: Database [index=0, id=0, db=file:database/db, alia
s=] opened sucessfully in 250 ms.
     [java] [Server at 1a758cb]: Startup sequence completed in 281 ms.
     [java] [Server at 1a758cb]: 2007-10-08 07:34:20.781 HSQLDB server 1.8.0 is onl
ine
     [java] [Server at 1a758cb]: To close normally, connect and execute SHUTDOWN SQ
L
     [java] [Server at 1a758cb]: From command line, use [Ctrl]+[C] to abort abruptl
y

- Call 'ant deploy'
jboss-seam-2.0.0.CR1\examples\wiki>ant deploy
Buildfile: build.xml

init:

compileclasses:
[instrument] starting instrumentation
[instrument] processing class [org.jboss.seam.wiki.core.model.package-info]; fil
e = file:/C:/tjs/research/seam/seamV2/jboss-seam-2.0.0.CR1/jboss-seam-2.0.0.CR1/
examples/wiki/build/classes/org/jboss/seam/wiki/core/model/package-info.class

explodehotdeploy:
     [copy] Copying 1 file to C:\tjs\research\seam\seamV2\jboss-seam-2.0.0.CR1\j
boss-seam-2.0.0.CR1\examples\wiki\build\exploded\wiki.war\WEB-INF\classes

exploderesources:
     [copy] Copying 1 file to C:\tjs\research\seam\seamV2\jboss-seam-2.0.0.CR1\j
boss-seam-2.0.0.CR1\examples\wiki\build\exploded\wiki.war\WEB-INF
     [copy] Copying 1 file to C:\tjs\research\seam\seamV2\jboss-seam-2.0.0.CR1\j
boss-seam-2.0.0.CR1\examples\wiki\build\exploded\wiki.war\WEB-INF\classes
     [copy] Copying 1 file to C:\tjs\research\seam\seamV2\jboss-seam-2.0.0.CR1\j
boss-seam-2.0.0.CR1\examples\wiki\build\exploded\wiki.war\WEB-INF\classes\META-I
NF

explodewar:

deploy:
     [copy] Copying 1 file to C:\Program Files\jboss-4.2.1.GA\server\default\dep
loy
     [copy] Copying 325 files to C:\Program Files\jboss-4.2.1.GA\server\default\
deploy\wiki.war
     [copy] Copied 55 empty directories to 1 empty directory under C:\Program Fi
les\jboss-4.2.1.GA\server\default\deploy\wiki.war

BUILD SUCCESSFUL
Total time: 12 seconds

- Start (if you haven't done so already) JBoss AS and access http://localhost:8080/wiki/
(note since a server occupies port 8080 I had changed JBoss to use 8088)
(note2 I was able to bring up JBoss and deploy a different war file and test it)
When I tried http://localhost:8088/wiki/ I receive the error stated earlier.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092597#4092597

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092597



More information about the jboss-user mailing list