glassfish

highchart exporting with phantomjs implementation

你离开我真会死。 提交于 2019-12-25 02:45:00
问题 I am trying to implement highchart exporting function in my jsp/glassfish website project in which i need charts to be converted to png,jpgs and pdfs formats but in offline mode.i had followed the steps and instruction given in official exporting site but i encountered following issues. i have downloaded the phantom.js and highchart exporting folder i change values in "app-convert.properties" file located in "highcharts-export\highcharts-export-web\src\main\webapp\WEB-INF\spring" folder and

Indigo Java EE with GlassFish bundle

青春壹個敷衍的年華 提交于 2019-12-25 02:14:43
问题 I use Eclipse Indigo Java EE and I want to use the GlassFish 3 server. I am used to work with Tomcat which can easily be accessed from Eclipse. I followed How to install the GlassFish 3 server adapter with Eclipse Helios 3.6 answer but I got the following error: Cannot complete the install because one or more required items could not be found. Software being installed: GlassFish Java EE 5, Java EE 6 1.0.54 (com.sun.enterprise.jst.server.sunappsrv.feature.feature.group 1.0.54) Missing

Using Hibernate Ejb3Configuration with Container Management

穿精又带淫゛_ 提交于 2019-12-25 01:43:00
问题 Is there a way to use programmatic configuration provided by Ejb3Configuration with container managed entity management? I would like to dynamically add (additional) annotated classes that were discovered via ServiceLoader after the persistence.xml is processed. I attempted to extend HibernatePersistence override the createContainerEntityManagerFactory method where I added the functionality to add the classes but I found two problems: 1) When I attempt to call the EjbConfiguration instances

Glassfish: how to investigate roles/groups problems

谁都会走 提交于 2019-12-25 01:20:22
问题 I have a Glassfish server in production which uses JDBC Realm for authentication. It works well, but there is the need to change all the roles/groups. I developed a new version of the web application in a test environment changing glassfish-web.xml and web.xml to align them with the groups contained in the groups table on the db for test. Everything works flawlessly. So I moved the web application to the production environment and updated the content of the groups table on production db. The

glassfish change default jsf impl

半城伤御伤魂 提交于 2019-12-25 01:04:13
问题 i need to change the default jsf impl provided with glassfish 3.0.1 The one provided is version 2.0.2 but i need something higher like 2.1.x because i use liferay portal 6.0.6 and it throws exception while trying to cast ResourceResponseImpl to HttpServletResponse. I got a tip that if i change the jsf impl to 2.1.x it should work. Anyway, i just want to make sure i do it right.. Should i change only the jsf-impl and jsf-api jars or do something else as well. There is two jars that i am not

Access Remote Glassfish4 Server from Eclipse Luna

天涯浪子 提交于 2019-12-25 01:03:55
问题 I am working on a Mac. I am running Linux Ubuntu server in a VirtualBox. GlassFish 4 and MySql are already running there. The Linux IP is 10.0.1.12. On the guest system (Mac) I am running Eclipse Luna. I installed the GlassFish Tools for Eclipse Luna and restarted Eclipse. Then I wanted to add server for GlassFish4. But Eclipse is asking me for "Server root" and I have no clue what it means! I entered "10.0.1.12:4848/" just as I can access GlassFish from the host system (Mac OS) by a browser.

org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: org.jvnet.mimepull.MIMEMessage.close()V

主宰稳场 提交于 2019-12-25 00:06:49
问题 I get this error when I do a POST with POSTMAN to my RestService, I searched and just appear libraries problem but i guess i have everything fine. Web.xml <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"> <servlet> <servlet-name>Jersey Servlet</servlet-name> <servlet-class>org.glassfish.jersey.servlet.ServletContainer

Glassfish: Spring boot error

亡梦爱人 提交于 2019-12-24 23:57:54
问题 I have a spring boot application deployed in Glassfish 5.0. When trying to access a REST service in this application with spring security basic auth, I'm getting the below error: java.lang.NoSuchMethodError: sun.security.ssl.SessionId.checkLength(Lsun/security/ssl/ProtocolVersion;)V The application works fine in Tomcat server. This error is occurring only in glassfish server. My JAVA_HOME is already set to jdk1.8.0_31 . What could be the issue ? Below is the error when I'm trying to access

Glassfish 3.1 says “admingui login.jsp” not found

僤鯓⒐⒋嵵緔 提交于 2019-12-24 20:27:09
问题 I start glassfish with ~/.glassfish/bin/asadmin start-domain domain1 Everything works perfect. I enter to http://localhost:8080 to its web server. But when I enter http://localhost:4848 to web admin console Server.log says: ... [#|2011-07-06T20:25:32.411+0300|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=83;_ThreadName=Thread-42;|The Admin Console application is loaded.|#] [#|2011-07-06T20:25:33.388+0300|SEVERE|oracle-glassfish3.1|org

How to register existing Glassfish server in Eclipse?

家住魔仙堡 提交于 2019-12-24 20:13:39
问题 I have previously installed Glassfish and been using it with Netbeans. I have decided to switch to Eclipse. Now, I have installed Eclipse. When creating a new Dynamic Web Project, it does not show Glassfish, so I installed plugins for it but what it does is to install a new Glassfish server. How will I tell eclipse that I have already a Glassfish server and point it to that? 回答1: You can register a server in the Preferences---> Server---> Runtime Environments . The main point is that you