Comments (11)
Reported by @delabassee
from glassfish-samples.
@jjsnyder said:
Jersey was causing some CDI errors. Jersey has been fixed. Please try the application again. If it still fails please provide instructions on how to build the application and reproduce the error.
from glassfish-samples.
@delabassee said:
Sorry, I thought I had included the sample!
See https://java.net/projects/glassfish-samples/sources/svn/show/trunk/ws/javaee7/jsf/scrumtoys?rev=1212
The latest build (223) gives the same error when trying to deploy the sample.
from glassfish-samples.
@jjsnyder said:
There are 2 issues.
-
Beans with normal scope must be passivation capable. I modified UploadManager to implement Serializable: Committed revision 1213.
-
Also the interceptors must be serializable. Jersey has a Transactional interceptor
org.glassfish.jersey.gf.cdi.internal.CdiComponentProvider$WebApplicationExceptionPreservingInterceptor
that is not serialzable. I have sent Jakub an email and I will assign this jira to Jersey.
from glassfish-samples.
@japod said:
This was fixed in the Jersey master branch, will be included in Jersey 2.10.2 version (to be released yet) and integrated into the GF main trunk later this week.
from glassfish-samples.
@delabassee said:
GF41 b11 (with rev 1213) still gives : remote failure: Error occurred during deployment: Exception while loading the app : CDI deployment failure:WELD-001527: Managed bean declaring a passivating scope has a non-serializable interceptor. Bean: Managed Bean [class jsf2.demos.scrum.manageStoryAttachments.UploadedFileList] with qualifiers [@default @nAmed @Any] Interceptor: InterceptorMetadataImpl [javaClass=class org.glassfish.jersey.gf.cdi.internal.CdiComponentProvider$WebApplicationExceptionPreservingInterceptor]
from glassfish-samples.
@romain-grecourt said:
I believe jersey 2.10.2 hasnt been integrated yet.
from glassfish-samples.
@delabassee said:
Tested on b327
from glassfish-samples.
Issue-Links:
is blocked by
JERSEY-2579
from glassfish-samples.
This issue was imported from java.net JIRA GLASSFISH_SAMPLES-55
from glassfish-samples.
Marked as fixed on Wednesday, August 6th 2014, 1:07:41 am
from glassfish-samples.
Related Issues (20)
- el/docs/index.html - The description needs more detail HOT 4
- jsf/contracts/docs/index.html - Description missing according to the template HOT 5
- jsf/fileUpload/docs/index.html - Description is missing HOT 6
- jsf/flows/docs/index.html - Description missing from documentation page HOT 5
- jsf/html5/docs/index.html - Description of the sample is missing HOT 5
- jsf/scrumtoys/docs/index.html - Description of the sample is missing HOT 5
- jsonp/jaxrs/docs/index.html - Description needs more detail HOT 3
- servlet/multipart-war/docs/index.html - The description of the sample needs more detail HOT 5
- mvn clean verify cargo:run Causes Failed Attempt To Access javaweb.us.oracle.com (for latest GF download) HOT 5
- Unavailable HOT 1
- Unavailable HOT 1
- Unavailable HOT 1
- Unavailable HOT 1
- Update scrumtoys to use JTA 1.2 @Transactional HOT 4
- Enable auto update on resource library contract switch HOT 3
- Update scrumtoys to show flows with a view toward multi-tenancy HOT 3
- Messageboard sample throw MessageBodyProviderNotFoundException Exc. HOT 4
- Additional EJB example suggestion HOT 1
- Missing introductory examples in docs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glassfish-samples.