I just try the Atmosphere framework. I made the chat sample running in Tomcat 7.0.27 but when I want to run it with GlassFish 3.1.2 then I only get the message:
"org.apache.catalina.LifecycleException:
java.lang.NoClassDefFoundError:
org/apache/catalina/comet/CometProcessor".
What am I doing wrong? I use the built-in GlassFish from NetBeans IDE 7.1.2.
Kindly regards,
Benny
Ok. I found the solution! In NetBeans you have to click on "Enable Comet Support" in "Tools" - "Servers" - "GlassFish":
Are you having similar exception stack trace as in this question? If your answer is comfirmative then you're facing a bug in glassfish's grizzly-websockets.jar module.
I'm sure its way too late for this answer, but for anyone else, the problem is that the atmosphere catalina jars are missing. These can be gotten from either the atmosphere project or Tomcat. Just be sure to get the correct versions. At the time of this writing, the jars were atmosphere-compat-tomcat7-1.0.2.jar and atmosphere-compat-tomcat-1.0.2.jar.
Related
class java.lang.RuntimeException in glassfish when i try to create new JDBC Resources.
This is the exception. Following is the snapshot:
I've been having same issues with the latest Glassfish 4.1. I couldn't find any solution on how to resolve RuntimeException when using web interface to add new resources. From what I understand it is a major bug that hasn't been resolved yet (GLASSFISH-21437). Meanwhile, I manually add JDBC Connection Pool and JDBC Resource entries by modifying domain.xml file located in the domain's config folder:
glassfish4/glassfish/domains/domain1/config/domain.xml
Just make sure that you make a backup copy just in case you make a mistake. You will need to restart Glassfish.
You can also use asadmin CLI commands to add resources. I have not done this myself but instructions on how to do that can be found in Glassfish administration guide (chapter 5).
I hope this helps.
I had the same issue. I found the only solution to replace glassfish 4.1.1 with version 4.1.0. This fixed my problem.
I have found that BUG is fixed (https://java.net/jira/browse/GLASSFISH-21314). I created JDBC resurce without exception
Update to 4.1.2 .
I had the same issue with Glassfish 4.1.1 , until now I set up all with asadmin commands , but the bug has been fixed with version 4.1.2 , no more exception thrown while creating new JDBC ressources .
I have to download another version of glassfish, in my case "GlassFish 5.0 - Web Profile" https://javaee.github.io/glassfish/download , after in netbeans i removed the old GlassFish setting up the new version and everything was fine.
do anybody know if there is a Jetty 9 WTP plugin for Eclipse available? I can't find official one (only for Jetty 7&8) so maybe there's some 3rd party plugin? Thanks a lot.
We stopped updating the one for 7 and 8, and I suspect the folks behind run-jetty-run will update that eventually. Most people I know use the jetty-maven-plugin, write a small embedded instance of jetty to start, or use something like Webby.
http://code.google.com/p/run-jetty-run/
https://docs.sonatype.org/display/M2ECLIPSE/Integration+with+Maven+WAR+Plugin
This page shows some of the listed tooling available:
http://marketplace.eclipse.org/search/site/jetty?f[0]=im_taxonomy_vocabulary_3%3A31
In trying to call a webservice from a portlet from Glassfish to a webservice hosted remotely on weblogic we are getting this error:
Caused by: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.3
at weblogic.webservice.core.soap.SOAPHeaderImpl.addHeaderElement(SOAPHeaderImpl.java:178)
I added the webservicesclient.jar from WebLogic to the portlet WAR file.
How is the best way to handle this problem?
EDIT: Adding webservicesclient.jar was the wrong thing to do. I removed the jar file and that fixed the problem. The underlying problem was also fixed with a restart.
Answered my own question. See edit in the question:
EDIT: Adding webservicesclient.jar was the wrong thing to do. I removed the jar file and that fixed the problem. The underlying problem was also fixed with a restart.
Using Eclipse STS 2.9.1, I cannot make FindBugs 2 working.
When I right click on the project and "FindBugs", I got an error stating that my project is missing org.osgi.framework.BundleActivator.
Does anyone encountered the same issue and managed to solve it?
Find bugs works for me on STS 3.0.0.M1.
I also meant to ask you for the full stack trace in your error log. You can paste that in your answer.
But, probably your best bet will be to uninstall and reinstall the feature.
I have a very weird problem.That my web project deployed to the Weblogic 10.0,Monday afternoon,and every thing works fine.But the next day morning, i checked the application, it reported could not find class that i write myself below the WEB-INF->classes directory.
I also use ant to build my project,But the same war file works on Weblogic10.3 and Tomcat5.5.So it may be the Weblogic 10.0's issue.But i also test it in another environment which have Weblogic 10.0, and it could not work too.
So could anyone can help with it ? I work a whole day yesterday to figure this out.
Even change the JDK to recompile the code and war file.
Please Help or leave something that helps, Thanks!
i finally figure the issue out. That cause the jdk version matters.
The annotation "#override" in jdk1.5 was not supported as in jdk1.6.
And the Weblogic10.0 still use the jdk1.5, so it matters.