Just a note to remind that the dependencies are different for WAS 6.0 and
6.1.

One particular difference is the "eclipse-like" paths to important jars in
6.1 that weren't there in 6.0. These paths look like paths to jars inside
eclipse plugins and have a "plugins" folder as one path component.

Thanks.

-- Lee

On Sun, Jun 29, 2008 at 8:06 PM, <[EMAIL PROTECTED]> wrote:

> Hi Jon,
>
>        Not to my knowledge. I used the list that RSA V7 uses as the
> WebSphere Application Server v6.1 Runtime classpath container, so that is
> what RSA uses itself to compile against. Which from Maven's point of view,
> it should be all that we need.
>
>        I've not run into issues with that list yet.
>



>
> -Chris
>
> news <[EMAIL PROTECTED]> wrote on 27/06/2008 23:09:09:
>
> > Hi Chris
> >
> > This is exactly what i was looking for - you mentioned below that this
> > was part of the batch file you use.  Are there any WAS 6.1 libraries
> > missing from the list below.
> >
> > Cheers
> >
> > Jon
> >
> > [EMAIL PROTECTED] wrote:
> > > Hi.
> > >
> > > I do not get maven to actually generate the EJB deployment code,
> WebSphere
> > > itself will do it at deployment time, so I do. If nothing else, this
> will
> > > give you a list of the jars that you need.
> > >
> > > Using RSA V7, it defines a classpath container that has all of the
> > > necessary jars in it needed to support complete websphere 6.1
> development.
> > > What I have done is to define a runtime library/aggregrate pom for the
>
> > > websphere runtime. I have not needed to define one for the JRE.
> > >
> > > This is part of a batch file that I used to copy the necessary runtime
>
> > > files (as defined in the classpath container) to a temp holding dir,
> and
> > > then install/deploy them into your repo.
> > >
> > > md C:\Temp\Maven\WAS61
> > >
> > > copy "C:\Program
> > > Files\IBM\SDP70\runtimes\base_v61\lib\WMQ\java\lib\com.ibm.mq.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > > Files\IBM\SDP70\runtimes\base_v61\lib\WMQ\java\lib\com.ibm.mqjms.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program Files\IBM\SDP70\runtimes\base_v61\lib\bootstrap.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program Files\IBM\SDP70\runtimes\base_v61\lib\j2ee.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program Files\IBM\SDP70\runtimes\base_v61\lib\mail-impl.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program Files\IBM\SDP70\runtimes\base_v61\lib\marshall.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > >
> Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.ejbportable_6.1.0.jar"
>
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > > Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.emf_2.1.0.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > >
>
> Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.portletcontainer_2.0.0.jar"
>
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > >
>
> Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.runtime.dist_6.1.0.jar"
>
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > >
> Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.runtime_6.1.0.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > >
> Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sib.server_2.0.0.jar"
>
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > >
>
> Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.sip.container_6.1.0.jar"
>
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > > Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.wccm_6.1.0.jar"
> > > C:\Temp\Maven\WAS61
> > > copy "C:\Program
> > >
>
> Files\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.webcontainer_2.0.0.jar"
>
> > > C:\Temp\Maven\WAS61
> > >
> > > That should have these files in the C:\Temp\maven\WAS61 dir:
> > >
> > >             50,767 bootstrap.jar
> > >            430,143 com.ibm.mq.jar
> > >          1,238,366 com.ibm.mqjms.jar
> > >             77,523 com.ibm.ws.ejbportable_6.1.0.jar
> > >          3,355,425 com.ibm.ws.emf_2.1.0.jar
> > >            622,223 com.ibm.ws.portletcontainer_2.0.0.jar
> > >          1,927,102 com.ibm.ws.runtime.dist_6.1.0.jar
> > >         53,066,732 com.ibm.ws.runtime_6.1.0.jar
> > >         11,771,638 com.ibm.ws.sib.server_2.0.0.jar
> > >          1,179,014 com.ibm.ws.sip.container_6.1.0.jar
> > >          9,221,353 com.ibm.ws.wccm_6.1.0.jar
> > >          3,267,808 com.ibm.ws.webcontainer_2.0.0.jar
> > >            546,698 j2ee.jar
> > >            202,255 mail-impl.jar
> > >             72,730 marshall.jar
> > >
> > > I deployed them to the repo (in this case proximity) using:
> > >
> > > call mvn deploy:deploy-file -Dfile=com.ibm.mq.jar
> > > -DgroupId=com.ibm.websphere.appserver -DartifactId=com.ibm.mq
> > > -Dversion=6.1 -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.mqjms.jar
> > > -DgroupId=com.ibm.websphere.appserver -DartifactId=com.ibm.mqjms
> > > -Dversion=6.1 -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=bootstrap.jar
> > > -DgroupId=com.ibm.websphere.appserver -DartifactId=bootstrap
> > > -Dversion=6.1 -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=j2ee.jar
> > > -DgroupId=com.ibm.websphere.appserver -DartifactId=j2ee  -Dversion=6.1
>
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=mail-impl.jar
> > > -DgroupId=com.ibm.websphere.appserver -DartifactId=mail-impl
> > > -Dversion=6.1 -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=marshall.jar
> > > -DgroupId=com.ibm.websphere.appserver -DartifactId=marshall
> -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.ejbportable_6.1.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> > > -DartifactId=com.ibm.ws.ejbportable_6.1.0      -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.emf_2.1.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> -DartifactId=com.ibm.ws.emf_2.1.0
> > >     -Dversion=6.1 -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file
> -Dfile=com.ibm.ws.portletcontainer_2.0.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> > > -DartifactId=com.ibm.ws.portletcontainer_2.0.0 -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.runtime.dist_6.1.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> > > -DartifactId=com.ibm.ws.runtime.dist_6.1.0     -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.runtime_6.1.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> > > -DartifactId=com.ibm.ws.runtime_6.1.0          -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.sib.server_2.0.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> > > -DartifactId=com.ibm.ws.sib.server_2.0.0       -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.sip.container_6.1.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> > > -DartifactId=com.ibm.ws.sip.container_6.1.0    -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.wccm_6.1.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> -DartifactId=com.ibm.ws.wccm_6.1.0
> > >        -Dversion=6.1 -Dpackaging=jar -DgeneratePom=true
> > > call mvn deploy:deploy-file -Dfile=com.ibm.ws.webcontainer_2.0.0.jar
> > > -DgroupId=com.ibm.websphere.appserver
> > > -DartifactId=com.ibm.ws.webcontainer_2.0.0     -Dversion=6.1
> > > -Dpackaging=jar -DgeneratePom=true
> > >
> > > I created a pom that aggregrates them all together:
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <project xmlns="http://maven.apache.org/POM/4.0.0";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > http://maven.apache.org/maven-v4_0_0.xsd";>
> > >     <modelVersion>4.0.0</modelVersion>
> > >     <groupId>com.ibm.websphere.appserver</groupId>
> > >     <artifactId>runtime</artifactId>
> > >     <version>6.1</version>
> > >     <packaging>pom</packaging>
> > >     <description>Library POM for the WebSphere v6.1
> runtime.</description>
> > >     <dependencies>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.mq</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.mqjms</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>bootstrap</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>j2ee</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>mail-impl</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>marshall</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.ejbportable_6.1.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.emf_2.1.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.portletcontainer_2.0.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.runtime.dist_6.1.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.runtime_6.1.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.sib.server_2.0.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.sip.container_6.1.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.wccm_6.1.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >         <dependency>
> > >           <groupId>com.ibm.websphere.appserver</groupId>
> > >           <artifactId>com.ibm.ws.webcontainer_2.0.0</artifactId>
> > >           <version>6.1</version>
> > >         </dependency>
> > >     </dependencies>
> > > </project>
> > >
> > > I deployed it:
> > >
> > > call mvn deploy:deploy-file -Dfile=websphere-61.pom
> > > -DpomFile=websphere-61.pom
> > >
> > > So, then all I need to do it to add this dependency to my code, and
> we're
> > > all done.
> > >
> > >         <dependency>
> > >             <groupId>com.ibm.websphere.appserver</groupId>
> > >             <artifactId>runtime</artifactId>
> > >             <version>6.1</version>
> > >             <type>pom</type>
> > >             <scope>provided</scope>
> > >         </dependency>
> > >
> > > Hope this helps.
> > >
> > > -Chris
> > >
> > > "Jo Support" <[EMAIL PROTECTED]> wrote on 10/06/2008 20:55:21:
> > >
> > >> Hello folks,
> > >>
> > >> I'm following the instructions from
> > >>
> > >
>
> http://www.jroller.com/peter_pilgrim/entry/battling_with_maven_2_integrating
>
> > > in
> > >> order to deploy EJBs for WebSphere 6.1. According to Pilgrim, I
> should
> > > have
> > >> the following jars under <was6home>/lib :
> > >>
> > >> - wsanttasks.jar
> > >> - webservices.jar
> > >> - wsprofile.jar
> > >> - ffdc.jar
> > >> - wsdl4j.jar
> > >> - commons-logging-api.jar
> > >> - commons-discovery.jar
> > >> - ras.jar
> > >> - wsexception.jar
> > >> - emf.jar
> > >> - classloader.jar
> > >>
> > >> But they're missing. I have
> > >>
> > >> IBM WebSphere 6.1 AS Network Deployment
> > >>
> > >> - Am I using a wrong version of WAS?
> > >> - Am I following an out-of-date how-to guide?
> > >>
> > >> Thanks in advance,
> > >> Jo
> > >>
> > >>
> > >> The following message has been automatically added by the Internet
> mail
> > >> gateway to comply with the Group's Information Security requirements.
> > >>
> > >> "This e-mail has arrived via the Internet, and therefore you should
> be
> > >> cautious about its origin and content. Replies which contain
> sensitive
> > >> information and / or legal/contractual obligations are particularly
> > > vulnerable.
> > >> In these cases you should not reply unless you are authorised to do
> so,
> > >> and adequate encryption is employed."
> > >>
> > >> If you have any questions, please contact the IS Service Desk.
> > >
> > > **********************************************************************
> > > CAUTION - This message is intended for the addressee named above. It
> > may contain privileged or confidential information.
> > >
> > > If you are not the intended recipient of this message you must:
> > > - Not use, copy, distribute or disclose it to anyone other than the
> addressee;
> > > - Notify the sender via return email; and
> > > - Delete the message (and any related attachments) from your computer
> > immediately.
> > >
> > > Internet emails are not necessarily secure. Australian Associated
> > Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related
> > entities, do not accept responsibility for changes made to this message
> > after it was sent.
> > >
> > > Unless otherwise stated, views expressed within this email are the
> > author's own and do not represent those of AAMI.
> > > **********************************************************************
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > The following message has been automatically added by the Internet mail
> > gateway to comply with the Group's Information Security requirements.
> >
> > "This e-mail has arrived via the Internet, and therefore you should be
> > cautious about its origin and content. Replies which contain sensitive
> > information and / or legal/contractual obligations are particularly
> vulnerable.
> >
> > In these cases you should not reply unless you are authorised to do so,
> > and adequate encryption is employed."
> >
> > If you have any questions, please contact the IS Service Desk.
>
>
> **********************************************************************
> CAUTION - This message is intended for the addressee named above. It may
> contain privileged or confidential information.
>
> If you are not the intended recipient of this message you must:
> - Not use, copy, distribute or disclose it to anyone other than the
> addressee;
> - Notify the sender via return email; and
> - Delete the message (and any related attachments) from your computer
> immediately.
>
> Internet emails are not necessarily secure. Australian Associated Motors
> Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not
> accept responsibility for changes made to this message after it was sent.
>
> Unless otherwise stated, views expressed within this email are the author's
> own and do not represent those of AAMI.
> **********************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com

Reply via email to