Vikrant,
You have to rebuild after changing the pom.xml file. If you can't use
SVN, then download a snapshot of the source. I used revision 23210.
Regards,
- SteveN
Quoting Vikrant Yagnick <VikrantY(a)mastek.com>:
Hi,
I have one question. I am not very familiar with how Maven works,
but after the changes are done in pom.xml, by re-build- does it mean
that I need to have the source code checked out and then build
again or will changing pom.xml in the .war file work.
If we do have to re-build, is there anyway a built .war file can be
put on the download site, given that similar changes are needed for
both Tomcat and Web-sphere. I am unable to check the SVN out at my
end due to some weird SVN errors.
Cheers,
Vikrant
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Michael
Neale
Sent: Friday, October 03, 2008 10:32 AM
To: Rules Users List
Subject: Re: [rules-users] 'Guvnor' on WebSphere 6.1 Success
Thanks Steve. I have put that on the wiki.
On Thu, Oct 2, 2008 at 2:54 PM, Steve Nunez
<steve.nunez(a)illation.com.au> wrote:
> These directions worked for WebSphere 6.1.0.15. Fundamentally the problem is
> the lack of JAR files in the default WebSphere CLASSPATH, or the wrong
> versions. Two things are neccessary to correct this problem:
>
> Adjust WebSphere application server settings
> Adjust Guvnor settings in WebSphere (the application specific settings)
> Modify the Guvnor pom.xml file to include additional classes (these classes
> are not included in WebSphere, so must be included in the WAR file)
>
> Adjust WebSphere AS Settings
> I'm not certain if these custom websphere application server settings are
> required, but since they are present in the working configuration, I will
> document them here. The custom settings, and directions on how to configure
> them, can be found
> at:
http://docs.jboss.org/seam/2.0.1.GA/reference/en/html/websphere.html
> General instructions for setting custom properties are found at:
>
http://www-01.ibm.com/support/docview.wss?rss=180&uid=swg21284395
>
> Adjust 'Guvnor' Application Specific Settings
>
> In order to ensure we get the 'right' application settings, we configure the
> application to load from it's own class loader first. Directions to
> configure this property can be found at
>
https://zuxho14:9045/ibm/help/index.jsp?topic=/com.ibm.ws.console.appmana....
> Select the "Classes loaded with application class loader first" Option.
>
> Modify Guvnor's pom.xml File
>
> The following lines need to be added to Guvnor's pom.xml before rebuilding
> Guvnor:
>
> <dependency>
> <groupId>javax.persistence</groupId>
> <artifactId>persistence-api</artifactId>
> <version>1.0</version>
> </dependency>
>
> <dependency>
> <groupId>javax.annotation</groupId>
> <artifactId>jsr250-api</artifactId>
> <version>1.0</version>
> </dependency>
>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-validator</artifactId>
> <version>3.0.0.GA</version>
> </dependency>
>
> This was sufficient to get Guvnor running on 2/10/08. I did not install this
> version of WebSphere, and do not know what other changes were made before I
> got here. YMMV.
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
Michael D Neale
home:
www.michaelneale.net
blog:
michaelneale.blogspot.com
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and
not that of Mastek Limited, unless specifically indicated to that
effect. Mastek Limited does not accept any responsibility or
liability for it. This e-mail and attachments (if any) transmitted
with it are confidential and/or privileged and solely for the use of
the intended person or entity to which it is addressed. Any review,
re-transmission, dissemination or other use of or taking of any
action in reliance upon this information by persons or entities
other than the intended recipient is prohibited. This e-mail and its
attachments have been scanned for the presence of computer viruses.
It is the responsibility of the recipient to run the virus check on
e-mails and attachments before opening them. If you have received
this e-mail in error, kindly delete this e-mail from desktop and
server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.