Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread axiez
I added activemq-core-4.1.2*.jar to classpath and retried. This time error message is: Exception in thread "main" java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap at org.apache.activemq.jndi.ActiveMQInitialContextFactory.getInitialContext(ActiveMQIni

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread viola.lu
pls add backport-util-concurrent-*.*.jar under $G_Dir\repository\backport-util-concurrent\backport-util-concurrent\*.*\ to classpath. axiez wrote: > > I added activemq-core-4.1.2*.jar to classpath and retried. This time error > message is: > Exception in thread "main" java.lang.NoClassDefFoundEr

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread viola.lu
You miss commons-logging-1.0.4.jar on classpath. axiez wrote: > > I have the following sample code and jndi.properties file: > import javax.jms.*; > import javax.naming.InitialContext; > import java.util.*; > import java.io.*; > public class LogClient { > public static void main(String[] arg

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread axiez
I added commons-logging-1.0.4.jar. This time the error is: java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats axiez wrote: > > I have the following sample code and jndi.properties file: > import javax.jms.*; > import javax.naming.InitialContext; > import java.util.*; > import

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread axiez
I added backport-util-concurrent-2.2.jar to classpath. This time the error is: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory axiez wrote: > > I have the following sample code and jndi.properties file: > import javax.jms.*; > import javax.naming.InitialContext; > import ja

deploy a GBean - how ?

2009-01-19 Thread Juergen Weber
Hi, I try to encapsulate my JNI calls in a GBean. I read a lot of docs and articles, wrote my GBean along the sample in this posting http://www.nabble.com/POJO-caching-in-geronimo-td16986524s134.html read this Wiki entry: http://cwiki.apache.org/GMOxDEV/gbeansarticle1.html Unfortunately the ent

[DISCUSS] Security Vulnerability Policy created

2009-01-19 Thread Donald Woods
There was a long discussion around mid-December on the private and security Geronimo mailing lists about how to handle security vulnerabilities. The outcome of that discussion (which is mainly a boilerplate suggested by Mark Thomas for all projects to use) can be found on our Project Policies

Re: [DISCUSS] Security Vulnerability Policy created

2009-01-19 Thread Kevan Miller
On Jan 19, 2009, at 9:14 AM, Donald Woods wrote: There was a long discussion around mid-December on the private and security Geronimo mailing lists about how to handle security vulnerabilities. The outcome of that discussion (which is mainly a boilerplate suggested by Mark Thomas for all

Re: deployment for MySQL XA.

2009-01-19 Thread Forrest Xia
Thanks David for pointing out the wrong points. I made some tries, and figure out a sample datasource for mysql: mysqlxads http://geronimo.apache.org/xml/ns/deployment-1.2";> org.tranql tranql-connector-mysql-xa rar http://geronimo.

Re: deployment for MySQL XA.

2009-01-19 Thread bongosdude
David, I could not figure out how to copy the plan out of the dbpool wizard. Can you show me the steps? -B djencks wrote: > > The easiest way is to use the admin console database wizard. You can > copy the plan out of the wizard to put into your plan.xml source. You > can duplicate the

Re: deployment for MySQL XA.

2009-01-19 Thread bongosdude
I have put your suggestions into my plan.xml. but maven still complains? http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";> http://geronimo.apache.org/xml/ns/deployment-1.2";> console.dbpool my_users 1.0 rar

Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-19 Thread bongosdude
David, I put it the file persistence.xml in ${EJB_PROJECT_HOME}/src/resources/META-INF/ Should I put it under tomcat/jetty tomcat? -B djencks wrote: > > > On Jan 18, 2009, at 6:23 PM, bongosdude wrote: > >> >> David, >> >> my database name is my_users. and I have two dbpool defined to poin

Re: [DISCUSS] Security Vulnerability Policy created

2009-01-19 Thread Donald Woods
Sounds good to me. Should step #8 include a post to the private@ list, so other PMC members will have some history behind the fixes being checked into svn in step #9? -Donald Kevan Miller wrote: On Jan 19, 2009, at 9:14 AM, Donald Woods wrote: There was a long discussion around mid-Decem

Accessing JMS in web app

2009-01-19 Thread James Bailey
I'm having a bear of a time trying to get JMS to work from within a web application. Here's all the pertinent information. I've created the following via the console: Group: Logging (console.jms/Logging/1.0/rar) Type - Name - Deployed As - State Connection Factory - LoggingConnectionFactory - S

Re: deployment for MySQL XA.

2009-01-19 Thread bongosdude
Hi I added this MS SQL resourceadapter into my datasource plan javax.sql.DataSource mynuvoip sa xx com.microsoft.sqlserver.jdbc.SQLServerDriver

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread viola.lu
I think you forgot to add a geronimo server runtime library, which includes general libs such as commons-loogins,geronmo-j2ee-management_1.1_spec.. axiez wrote: > > I added commons-logging-1.0.4.jar. This time the error is: > java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread axiez
Could you please tell me how to add Geronimo server runtime library? axiez wrote: > > I have the following sample code and jndi.properties file: > import javax.jms.*; > import javax.naming.InitialContext; > import java.util.*; > import java.io.*; > public class LogClient { > public static vo

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread viola.lu
1.In eclipse, first install Geronimo Eclipse Plugin from http://geronimo.apache.org/development-tools.html, and define a Geronimo server runtime. 2.In eclipse,right-click your project, "build-path"->"library"->"add library"->"Server runtime"->choose "apache geronmo server ",then you can run your a

Re: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

2009-01-19 Thread axiez
I added asm-2.2.3.jar, asm-commons-2.2.3.jar, cglib-nodep-2.1_3.jar, commons-cli-1.0.jar, geronimo-cli-2.1.3.jar, geronimo-deploy-jsr88-bootstrapper-2.1.3.jar, geronimo-jaxws-builder-2.1.3.jar, geronimo-kernel-2.1.3.jar, geronimo-transformer-2.1.3.jar, jcl104-over-slf4j-1.4.3.jar, jsr88-deployment