Hi,
I have an EJB deployed on my GlassFish v2.1 application server. I have also set up a lifecycle module within GlassFish which utilises this bean when it receives a READY_EVENT type. I have the following code to look up the bean:
BusinessInterface bean = (BusinessInterface) initialContext.lookup("JNDI lookup name");
...
// do somet...
I'm finding Liferay 5.2 to be fairly buggy (IMO) and more specifically there are a number of security-related bugs that I find very troubling. Is Sun's version of this product (Glassfish Web Space Server) any better?
...
Okay, not quite sure how to completely articulate this challenge, so I'm just going to dump.
I've been working in a whole new area creating a JBI to do some processing. Basically, the application is organized as a BPEL front end to process emails that appear in an IMAP INBOX. This, then triggers a POJO to process the contents of the ema...
In my webservice, I need to place some HTTP calls. Is it possible to do some connection pooling, like I do JDBC connection pooling?
In the Admin Console of GlassFish I see the configuration items Connector Connection Pool and Connector Resources. Can I use these?
...
I'm having real difficulty getting the eclipselink.join-fetch hint to work in glassfish.
I have a Client object that contains a collection of Task objects and the Task object has a collection of WorkPeriod objects.
My code looks like this:
Query query = entityManager.createQuery("select client from Client client left join fetch client...
Is it possible to use hibernate as Glassfish's persistence provider and if so HOW?
...
I am using a fresh Glassfish install with very little customizations.
I have a Message Driven Bean (ObjectUpdateMDB) that listens to a topic, then updates the object it receives in a database. There are a lot of objects being updated. After a while of running I get this exception:
SEVERE: JTS5031: Exception [org.omg.CORBA.INTERNAL: ...
I've created some JDBC resources and Custom resources in GlassFish. I named JDBC resource jdbc/mydb and the Custom resource service/test.
The JDBC connection is lookedup with the call ic.lookup("java:comp/env/jdbc/mydb"). It can also be found with ic.lookup("jdbc/mydb"), which has some disadvantages, see answer of Robin below.
But my ...
I have Enterprise Application with EJB3 and JSF on Glassfish server. After running this application for more than 2 weeks I realized that I have problem with Class Loading. I don't think this is a problem with permgen. The classes loaded every time when I open a page but then they never erased from the memory. Here is the snapshot of or ...
I need a method to be called in an App Server (Glassfish) every 5 seconds, no matter what. Are timers reliable enough for this? What are my options.
...
I want to play around with glassfish on a Mac, but I'm having trouble getting it to start.
I've followed the installation instructions and created a default domain, which seemed to go fine, but when I try to start it (asadmin start-domain domain1) it just sits there:
[kris@Macintosh-2:~/glassfish] ./bin/asadmin start-domain domain1
Sta...
I'm using GlassFish. This is what I want to do. I have different ejb modules which can be deployed independently from each other. But I want to have one central ejb module where all the deployed modules have to register. This is because not all modules have to be deployed.
I thought the best way is if each ejb module contains a session ...
Hi Chaps,
I tried to deploy a servlet I have created to Glassfish application server, and I seem to have hit a bit of a stumbling block. The code deploys fine to the auto deploy folder, and once it's deployed the following is written to the log file:
[#|2009-03-16T13:41:29.303+0000|INFO|sun-appserver2.1|javax.enterprise.system.tools.dep...
I am currently working on some older java code that was developed without App Servers in mind. It is basically a bunch of "black box code" with an input interface, and an output interface. Everything in the "black box" classes are static Data Structures that contain state, which are put through algorithms at timed intervals (every 10 s...
Hi,
I have created and EJB with a remote interface:
@Stateless
public class TestSessionBean implements TestSessionRemote
{
public void businessMethod()
{
System.out.println ("***businessMethod");
}
}
I to access it from another component (e.g a servlet) running on the server via:
ic = new InitialContext();
...
I've been trying to set up SSL for our Java EE application clients deployed in Glassfish (with Java web start), but after some reading I reached this page:
Does someone has any experience trying to achieve the same thing as me?
I've also considered JBoss, but Glassfish works really neat with Netbeans etc, and we really don't want to cha...
Are there any in-memory/caching solutions for java that allow for a form of Querying for specific attributes of objects in the Cache?
I realize this is something that a full blown database would be used for, but I want to be able to have the speed/performance of a cache with the Querying ability of a database.
...
I'm trying to setup Hudson in an environment where all the users use certificates. I looked around the archives here, on nabble, and on google, but if this is documented somewhere, i think I'm missing it. I'm sure part of the answer to this will be related to Hudson, and some will be specific to my servlet container.
Under Security, I...
I'm switching from Tomcat to Glassfish for an app server. Glassfish is so much more complicated its a little overwhelming. Anyway now I'm getting an exception:
java.lang.NullPointerException
at org.apache.jsp.jsps.login_jsp._jspService(login_jsp.java from :67)
Where tomcat shows you the line number and gives me some information on ...
Is there anyway to get glassfish to delete some of the old log files automatically? Yesterday we had a disk full issue due to glassfish logging. There is not apparent way to do this in the Admin Console, unless we are just ignorant.
...