users@grizzly.java.net

Re: deploying hudson with grizzly servlet deployer?

From: Survivant 00 <survivant00_at_gmail.com>
Date: Sat, 24 Oct 2009 16:46:19 -0400

which JDK are you using ?

to deploy Hudson with Deployer it should be simple as this :

com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer -a
/tmp/hudson.war -p 3001

can you try with the latest release please.

I never had this error, but I'm using JDK6.


2009/10/24 Zoltan Arnold NAGY <Zoltan.Nagy_at_sun.com>

> Hello,
>
> I'm trying to do the thing in the $subject, yet if fails.
>
> nagyz_at_altair:~/hudson$ java -cp .:jaxb-api.jar:jaxb-impl.jar -jar
> grizzly-http-servlet-deployer-1.9.18a.jar -p 3001 -a
> /home/nagyz/hudson/hudson.war
> 2009.10.24. 22:37:06
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy
> INFO: Will deploy application path=/tmp/hudson/WEB-INF/web.xml
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/xml/bind/JAXBContext
> at
> com.sun.grizzly.http.webxml.parser.JAXBWebXml_2_4Parser.parse(JAXBWebXml_2_4Parser.java:88)
> at
> com.sun.grizzly.http.webxml.WebappLoader.extractWebXmlInfo(WebappLoader.java:165)
> at
> com.sun.grizzly.http.webxml.WebappLoader.load(WebappLoader.java:147)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.extractWebxmlInfo(GrizzlyWebServerDeployer.java:1102)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.deploy(GrizzlyWebServerDeployer.java:520)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.deployWar(GrizzlyWebServerDeployer.java:123)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.deployApplication(GrizzlyWebServerDeployer.java:240)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.deployApplications(GrizzlyWebServerDeployer.java:231)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.launch(GrizzlyWebServerDeployer.java:1130)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.main(GrizzlyWebServerDeployer.java:1261)
> nagyz_at_altair:~/hudson$
>
> the referenced class is inside jaxb-impl.jar, so I don't see why it can't
> pick it up.
>
> Ideas?
>
> Thanks,
> Zoltan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>


-- 
Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
http://twitter.com/survivant