glassfish

Exception when undeploying JBoss Drools app

Hi, I am writing a JEE app with Java 6 and Glassfish. I use Drools rules engine in it and it works fine until I undeploy the application. When I do that I get this Exception over and over again. Restarting the app server is the only way to stop it. Of course that is unacceptable in productive environment... Any Ideas? Is the META-INF/se...

how to resolve these exceptions in netbeans?

http://blogs.czapski.id.au/wp-content/uploads/2010/03/02_PatientSvc_MakeHL7v2DelimDataFromCustomDelimRecords_data2.zip i have to deploy the project on given location it is build successfully but when i deploy this project it gives following exceptions and errors ERROR: Failed execution of Start: HL7Feeder_CA * Component: sun-bpel-e...

How to connect to a database configured in glassfish from an external java application?

Hi The title pretty much says it all, but here's some background. We have a database configured in glassfish accessed by a website deployed on glassfish, we also access the database from an external java application, it occurred to me that this could be somewhat inefficient since we open quite a few connections to the database from our...

Debugging transactions with Glassfish 2.1

Occasionally, I get following exception when running my Java EE application with Glassfish: Error in allocating a connection. Cause: java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources. The application uses a single JDBC connection pool that is not XA-capable. However, I was not...

Calling getUserPrincipal() in a Web Service returns ANONYMOUS

Hello everyone I'm trying to use plain SSL between my web service and a client application. They are both running in GlassFish 2.1.1 and are each in seperate domains. The client application is itself web application and I have add the JVM option -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as in order to get it to send it's cert...

GlassFish gem reload

Using JRuby from RVM and the GlassFish Ruby gem. I haven't been able to reproduce this in other projects. However, in one project of mine, regardless of what's in the config.ru, if I run $ glassfish, then it loads up the server and the output is from when I first launched GlassFish many days ago, even if I uninstall and reinstall the ge...

How to disable local @EJB annotation on a client? (glassfish)

Hi All, I have a an ejb3 jar file containing: 1) remote interface I1 and the stateless implementation IMPL1 (exposed to the client) 2) local interface I2 and the stateless implementation IMPL2 (used locally within the server application) IMPL1 has got @EJB annotation to inject local I2 (IMPL2). When I put the ejb3 jar to the client ...

What is the correct maven2 phase for deployment into application server?

I'm trying to configure pom.xml so that it automatically deploys EAR archive to GlassFish application server. I want to attach this operation to the proper maven execution phase. But can't understand which one is dedicated just for this operation? Deploy? Install? Please, help. This is what I'm doing: <plugin> <artifactId>maven-antr...

how do i deploy mobicents to glassfish v3

is anyone using Mobicents with Glassfish in place of JBoss? how do i deploy mobicents to glassfish v3? ...

GlassFish Forbidden 403 error page

I am really confused with this error and need some help. When accessing my link the first time in IE I type in : https://something/other/test.jsp and I'm presented with the FORBIDDEN-403 GlassFish Enterprise Server is now Presenting The Forbidden Page error page in GlassFish. However, if I refresh this same page then I see the resul...

how do i deploy mobicents to glassfish ?

Possible Duplicate: how do i deploy mobicents to glassfish v3 Mobicents with Glassfish in place of JBoss? how do i deploy mobicents to glassfish v3? wating your answers.. ...

How can I trigger a Java servlet function when mail is received?

I am aware that Google App Engine can capture email and fire a function, but I would like this functionality in a Tomcat, Glassfish, or any other Java server. I would like to avoid setting up a mailbox and running a cron job every few seconds or minutes. A Java class and some server configuration would be ideal, but I have no idea where...

where to download glass-fish plugins for eclipse 3.6 (Helios)

Dear all, Would you please help me to download glass-fish plugins for eclipse 3.6 (Helios) I tried 'https://ajax.dev.java.net/eclipse' URL in new software install in the eclipse, but it doesn't work and show me 'Cannot complete the install because one or more required items could not be found.' Error Regards ...

Comparing OpenEjb and Glassfish

Dear all, can we replace Glassfish with Tomcat/OpenEJB for lighter applications? What is the performance of OpenEJB comparing to glassfish as EJB container. What is the restrictions of OpenEJB instead of glassfish? Regards ...

What happens to open source Glassfish by Oracle?

Dear members, As you know Sun/Glassfish has been captured by the Oracle and Oracle has commercial approach. So, what do you think for the future of Open-Source Glassfish and/or Netbeans IDE? Is this better choice to migrate to eclipse/Jboss or not yet? Regards ...

Java EE 6 with GlassFish v3 and MyEclipse 8.5: Best Way to Structure Projects?

Hi all, long time listener, first time caller here. We are in the process of moving from BEA WebLogic 10 to GlassFish v3. We have successfully moved a massive project to GlassFish, and everything's working, but now we're planning for the future. Specifically, we are using MyEclipse 8.5 with a single Enterprise Application project (DCMH...

JavaEE Security,Access restricted pages: Logged out user is redirected correctly. Logged in user is not.

My app is a Java EE 6 application, running on Glassfish 3.0.1. I'm using Java EE Security, with a JDBC Realm. So i added restrictions to some of my web pages. I added the following login-config and security-constraint to my web.xml: <!-- Redirect access of restricted pages to index.jsp --> <login-config> <auth-method>FORM</auth-meth...

Hot deployment to GlassFish using cargo-maven2-plugin, how to configure?

Did I understand right from this page that Cargo Maven plugin doesn't support hot remote deployment to GlassFish 3.x? If I'm wrong, how can I configure it to support such type of operation? Maybe I should use some other plugin? I'd like to deploy to GlassFish remote installation, through HTTP, in "hot" mode. ...

how can i use a shared lib in glassfish to avoid deployment of the huge libs?

I have to upload about 30M for my app since it uses a lot of libraries, log, web engine and so on. I think there should be a way to share these libs on glassfish, but I failed to figure it out. I tried to put them in domain/lib/ext but does not work. So where should I store these libs and how should I refer to them? thank you. ...

ibatis + glassfish: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

I keep getting the error randomly: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Anyone got ideas? ERROR: java.sql.Connection - Error calling Connection.setAutoCommit: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from ...