Quantcast
Browsing all 1091 articles
Browse latest View live

Glassfish 3.1.2.2 Admin console not opening with Unknown protocol: jndi Error.

We are facing issue while opening Admin console after extracting glassfish 3.1.2.2...

View Article


asadmin - "trust certificate" prompt

Hi,I have an asadmin multimode script that looks something like this:create-domain --user admin --passwordfile passwords testdomain start-domain testdomain enable-secure-admin --passwordfile passwords...

View Article


Windows service doesn't stay up when I ogged out.

I created the service using the configuration option in the GUI setup and added to the config.domain.xml file and restarted the service. But when I log off the service quits running and I can't reach...

View Article

GlassFish 3.1 - Connection could not be allocated because: Communications...

Here is the full error:Ping Connection Pool for test is Failed. Ping failed Exception - Connection could not be allocated because: Communications link failure The last packet sent successfully to the...

View Article

An error when perform "./asadmin start-domain domain1"

Hi, I installed GlassFish V4 with JDK 7 on the CentOS 6.4 which ran on VMware Fusion 5.0.3 on my MAC.As the method showed on "Quick Start" from Oracle, I key in "./asadmin start-domain" with default...

View Article


NullPointerException from inside proxy: logging of proxy operations?

I am staring at something quite bizarre in my debugger.I have a local EJB injected thusly into another EJB: @EJB private FooProcessor fooProcessor;In a method that I am debugging through, I do this:...

View Article

Can GlassFish/parts of GlassFish open source edition be used in commercial...

Hi all,the question i have seems quite simple: Can i use the libraries of parts of GlassFish open source edition in closed source commercial projects?Looking at the licenses (CDDL and GPL v2) isn't too...

View Article

CDI-OSGiService Injection failing

Hi,I try to learn how to use CDI in an OSGI Web application, but i don't seem to make it work after several days of trying and i am not figuring out what i am doing wrong.I have an interface:public...

View Article


server.log not updating

Hi,server.log not updating anything once all the domain/app finish startup. It should show some activity/info when i try to access my application, however It just keep freezing after that. This only...

View Article


List all applications deployed on all instances and clusters

I need to get all applications on a glassfish server including the ones deployed on standalone instances and clusters. Is there a simpler way to do it other than the below sequential approach?1. List...

View Article

@RunAs and Role Propagation

Glassfish-3.1.2.2I have 1 Servlet and 2 EJB in my project. Servlet--------->Init--------------->Print// EJB init code@Stateless @RunAs("SYSTEM") @DeclareRoles({"SYSTEM"}) public class Init {...

View Article

Mail from log handler

We need to send mail from a log handler in GlassFish. We've tried to use smtphandler-0.6 and -0.7 with limited success. We install the jarfile to domain/lib/ext. We configure smtphandler's properties...

View Article

Lookup JavaMail session

This question is related to my recent question on mailing log messages.We're attempting to send log messages via mail, with a custom log handler. As an alternative to creating our own session, it...

View Article


Getting the error 'The resource manager is doing work outside a global...

[#|2013-09-02T15:12:40.482+0200|WARNING|glassfish3.1.2|javax.enterprise.system.core.transaction.com.sun.jts.jta|_ThreadID=31;_ThreadName=Thread-2;|JTS5041: The resource manager is doing work outside a...

View Article

How to deploy Netbeans web application to Glassfish from Java code?

I am changing some Java classes on the fly and I want to deploy my Netbeans web application automatically (through) Java code to Glassfish. How to deploy Netbeans web application to Glassfish from Java...

View Article


Strange behavior for connection factory pool-size config

Hi there, I'm quite new in j2ee world and I've got a configuration problem with my MDBs. We're using Glassfish 3.2.1 and ActiveMQ 5.6.0 for our JMS queues (not topic, just queue). We have deployed into...

View Article

copy domain from Glass Fish 3.1.2 to 3.1.2.2

Hiis it possible to copy domain of GlassFish server 3.1.2 to another version , Actually it is working in same version of glass fish server, because we have lot of conflagrations in glass fish server,...

View Article


Netbeans STS problem

I am trying to build sample sts example from this tutorial: http://docs.oracle.com/cd/E19159-01/820-1072/ahiey/index.htmlI created STS service using STS wizard, and used it to secure sample Calculator...

View Article

GF4 complains about CDI failures, but I do not use CDI at all!

I can deploy my EAR on GF3, but when I want to deploy on GF4, it fails due to the following reason:"CDI deployment failure:WELD-001524 Unable to load proxy class for bean ..." which is (according to...

View Article

Free talk in London: New JMS features in GlassFish 4.0

The London GlassFish User Group has its first meeting at 6pm Wednesday 18th September. This is an independent group set up by members of the GlassFish community.I'll be speaking about "New JMS features...

View Article
Browsing all 1091 articles
Browse latest View live