When I try to build from master I get a number of errors including the
appended subset.
Should this all work with just the following?

$ git clone git://github.com/resteasy/Resteasy.git
$ cd Resteasy/jaxrs
$ mvn clean install

My environment is as follows:

Mac OSX 10.8.4

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: /usr/share/maven
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/jre

A subset of the errors include:

Running
org.jboss.resteasy.test.finegrain.methodparams.QueryParamAsPrimitiveTest
KEEPALIVE!: true
[Fri Jun 07 12:04:45 EDT 2013] MIME map can't be
loaded:java.lang.NullPointerException
[Fri Jun 07 12:04:45 EDT 2013] Servlet for path '/' already defined and no
default will be used.
[Fri Jun 07 12:04:45 EDT 2013] TJWS httpd localhost - SimpleAcceptor
ServerSocket[addr=localhost/127.0.0.1,port=0,localport=8081] is listening.
2013-06-07 12:04:46,262 [Acme.Utils.ThreadPool(10)-PooledThread:
Acme.Serve.Serve$ServeConnection@31ea681] WARN
org.jboss.resteasy.core.ExceptionHandler - failed to execute
javax.ws.rs.NotFoundException: Unable to extract parameter from http
request for javax.ws.rs.QueryParam("int") value is 'abcdef' for public
java.lang.String
org.jboss.resteasy.test.finegrain.methodparams.QueryParamAsPrimitiveTest$ResourceQueryPrimitives.doGet(int)
        at
org.jboss.resteasy.core.QueryParamInjector.throwProcessingException(QueryParamInjector.java:43)
        at
org.jboss.resteasy.core.StringParameterInjector.extractValue(StringParameterInjector.java:297)
        at
org.jboss.resteasy.core.StringParameterInjector.extractValues(StringParameterInjector.java:271)
        at
org.jboss.resteasy.core.QueryParamInjector.inject(QueryParamInjector.java:56)
        at
org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)
.....


Running org.jboss.resteasy.test.providers.jaxb.regression.TestBadContentType
KEEPALIVE!: true
[Fri Jun 07 12:05:35 EDT 2013] MIME map can't be
loaded:java.lang.NullPointerException
[Fri Jun 07 12:05:35 EDT 2013] Servlet for path '/' already defined and no
default will be used.
[Fri Jun 07 12:05:35 EDT 2013] TJWS httpd localhost - SimpleAcceptor
ServerSocket[addr=localhost/127.0.0.1,port=0,localport=8081] is listening.
1574 [Acme.Utils.ThreadPool(18)-PooledThread:
Acme.Serve.Serve$ServeConnection@2d0b033e] ERROR
org.jboss.resteasy.core.ExceptionHandler - Failed executing POST /test
org.jboss.resteasy.plugins.providers.jaxb.JAXBUnmarshalException:
javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 6; XML
document structures must start and end within the same entity.]
        at
org.jboss.resteasy.plugins.providers.jaxb.AbstractJAXBProvider.readFrom(AbstractJAXBProvider.java:105)
        at
org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
        at
org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
        at
org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)

