RE: orion-ejb-jar.xml, ejb-jar.xml and deployment
Vipul, Orion will not copy over an old orion-ejb-jar.xml file. So if you redeploy, if you don't blow away the previous deployment, you are still on the old file. This could be your problem. Regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vipul Sagare Sent: Tuesday, February 19, 2002 8:58 AM To: Orion-Interest Subject: orion-ejb-jar.xml, ejb-jar.xml and deployment I have seen discussion on this topic but I was not able to get working solution for me. Here is my problem: I have OC4J. I have an application where I have deployed few CMP EJBS. At present, there are NO orion-xxx.xml deployment descriptors(DD). Now, I would like to introduce orion specific DDs where I can use Orion specific tags (example: EJBs. CMP field name- UserName and persistence name- user_name). What is recommended/or correct process? The process I followed and did NOT work for me. - Deploy application. - Copy orion-ejb-jar.xml from deployment and just keep the EJB tag which I want change. Put this xml file at the same place as ejb.jar.xml - Change the EJB code. - Use ant to build .ear file and deploy. The changes in orion-ejb.jar.xml do NOT get into the deployed DD. I also came across Xdoclet. But could not proceed without any luck. Your help is appreciated. Thank you. Vipul __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
Re: orion-ejb-jar.xml, ejb-jar.xml and deployment
Vipul, There is a new knowledge base document available describing how it work with orion-XXX.xml files. You can find it here: http://kb.atlassian.com/content/atlassian/howto/orionxml.jsp Cheers, Scott Scott Farquhar :: [EMAIL PROTECTED] Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World The elephantwalker wrote: Vipul, Orion will not copy over an old orion-ejb-jar.xml file. So if you redeploy, if you don't blow away the previous deployment, you are still on the old file. This could be your problem. Regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vipul Sagare Sent: Tuesday, February 19, 2002 8:58 AM To: Orion-Interest Subject: orion-ejb-jar.xml, ejb-jar.xml and deployment I have seen discussion on this topic but I was not able to get working solution for me. Here is my problem: I have OC4J. I have an application where I have deployed few CMP EJBS. At present, there are NO orion-xxx.xml deployment descriptors(DD). Now, I would like to introduce orion specific DDs where I can use Orion specific tags (example: EJBs. CMP field name- UserName and persistence name- user_name). What is recommended/or correct process? The process I followed and did NOT work for me. - Deploy application. - Copy orion-ejb-jar.xml from deployment and just keep the EJB tag which I want change. Put this xml file at the same place as ejb.jar.xml - Change the EJB code. - Use ant to build .ear file and deploy. The changes in orion-ejb.jar.xml do NOT get into the deployed DD. I also came across Xdoclet. But could not proceed without any luck. Your help is appreciated. Thank you. Vipul __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com --
RE: orion-ejb-jar.xml
Beware I think this is changing in 1.4.8 so that _all_ config files will be in /META-INF (makes more sense for consistency). -mike -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ron van PolSent: Sunday, April 22, 2001 1:24 AMTo: Orion-InterestSubject: RE: orion-ejb-jar.xml orion-ejb-jar.xml has to be located at orion/orion-ejb-jar.xml, NOT in META-INF/orion-ejb-jar.xml. Snip form http://www.orionserver.com/docs/orion-ejb-jar.xml.html: "An orion-ejb-jar.xml file contains the deploy-time info for an ejb-jar. It is located in ORION_HOME/application-deployments/deploymentName/jarname(.jar)/orion-ejb-jar.xml after deployment and orion/orion-ejb-jar.xml below the ejb-jar root if bundled with the application or if no deployment-directory is specified in server.xml. " -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stan NgSent: Saturday, April 21, 2001 4:56 AMTo: Orion-InterestSubject: orion-ejb-jar.xml I'm noticing that my JNDI settings are being picked up from the ejb jar. I've specified the mappings in my META-INF/orion-ejb-jar.xml but Orion ignores the file when it deploys. Is anyone else experiencing this and if not, could you provide an example EJB jar that works? I thought I had this working before, but something seems to be broken now... Thanks in advance!
RE: orion-ejb-jar.xml
orion-ejb-jar.xml has to be located at orion/orion-ejb-jar.xml, NOT in META-INF/orion-ejb-jar.xml. Snip form http://www.orionserver.com/docs/orion-ejb-jar.xml.html: "An orion-ejb-jar.xml file contains the deploy-time info for an ejb-jar. It is located in ORION_HOME/application-deployments/deploymentName/jarname(.jar)/orion-ejb-jar.xml after deployment and orion/orion-ejb-jar.xml below the ejb-jar root if bundled with the application or if no deployment-directory is specified in server.xml. " -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stan NgSent: Saturday, April 21, 2001 4:56 AMTo: Orion-InterestSubject: orion-ejb-jar.xml I'm noticing that my JNDI settings are being picked up from the ejb jar. I've specified the mappings in my META-INF/orion-ejb-jar.xml but Orion ignores the file when it deploys. Is anyone else experiencing this and if not, could you provide an example EJB jar that works? I thought I had this working before, but something seems to be broken now... Thanks in advance!
RE: orion-ejb-jar.xml example needed
Hi All By the way, do we have to modify orion-application.xml as well? And where should we put it? Thanks in advance Lynch
RE: orion-ejb-jar.xml
Yes, do an auto-deploy and then copy the orion-ejb-jar.xml from your deployments directory to the /orion directory in you ejb directory e.g. MyApp-ejb META-INF(ejb-jar.xml) orion (orion-ejb-jar.xml) com myname myclasses etc. The file will be copied from this directory, and will form the basis for the deployed version once the deployer has updated times, wrappers etc. This copying only happens if the deployed orion-ejb-jar is deleted, it does not seem to do a timestamp comparison. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Vidur Dhanda [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 2:05 PM To: Orion-Interest Subject: orion-ejb-jar.xml Is it possible to provide an orion-ejb-jar.xml file with the ejb-jar.xml file to Orion? When Orion deploys a new ejb-jar file, it creates the finder methods and one needs to manually edit them after deployment. I would like to provide at least a skeleton of the orion-ejb-jar file with the specific finder methods. Thanks, Vidur