Re: Differences between app servers

2009-10-08 Thread Néstor Boscán
You know, after a lot of fighting on getting a war file to work with WebLogic 10.3 I finally was a able to make it work. I did have to create the weblogic.xml on the WEB-INF directory: ?xml version=1.0 encoding=UTF-8? !DOCTYPE weblogic-web-app PUBLIC -//BEA Systems, Inc.//DTD Web Application

Re: Differences between app servers

2009-10-08 Thread Jim Collings
But it still is incredibly annoying that I have to send the war file with all libraries to make it to work. Clarification? Are you installing the jar libraries as Oracle shared libraries or something? I'm totally gonna blow a gasket if I have to do that. I've created a new thread with more

Re: Differences between app servers

2009-10-08 Thread Néstor Boscán
Hi jim The libraries goes on the web-inf/lib directory. I dont think there is a global library option like oc4j in weblogic, something that im really missing. Regards, Nestor On 10/8/09, Jim Collings jlistn...@gmail.com wrote: But it still is incredibly annoying that I have to send the war

Differences between app servers

2009-10-07 Thread Jim C.
Are there archetypes or something else out there that will differentiate between application servers? We try to write cross platform Java and it seems like our app server vendors are fighting us tooth and nail. I suppose that is the reason for GlassFish but our shop isn't allowed to use it. Jim

Re: Differences between app servers

2009-10-07 Thread Brett Randall
On Wed, Oct 7, 2009 at 11:21 AM, Jim C. jclli...@gmail.com wrote: Are there archetypes or something else out there that will differentiate between application servers? We try to write cross platform Java and it seems like our app server vendors are fighting us tooth and nail. I suppose that

Re: Differences between app servers

2009-10-07 Thread Jim Collings
Not so much. Take Weblogic for example. You really can't deploy a Struts2 based WAR file to it because of library conflicts. It would be cool if I could specify somehow, somewhere that this is a Weblogic project. Then it would always build as an ear and would include a weblogic-application.xml

Re: Differences between app servers

2009-10-07 Thread Brett Randall
Hi Jim If you are not already using them, you might like to take a look at Maven Profiles. By activating a profile, you can influence the artifacts and resources which make up a particular build e.g. targeting a specific appserver. If you write a lot of web apps for deployment to different