Who is the best application server: JBoss or Glassfish?
Hi, everyone! I have a choice to do: choose a application server for my company! And I need some help. Glassfish or JBoss? Thanks. ...
Hi, everyone! I have a choice to do: choose a application server for my company! And I need some help. Glassfish or JBoss? Thanks. ...
By default, Glassfish v3 doesn't set the httpOnly flag on session cookies (when created as usual with request.getSession()). I know, there is a method javax.servlet.SessionCookieConfig.setHttpOnly(), but I'm not sure, if that's the best way to do it, and if yes, where the best place would be to put that line. BTW, of course it can't be...
Hi All, I have configured a centos 5.4 virtual box to run the liferay portal manager on a Glassfish v2.1 application server. Even though this is not recommended I gave glassfish root privileges and am allowing to listen on port 80.(I did this because of a nightmarish experience with mod_jk although the behavior that was frustrating there...
I want to deploy a HashMap of configuration to the JNDI tree of Glass Fish server. I am migrating a framework from Weblogic to GLassfish. Previously it was done via the following code.. Where the Environment is *weblogic.jndi.Environment;* public void deployConfiguration(HashMap configuration) throws GenericFrameworkException { ...
I have to deploy an application named "mrs-ws-server.war" in glassfish. I did it using both : 1) Package File to be uploaded to the server 2) Local package File or Directory at the address : http://localhost:42328/common/index.jsf It generates the following error : Exception while loading the app : java.lang.Exception: java.lang.Il...
I have a project that is Java EE 5 running on Glassfish. The IDE is Netbeans 6.7.1. We periodically have a very annoying problem with new session facades not being located via InitialContext: javax.naming.NameNotFoundException: No object bound to name java:comp/env/GlobalConfigEntityFacadeLocal In my class (within the same EJB contai...
when i try to run my jsp files in eclipse bundle with glass fish, this error prompt out, what is the problem? ...
So the basics are I have Glassfish 2.1 and Java 1.6.0_15 and it will work for a few days but it eats up all the memory it can, seemingly no matter how high the max memory is set to. It's a 32-bit jvm with the max memory now at 4GB and it uses it all up quickly then thrashes with the garbage collector bringing throughput to a crawl. So ...
I need my JavaEE-application to be deployed on Glassfish as a directory, not a packaged WAR file. Is it possible to deploy a directory to Glassfish with the Maven Glassfish Plugin? With the admin console, it's possible. But i want to be also able to do it on the command line. ...
I'm working on a large legacy application using stateless session beans that has recently been migrated from EJB2 to EJB3, and I'd like to use dependency injection. Unfortunately, in a (IMO misguided) attempt to achieve decoupling, all actual business logic lies in "manager" classes to which the session beans forward their calls. Those m...
In a Sun Glassfish server I have deployed an application that communicates with an external webservice over SSL. I have manually imported certificates in cacerts.jks with java keytool cli (keytool -import -trustcacerts -keystore cacerts.jks -alias somealias -file somecert.cer). I verify that everything works, but then after a longer wh...
My understanding is that glassfish 3 is JEE6 compliant and jax-rs-aware, and that consequently I do not have to include the jersey servlet container and mapping in my web.xml file. Here's what I was hoping my web.xml could look like <webapp> </webapp> That doesn't work though, as I get 404's when I try to hit my jax-rs path-anotated ...
version is glassfish v3 I want to trying maven-glassfish-plugin but I don't know how to create a new domain . Plz step by step say me,thx. And I want to looking pom.xml,thx ...
I used maven-glassfish-plugin create a new domain but file isn't existed master-password? Why? Command is glassfish:start-domain. My pom.xml declares the following: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <ver...
I understand that Oracle GlassFish Server 3.0.1 product is the open source Glassfish + branding + some closed source components. Is there any technical reason to purchase the commercial version? A JRockit license? Surveillance tools? Integration with other products? EDIT: Personal experiences with the commercial product is highly v...
settings.xml I define to: <profile> <id>GlassFishv3</id> <activation> <activeByDefault>false</activeByDefault> <property> <name>glassfish.version</name> <value>3</value> </property> </activation> <properties> <glassfish.home>E...
I'm just getting to grips with the NetBeans 6.9 / Glassfish 3 combo, and have developed a JEE app consisting of a WAR module and an EJB module. Having played around with the EJB side of things for a while, I went back to run the web code, and started having problems. When I try to run the WAR file, it fails to deploy, and the error from...
Latest version of both, can not see how to enable ActiveMQ as an endpoint in Glassfish. Would like to use ActiveMq as the JMS provider in Glassfish, the stuff I found on google does not make sense. Any advise welcome. Is it possible to just use the JMS connector and poitn at ActiveMQ - believe not but have I just configured wrong ? T...
Hi guys, Is there any way of making a folder that is NOT packaged in the war file accesible via GET. Probably setting something in web.xml ? ...
Hi, I'm developing a JSF2 application using Glassfish which contains some EJB's; is there a reason I should use sun-application.xml versus the standard application.xml file? I would like to deploy my application as an exploded EAR. Do I need to do anything special with the application xml configuration? Thanks in advance! ...