deploying hudson with grizzly servlet deployer?

View: New views
6 Messages — Rating Filter:   Alert me  

deploying hudson with grizzly servlet deployer?

by Zoltan Arnold NAGY :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm trying to do the thing in the $subject, yet if fails.

nagyz@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@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@...
For additional commands, e-mail: users-help@...


Re: deploying hudson with grizzly servlet deployer?

by survivant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>
Hello,

I'm trying to do the thing in the $subject, yet if fails.

nagyz@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@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@...
For additional commands, e-mail: users-help@...




--

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

Re: deploying hudson with grizzly servlet deployer?

by Zoltan Arnold NAGY :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on this machine sadly it's 1.5.0_16 :(
okay, never even considered we have an old JDK here. thanks for the tip :)
I tried it on an other machine with latest u16, and it works like a charm.

Thanks!

Survivant 00 wrote:

> 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@...
> <mailto:Zoltan.Nagy@...>>
>
>     Hello,
>
>     I'm trying to do the thing in the $subject, yet if fails.
>
>     nagyz@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@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@...
>     <mailto:users-unsubscribe@...>
>     For additional commands, e-mail: users-help@...
>     <mailto:users-help@...>
>
>
>
>
> --
>
> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
> http://twitter.com/survivant


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: deploying hudson with grizzly servlet deployer?

by Jeanfrancois Arcand-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Salut,

Zoltan Arnold NAGY wrote:
> on this machine sadly it's 1.5.0_16 :(
> okay, never even considered we have an old JDK here. thanks for the tip :)
> I tried it on an other machine with latest u16, and it works like a charm.

Thanks for reporting. Sébastien, I think we need to support JDK 1.5 IMO
if we want to pass the TCK.

Thanks!

-- Jeanfrancois


>
> Thanks!
>
> Survivant 00 wrote:
>> 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@...
>> <mailto:Zoltan.Nagy@...>>
>>
>>     Hello,
>>
>>     I'm trying to do the thing in the $subject, yet if fails.
>>
>>     nagyz@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@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@...
>>     <mailto:users-unsubscribe@...>
>>     For additional commands, e-mail: users-help@...
>>     <mailto:users-help@...>
>>
>>
>>
>>
>> --
>>
>> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
>> http://twitter.com/survivant
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: deploying hudson with grizzly servlet deployer?

by Zoltan Arnold NAGY :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeanfrancois Arcand wrote:

> Salut,
>
> Zoltan Arnold NAGY wrote:
>> on this machine sadly it's 1.5.0_16 :(
>> okay, never even considered we have an old JDK here. thanks for the
>> tip :)
>> I tried it on an other machine with latest u16, and it works like a
>> charm.
>
> Thanks for reporting. Sébastien, I think we need to support JDK 1.5
> IMO if we want to pass the TCK.
>
Apart from the TCK, I've run into problems when using hudson, namely due
to some unimplemented functions
I cannot use the build-in authentication facility (AFAIK it uses
Spring-Acegi?)

(Don't have the stackstrace anymore, but it had to do with encodeURL?)

Thanks,
Zoltan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: deploying hudson with grizzly servlet deployer?

by Jeanfrancois Arcand-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Salut,

Zoltan Arnold NAGY wrote:

> Jeanfrancois Arcand wrote:
>> Salut,
>>
>> Zoltan Arnold NAGY wrote:
>>> on this machine sadly it's 1.5.0_16 :(
>>> okay, never even considered we have an old JDK here. thanks for the
>>> tip :)
>>> I tried it on an other machine with latest u16, and it works like a
>>> charm.
>>
>> Thanks for reporting. Sébastien, I think we need to support JDK 1.5
>> IMO if we want to pass the TCK.
>>
> Apart from the TCK, I've run into problems when using hudson, namely due
> to some unimplemented functions
> I cannot use the build-in authentication facility (AFAIK it uses
> Spring-Acegi?)

Right, security is not yet implemented. If you can file issues, that
would help us a lot to track what we need to focus on first.

Thanks!

-- Jeanfrancois

>
> (Don't have the stackstrace anymore, but it had to do with encodeURL?)
>
> Thanks,
> Zoltan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...