payara

IntelliJ - Remote debug - Unable to open debugger port

独自空忆成欢 提交于 2019-12-10 14:23:56
问题 I am using IntelliJ 2017.3 with Payara 4.1.2.172. I used to just start the server from the command line had a Remote Debug running on port 9009, and everything used to work fine. Then I set up an plugged in server with attached modules in IntelliJ, to enable HotSwap. I run this server in debug mode, and it works fine. Now, if I don't use the plugged in server, but want to start the server as previous, when I run the debug remote, I get the following: Error Error running 'Debug Glassfish OSM':

Glassfish 4 - remotely cannot access admin console when 'enable-secure-admin' is enabled

狂风中的少年 提交于 2019-12-10 11:34:36
问题 We are using Glassfish and cannot access admin console remotely when 'enable-secure-admin' is enabled using the default port 4848. We are trying access over dev-vpn, but cannot do so when we use the subcommand 'enable-secure-admin' . If it is disabled we can see the web-page but cannot login. Is it something to do with 'http-redirect' ? 来源: https://stackoverflow.com/questions/37892580/glassfish-4-remotely-cannot-access-admin-console-when-enable-secure-admin-is

How to use Jackson 2 in Payara 5?

耗尽温柔 提交于 2019-12-05 02:42:29
问题 I'm using Jackson 2 with Payara 4 and I would liked to use Jackson 2 in Payara 5 . Using JAX-RS, I also would like to avoid changing annotations and so on... In Payara 5 the default Jsonb provider is Yasson. Any ideas to disable it and use Jackson instead? All comments/ideas are welcome :-) NB: Yasson is very interesting but handle abstract class or interface serialization/deserialization is a little more complex than putting a Jackson annotation. My current understanding is that it requires

Payara/GlashFish won't start in NetBeans

你说的曾经没有我的故事 提交于 2019-11-29 08:11:10
I'm running Mac OS. I've set up the Payara server with NetBeans. And when I'll try to run the server it never shows the green 'dot' that indicates its online status, instead it shows the 'loading' dot forever. However, I can access it on http://localhost:4848 , but when I try to deploy an application to the server I get this error: GlassFish Server is running. Starting GlassFish Server Initial deploying slit-ee to /Users/christian/slit/slit-ee/dist/gfdeploy/slit-ee Completed initial distribution of slit-ee GlassFish Server, deploy, null, false /Users/christian/slit/slit-ee/nbproject/build-impl

Payara/GlashFish won't start in NetBeans

为君一笑 提交于 2019-11-28 02:00:27
问题 I'm running Mac OS. I've set up the Payara server with NetBeans. And when I'll try to run the server it never shows the green 'dot' that indicates its online status, instead it shows the 'loading' dot forever. However, I can access it on http://localhost:4848, but when I try to deploy an application to the server I get this error: GlassFish Server is running. Starting GlassFish Server Initial deploying slit-ee to /Users/christian/slit/slit-ee/dist/gfdeploy/slit-ee Completed initial

Migration from glassfish 4.0 to Glassfish 4.1.1 - JDBC Realm issue

╄→гoц情女王★ 提交于 2019-11-27 09:49:42
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"></property> <property name="group-table" value="v_user_role"></property> <property name="charset" value=