When trying to building just jboss-modules I got the following repository
access error:

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:49.308s
[INFO] Finished at: Fri Jun 07 13:08:13 EDT 2013
[INFO] Final Memory: 44M/351M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project examples-oauth: Could not resolve
dependencies for project
org.jboss.resteasy.examples:examples-oauth:war:3.0-rc-1: Failed to collect
dependencies for [org.jboss.resteasy:resteasy-jaxrs:jar:3.0-rc-1 (compile),
org.jboss.resteasy:resteasy-oauth:jar:3.0-rc-1 (compile),
org.jboss.resteasy.examples:examples-oauth-provider:jar:3.0-rc-1 (compile),
javax.servlet:servlet-api:jar:2.5 (compile), hsqldb:hsqldb:jar:1.8.0.7
(compile), org.jboss.security:jboss-security-spi:jar:2.0.4 (provided),
org.jboss.security:jbosssx:jar:2.0.4 (provided)]: Failed to read artifact
descriptor for org.jboss.security:jboss-security-spi:jar:2.0.4: Could not
transfer artifact org.jboss.security:jboss-security-spi:pom:2.0.4 from/to
jboss (http://repository.jboss.org/maven2): Access denied to:
http://repository.jboss.org/maven2/org/jboss/security/jboss-security-spi/2.0.4/jboss-security-spi-2.0.4.pom->
[Help 1]


On Wed, Jun 5, 2013 at 6:38 PM, Bill Burke <bbu...@redhat.com> wrote:

> YOu want to try to build from master and see if it works?  I removed the
> dependency on resteasy-crypto and now there is no boot warnings in
> standalone.  TBH, *blush* I really don't know anything about running
> JBoss within a managed domain.
>
> $ git clone g...@github.com:resteasy/Resteasy.git
> $ cd Resteasy/jaxrs
> $ mvn clean install
>
> Unzip the zip within jboss-modules/target into the modules/ directory of
> EAP 6.  (NOt sure if org/jboss/resteasy directory is in EAP 6.0.1 or
> not, if there is a modules/system/layers/base/ directory, instead unzip
> there)
>
>
>
> On 6/5/2013 1:46 PM, Bill Burke wrote:
> > I'll check it out.  JBoss Modules was a bit quirky. Probably user error
> > though.
> >
> > On 6/5/2013 11:55 AM, Doug Toppin wrote:
> >> I'm using resteasy-jaxrs-3.0-beta-5 and want to deploy the oauth2
> >> skeleton code examples into a JBoss EAP 6.0.1 domain and getting this
> >> error on the deploy (deploying via the cli and getting a rollback):
> >>
> >> 11:17:00,567 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7)
> >> MSC000001: Failed to start service
> >> jboss.module.service."deployment.auth-server.war".main:
> >> org.jboss.msc.service.StartException in service
> >> jboss.module.service."deployment.auth-server.war".main: JBAS018759:
> >> Failed to load module: deployment.auth-server.war:main
> >> at
> >>
> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:92)
> >> [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
> >> at
> >>
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> >> [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
> >> at
> >>
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> >> [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
> >> at
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >> [rt.jar:1.7.0_17]
> >> at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >> [rt.jar:1.7.0_17]
> >> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
> >> Caused by: org.jboss.modules.ModuleNotFoundException: Module
> >> org.jboss.resteasy.security.smime.MultipartSignedReader:main is not
> >> found in local module loader @7bf5f379 (roots:
> >> /Users/dougtoppin/Desktop/JBoss/jboss-eap-6.0/modules)
> >> at
> >>
> org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at
> >>
> org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at org.jboss.modules.Module.addPaths(Module.java:851)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at org.jboss.modules.Module.link(Module.java:1206)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at org.jboss.modules.Module.relinkIfNecessary(Module.java:1235)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
> >> [jboss-modules.jar:1.1.3.GA-redhat-1]
> >> at
> >>
> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:71)
> >> [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
> >> ... 5 more
> >>
> >>
> >> 11:17:00,772 INFO  [org.jboss.as.server]
> >> (host-controller-connection-threads - 4) JBAS015870: Deploy of
> >> deployment "auth-server.war" was rolled back with failure message
> >> {"JBAS014671: Failed services" =>
> >> {"jboss.module.service.\"deployment.auth-server.war\".main" =>
> >> "org.jboss.msc.service.StartException in service
> >> jboss.module.service.\"deployment.auth-server.war\".main: JBAS018759:
> >> Failed to load module: deployment.auth-server.war:main
> >>       Caused by: org.jboss.modules.ModuleNotFoundException: Module
> >> org.jboss.resteasy.security.smime.MultipartSignedReader:main is not
> >> found in local module loader @7bf5f379 (roots:
> >> /Users/dougtoppin/Desktop/JBoss/jboss-eap-6.0/modules)"},"JBAS014771:
> >> Services with missing/unavailable dependencies" =>
> >> ["jboss.deployment.unit.\"auth-server.war\".POST_MODULE
> >> Missing[JBAS014861: <one or more transitive dependencies>]"]}
> >>
> >>
> >> In a standalone deployment via maven the same warning occurs but maven
> >> does a force and the examples still work.  I have not been able to to do
> >> a force in domain mode and it rolls the deploy back.
> >> For domain mode I copied the mods from the standalone.xml to my
> >> domain.xml to try to try to get the example to work in domain mode.
> >>
> >> Has anyone seen and/or solved this?   I would appreciate any tips on
> >> what to do about this.
> >>
> >> tks
> >> Doug
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> How ServiceNow helps IT people transform IT departments:
> >> 1. A cloud service to automate IT design, transition and operations
> >> 2. Dashboards that offer high-level views of enterprise services
> >> 3. A single system of record for all IT processes
> >> http://p.sf.net/sfu/servicenow-d2d-j
> >>
> >>
> >>
> >> _______________________________________________
> >> Resteasy-users mailing list
> >> Resteasy-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/resteasy-users
> >>
> >
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to