glassfish-4.1

Upgrading Jackson in GlassFish 4.1

十年热恋 提交于 2019-12-19 06:19:09
问题 I am using GlassFish 4.1, which includes Jackson 2.3.2. I would like to upgrade to the newest version of Jackson (currently 2.4.4). Is the procedure for upgrading Jackson in GlassFish 4.1 as simple as: a) stopping GlassFish b) deleting the osgi-cache c) replacing the Jackson 2.3.2 jars in the glassfish/modules directory with newer versions d) starting GlassFish Thanks. 回答1: Please @see https://java.net/jira/browse/GLASSFISH-21141 The procedure I followed was asadmin stop-domain delete felix

java.net.ConnectException: fail to connect to localhost/127.0.0.1(port 8080): connect failed:ECONNREFUSED….(Codename One App)

不想你离开。 提交于 2019-12-18 16:54:27
问题 After build android application , I scanned the generated QRcode and install the application on galaxy s4 successfully. But when I try to do some search using the app I got the following exception: "java.net.ConnectException: fail to connect to localhost/127.0.0.1(port 8080): connect failed:ECONNREFUSED…." Please check the attached picture for more clarity. The app works correctly on simulator. I OFF the firewall of my system but that doesn't solve the issue. Please how can I solve this

Unable to deploy Spring Boot App on Glassfish 4.1

穿精又带淫゛_ 提交于 2019-12-18 07:08:10
问题 I have created a Spring Boot application (webservice soap). Everything is ok and application works well trough the integrated tomcat in Spring Boot. When i try to package in a war and deploy to Glassfish 4.1 i a strange error. My maven configuration: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

Migration from glassfish 4.0 to Glassfish 4.1.1 - JDBC Realm issue

不羁的心 提交于 2019-12-17 10:09:50
问题 I have this security configuration in Glassfish domain.xml which works for 4.0 but fail in 4.1.1 can someone help to identify what is wrong. The only difference is the class package "ee" GF 4.0 (with extra ee ) <auth-realm classname="com.sun.enterprise.security.ee.auth.realm.jdbc.JDBCRealm" name="authentication-realm"> <property name="jaas-context" value="jdbcRealm"></property> <property name="password-column" value="password"></property> <property name="datasource-jndi" value="jdbc/SomeDS"><

ClassCastException with Lucene

时光毁灭记忆、已成空白 提交于 2019-12-14 04:17:49
问题 I´m working on a web application with Hibernate Search using Lucene. I updatetd this application to Hibernate 5.5.1 (former 4.3.5 (hibernate-core ) 4.3.10 (hibernate-entity-manager). I´ve created an lucene index (version 4.7) with the former application. And I think the problem is maybe the older index version. When I try to deploy my application I get the following stacktrace: Schwerwiegend: java.lang.ExceptionInInitializerError at org.apache.lucene.codecs.PostingsFormat.forName

'Use custom context root' does not work for deployment EAR application to GlassFish in IntelliJ IDEA Server Run Configuration

孤者浪人 提交于 2019-12-13 05:10:14
问题 I changed the context root for the ear artifact. I opened the 'Deployment' tab of the Server Run Configuration, check 'Use custom context root' and enter the desired value into the field: /T4000_Enterprise But the Application Name in GlassFish stayed equal to the name of Output directory(or the Package name): T4000_Enterprise-3.08.HEAD-SNAPSHOT What is wrong? Can I fix it? GlassFish Server Open Source Edition 4.1 (build 13) IntelliJ IDEA 2018.2 EAP (Ultimate Edition) Build #IU-182.3569.1,

WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped

老子叫甜甜 提交于 2019-12-13 05:07:25
问题 Using NetBeans 8.2 with JSF2.2 on GlassFish4.1.1 , without ( Prime || ICE || Rich ) && faces :) I have NB configured so every time I save any file, it re-deploys the project so the changes are "automatically" reflected when F5 on the browser. This is done by checking Deploy on save under Right click on project icon > Properties > Run , which If selected, files are compiled and deployed when you save them. This option saves you time when you run or debug your application in the IDE. So far,

Glassfish/Payara: why might deployment of a large web app to Glassfish-4.1.1 (or Payara Server 4.1.1.163) take 5 times longer than to Glassfish-4.1

拥有回忆 提交于 2019-12-12 03:36:12
问题 Mac OS X: Yosemite 10.10.5 Until recently I have been using: NetBeans8.1beta Glassfish4.1 Mojarra 2.2.7 I have recently investigated using: NetBeans8.1 Glassfish4.1.1 Mojarra 2.2.12. With a very large JSF web app (with ObjectDB as JPA persistence provider) I am experiencing massively longer deployment times to Glassfish4.1.1 (over 10 minutes) than to Glassfish4.1 (around 2 minutes). That's about 5 times slower. [EDIT: 2016-09-13 Tried with Payara 163 Full (Payara Server 4.1.1.163) and it took

Catch exception from Object.afterUnmarshal in Glassfish 4.1

纵然是瞬间 提交于 2019-12-12 02:56:56
问题 I am currently running Glassfish 4.1 on JDK 1.8.0-40. I am using javaee-web-api-7.0 and jersey-media-moxy-2.22. I am marshalling/unmarshalling JSON and XML from/to JAXB-annotated java objects. I have a ContextResolver<Unmarshaller> set up to provide an Unmarshaller with a custom ValidationEventHandler which will collect exceptions from the property setters and throw a BadRequestException with the aggregate validation errors. This part is working. However, I also have beforeMarshal and

Why does JVM randomly crashes on Windows Server 2012 due to NTDLL.DLL?

 ̄綄美尐妖づ 提交于 2019-12-12 01:39:41
问题 My production server occasionaly crashes the java.exe sevice and therefore myApplication Server Glassfish 4.1. It happens randomly and so far I couldn't find a reason to explain such behavior. Checking Win Server 2012 Event Viewer, it is stated that the Application Error is due to conflict with NTDLL.DLL. Down below I post the dump collected after one of these crashes: Version=1 EventType=APPCRASH EventTime=130971776990222439a ReportType=2 Consent=1 ReportIdentifier=60c166c2-ba16-11e5-8100