glassfish

Cannot load group for JDBC realm

孤街醉人 提交于 2020-02-02 11:20:45
问题 Im being a few days struggling to create my first Security realm in glassfish V3. My problem is that it looks like for some reason, the application does not see the one of the coulmns in the database, and my console keeps telling me that there is a syntax error. I think the table that is making me trouble is the join column(Below you will see my DB implementation). Here i will copy the hold stack trace so you will see what is going on: FINE: [Web-Security] Setting Policy Context ID: old =

Any best practices for dealing with Java EE and java.endorsed.dirs?

非 Y 不嫁゛ 提交于 2020-02-01 03:12:41
问题 I've recently run into a problem with glassfish standalone (v3.1) vs glassfish embedded (v3.1) vs java SE and the way java.endorsed.dirs is used. The specific problem I had is here, but I don't think it's the last time I'm going to run into something similar. The information I found here and here suggests adding the glassfish endorsed libs to the bootstrap classpath when compiling. However, this bug report suggests it is difficult to get the endorsed libs set correctly when using glassfish

java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map

五迷三道 提交于 2020-01-30 01:39:12
问题 I am trying to deploy my first rest application using jersey 2.17 . I am using Maven, GlassFish 3.1.2.2 for deployment. Application runs in eclipse (tomcat), but gives following error when deploying through glassfish admin console. Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.NoSuchMethodError: javax.ws.rs.core

java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map

孤者浪人 提交于 2020-01-30 01:39:11
问题 I am trying to deploy my first rest application using jersey 2.17 . I am using Maven, GlassFish 3.1.2.2 for deployment. Application runs in eclipse (tomcat), but gives following error when deploying through glassfish admin console. Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.NoSuchMethodError: javax.ws.rs.core

GlassFish 4 web application deployement

房东的猫 提交于 2020-01-26 03:13:13
问题 i'm working on a spring web application lately (with spring security and spring data jpa) I'm getting this error lately and i don't have any idea how to solve it : when i try to deploy the WAr , i get this : org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [Set<Service>] with qualifiers [@Default] at injection point [[BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject com.google.common.util

SOAP Service: Missing WS-Addressing header

我怕爱的太早我们不能终老 提交于 2020-01-25 19:27:33
问题 I have a Netbeans SOAP service I can deploy with no issues and a Silverlight client. When I call the service from Silverlight, I get (in silverlight): new DiscourseParserWSClient created; event handler added; service called; Service State is: Open http://localhost:8080/DiscourseParserWS/DiscourseParserWSService An exception occurred during the operation, making the result invalid. The remote server returned an error: NotFound. After the client calls the service, GlassFish v3 Domain responds

SOAP Service: Missing WS-Addressing header

感情迁移 提交于 2020-01-25 19:27:29
问题 I have a Netbeans SOAP service I can deploy with no issues and a Silverlight client. When I call the service from Silverlight, I get (in silverlight): new DiscourseParserWSClient created; event handler added; service called; Service State is: Open http://localhost:8080/DiscourseParserWS/DiscourseParserWSService An exception occurred during the operation, making the result invalid. The remote server returned an error: NotFound. After the client calls the service, GlassFish v3 Domain responds

OSGI - CDI / is it usable right now ? [Oct 2012]

谁说胖子不能爱 提交于 2020-01-25 15:35:56
问题 I'm quite new to Java EE 6 and OSGI concept, and i'm quite excited about it... The most exciting feature is the dynamic dependancy injection at execution time. I've seen some really great presentation where the application is ajaxly updated when a bundle is activated or unactivated, i like that way of decoupling the application in modules and updated it at run time ... Second though, i'm quite boring about XML configuration files, i think Java EE 6 with javax.inject and others annotations is

OSGI - CDI / is it usable right now ? [Oct 2012]

拟墨画扇 提交于 2020-01-25 15:34:43
问题 I'm quite new to Java EE 6 and OSGI concept, and i'm quite excited about it... The most exciting feature is the dynamic dependancy injection at execution time. I've seen some really great presentation where the application is ajaxly updated when a bundle is activated or unactivated, i like that way of decoupling the application in modules and updated it at run time ... Second though, i'm quite boring about XML configuration files, i think Java EE 6 with javax.inject and others annotations is

Why does the server log that it can not open keystore.jks when I try to create a connection pool?

这一生的挚爱 提交于 2020-01-25 10:17:29
问题 Why am I not able to create a JDBC Connection Pool in GlassFish 5.0? I want connect to MySQL server. I created connection pool by guide, but nothing is working. I used Resource type: java.sql.DataSource Driver class name: com.mysql.cj.jdbc.MysqlDataSource [2018-07-17T15:45:15.500+0300] [glassfish 5.0] [WARNING] [test.connection.pool.failed [javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service] [tid: _ThreadID=45 _ThreadName=admin-listener(4)] [timeMillis: