Quantcast
Browsing all 1091 articles
Browse latest View live

JDBC Realm Glassfish 4.0 - SEC1112: Cannot validate user [...] for JDBC realm

I tried to to buid up a JDBC Realm and test it with a simple example. The example works well with a file Realm. My error message is: SEVERE: SEC1112: Cannot validate user [hugo@khrau.de] for JDBC...

View Article


Changing ejb-jar.xml and persistence.xml in runtime

Using GF3.1.x, is there some way to change the files ejb-jar.xml and persistence.xml, and to have a command-line or a programming way to reload these files in the web app?

View Article


Enterprise application client using netbeans and glassfish server hangs

Hello,I have followed this application client tutorial from:https://netbeans.org/kb/docs/javaee/entappclient.htmlHowever when I run the EntAppClient it hangs. The offending fragment of ant file is...

View Article

Java EE 7 tutorial fails: Cannot add durable consumer MySub. No ClientID was...

Hi! I have downloaded Netbeans 7.4 with the included glassfish 4 and tried an example from the Java EE 7 tutorial:46.7.2 Running the clientsessionmdb ExampleThis fails and gives a stacktrace in...

View Article

GlassFish 4 NoClassDefFoundError javax/servlet/Filter JAMon

I'm using GlassFish 4.0. I have a Java Class Library application which contains a Java class which implements javax.servlet.Filter and uses JAMon's Monitor. The Library application uses jamon-2.7.jar...

View Article


How to encrypt jms communication between Java EE Application Client and...

The code below will run on top of a Java EE Application Client Container that connects to a remote Glassfish 4.0 server .I am able to pass messages between client and server but I'm concerned about the...

View Article

Problem editing the glassfish-web.xml file with Eclipse

I'm using Eclipse Kepler with the Oracle Enterprise Pack plugin installed. I created a new dynamic web project and specified Glassfish 4.0 as the target runtime. I also let eclipse create the web.xml...

View Article

Timer entries are deleted on server Shutdown

Hi,I am trying to work the Timer-Service but somehow I am not successful. I hope to find some help in here.I am running a Glassfish 4 and configured the resource "jdbc/__TimerPool" to persist into my...

View Article


JDBCRealm problem with Glassfish

Hi,since 2 weeks i try to get the authentication for my web-services to work. I read some tutorials like the following one (http://www.nabisoft.com/tutorials/glassfish/securing-java-ee-6-web-appli...)....

View Article


Web Application JAVA file folder

Hello,After install glassfish, the development folder is My web folder is C:\glassfish4\glassfish\domains\domain1\docroot.I have a class NameHandler.java, where the folder can put in this file? i put...

View Article

CONFIGURATION FAILED!! while deploying EAR

Hi, I am deploying my Oracle ADF Application on Glassfish. However, a sample small ADF application is working fine. When I try to deploy my application EAR, with all the required changes done with...

View Article

Glassfish 4, SSL and HTTPS - how do you do ?

Hello,Running the latest Glassfish 4 Application Server. Ordered and received a certificate from comodo ( comodo.com ). Did follow their advice on the page -> Support Center » Knowledgebase »...

View Article

How do you make a JMS messsage delivery enrol in the active container managed...

On the below example,12 messages are sent via 1.1 and 2.0 style to 2 destinations and then ctx.setRollbackOnly() is invoked. All messages arrive at two destinations, one outside the EJB container (Java...

View Article


SSL Certificate and https on Glassfish version 4 !

Hello,Running the latest Glassfish 4 Application Server. Ordered and received a certificate from comodo ( comodo.com ). Did follow their advice on the page -> Support Center » Knowledgebase »...

View Article

Remote EJB lookup behind a firewall hangs

Hi,I am trying to lookup my remote EJB on a Glassfish server located behind a firewall. I have some test code which works happily between non-firewalled boxes, but if I try looking up the EJB behind a...

View Article


Embedded database and schema fails to be created, Glassfish 4.0

Hi!I am trying to deploy a app using Maven 3.5 and glassfish 4.0 which creates an embedded derby database and schema on first start of the app. If I use a local derby server instead, the database and...

View Article

Glassfish setup SSL certificate

hey, I just installed Glassfish and want to setup my SSL Certificate. I just got the content of the Privatekey, the Certificate and the CA Bridge-Certificate from my Provider(1Blu) Can somebody help me...

View Article


Glassfish4, web and Java EE JMS

Hi,I am trying a JMS webapp using Glassfish4 as the app server and I am facing troubles on the execution of the following method, public void getMessage() { try { JMSConsumer receiver =...

View Article

the way to customize Glassfish4 to minimize the footprint (both disk and...

Hi, we are going to use Glassfish4 which has Felix as our OSGI container, we are looking for ways to customize Glassfish4 to minimize the footprint (both disk and memory usage) as we do not need some...

View Article

CLI commands for "Connection Validation"

Hi,I didn't find in Google what is the way to write a CLI command to configure the informations in "Connection Validation", in the advanced tab of a Connection Pool: - Connection Validation -...

View Article
Browsing all 1091 articles
Browse latest View live