Closed beachmountain closed 7 years ago
Hello,
I understand that you can't share source code but we will need to know roughly what's happening or we can't help. How could we reproduce your scenario? You say it's client/server and I can see you're using cometd, but how is it implemented?
If you can't even share that detail, then probably the only thing I could suggest is a support contract where we can discuss things with you under a signed NDA. Our professional level of support includes phone support and screensharing. You can either buy online or send an email to sales@payara.fish
Hi,
Thank you for your reply!
I can understand that you need more details, I was kinda hoping the stack trace would contain something that made the problem easy to spot, but I know that was a long shot. I will let our developers look further into this and see if it is something we can solve ourselves. You can close the issue if you want to, and if we come up with enough information so that you can reproduce this I will add that information to this issue in the future.
I'm afraid the stack trace doesn't really help. Just says the filter for the filter definition is null. Which tbh is pretty weird given it is passed in in the constructor and accessed in the constructor. I would suggest debugging https://github.com/payara/Payara/blob/master/appserver/web/web-glue/src/main/java/com/sun/enterprise/web/deploy/FilterDefDecorator.java if it is difficult to reproduce in a test case.
Thank you for your kind reply. I have debugged the FilterDefDecorator and updated the issue description. Perhaps this information can be of any help. I think our problems may be related to the new feature of integration with the Weld (CDI) development mode (It seems to be turned on by default when deploying?).
I do apologize for any errors in the formatting and reporting of this issue. This is my first issue reported on Github and I am eager to improve. Debugging other code than our own is also a bit new to me. I will do my best to supply more information if needed.
Thanks that is a big hint to us knowing that it is the new Weld Probe Filter.
Any hints on how to reproduce the error would be good. We have tested this with many web applications and isn't causing problems. Is your Servlet asynch? Are you also registering ServletFilters? Any thing a bit out of the ordinary your web application is doing in initialisation would help.
Thanks @beachmountain for the info, I have reproduced this issue. Internal issue ref : PAYARA-2019
Thank you guys! Yes, our servlet is asynch. I just want to add that I discovered that we had development mode turned on in production since we in the web.xml in our War had
`
` After removing this our application works as expected again.
Description
We have a server/client application where the server side is a Java EE application deployed in Payara. With version 173 of Payara the client can no longer connect to the server (it worked in version 172).
Expected Outcome
The client should be able to connect to the server.
Current Outcome
The client can not connect to the server. The server logs this error message each time the client tries to connect:
Debugging the FilterDefDecorator tells me that the classname of the problem filter is "org.jboss.weld.probe.ProbeFilter" and the filtername is "weld-probe-filter". The Boolean "asyncSupported" is null.
The org.glassfish.web.deployment.descriptor.ServletFilterDescriptor class contains these lines (72-73):
and the org.glassfish.weld.WeldDeployer class creates the Probefilter if in development mode (lines 577-589):
The call stack:
I have tried to disable the "CDI Development Mode" option for our application (with restart and redeploy), and made sure debug mode is off in the JVM settings, but still get the same error.
Steps to reproduce (Only for bug reports)
Sorry but I can't give you this as our software is proprietary.
Samples
N/A
Environment