geronimo

java.lang.String in jndi default context with Apache Geronimo - How?

In a servlet I do the following: Context context = new InitialContext(); value = (String) context.lookup("java:comp/env/propertyName"); On an Apache Geronimo instance (WAS CE 2.1) how do i associate a value with the key propertyName? In Websphere AS 6 i can configure these properties for JNDI lookup under the "Name Space Bindings...

How to integrate Geronimo's transaction manager in Tomcat?

Does Geronimo provides a standalone transaction manager? And if it does, is it possible to use it in Tomcat? ...

Running Apache Geronimo in production

If you're running Apache Geronimo in production why did you choose it over other application servers and what are your experiences with running Geronimo in production? Can you also please share what servlet engine you decided to use (Tomcat/Jetty) and why you made this decision? UPDATE: So far this question got two up-votes and one sta...

Why use WAS-CE over Apache Geronimo?

What benefits do I gain by using IBM WebSphere Application Server Community Edition over Apache Geronimo? ...

Netbeans ejb project glassfish to apache geronimo

Hi, I have created a project using Netbeans with glassfish. It is a java ee and I have created some ejbs. I need to run this on Apache Geronimo but I don't know how to do this. Any pointers? thx ...

Why is my JNDI lookup for a QueueConnectionFactory returning null?

I am trying to look up a QueueConnectionFactory and Queue via Geronimo's JNDI. The Queue gets returned fine, but the QueueConnectionFactory lookup always returns null. It doesn't throw a NamingException, which is what I'd expect if the JNDI name was incorrect. Can anyone see what I'm doing wrong? The test code below outputs: true fals...

Grails GSP doesn't generate intended HTML under Geronimo

When running my Grails 1.1-M2 app as a WAR under Geronimo 2.1.4 (jetty6, javaee5), the HTML generated from the GSPs do not include my dynamic content. Specifically, this GSP snippet: <tr class="prop"> <td valign="top" class="name"> <label for="type"> <g:message code="album.type.label" default="Type" /> <...

[Geronimo 2.1] add a Queue JNDI ref in ejb-jar.xml? sending JMS Msg in a EJB/MDB

hi, I have an EAR application which contains an MDB and a WAR. In this EAR application I would send a message into an another Queue from other EAR application. Say jms/anotherQueue If the message sending happens in web context, it works. I have such setup in web.xml <message-destination-ref> <message-destination-ref-name>jms/another...

Geronimo Datasource password in config.ser file

If I understand correctly, datasource passwords are stored in the config.ser file. Can these passwords actually be read or are they encrytped? Thanks, Rohit ...

Geronimo vs Glassfish

For a production environment, is Apache Geronimo better for applications that uses ActiveMQ, Derby, Solr? ...

Using SSL with an application deployed on IBM-WASCE

I have an application which uses JSPs and Servlets and deployed on IBM-WASCE 2.1. I want the application to use SSL for login purposes. Based upon the documentation, I added the following lines to web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/...

how to config geronimo 'default' servlet

my site is structured as (in tomcat) blockquote /web/* blockquote /services/* where the web is all static content, html jpg, my web designer is using ftp to upload/edit the content of the /web/* /services/* is deployed as a .war file in tomcat i point the ftp user's root to /tomcat/webapp/web/ folder how to migrate to...

Nullable Date column merge problem

I am using JPA with openjpa implementation beneath, on a Geronimo application server. I am also using MySQL database. I have a problem with updating object with nullable Date property. When I'm trying to merge entity with Date property set to null, no sql update script is generated (or when other fields are modified, sql update script is...

createSQLXML() AbstractMethodError (with DB2XADataSource?)

Environment: WASCE 2.0.0.4 (aka geronimo 2.1) db2jcc4.jar 4.3.85 (tried 4.8.x as well) tranql-connector-db2-xa 1.4 (tried 1.5 as well) SQLXML xml = c.createSQLXML(); Struggling with java.lang.AbstractMethodError: java/sql/ResultSet.getSQLXML(I)Ljava/sql/SQLXML; at [snip] at javax.servlet.http.HttpServlet.service(HttpServlet.java:6...

Deploy to Geronimo with Ant

Hi, everybody. I have Apache Geronimo installed with Tomcat. I am building a war file and whant to deploy it to Geronimo automatically with Ant script. A standart way to deploy to Geronimo is to use deployer.jar, am I right? And I saw that there are tasks available to deploy jars on standalone Tomcat. So what would be the right way? Or m...

Failed to retrieve "entityManagerFactory" using Geronimo

I have just started studying Spring framework. My current goal is to access database from my bean through JPA (TopLink** provider) on Geronimo server. But I can't overcome the problem of getting entityManagerFactory. The exception I get: java.lang.IllegalStateException: ClassLoader [org.apache.geronimo.kernel.config.MultiParent...

How to get standard jmx connection to geronimo?

Does anybody knows how to get standard connection to geronimo using jconsole. I mean not https://cwiki.apache.org/GMOxDEV/apache-geronimo-with-a-monitor-component-jmx-and-jconsole.html, but whole JVM management with thread pool, memory usage, cpu usage like that screenshots http://java.sun.com/javase/6/docs/technotes/guides/management/j...

configure spring to use my CM dbpool so I can inject the persistenceContext in my dao

background: I am using geronimo + hibernate + spring. Just using the JPA api's on an EJB backend that contains no servlets, no web.xml. I've been working on this for literally 41 days and have tried all types of combinations so now I'm asking on StackOverflow for help. Please bare with me I have not slept. I have a geronimo managed...

Geronimo webapp using ldap authentication

I'm using Apache Geronimo as my application server. And authentication is happening over LDAP using Apache Directory Service. I don't have any previous experience with JavaEE software development, so please take it easy on me. Let me know if I need to explain anything in more detail. Basically my login step is pretty similar to this ...

Java Hosting options in the market

What are the best Java hosting you know working with appservers like glassfish, geronimo or jboss.. I've developed an application in glassfish, now its time to take that app online... Based on your experience what hosting sellers/managers can you recommend? ...