glassfish

java.lang.NoClassDefFoundError: sun/security/ssl/SupportedEllipticCurvesExtension

蹲街弑〆低调 提交于 2019-12-22 05:25:20
问题 I am trying to secure a web application so that I can use a secure data transport layer TLS/SSL with HTTPS. I am using glassfish server 5. After starting the server I did a https://localhost:8181 and it gave me this exception: Warning: GRIZZLY0013: Exception during FilterChain execution java.lang.NoClassDefFoundError: sun/security/ssl/SupportedEllipticCurvesExtension at sun.security.ssl.HelloExtensions.<init>(HelloExtensions.java:82) at sun.security.ssl.HandshakeMessage$ClientHello.<init>

Eclipse debugger breakpoint flakiness w/Glassfish

孤人 提交于 2019-12-22 05:21:53
问题 in Eclipse Indigo with Glassfish 3.1.2 on Linux/Ubuntu. JDK 1.6.0_32. Update same results on Glassfish 3.1.2.2 and Eclipse Juno w/latest Eclipse Glassfish plugin. Eclipse debugger stops on breakpoints, but does not synchronize the 'debug' tab to the current thread/location, and does not show the cursor at the current line. If I manually expand the tabs for each thread, I can figure out which thread is stopped and what line. If I click on that I can then show the pointer on the current line.

How can I create a mysql connection pool using asadmin tool in GlassFish server?

偶尔善良 提交于 2019-12-22 05:15:33
问题 I am trying to use the following command to create a mysql connection pool in GlassFish but it keeps telling me Command create-jdbc-connection-pool failed. Please help me. The command: asadmin create-jdbc-connection-pool \ --datasourceclassname com.mysql.jdbc.jdbc2.optional.MysqlDataSource \ --restype javax.sql.DataSource \ --property "User=root:Password=...:URL=jdbc\:mysql\:\/\/localhost:3306\/wcms_3" \ connection_pool I guess that there is a missing required parameter; so what are the

Glassfish Server Error when deploy .war: Error occurred during deployment: Exception while preparing the app : Invalid resource

早过忘川 提交于 2019-12-22 05:01:13
问题 I am using the following: NetBeans IDE 7.3 (Build 201306052037) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 NetBeans integrated GlassFish Server Open Source Edition 3.1.2.2 (build 5) I created an RESTful Webservice with NetBeans, deployed it under NetBeans and it worked fine. So I copied the generated .war file to another machine which uses: Oracle GlassFish Server 3.1.2.2 java version "1.7.0_21" Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode) When I want to deploy the

Pages being processed are merely left blank half way through on errors/exceptions instead of forwarding to the error page specified in web.xml

那年仲夏 提交于 2019-12-22 04:55:34
问题 In web.xml, I have the following configurations for a global error page. <error-page> <error-code>401</error-code> <location>/WEB-INF/error_pages/GeneralError.xhtml</location> </error-page> <error-page> <error-code>403</error-code> <location>/WEB-INF/error_pages/GeneralError.xhtml</location> </error-page> <error-page> <error-code>404</error-code> <location>/WEB-INF/error_pages/GeneralError.xhtml</location> </error-page> <error-page> <error-code>500</error-code> <location>/WEB-INF/error_pages

Stacktrace does not print in Glassfish 4.1 Cluster log

試著忘記壹切 提交于 2019-12-22 04:03:24
问题 Doing our first cluster setup on Glassfish (4.1). Application(EAR) level logs (ex printing a stacktrace) don't seem to reach the server.log in (GF-dir)/domains//logs/server.log or (GF-dir)/nodes/(node-name)/(instance-name)/server.log (There is no cluster.log as stated in documentation) We didn't change any of the default logging options in logging.properties. The current logs only show cluster and instance related information. 回答1: I had similar probrem. server.log is not output after MQJMSRA

Logging using Log4j.xml in Glassfish

感情迁移 提交于 2019-12-22 00:12:17
问题 I was using WAS as my application server for deploying ear project.Presently changed to Glassfish . I am using log4j.xml file for logging. Logging is not working in Glassfish. Is there any dependency in using log4j.xml with glassfish. Any suggestions/pointers is appreciated 回答1: If your log4j library is included within your EAR file, then check your app server's JVM properties to ensure the log4j.configuration property is set: Login to the Glassfish Admin Console (http://[hostname]:4848/) For

Where do I get oracle performance tuner for glassfish 3.1 admin console

為{幸葍}努か 提交于 2019-12-21 21:28:58
问题 Does anyone know how to get the Oracle performance tuner (referred to in this link: http://www.java.net/external?url=http://blogs.oracle.com/jenblog/entry/performance_tuner_in_oracle_glassfish) installed in the admin console? Installed in the Glassfish 3.1 admin console? I can't find an Add-on with that name, it isn't installed by default and it doesn't show up for me on the left hand side of the admin console under resources like it shows in the performance tuning video tutorials. 回答1: You

What is difference between MysqlDataSource and MysqlConnectionPoolDataSource?

旧时模样 提交于 2019-12-21 20:42:06
问题 I am configuring a mysql connection in an application server (glassfish specifically, but I am curious about other application servers as well) and it appears that there are 2 extremely similar options for the resource type & driver. Namely, MysqlDataSource and MysqlConnectionPoolDataSource . I am curious about what the difference between the two is. It appears that glassfish is maintaining a connection pool either way, so it's difficult to tell what the difference is. Thanks for any insight

Can I intercept calls for my WSDL on Glassfish (or on any app server)?

天大地大妈咪最大 提交于 2019-12-21 20:32:50
问题 I've created a Java web service using the @WebService annotation and deployed the service to a Glassfish server that lives behind a proxy server. The problem is when someone accesses our WSDL and looks at the service endpoint address location they see http://app server url/service... instead of http://proxy server url/service... I'd like to have the proxy server URL returned in the service endpoint address location of the WSDL instead of the app server url. What I'm wondering is, can I write