Glassfish hooks
Does Glassfish has any hooks for start and shutdown and for domain start/stop ? ...
Does Glassfish has any hooks for start and shutdown and for domain start/stop ? ...
We are doing research right now on whether to switch our postgresql db to an embedded Derby db. Both would be using glassfish 3 for our data layer. Anybody have any opinions or knowledge that could help us decide? Thanks! edit: we are writing some performance tests ourselves right now. Looking for answers more based on experience / fir...
Hi, I have a rather unusual idea. I want to run a single instance of a JEE application client inside app server, in a similar way that JMS provider is run/embedded "within" the app server, so that it is started and stopped with the app server. Why? To ease deployment and maintenance of a complex distributed JEE system which has applicat...
I was asked to create, with Netbeans (glassfish), a Java Web service asynchronos that communicates with a external BPEL process.Is it possible? Can someone help me? give me some examples? thanks sorry for my English, I am Italian. ...
I have a web service generated by wsgen through maven. When I deploy the service to Glassfish it places the server URL into the WSDL. Our Glassfish server is fronted by an Apache proxy server. What this all means is when someone accesses our WSDL and looks at the service endpoint and the soap address location they see is http://app...
I have an EJB Project with a @Singleton EJB defined as: @LocalBean @Singleton @Startup public class DataModelBean implements DataModelBeanLocal { I then have another EJB Project with another EJB: @LocalBean @Singleton @Startup @EJB(beanInterface=DataModelBeanLocal.class,name="DataModelBeanLocal") @DependsOn("DataModelBeanLocal") pu...
We are having issues with multiple Struts2 applicaiton WAR's installed to a GlassFishV2 server. These multiple apps all share the common Struts2.jar and few other core jars. Issue we are having is that at times the global resource files are getting lost for some application when another application deploys a new build. Global Resource...
I've created a Java web service using the @WebService annotation and deployed the service to a Glassfish server that lives behind a proxy server. The problem is when someone accesses our WSDL and looks at the service endpoint address location they see http://app server url/service... instead of http://proxy server url/service... I...
I have installed Glassfish v3 on a standalone server running ubuntu-server 9.10. I can open the Admin website if I use a browser running on the server by browsing to: http:// localhost:4848/ I would like to access it from a remote machine by browsing to something like http:// mydomain.com:4848/ The firewall is definitely allowing tra...
I am working on a Java EE 6 Enterprise Application that runs on my local Glassfish3 installation. One of my EJBs needs to send messages to a remote JMS Broker which is located somewhere on the Internet. Unfortunately, the Internet connection is rather unreliable, so my idea is to first send the messages to the local Glassfish's own JMS...
Hello I just started to learning Eclipse with Glassfish server. I was looking around how can I make simple database web application, but can't figure out yet. I downloaded the Glassfish bundle for Eclipse. I need to create simple database ( perhaps one table ), and connect the database with simple web application. How to do that in Ec...
I am going to be creating an application that will be highly distributed. There will be several "agents" each agent is a source of events, from external devices, ftp or filesystem. These agents will be deployed on seporate machines, close to the hardware source that will create the event. These agents will report back events to the ce...
I want to use a custom authentication module conforming to JSR 196 in GlassFish 3. The interface javax.security.auth.message.ServerAuth has the method: AuthStatus validateRequest( MessageInfo messageInfo, javax.security.auth.Subject clientSubject, javax.security.auth.Subject serviceSubject ) AuthStatus can be one of several cons...
Hi! I am trying to perform a JNDI-lookup from within the GWT devmode. I have a local glassfishv3 running the EJBs I want to look up. If i deploy the GWT-Webapp into said glassfish everything works as expected. But if I try to look up the EJBs from within devmode I get this Exception: javax.naming.NamingException: Lookup failed for 'my...
Our product ecosystem: Web/Enterprise Application using EJB in Glassfish V3 and PostgreSQL 8.4. How to detect which field was changed without using dirty flags or re-reading the same record(s) before updating it ? Why: For audit purpose/logging Any recipes or ideas ? Thanks Sven ...
Hello I am completely new to login and authentication concepts. I am working on a Glassfish web application that should present general content to any visitor, and some extra content for registered users logged in with username and password. I have been reading the Java EE tutorial about security, and I thought that the Form-based or H...
I have some java code which allows users to reset their passwords stored on a LDAP server. The code runs as part of a web application running on Glassfish. The problem I'm seeing is that after calling the change password operation, the user can subsequently use either password to access the application. I have a unit test which runs...
I have a Java project running on Glassfish that renders some ugly looking HTML. Its a side effect from using various internal and external JSP libraries. I would like to set up some sort of post-render filter that would feed the final HTML through HTMLTidy so that the source is nice and neat to aid debugging. Is this possible? Is there ...
Hi all, While accessing a property from a sub class in JSF, it fails with the error below: javax.el.PropertyNotFoundException: /grouptable/Create.xhtml @19,281 value="#{grouptableController.selected.grouptablePK.groupid}": Target Unreachable, 'null' returned null at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpressio...
Using an Existing Module ... Is there a authentication module for GlassFish 3 that integrates CAS into the server? Preferably this module conforms with JSR 196. How can I provide group information (user A is in Group X, Y, Z) with such a module? I would need a separate group database or webservice. ... or Writing a New Module? If no s...