RE: GBean for auto generation of primary key
---BeginMessage--- i think this can be refered to jira GERONUMO-1133 akshay From: Ranjan, Rakesh (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Fri 12/16/2005 10:07 AM To: dev@geronimo.apache.org Subject: GBean for auto generation of primary key Hi all, I have a written a custom-generator GBean which implements org.tranql.pkgenerator.PrimaryKeyGenerator. This GBean is able to create automatically generated UUID primary key for unknown primary keys. It uses. the org.apache.axis components.uuid.FastUUIDGen class for generating the UUID primary key. As we know JBoss use a automatically generated UUID primary key for unknown primary keys. That's why we are able to deploy the adventure builder application successfully on JBoss. But it create problem when we deploy it in Geronimo. Using this GBean that issue can be resolved. I have tested it with a sample application . It is working perfectly. We can use this GBean in openejb-jar.xml as follows : - primkey-fieldid/primkey-field key-generator custom-generator generatorname geronimo.server:J2EEApplication=null,J2EEModule=geronimoKeyGenerator,J2EEServer=geronimo,j2eeType=GBean,name=UUIDGBean /generator-name primary-key-classjava.lang.String/primary-key-class /custom-generator /key-generator So, I hope adventure builder deployment issue will be resolved very soon. Thanks and Regard, Rakesh Ranjan This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com winmail.dat---End Message--- This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com
RE: [Vote] Geronimo V1.0 Release binaries
---BeginMessage--- In geronimo-tomcat-j2ee-1.0.zip i tried to deploy an ear application that was working in M4. with a few changes (new configid format groupId/artifactId/version/type) it started working. But i see following two modules throwing error (TradeEJB and ActiveMQActivationSpec) 15:54:18,747 DEBUG [GBeanSingleReference] Waiting to start geronimo.server:EJBModule=daytrader-ejb-1.0.jar,J2EEApplication=geronimo/daytrader-derby-tomcat/1.0/car,J2EEServer=geronimo,j2eeType=MessageDrivenBean,name=TradeBrokerMDB because no targets are running for reference ActivationSpecWrapper matching the patterns geronimo.server:EJBModule=daytrader-ejb-1.0.jar,J2EEApplication=geronimo/daytrader-derby-tomcat/1.0/car,J2EEServer=geronimo,j2eeType=JCAActivationSpec,name=TradeBrokerMDB 15:54:20,715 WARN [SystemExceptionInterceptor] TradeEJB javax.ejb.NoSuchObjectLocalException: geronimo.server:EJBModule=daytrader-ejb-1.0.jar,J2EEApplication=geronimo/daytrader-derby-tomcat/1.0/car,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=KeySequenceEJB at org.openejb.proxy.EJBMethodInterceptor.createEJBInvocation(EJBMethodInterceptor.java:173) at org.openejb.proxy.EJBMethodInterceptor.intercept(EJBMethodInterceptor.java:115) at org.openejb.proxy.SessionEJBLocalHome$$EnhancerByCGLIB$$dd240d0b.create(generated) at org.apache.geronimo.samples.daytrader.ejb.TradeBean.ejbCreate(TradeBean.java:1178) at org.apache.geronimo.samples.daytrader.ejb.TradeBean$$FastClassByCGLIB$$7b99417a.invoke(generated) at org.openejb.slsb.EJBCreateMethod.execute(EJBCreateMethod.java:94) at org.openejb.dispatch.DispatchInterceptor.invoke(DispatchInterceptor.java:72) at org.apache.geronimo.naming.java.ComponentContextInterceptor.invoke(ComponentContextInterceptor.java:56) at org.openejb.ConnectionTrackingInterceptor.invoke(ConnectionTrackingInterceptor.java:81) at org.openejb.slsb.StatelessInstanceContext.ejbCreate(StatelessInstanceContext.java:168) at org.openejb.slsb.StatelessInstanceFactory.createInstance(StatelessInstanceFactory.java:74) at org.openejb.util.SoftLimitedInstancePool.acquire(SoftLimitedInstancePool.java:81) at org.openejb.slsb.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:84) at org.openejb.transaction.ContainerPolicy$TxRequired.invoke(ContainerPolicy.java:140) at org.openejb.transaction.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:80) at org.openejb.SystemExceptionInterceptor.invoke(SystemExceptionInterceptor.java:82) at org.openejb.GenericEJBContainer.invoke(GenericEJBContainer.java:238) at org.openejb.proxy.EJBMethodInterceptor.intercept(EJBMethodInterceptor.java:129) at org.openejb.proxy.SessionEJBHome$$EnhancerByCGLIB$$9665b69e.create(generated) at org.apache.geronimo.samples.daytrader.direct.TradeDirect.init(TradeDirect.java:2265) at org.apache.geronimo.samples.daytrader.web.TradeWebContextListener.contextInitialized(TradeWebContextListener.java:33) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127) at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:64) at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:267) at org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53) at org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47) at org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60) at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:187) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:287) at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(generated) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$8cdd2730.addContext(generated) at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:407) at
RE: [Vote] Geronimo V1.0 Release binaries
---BeginMessage--- David, Are the contents of .zip and .tar different? i see the unix startup commands are there in .zip akshay From: David Blevins [mailto:[EMAIL PROTECTED] Sent: Wed 12/14/2005 11:05 AM To: dev@geronimo.apache.org Subject: Re: [Vote] Geronimo V1.0 Release binaries Uploading again... The connection was reset. On Dec 13, 2005, at 9:29 PM, Geir Magnusson Jr. wrote: I assume david is still uploading? they aren't all there... On Dec 13, 2005, at 8:30 PM, Matt Hogstrom wrote: We are currently going through the final testing phases and have the binary images available for review. These images represent what we will be making available to users after we confirm the final set of tests. Please take some time to download a binary and review it for completeness. The binaries you will be most interested in are: http://people.apache.org/~dblevins/geronimo-1.0/ geronimo-jetty-j2ee-1.0.tar.gz geronimo-jetty-j2ee-1.0.zip geronimo-tomcat-j2ee-1.0.tar.gz geronimo-tomcat-j2ee-1.0.zip The .gz files are for *nix platforms and the .zip binaries are for Windows. There are other files in the distribution for your reviewing pleasure like source and signature files. Please post your votes and comments. Thanks [ ] +1 Release these binaries [ ] -1 Veto the release (provide specific comments) ~ Matt -- Geir Magnusson Jr +1-203-665-6437 [EMAIL PROTECTED] winmail.dat---End Message--- This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com
RE: [Geronimo] Road Map and TODO
---BeginMessage--- I think WADI is going to provide web tier clustering, any initiative for HA-JNDI? thanks Akshay From: Rajith Attapattu [mailto:[EMAIL PROTECTED] Sent: Fri 11/25/2005 7:38 PM To: dev@geronimo.apache.org; [EMAIL PROTECTED] Subject: RE: [Geronimo] Road Map and TODO Great, I will start to ramp up on WADI as much as I can. And I hope I will be upto speed in time so that I want miss out the excitement ! Looking forward to it. -Original Message- From: Jeff Genender [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 11:20 PM To: dev@geronimo.apache.org Subject: Re: [Geronimo] Road Map and TODO Tomcat clustering has been implemented as an interim. We are ramping up to use WADI which hopefully should be under Geronimo as an incubated sub-project. WADI will ultimately do the clustering, dynamic cache, and replication for Geronimo. We are cleaning up a few items and will integrate it in shortly. If you are interested in helping out on this, have a look at wadi.codehaus.org for now. Shortly we hope to have this over here ;-) Jeff Rajith Attapattu wrote: Hi Guys, I am very interested in the Clustering and remote deployment and management features. What is the current status of these two features??? I am very much interested in getting involved. Any pointers will be very helpful. Thanks, Rajith Attapattu. winmail.dat---End Message--- This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com
org.omg.CORBA.MARSHAL: java.lang.ClassCastException thrown while marshaling the reply
i think it didn't get posted earlier properly. forwarding again... Hi,I am trying to access a session bean deployed on Geronimo1.0M5 from a orbacus4.3.0 c++ client in fedora core3.1. The client side corba url is: corbaname:iiop:[EMAIL PROTECTED]:1050#cts/sample/SampleSessionBean2. The ejb deploment plan as follows:?xml version="1.0" encoding="UTF-8"?application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0" configId="SampleSession-configid" parentId="org/apache/geronimo/ServerCORBA" import uriorg/apache/geronimo/Security/uri /import module ejbCTS_SAMPLE_SESSION_GERONIMO.jar/ejb openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0" configId="ejb-SampleSessionBean-configid" parentId="org/apache/geronimo/ServerCORBA" enterprise-beans session ejb-nameSampleSessionBean/ejb-name jndi-namects/sample/SampleSessionBean/jndi-name tss-linkIdentityTokenNoSecurity/tss-link /session /enterprise-beans /openejb-jar /module/application3. The orb-string_to_object() is successfull in client side and able to get the home reference. but the home-create() fails. The geronimo stack trace as follows:12:14:48,102 INFO [Daemon] Server startup completed12:14:54,635 DEBUG [ServerSecurityInterceptor] receive_request_service_contexts()12:14:54,651 DEBUG [ServiceContextInterceptor] Looking for SSL Session12:14:54,684 DEBUG [ServerSecurityInterceptor] receive_request(create [geronimo.server:EJBModule=ejb-SampleSessionBean-configid,J2EEApplication=null,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=SampleSessionBean]12:14:54,685 DEBUG [ServerSecurityInterceptor] Found server policy12:14:54,711 DEBUG [ServerSecurityInterceptor] No security service context found12:14:54,712 DEBUG [ServerSecurityInterceptor] Subject: Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest] Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest]12:14:54,717 DEBUG [StandardServant] Calling create12:14:54,884 DEBUG [ServerSecurityInterceptor] send_reply()12:14:54,937 DEBUG [ClientSecurityInterceptor] Checking if target _is_a has a security policy12:14:55,012 DEBUG [ClientSecurityInterceptor] Target has a security policy12:14:55,020 DEBUG [ClientTransactionInterceptor] Checking if target _is_a has a transaction policy12:14:55,020 DEBUG [ClientTransactionInterceptor] Target has a transaction policy12:14:55,079 DEBUG [ServerSecurityInterceptor] receive_request_service_contexts()12:14:55,079 DEBUG [ServiceContextInterceptor] Looking for SSL Session12:14:55,079 DEBUG [ServerSecurityInterceptor] receive_request(_is_a [geronimo.server:EJBModule=ejb-SampleSessionBean-configid,J2EEApplication=null,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=SampleSessionBean]12:14:55,079 DEBUG [ServerSecurityInterceptor] Found server policy12:14:55,079 DEBUG [ServerSecurityInterceptor] No security service context found12:14:55,079 DEBUG [ServerSecurityInterceptor] Subject: Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest] Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest]12:14:55,079 INFO [MappedServerTransactionPolicyConfig] No tx mapping for operation: _is_a12:14:55,079 DEBUG [ServerSecurityInterceptor] send_reply()12:14:55,097 DEBUG [Util] Exception in result copyorg.omg.CORBA.MARSHAL: java.lang.ClassCastException thrown while marshaling the reply: null vmcid: 0x0 minor code: 0 completed: Yes at org.openejb.corba.CorbaApplicationServer.getEJBObject(CorbaApplicationServer.java:72) at org.openejb.server.ServerFederation.getEJBObject(ServerFederation.java:119) at org.openejb.proxy.ReplacementStrategy$1.writeReplace(ReplacementStrategy.java:73) at org.openejb.proxy.SerializationHandler.writeReplace(SerializationHandler.java:99) at org.openejb.proxy.EJBObjectImpl.writeReplace(EJBObjectImpl.java:115) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at org.openejb.proxy.SerializationHandler.copyObj(SerializationHandler.java:111) at org.openejb.corba.util.Util.writeObject(Util.java:463) at org.openejb.corba.StandardServant._invoke(StandardServant.java:322) at com.sun.corba.se.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:517) at com.sun.corba.se.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:207) at
org.omg.CORBA.MARSHAL: java.lang.ClassCastException thrown while marshaling the reply
Title: org.omg.CORBA.MARSHAL: java.lang.ClassCastException thrown while marshaling the reply Hi, I am trying to access a session bean deployed on Geronimo1.0M5 from a orbacus4.3.0 c++ client in fedora core3. 1. The client side corba url is: corbaname:iiop:[EMAIL PROTECTED]:1050#cts/sample/SampleSessionBean 2. The ejb deploment plan as follows: ?xml version=1.0 encoding=UTF-8? application xmlns=http://geronimo.apache.org/xml/ns/j2ee/application-1.0 configId=SampleSession-configid parentId=org/apache/geronimo/ServerCORBA import uriorg/apache/geronimo/Security/uri /import module ejbCTS_SAMPLE_SESSION_GERONIMO.jar/ejb openejb-jar xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.0 configId=ejb-SampleSessionBean-configid parentId=org/apache/geronimo/ServerCORBA enterprise-beans session ejb-nameSampleSessionBean/ejb-name jndi-namects/sample/SampleSessionBean/jndi-name tss-linkIdentityTokenNoSecurity/tss-link /session /enterprise-beans /openejb-jar /module /application 3. The orb-string_to_object() is successfull in client side and able to get the home reference. but the home-create() fails. The geronimo stack trace as follows: 12:14:48,102 INFO [Daemon] Server startup completed 12:14:54,635 DEBUG [ServerSecurityInterceptor] receive_request_service_contexts() 12:14:54,651 DEBUG [ServiceContextInterceptor] Looking for SSL Session 12:14:54,684 DEBUG [ServerSecurityInterceptor] receive_request(create [geronimo.server:EJBModule=ejb-SampleSessionBean-configid,J2EEApplication=null,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=SampleSessionBean] 12:14:54,685 DEBUG [ServerSecurityInterceptor] Found server policy 12:14:54,711 DEBUG [ServerSecurityInterceptor] No security service context found 12:14:54,712 DEBUG [ServerSecurityInterceptor] Subject: Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest] Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest] 12:14:54,717 DEBUG [StandardServant] Calling create 12:14:54,884 DEBUG [ServerSecurityInterceptor] send_reply() 12:14:54,937 DEBUG [ClientSecurityInterceptor] Checking if target _is_a has a security policy 12:14:55,012 DEBUG [ClientSecurityInterceptor] Target has a security policy 12:14:55,020 DEBUG [ClientTransactionInterceptor] Checking if target _is_a has a transaction policy 12:14:55,020 DEBUG [ClientTransactionInterceptor] Target has a transaction policy 12:14:55,079 DEBUG [ServerSecurityInterceptor] receive_request_service_contexts() 12:14:55,079 DEBUG [ServiceContextInterceptor] Looking for SSL Session 12:14:55,079 DEBUG [ServerSecurityInterceptor] receive_request(_is_a [geronimo.server:EJBModule=ejb-SampleSessionBean-configid,J2EEApplication=null,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=SampleSessionBean] 12:14:55,079 DEBUG [ServerSecurityInterceptor] Found server policy 12:14:55,079 DEBUG [ServerSecurityInterceptor] No security service context found 12:14:55,079 DEBUG [ServerSecurityInterceptor] Subject: Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest] Principal: public-properties-realm:[org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal:guest] 12:14:55,079 INFO [MappedServerTransactionPolicyConfig] No tx mapping for operation: _is_a 12:14:55,079 DEBUG [ServerSecurityInterceptor] send_reply() 12:14:55,097 DEBUG [Util] Exception in result copy org.omg.CORBA.MARSHAL: java.lang.ClassCastException thrown while marshaling the reply: null vmcid: 0x0 minor code: 0 completed: Yes at org.openejb.corba.CorbaApplicationServer.getEJBObject(CorbaApplicationServer.java:72) at org.openejb.server.ServerFederation.getEJBObject(ServerFederation.java:119) at org.openejb.proxy.ReplacementStrategy$1.writeReplace(ReplacementStrategy.java:73) at org.openejb.proxy.SerializationHandler.writeReplace(SerializationHandler.java:99) at org.openejb.proxy.EJBObjectImpl.writeReplace(EJBObjectImpl.java:115) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at org.openejb.proxy.SerializationHandler.copyObj(SerializationHandler.java:111) at org.openejb.corba.util.Util.writeObject(Util.java:463) at org.openejb.corba.StandardServant._invoke(StandardServant.java:322) at com.sun.corba.se.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:517) at com.sun.corba.se.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:207) at
Apache Geronimo CORBA implementation
Title: Apache Geronimo CORBA implementation Hi, With reference to JIRA bug URL: http://issues.apache.org/jira/browse/GERONIMO-, i see a couple of descussions on Apache Geronimo CORBA implementation, can anybody help me knowing why there is a need for writing a new corba? Can't any existing ORB (Ex. Jacorb) be fit into Geronimo's requirement for interoperability with iiop spec? Thanks Akshay This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com